From 9e3f9a87bd50c1bd601850e22a63120b4ce95bda Mon Sep 17 00:00:00 2001 From: Bruno Demion Date: Tue, 3 Mar 2015 22:16:43 +0000 Subject: [PATCH 01/19] Tag for pre-release git-svn-id: https://svn.apache.org/repos/asf/jmeter/tags/v2_13_RC1@1663807 13f79535-47bb-0310-9956-ffa450edef68 --- build.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.xml b/build.xml index 0944a46b3b0..3891af21af2 100644 --- a/build.xml +++ b/build.xml @@ -510,7 +510,7 @@ JMeter version This is overridden for formal releases. --> - + From f5a04108d3098139fcb4f68174a79c55372eb2eb Mon Sep 17 00:00:00 2001 From: Bruno Demion Date: Tue, 3 Mar 2015 23:41:30 +0000 Subject: [PATCH 02/19] Create docs branch git-svn-id: https://svn.apache.org/repos/asf/jmeter/branches/docs-2.13@1663831 13f79535-47bb-0310-9956-ffa450edef68 From 45c45c75c7cc9dfdde1cc071b6fd44bbd061612d Mon Sep 17 00:00:00 2001 From: Bruno Demion Date: Sun, 8 Mar 2015 18:57:24 +0000 Subject: [PATCH 03/19] Tag for pre-release git-svn-id: https://svn.apache.org/repos/asf/jmeter/tags/v2_13_RC2@1665067 13f79535-47bb-0310-9956-ffa450edef68 --- build.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.xml b/build.xml index 8882634840d..954af15e544 100644 --- a/build.xml +++ b/build.xml @@ -510,7 +510,7 @@ JMeter version This is overridden for formal releases. --> - + From 8a549f6f8952d38d7369beb460107dccdb44d575 Mon Sep 17 00:00:00 2001 From: Bruno Demion Date: Sun, 8 Mar 2015 21:53:06 +0000 Subject: [PATCH 04/19] Add Javadocs git-svn-id: https://svn.apache.org/repos/asf/jmeter/branches/docs-2.13@1665084 13f79535-47bb-0310-9956-ffa450edef68 --- docs/api/allclasses-frame.html | 1805 ++ docs/api/allclasses-noframe.html | 1805 ++ docs/api/constant-values.html | 5516 ++++ docs/api/deprecated-list.html | 403 + docs/api/help-doc.html | 215 + docs/api/index-all.html | 26337 ++++++++++++++++ docs/api/index.html | 74 + .../org/apache/jmeter/DynamicClassLoader.html | 343 + docs/api/org/apache/jmeter/JMeter.html | 447 + docs/api/org/apache/jmeter/NewDriver.html | 313 + .../org/apache/jmeter/ProxyAuthenticator.html | 302 + .../apache/jmeter/assertions/Assertion.html | 223 + .../jmeter/assertions/AssertionResult.html | 551 + .../jmeter/assertions/BSFAssertion.html | 321 + .../assertions/BSFAssertionBeanInfo.html | 272 + .../jmeter/assertions/BeanShellAssertion.html | 520 + .../jmeter/assertions/CompareAssertion.html | 474 + .../assertions/CompareAssertionBeanInfo.html | 270 + .../assertions/CompareAssertionResult.html | 357 + .../jmeter/assertions/DurationAssertion.html | 346 + .../jmeter/assertions/HTMLAssertion.html | 828 + .../jmeter/assertions/JSR223Assertion.html | 321 + .../assertions/JSR223AssertionBeanInfo.html | 281 + .../jmeter/assertions/MD5HexAssertion.html | 336 + .../jmeter/assertions/ResponseAssertion.html | 1010 + .../assertions/SMIMEAssertionTestElement.html | 798 + .../jmeter/assertions/SizeAssertion.html | 811 + .../assertions/SubstitutionElement.html | 383 + .../jmeter/assertions/XMLAssertion.html | 348 + .../jmeter/assertions/XMLSchemaAssertion.html | 440 + .../jmeter/assertions/XPathAssertion.html | 811 + .../assertions/gui/AbstractAssertionGui.html | 436 + .../jmeter/assertions/gui/AssertionGui.html | 541 + .../assertions/gui/BeanShellAssertionGui.html | 540 + .../assertions/gui/DurationAssertionGui.html | 558 + .../assertions/gui/HTMLAssertionGui.html | 685 + .../assertions/gui/MD5HexAssertionGUI.html | 541 + .../assertions/gui/SMIMEAssertionGui.html | 545 + .../assertions/gui/SizeAssertionGui.html | 651 + .../assertions/gui/XMLAssertionGui.html | 471 + .../jmeter/assertions/gui/XMLConfPanel.html | 454 + .../assertions/gui/XMLSchemaAssertionGUI.html | 518 + .../assertions/gui/XPathAssertionGui.html | 540 + .../jmeter/assertions/gui/XPathPanel.html | 602 + .../jmeter/assertions/gui/package-frame.html | 54 + .../assertions/gui/package-summary.html | 201 + .../jmeter/assertions/gui/package-tree.html | 169 + .../jmeter/assertions/package-frame.html | 77 + .../jmeter/assertions/package-summary.html | 268 + .../jmeter/assertions/package-tree.html | 199 + .../org/apache/jmeter/config/Argument.html | 672 + .../org/apache/jmeter/config/Arguments.html | 724 + .../org/apache/jmeter/config/CSVDataSet.html | 728 + .../jmeter/config/CSVDataSetBeanInfo.html | 298 + .../apache/jmeter/config/ConfigElement.html | 275 + .../jmeter/config/ConfigTestElement.html | 408 + .../apache/jmeter/config/KeystoreConfig.html | 624 + .../jmeter/config/KeystoreConfigBeanInfo.html | 276 + .../org/apache/jmeter/config/LoginConfig.html | 412 + .../jmeter/config/RandomVariableConfig.html | 584 + .../config/RandomVariableConfigBeanInfo.html | 270 + .../jmeter/config/gui/AbstractConfigGui.html | 453 + .../jmeter/config/gui/ArgumentsPanel.html | 1166 + .../jmeter/config/gui/LoginConfigGui.html | 555 + .../apache/jmeter/config/gui/ObsoleteGui.html | 528 + .../jmeter/config/gui/RowDetailDialog.html | 553 + .../jmeter/config/gui/SimpleConfigGui.html | 662 + .../jmeter/config/gui/package-frame.html | 40 + .../jmeter/config/gui/package-summary.html | 175 + .../jmeter/config/gui/package-tree.html | 176 + .../apache/jmeter/config/package-frame.html | 59 + .../apache/jmeter/config/package-summary.html | 203 + .../apache/jmeter/config/package-tree.html | 173 + .../org/apache/jmeter/control/Controller.html | 375 + .../control/CriticalSectionController.html | 661 + .../jmeter/control/ForeachController.html | 778 + .../jmeter/control/GenericController.html | 1130 + .../apache/jmeter/control/IfController.html | 568 + .../jmeter/control/IncludeController.html | 466 + .../jmeter/control/InterleaveControl.html | 684 + .../apache/jmeter/control/LoopController.html | 701 + .../jmeter/control/ModuleController.html | 456 + .../jmeter/control/NextIsNullException.html | 284 + .../jmeter/control/OnceOnlyController.html | 351 + .../jmeter/control/RandomController.html | 362 + .../jmeter/control/RandomOrderController.html | 358 + .../jmeter/control/ReplaceableController.html | 238 + .../org/apache/jmeter/control/RunTime.html | 616 + .../jmeter/control/SwitchController.html | 435 + .../control/TestFragmentController.html | 281 + .../jmeter/control/ThroughputController.html | 907 + .../jmeter/control/TransactionController.html | 628 + .../jmeter/control/TransactionSampler.html | 477 + .../jmeter/control/WhileController.html | 440 + .../control/gui/AbstractControllerGui.html | 452 + .../gui/CriticalSectionControllerGui.html | 546 + .../control/gui/ForeachControlPanel.html | 556 + .../jmeter/control/gui/IfControllerPanel.html | 544 + .../control/gui/IncludeControllerGui.html | 565 + .../control/gui/InterleaveControlGui.html | 525 + .../control/gui/LogicControllerGui.html | 482 + .../jmeter/control/gui/LoopControlPanel.html | 590 + .../control/gui/ModuleControllerGui.html | 635 + .../control/gui/OnceOnlyControllerGui.html | 467 + .../jmeter/control/gui/RandomControlGui.html | 525 + .../control/gui/RandomOrderControllerGui.html | 485 + .../apache/jmeter/control/gui/RunTimeGui.html | 590 + .../control/gui/SwitchControllerGui.html | 525 + .../gui/TestFragmentControllerGui.html | 493 + .../jmeter/control/gui/TestPlanGui.html | 585 + .../control/gui/ThroughputControllerGui.html | 525 + .../control/gui/TransactionControllerGui.html | 513 + .../jmeter/control/gui/TreeNodeWrapper.html | 298 + .../control/gui/WhileControllerGui.html | 515 + .../jmeter/control/gui/WorkBenchGui.html | 583 + .../jmeter/control/gui/package-frame.html | 70 + .../jmeter/control/gui/package-summary.html | 242 + .../jmeter/control/gui/package-tree.html | 170 + .../apache/jmeter/control/package-frame.html | 88 + .../jmeter/control/package-summary.html | 273 + .../apache/jmeter/control/package-tree.html | 190 + .../jmeter/engine/ClientJMeterEngine.html | 459 + .../jmeter/engine/ConvertListeners.html | 323 + .../jmeter/engine/DistributedRunner.html | 531 + .../apache/jmeter/engine/JMeterEngine.html | 326 + .../jmeter/engine/JMeterEngineException.html | 284 + .../org/apache/jmeter/engine/PreCompiler.html | 334 + .../jmeter/engine/RemoteJMeterEngine.html | 351 + .../jmeter/engine/RemoteJMeterEngineImpl.html | 446 + .../jmeter/engine/StandardJMeterEngine.html | 584 + .../org/apache/jmeter/engine/TreeCloner.html | 390 + .../jmeter/engine/TreeClonerNoTimer.html | 285 + .../apache/jmeter/engine/TurnElementsOn.html | 320 + .../engine/event/LoopIterationEvent.html | 280 + .../engine/event/LoopIterationListener.html | 211 + .../jmeter/engine/event/package-frame.html | 41 + .../jmeter/engine/event/package-summary.html | 168 + .../jmeter/engine/event/package-tree.html | 154 + .../apache/jmeter/engine/package-frame.html | 70 + .../apache/jmeter/engine/package-summary.html | 234 + .../apache/jmeter/engine/package-tree.html | 178 + .../jmeter/engine/util/CompoundVariable.html | 554 + .../util/ConfigMergabilityIndicator.html | 216 + .../jmeter/engine/util/NoConfigMerge.html | 178 + .../jmeter/engine/util/NoThreadClone.html | 177 + .../util/ReplaceFunctionsWithStrings.html | 371 + .../util/ReplaceStringWithFunctions.html | 354 + .../jmeter/engine/util/SimpleVariable.html | 303 + .../engine/util/UndoVariableReplacement.html | 353 + .../jmeter/engine/util/ValueReplacer.html | 422 + .../jmeter/engine/util/package-frame.html | 55 + .../jmeter/engine/util/package-summary.html | 200 + .../jmeter/engine/util/package-tree.html | 155 + .../examples/sampler/ExampleSampler.html | 367 + .../sampler/gui/ExampleSamplerGui.html | 541 + .../examples/sampler/gui/package-frame.html | 30 + .../examples/sampler/gui/package-summary.html | 156 + .../examples/sampler/gui/package-tree.html | 165 + .../examples/sampler/package-frame.html | 30 + .../examples/sampler/package-summary.html | 156 + .../jmeter/examples/sampler/package-tree.html | 155 + .../examples/testbeans/example1/Example1.html | 360 + .../testbeans/example1/package-frame.html | 30 + .../testbeans/example1/package-summary.html | 153 + .../testbeans/example1/package-tree.html | 156 + .../examples/testbeans/example2/Example2.html | 360 + .../testbeans/example2/Example2BeanInfo.html | 270 + .../testbeans/example2/package-frame.html | 32 + .../testbeans/example2/package-summary.html | 157 + .../testbeans/example2/package-tree.html | 161 + .../examples/testbeans/example3/Example3.html | 885 + .../testbeans/example3/Example3BeanInfo.html | 270 + .../testbeans/example3/package-frame.html | 32 + .../testbeans/example3/package-summary.html | 157 + .../testbeans/example3/package-tree.html | 161 + .../IllegalUserActionException.html | 269 + .../jmeter/exceptions/package-frame.html | 30 + .../jmeter/exceptions/package-summary.html | 153 + .../jmeter/exceptions/package-tree.html | 154 + .../jmeter/extractor/BSFPostProcessor.html | 318 + .../extractor/BSFPostProcessorBeanInfo.html | 272 + .../extractor/BeanShellPostProcessor.html | 321 + .../BeanShellPostProcessorBeanInfo.html | 271 + .../jmeter/extractor/DebugPostProcessor.html | 469 + .../extractor/DebugPostProcessorBeanInfo.html | 270 + .../apache/jmeter/extractor/Extractor.html | 232 + .../jmeter/extractor/HtmlExtractor.html | 731 + .../jmeter/extractor/JSR223PostProcessor.html | 318 + .../JSR223PostProcessorBeanInfo.html | 281 + .../jmeter/extractor/JSoupExtractor.html | 276 + .../jmeter/extractor/JoddExtractor.html | 276 + .../jmeter/extractor/RegexExtractor.html | 935 + .../jmeter/extractor/XPathExtractor.html | 848 + .../extractor/gui/HtmlExtractorGui.html | 541 + .../extractor/gui/RegexExtractorGui.html | 539 + .../extractor/gui/XPathExtractorGui.html | 545 + .../jmeter/extractor/gui/package-frame.html | 34 + .../jmeter/extractor/gui/package-summary.html | 161 + .../jmeter/extractor/gui/package-tree.html | 167 + .../jmeter/extractor/package-frame.html | 65 + .../jmeter/extractor/package-summary.html | 227 + .../apache/jmeter/extractor/package-tree.html | 194 + .../jmeter/functions/AbstractFunction.html | 480 + .../apache/jmeter/functions/BeanShell.html | 427 + .../org/apache/jmeter/functions/CSVRead.html | 389 + .../apache/jmeter/functions/CharFunction.html | 372 + .../apache/jmeter/functions/EscapeHtml.html | 385 + .../functions/EscapeOroRegexpChars.html | 374 + .../apache/jmeter/functions/EvalFunction.html | 376 + .../jmeter/functions/EvalVarFunction.html | 376 + .../jmeter/functions/FileRowColContainer.html | 390 + .../apache/jmeter/functions/FileToString.html | 382 + .../apache/jmeter/functions/FileWrapper.html | 307 + .../org/apache/jmeter/functions/Function.html | 303 + .../org/apache/jmeter/functions/IntSum.html | 374 + .../functions/InvalidVariableException.html | 280 + .../jmeter/functions/IterationCounter.html | 373 + .../apache/jmeter/functions/JavaScript.html | 372 + .../jmeter/functions/Jexl2Function.html | 427 + .../apache/jmeter/functions/JexlFunction.html | 372 + .../apache/jmeter/functions/LogFunction.html | 384 + .../apache/jmeter/functions/LogFunction2.html | 383 + .../org/apache/jmeter/functions/LongSum.html | 374 + .../apache/jmeter/functions/MachineIP.html | 394 + .../apache/jmeter/functions/MachineName.html | 394 + .../org/apache/jmeter/functions/Property.html | 382 + .../apache/jmeter/functions/Property2.html | 388 + .../org/apache/jmeter/functions/Random.html | 375 + .../apache/jmeter/functions/RandomString.html | 375 + .../jmeter/functions/RegexFunction.html | 444 + .../apache/jmeter/functions/SamplerName.html | 372 + .../apache/jmeter/functions/SetProperty.html | 381 + .../jmeter/functions/SplitFunction.html | 388 + .../jmeter/functions/StringFromFile.html | 544 + .../apache/jmeter/functions/TestPlanName.html | 374 + .../apache/jmeter/functions/ThreadNumber.html | 372 + .../apache/jmeter/functions/TimeFunction.html | 372 + .../org/apache/jmeter/functions/UnEscape.html | 374 + .../apache/jmeter/functions/UnEscapeHtml.html | 381 + .../apache/jmeter/functions/UrlDecode.html | 372 + .../apache/jmeter/functions/UrlEncode.html | 372 + .../api/org/apache/jmeter/functions/Uuid.html | 382 + .../org/apache/jmeter/functions/Variable.html | 379 + .../org/apache/jmeter/functions/XPath.html | 381 + .../jmeter/functions/XPathFileContainer.html | 330 + .../jmeter/functions/gui/FunctionHelper.html | 487 + .../jmeter/functions/gui/package-frame.html | 30 + .../jmeter/functions/gui/package-summary.html | 153 + .../jmeter/functions/gui/package-tree.html | 163 + .../jmeter/functions/package-frame.html | 132 + .../jmeter/functions/package-summary.html | 430 + .../apache/jmeter/functions/package-tree.html | 164 + .../functions/util/ArgumentDecoder.html | 219 + .../functions/util/ArgumentEncoder.html | 219 + .../jmeter/functions/util/package-frame.html | 32 + .../functions/util/package-summary.html | 157 + .../jmeter/functions/util/package-tree.html | 149 + .../gui/AbstractJMeterGuiComponent.html | 932 + .../gui/AbstractScopedJMeterGuiComponent.html | 585 + docs/api/org/apache/jmeter/gui/ClearGui.html | 213 + .../org/apache/jmeter/gui/CommentPanel.html | 422 + .../api/org/apache/jmeter/gui/GUIFactory.html | 362 + .../api/org/apache/jmeter/gui/GuiPackage.html | 1453 + .../apache/jmeter/gui/JMeterFileFilter.html | 350 + .../apache/jmeter/gui/JMeterGUIComponent.html | 562 + .../org/apache/jmeter/gui/LoggerPanel.html | 411 + ...Frame.ErrorsAndFatalsCounterLogTarget.html | 318 + docs/api/org/apache/jmeter/gui/MainFrame.html | 1145 + docs/api/org/apache/jmeter/gui/NamePanel.html | 692 + .../org/apache/jmeter/gui/OnErrorPanel.html | 399 + .../apache/jmeter/gui/SavePropertyDialog.html | 495 + .../api/org/apache/jmeter/gui/Searchable.html | 219 + .../org/apache/jmeter/gui/ServerPanel.html | 544 + docs/api/org/apache/jmeter/gui/Stoppable.html | 211 + .../gui/UndoHistory.HistoryListener.html | 212 + .../org/apache/jmeter/gui/UndoHistory.html | 506 + .../apache/jmeter/gui/UndoHistoryItem.html | 309 + .../apache/jmeter/gui/UnsharedComponent.html | 173 + .../jmeter/gui/action/AboutCommand.html | 287 + .../jmeter/gui/action/AbstractAction.html | 301 + .../apache/jmeter/gui/action/ActionNames.html | 1467 + .../jmeter/gui/action/ActionRouter.html | 526 + .../apache/jmeter/gui/action/AddParent.html | 302 + .../apache/jmeter/gui/action/AddToTree.html | 281 + .../org/apache/jmeter/gui/action/Analyze.html | 276 + .../jmeter/gui/action/ChangeLanguage.html | 280 + .../jmeter/gui/action/ChangeParent.html | 280 + .../apache/jmeter/gui/action/CheckDirty.html | 393 + .../org/apache/jmeter/gui/action/Clear.html | 283 + .../org/apache/jmeter/gui/action/Close.html | 288 + .../jmeter/gui/action/CollapseExpand.html | 287 + .../org/apache/jmeter/gui/action/Command.html | 227 + .../org/apache/jmeter/gui/action/Copy.html | 366 + .../gui/action/CreateFunctionDialog.html | 288 + .../api/org/apache/jmeter/gui/action/Cut.html | 290 + .../apache/jmeter/gui/action/Duplicate.html | 290 + .../apache/jmeter/gui/action/EditCommand.html | 280 + .../jmeter/gui/action/EnableComponent.html | 280 + .../apache/jmeter/gui/action/ExitCommand.html | 283 + .../org/apache/jmeter/gui/action/Help.html | 316 + .../apache/jmeter/gui/action/KeyStrokes.html | 886 + .../org/apache/jmeter/gui/action/Load.html | 349 + .../jmeter/gui/action/LoadDraggedFile.html | 256 + .../jmeter/gui/action/LoadRecentProject.html | 359 + .../gui/action/LoggerPanelEnableDisable.html | 287 + .../jmeter/gui/action/LookAndFeelCommand.html | 315 + .../org/apache/jmeter/gui/action/Move.html | 286 + .../org/apache/jmeter/gui/action/Paste.html | 290 + .../jmeter/gui/action/RawTextSearcher.html | 294 + .../jmeter/gui/action/RegexpSearcher.html | 267 + .../apache/jmeter/gui/action/RemoteStart.html | 286 + .../org/apache/jmeter/gui/action/Remove.html | 285 + .../jmeter/gui/action/ResetSearchCommand.html | 290 + .../jmeter/gui/action/RevertProject.html | 280 + .../jmeter/gui/action/SSLManagerCommand.html | 302 + .../org/apache/jmeter/gui/action/Save.html | 327 + .../jmeter/gui/action/SaveGraphics.html | 293 + .../jmeter/gui/action/SearchTreeCommand.html | 291 + .../jmeter/gui/action/SearchTreeDialog.html | 447 + .../apache/jmeter/gui/action/Searcher.html | 212 + .../gui/action/SelectTemplatesDialog.html | 493 + .../org/apache/jmeter/gui/action/Start.html | 291 + .../jmeter/gui/action/StopStoppables.html | 316 + .../jmeter/gui/action/TemplatesCommand.html | 294 + .../org/apache/jmeter/gui/action/ToolBar.html | 287 + .../apache/jmeter/gui/action/UndoCommand.html | 315 + .../org/apache/jmeter/gui/action/What.html | 288 + .../jmeter/gui/action/package-frame.html | 135 + .../jmeter/gui/action/package-summary.html | 367 + .../jmeter/gui/action/package-tree.html | 203 + .../jmeter/gui/action/template/Template.html | 430 + .../gui/action/template/TemplateManager.html | 304 + .../gui/action/template/package-frame.html | 32 + .../gui/action/template/package-summary.html | 157 + .../gui/action/template/package-tree.html | 149 + .../org/apache/jmeter/gui/package-frame.html | 77 + .../apache/jmeter/gui/package-summary.html | 246 + .../org/apache/jmeter/gui/package-tree.html | 195 + .../gui/plugin/MenuCreator.MENU_LOCATION.html | 385 + .../apache/jmeter/gui/plugin/MenuCreator.html | 287 + .../jmeter/gui/plugin/package-frame.html | 41 + .../jmeter/gui/plugin/package-summary.html | 167 + .../jmeter/gui/plugin/package-tree.html | 157 + .../jmeter/gui/tree/JMeterCellRenderer.html | 434 + .../jmeter/gui/tree/JMeterTreeListener.html | 640 + .../jmeter/gui/tree/JMeterTreeModel.html | 539 + .../jmeter/gui/tree/JMeterTreeNode.html | 644 + .../gui/tree/JMeterTreeTransferHandler.html | 395 + .../apache/jmeter/gui/tree/NamedTreeNode.html | 243 + .../apache/jmeter/gui/tree/package-frame.html | 49 + .../jmeter/gui/tree/package-summary.html | 183 + .../apache/jmeter/gui/tree/package-tree.html | 179 + .../apache/jmeter/gui/util/ButtonPanel.html | 479 + .../apache/jmeter/gui/util/EscapeDialog.html | 437 + .../apache/jmeter/gui/util/FileDialoger.html | 418 + .../apache/jmeter/gui/util/FileListPanel.html | 615 + .../org/apache/jmeter/gui/util/FilePanel.html | 432 + .../jmeter/gui/util/FilePanelEntry.html | 559 + .../jmeter/gui/util/FocusRequester.html | 248 + .../gui/util/HeaderAsPropertyRenderer.html | 484 + .../jmeter/gui/util/HorizontalPanel.html | 416 + .../jmeter/gui/util/IconToolbarBean.html | 298 + .../apache/jmeter/gui/util/JDateField.html | 477 + .../jmeter/gui/util/JLabeledRadioI18N.html | 571 + .../apache/jmeter/gui/util/JMeterColor.html | 343 + .../apache/jmeter/gui/util/JMeterMenuBar.html | 727 + .../apache/jmeter/gui/util/JMeterToolBar.html | 602 + .../jmeter/gui/util/JSyntaxTextArea.html | 614 + .../jmeter/gui/util/JTextScrollPane.html | 415 + .../apache/jmeter/gui/util/MenuFactory.html | 912 + .../org/apache/jmeter/gui/util/MenuInfo.html | 289 + .../gui/util/NumberFieldErrorListener.html | 283 + .../jmeter/gui/util/PowerTableModel.html | 693 + .../jmeter/gui/util/TextAreaCellRenderer.html | 286 + ...extAreaTableCellEditor.EditorDelegate.html | 552 + .../gui/util/TextAreaTableCellEditor.html | 633 + .../TextBoxDialoger.TextBoxDoubleClick.html | 272 + ...BoxDialoger.TextBoxDoubleClickPressed.html | 272 + .../jmeter/gui/util/TextBoxDialoger.html | 369 + .../jmeter/gui/util/TristateCheckBox.html | 631 + .../apache/jmeter/gui/util/TristateState.html | 353 + .../apache/jmeter/gui/util/VerticalPanel.html | 413 + .../apache/jmeter/gui/util/package-frame.html | 95 + .../jmeter/gui/util/package-summary.html | 277 + .../apache/jmeter/gui/util/package-tree.html | 251 + .../jmeter/modifiers/BSFPreProcessor.html | 313 + .../modifiers/BSFPreProcessorBeanInfo.html | 272 + .../modifiers/BeanShellPreProcessor.html | 316 + .../BeanShellPreProcessorBeanInfo.html | 271 + .../jmeter/modifiers/CounterConfig.html | 733 + .../jmeter/modifiers/JSR223PreProcessor.html | 313 + .../modifiers/JSR223PreProcessorBeanInfo.html | 281 + .../jmeter/modifiers/UserParameters.html | 612 + .../modifiers/gui/CounterConfigGui.html | 558 + .../modifiers/gui/UserParametersGui.html | 544 + .../jmeter/modifiers/gui/package-frame.html | 32 + .../jmeter/modifiers/gui/package-summary.html | 157 + .../jmeter/modifiers/gui/package-tree.html | 168 + .../jmeter/modifiers/package-frame.html | 44 + .../jmeter/modifiers/package-summary.html | 181 + .../apache/jmeter/modifiers/package-tree.html | 181 + .../jmeter/monitor/model/Connector.html | 338 + .../jmeter/monitor/model/ConnectorImpl.html | 412 + .../org/apache/jmeter/monitor/model/Jvm.html | 224 + .../apache/jmeter/monitor/model/JvmImpl.html | 284 + .../apache/jmeter/monitor/model/Memory.html | 304 + .../jmeter/monitor/model/MemoryImpl.html | 368 + .../model/ObjectFactory.MonitorParser.html | 236 + .../jmeter/monitor/model/ObjectFactory.html | 481 + .../jmeter/monitor/model/RequestInfo.html | 418 + .../jmeter/monitor/model/RequestInfoImpl.html | 500 + .../apache/jmeter/monitor/model/Status.html | 300 + .../jmeter/monitor/model/StatusImpl.html | 374 + .../jmeter/monitor/model/ThreadInfo.html | 380 + .../jmeter/monitor/model/ThreadInfoImpl.html | 456 + .../apache/jmeter/monitor/model/Worker.html | 570 + .../jmeter/monitor/model/WorkerImpl.html | 672 + .../apache/jmeter/monitor/model/Workers.html | 209 + .../jmeter/monitor/model/WorkersImpl.html | 280 + .../jmeter/monitor/model/package-frame.html | 73 + .../jmeter/monitor/model/package-summary.html | 232 + .../jmeter/monitor/model/package-tree.html | 165 + .../jmeter/monitor/parser/Constants.html | 840 + .../jmeter/monitor/parser/MonitorHandler.html | 476 + .../apache/jmeter/monitor/parser/Parser.html | 243 + .../jmeter/monitor/parser/ParserImpl.html | 310 + .../jmeter/monitor/parser/package-frame.html | 45 + .../monitor/parser/package-summary.html | 175 + .../jmeter/monitor/parser/package-tree.html | 158 + .../jmeter/monitor/util/MemoryBenchmark.html | 252 + .../org/apache/jmeter/monitor/util/Stats.html | 529 + .../jmeter/monitor/util/package-frame.html | 32 + .../jmeter/monitor/util/package-summary.html | 159 + .../jmeter/monitor/util/package-tree.html | 149 + docs/api/org/apache/jmeter/package-frame.html | 36 + .../org/apache/jmeter/package-summary.html | 167 + docs/api/org/apache/jmeter/package-tree.html | 158 + .../apache/jmeter/plugin/JMeterPlugin.html | 224 + .../apache/jmeter/plugin/PluginManager.html | 219 + .../apache/jmeter/plugin/package-frame.html | 41 + .../apache/jmeter/plugin/package-summary.html | 167 + .../apache/jmeter/plugin/package-tree.html | 154 + .../jmeter/processor/PostProcessor.html | 217 + .../apache/jmeter/processor/PreProcessor.html | 213 + .../gui/AbstractPostProcessorGui.html | 441 + .../gui/AbstractPreProcessorGui.html | 451 + .../jmeter/processor/gui/package-frame.html | 32 + .../jmeter/processor/gui/package-summary.html | 157 + .../jmeter/processor/gui/package-tree.html | 165 + .../jmeter/processor/package-frame.html | 32 + .../jmeter/processor/package-summary.html | 157 + .../apache/jmeter/processor/package-tree.html | 147 + .../protocol/ftp/config/gui/FtpConfigGui.html | 539 + .../ftp/config/gui/package-frame.html | 30 + .../ftp/config/gui/package-summary.html | 153 + .../protocol/ftp/config/gui/package-tree.html | 165 + .../ftp/control/gui/FtpTestSamplerGui.html | 525 + .../ftp/control/gui/package-frame.html | 30 + .../ftp/control/gui/package-summary.html | 153 + .../ftp/control/gui/package-tree.html | 165 + .../protocol/ftp/sampler/FTPSampler.html | 799 + .../protocol/ftp/sampler/package-frame.html | 30 + .../protocol/ftp/sampler/package-summary.html | 153 + .../protocol/ftp/sampler/package-tree.html | 156 + .../http/config/MultipartUrlConfig.html | 399 + .../http/config/gui/HttpDefaultsGui.html | 566 + .../config/gui/MultipartUrlConfigGui.html | 473 + .../http/config/gui/UrlConfigGui.html | 650 + .../http/config/gui/package-frame.html | 34 + .../http/config/gui/package-summary.html | 167 + .../http/config/gui/package-tree.html | 168 + .../protocol/http/config/package-frame.html | 30 + .../protocol/http/config/package-summary.html | 153 + .../protocol/http/config/package-tree.html | 150 + .../http/control/AuthManager.Mechanism.html | 321 + .../protocol/http/control/AuthManager.html | 1211 + .../protocol/http/control/Authorization.html | 618 + .../protocol/http/control/CacheManager.html | 912 + .../jmeter/protocol/http/control/Cookie.html | 812 + .../protocol/http/control/CookieHandler.html | 245 + .../protocol/http/control/CookieManager.html | 966 + .../http/control/DNSCacheManager.html | 650 + .../http/control/HC3CookieHandler.html | 300 + .../http/control/HC4CookieHandler.html | 295 + .../jmeter/protocol/http/control/Header.html | 454 + .../protocol/http/control/HeaderManager.html | 745 + .../http/control/HttpMirrorControl.html | 655 + .../http/control/HttpMirrorServer.html | 405 + .../http/control/HttpMirrorThread.html | 272 + .../http/control/KerberosManager.html | 352 + .../http/control/RecordingController.html | 281 + .../http/control/gui/AjpSamplerGui.html | 491 + .../control/gui/HttpMirrorControlGui.html | 602 + .../http/control/gui/HttpTestSampleGui.html | 638 + .../http/control/gui/RecordController.html | 462 + .../http/control/gui/SoapSamplerGui.html | 547 + .../control/gui/WebServiceSamplerGui.html | 613 + .../http/control/gui/package-frame.html | 40 + .../http/control/gui/package-summary.html | 173 + .../http/control/gui/package-tree.html | 173 + .../protocol/http/control/package-frame.html | 80 + .../http/control/package-summary.html | 240 + .../protocol/http/control/package-tree.html | 189 + .../jmeter/protocol/http/gui/AuthPanel.html | 586 + .../protocol/http/gui/CacheManagerGui.html | 531 + .../jmeter/protocol/http/gui/CookiePanel.html | 587 + .../protocol/http/gui/DNSCachePanel.html | 619 + .../protocol/http/gui/HTTPArgumentsPanel.html | 609 + .../protocol/http/gui/HTTPFileArgsPanel.html | 532 + .../jmeter/protocol/http/gui/HeaderPanel.html | 610 + .../protocol/http/gui/package-frame.html | 42 + .../protocol/http/gui/package-summary.html | 183 + .../protocol/http/gui/package-tree.html | 173 + .../http/modifier/AnchorModifier.html | 308 + .../protocol/http/modifier/ParamMask.html | 690 + .../protocol/http/modifier/ParamModifier.html | 481 + .../http/modifier/RegExUserParameters.html | 513 + .../http/modifier/URLRewritingModifier.html | 570 + .../UserParameterXMLContentHandler.html | 559 + .../UserParameterXMLErrorHandler.html | 311 + .../http/modifier/UserParameterXMLParser.html | 264 + .../protocol/http/modifier/UserSequence.html | 288 + .../http/modifier/gui/AnchorModifierGui.html | 467 + .../http/modifier/gui/ParamModifierGui.html | 584 + .../modifier/gui/RegExUserParametersGui.html | 529 + .../modifier/gui/URLRewritingModifierGui.html | 533 + .../http/modifier/gui/package-frame.html | 36 + .../http/modifier/gui/package-summary.html | 165 + .../http/modifier/gui/package-tree.html | 166 + .../protocol/http/modifier/package-frame.html | 46 + .../http/modifier/package-summary.html | 188 + .../protocol/http/modifier/package-tree.html | 160 + .../protocol/http/parser/HTMLParseError.html | 289 + .../http/parser/HTMLParseException.html | 289 + .../protocol/http/parser/HTMLParser.html | 975 + .../http/parser/HtmlParsingUtils.html | 506 + .../http/parser/JsoupBasedHtmlParser.html | 344 + .../http/parser/LagartoBasedHtmlParser.html | 343 + .../protocol/http/parser/URLCollection.html | 313 + .../protocol/http/parser/URLString.html | 360 + .../protocol/http/parser/package-frame.html | 62 + .../protocol/http/parser/package-summary.html | 205 + .../protocol/http/parser/package-tree.html | 159 + .../http/proxy/AbstractSamplerCreator.html | 538 + .../jmeter/protocol/http/proxy/Daemon.html | 379 + .../http/proxy/DefaultSamplerCreator.html | 597 + .../http/proxy/FormCharSetFinder.html | 261 + .../protocol/http/proxy/HttpReplyHdr.html | 624 + .../protocol/http/proxy/HttpRequestHdr.html | 593 + .../jmeter/protocol/http/proxy/Proxy.html | 312 + .../http/proxy/ProxyControl.KeystoreMode.html | 353 + .../protocol/http/proxy/ProxyControl.html | 1350 + .../protocol/http/proxy/SamplerCreator.html | 359 + .../http/proxy/SamplerCreatorFactory.html | 259 + .../http/proxy/gui/ProxyControlGui.html | 795 + .../http/proxy/gui/package-frame.html | 30 + .../http/proxy/gui/package-summary.html | 153 + .../protocol/http/proxy/gui/package-tree.html | 168 + .../protocol/http/proxy/package-frame.html | 68 + .../protocol/http/proxy/package-summary.html | 213 + .../protocol/http/proxy/package-tree.html | 177 + .../http/sampler/AccessLogSampler.html | 902 + .../sampler/AccessLogSamplerBeanInfo.html | 270 + .../protocol/http/sampler/AjpSampler.html | 417 + .../http/sampler/HTTPAbstractImpl.html | 1232 + .../protocol/http/sampler/HTTPFileImpl.html | 326 + .../protocol/http/sampler/HTTPHC3Impl.html | 525 + .../http/sampler/HTTPHC4Impl.HttpDelete.html | 323 + .../protocol/http/sampler/HTTPHC4Impl.html | 672 + .../http/sampler/HTTPHCAbstractImpl.html | 727 + .../protocol/http/sampler/HTTPJavaImpl.html | 489 + .../http/sampler/HTTPSampleResult.html | 586 + .../protocol/http/sampler/HTTPSampler.html | 394 + .../protocol/http/sampler/HTTPSampler2.html | 545 + .../sampler/HTTPSamplerBase.SourceType.html | 389 + .../http/sampler/HTTPSamplerBase.html | 3954 +++ .../http/sampler/HTTPSamplerBaseBeanInfo.html | 256 + .../sampler/HTTPSamplerBaseConverter.html | 334 + .../http/sampler/HTTPSamplerFactory.html | 417 + .../http/sampler/HTTPSamplerProxy.html | 465 + .../sampler/HttpClientDefaultParameters.html | 242 + .../protocol/http/sampler/HttpWebdav.html | 352 + .../sampler/MeasuringConnectionManager.html | 293 + .../protocol/http/sampler/PostWriter.html | 428 + .../protocol/http/sampler/PutWriter.html | 291 + .../protocol/http/sampler/SoapSampler.html | 785 + .../http/sampler/WebServiceSampler.html | 1104 + .../protocol/http/sampler/package-frame.html | 89 + .../http/sampler/package-summary.html | 286 + .../protocol/http/sampler/package-tree.html | 213 + .../protocol/http/util/Base64Encoder.html | 266 + .../protocol/http/util/ConversionUtils.html | 366 + .../jmeter/protocol/http/util/DOMPool.html | 278 + .../protocol/http/util/EncoderCache.html | 316 + .../util/HC4TrustAllSSLSocketFactory.html | 384 + .../protocol/http/util/HTTPArgument.html | 649 + .../protocol/http/util/HTTPConstants.html | 247 + .../http/util/HTTPConstantsInterface.html | 1071 + .../protocol/http/util/HTTPFileArg.html | 615 + .../protocol/http/util/HTTPFileArgs.html | 694 + .../http/util/HTTPResultConverter.html | 378 + .../http/util/LoopbackHTTPSocket.html | 350 + .../util/LoopbackHttpClientSocketFactory.html | 362 + .../http/util/SlowHC4SSLSocketFactory.html | 273 + .../http/util/SlowHC4SocketFactory.html | 294 + .../util/SlowHttpClientSocketFactory.html | 337 + .../protocol/http/util/WSDLException.html | 272 + .../jmeter/protocol/http/util/WSDLHelper.html | 672 + .../protocol/http/util/accesslog/Filter.html | 392 + .../http/util/accesslog/Generator.html | 495 + .../http/util/accesslog/LogFilter.html | 971 + .../http/util/accesslog/LogParser.html | 302 + .../protocol/http/util/accesslog/NVPair.html | 400 + .../accesslog/OrderPreservingLogParser.html | 313 + .../http/util/accesslog/SessionFilter.html | 667 + .../util/accesslog/SharedTCLogParser.html | 383 + .../util/accesslog/StandardGenerator.html | 730 + .../http/util/accesslog/TCLogParser.html | 1081 + .../http/util/accesslog/package-frame.html | 57 + .../http/util/accesslog/package-summary.html | 215 + .../http/util/accesslog/package-tree.html | 163 + .../protocol/http/util/package-frame.html | 82 + .../protocol/http/util/package-summary.html | 245 + .../protocol/http/util/package-tree.html | 189 + .../http/visualizers/RequestViewHTTP.html | 413 + .../http/visualizers/package-frame.html | 30 + .../http/visualizers/package-summary.html | 153 + .../http/visualizers/package-tree.html | 150 + .../protocol/java/config/JavaConfig.html | 465 + .../java/config/gui/JavaConfigGui.html | 595 + .../java/config/gui/package-frame.html | 30 + .../java/config/gui/package-summary.html | 154 + .../java/config/gui/package-tree.html | 166 + .../protocol/java/config/package-frame.html | 30 + .../protocol/java/config/package-summary.html | 154 + .../protocol/java/config/package-tree.html | 156 + .../java/control/gui/BeanShellSamplerGui.html | 525 + .../java/control/gui/JUnitTestSamplerGui.html | 625 + .../java/control/gui/JavaTestSamplerGui.html | 543 + .../java/control/gui/package-frame.html | 34 + .../java/control/gui/package-summary.html | 163 + .../java/control/gui/package-tree.html | 166 + .../sampler/AbstractJavaSamplerClient.html | 388 + .../protocol/java/sampler/BSFSampler.html | 358 + .../java/sampler/BSFSamplerBeanInfo.html | 276 + .../java/sampler/BeanShellSampler.html | 580 + .../protocol/java/sampler/JSR223Sampler.html | 354 + .../java/sampler/JSR223SamplerBeanInfo.html | 281 + .../protocol/java/sampler/JUnitSampler.html | 1101 + .../protocol/java/sampler/JavaSampler.html | 649 + .../java/sampler/JavaSamplerClient.html | 336 + .../java/sampler/JavaSamplerContext.html | 463 + .../protocol/java/sampler/package-frame.html | 57 + .../java/sampler/package-summary.html | 202 + .../protocol/java/sampler/package-tree.html | 188 + .../jmeter/protocol/java/test/JavaTest.html | 456 + .../jmeter/protocol/java/test/SleepTest.html | 424 + .../protocol/java/test/package-frame.html | 32 + .../protocol/java/test/package-summary.html | 159 + .../protocol/java/test/package-tree.html | 154 + .../jdbc/AbstractJDBCTestElement.html | 993 + .../jdbc/JDBCTestElementBeanInfoSupport.html | 275 + .../jdbc/config/DataSourceElement.html | 1111 + .../config/DataSourceElementBeanInfo.html | 310 + .../protocol/jdbc/config/package-frame.html | 32 + .../protocol/jdbc/config/package-summary.html | 157 + .../protocol/jdbc/config/package-tree.html | 158 + .../jmeter/protocol/jdbc/package-frame.html | 32 + .../jmeter/protocol/jdbc/package-summary.html | 157 + .../jmeter/protocol/jdbc/package-tree.html | 158 + .../jdbc/processor/AbstractJDBCProcessor.html | 309 + .../jdbc/processor/JDBCPostProcessor.html | 311 + .../processor/JDBCPostProcessorBeanInfo.html | 271 + .../jdbc/processor/JDBCPreProcessor.html | 311 + .../processor/JDBCPreProcessorBeanInfo.html | 271 + .../jdbc/processor/package-frame.html | 38 + .../jdbc/processor/package-summary.html | 169 + .../protocol/jdbc/processor/package-tree.html | 166 + .../protocol/jdbc/sampler/JDBCSampler.html | 350 + .../jdbc/sampler/JDBCSamplerBeanInfo.html | 271 + .../protocol/jdbc/sampler/package-frame.html | 32 + .../jdbc/sampler/package-summary.html | 157 + .../protocol/jdbc/sampler/package-tree.html | 163 + .../org/apache/jmeter/protocol/jms/Utils.html | 568 + .../protocol/jms/client/ClientPool.html | 326 + .../jms/client/InitialContextFactory.html | 330 + .../jmeter/protocol/jms/client/Publisher.html | 473 + .../jms/client/ReceiveSubscriber.html | 476 + .../protocol/jms/client/package-frame.html | 36 + .../protocol/jms/client/package-summary.html | 165 + .../protocol/jms/client/package-tree.html | 151 + .../jms/control/gui/JMSPropertiesPanel.html | 505 + .../jms/control/gui/JMSPublisherGui.html | 680 + .../jms/control/gui/JMSSamplerGui.html | 536 + .../jms/control/gui/JMSSubscriberGui.html | 604 + .../jms/control/gui/package-frame.html | 36 + .../jms/control/gui/package-summary.html | 165 + .../jms/control/gui/package-tree.html | 168 + .../jmeter/protocol/jms/package-frame.html | 30 + .../jmeter/protocol/jms/package-summary.html | 153 + .../jmeter/protocol/jms/package-tree.html | 149 + .../protocol/jms/sampler/BaseJMSSampler.html | 900 + .../jms/sampler/FixedQueueExecutor.html | 280 + .../protocol/jms/sampler/JMSProperties.html | 673 + .../protocol/jms/sampler/JMSProperty.html | 572 + .../protocol/jms/sampler/JMSSampler.html | 1141 + .../protocol/jms/sampler/MessageAdmin.html | 299 + .../jms/sampler/PublisherSampler.html | 879 + .../protocol/jms/sampler/QueueExecutor.html | 226 + .../jmeter/protocol/jms/sampler/Receiver.html | 286 + .../jms/sampler/SubscriberSampler.html | 933 + .../jms/sampler/TemporaryQueueExecutor.html | 283 + .../protocol/jms/sampler/package-frame.html | 59 + .../protocol/jms/sampler/package-summary.html | 204 + .../protocol/jms/sampler/package-tree.html | 170 + .../ldap/config/gui/LDAPArgument.html | 522 + .../ldap/config/gui/LDAPArguments.html | 737 + .../ldap/config/gui/LDAPArgumentsPanel.html | 636 + .../ldap/config/gui/LdapConfigGui.html | 577 + .../ldap/config/gui/LdapExtConfigGui.html | 579 + .../ldap/config/gui/package-frame.html | 38 + .../ldap/config/gui/package-summary.html | 172 + .../ldap/config/gui/package-tree.html | 176 + .../control/gui/LdapExtTestSamplerGui.html | 529 + .../ldap/control/gui/LdapTestSamplerGui.html | 519 + .../ldap/control/gui/package-frame.html | 32 + .../ldap/control/gui/package-summary.html | 158 + .../ldap/control/gui/package-tree.html | 165 + .../protocol/ldap/sampler/LDAPExtSampler.html | 2045 ++ .../protocol/ldap/sampler/LDAPSampler.html | 922 + .../protocol/ldap/sampler/LdapClient.html | 394 + .../protocol/ldap/sampler/LdapExtClient.html | 482 + .../protocol/ldap/sampler/package-frame.html | 36 + .../ldap/sampler/package-summary.html | 167 + .../protocol/ldap/sampler/package-tree.html | 156 + .../protocol/mail/sampler/MailFileFolder.html | 763 + .../mail/sampler/MailFileMessage.html | 309 + .../protocol/mail/sampler/MailFileStore.html | 375 + .../mail/sampler/MailReaderSampler.html | 1069 + .../sampler/gui/MailReaderSamplerGui.html | 608 + .../mail/sampler/gui/package-frame.html | 30 + .../mail/sampler/gui/package-summary.html | 153 + .../mail/sampler/gui/package-tree.html | 166 + .../protocol/mail/sampler/package-frame.html | 36 + .../mail/sampler/package-summary.html | 165 + .../protocol/mail/sampler/package-tree.html | 168 + .../mongodb/config/MongoDBHolder.html | 285 + .../mongodb/config/MongoSourceElement.html | 1268 + .../config/MongoSourceElementBeanInfo.html | 270 + .../mongodb/config/package-frame.html | 34 + .../mongodb/config/package-summary.html | 161 + .../protocol/mongodb/config/package-tree.html | 161 + .../mongodb/mongo/EvalResultHandler.html | 324 + .../protocol/mongodb/mongo/MongoDB.html | 273 + .../protocol/mongodb/mongo/MongoUtils.html | 289 + .../protocol/mongodb/mongo/package-frame.html | 34 + .../mongodb/mongo/package-summary.html | 161 + .../protocol/mongodb/mongo/package-tree.html | 149 + .../mongodb/sampler/MongoScriptRunner.html | 256 + .../mongodb/sampler/MongoScriptSampler.html | 650 + .../sampler/MongoScriptSamplerBeanInfo.html | 270 + .../mongodb/sampler/package-frame.html | 34 + .../mongodb/sampler/package-summary.html | 161 + .../mongodb/sampler/package-tree.html | 161 + .../protocol/smtp/sampler/SmtpSampler.html | 769 + .../sampler/gui/SecuritySettingsPanel.html | 845 + .../protocol/smtp/sampler/gui/SmtpPanel.html | 1401 + .../smtp/sampler/gui/SmtpSamplerGui.html | 512 + .../smtp/sampler/gui/package-frame.html | 34 + .../smtp/sampler/gui/package-summary.html | 161 + .../smtp/sampler/gui/package-tree.html | 165 + .../protocol/smtp/sampler/package-frame.html | 30 + .../smtp/sampler/package-summary.html | 154 + .../protocol/smtp/sampler/package-tree.html | 155 + .../LocalTrustStoreSSLSocketFactory.html | 476 + .../sampler/protocol/SendMailCommand.html | 1441 + .../SynchronousTransportListener.html | 365 + .../protocol/TrustAllSSLSocketFactory.html | 492 + .../smtp/sampler/protocol/package-frame.html | 36 + .../sampler/protocol/package-summary.html | 167 + .../smtp/sampler/protocol/package-tree.html | 156 + .../sampler/tools/CounterOutputStream.html | 368 + .../smtp/sampler/tools/package-frame.html | 30 + .../smtp/sampler/tools/package-summary.html | 153 + .../smtp/sampler/tools/package-tree.html | 152 + .../jmeter/protocol/system/NativeCommand.html | 286 + .../jmeter/protocol/system/SystemSampler.html | 863 + .../protocol/system/gui/SystemSamplerGui.html | 609 + .../protocol/system/gui/package-frame.html | 30 + .../protocol/system/gui/package-summary.html | 153 + .../protocol/system/gui/package-tree.html | 166 + .../jmeter/protocol/system/package-frame.html | 32 + .../protocol/system/package-summary.html | 157 + .../jmeter/protocol/system/package-tree.html | 157 + .../protocol/tcp/config/gui/TCPConfigGui.html | 539 + .../tcp/config/gui/package-frame.html | 30 + .../tcp/config/gui/package-summary.html | 153 + .../protocol/tcp/config/gui/package-tree.html | 165 + .../tcp/control/gui/TCPSamplerGui.html | 525 + .../tcp/control/gui/package-frame.html | 30 + .../tcp/control/gui/package-summary.html | 153 + .../tcp/control/gui/package-tree.html | 165 + .../tcp/sampler/AbstractTCPClient.html | 448 + .../tcp/sampler/BinaryTCPClientImpl.html | 374 + .../LengthPrefixedBinaryTCPClientImpl.html | 418 + .../protocol/tcp/sampler/ReadException.html | 294 + .../protocol/tcp/sampler/TCPClient.html | 374 + .../tcp/sampler/TCPClientDecorator.html | 349 + .../protocol/tcp/sampler/TCPClientImpl.html | 352 + .../protocol/tcp/sampler/TCPSampler.html | 1223 + .../protocol/tcp/sampler/package-frame.html | 62 + .../protocol/tcp/sampler/package-summary.html | 201 + .../protocol/tcp/sampler/package-tree.html | 171 + .../reporters/AbstractListenerElement.html | 329 + .../apache/jmeter/reporters/FileReporter.html | 432 + .../reporters/MailerModel.MailAuthType.html | 337 + .../apache/jmeter/reporters/MailerModel.html | 1134 + .../reporters/MailerResultCollector.html | 388 + .../apache/jmeter/reporters/ResultAction.html | 357 + .../jmeter/reporters/ResultCollector.html | 973 + .../reporters/ResultCollectorHelper.html | 255 + .../apache/jmeter/reporters/ResultSaver.html | 533 + .../apache/jmeter/reporters/Summariser.html | 528 + .../jmeter/reporters/gui/ResultActionGui.html | 539 + .../jmeter/reporters/gui/ResultSaverGui.html | 564 + .../jmeter/reporters/gui/SummariserGui.html | 505 + .../jmeter/reporters/gui/package-frame.html | 34 + .../jmeter/reporters/gui/package-summary.html | 162 + .../jmeter/reporters/gui/package-tree.html | 170 + .../jmeter/reporters/package-frame.html | 57 + .../jmeter/reporters/package-summary.html | 204 + .../apache/jmeter/reporters/package-tree.html | 185 + .../apache/jmeter/sampler/DebugSampler.html | 462 + .../jmeter/sampler/DebugSamplerBeanInfo.html | 270 + .../org/apache/jmeter/sampler/TestAction.html | 605 + .../jmeter/sampler/gui/TestActionGui.html | 525 + .../jmeter/sampler/gui/package-frame.html | 30 + .../jmeter/sampler/gui/package-summary.html | 153 + .../jmeter/sampler/gui/package-tree.html | 165 + .../apache/jmeter/sampler/package-frame.html | 34 + .../jmeter/sampler/package-summary.html | 162 + .../apache/jmeter/sampler/package-tree.html | 162 + .../jmeter/samplers/AbstractSampleSender.html | 296 + .../jmeter/samplers/AbstractSampler.html | 308 + .../jmeter/samplers/AsynchSampleSender.html | 323 + .../jmeter/samplers/BatchSampleSender.html | 374 + .../org/apache/jmeter/samplers/Clearable.html | 214 + .../samplers/DataStrippingSampleSender.html | 307 + .../samplers/DiskStoreSampleSender.html | 305 + .../api/org/apache/jmeter/samplers/Entry.html | 368 + .../jmeter/samplers/HoldSampleSender.html | 306 + .../apache/jmeter/samplers/Interruptible.html | 213 + .../samplers/RemoteListenerWrapper.html | 508 + .../jmeter/samplers/RemoteSampleListener.html | 410 + .../samplers/RemoteSampleListenerImpl.html | 541 + .../samplers/RemoteSampleListenerWrapper.html | 353 + .../samplers/RemoteTestListenerWrapper.html | 428 + .../apache/jmeter/samplers/Remoteable.html | 172 + .../apache/jmeter/samplers/SampleEvent.html | 592 + .../jmeter/samplers/SampleListener.html | 259 + .../apache/jmeter/samplers/SampleResult.html | 2958 ++ .../samplers/SampleSaveConfiguration.html | 1902 ++ .../apache/jmeter/samplers/SampleSender.html | 258 + .../jmeter/samplers/SampleSenderFactory.html | 220 + .../org/apache/jmeter/samplers/Sampler.html | 252 + .../jmeter/samplers/StandardSampleSender.html | 305 + .../samplers/StatisticalSampleResult.html | 490 + .../samplers/StatisticalSampleSender.html | 306 + .../samplers/gui/AbstractSamplerGui.html | 452 + .../jmeter/samplers/gui/package-frame.html | 30 + .../jmeter/samplers/gui/package-summary.html | 153 + .../jmeter/samplers/gui/package-tree.html | 163 + .../apache/jmeter/samplers/package-frame.html | 89 + .../jmeter/samplers/package-summary.html | 273 + .../apache/jmeter/samplers/package-tree.html | 195 + .../apache/jmeter/save/CSVSaveService.html | 568 + .../jmeter/save/ListenerResultWrapper.html | 351 + .../apache/jmeter/save/OldSaveService.html | 254 + .../jmeter/save/SaveGraphicsService.html | 416 + .../org/apache/jmeter/save/SaveService.html | 702 + .../jmeter/save/ScriptWrapperConverter.html | 363 + .../apache/jmeter/save/TestResultWrapper.html | 346 + .../converters/BooleanPropertyConverter.html | 337 + .../save/converters/ConversionHelp.html | 617 + .../save/converters/HashTreeConverter.html | 344 + .../converters/IntegerPropertyConverter.html | 337 + .../converters/LongPropertyConverter.html | 337 + .../converters/MultiPropertyConverter.html | 346 + .../save/converters/SampleEventConverter.html | 341 + .../converters/SampleResultConverter.html | 819 + .../SampleSaveConfigurationConverter.html | 382 + .../converters/StringPropertyConverter.html | 337 + .../save/converters/TestElementConverter.html | 349 + .../TestElementPropertyConverter.html | 346 + .../TestResultWrapperConverter.html | 354 + .../jmeter/save/converters/package-frame.html | 54 + .../save/converters/package-summary.html | 201 + .../jmeter/save/converters/package-tree.html | 162 + .../org/apache/jmeter/save/package-frame.html | 42 + .../apache/jmeter/save/package-summary.html | 179 + .../org/apache/jmeter/save/package-tree.html | 150 + .../apache/jmeter/services/FileServer.html | 772 + .../apache/jmeter/services/package-frame.html | 30 + .../jmeter/services/package-summary.html | 155 + .../apache/jmeter/services/package-tree.html | 149 + .../api/org/apache/jmeter/swing/HtmlPane.html | 402 + .../apache/jmeter/swing/package-frame.html | 30 + .../apache/jmeter/swing/package-summary.html | 153 + .../org/apache/jmeter/swing/package-tree.html | 164 + .../jmeter/testbeans/BeanInfoSupport.html | 780 + .../org/apache/jmeter/testbeans/TestBean.html | 171 + .../jmeter/testbeans/TestBeanBeanInfo.html | 459 + .../jmeter/testbeans/TestBeanHelper.html | 329 + .../testbeans/gui/BooleanPropertyEditor.html | 334 + .../jmeter/testbeans/gui/FileEditor.html | 581 + .../gui/GenericTestBeanCustomizer.html | 718 + .../testbeans/gui/IntegerPropertyEditor.html | 291 + .../testbeans/gui/LongPropertyEditor.html | 291 + .../jmeter/testbeans/gui/PasswordEditor.html | 484 + .../testbeans/gui/SharedCustomizer.html | 197 + .../jmeter/testbeans/gui/TableEditor.html | 567 + .../jmeter/testbeans/gui/TestBeanGUI.html | 793 + .../testbeans/gui/TestBeanPropertyEditor.html | 220 + .../jmeter/testbeans/gui/TextAreaEditor.html | 495 + .../jmeter/testbeans/gui/TypeEditor.html | 370 + .../jmeter/testbeans/gui/package-frame.html | 70 + .../jmeter/testbeans/gui/package-summary.html | 221 + .../jmeter/testbeans/gui/package-tree.html | 191 + .../jmeter/testbeans/package-frame.html | 45 + .../jmeter/testbeans/package-summary.html | 175 + .../apache/jmeter/testbeans/package-tree.html | 158 + .../testelement/AbstractScopedAssertion.html | 313 + .../AbstractScopedTestElement.html | 555 + .../testelement/AbstractTestElement.html | 1694 + .../AbstractTestElementBeanInfo.html | 462 + .../testelement/OnErrorTestElement.html | 519 + .../jmeter/testelement/TestCloneable.html | 211 + .../jmeter/testelement/TestElement.html | 1384 + .../testelement/TestElementTraverser.html | 278 + .../testelement/TestIterationListener.html | 215 + .../jmeter/testelement/TestListener.html | 203 + .../apache/jmeter/testelement/TestPlan.html | 907 + .../jmeter/testelement/TestStateListener.html | 327 + .../jmeter/testelement/ThreadListener.html | 234 + .../testelement/VariablesCollection.html | 280 + .../apache/jmeter/testelement/WorkBench.html | 300 + .../jmeter/testelement/package-frame.html | 67 + .../jmeter/testelement/package-summary.html | 222 + .../jmeter/testelement/package-tree.html | 170 + .../property/AbstractProperty.html | 914 + .../testelement/property/BooleanProperty.html | 444 + .../property/CollectionProperty.html | 738 + .../testelement/property/DoubleProperty.html | 602 + .../testelement/property/FloatProperty.html | 601 + .../property/FunctionProperty.html | 444 + .../testelement/property/IntegerProperty.html | 616 + .../testelement/property/JMeterProperty.html | 556 + .../testelement/property/LongProperty.html | 602 + .../testelement/property/MapProperty.html | 659 + .../testelement/property/MultiProperty.html | 441 + .../testelement/property/NullProperty.html | 566 + .../testelement/property/NumberProperty.html | 379 + .../testelement/property/ObjectProperty.html | 448 + .../property/PropertyIterator.html | 243 + .../property/PropertyIteratorImpl.html | 304 + .../testelement/property/StringProperty.html | 439 + .../property/TestElementProperty.html | 621 + .../testelement/property/package-frame.html | 73 + .../testelement/property/package-summary.html | 232 + .../testelement/property/package-tree.html | 171 + .../jmeter/threads/AbstractThreadGroup.html | 1069 + .../FindTestElementsUpToRootTraverser.html | 348 + .../apache/jmeter/threads/JMeterContext.html | 642 + .../JMeterContextService.ThreadCounts.html | 262 + .../jmeter/threads/JMeterContextService.html | 432 + .../apache/jmeter/threads/JMeterThread.html | 797 + .../jmeter/threads/JMeterThreadMonitor.html | 209 + .../jmeter/threads/JMeterVariables.html | 501 + .../jmeter/threads/ListenerNotifier.html | 261 + .../jmeter/threads/PostThreadGroup.html | 305 + .../RemoteThreadsLifeCycleListener.html | 229 + .../jmeter/threads/RemoteThreadsListener.html | 247 + .../threads/RemoteThreadsListenerImpl.html | 345 + .../RemoteThreadsListenerTestElement.html | 292 + .../threads/RemoteThreadsListenerWrapper.html | 334 + .../apache/jmeter/threads/SamplePackage.html | 568 + .../jmeter/threads/SetupThreadGroup.html | 305 + .../apache/jmeter/threads/TestCompiler.html | 460 + .../jmeter/threads/TestCompilerHelper.html | 225 + .../apache/jmeter/threads/ThreadGroup.html | 930 + .../threads/gui/AbstractThreadGroupGui.html | 567 + .../threads/gui/PostThreadGroupGui.html | 471 + .../threads/gui/SetupThreadGroupGui.html | 471 + .../jmeter/threads/gui/ThreadGroupGui.html | 578 + .../jmeter/threads/gui/package-frame.html | 36 + .../jmeter/threads/gui/package-summary.html | 165 + .../jmeter/threads/gui/package-tree.html | 170 + .../apache/jmeter/threads/package-frame.html | 77 + .../jmeter/threads/package-summary.html | 250 + .../apache/jmeter/threads/package-tree.html | 177 + .../org/apache/jmeter/timers/BSFTimer.html | 318 + .../jmeter/timers/BSFTimerBeanInfo.html | 272 + .../apache/jmeter/timers/BeanShellTimer.html | 321 + .../jmeter/timers/BeanShellTimerBeanInfo.html | 271 + .../timers/ConstantThroughputTimer.Mode.html | 395 + .../timers/ConstantThroughputTimer.html | 641 + .../ConstantThroughputTimerBeanInfo.html | 274 + .../apache/jmeter/timers/ConstantTimer.html | 471 + .../jmeter/timers/GaussianRandomTimer.html | 358 + .../org/apache/jmeter/timers/JSR223Timer.html | 318 + .../jmeter/timers/JSR223TimerBeanInfo.html | 281 + .../jmeter/timers/PoissonRandomTimer.html | 356 + .../org/apache/jmeter/timers/RandomTimer.html | 417 + .../org/apache/jmeter/timers/SyncTimer.html | 586 + .../jmeter/timers/SyncTimerBeanInfo.html | 270 + docs/api/org/apache/jmeter/timers/Timer.html | 221 + .../jmeter/timers/UniformRandomTimer.html | 358 + .../timers/gui/AbstractRandomTimerGui.html | 646 + .../jmeter/timers/gui/AbstractTimerGui.html | 454 + .../jmeter/timers/gui/ConstantTimerGui.html | 542 + .../timers/gui/GaussianRandomTimerGui.html | 561 + .../timers/gui/PoissonRandomTimerGui.html | 553 + .../timers/gui/UniformRandomTimerGui.html | 561 + .../jmeter/timers/gui/package-frame.html | 40 + .../jmeter/timers/gui/package-summary.html | 173 + .../jmeter/timers/gui/package-tree.html | 167 + .../apache/jmeter/timers/package-frame.html | 80 + .../apache/jmeter/timers/package-summary.html | 247 + .../apache/jmeter/timers/package-tree.html | 207 + .../jmeter/util/BSFBeanInfoSupport.html | 280 + .../jmeter/util/BSFJavaScriptEngine.html | 415 + .../apache/jmeter/util/BSFTestElement.html | 428 + .../jmeter/util/BeanShellBeanInfoSupport.html | 279 + .../apache/jmeter/util/BeanShellClient.html | 255 + .../jmeter/util/BeanShellInterpreter.html | 444 + .../apache/jmeter/util/BeanShellServer.html | 271 + .../jmeter/util/BeanShellTestElement.html | 787 + .../api/org/apache/jmeter/util/CPSPauser.html | 258 + .../org/apache/jmeter/util/Calculator.html | 607 + .../org/apache/jmeter/util/ColorHelper.html | 231 + .../jmeter/util/CustomX509TrustManager.html | 316 + docs/api/org/apache/jmeter/util/Document.html | 253 + .../util/HttpSSLProtocolSocketFactory.html | 530 + .../util/JMeterTreeNodeTransferable.html | 372 + .../org/apache/jmeter/util/JMeterUtils.html | 2046 ++ .../org/apache/jmeter/util/JMeterVersion.html | 219 + .../jmeter/util/JSR223BeanInfoSupport.html | 307 + .../apache/jmeter/util/JSR223TestElement.html | 631 + .../apache/jmeter/util/JsseSSLManager.html | 398 + .../apache/jmeter/util/LocaleChangeEvent.html | 299 + .../jmeter/util/LocaleChangeListener.html | 205 + .../org/apache/jmeter/util/NameUpdater.html | 326 + .../org/apache/jmeter/util/NamedObject.html | 202 + .../util/PropertiesBasedPrefixResolver.html | 274 + .../org/apache/jmeter/util/SSLManager.html | 518 + .../org/apache/jmeter/util/ScopePanel.html | 726 + .../jmeter/util/ScriptingBeanInfoSupport.html | 301 + .../jmeter/util/ScriptingTestElement.html | 420 + .../apache/jmeter/util/ShutdownClient.html | 255 + .../apache/jmeter/util/SlowInputStream.html | 325 + .../apache/jmeter/util/SlowOutputStream.html | 325 + .../org/apache/jmeter/util/SlowSSLSocket.html | 1626 + .../org/apache/jmeter/util/SlowSocket.html | 384 + .../apache/jmeter/util/StringUtilities.html | 222 + .../apache/jmeter/util/ThreadLocalRandom.html | 449 + .../org/apache/jmeter/util/TidyException.html | 256 + .../api/org/apache/jmeter/util/XPathUtil.html | 491 + .../jmeter/util/keystore/JmeterKeyStore.html | 433 + .../jmeter/util/keystore/package-frame.html | 30 + .../jmeter/util/keystore/package-summary.html | 153 + .../jmeter/util/keystore/package-tree.html | 149 + .../org/apache/jmeter/util/package-frame.html | 122 + .../apache/jmeter/util/package-summary.html | 339 + .../org/apache/jmeter/util/package-tree.html | 223 + .../jmeter/visualizers/AccumListener.html | 202 + .../visualizers/AssertionVisualizer.html | 492 + .../apache/jmeter/visualizers/AxisGraph.html | 1373 + .../jmeter/visualizers/BSFListener.html | 419 + .../visualizers/BSFListenerBeanInfo.html | 272 + .../apache/jmeter/visualizers/BarGraph.html | 352 + .../jmeter/visualizers/BeanShellListener.html | 422 + .../BeanShellListenerBeanInfo.html | 271 + .../visualizers/CachingStatCalculator.html | 331 + .../visualizers/ComparisonVisualizer.html | 492 + .../jmeter/visualizers/DistributionGraph.html | 551 + .../DistributionGraphVisualizer.html | 621 + .../org/apache/jmeter/visualizers/Graph.html | 699 + .../jmeter/visualizers/GraphListener.html | 224 + .../jmeter/visualizers/GraphVisualizer.html | 593 + .../jmeter/visualizers/ImageVisualizer.html | 213 + .../jmeter/visualizers/JSR223Listener.html | 419 + .../visualizers/JSR223ListenerBeanInfo.html | 281 + .../apache/jmeter/visualizers/LineGraph.html | 900 + .../jmeter/visualizers/MailerVisualizer.html | 697 + .../jmeter/visualizers/MonitorAccumModel.html | 555 + .../jmeter/visualizers/MonitorGraph.html | 550 + .../visualizers/MonitorGuiListener.html | 224 + .../visualizers/MonitorHealthPanel.html | 431 + .../visualizers/MonitorHealthVisualizer.html | 653 + .../jmeter/visualizers/MonitorListener.html | 205 + .../jmeter/visualizers/MonitorModel.html | 591 + .../visualizers/MonitorPerformancePanel.html | 468 + .../jmeter/visualizers/MonitorStats.html | 722 + .../jmeter/visualizers/MonitorTabPane.html | 368 + .../apache/jmeter/visualizers/Printable.html | 211 + .../visualizers/PropertyControlGui.html | 598 + .../jmeter/visualizers/RenderAsCssJQuery.html | 506 + .../jmeter/visualizers/RenderAsDocument.html | 337 + .../jmeter/visualizers/RenderAsHTML.html | 390 + .../visualizers/RenderAsHTMLWithEmbedded.html | 349 + .../jmeter/visualizers/RenderAsJSON.html | 337 + .../jmeter/visualizers/RenderAsRegexp.html | 502 + .../jmeter/visualizers/RenderAsText.html | 337 + .../jmeter/visualizers/RenderAsXML.html | 359 + .../jmeter/visualizers/RenderAsXPath.html | 502 + .../jmeter/visualizers/RequestPanel.html | 300 + .../jmeter/visualizers/RequestView.html | 299 + .../jmeter/visualizers/RequestViewRaw.html | 362 + .../visualizers/RespTimeGraphChart.html | 1256 + .../visualizers/RespTimeGraphDataBean.html | 358 + .../visualizers/RespTimeGraphLineBean.html | 315 + .../visualizers/RespTimeGraphVisualizer.html | 1392 + .../jmeter/visualizers/ResultRenderer.html | 384 + .../jmeter/visualizers/RunningSample.html | 664 + .../org/apache/jmeter/visualizers/Sample.html | 719 + .../SamplerResultTab.RowResult.html | 316 + .../jmeter/visualizers/SamplerResultTab.html | 645 + .../visualizers/SamplingStatCalculator.html | 728 + .../visualizers/SearchTextExtension.html | 367 + .../jmeter/visualizers/ServerPanel.html | 436 + .../jmeter/visualizers/SimpleDataWriter.html | 486 + .../apache/jmeter/visualizers/Spline3.html | 829 + .../jmeter/visualizers/SplineModel.html | 651 + .../SplineVisualizer.SplineGraph.html | 389 + .../jmeter/visualizers/SplineVisualizer.html | 751 + .../visualizers/StatGraphProperties.html | 359 + .../visualizers/StatGraphVisualizer.html | 667 + .../jmeter/visualizers/StatVisualizer.html | 610 + .../jmeter/visualizers/SummaryReport.html | 608 + .../jmeter/visualizers/TableSample.html | 563 + .../TableVisualizer.SampleSuccessFunctor.html | 268 + .../jmeter/visualizers/TableVisualizer.html | 576 + .../jmeter/visualizers/TreeNodeRenderer.html | 434 + .../ViewResultsFullVisualizer.html | 717 + .../apache/jmeter/visualizers/Visualizer.html | 240 + .../XMLDefaultMutableTreeNode.html | 327 + .../AbstractBackendListenerClient.html | 492 + .../visualizers/backend/BackendListener.html | 706 + .../backend/BackendListenerClient.html | 369 + .../backend/BackendListenerContext.html | 482 + .../backend/BackendListenerGui.html | 575 + .../visualizers/backend/SamplerMetric.html | 618 + .../visualizers/backend/UserMetric.html | 382 + .../GraphiteBackendListenerClient.html | 473 + .../graphite/SocketConnectionInfos.html | 319 + .../backend/graphite/SocketOutputStream.html | 337 + .../SocketOutputStreamPoolFactory.html | 384 + .../backend/graphite/package-frame.html | 36 + .../backend/graphite/package-summary.html | 165 + .../backend/graphite/package-tree.html | 162 + .../visualizers/backend/package-frame.html | 51 + .../visualizers/backend/package-summary.html | 190 + .../visualizers/backend/package-tree.html | 176 + .../visualizers/gui/AbstractListenerGui.html | 452 + .../visualizers/gui/AbstractVisualizer.html | 926 + .../jmeter/visualizers/gui/package-frame.html | 32 + .../visualizers/gui/package-summary.html | 158 + .../jmeter/visualizers/gui/package-tree.html | 166 + .../jmeter/visualizers/package-frame.html | 179 + .../jmeter/visualizers/package-summary.html | 474 + .../jmeter/visualizers/package-tree.html | 266 + .../jmeter/visualizers/utils/Colors.html | 305 + .../visualizers/utils/package-frame.html | 30 + .../visualizers/utils/package-summary.html | 153 + .../visualizers/utils/package-tree.html | 149 + .../org/apache/jorphan/collections/Data.html | 1111 + .../apache/jorphan/collections/HashTree.html | 2010 ++ .../collections/HashTreeTraverser.html | 289 + .../jorphan/collections/ListedHashTree.html | 770 + .../jorphan/collections/SearchByClass.html | 406 + .../jorphan/collections/SortedHashTree.html | 484 + .../jorphan/collections/package-frame.html | 49 + .../jorphan/collections/package-summary.html | 187 + .../jorphan/collections/package-tree.html | 161 + .../org/apache/jorphan/exec/KeyToolUtils.html | 448 + .../apache/jorphan/exec/SystemCommand.html | 429 + .../apache/jorphan/exec/package-frame.html | 32 + .../apache/jorphan/exec/package-summary.html | 157 + .../org/apache/jorphan/exec/package-tree.html | 149 + .../jorphan/gui/AbstractTreeTableModel.html | 930 + .../org/apache/jorphan/gui/ComponentUtil.html | 279 + .../jorphan/gui/DefaultTreeTableModel.html | 329 + docs/api/org/apache/jorphan/gui/GuiUtils.html | 373 + .../apache/jorphan/gui/JLabeledChoice.html | 798 + .../org/apache/jorphan/gui/JLabeledField.html | 285 + .../jorphan/gui/JLabeledPasswordField.html | 411 + .../apache/jorphan/gui/JLabeledTextArea.html | 747 + .../apache/jorphan/gui/JLabeledTextField.html | 768 + .../org/apache/jorphan/gui/JTreeTable.html | 431 + .../org/apache/jorphan/gui/MenuScroller.html | 972 + .../apache/jorphan/gui/NumberRenderer.html | 476 + .../apache/jorphan/gui/ObjectTableModel.html | 728 + .../org/apache/jorphan/gui/RateRenderer.html | 451 + .../org/apache/jorphan/gui/RendererUtils.html | 221 + .../jorphan/gui/RightAlignRenderer.html | 401 + .../apache/jorphan/gui/TreeTableModel.html | 288 + .../jorphan/gui/layout/VerticalLayout.html | 611 + .../jorphan/gui/layout/package-frame.html | 30 + .../jorphan/gui/layout/package-summary.html | 153 + .../jorphan/gui/layout/package-tree.html | 150 + .../org/apache/jorphan/gui/package-frame.html | 71 + .../apache/jorphan/gui/package-summary.html | 230 + .../org/apache/jorphan/gui/package-tree.html | 192 + docs/api/org/apache/jorphan/io/TextFile.html | 473 + .../org/apache/jorphan/io/package-frame.html | 30 + .../apache/jorphan/io/package-summary.html | 153 + .../org/apache/jorphan/io/package-tree.html | 152 + .../jorphan/logging/LoggingManager.html | 569 + .../apache/jorphan/logging/package-frame.html | 30 + .../jorphan/logging/package-summary.html | 153 + .../apache/jorphan/logging/package-tree.html | 149 + .../apache/jorphan/math/NumberComparator.html | 269 + .../apache/jorphan/math/StatCalculator.html | 617 + .../jorphan/math/StatCalculatorInteger.html | 333 + .../jorphan/math/StatCalculatorLong.html | 335 + .../apache/jorphan/math/package-frame.html | 36 + .../apache/jorphan/math/package-summary.html | 165 + .../org/apache/jorphan/math/package-tree.html | 152 + .../apache/jorphan/reflect/ClassFinder.html | 385 + .../apache/jorphan/reflect/ClassTools.html | 343 + .../org/apache/jorphan/reflect/Functor.html | 612 + .../apache/jorphan/reflect/package-frame.html | 34 + .../jorphan/reflect/package-summary.html | 161 + .../apache/jorphan/reflect/package-tree.html | 149 + .../apache/jorphan/test/UnitTestManager.html | 221 + .../apache/jorphan/test/package-frame.html | 30 + .../apache/jorphan/test/package-summary.html | 153 + .../org/apache/jorphan/test/package-tree.html | 147 + .../org/apache/jorphan/util/Converter.html | 895 + .../org/apache/jorphan/util/HeapDumper.html | 374 + .../org/apache/jorphan/util/JMeterError.html | 287 + .../apache/jorphan/util/JMeterException.html | 287 + .../jorphan/util/JMeterStopTestException.html | 258 + .../util/JMeterStopTestNowException.html | 258 + .../util/JMeterStopThreadException.html | 288 + .../org/apache/jorphan/util/JOrphanUtils.html | 801 + .../org/apache/jorphan/util/XMLBuffer.html | 352 + .../apache/jorphan/util/package-frame.html | 64 + .../apache/jorphan/util/package-summary.html | 210 + .../org/apache/jorphan/util/package-tree.html | 158 + docs/api/overview-frame.html | 272 + docs/api/overview-summary.html | 644 + docs/api/overview-tree.html | 963 + docs/api/package-list | 117 + docs/api/resources/inherit.gif | Bin 0 -> 57 bytes docs/api/serialized-form.html | 22792 +++++++++++++ docs/api/stylesheet.css | 29 + 1257 files changed, 534858 insertions(+) create mode 100644 docs/api/allclasses-frame.html create mode 100644 docs/api/allclasses-noframe.html create mode 100644 docs/api/constant-values.html create mode 100644 docs/api/deprecated-list.html create mode 100644 docs/api/help-doc.html create mode 100644 docs/api/index-all.html create mode 100644 docs/api/index.html create mode 100644 docs/api/org/apache/jmeter/DynamicClassLoader.html create mode 100644 docs/api/org/apache/jmeter/JMeter.html create mode 100644 docs/api/org/apache/jmeter/NewDriver.html create mode 100644 docs/api/org/apache/jmeter/ProxyAuthenticator.html create mode 100644 docs/api/org/apache/jmeter/assertions/Assertion.html create mode 100644 docs/api/org/apache/jmeter/assertions/AssertionResult.html create mode 100644 docs/api/org/apache/jmeter/assertions/BSFAssertion.html create mode 100644 docs/api/org/apache/jmeter/assertions/BSFAssertionBeanInfo.html create mode 100644 docs/api/org/apache/jmeter/assertions/BeanShellAssertion.html create mode 100644 docs/api/org/apache/jmeter/assertions/CompareAssertion.html create mode 100644 docs/api/org/apache/jmeter/assertions/CompareAssertionBeanInfo.html create mode 100644 docs/api/org/apache/jmeter/assertions/CompareAssertionResult.html create mode 100644 docs/api/org/apache/jmeter/assertions/DurationAssertion.html create mode 100644 docs/api/org/apache/jmeter/assertions/HTMLAssertion.html create mode 100644 docs/api/org/apache/jmeter/assertions/JSR223Assertion.html create mode 100644 docs/api/org/apache/jmeter/assertions/JSR223AssertionBeanInfo.html create mode 100644 docs/api/org/apache/jmeter/assertions/MD5HexAssertion.html create mode 100644 docs/api/org/apache/jmeter/assertions/ResponseAssertion.html create mode 100644 docs/api/org/apache/jmeter/assertions/SMIMEAssertionTestElement.html create mode 100644 docs/api/org/apache/jmeter/assertions/SizeAssertion.html create mode 100644 docs/api/org/apache/jmeter/assertions/SubstitutionElement.html create mode 100644 docs/api/org/apache/jmeter/assertions/XMLAssertion.html create mode 100644 docs/api/org/apache/jmeter/assertions/XMLSchemaAssertion.html create mode 100644 docs/api/org/apache/jmeter/assertions/XPathAssertion.html create mode 100644 docs/api/org/apache/jmeter/assertions/gui/AbstractAssertionGui.html create mode 100644 docs/api/org/apache/jmeter/assertions/gui/AssertionGui.html create mode 100644 docs/api/org/apache/jmeter/assertions/gui/BeanShellAssertionGui.html create mode 100644 docs/api/org/apache/jmeter/assertions/gui/DurationAssertionGui.html create mode 100644 docs/api/org/apache/jmeter/assertions/gui/HTMLAssertionGui.html create mode 100644 docs/api/org/apache/jmeter/assertions/gui/MD5HexAssertionGUI.html create mode 100644 docs/api/org/apache/jmeter/assertions/gui/SMIMEAssertionGui.html create mode 100644 docs/api/org/apache/jmeter/assertions/gui/SizeAssertionGui.html create mode 100644 docs/api/org/apache/jmeter/assertions/gui/XMLAssertionGui.html create mode 100644 docs/api/org/apache/jmeter/assertions/gui/XMLConfPanel.html create mode 100644 docs/api/org/apache/jmeter/assertions/gui/XMLSchemaAssertionGUI.html create mode 100644 docs/api/org/apache/jmeter/assertions/gui/XPathAssertionGui.html create mode 100644 docs/api/org/apache/jmeter/assertions/gui/XPathPanel.html create mode 100644 docs/api/org/apache/jmeter/assertions/gui/package-frame.html create mode 100644 docs/api/org/apache/jmeter/assertions/gui/package-summary.html create mode 100644 docs/api/org/apache/jmeter/assertions/gui/package-tree.html create mode 100644 docs/api/org/apache/jmeter/assertions/package-frame.html create mode 100644 docs/api/org/apache/jmeter/assertions/package-summary.html create mode 100644 docs/api/org/apache/jmeter/assertions/package-tree.html create mode 100644 docs/api/org/apache/jmeter/config/Argument.html create mode 100644 docs/api/org/apache/jmeter/config/Arguments.html create mode 100644 docs/api/org/apache/jmeter/config/CSVDataSet.html create mode 100644 docs/api/org/apache/jmeter/config/CSVDataSetBeanInfo.html create mode 100644 docs/api/org/apache/jmeter/config/ConfigElement.html create mode 100644 docs/api/org/apache/jmeter/config/ConfigTestElement.html create mode 100644 docs/api/org/apache/jmeter/config/KeystoreConfig.html create mode 100644 docs/api/org/apache/jmeter/config/KeystoreConfigBeanInfo.html create mode 100644 docs/api/org/apache/jmeter/config/LoginConfig.html create mode 100644 docs/api/org/apache/jmeter/config/RandomVariableConfig.html create mode 100644 docs/api/org/apache/jmeter/config/RandomVariableConfigBeanInfo.html create mode 100644 docs/api/org/apache/jmeter/config/gui/AbstractConfigGui.html create mode 100644 docs/api/org/apache/jmeter/config/gui/ArgumentsPanel.html create mode 100644 docs/api/org/apache/jmeter/config/gui/LoginConfigGui.html create mode 100644 docs/api/org/apache/jmeter/config/gui/ObsoleteGui.html create mode 100644 docs/api/org/apache/jmeter/config/gui/RowDetailDialog.html create mode 100644 docs/api/org/apache/jmeter/config/gui/SimpleConfigGui.html create mode 100644 docs/api/org/apache/jmeter/config/gui/package-frame.html create mode 100644 docs/api/org/apache/jmeter/config/gui/package-summary.html create mode 100644 docs/api/org/apache/jmeter/config/gui/package-tree.html create mode 100644 docs/api/org/apache/jmeter/config/package-frame.html create mode 100644 docs/api/org/apache/jmeter/config/package-summary.html create mode 100644 docs/api/org/apache/jmeter/config/package-tree.html create mode 100644 docs/api/org/apache/jmeter/control/Controller.html create mode 100644 docs/api/org/apache/jmeter/control/CriticalSectionController.html create mode 100644 docs/api/org/apache/jmeter/control/ForeachController.html create mode 100644 docs/api/org/apache/jmeter/control/GenericController.html create mode 100644 docs/api/org/apache/jmeter/control/IfController.html create mode 100644 docs/api/org/apache/jmeter/control/IncludeController.html create mode 100644 docs/api/org/apache/jmeter/control/InterleaveControl.html create mode 100644 docs/api/org/apache/jmeter/control/LoopController.html create mode 100644 docs/api/org/apache/jmeter/control/ModuleController.html create mode 100644 docs/api/org/apache/jmeter/control/NextIsNullException.html create mode 100644 docs/api/org/apache/jmeter/control/OnceOnlyController.html create mode 100644 docs/api/org/apache/jmeter/control/RandomController.html create mode 100644 docs/api/org/apache/jmeter/control/RandomOrderController.html create mode 100644 docs/api/org/apache/jmeter/control/ReplaceableController.html create mode 100644 docs/api/org/apache/jmeter/control/RunTime.html create mode 100644 docs/api/org/apache/jmeter/control/SwitchController.html create mode 100644 docs/api/org/apache/jmeter/control/TestFragmentController.html create mode 100644 docs/api/org/apache/jmeter/control/ThroughputController.html create mode 100644 docs/api/org/apache/jmeter/control/TransactionController.html create mode 100644 docs/api/org/apache/jmeter/control/TransactionSampler.html create mode 100644 docs/api/org/apache/jmeter/control/WhileController.html create mode 100644 docs/api/org/apache/jmeter/control/gui/AbstractControllerGui.html create mode 100644 docs/api/org/apache/jmeter/control/gui/CriticalSectionControllerGui.html create mode 100644 docs/api/org/apache/jmeter/control/gui/ForeachControlPanel.html create mode 100644 docs/api/org/apache/jmeter/control/gui/IfControllerPanel.html create mode 100644 docs/api/org/apache/jmeter/control/gui/IncludeControllerGui.html create mode 100644 docs/api/org/apache/jmeter/control/gui/InterleaveControlGui.html create mode 100644 docs/api/org/apache/jmeter/control/gui/LogicControllerGui.html create mode 100644 docs/api/org/apache/jmeter/control/gui/LoopControlPanel.html create mode 100644 docs/api/org/apache/jmeter/control/gui/ModuleControllerGui.html create mode 100644 docs/api/org/apache/jmeter/control/gui/OnceOnlyControllerGui.html create mode 100644 docs/api/org/apache/jmeter/control/gui/RandomControlGui.html create mode 100644 docs/api/org/apache/jmeter/control/gui/RandomOrderControllerGui.html create mode 100644 docs/api/org/apache/jmeter/control/gui/RunTimeGui.html create mode 100644 docs/api/org/apache/jmeter/control/gui/SwitchControllerGui.html create mode 100644 docs/api/org/apache/jmeter/control/gui/TestFragmentControllerGui.html create mode 100644 docs/api/org/apache/jmeter/control/gui/TestPlanGui.html create mode 100644 docs/api/org/apache/jmeter/control/gui/ThroughputControllerGui.html create mode 100644 docs/api/org/apache/jmeter/control/gui/TransactionControllerGui.html create mode 100644 docs/api/org/apache/jmeter/control/gui/TreeNodeWrapper.html create mode 100644 docs/api/org/apache/jmeter/control/gui/WhileControllerGui.html create mode 100644 docs/api/org/apache/jmeter/control/gui/WorkBenchGui.html create mode 100644 docs/api/org/apache/jmeter/control/gui/package-frame.html create mode 100644 docs/api/org/apache/jmeter/control/gui/package-summary.html create mode 100644 docs/api/org/apache/jmeter/control/gui/package-tree.html create mode 100644 docs/api/org/apache/jmeter/control/package-frame.html create mode 100644 docs/api/org/apache/jmeter/control/package-summary.html create mode 100644 docs/api/org/apache/jmeter/control/package-tree.html create mode 100644 docs/api/org/apache/jmeter/engine/ClientJMeterEngine.html create mode 100644 docs/api/org/apache/jmeter/engine/ConvertListeners.html create mode 100644 docs/api/org/apache/jmeter/engine/DistributedRunner.html create mode 100644 docs/api/org/apache/jmeter/engine/JMeterEngine.html create mode 100644 docs/api/org/apache/jmeter/engine/JMeterEngineException.html create mode 100644 docs/api/org/apache/jmeter/engine/PreCompiler.html create mode 100644 docs/api/org/apache/jmeter/engine/RemoteJMeterEngine.html create mode 100644 docs/api/org/apache/jmeter/engine/RemoteJMeterEngineImpl.html create mode 100644 docs/api/org/apache/jmeter/engine/StandardJMeterEngine.html create mode 100644 docs/api/org/apache/jmeter/engine/TreeCloner.html create mode 100644 docs/api/org/apache/jmeter/engine/TreeClonerNoTimer.html create mode 100644 docs/api/org/apache/jmeter/engine/TurnElementsOn.html create mode 100644 docs/api/org/apache/jmeter/engine/event/LoopIterationEvent.html create mode 100644 docs/api/org/apache/jmeter/engine/event/LoopIterationListener.html create mode 100644 docs/api/org/apache/jmeter/engine/event/package-frame.html create mode 100644 docs/api/org/apache/jmeter/engine/event/package-summary.html create mode 100644 docs/api/org/apache/jmeter/engine/event/package-tree.html create mode 100644 docs/api/org/apache/jmeter/engine/package-frame.html create mode 100644 docs/api/org/apache/jmeter/engine/package-summary.html create mode 100644 docs/api/org/apache/jmeter/engine/package-tree.html create mode 100644 docs/api/org/apache/jmeter/engine/util/CompoundVariable.html create mode 100644 docs/api/org/apache/jmeter/engine/util/ConfigMergabilityIndicator.html create mode 100644 docs/api/org/apache/jmeter/engine/util/NoConfigMerge.html create mode 100644 docs/api/org/apache/jmeter/engine/util/NoThreadClone.html create mode 100644 docs/api/org/apache/jmeter/engine/util/ReplaceFunctionsWithStrings.html create mode 100644 docs/api/org/apache/jmeter/engine/util/ReplaceStringWithFunctions.html create mode 100644 docs/api/org/apache/jmeter/engine/util/SimpleVariable.html create mode 100644 docs/api/org/apache/jmeter/engine/util/UndoVariableReplacement.html create mode 100644 docs/api/org/apache/jmeter/engine/util/ValueReplacer.html create mode 100644 docs/api/org/apache/jmeter/engine/util/package-frame.html create mode 100644 docs/api/org/apache/jmeter/engine/util/package-summary.html create mode 100644 docs/api/org/apache/jmeter/engine/util/package-tree.html create mode 100644 docs/api/org/apache/jmeter/examples/sampler/ExampleSampler.html create mode 100644 docs/api/org/apache/jmeter/examples/sampler/gui/ExampleSamplerGui.html create mode 100644 docs/api/org/apache/jmeter/examples/sampler/gui/package-frame.html create mode 100644 docs/api/org/apache/jmeter/examples/sampler/gui/package-summary.html create mode 100644 docs/api/org/apache/jmeter/examples/sampler/gui/package-tree.html create mode 100644 docs/api/org/apache/jmeter/examples/sampler/package-frame.html create mode 100644 docs/api/org/apache/jmeter/examples/sampler/package-summary.html create mode 100644 docs/api/org/apache/jmeter/examples/sampler/package-tree.html create mode 100644 docs/api/org/apache/jmeter/examples/testbeans/example1/Example1.html create mode 100644 docs/api/org/apache/jmeter/examples/testbeans/example1/package-frame.html create mode 100644 docs/api/org/apache/jmeter/examples/testbeans/example1/package-summary.html create mode 100644 docs/api/org/apache/jmeter/examples/testbeans/example1/package-tree.html create mode 100644 docs/api/org/apache/jmeter/examples/testbeans/example2/Example2.html create mode 100644 docs/api/org/apache/jmeter/examples/testbeans/example2/Example2BeanInfo.html create mode 100644 docs/api/org/apache/jmeter/examples/testbeans/example2/package-frame.html create mode 100644 docs/api/org/apache/jmeter/examples/testbeans/example2/package-summary.html create mode 100644 docs/api/org/apache/jmeter/examples/testbeans/example2/package-tree.html create mode 100644 docs/api/org/apache/jmeter/examples/testbeans/example3/Example3.html create mode 100644 docs/api/org/apache/jmeter/examples/testbeans/example3/Example3BeanInfo.html create mode 100644 docs/api/org/apache/jmeter/examples/testbeans/example3/package-frame.html create mode 100644 docs/api/org/apache/jmeter/examples/testbeans/example3/package-summary.html create mode 100644 docs/api/org/apache/jmeter/examples/testbeans/example3/package-tree.html create mode 100644 docs/api/org/apache/jmeter/exceptions/IllegalUserActionException.html create mode 100644 docs/api/org/apache/jmeter/exceptions/package-frame.html create mode 100644 docs/api/org/apache/jmeter/exceptions/package-summary.html create mode 100644 docs/api/org/apache/jmeter/exceptions/package-tree.html create mode 100644 docs/api/org/apache/jmeter/extractor/BSFPostProcessor.html create mode 100644 docs/api/org/apache/jmeter/extractor/BSFPostProcessorBeanInfo.html create mode 100644 docs/api/org/apache/jmeter/extractor/BeanShellPostProcessor.html create mode 100644 docs/api/org/apache/jmeter/extractor/BeanShellPostProcessorBeanInfo.html create mode 100644 docs/api/org/apache/jmeter/extractor/DebugPostProcessor.html create mode 100644 docs/api/org/apache/jmeter/extractor/DebugPostProcessorBeanInfo.html create mode 100644 docs/api/org/apache/jmeter/extractor/Extractor.html create mode 100644 docs/api/org/apache/jmeter/extractor/HtmlExtractor.html create mode 100644 docs/api/org/apache/jmeter/extractor/JSR223PostProcessor.html create mode 100644 docs/api/org/apache/jmeter/extractor/JSR223PostProcessorBeanInfo.html create mode 100644 docs/api/org/apache/jmeter/extractor/JSoupExtractor.html create mode 100644 docs/api/org/apache/jmeter/extractor/JoddExtractor.html create mode 100644 docs/api/org/apache/jmeter/extractor/RegexExtractor.html create mode 100644 docs/api/org/apache/jmeter/extractor/XPathExtractor.html create mode 100644 docs/api/org/apache/jmeter/extractor/gui/HtmlExtractorGui.html create mode 100644 docs/api/org/apache/jmeter/extractor/gui/RegexExtractorGui.html create mode 100644 docs/api/org/apache/jmeter/extractor/gui/XPathExtractorGui.html create mode 100644 docs/api/org/apache/jmeter/extractor/gui/package-frame.html create mode 100644 docs/api/org/apache/jmeter/extractor/gui/package-summary.html create mode 100644 docs/api/org/apache/jmeter/extractor/gui/package-tree.html create mode 100644 docs/api/org/apache/jmeter/extractor/package-frame.html create mode 100644 docs/api/org/apache/jmeter/extractor/package-summary.html create mode 100644 docs/api/org/apache/jmeter/extractor/package-tree.html create mode 100644 docs/api/org/apache/jmeter/functions/AbstractFunction.html create mode 100644 docs/api/org/apache/jmeter/functions/BeanShell.html create mode 100644 docs/api/org/apache/jmeter/functions/CSVRead.html create mode 100644 docs/api/org/apache/jmeter/functions/CharFunction.html create mode 100644 docs/api/org/apache/jmeter/functions/EscapeHtml.html create mode 100644 docs/api/org/apache/jmeter/functions/EscapeOroRegexpChars.html create mode 100644 docs/api/org/apache/jmeter/functions/EvalFunction.html create mode 100644 docs/api/org/apache/jmeter/functions/EvalVarFunction.html create mode 100644 docs/api/org/apache/jmeter/functions/FileRowColContainer.html create mode 100644 docs/api/org/apache/jmeter/functions/FileToString.html create mode 100644 docs/api/org/apache/jmeter/functions/FileWrapper.html create mode 100644 docs/api/org/apache/jmeter/functions/Function.html create mode 100644 docs/api/org/apache/jmeter/functions/IntSum.html create mode 100644 docs/api/org/apache/jmeter/functions/InvalidVariableException.html create mode 100644 docs/api/org/apache/jmeter/functions/IterationCounter.html create mode 100644 docs/api/org/apache/jmeter/functions/JavaScript.html create mode 100644 docs/api/org/apache/jmeter/functions/Jexl2Function.html create mode 100644 docs/api/org/apache/jmeter/functions/JexlFunction.html create mode 100644 docs/api/org/apache/jmeter/functions/LogFunction.html create mode 100644 docs/api/org/apache/jmeter/functions/LogFunction2.html create mode 100644 docs/api/org/apache/jmeter/functions/LongSum.html create mode 100644 docs/api/org/apache/jmeter/functions/MachineIP.html create mode 100644 docs/api/org/apache/jmeter/functions/MachineName.html create mode 100644 docs/api/org/apache/jmeter/functions/Property.html create mode 100644 docs/api/org/apache/jmeter/functions/Property2.html create mode 100644 docs/api/org/apache/jmeter/functions/Random.html create mode 100644 docs/api/org/apache/jmeter/functions/RandomString.html create mode 100644 docs/api/org/apache/jmeter/functions/RegexFunction.html create mode 100644 docs/api/org/apache/jmeter/functions/SamplerName.html create mode 100644 docs/api/org/apache/jmeter/functions/SetProperty.html create mode 100644 docs/api/org/apache/jmeter/functions/SplitFunction.html create mode 100644 docs/api/org/apache/jmeter/functions/StringFromFile.html create mode 100644 docs/api/org/apache/jmeter/functions/TestPlanName.html create mode 100644 docs/api/org/apache/jmeter/functions/ThreadNumber.html create mode 100644 docs/api/org/apache/jmeter/functions/TimeFunction.html create mode 100644 docs/api/org/apache/jmeter/functions/UnEscape.html create mode 100644 docs/api/org/apache/jmeter/functions/UnEscapeHtml.html create mode 100644 docs/api/org/apache/jmeter/functions/UrlDecode.html create mode 100644 docs/api/org/apache/jmeter/functions/UrlEncode.html create mode 100644 docs/api/org/apache/jmeter/functions/Uuid.html create mode 100644 docs/api/org/apache/jmeter/functions/Variable.html create mode 100644 docs/api/org/apache/jmeter/functions/XPath.html create mode 100644 docs/api/org/apache/jmeter/functions/XPathFileContainer.html create mode 100644 docs/api/org/apache/jmeter/functions/gui/FunctionHelper.html create mode 100644 docs/api/org/apache/jmeter/functions/gui/package-frame.html create mode 100644 docs/api/org/apache/jmeter/functions/gui/package-summary.html create mode 100644 docs/api/org/apache/jmeter/functions/gui/package-tree.html create mode 100644 docs/api/org/apache/jmeter/functions/package-frame.html create mode 100644 docs/api/org/apache/jmeter/functions/package-summary.html create mode 100644 docs/api/org/apache/jmeter/functions/package-tree.html create mode 100644 docs/api/org/apache/jmeter/functions/util/ArgumentDecoder.html create mode 100644 docs/api/org/apache/jmeter/functions/util/ArgumentEncoder.html create mode 100644 docs/api/org/apache/jmeter/functions/util/package-frame.html create mode 100644 docs/api/org/apache/jmeter/functions/util/package-summary.html create mode 100644 docs/api/org/apache/jmeter/functions/util/package-tree.html create mode 100644 docs/api/org/apache/jmeter/gui/AbstractJMeterGuiComponent.html create mode 100644 docs/api/org/apache/jmeter/gui/AbstractScopedJMeterGuiComponent.html create mode 100644 docs/api/org/apache/jmeter/gui/ClearGui.html create mode 100644 docs/api/org/apache/jmeter/gui/CommentPanel.html create mode 100644 docs/api/org/apache/jmeter/gui/GUIFactory.html create mode 100644 docs/api/org/apache/jmeter/gui/GuiPackage.html create mode 100644 docs/api/org/apache/jmeter/gui/JMeterFileFilter.html create mode 100644 docs/api/org/apache/jmeter/gui/JMeterGUIComponent.html create mode 100644 docs/api/org/apache/jmeter/gui/LoggerPanel.html create mode 100644 docs/api/org/apache/jmeter/gui/MainFrame.ErrorsAndFatalsCounterLogTarget.html create mode 100644 docs/api/org/apache/jmeter/gui/MainFrame.html create mode 100644 docs/api/org/apache/jmeter/gui/NamePanel.html create mode 100644 docs/api/org/apache/jmeter/gui/OnErrorPanel.html create mode 100644 docs/api/org/apache/jmeter/gui/SavePropertyDialog.html create mode 100644 docs/api/org/apache/jmeter/gui/Searchable.html create mode 100644 docs/api/org/apache/jmeter/gui/ServerPanel.html create mode 100644 docs/api/org/apache/jmeter/gui/Stoppable.html create mode 100644 docs/api/org/apache/jmeter/gui/UndoHistory.HistoryListener.html create mode 100644 docs/api/org/apache/jmeter/gui/UndoHistory.html create mode 100644 docs/api/org/apache/jmeter/gui/UndoHistoryItem.html create mode 100644 docs/api/org/apache/jmeter/gui/UnsharedComponent.html create mode 100644 docs/api/org/apache/jmeter/gui/action/AboutCommand.html create mode 100644 docs/api/org/apache/jmeter/gui/action/AbstractAction.html create mode 100644 docs/api/org/apache/jmeter/gui/action/ActionNames.html create mode 100644 docs/api/org/apache/jmeter/gui/action/ActionRouter.html create mode 100644 docs/api/org/apache/jmeter/gui/action/AddParent.html create mode 100644 docs/api/org/apache/jmeter/gui/action/AddToTree.html create mode 100644 docs/api/org/apache/jmeter/gui/action/Analyze.html create mode 100644 docs/api/org/apache/jmeter/gui/action/ChangeLanguage.html create mode 100644 docs/api/org/apache/jmeter/gui/action/ChangeParent.html create mode 100644 docs/api/org/apache/jmeter/gui/action/CheckDirty.html create mode 100644 docs/api/org/apache/jmeter/gui/action/Clear.html create mode 100644 docs/api/org/apache/jmeter/gui/action/Close.html create mode 100644 docs/api/org/apache/jmeter/gui/action/CollapseExpand.html create mode 100644 docs/api/org/apache/jmeter/gui/action/Command.html create mode 100644 docs/api/org/apache/jmeter/gui/action/Copy.html create mode 100644 docs/api/org/apache/jmeter/gui/action/CreateFunctionDialog.html create mode 100644 docs/api/org/apache/jmeter/gui/action/Cut.html create mode 100644 docs/api/org/apache/jmeter/gui/action/Duplicate.html create mode 100644 docs/api/org/apache/jmeter/gui/action/EditCommand.html create mode 100644 docs/api/org/apache/jmeter/gui/action/EnableComponent.html create mode 100644 docs/api/org/apache/jmeter/gui/action/ExitCommand.html create mode 100644 docs/api/org/apache/jmeter/gui/action/Help.html create mode 100644 docs/api/org/apache/jmeter/gui/action/KeyStrokes.html create mode 100644 docs/api/org/apache/jmeter/gui/action/Load.html create mode 100644 docs/api/org/apache/jmeter/gui/action/LoadDraggedFile.html create mode 100644 docs/api/org/apache/jmeter/gui/action/LoadRecentProject.html create mode 100644 docs/api/org/apache/jmeter/gui/action/LoggerPanelEnableDisable.html create mode 100644 docs/api/org/apache/jmeter/gui/action/LookAndFeelCommand.html create mode 100644 docs/api/org/apache/jmeter/gui/action/Move.html create mode 100644 docs/api/org/apache/jmeter/gui/action/Paste.html create mode 100644 docs/api/org/apache/jmeter/gui/action/RawTextSearcher.html create mode 100644 docs/api/org/apache/jmeter/gui/action/RegexpSearcher.html create mode 100644 docs/api/org/apache/jmeter/gui/action/RemoteStart.html create mode 100644 docs/api/org/apache/jmeter/gui/action/Remove.html create mode 100644 docs/api/org/apache/jmeter/gui/action/ResetSearchCommand.html create mode 100644 docs/api/org/apache/jmeter/gui/action/RevertProject.html create mode 100644 docs/api/org/apache/jmeter/gui/action/SSLManagerCommand.html create mode 100644 docs/api/org/apache/jmeter/gui/action/Save.html create mode 100644 docs/api/org/apache/jmeter/gui/action/SaveGraphics.html create mode 100644 docs/api/org/apache/jmeter/gui/action/SearchTreeCommand.html create mode 100644 docs/api/org/apache/jmeter/gui/action/SearchTreeDialog.html create mode 100644 docs/api/org/apache/jmeter/gui/action/Searcher.html create mode 100644 docs/api/org/apache/jmeter/gui/action/SelectTemplatesDialog.html create mode 100644 docs/api/org/apache/jmeter/gui/action/Start.html create mode 100644 docs/api/org/apache/jmeter/gui/action/StopStoppables.html create mode 100644 docs/api/org/apache/jmeter/gui/action/TemplatesCommand.html create mode 100644 docs/api/org/apache/jmeter/gui/action/ToolBar.html create mode 100644 docs/api/org/apache/jmeter/gui/action/UndoCommand.html create mode 100644 docs/api/org/apache/jmeter/gui/action/What.html create mode 100644 docs/api/org/apache/jmeter/gui/action/package-frame.html create mode 100644 docs/api/org/apache/jmeter/gui/action/package-summary.html create mode 100644 docs/api/org/apache/jmeter/gui/action/package-tree.html create mode 100644 docs/api/org/apache/jmeter/gui/action/template/Template.html create mode 100644 docs/api/org/apache/jmeter/gui/action/template/TemplateManager.html create mode 100644 docs/api/org/apache/jmeter/gui/action/template/package-frame.html create mode 100644 docs/api/org/apache/jmeter/gui/action/template/package-summary.html create mode 100644 docs/api/org/apache/jmeter/gui/action/template/package-tree.html create mode 100644 docs/api/org/apache/jmeter/gui/package-frame.html create mode 100644 docs/api/org/apache/jmeter/gui/package-summary.html create mode 100644 docs/api/org/apache/jmeter/gui/package-tree.html create mode 100644 docs/api/org/apache/jmeter/gui/plugin/MenuCreator.MENU_LOCATION.html create mode 100644 docs/api/org/apache/jmeter/gui/plugin/MenuCreator.html create mode 100644 docs/api/org/apache/jmeter/gui/plugin/package-frame.html create mode 100644 docs/api/org/apache/jmeter/gui/plugin/package-summary.html create mode 100644 docs/api/org/apache/jmeter/gui/plugin/package-tree.html create mode 100644 docs/api/org/apache/jmeter/gui/tree/JMeterCellRenderer.html create mode 100644 docs/api/org/apache/jmeter/gui/tree/JMeterTreeListener.html create mode 100644 docs/api/org/apache/jmeter/gui/tree/JMeterTreeModel.html create mode 100644 docs/api/org/apache/jmeter/gui/tree/JMeterTreeNode.html create mode 100644 docs/api/org/apache/jmeter/gui/tree/JMeterTreeTransferHandler.html create mode 100644 docs/api/org/apache/jmeter/gui/tree/NamedTreeNode.html create mode 100644 docs/api/org/apache/jmeter/gui/tree/package-frame.html create mode 100644 docs/api/org/apache/jmeter/gui/tree/package-summary.html create mode 100644 docs/api/org/apache/jmeter/gui/tree/package-tree.html create mode 100644 docs/api/org/apache/jmeter/gui/util/ButtonPanel.html create mode 100644 docs/api/org/apache/jmeter/gui/util/EscapeDialog.html create mode 100644 docs/api/org/apache/jmeter/gui/util/FileDialoger.html create mode 100644 docs/api/org/apache/jmeter/gui/util/FileListPanel.html create mode 100644 docs/api/org/apache/jmeter/gui/util/FilePanel.html create mode 100644 docs/api/org/apache/jmeter/gui/util/FilePanelEntry.html create mode 100644 docs/api/org/apache/jmeter/gui/util/FocusRequester.html create mode 100644 docs/api/org/apache/jmeter/gui/util/HeaderAsPropertyRenderer.html create mode 100644 docs/api/org/apache/jmeter/gui/util/HorizontalPanel.html create mode 100644 docs/api/org/apache/jmeter/gui/util/IconToolbarBean.html create mode 100644 docs/api/org/apache/jmeter/gui/util/JDateField.html create mode 100644 docs/api/org/apache/jmeter/gui/util/JLabeledRadioI18N.html create mode 100644 docs/api/org/apache/jmeter/gui/util/JMeterColor.html create mode 100644 docs/api/org/apache/jmeter/gui/util/JMeterMenuBar.html create mode 100644 docs/api/org/apache/jmeter/gui/util/JMeterToolBar.html create mode 100644 docs/api/org/apache/jmeter/gui/util/JSyntaxTextArea.html create mode 100644 docs/api/org/apache/jmeter/gui/util/JTextScrollPane.html create mode 100644 docs/api/org/apache/jmeter/gui/util/MenuFactory.html create mode 100644 docs/api/org/apache/jmeter/gui/util/MenuInfo.html create mode 100644 docs/api/org/apache/jmeter/gui/util/NumberFieldErrorListener.html create mode 100644 docs/api/org/apache/jmeter/gui/util/PowerTableModel.html create mode 100644 docs/api/org/apache/jmeter/gui/util/TextAreaCellRenderer.html create mode 100644 docs/api/org/apache/jmeter/gui/util/TextAreaTableCellEditor.EditorDelegate.html create mode 100644 docs/api/org/apache/jmeter/gui/util/TextAreaTableCellEditor.html create mode 100644 docs/api/org/apache/jmeter/gui/util/TextBoxDialoger.TextBoxDoubleClick.html create mode 100644 docs/api/org/apache/jmeter/gui/util/TextBoxDialoger.TextBoxDoubleClickPressed.html create mode 100644 docs/api/org/apache/jmeter/gui/util/TextBoxDialoger.html create mode 100644 docs/api/org/apache/jmeter/gui/util/TristateCheckBox.html create mode 100644 docs/api/org/apache/jmeter/gui/util/TristateState.html create mode 100644 docs/api/org/apache/jmeter/gui/util/VerticalPanel.html create mode 100644 docs/api/org/apache/jmeter/gui/util/package-frame.html create mode 100644 docs/api/org/apache/jmeter/gui/util/package-summary.html create mode 100644 docs/api/org/apache/jmeter/gui/util/package-tree.html create mode 100644 docs/api/org/apache/jmeter/modifiers/BSFPreProcessor.html create mode 100644 docs/api/org/apache/jmeter/modifiers/BSFPreProcessorBeanInfo.html create mode 100644 docs/api/org/apache/jmeter/modifiers/BeanShellPreProcessor.html create mode 100644 docs/api/org/apache/jmeter/modifiers/BeanShellPreProcessorBeanInfo.html create mode 100644 docs/api/org/apache/jmeter/modifiers/CounterConfig.html create mode 100644 docs/api/org/apache/jmeter/modifiers/JSR223PreProcessor.html create mode 100644 docs/api/org/apache/jmeter/modifiers/JSR223PreProcessorBeanInfo.html create mode 100644 docs/api/org/apache/jmeter/modifiers/UserParameters.html create mode 100644 docs/api/org/apache/jmeter/modifiers/gui/CounterConfigGui.html create mode 100644 docs/api/org/apache/jmeter/modifiers/gui/UserParametersGui.html create mode 100644 docs/api/org/apache/jmeter/modifiers/gui/package-frame.html create mode 100644 docs/api/org/apache/jmeter/modifiers/gui/package-summary.html create mode 100644 docs/api/org/apache/jmeter/modifiers/gui/package-tree.html create mode 100644 docs/api/org/apache/jmeter/modifiers/package-frame.html create mode 100644 docs/api/org/apache/jmeter/modifiers/package-summary.html create mode 100644 docs/api/org/apache/jmeter/modifiers/package-tree.html create mode 100644 docs/api/org/apache/jmeter/monitor/model/Connector.html create mode 100644 docs/api/org/apache/jmeter/monitor/model/ConnectorImpl.html create mode 100644 docs/api/org/apache/jmeter/monitor/model/Jvm.html create mode 100644 docs/api/org/apache/jmeter/monitor/model/JvmImpl.html create mode 100644 docs/api/org/apache/jmeter/monitor/model/Memory.html create mode 100644 docs/api/org/apache/jmeter/monitor/model/MemoryImpl.html create mode 100644 docs/api/org/apache/jmeter/monitor/model/ObjectFactory.MonitorParser.html create mode 100644 docs/api/org/apache/jmeter/monitor/model/ObjectFactory.html create mode 100644 docs/api/org/apache/jmeter/monitor/model/RequestInfo.html create mode 100644 docs/api/org/apache/jmeter/monitor/model/RequestInfoImpl.html create mode 100644 docs/api/org/apache/jmeter/monitor/model/Status.html create mode 100644 docs/api/org/apache/jmeter/monitor/model/StatusImpl.html create mode 100644 docs/api/org/apache/jmeter/monitor/model/ThreadInfo.html create mode 100644 docs/api/org/apache/jmeter/monitor/model/ThreadInfoImpl.html create mode 100644 docs/api/org/apache/jmeter/monitor/model/Worker.html create mode 100644 docs/api/org/apache/jmeter/monitor/model/WorkerImpl.html create mode 100644 docs/api/org/apache/jmeter/monitor/model/Workers.html create mode 100644 docs/api/org/apache/jmeter/monitor/model/WorkersImpl.html create mode 100644 docs/api/org/apache/jmeter/monitor/model/package-frame.html create mode 100644 docs/api/org/apache/jmeter/monitor/model/package-summary.html create mode 100644 docs/api/org/apache/jmeter/monitor/model/package-tree.html create mode 100644 docs/api/org/apache/jmeter/monitor/parser/Constants.html create mode 100644 docs/api/org/apache/jmeter/monitor/parser/MonitorHandler.html create mode 100644 docs/api/org/apache/jmeter/monitor/parser/Parser.html create mode 100644 docs/api/org/apache/jmeter/monitor/parser/ParserImpl.html create mode 100644 docs/api/org/apache/jmeter/monitor/parser/package-frame.html create mode 100644 docs/api/org/apache/jmeter/monitor/parser/package-summary.html create mode 100644 docs/api/org/apache/jmeter/monitor/parser/package-tree.html create mode 100644 docs/api/org/apache/jmeter/monitor/util/MemoryBenchmark.html create mode 100644 docs/api/org/apache/jmeter/monitor/util/Stats.html create mode 100644 docs/api/org/apache/jmeter/monitor/util/package-frame.html create mode 100644 docs/api/org/apache/jmeter/monitor/util/package-summary.html create mode 100644 docs/api/org/apache/jmeter/monitor/util/package-tree.html create mode 100644 docs/api/org/apache/jmeter/package-frame.html create mode 100644 docs/api/org/apache/jmeter/package-summary.html create mode 100644 docs/api/org/apache/jmeter/package-tree.html create mode 100644 docs/api/org/apache/jmeter/plugin/JMeterPlugin.html create mode 100644 docs/api/org/apache/jmeter/plugin/PluginManager.html create mode 100644 docs/api/org/apache/jmeter/plugin/package-frame.html create mode 100644 docs/api/org/apache/jmeter/plugin/package-summary.html create mode 100644 docs/api/org/apache/jmeter/plugin/package-tree.html create mode 100644 docs/api/org/apache/jmeter/processor/PostProcessor.html create mode 100644 docs/api/org/apache/jmeter/processor/PreProcessor.html create mode 100644 docs/api/org/apache/jmeter/processor/gui/AbstractPostProcessorGui.html create mode 100644 docs/api/org/apache/jmeter/processor/gui/AbstractPreProcessorGui.html create mode 100644 docs/api/org/apache/jmeter/processor/gui/package-frame.html create mode 100644 docs/api/org/apache/jmeter/processor/gui/package-summary.html create mode 100644 docs/api/org/apache/jmeter/processor/gui/package-tree.html create mode 100644 docs/api/org/apache/jmeter/processor/package-frame.html create mode 100644 docs/api/org/apache/jmeter/processor/package-summary.html create mode 100644 docs/api/org/apache/jmeter/processor/package-tree.html create mode 100644 docs/api/org/apache/jmeter/protocol/ftp/config/gui/FtpConfigGui.html create mode 100644 docs/api/org/apache/jmeter/protocol/ftp/config/gui/package-frame.html create mode 100644 docs/api/org/apache/jmeter/protocol/ftp/config/gui/package-summary.html create mode 100644 docs/api/org/apache/jmeter/protocol/ftp/config/gui/package-tree.html create mode 100644 docs/api/org/apache/jmeter/protocol/ftp/control/gui/FtpTestSamplerGui.html create mode 100644 docs/api/org/apache/jmeter/protocol/ftp/control/gui/package-frame.html create mode 100644 docs/api/org/apache/jmeter/protocol/ftp/control/gui/package-summary.html create mode 100644 docs/api/org/apache/jmeter/protocol/ftp/control/gui/package-tree.html create mode 100644 docs/api/org/apache/jmeter/protocol/ftp/sampler/FTPSampler.html create mode 100644 docs/api/org/apache/jmeter/protocol/ftp/sampler/package-frame.html create mode 100644 docs/api/org/apache/jmeter/protocol/ftp/sampler/package-summary.html create mode 100644 docs/api/org/apache/jmeter/protocol/ftp/sampler/package-tree.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/config/MultipartUrlConfig.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/config/gui/HttpDefaultsGui.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/config/gui/MultipartUrlConfigGui.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/config/gui/UrlConfigGui.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/config/gui/package-frame.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/config/gui/package-summary.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/config/gui/package-tree.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/config/package-frame.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/config/package-summary.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/config/package-tree.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/control/AuthManager.Mechanism.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/control/AuthManager.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/control/Authorization.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/control/CacheManager.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/control/Cookie.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/control/CookieHandler.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/control/CookieManager.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/control/DNSCacheManager.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/control/HC3CookieHandler.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/control/HC4CookieHandler.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/control/Header.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/control/HeaderManager.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/control/HttpMirrorControl.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/control/HttpMirrorServer.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/control/HttpMirrorThread.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/control/KerberosManager.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/control/RecordingController.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/control/gui/AjpSamplerGui.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/control/gui/HttpMirrorControlGui.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/control/gui/HttpTestSampleGui.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/control/gui/RecordController.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/control/gui/SoapSamplerGui.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/control/gui/WebServiceSamplerGui.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/control/gui/package-frame.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/control/gui/package-summary.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/control/gui/package-tree.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/control/package-frame.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/control/package-summary.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/control/package-tree.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/gui/AuthPanel.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/gui/CacheManagerGui.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/gui/CookiePanel.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/gui/DNSCachePanel.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/gui/HTTPArgumentsPanel.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/gui/HTTPFileArgsPanel.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/gui/HeaderPanel.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/gui/package-frame.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/gui/package-summary.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/gui/package-tree.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/modifier/AnchorModifier.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/modifier/ParamMask.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/modifier/ParamModifier.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/modifier/RegExUserParameters.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/modifier/URLRewritingModifier.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/modifier/UserParameterXMLContentHandler.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/modifier/UserParameterXMLErrorHandler.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/modifier/UserParameterXMLParser.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/modifier/UserSequence.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/modifier/gui/AnchorModifierGui.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/modifier/gui/ParamModifierGui.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/modifier/gui/RegExUserParametersGui.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/modifier/gui/URLRewritingModifierGui.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/modifier/gui/package-frame.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/modifier/gui/package-summary.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/modifier/gui/package-tree.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/modifier/package-frame.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/modifier/package-summary.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/modifier/package-tree.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/parser/HTMLParseError.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/parser/HTMLParseException.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/parser/HTMLParser.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/parser/HtmlParsingUtils.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/parser/JsoupBasedHtmlParser.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/parser/LagartoBasedHtmlParser.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/parser/URLCollection.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/parser/URLString.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/parser/package-frame.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/parser/package-summary.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/parser/package-tree.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/proxy/AbstractSamplerCreator.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/proxy/Daemon.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/proxy/DefaultSamplerCreator.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/proxy/FormCharSetFinder.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/proxy/HttpReplyHdr.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/proxy/HttpRequestHdr.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/proxy/Proxy.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/proxy/ProxyControl.KeystoreMode.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/proxy/ProxyControl.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/proxy/SamplerCreator.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/proxy/SamplerCreatorFactory.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/proxy/gui/ProxyControlGui.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/proxy/gui/package-frame.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/proxy/gui/package-summary.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/proxy/gui/package-tree.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/proxy/package-frame.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/proxy/package-summary.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/proxy/package-tree.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/sampler/AccessLogSampler.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/sampler/AccessLogSamplerBeanInfo.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/sampler/AjpSampler.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/sampler/HTTPAbstractImpl.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/sampler/HTTPFileImpl.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/sampler/HTTPHC3Impl.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.HttpDelete.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/sampler/HTTPHCAbstractImpl.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/sampler/HTTPJavaImpl.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/sampler/HTTPSampleResult.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/sampler/HTTPSampler.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/sampler/HTTPSampler2.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/sampler/HTTPSamplerBase.SourceType.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/sampler/HTTPSamplerBase.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/sampler/HTTPSamplerBaseBeanInfo.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/sampler/HTTPSamplerBaseConverter.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/sampler/HTTPSamplerFactory.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/sampler/HTTPSamplerProxy.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/sampler/HttpClientDefaultParameters.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/sampler/HttpWebdav.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/sampler/MeasuringConnectionManager.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/sampler/PostWriter.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/sampler/PutWriter.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/sampler/SoapSampler.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/sampler/WebServiceSampler.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/sampler/package-frame.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/sampler/package-summary.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/sampler/package-tree.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/util/Base64Encoder.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/util/ConversionUtils.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/util/DOMPool.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/util/EncoderCache.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/util/HC4TrustAllSSLSocketFactory.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/util/HTTPArgument.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/util/HTTPConstants.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/util/HTTPConstantsInterface.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/util/HTTPFileArg.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/util/HTTPFileArgs.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/util/HTTPResultConverter.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/util/LoopbackHTTPSocket.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/util/LoopbackHttpClientSocketFactory.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/util/SlowHC4SSLSocketFactory.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/util/SlowHC4SocketFactory.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/util/SlowHttpClientSocketFactory.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/util/WSDLException.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/util/WSDLHelper.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/util/accesslog/Filter.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/util/accesslog/Generator.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/util/accesslog/LogFilter.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/util/accesslog/LogParser.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/util/accesslog/NVPair.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/util/accesslog/OrderPreservingLogParser.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/util/accesslog/SessionFilter.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/util/accesslog/SharedTCLogParser.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/util/accesslog/StandardGenerator.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/util/accesslog/TCLogParser.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/util/accesslog/package-frame.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/util/accesslog/package-summary.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/util/accesslog/package-tree.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/util/package-frame.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/util/package-summary.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/util/package-tree.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/visualizers/RequestViewHTTP.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/visualizers/package-frame.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/visualizers/package-summary.html create mode 100644 docs/api/org/apache/jmeter/protocol/http/visualizers/package-tree.html create mode 100644 docs/api/org/apache/jmeter/protocol/java/config/JavaConfig.html create mode 100644 docs/api/org/apache/jmeter/protocol/java/config/gui/JavaConfigGui.html create mode 100644 docs/api/org/apache/jmeter/protocol/java/config/gui/package-frame.html create mode 100644 docs/api/org/apache/jmeter/protocol/java/config/gui/package-summary.html create mode 100644 docs/api/org/apache/jmeter/protocol/java/config/gui/package-tree.html create mode 100644 docs/api/org/apache/jmeter/protocol/java/config/package-frame.html create mode 100644 docs/api/org/apache/jmeter/protocol/java/config/package-summary.html create mode 100644 docs/api/org/apache/jmeter/protocol/java/config/package-tree.html create mode 100644 docs/api/org/apache/jmeter/protocol/java/control/gui/BeanShellSamplerGui.html create mode 100644 docs/api/org/apache/jmeter/protocol/java/control/gui/JUnitTestSamplerGui.html create mode 100644 docs/api/org/apache/jmeter/protocol/java/control/gui/JavaTestSamplerGui.html create mode 100644 docs/api/org/apache/jmeter/protocol/java/control/gui/package-frame.html create mode 100644 docs/api/org/apache/jmeter/protocol/java/control/gui/package-summary.html create mode 100644 docs/api/org/apache/jmeter/protocol/java/control/gui/package-tree.html create mode 100644 docs/api/org/apache/jmeter/protocol/java/sampler/AbstractJavaSamplerClient.html create mode 100644 docs/api/org/apache/jmeter/protocol/java/sampler/BSFSampler.html create mode 100644 docs/api/org/apache/jmeter/protocol/java/sampler/BSFSamplerBeanInfo.html create mode 100644 docs/api/org/apache/jmeter/protocol/java/sampler/BeanShellSampler.html create mode 100644 docs/api/org/apache/jmeter/protocol/java/sampler/JSR223Sampler.html create mode 100644 docs/api/org/apache/jmeter/protocol/java/sampler/JSR223SamplerBeanInfo.html create mode 100644 docs/api/org/apache/jmeter/protocol/java/sampler/JUnitSampler.html create mode 100644 docs/api/org/apache/jmeter/protocol/java/sampler/JavaSampler.html create mode 100644 docs/api/org/apache/jmeter/protocol/java/sampler/JavaSamplerClient.html create mode 100644 docs/api/org/apache/jmeter/protocol/java/sampler/JavaSamplerContext.html create mode 100644 docs/api/org/apache/jmeter/protocol/java/sampler/package-frame.html create mode 100644 docs/api/org/apache/jmeter/protocol/java/sampler/package-summary.html create mode 100644 docs/api/org/apache/jmeter/protocol/java/sampler/package-tree.html create mode 100644 docs/api/org/apache/jmeter/protocol/java/test/JavaTest.html create mode 100644 docs/api/org/apache/jmeter/protocol/java/test/SleepTest.html create mode 100644 docs/api/org/apache/jmeter/protocol/java/test/package-frame.html create mode 100644 docs/api/org/apache/jmeter/protocol/java/test/package-summary.html create mode 100644 docs/api/org/apache/jmeter/protocol/java/test/package-tree.html create mode 100644 docs/api/org/apache/jmeter/protocol/jdbc/AbstractJDBCTestElement.html create mode 100644 docs/api/org/apache/jmeter/protocol/jdbc/JDBCTestElementBeanInfoSupport.html create mode 100644 docs/api/org/apache/jmeter/protocol/jdbc/config/DataSourceElement.html create mode 100644 docs/api/org/apache/jmeter/protocol/jdbc/config/DataSourceElementBeanInfo.html create mode 100644 docs/api/org/apache/jmeter/protocol/jdbc/config/package-frame.html create mode 100644 docs/api/org/apache/jmeter/protocol/jdbc/config/package-summary.html create mode 100644 docs/api/org/apache/jmeter/protocol/jdbc/config/package-tree.html create mode 100644 docs/api/org/apache/jmeter/protocol/jdbc/package-frame.html create mode 100644 docs/api/org/apache/jmeter/protocol/jdbc/package-summary.html create mode 100644 docs/api/org/apache/jmeter/protocol/jdbc/package-tree.html create mode 100644 docs/api/org/apache/jmeter/protocol/jdbc/processor/AbstractJDBCProcessor.html create mode 100644 docs/api/org/apache/jmeter/protocol/jdbc/processor/JDBCPostProcessor.html create mode 100644 docs/api/org/apache/jmeter/protocol/jdbc/processor/JDBCPostProcessorBeanInfo.html create mode 100644 docs/api/org/apache/jmeter/protocol/jdbc/processor/JDBCPreProcessor.html create mode 100644 docs/api/org/apache/jmeter/protocol/jdbc/processor/JDBCPreProcessorBeanInfo.html create mode 100644 docs/api/org/apache/jmeter/protocol/jdbc/processor/package-frame.html create mode 100644 docs/api/org/apache/jmeter/protocol/jdbc/processor/package-summary.html create mode 100644 docs/api/org/apache/jmeter/protocol/jdbc/processor/package-tree.html create mode 100644 docs/api/org/apache/jmeter/protocol/jdbc/sampler/JDBCSampler.html create mode 100644 docs/api/org/apache/jmeter/protocol/jdbc/sampler/JDBCSamplerBeanInfo.html create mode 100644 docs/api/org/apache/jmeter/protocol/jdbc/sampler/package-frame.html create mode 100644 docs/api/org/apache/jmeter/protocol/jdbc/sampler/package-summary.html create mode 100644 docs/api/org/apache/jmeter/protocol/jdbc/sampler/package-tree.html create mode 100644 docs/api/org/apache/jmeter/protocol/jms/Utils.html create mode 100644 docs/api/org/apache/jmeter/protocol/jms/client/ClientPool.html create mode 100644 docs/api/org/apache/jmeter/protocol/jms/client/InitialContextFactory.html create mode 100644 docs/api/org/apache/jmeter/protocol/jms/client/Publisher.html create mode 100644 docs/api/org/apache/jmeter/protocol/jms/client/ReceiveSubscriber.html create mode 100644 docs/api/org/apache/jmeter/protocol/jms/client/package-frame.html create mode 100644 docs/api/org/apache/jmeter/protocol/jms/client/package-summary.html create mode 100644 docs/api/org/apache/jmeter/protocol/jms/client/package-tree.html create mode 100644 docs/api/org/apache/jmeter/protocol/jms/control/gui/JMSPropertiesPanel.html create mode 100644 docs/api/org/apache/jmeter/protocol/jms/control/gui/JMSPublisherGui.html create mode 100644 docs/api/org/apache/jmeter/protocol/jms/control/gui/JMSSamplerGui.html create mode 100644 docs/api/org/apache/jmeter/protocol/jms/control/gui/JMSSubscriberGui.html create mode 100644 docs/api/org/apache/jmeter/protocol/jms/control/gui/package-frame.html create mode 100644 docs/api/org/apache/jmeter/protocol/jms/control/gui/package-summary.html create mode 100644 docs/api/org/apache/jmeter/protocol/jms/control/gui/package-tree.html create mode 100644 docs/api/org/apache/jmeter/protocol/jms/package-frame.html create mode 100644 docs/api/org/apache/jmeter/protocol/jms/package-summary.html create mode 100644 docs/api/org/apache/jmeter/protocol/jms/package-tree.html create mode 100644 docs/api/org/apache/jmeter/protocol/jms/sampler/BaseJMSSampler.html create mode 100644 docs/api/org/apache/jmeter/protocol/jms/sampler/FixedQueueExecutor.html create mode 100644 docs/api/org/apache/jmeter/protocol/jms/sampler/JMSProperties.html create mode 100644 docs/api/org/apache/jmeter/protocol/jms/sampler/JMSProperty.html create mode 100644 docs/api/org/apache/jmeter/protocol/jms/sampler/JMSSampler.html create mode 100644 docs/api/org/apache/jmeter/protocol/jms/sampler/MessageAdmin.html create mode 100644 docs/api/org/apache/jmeter/protocol/jms/sampler/PublisherSampler.html create mode 100644 docs/api/org/apache/jmeter/protocol/jms/sampler/QueueExecutor.html create mode 100644 docs/api/org/apache/jmeter/protocol/jms/sampler/Receiver.html create mode 100644 docs/api/org/apache/jmeter/protocol/jms/sampler/SubscriberSampler.html create mode 100644 docs/api/org/apache/jmeter/protocol/jms/sampler/TemporaryQueueExecutor.html create mode 100644 docs/api/org/apache/jmeter/protocol/jms/sampler/package-frame.html create mode 100644 docs/api/org/apache/jmeter/protocol/jms/sampler/package-summary.html create mode 100644 docs/api/org/apache/jmeter/protocol/jms/sampler/package-tree.html create mode 100644 docs/api/org/apache/jmeter/protocol/ldap/config/gui/LDAPArgument.html create mode 100644 docs/api/org/apache/jmeter/protocol/ldap/config/gui/LDAPArguments.html create mode 100644 docs/api/org/apache/jmeter/protocol/ldap/config/gui/LDAPArgumentsPanel.html create mode 100644 docs/api/org/apache/jmeter/protocol/ldap/config/gui/LdapConfigGui.html create mode 100644 docs/api/org/apache/jmeter/protocol/ldap/config/gui/LdapExtConfigGui.html create mode 100644 docs/api/org/apache/jmeter/protocol/ldap/config/gui/package-frame.html create mode 100644 docs/api/org/apache/jmeter/protocol/ldap/config/gui/package-summary.html create mode 100644 docs/api/org/apache/jmeter/protocol/ldap/config/gui/package-tree.html create mode 100644 docs/api/org/apache/jmeter/protocol/ldap/control/gui/LdapExtTestSamplerGui.html create mode 100644 docs/api/org/apache/jmeter/protocol/ldap/control/gui/LdapTestSamplerGui.html create mode 100644 docs/api/org/apache/jmeter/protocol/ldap/control/gui/package-frame.html create mode 100644 docs/api/org/apache/jmeter/protocol/ldap/control/gui/package-summary.html create mode 100644 docs/api/org/apache/jmeter/protocol/ldap/control/gui/package-tree.html create mode 100644 docs/api/org/apache/jmeter/protocol/ldap/sampler/LDAPExtSampler.html create mode 100644 docs/api/org/apache/jmeter/protocol/ldap/sampler/LDAPSampler.html create mode 100644 docs/api/org/apache/jmeter/protocol/ldap/sampler/LdapClient.html create mode 100644 docs/api/org/apache/jmeter/protocol/ldap/sampler/LdapExtClient.html create mode 100644 docs/api/org/apache/jmeter/protocol/ldap/sampler/package-frame.html create mode 100644 docs/api/org/apache/jmeter/protocol/ldap/sampler/package-summary.html create mode 100644 docs/api/org/apache/jmeter/protocol/ldap/sampler/package-tree.html create mode 100644 docs/api/org/apache/jmeter/protocol/mail/sampler/MailFileFolder.html create mode 100644 docs/api/org/apache/jmeter/protocol/mail/sampler/MailFileMessage.html create mode 100644 docs/api/org/apache/jmeter/protocol/mail/sampler/MailFileStore.html create mode 100644 docs/api/org/apache/jmeter/protocol/mail/sampler/MailReaderSampler.html create mode 100644 docs/api/org/apache/jmeter/protocol/mail/sampler/gui/MailReaderSamplerGui.html create mode 100644 docs/api/org/apache/jmeter/protocol/mail/sampler/gui/package-frame.html create mode 100644 docs/api/org/apache/jmeter/protocol/mail/sampler/gui/package-summary.html create mode 100644 docs/api/org/apache/jmeter/protocol/mail/sampler/gui/package-tree.html create mode 100644 docs/api/org/apache/jmeter/protocol/mail/sampler/package-frame.html create mode 100644 docs/api/org/apache/jmeter/protocol/mail/sampler/package-summary.html create mode 100644 docs/api/org/apache/jmeter/protocol/mail/sampler/package-tree.html create mode 100644 docs/api/org/apache/jmeter/protocol/mongodb/config/MongoDBHolder.html create mode 100644 docs/api/org/apache/jmeter/protocol/mongodb/config/MongoSourceElement.html create mode 100644 docs/api/org/apache/jmeter/protocol/mongodb/config/MongoSourceElementBeanInfo.html create mode 100644 docs/api/org/apache/jmeter/protocol/mongodb/config/package-frame.html create mode 100644 docs/api/org/apache/jmeter/protocol/mongodb/config/package-summary.html create mode 100644 docs/api/org/apache/jmeter/protocol/mongodb/config/package-tree.html create mode 100644 docs/api/org/apache/jmeter/protocol/mongodb/mongo/EvalResultHandler.html create mode 100644 docs/api/org/apache/jmeter/protocol/mongodb/mongo/MongoDB.html create mode 100644 docs/api/org/apache/jmeter/protocol/mongodb/mongo/MongoUtils.html create mode 100644 docs/api/org/apache/jmeter/protocol/mongodb/mongo/package-frame.html create mode 100644 docs/api/org/apache/jmeter/protocol/mongodb/mongo/package-summary.html create mode 100644 docs/api/org/apache/jmeter/protocol/mongodb/mongo/package-tree.html create mode 100644 docs/api/org/apache/jmeter/protocol/mongodb/sampler/MongoScriptRunner.html create mode 100644 docs/api/org/apache/jmeter/protocol/mongodb/sampler/MongoScriptSampler.html create mode 100644 docs/api/org/apache/jmeter/protocol/mongodb/sampler/MongoScriptSamplerBeanInfo.html create mode 100644 docs/api/org/apache/jmeter/protocol/mongodb/sampler/package-frame.html create mode 100644 docs/api/org/apache/jmeter/protocol/mongodb/sampler/package-summary.html create mode 100644 docs/api/org/apache/jmeter/protocol/mongodb/sampler/package-tree.html create mode 100644 docs/api/org/apache/jmeter/protocol/smtp/sampler/SmtpSampler.html create mode 100644 docs/api/org/apache/jmeter/protocol/smtp/sampler/gui/SecuritySettingsPanel.html create mode 100644 docs/api/org/apache/jmeter/protocol/smtp/sampler/gui/SmtpPanel.html create mode 100644 docs/api/org/apache/jmeter/protocol/smtp/sampler/gui/SmtpSamplerGui.html create mode 100644 docs/api/org/apache/jmeter/protocol/smtp/sampler/gui/package-frame.html create mode 100644 docs/api/org/apache/jmeter/protocol/smtp/sampler/gui/package-summary.html create mode 100644 docs/api/org/apache/jmeter/protocol/smtp/sampler/gui/package-tree.html create mode 100644 docs/api/org/apache/jmeter/protocol/smtp/sampler/package-frame.html create mode 100644 docs/api/org/apache/jmeter/protocol/smtp/sampler/package-summary.html create mode 100644 docs/api/org/apache/jmeter/protocol/smtp/sampler/package-tree.html create mode 100644 docs/api/org/apache/jmeter/protocol/smtp/sampler/protocol/LocalTrustStoreSSLSocketFactory.html create mode 100644 docs/api/org/apache/jmeter/protocol/smtp/sampler/protocol/SendMailCommand.html create mode 100644 docs/api/org/apache/jmeter/protocol/smtp/sampler/protocol/SynchronousTransportListener.html create mode 100644 docs/api/org/apache/jmeter/protocol/smtp/sampler/protocol/TrustAllSSLSocketFactory.html create mode 100644 docs/api/org/apache/jmeter/protocol/smtp/sampler/protocol/package-frame.html create mode 100644 docs/api/org/apache/jmeter/protocol/smtp/sampler/protocol/package-summary.html create mode 100644 docs/api/org/apache/jmeter/protocol/smtp/sampler/protocol/package-tree.html create mode 100644 docs/api/org/apache/jmeter/protocol/smtp/sampler/tools/CounterOutputStream.html create mode 100644 docs/api/org/apache/jmeter/protocol/smtp/sampler/tools/package-frame.html create mode 100644 docs/api/org/apache/jmeter/protocol/smtp/sampler/tools/package-summary.html create mode 100644 docs/api/org/apache/jmeter/protocol/smtp/sampler/tools/package-tree.html create mode 100644 docs/api/org/apache/jmeter/protocol/system/NativeCommand.html create mode 100644 docs/api/org/apache/jmeter/protocol/system/SystemSampler.html create mode 100644 docs/api/org/apache/jmeter/protocol/system/gui/SystemSamplerGui.html create mode 100644 docs/api/org/apache/jmeter/protocol/system/gui/package-frame.html create mode 100644 docs/api/org/apache/jmeter/protocol/system/gui/package-summary.html create mode 100644 docs/api/org/apache/jmeter/protocol/system/gui/package-tree.html create mode 100644 docs/api/org/apache/jmeter/protocol/system/package-frame.html create mode 100644 docs/api/org/apache/jmeter/protocol/system/package-summary.html create mode 100644 docs/api/org/apache/jmeter/protocol/system/package-tree.html create mode 100644 docs/api/org/apache/jmeter/protocol/tcp/config/gui/TCPConfigGui.html create mode 100644 docs/api/org/apache/jmeter/protocol/tcp/config/gui/package-frame.html create mode 100644 docs/api/org/apache/jmeter/protocol/tcp/config/gui/package-summary.html create mode 100644 docs/api/org/apache/jmeter/protocol/tcp/config/gui/package-tree.html create mode 100644 docs/api/org/apache/jmeter/protocol/tcp/control/gui/TCPSamplerGui.html create mode 100644 docs/api/org/apache/jmeter/protocol/tcp/control/gui/package-frame.html create mode 100644 docs/api/org/apache/jmeter/protocol/tcp/control/gui/package-summary.html create mode 100644 docs/api/org/apache/jmeter/protocol/tcp/control/gui/package-tree.html create mode 100644 docs/api/org/apache/jmeter/protocol/tcp/sampler/AbstractTCPClient.html create mode 100644 docs/api/org/apache/jmeter/protocol/tcp/sampler/BinaryTCPClientImpl.html create mode 100644 docs/api/org/apache/jmeter/protocol/tcp/sampler/LengthPrefixedBinaryTCPClientImpl.html create mode 100644 docs/api/org/apache/jmeter/protocol/tcp/sampler/ReadException.html create mode 100644 docs/api/org/apache/jmeter/protocol/tcp/sampler/TCPClient.html create mode 100644 docs/api/org/apache/jmeter/protocol/tcp/sampler/TCPClientDecorator.html create mode 100644 docs/api/org/apache/jmeter/protocol/tcp/sampler/TCPClientImpl.html create mode 100644 docs/api/org/apache/jmeter/protocol/tcp/sampler/TCPSampler.html create mode 100644 docs/api/org/apache/jmeter/protocol/tcp/sampler/package-frame.html create mode 100644 docs/api/org/apache/jmeter/protocol/tcp/sampler/package-summary.html create mode 100644 docs/api/org/apache/jmeter/protocol/tcp/sampler/package-tree.html create mode 100644 docs/api/org/apache/jmeter/reporters/AbstractListenerElement.html create mode 100644 docs/api/org/apache/jmeter/reporters/FileReporter.html create mode 100644 docs/api/org/apache/jmeter/reporters/MailerModel.MailAuthType.html create mode 100644 docs/api/org/apache/jmeter/reporters/MailerModel.html create mode 100644 docs/api/org/apache/jmeter/reporters/MailerResultCollector.html create mode 100644 docs/api/org/apache/jmeter/reporters/ResultAction.html create mode 100644 docs/api/org/apache/jmeter/reporters/ResultCollector.html create mode 100644 docs/api/org/apache/jmeter/reporters/ResultCollectorHelper.html create mode 100644 docs/api/org/apache/jmeter/reporters/ResultSaver.html create mode 100644 docs/api/org/apache/jmeter/reporters/Summariser.html create mode 100644 docs/api/org/apache/jmeter/reporters/gui/ResultActionGui.html create mode 100644 docs/api/org/apache/jmeter/reporters/gui/ResultSaverGui.html create mode 100644 docs/api/org/apache/jmeter/reporters/gui/SummariserGui.html create mode 100644 docs/api/org/apache/jmeter/reporters/gui/package-frame.html create mode 100644 docs/api/org/apache/jmeter/reporters/gui/package-summary.html create mode 100644 docs/api/org/apache/jmeter/reporters/gui/package-tree.html create mode 100644 docs/api/org/apache/jmeter/reporters/package-frame.html create mode 100644 docs/api/org/apache/jmeter/reporters/package-summary.html create mode 100644 docs/api/org/apache/jmeter/reporters/package-tree.html create mode 100644 docs/api/org/apache/jmeter/sampler/DebugSampler.html create mode 100644 docs/api/org/apache/jmeter/sampler/DebugSamplerBeanInfo.html create mode 100644 docs/api/org/apache/jmeter/sampler/TestAction.html create mode 100644 docs/api/org/apache/jmeter/sampler/gui/TestActionGui.html create mode 100644 docs/api/org/apache/jmeter/sampler/gui/package-frame.html create mode 100644 docs/api/org/apache/jmeter/sampler/gui/package-summary.html create mode 100644 docs/api/org/apache/jmeter/sampler/gui/package-tree.html create mode 100644 docs/api/org/apache/jmeter/sampler/package-frame.html create mode 100644 docs/api/org/apache/jmeter/sampler/package-summary.html create mode 100644 docs/api/org/apache/jmeter/sampler/package-tree.html create mode 100644 docs/api/org/apache/jmeter/samplers/AbstractSampleSender.html create mode 100644 docs/api/org/apache/jmeter/samplers/AbstractSampler.html create mode 100644 docs/api/org/apache/jmeter/samplers/AsynchSampleSender.html create mode 100644 docs/api/org/apache/jmeter/samplers/BatchSampleSender.html create mode 100644 docs/api/org/apache/jmeter/samplers/Clearable.html create mode 100644 docs/api/org/apache/jmeter/samplers/DataStrippingSampleSender.html create mode 100644 docs/api/org/apache/jmeter/samplers/DiskStoreSampleSender.html create mode 100644 docs/api/org/apache/jmeter/samplers/Entry.html create mode 100644 docs/api/org/apache/jmeter/samplers/HoldSampleSender.html create mode 100644 docs/api/org/apache/jmeter/samplers/Interruptible.html create mode 100644 docs/api/org/apache/jmeter/samplers/RemoteListenerWrapper.html create mode 100644 docs/api/org/apache/jmeter/samplers/RemoteSampleListener.html create mode 100644 docs/api/org/apache/jmeter/samplers/RemoteSampleListenerImpl.html create mode 100644 docs/api/org/apache/jmeter/samplers/RemoteSampleListenerWrapper.html create mode 100644 docs/api/org/apache/jmeter/samplers/RemoteTestListenerWrapper.html create mode 100644 docs/api/org/apache/jmeter/samplers/Remoteable.html create mode 100644 docs/api/org/apache/jmeter/samplers/SampleEvent.html create mode 100644 docs/api/org/apache/jmeter/samplers/SampleListener.html create mode 100644 docs/api/org/apache/jmeter/samplers/SampleResult.html create mode 100644 docs/api/org/apache/jmeter/samplers/SampleSaveConfiguration.html create mode 100644 docs/api/org/apache/jmeter/samplers/SampleSender.html create mode 100644 docs/api/org/apache/jmeter/samplers/SampleSenderFactory.html create mode 100644 docs/api/org/apache/jmeter/samplers/Sampler.html create mode 100644 docs/api/org/apache/jmeter/samplers/StandardSampleSender.html create mode 100644 docs/api/org/apache/jmeter/samplers/StatisticalSampleResult.html create mode 100644 docs/api/org/apache/jmeter/samplers/StatisticalSampleSender.html create mode 100644 docs/api/org/apache/jmeter/samplers/gui/AbstractSamplerGui.html create mode 100644 docs/api/org/apache/jmeter/samplers/gui/package-frame.html create mode 100644 docs/api/org/apache/jmeter/samplers/gui/package-summary.html create mode 100644 docs/api/org/apache/jmeter/samplers/gui/package-tree.html create mode 100644 docs/api/org/apache/jmeter/samplers/package-frame.html create mode 100644 docs/api/org/apache/jmeter/samplers/package-summary.html create mode 100644 docs/api/org/apache/jmeter/samplers/package-tree.html create mode 100644 docs/api/org/apache/jmeter/save/CSVSaveService.html create mode 100644 docs/api/org/apache/jmeter/save/ListenerResultWrapper.html create mode 100644 docs/api/org/apache/jmeter/save/OldSaveService.html create mode 100644 docs/api/org/apache/jmeter/save/SaveGraphicsService.html create mode 100644 docs/api/org/apache/jmeter/save/SaveService.html create mode 100644 docs/api/org/apache/jmeter/save/ScriptWrapperConverter.html create mode 100644 docs/api/org/apache/jmeter/save/TestResultWrapper.html create mode 100644 docs/api/org/apache/jmeter/save/converters/BooleanPropertyConverter.html create mode 100644 docs/api/org/apache/jmeter/save/converters/ConversionHelp.html create mode 100644 docs/api/org/apache/jmeter/save/converters/HashTreeConverter.html create mode 100644 docs/api/org/apache/jmeter/save/converters/IntegerPropertyConverter.html create mode 100644 docs/api/org/apache/jmeter/save/converters/LongPropertyConverter.html create mode 100644 docs/api/org/apache/jmeter/save/converters/MultiPropertyConverter.html create mode 100644 docs/api/org/apache/jmeter/save/converters/SampleEventConverter.html create mode 100644 docs/api/org/apache/jmeter/save/converters/SampleResultConverter.html create mode 100644 docs/api/org/apache/jmeter/save/converters/SampleSaveConfigurationConverter.html create mode 100644 docs/api/org/apache/jmeter/save/converters/StringPropertyConverter.html create mode 100644 docs/api/org/apache/jmeter/save/converters/TestElementConverter.html create mode 100644 docs/api/org/apache/jmeter/save/converters/TestElementPropertyConverter.html create mode 100644 docs/api/org/apache/jmeter/save/converters/TestResultWrapperConverter.html create mode 100644 docs/api/org/apache/jmeter/save/converters/package-frame.html create mode 100644 docs/api/org/apache/jmeter/save/converters/package-summary.html create mode 100644 docs/api/org/apache/jmeter/save/converters/package-tree.html create mode 100644 docs/api/org/apache/jmeter/save/package-frame.html create mode 100644 docs/api/org/apache/jmeter/save/package-summary.html create mode 100644 docs/api/org/apache/jmeter/save/package-tree.html create mode 100644 docs/api/org/apache/jmeter/services/FileServer.html create mode 100644 docs/api/org/apache/jmeter/services/package-frame.html create mode 100644 docs/api/org/apache/jmeter/services/package-summary.html create mode 100644 docs/api/org/apache/jmeter/services/package-tree.html create mode 100644 docs/api/org/apache/jmeter/swing/HtmlPane.html create mode 100644 docs/api/org/apache/jmeter/swing/package-frame.html create mode 100644 docs/api/org/apache/jmeter/swing/package-summary.html create mode 100644 docs/api/org/apache/jmeter/swing/package-tree.html create mode 100644 docs/api/org/apache/jmeter/testbeans/BeanInfoSupport.html create mode 100644 docs/api/org/apache/jmeter/testbeans/TestBean.html create mode 100644 docs/api/org/apache/jmeter/testbeans/TestBeanBeanInfo.html create mode 100644 docs/api/org/apache/jmeter/testbeans/TestBeanHelper.html create mode 100644 docs/api/org/apache/jmeter/testbeans/gui/BooleanPropertyEditor.html create mode 100644 docs/api/org/apache/jmeter/testbeans/gui/FileEditor.html create mode 100644 docs/api/org/apache/jmeter/testbeans/gui/GenericTestBeanCustomizer.html create mode 100644 docs/api/org/apache/jmeter/testbeans/gui/IntegerPropertyEditor.html create mode 100644 docs/api/org/apache/jmeter/testbeans/gui/LongPropertyEditor.html create mode 100644 docs/api/org/apache/jmeter/testbeans/gui/PasswordEditor.html create mode 100644 docs/api/org/apache/jmeter/testbeans/gui/SharedCustomizer.html create mode 100644 docs/api/org/apache/jmeter/testbeans/gui/TableEditor.html create mode 100644 docs/api/org/apache/jmeter/testbeans/gui/TestBeanGUI.html create mode 100644 docs/api/org/apache/jmeter/testbeans/gui/TestBeanPropertyEditor.html create mode 100644 docs/api/org/apache/jmeter/testbeans/gui/TextAreaEditor.html create mode 100644 docs/api/org/apache/jmeter/testbeans/gui/TypeEditor.html create mode 100644 docs/api/org/apache/jmeter/testbeans/gui/package-frame.html create mode 100644 docs/api/org/apache/jmeter/testbeans/gui/package-summary.html create mode 100644 docs/api/org/apache/jmeter/testbeans/gui/package-tree.html create mode 100644 docs/api/org/apache/jmeter/testbeans/package-frame.html create mode 100644 docs/api/org/apache/jmeter/testbeans/package-summary.html create mode 100644 docs/api/org/apache/jmeter/testbeans/package-tree.html create mode 100644 docs/api/org/apache/jmeter/testelement/AbstractScopedAssertion.html create mode 100644 docs/api/org/apache/jmeter/testelement/AbstractScopedTestElement.html create mode 100644 docs/api/org/apache/jmeter/testelement/AbstractTestElement.html create mode 100644 docs/api/org/apache/jmeter/testelement/AbstractTestElementBeanInfo.html create mode 100644 docs/api/org/apache/jmeter/testelement/OnErrorTestElement.html create mode 100644 docs/api/org/apache/jmeter/testelement/TestCloneable.html create mode 100644 docs/api/org/apache/jmeter/testelement/TestElement.html create mode 100644 docs/api/org/apache/jmeter/testelement/TestElementTraverser.html create mode 100644 docs/api/org/apache/jmeter/testelement/TestIterationListener.html create mode 100644 docs/api/org/apache/jmeter/testelement/TestListener.html create mode 100644 docs/api/org/apache/jmeter/testelement/TestPlan.html create mode 100644 docs/api/org/apache/jmeter/testelement/TestStateListener.html create mode 100644 docs/api/org/apache/jmeter/testelement/ThreadListener.html create mode 100644 docs/api/org/apache/jmeter/testelement/VariablesCollection.html create mode 100644 docs/api/org/apache/jmeter/testelement/WorkBench.html create mode 100644 docs/api/org/apache/jmeter/testelement/package-frame.html create mode 100644 docs/api/org/apache/jmeter/testelement/package-summary.html create mode 100644 docs/api/org/apache/jmeter/testelement/package-tree.html create mode 100644 docs/api/org/apache/jmeter/testelement/property/AbstractProperty.html create mode 100644 docs/api/org/apache/jmeter/testelement/property/BooleanProperty.html create mode 100644 docs/api/org/apache/jmeter/testelement/property/CollectionProperty.html create mode 100644 docs/api/org/apache/jmeter/testelement/property/DoubleProperty.html create mode 100644 docs/api/org/apache/jmeter/testelement/property/FloatProperty.html create mode 100644 docs/api/org/apache/jmeter/testelement/property/FunctionProperty.html create mode 100644 docs/api/org/apache/jmeter/testelement/property/IntegerProperty.html create mode 100644 docs/api/org/apache/jmeter/testelement/property/JMeterProperty.html create mode 100644 docs/api/org/apache/jmeter/testelement/property/LongProperty.html create mode 100644 docs/api/org/apache/jmeter/testelement/property/MapProperty.html create mode 100644 docs/api/org/apache/jmeter/testelement/property/MultiProperty.html create mode 100644 docs/api/org/apache/jmeter/testelement/property/NullProperty.html create mode 100644 docs/api/org/apache/jmeter/testelement/property/NumberProperty.html create mode 100644 docs/api/org/apache/jmeter/testelement/property/ObjectProperty.html create mode 100644 docs/api/org/apache/jmeter/testelement/property/PropertyIterator.html create mode 100644 docs/api/org/apache/jmeter/testelement/property/PropertyIteratorImpl.html create mode 100644 docs/api/org/apache/jmeter/testelement/property/StringProperty.html create mode 100644 docs/api/org/apache/jmeter/testelement/property/TestElementProperty.html create mode 100644 docs/api/org/apache/jmeter/testelement/property/package-frame.html create mode 100644 docs/api/org/apache/jmeter/testelement/property/package-summary.html create mode 100644 docs/api/org/apache/jmeter/testelement/property/package-tree.html create mode 100644 docs/api/org/apache/jmeter/threads/AbstractThreadGroup.html create mode 100644 docs/api/org/apache/jmeter/threads/FindTestElementsUpToRootTraverser.html create mode 100644 docs/api/org/apache/jmeter/threads/JMeterContext.html create mode 100644 docs/api/org/apache/jmeter/threads/JMeterContextService.ThreadCounts.html create mode 100644 docs/api/org/apache/jmeter/threads/JMeterContextService.html create mode 100644 docs/api/org/apache/jmeter/threads/JMeterThread.html create mode 100644 docs/api/org/apache/jmeter/threads/JMeterThreadMonitor.html create mode 100644 docs/api/org/apache/jmeter/threads/JMeterVariables.html create mode 100644 docs/api/org/apache/jmeter/threads/ListenerNotifier.html create mode 100644 docs/api/org/apache/jmeter/threads/PostThreadGroup.html create mode 100644 docs/api/org/apache/jmeter/threads/RemoteThreadsLifeCycleListener.html create mode 100644 docs/api/org/apache/jmeter/threads/RemoteThreadsListener.html create mode 100644 docs/api/org/apache/jmeter/threads/RemoteThreadsListenerImpl.html create mode 100644 docs/api/org/apache/jmeter/threads/RemoteThreadsListenerTestElement.html create mode 100644 docs/api/org/apache/jmeter/threads/RemoteThreadsListenerWrapper.html create mode 100644 docs/api/org/apache/jmeter/threads/SamplePackage.html create mode 100644 docs/api/org/apache/jmeter/threads/SetupThreadGroup.html create mode 100644 docs/api/org/apache/jmeter/threads/TestCompiler.html create mode 100644 docs/api/org/apache/jmeter/threads/TestCompilerHelper.html create mode 100644 docs/api/org/apache/jmeter/threads/ThreadGroup.html create mode 100644 docs/api/org/apache/jmeter/threads/gui/AbstractThreadGroupGui.html create mode 100644 docs/api/org/apache/jmeter/threads/gui/PostThreadGroupGui.html create mode 100644 docs/api/org/apache/jmeter/threads/gui/SetupThreadGroupGui.html create mode 100644 docs/api/org/apache/jmeter/threads/gui/ThreadGroupGui.html create mode 100644 docs/api/org/apache/jmeter/threads/gui/package-frame.html create mode 100644 docs/api/org/apache/jmeter/threads/gui/package-summary.html create mode 100644 docs/api/org/apache/jmeter/threads/gui/package-tree.html create mode 100644 docs/api/org/apache/jmeter/threads/package-frame.html create mode 100644 docs/api/org/apache/jmeter/threads/package-summary.html create mode 100644 docs/api/org/apache/jmeter/threads/package-tree.html create mode 100644 docs/api/org/apache/jmeter/timers/BSFTimer.html create mode 100644 docs/api/org/apache/jmeter/timers/BSFTimerBeanInfo.html create mode 100644 docs/api/org/apache/jmeter/timers/BeanShellTimer.html create mode 100644 docs/api/org/apache/jmeter/timers/BeanShellTimerBeanInfo.html create mode 100644 docs/api/org/apache/jmeter/timers/ConstantThroughputTimer.Mode.html create mode 100644 docs/api/org/apache/jmeter/timers/ConstantThroughputTimer.html create mode 100644 docs/api/org/apache/jmeter/timers/ConstantThroughputTimerBeanInfo.html create mode 100644 docs/api/org/apache/jmeter/timers/ConstantTimer.html create mode 100644 docs/api/org/apache/jmeter/timers/GaussianRandomTimer.html create mode 100644 docs/api/org/apache/jmeter/timers/JSR223Timer.html create mode 100644 docs/api/org/apache/jmeter/timers/JSR223TimerBeanInfo.html create mode 100644 docs/api/org/apache/jmeter/timers/PoissonRandomTimer.html create mode 100644 docs/api/org/apache/jmeter/timers/RandomTimer.html create mode 100644 docs/api/org/apache/jmeter/timers/SyncTimer.html create mode 100644 docs/api/org/apache/jmeter/timers/SyncTimerBeanInfo.html create mode 100644 docs/api/org/apache/jmeter/timers/Timer.html create mode 100644 docs/api/org/apache/jmeter/timers/UniformRandomTimer.html create mode 100644 docs/api/org/apache/jmeter/timers/gui/AbstractRandomTimerGui.html create mode 100644 docs/api/org/apache/jmeter/timers/gui/AbstractTimerGui.html create mode 100644 docs/api/org/apache/jmeter/timers/gui/ConstantTimerGui.html create mode 100644 docs/api/org/apache/jmeter/timers/gui/GaussianRandomTimerGui.html create mode 100644 docs/api/org/apache/jmeter/timers/gui/PoissonRandomTimerGui.html create mode 100644 docs/api/org/apache/jmeter/timers/gui/UniformRandomTimerGui.html create mode 100644 docs/api/org/apache/jmeter/timers/gui/package-frame.html create mode 100644 docs/api/org/apache/jmeter/timers/gui/package-summary.html create mode 100644 docs/api/org/apache/jmeter/timers/gui/package-tree.html create mode 100644 docs/api/org/apache/jmeter/timers/package-frame.html create mode 100644 docs/api/org/apache/jmeter/timers/package-summary.html create mode 100644 docs/api/org/apache/jmeter/timers/package-tree.html create mode 100644 docs/api/org/apache/jmeter/util/BSFBeanInfoSupport.html create mode 100644 docs/api/org/apache/jmeter/util/BSFJavaScriptEngine.html create mode 100644 docs/api/org/apache/jmeter/util/BSFTestElement.html create mode 100644 docs/api/org/apache/jmeter/util/BeanShellBeanInfoSupport.html create mode 100644 docs/api/org/apache/jmeter/util/BeanShellClient.html create mode 100644 docs/api/org/apache/jmeter/util/BeanShellInterpreter.html create mode 100644 docs/api/org/apache/jmeter/util/BeanShellServer.html create mode 100644 docs/api/org/apache/jmeter/util/BeanShellTestElement.html create mode 100644 docs/api/org/apache/jmeter/util/CPSPauser.html create mode 100644 docs/api/org/apache/jmeter/util/Calculator.html create mode 100644 docs/api/org/apache/jmeter/util/ColorHelper.html create mode 100644 docs/api/org/apache/jmeter/util/CustomX509TrustManager.html create mode 100644 docs/api/org/apache/jmeter/util/Document.html create mode 100644 docs/api/org/apache/jmeter/util/HttpSSLProtocolSocketFactory.html create mode 100644 docs/api/org/apache/jmeter/util/JMeterTreeNodeTransferable.html create mode 100644 docs/api/org/apache/jmeter/util/JMeterUtils.html create mode 100644 docs/api/org/apache/jmeter/util/JMeterVersion.html create mode 100644 docs/api/org/apache/jmeter/util/JSR223BeanInfoSupport.html create mode 100644 docs/api/org/apache/jmeter/util/JSR223TestElement.html create mode 100644 docs/api/org/apache/jmeter/util/JsseSSLManager.html create mode 100644 docs/api/org/apache/jmeter/util/LocaleChangeEvent.html create mode 100644 docs/api/org/apache/jmeter/util/LocaleChangeListener.html create mode 100644 docs/api/org/apache/jmeter/util/NameUpdater.html create mode 100644 docs/api/org/apache/jmeter/util/NamedObject.html create mode 100644 docs/api/org/apache/jmeter/util/PropertiesBasedPrefixResolver.html create mode 100644 docs/api/org/apache/jmeter/util/SSLManager.html create mode 100644 docs/api/org/apache/jmeter/util/ScopePanel.html create mode 100644 docs/api/org/apache/jmeter/util/ScriptingBeanInfoSupport.html create mode 100644 docs/api/org/apache/jmeter/util/ScriptingTestElement.html create mode 100644 docs/api/org/apache/jmeter/util/ShutdownClient.html create mode 100644 docs/api/org/apache/jmeter/util/SlowInputStream.html create mode 100644 docs/api/org/apache/jmeter/util/SlowOutputStream.html create mode 100644 docs/api/org/apache/jmeter/util/SlowSSLSocket.html create mode 100644 docs/api/org/apache/jmeter/util/SlowSocket.html create mode 100644 docs/api/org/apache/jmeter/util/StringUtilities.html create mode 100644 docs/api/org/apache/jmeter/util/ThreadLocalRandom.html create mode 100644 docs/api/org/apache/jmeter/util/TidyException.html create mode 100644 docs/api/org/apache/jmeter/util/XPathUtil.html create mode 100644 docs/api/org/apache/jmeter/util/keystore/JmeterKeyStore.html create mode 100644 docs/api/org/apache/jmeter/util/keystore/package-frame.html create mode 100644 docs/api/org/apache/jmeter/util/keystore/package-summary.html create mode 100644 docs/api/org/apache/jmeter/util/keystore/package-tree.html create mode 100644 docs/api/org/apache/jmeter/util/package-frame.html create mode 100644 docs/api/org/apache/jmeter/util/package-summary.html create mode 100644 docs/api/org/apache/jmeter/util/package-tree.html create mode 100644 docs/api/org/apache/jmeter/visualizers/AccumListener.html create mode 100644 docs/api/org/apache/jmeter/visualizers/AssertionVisualizer.html create mode 100644 docs/api/org/apache/jmeter/visualizers/AxisGraph.html create mode 100644 docs/api/org/apache/jmeter/visualizers/BSFListener.html create mode 100644 docs/api/org/apache/jmeter/visualizers/BSFListenerBeanInfo.html create mode 100644 docs/api/org/apache/jmeter/visualizers/BarGraph.html create mode 100644 docs/api/org/apache/jmeter/visualizers/BeanShellListener.html create mode 100644 docs/api/org/apache/jmeter/visualizers/BeanShellListenerBeanInfo.html create mode 100644 docs/api/org/apache/jmeter/visualizers/CachingStatCalculator.html create mode 100644 docs/api/org/apache/jmeter/visualizers/ComparisonVisualizer.html create mode 100644 docs/api/org/apache/jmeter/visualizers/DistributionGraph.html create mode 100644 docs/api/org/apache/jmeter/visualizers/DistributionGraphVisualizer.html create mode 100644 docs/api/org/apache/jmeter/visualizers/Graph.html create mode 100644 docs/api/org/apache/jmeter/visualizers/GraphListener.html create mode 100644 docs/api/org/apache/jmeter/visualizers/GraphVisualizer.html create mode 100644 docs/api/org/apache/jmeter/visualizers/ImageVisualizer.html create mode 100644 docs/api/org/apache/jmeter/visualizers/JSR223Listener.html create mode 100644 docs/api/org/apache/jmeter/visualizers/JSR223ListenerBeanInfo.html create mode 100644 docs/api/org/apache/jmeter/visualizers/LineGraph.html create mode 100644 docs/api/org/apache/jmeter/visualizers/MailerVisualizer.html create mode 100644 docs/api/org/apache/jmeter/visualizers/MonitorAccumModel.html create mode 100644 docs/api/org/apache/jmeter/visualizers/MonitorGraph.html create mode 100644 docs/api/org/apache/jmeter/visualizers/MonitorGuiListener.html create mode 100644 docs/api/org/apache/jmeter/visualizers/MonitorHealthPanel.html create mode 100644 docs/api/org/apache/jmeter/visualizers/MonitorHealthVisualizer.html create mode 100644 docs/api/org/apache/jmeter/visualizers/MonitorListener.html create mode 100644 docs/api/org/apache/jmeter/visualizers/MonitorModel.html create mode 100644 docs/api/org/apache/jmeter/visualizers/MonitorPerformancePanel.html create mode 100644 docs/api/org/apache/jmeter/visualizers/MonitorStats.html create mode 100644 docs/api/org/apache/jmeter/visualizers/MonitorTabPane.html create mode 100644 docs/api/org/apache/jmeter/visualizers/Printable.html create mode 100644 docs/api/org/apache/jmeter/visualizers/PropertyControlGui.html create mode 100644 docs/api/org/apache/jmeter/visualizers/RenderAsCssJQuery.html create mode 100644 docs/api/org/apache/jmeter/visualizers/RenderAsDocument.html create mode 100644 docs/api/org/apache/jmeter/visualizers/RenderAsHTML.html create mode 100644 docs/api/org/apache/jmeter/visualizers/RenderAsHTMLWithEmbedded.html create mode 100644 docs/api/org/apache/jmeter/visualizers/RenderAsJSON.html create mode 100644 docs/api/org/apache/jmeter/visualizers/RenderAsRegexp.html create mode 100644 docs/api/org/apache/jmeter/visualizers/RenderAsText.html create mode 100644 docs/api/org/apache/jmeter/visualizers/RenderAsXML.html create mode 100644 docs/api/org/apache/jmeter/visualizers/RenderAsXPath.html create mode 100644 docs/api/org/apache/jmeter/visualizers/RequestPanel.html create mode 100644 docs/api/org/apache/jmeter/visualizers/RequestView.html create mode 100644 docs/api/org/apache/jmeter/visualizers/RequestViewRaw.html create mode 100644 docs/api/org/apache/jmeter/visualizers/RespTimeGraphChart.html create mode 100644 docs/api/org/apache/jmeter/visualizers/RespTimeGraphDataBean.html create mode 100644 docs/api/org/apache/jmeter/visualizers/RespTimeGraphLineBean.html create mode 100644 docs/api/org/apache/jmeter/visualizers/RespTimeGraphVisualizer.html create mode 100644 docs/api/org/apache/jmeter/visualizers/ResultRenderer.html create mode 100644 docs/api/org/apache/jmeter/visualizers/RunningSample.html create mode 100644 docs/api/org/apache/jmeter/visualizers/Sample.html create mode 100644 docs/api/org/apache/jmeter/visualizers/SamplerResultTab.RowResult.html create mode 100644 docs/api/org/apache/jmeter/visualizers/SamplerResultTab.html create mode 100644 docs/api/org/apache/jmeter/visualizers/SamplingStatCalculator.html create mode 100644 docs/api/org/apache/jmeter/visualizers/SearchTextExtension.html create mode 100644 docs/api/org/apache/jmeter/visualizers/ServerPanel.html create mode 100644 docs/api/org/apache/jmeter/visualizers/SimpleDataWriter.html create mode 100644 docs/api/org/apache/jmeter/visualizers/Spline3.html create mode 100644 docs/api/org/apache/jmeter/visualizers/SplineModel.html create mode 100644 docs/api/org/apache/jmeter/visualizers/SplineVisualizer.SplineGraph.html create mode 100644 docs/api/org/apache/jmeter/visualizers/SplineVisualizer.html create mode 100644 docs/api/org/apache/jmeter/visualizers/StatGraphProperties.html create mode 100644 docs/api/org/apache/jmeter/visualizers/StatGraphVisualizer.html create mode 100644 docs/api/org/apache/jmeter/visualizers/StatVisualizer.html create mode 100644 docs/api/org/apache/jmeter/visualizers/SummaryReport.html create mode 100644 docs/api/org/apache/jmeter/visualizers/TableSample.html create mode 100644 docs/api/org/apache/jmeter/visualizers/TableVisualizer.SampleSuccessFunctor.html create mode 100644 docs/api/org/apache/jmeter/visualizers/TableVisualizer.html create mode 100644 docs/api/org/apache/jmeter/visualizers/TreeNodeRenderer.html create mode 100644 docs/api/org/apache/jmeter/visualizers/ViewResultsFullVisualizer.html create mode 100644 docs/api/org/apache/jmeter/visualizers/Visualizer.html create mode 100644 docs/api/org/apache/jmeter/visualizers/XMLDefaultMutableTreeNode.html create mode 100644 docs/api/org/apache/jmeter/visualizers/backend/AbstractBackendListenerClient.html create mode 100644 docs/api/org/apache/jmeter/visualizers/backend/BackendListener.html create mode 100644 docs/api/org/apache/jmeter/visualizers/backend/BackendListenerClient.html create mode 100644 docs/api/org/apache/jmeter/visualizers/backend/BackendListenerContext.html create mode 100644 docs/api/org/apache/jmeter/visualizers/backend/BackendListenerGui.html create mode 100644 docs/api/org/apache/jmeter/visualizers/backend/SamplerMetric.html create mode 100644 docs/api/org/apache/jmeter/visualizers/backend/UserMetric.html create mode 100644 docs/api/org/apache/jmeter/visualizers/backend/graphite/GraphiteBackendListenerClient.html create mode 100644 docs/api/org/apache/jmeter/visualizers/backend/graphite/SocketConnectionInfos.html create mode 100644 docs/api/org/apache/jmeter/visualizers/backend/graphite/SocketOutputStream.html create mode 100644 docs/api/org/apache/jmeter/visualizers/backend/graphite/SocketOutputStreamPoolFactory.html create mode 100644 docs/api/org/apache/jmeter/visualizers/backend/graphite/package-frame.html create mode 100644 docs/api/org/apache/jmeter/visualizers/backend/graphite/package-summary.html create mode 100644 docs/api/org/apache/jmeter/visualizers/backend/graphite/package-tree.html create mode 100644 docs/api/org/apache/jmeter/visualizers/backend/package-frame.html create mode 100644 docs/api/org/apache/jmeter/visualizers/backend/package-summary.html create mode 100644 docs/api/org/apache/jmeter/visualizers/backend/package-tree.html create mode 100644 docs/api/org/apache/jmeter/visualizers/gui/AbstractListenerGui.html create mode 100644 docs/api/org/apache/jmeter/visualizers/gui/AbstractVisualizer.html create mode 100644 docs/api/org/apache/jmeter/visualizers/gui/package-frame.html create mode 100644 docs/api/org/apache/jmeter/visualizers/gui/package-summary.html create mode 100644 docs/api/org/apache/jmeter/visualizers/gui/package-tree.html create mode 100644 docs/api/org/apache/jmeter/visualizers/package-frame.html create mode 100644 docs/api/org/apache/jmeter/visualizers/package-summary.html create mode 100644 docs/api/org/apache/jmeter/visualizers/package-tree.html create mode 100644 docs/api/org/apache/jmeter/visualizers/utils/Colors.html create mode 100644 docs/api/org/apache/jmeter/visualizers/utils/package-frame.html create mode 100644 docs/api/org/apache/jmeter/visualizers/utils/package-summary.html create mode 100644 docs/api/org/apache/jmeter/visualizers/utils/package-tree.html create mode 100644 docs/api/org/apache/jorphan/collections/Data.html create mode 100644 docs/api/org/apache/jorphan/collections/HashTree.html create mode 100644 docs/api/org/apache/jorphan/collections/HashTreeTraverser.html create mode 100644 docs/api/org/apache/jorphan/collections/ListedHashTree.html create mode 100644 docs/api/org/apache/jorphan/collections/SearchByClass.html create mode 100644 docs/api/org/apache/jorphan/collections/SortedHashTree.html create mode 100644 docs/api/org/apache/jorphan/collections/package-frame.html create mode 100644 docs/api/org/apache/jorphan/collections/package-summary.html create mode 100644 docs/api/org/apache/jorphan/collections/package-tree.html create mode 100644 docs/api/org/apache/jorphan/exec/KeyToolUtils.html create mode 100644 docs/api/org/apache/jorphan/exec/SystemCommand.html create mode 100644 docs/api/org/apache/jorphan/exec/package-frame.html create mode 100644 docs/api/org/apache/jorphan/exec/package-summary.html create mode 100644 docs/api/org/apache/jorphan/exec/package-tree.html create mode 100644 docs/api/org/apache/jorphan/gui/AbstractTreeTableModel.html create mode 100644 docs/api/org/apache/jorphan/gui/ComponentUtil.html create mode 100644 docs/api/org/apache/jorphan/gui/DefaultTreeTableModel.html create mode 100644 docs/api/org/apache/jorphan/gui/GuiUtils.html create mode 100644 docs/api/org/apache/jorphan/gui/JLabeledChoice.html create mode 100644 docs/api/org/apache/jorphan/gui/JLabeledField.html create mode 100644 docs/api/org/apache/jorphan/gui/JLabeledPasswordField.html create mode 100644 docs/api/org/apache/jorphan/gui/JLabeledTextArea.html create mode 100644 docs/api/org/apache/jorphan/gui/JLabeledTextField.html create mode 100644 docs/api/org/apache/jorphan/gui/JTreeTable.html create mode 100644 docs/api/org/apache/jorphan/gui/MenuScroller.html create mode 100644 docs/api/org/apache/jorphan/gui/NumberRenderer.html create mode 100644 docs/api/org/apache/jorphan/gui/ObjectTableModel.html create mode 100644 docs/api/org/apache/jorphan/gui/RateRenderer.html create mode 100644 docs/api/org/apache/jorphan/gui/RendererUtils.html create mode 100644 docs/api/org/apache/jorphan/gui/RightAlignRenderer.html create mode 100644 docs/api/org/apache/jorphan/gui/TreeTableModel.html create mode 100644 docs/api/org/apache/jorphan/gui/layout/VerticalLayout.html create mode 100644 docs/api/org/apache/jorphan/gui/layout/package-frame.html create mode 100644 docs/api/org/apache/jorphan/gui/layout/package-summary.html create mode 100644 docs/api/org/apache/jorphan/gui/layout/package-tree.html create mode 100644 docs/api/org/apache/jorphan/gui/package-frame.html create mode 100644 docs/api/org/apache/jorphan/gui/package-summary.html create mode 100644 docs/api/org/apache/jorphan/gui/package-tree.html create mode 100644 docs/api/org/apache/jorphan/io/TextFile.html create mode 100644 docs/api/org/apache/jorphan/io/package-frame.html create mode 100644 docs/api/org/apache/jorphan/io/package-summary.html create mode 100644 docs/api/org/apache/jorphan/io/package-tree.html create mode 100644 docs/api/org/apache/jorphan/logging/LoggingManager.html create mode 100644 docs/api/org/apache/jorphan/logging/package-frame.html create mode 100644 docs/api/org/apache/jorphan/logging/package-summary.html create mode 100644 docs/api/org/apache/jorphan/logging/package-tree.html create mode 100644 docs/api/org/apache/jorphan/math/NumberComparator.html create mode 100644 docs/api/org/apache/jorphan/math/StatCalculator.html create mode 100644 docs/api/org/apache/jorphan/math/StatCalculatorInteger.html create mode 100644 docs/api/org/apache/jorphan/math/StatCalculatorLong.html create mode 100644 docs/api/org/apache/jorphan/math/package-frame.html create mode 100644 docs/api/org/apache/jorphan/math/package-summary.html create mode 100644 docs/api/org/apache/jorphan/math/package-tree.html create mode 100644 docs/api/org/apache/jorphan/reflect/ClassFinder.html create mode 100644 docs/api/org/apache/jorphan/reflect/ClassTools.html create mode 100644 docs/api/org/apache/jorphan/reflect/Functor.html create mode 100644 docs/api/org/apache/jorphan/reflect/package-frame.html create mode 100644 docs/api/org/apache/jorphan/reflect/package-summary.html create mode 100644 docs/api/org/apache/jorphan/reflect/package-tree.html create mode 100644 docs/api/org/apache/jorphan/test/UnitTestManager.html create mode 100644 docs/api/org/apache/jorphan/test/package-frame.html create mode 100644 docs/api/org/apache/jorphan/test/package-summary.html create mode 100644 docs/api/org/apache/jorphan/test/package-tree.html create mode 100644 docs/api/org/apache/jorphan/util/Converter.html create mode 100644 docs/api/org/apache/jorphan/util/HeapDumper.html create mode 100644 docs/api/org/apache/jorphan/util/JMeterError.html create mode 100644 docs/api/org/apache/jorphan/util/JMeterException.html create mode 100644 docs/api/org/apache/jorphan/util/JMeterStopTestException.html create mode 100644 docs/api/org/apache/jorphan/util/JMeterStopTestNowException.html create mode 100644 docs/api/org/apache/jorphan/util/JMeterStopThreadException.html create mode 100644 docs/api/org/apache/jorphan/util/JOrphanUtils.html create mode 100644 docs/api/org/apache/jorphan/util/XMLBuffer.html create mode 100644 docs/api/org/apache/jorphan/util/package-frame.html create mode 100644 docs/api/org/apache/jorphan/util/package-summary.html create mode 100644 docs/api/org/apache/jorphan/util/package-tree.html create mode 100644 docs/api/overview-frame.html create mode 100644 docs/api/overview-summary.html create mode 100644 docs/api/overview-tree.html create mode 100644 docs/api/package-list create mode 100644 docs/api/resources/inherit.gif create mode 100644 docs/api/serialized-form.html create mode 100644 docs/api/stylesheet.css diff --git a/docs/api/allclasses-frame.html b/docs/api/allclasses-frame.html new file mode 100644 index 00000000000..b4c72bd53ca --- /dev/null +++ b/docs/api/allclasses-frame.html @@ -0,0 +1,1805 @@ + + + + + +All Classes (Apache JMeter API) + + + + + + + + + + +All Classes +
+ + + + + +
AboutCommand +
+AbstractAction +
+AbstractAssertionGui +
+AbstractBackendListenerClient +
+AbstractConfigGui +
+AbstractControllerGui +
+AbstractFunction +
+AbstractJavaSamplerClient +
+AbstractJDBCProcessor +
+AbstractJDBCTestElement +
+AbstractJMeterGuiComponent +
+AbstractListenerElement +
+AbstractListenerGui +
+AbstractPostProcessorGui +
+AbstractPreProcessorGui +
+AbstractProperty +
+AbstractRandomTimerGui +
+AbstractSampler +
+AbstractSamplerCreator +
+AbstractSamplerGui +
+AbstractSampleSender +
+AbstractScopedAssertion +
+AbstractScopedJMeterGuiComponent +
+AbstractScopedTestElement +
+AbstractTCPClient +
+AbstractTestElement +
+AbstractTestElementBeanInfo +
+AbstractThreadGroup +
+AbstractThreadGroupGui +
+AbstractTimerGui +
+AbstractTreeTableModel +
+AbstractVisualizer +
+AccessLogSampler +
+AccessLogSamplerBeanInfo +
+AccumListener +
+ActionNames +
+ActionRouter +
+AddParent +
+AddToTree +
+AjpSampler +
+AjpSamplerGui +
+Analyze +
+AnchorModifier +
+AnchorModifierGui +
+Argument +
+ArgumentDecoder +
+ArgumentEncoder +
+Arguments +
+ArgumentsPanel +
+Assertion +
+AssertionGui +
+AssertionResult +
+AssertionVisualizer +
+AsynchSampleSender +
+AuthManager +
+AuthManager.Mechanism +
+Authorization +
+AuthPanel +
+AxisGraph +
+BackendListener +
+BackendListenerClient +
+BackendListenerContext +
+BackendListenerGui +
+BarGraph +
+Base64Encoder +
+BaseJMSSampler +
+BatchSampleSender +
+BeanInfoSupport +
+BeanShell +
+BeanShellAssertion +
+BeanShellAssertionGui +
+BeanShellBeanInfoSupport +
+BeanShellClient +
+BeanShellInterpreter +
+BeanShellListener +
+BeanShellListenerBeanInfo +
+BeanShellPostProcessor +
+BeanShellPostProcessorBeanInfo +
+BeanShellPreProcessor +
+BeanShellPreProcessorBeanInfo +
+BeanShellSampler +
+BeanShellSamplerGui +
+BeanShellServer +
+BeanShellTestElement +
+BeanShellTimer +
+BeanShellTimerBeanInfo +
+BinaryTCPClientImpl +
+BooleanProperty +
+BooleanPropertyConverter +
+BooleanPropertyEditor +
+BSFAssertion +
+BSFAssertionBeanInfo +
+BSFBeanInfoSupport +
+BSFJavaScriptEngine +
+BSFListener +
+BSFListenerBeanInfo +
+BSFPostProcessor +
+BSFPostProcessorBeanInfo +
+BSFPreProcessor +
+BSFPreProcessorBeanInfo +
+BSFSampler +
+BSFSamplerBeanInfo +
+BSFTestElement +
+BSFTimer +
+BSFTimerBeanInfo +
+ButtonPanel +
+CacheManager +
+CacheManagerGui +
+CachingStatCalculator +
+Calculator +
+ChangeLanguage +
+ChangeParent +
+CharFunction +
+CheckDirty +
+ClassFinder +
+ClassTools +
+Clear +
+Clearable +
+ClearGui +
+ClientJMeterEngine +
+ClientPool +
+Close +
+CollapseExpand +
+CollectionProperty +
+ColorHelper +
+Colors +
+Command +
+CommentPanel +
+CompareAssertion +
+CompareAssertionBeanInfo +
+CompareAssertionResult +
+ComparisonVisualizer +
+ComponentUtil +
+CompoundVariable +
+ConfigElement +
+ConfigMergabilityIndicator +
+ConfigTestElement +
+Connector +
+ConnectorImpl +
+Constants +
+ConstantThroughputTimer +
+ConstantThroughputTimer.Mode +
+ConstantThroughputTimerBeanInfo +
+ConstantTimer +
+ConstantTimerGui +
+Controller +
+ConversionHelp +
+ConversionUtils +
+Converter +
+ConvertListeners +
+Cookie +
+CookieHandler +
+CookieManager +
+CookiePanel +
+Copy +
+CounterConfig +
+CounterConfigGui +
+CounterOutputStream +
+CPSPauser +
+CreateFunctionDialog +
+CriticalSectionController +
+CriticalSectionControllerGui +
+CSVDataSet +
+CSVDataSetBeanInfo +
+CSVRead +
+CSVSaveService +
+CustomX509TrustManager +
+Cut +
+Daemon +
+Data +
+DataSourceElement +
+DataSourceElementBeanInfo +
+DataStrippingSampleSender +
+DebugPostProcessor +
+DebugPostProcessorBeanInfo +
+DebugSampler +
+DebugSamplerBeanInfo +
+DefaultSamplerCreator +
+DefaultTreeTableModel +
+DiskStoreSampleSender +
+DistributedRunner +
+DistributionGraph +
+DistributionGraphVisualizer +
+DNSCacheManager +
+DNSCachePanel +
+Document +
+DOMPool +
+DoubleProperty +
+Duplicate +
+DurationAssertion +
+DurationAssertionGui +
+DynamicClassLoader +
+EditCommand +
+EnableComponent +
+EncoderCache +
+Entry +
+EscapeDialog +
+EscapeHtml +
+EscapeOroRegexpChars +
+EvalFunction +
+EvalResultHandler +
+EvalVarFunction +
+Example1 +
+Example2 +
+Example2BeanInfo +
+Example3 +
+Example3BeanInfo +
+ExampleSampler +
+ExampleSamplerGui +
+ExitCommand +
+Extractor +
+FileDialoger +
+FileEditor +
+FileListPanel +
+FilePanel +
+FilePanelEntry +
+FileReporter +
+FileRowColContainer +
+FileServer +
+FileToString +
+FileWrapper +
+Filter +
+FindTestElementsUpToRootTraverser +
+FixedQueueExecutor +
+FloatProperty +
+FocusRequester +
+ForeachController +
+ForeachControlPanel +
+FormCharSetFinder +
+FtpConfigGui +
+FTPSampler +
+FtpTestSamplerGui +
+Function +
+FunctionHelper +
+FunctionProperty +
+Functor +
+GaussianRandomTimer +
+GaussianRandomTimerGui +
+Generator +
+GenericController +
+GenericTestBeanCustomizer +
+Graph +
+GraphiteBackendListenerClient +
+GraphListener +
+GraphVisualizer +
+GUIFactory +
+GuiPackage +
+GuiUtils +
+HashTree +
+HashTreeConverter +
+HashTreeTraverser +
+HC3CookieHandler +
+HC4CookieHandler +
+HC4TrustAllSSLSocketFactory +
+Header +
+HeaderAsPropertyRenderer +
+HeaderManager +
+HeaderPanel +
+HeapDumper +
+Help +
+HoldSampleSender +
+HorizontalPanel +
+HTMLAssertion +
+HTMLAssertionGui +
+HtmlExtractor +
+HtmlExtractorGui +
+HtmlPane +
+HTMLParseError +
+HTMLParseException +
+HTMLParser +
+HtmlParsingUtils +
+HTTPAbstractImpl +
+HTTPArgument +
+HTTPArgumentsPanel +
+HttpClientDefaultParameters +
+HTTPConstants +
+HTTPConstantsInterface +
+HttpDefaultsGui +
+HTTPFileArg +
+HTTPFileArgs +
+HTTPFileArgsPanel +
+HTTPFileImpl +
+HTTPHC3Impl +
+HTTPHC4Impl +
+HTTPHC4Impl.HttpDelete +
+HTTPHCAbstractImpl +
+HTTPJavaImpl +
+HttpMirrorControl +
+HttpMirrorControlGui +
+HttpMirrorServer +
+HttpMirrorThread +
+HttpReplyHdr +
+HttpRequestHdr +
+HTTPResultConverter +
+HTTPSampler +
+HTTPSampler2 +
+HTTPSamplerBase +
+HTTPSamplerBase.SourceType +
+HTTPSamplerBaseBeanInfo +
+HTTPSamplerBaseConverter +
+HTTPSampleResult +
+HTTPSamplerFactory +
+HTTPSamplerProxy +
+HttpSSLProtocolSocketFactory +
+HttpTestSampleGui +
+HttpWebdav +
+IconToolbarBean +
+IfController +
+IfControllerPanel +
+IllegalUserActionException +
+ImageVisualizer +
+IncludeController +
+IncludeControllerGui +
+InitialContextFactory +
+IntegerProperty +
+IntegerPropertyConverter +
+IntegerPropertyEditor +
+InterleaveControl +
+InterleaveControlGui +
+Interruptible +
+IntSum +
+InvalidVariableException +
+IterationCounter +
+JavaConfig +
+JavaConfigGui +
+JavaSampler +
+JavaSamplerClient +
+JavaSamplerContext +
+JavaScript +
+JavaTest +
+JavaTestSamplerGui +
+JDateField +
+JDBCPostProcessor +
+JDBCPostProcessorBeanInfo +
+JDBCPreProcessor +
+JDBCPreProcessorBeanInfo +
+JDBCSampler +
+JDBCSamplerBeanInfo +
+JDBCTestElementBeanInfoSupport +
+Jexl2Function +
+JexlFunction +
+JLabeledChoice +
+JLabeledField +
+JLabeledPasswordField +
+JLabeledRadioI18N +
+JLabeledTextArea +
+JLabeledTextField +
+JMeter +
+JMeterCellRenderer +
+JMeterColor +
+JMeterContext +
+JMeterContextService +
+JMeterContextService.ThreadCounts +
+JMeterEngine +
+JMeterEngineException +
+JMeterError +
+JMeterException +
+JMeterFileFilter +
+JMeterGUIComponent +
+JmeterKeyStore +
+JMeterMenuBar +
+JMeterPlugin +
+JMeterProperty +
+JMeterStopTestException +
+JMeterStopTestNowException +
+JMeterStopThreadException +
+JMeterThread +
+JMeterThreadMonitor +
+JMeterToolBar +
+JMeterTreeListener +
+JMeterTreeModel +
+JMeterTreeNode +
+JMeterTreeNodeTransferable +
+JMeterTreeTransferHandler +
+JMeterUtils +
+JMeterVariables +
+JMeterVersion +
+JMSProperties +
+JMSPropertiesPanel +
+JMSProperty +
+JMSPublisherGui +
+JMSSampler +
+JMSSamplerGui +
+JMSSubscriberGui +
+JoddExtractor +
+JOrphanUtils +
+JsoupBasedHtmlParser +
+JSoupExtractor +
+JSR223Assertion +
+JSR223AssertionBeanInfo +
+JSR223BeanInfoSupport +
+JSR223Listener +
+JSR223ListenerBeanInfo +
+JSR223PostProcessor +
+JSR223PostProcessorBeanInfo +
+JSR223PreProcessor +
+JSR223PreProcessorBeanInfo +
+JSR223Sampler +
+JSR223SamplerBeanInfo +
+JSR223TestElement +
+JSR223Timer +
+JSR223TimerBeanInfo +
+JsseSSLManager +
+JSyntaxTextArea +
+JTextScrollPane +
+JTreeTable +
+JUnitSampler +
+JUnitTestSamplerGui +
+Jvm +
+JvmImpl +
+KerberosManager +
+KeystoreConfig +
+KeystoreConfigBeanInfo +
+KeyStrokes +
+KeyToolUtils +
+LagartoBasedHtmlParser +
+LDAPArgument +
+LDAPArguments +
+LDAPArgumentsPanel +
+LdapClient +
+LdapConfigGui +
+LdapExtClient +
+LdapExtConfigGui +
+LDAPExtSampler +
+LdapExtTestSamplerGui +
+LDAPSampler +
+LdapTestSamplerGui +
+LengthPrefixedBinaryTCPClientImpl +
+LineGraph +
+ListedHashTree +
+ListenerNotifier +
+ListenerResultWrapper +
+Load +
+LoadDraggedFile +
+LoadRecentProject +
+LocaleChangeEvent +
+LocaleChangeListener +
+LocalTrustStoreSSLSocketFactory +
+LogFilter +
+LogFunction +
+LogFunction2 +
+LoggerPanel +
+LoggerPanelEnableDisable +
+LoggingManager +
+LogicControllerGui +
+LoginConfig +
+LoginConfigGui +
+LogParser +
+LongProperty +
+LongPropertyConverter +
+LongPropertyEditor +
+LongSum +
+LookAndFeelCommand +
+LoopbackHttpClientSocketFactory +
+LoopbackHTTPSocket +
+LoopController +
+LoopControlPanel +
+LoopIterationEvent +
+LoopIterationListener +
+MachineIP +
+MachineName +
+MailerModel +
+MailerModel.MailAuthType +
+MailerResultCollector +
+MailerVisualizer +
+MailFileFolder +
+MailFileMessage +
+MailFileStore +
+MailReaderSampler +
+MailReaderSamplerGui +
+MainFrame +
+MapProperty +
+MD5HexAssertion +
+MD5HexAssertionGUI +
+MeasuringConnectionManager +
+Memory +
+MemoryBenchmark +
+MemoryImpl +
+MenuCreator +
+MenuCreator.MENU_LOCATION +
+MenuFactory +
+MenuInfo +
+MenuScroller +
+MessageAdmin +
+ModuleController +
+ModuleControllerGui +
+MongoDB +
+MongoDBHolder +
+MongoScriptRunner +
+MongoScriptSampler +
+MongoScriptSamplerBeanInfo +
+MongoSourceElement +
+MongoSourceElementBeanInfo +
+MongoUtils +
+MonitorAccumModel +
+MonitorGraph +
+MonitorGuiListener +
+MonitorHandler +
+MonitorHealthPanel +
+MonitorHealthVisualizer +
+MonitorListener +
+MonitorModel +
+MonitorPerformancePanel +
+MonitorStats +
+MonitorTabPane +
+Move +
+MultipartUrlConfig +
+MultipartUrlConfigGui +
+MultiProperty +
+MultiPropertyConverter +
+NamedObject +
+NamedTreeNode +
+NamePanel +
+NameUpdater +
+NativeCommand +
+NewDriver +
+NextIsNullException +
+NoConfigMerge +
+NoThreadClone +
+NullProperty +
+NumberComparator +
+NumberFieldErrorListener +
+NumberProperty +
+NumberRenderer +
+NVPair +
+ObjectFactory +
+ObjectFactory.MonitorParser +
+ObjectProperty +
+ObjectTableModel +
+ObsoleteGui +
+OldSaveService +
+OnceOnlyController +
+OnceOnlyControllerGui +
+OnErrorPanel +
+OnErrorTestElement +
+OrderPreservingLogParser +
+ParamMask +
+ParamModifier +
+ParamModifierGui +
+Parser +
+ParserImpl +
+PasswordEditor +
+Paste +
+PluginManager +
+PoissonRandomTimer +
+PoissonRandomTimerGui +
+PostProcessor +
+PostThreadGroup +
+PostThreadGroupGui +
+PostWriter +
+PowerTableModel +
+PreCompiler +
+PreProcessor +
+Printable +
+PropertiesBasedPrefixResolver +
+Property +
+Property2 +
+PropertyControlGui +
+PropertyIterator +
+PropertyIteratorImpl +
+Proxy +
+ProxyAuthenticator +
+ProxyControl +
+ProxyControl.KeystoreMode +
+ProxyControlGui +
+Publisher +
+PublisherSampler +
+PutWriter +
+QueueExecutor +
+Random +
+RandomControlGui +
+RandomController +
+RandomOrderController +
+RandomOrderControllerGui +
+RandomString +
+RandomTimer +
+RandomVariableConfig +
+RandomVariableConfigBeanInfo +
+RateRenderer +
+RawTextSearcher +
+ReadException +
+Receiver +
+ReceiveSubscriber +
+RecordController +
+RecordingController +
+RegexExtractor +
+RegexExtractorGui +
+RegexFunction +
+RegexpSearcher +
+RegExUserParameters +
+RegExUserParametersGui +
+Remoteable +
+RemoteJMeterEngine +
+RemoteJMeterEngineImpl +
+RemoteListenerWrapper +
+RemoteSampleListener +
+RemoteSampleListenerImpl +
+RemoteSampleListenerWrapper +
+RemoteStart +
+RemoteTestListenerWrapper +
+RemoteThreadsLifeCycleListener +
+RemoteThreadsListener +
+RemoteThreadsListenerImpl +
+RemoteThreadsListenerTestElement +
+RemoteThreadsListenerWrapper +
+Remove +
+RenderAsCssJQuery +
+RenderAsDocument +
+RenderAsHTML +
+RenderAsHTMLWithEmbedded +
+RenderAsJSON +
+RenderAsRegexp +
+RenderAsText +
+RenderAsXML +
+RenderAsXPath +
+RendererUtils +
+ReplaceableController +
+ReplaceFunctionsWithStrings +
+ReplaceStringWithFunctions +
+RequestInfo +
+RequestInfoImpl +
+RequestPanel +
+RequestView +
+RequestViewHTTP +
+RequestViewRaw +
+ResetSearchCommand +
+ResponseAssertion +
+RespTimeGraphChart +
+RespTimeGraphDataBean +
+RespTimeGraphLineBean +
+RespTimeGraphVisualizer +
+ResultAction +
+ResultActionGui +
+ResultCollector +
+ResultCollectorHelper +
+ResultRenderer +
+ResultSaver +
+ResultSaverGui +
+RevertProject +
+RightAlignRenderer +
+RowDetailDialog +
+RunningSample +
+RunTime +
+RunTimeGui +
+Sample +
+SampleEvent +
+SampleEventConverter +
+SampleListener +
+SamplePackage +
+Sampler +
+SamplerCreator +
+SamplerCreatorFactory +
+SampleResult +
+SampleResultConverter +
+SamplerMetric +
+SamplerName +
+SamplerResultTab +
+SamplerResultTab.RowResult +
+SampleSaveConfiguration +
+SampleSaveConfigurationConverter +
+SampleSender +
+SampleSenderFactory +
+SamplingStatCalculator +
+Save +
+SaveGraphics +
+SaveGraphicsService +
+SavePropertyDialog +
+SaveService +
+ScopePanel +
+ScriptingBeanInfoSupport +
+ScriptingTestElement +
+ScriptWrapperConverter +
+Searchable +
+SearchByClass +
+Searcher +
+SearchTextExtension +
+SearchTreeCommand +
+SearchTreeDialog +
+SecuritySettingsPanel +
+SelectTemplatesDialog +
+SendMailCommand +
+ServerPanel +
+ServerPanel +
+SessionFilter +
+SetProperty +
+SetupThreadGroup +
+SetupThreadGroupGui +
+SharedCustomizer +
+SharedTCLogParser +
+ShutdownClient +
+SimpleConfigGui +
+SimpleDataWriter +
+SimpleVariable +
+SizeAssertion +
+SizeAssertionGui +
+SleepTest +
+SlowHC4SocketFactory +
+SlowHC4SSLSocketFactory +
+SlowHttpClientSocketFactory +
+SlowInputStream +
+SlowOutputStream +
+SlowSocket +
+SlowSSLSocket +
+SMIMEAssertionGui +
+SMIMEAssertionTestElement +
+SmtpPanel +
+SmtpSampler +
+SmtpSamplerGui +
+SoapSampler +
+SoapSamplerGui +
+SocketConnectionInfos +
+SocketOutputStream +
+SocketOutputStreamPoolFactory +
+SortedHashTree +
+Spline3 +
+SplineModel +
+SplineVisualizer +
+SplitFunction +
+SSLManager +
+SSLManagerCommand +
+StandardGenerator +
+StandardJMeterEngine +
+StandardSampleSender +
+Start +
+StatCalculator +
+StatCalculatorInteger +
+StatCalculatorLong +
+StatGraphProperties +
+StatGraphVisualizer +
+StatisticalSampleResult +
+StatisticalSampleSender +
+Stats +
+Status +
+StatusImpl +
+StatVisualizer +
+Stoppable +
+StopStoppables +
+StringFromFile +
+StringProperty +
+StringPropertyConverter +
+StringUtilities +
+SubscriberSampler +
+SubstitutionElement +
+Summariser +
+SummariserGui +
+SummaryReport +
+SwitchController +
+SwitchControllerGui +
+SynchronousTransportListener +
+SyncTimer +
+SyncTimerBeanInfo +
+SystemCommand +
+SystemSampler +
+SystemSamplerGui +
+TableEditor +
+TableSample +
+TableVisualizer +
+TableVisualizer.SampleSuccessFunctor +
+TCLogParser +
+TCPClient +
+TCPClientDecorator +
+TCPClientImpl +
+TCPConfigGui +
+TCPSampler +
+TCPSamplerGui +
+Template +
+TemplateManager +
+TemplatesCommand +
+TemporaryQueueExecutor +
+TestAction +
+TestActionGui +
+TestBean +
+TestBeanBeanInfo +
+TestBeanGUI +
+TestBeanHelper +
+TestBeanPropertyEditor +
+TestCloneable +
+TestCompiler +
+TestCompilerHelper +
+TestElement +
+TestElementConverter +
+TestElementProperty +
+TestElementPropertyConverter +
+TestElementTraverser +
+TestFragmentController +
+TestFragmentControllerGui +
+TestIterationListener +
+TestListener +
+TestPlan +
+TestPlanGui +
+TestPlanName +
+TestResultWrapper +
+TestResultWrapperConverter +
+TestStateListener +
+TextAreaCellRenderer +
+TextAreaEditor +
+TextAreaTableCellEditor +
+TextBoxDialoger +
+TextBoxDialoger.TextBoxDoubleClick +
+TextBoxDialoger.TextBoxDoubleClickPressed +
+TextFile +
+ThreadGroup +
+ThreadGroupGui +
+ThreadInfo +
+ThreadInfoImpl +
+ThreadListener +
+ThreadLocalRandom +
+ThreadNumber +
+ThroughputController +
+ThroughputControllerGui +
+TidyException +
+TimeFunction +
+Timer +
+ToolBar +
+TransactionController +
+TransactionControllerGui +
+TransactionSampler +
+TreeCloner +
+TreeClonerNoTimer +
+TreeNodeRenderer +
+TreeNodeWrapper +
+TreeTableModel +
+TristateCheckBox +
+TristateState +
+TrustAllSSLSocketFactory +
+TurnElementsOn +
+TypeEditor +
+UndoCommand +
+UndoHistory +
+UndoHistory.HistoryListener +
+UndoHistoryItem +
+UndoVariableReplacement +
+UnEscape +
+UnEscapeHtml +
+UniformRandomTimer +
+UniformRandomTimerGui +
+UnitTestManager +
+UnsharedComponent +
+URLCollection +
+UrlConfigGui +
+UrlDecode +
+UrlEncode +
+URLRewritingModifier +
+URLRewritingModifierGui +
+URLString +
+UserMetric +
+UserParameters +
+UserParametersGui +
+UserParameterXMLContentHandler +
+UserParameterXMLErrorHandler +
+UserParameterXMLParser +
+UserSequence +
+Utils +
+Uuid +
+ValueReplacer +
+Variable +
+VariablesCollection +
+VerticalLayout +
+VerticalPanel +
+ViewResultsFullVisualizer +
+Visualizer +
+WebServiceSampler +
+WebServiceSamplerGui +
+What +
+WhileController +
+WhileControllerGui +
+WorkBench +
+WorkBenchGui +
+Worker +
+WorkerImpl +
+Workers +
+WorkersImpl +
+WSDLException +
+WSDLHelper +
+XMLAssertion +
+XMLAssertionGui +
+XMLBuffer +
+XMLConfPanel +
+XMLDefaultMutableTreeNode +
+XMLSchemaAssertion +
+XMLSchemaAssertionGUI +
+XPath +
+XPathAssertion +
+XPathAssertionGui +
+XPathExtractor +
+XPathExtractorGui +
+XPathFileContainer +
+XPathPanel +
+XPathUtil +
+
+ + + diff --git a/docs/api/allclasses-noframe.html b/docs/api/allclasses-noframe.html new file mode 100644 index 00000000000..99c2a0fd6c1 --- /dev/null +++ b/docs/api/allclasses-noframe.html @@ -0,0 +1,1805 @@ + + + + + +All Classes (Apache JMeter API) + + + + + + + + + + +All Classes +
+ + + + + +
AboutCommand +
+AbstractAction +
+AbstractAssertionGui +
+AbstractBackendListenerClient +
+AbstractConfigGui +
+AbstractControllerGui +
+AbstractFunction +
+AbstractJavaSamplerClient +
+AbstractJDBCProcessor +
+AbstractJDBCTestElement +
+AbstractJMeterGuiComponent +
+AbstractListenerElement +
+AbstractListenerGui +
+AbstractPostProcessorGui +
+AbstractPreProcessorGui +
+AbstractProperty +
+AbstractRandomTimerGui +
+AbstractSampler +
+AbstractSamplerCreator +
+AbstractSamplerGui +
+AbstractSampleSender +
+AbstractScopedAssertion +
+AbstractScopedJMeterGuiComponent +
+AbstractScopedTestElement +
+AbstractTCPClient +
+AbstractTestElement +
+AbstractTestElementBeanInfo +
+AbstractThreadGroup +
+AbstractThreadGroupGui +
+AbstractTimerGui +
+AbstractTreeTableModel +
+AbstractVisualizer +
+AccessLogSampler +
+AccessLogSamplerBeanInfo +
+AccumListener +
+ActionNames +
+ActionRouter +
+AddParent +
+AddToTree +
+AjpSampler +
+AjpSamplerGui +
+Analyze +
+AnchorModifier +
+AnchorModifierGui +
+Argument +
+ArgumentDecoder +
+ArgumentEncoder +
+Arguments +
+ArgumentsPanel +
+Assertion +
+AssertionGui +
+AssertionResult +
+AssertionVisualizer +
+AsynchSampleSender +
+AuthManager +
+AuthManager.Mechanism +
+Authorization +
+AuthPanel +
+AxisGraph +
+BackendListener +
+BackendListenerClient +
+BackendListenerContext +
+BackendListenerGui +
+BarGraph +
+Base64Encoder +
+BaseJMSSampler +
+BatchSampleSender +
+BeanInfoSupport +
+BeanShell +
+BeanShellAssertion +
+BeanShellAssertionGui +
+BeanShellBeanInfoSupport +
+BeanShellClient +
+BeanShellInterpreter +
+BeanShellListener +
+BeanShellListenerBeanInfo +
+BeanShellPostProcessor +
+BeanShellPostProcessorBeanInfo +
+BeanShellPreProcessor +
+BeanShellPreProcessorBeanInfo +
+BeanShellSampler +
+BeanShellSamplerGui +
+BeanShellServer +
+BeanShellTestElement +
+BeanShellTimer +
+BeanShellTimerBeanInfo +
+BinaryTCPClientImpl +
+BooleanProperty +
+BooleanPropertyConverter +
+BooleanPropertyEditor +
+BSFAssertion +
+BSFAssertionBeanInfo +
+BSFBeanInfoSupport +
+BSFJavaScriptEngine +
+BSFListener +
+BSFListenerBeanInfo +
+BSFPostProcessor +
+BSFPostProcessorBeanInfo +
+BSFPreProcessor +
+BSFPreProcessorBeanInfo +
+BSFSampler +
+BSFSamplerBeanInfo +
+BSFTestElement +
+BSFTimer +
+BSFTimerBeanInfo +
+ButtonPanel +
+CacheManager +
+CacheManagerGui +
+CachingStatCalculator +
+Calculator +
+ChangeLanguage +
+ChangeParent +
+CharFunction +
+CheckDirty +
+ClassFinder +
+ClassTools +
+Clear +
+Clearable +
+ClearGui +
+ClientJMeterEngine +
+ClientPool +
+Close +
+CollapseExpand +
+CollectionProperty +
+ColorHelper +
+Colors +
+Command +
+CommentPanel +
+CompareAssertion +
+CompareAssertionBeanInfo +
+CompareAssertionResult +
+ComparisonVisualizer +
+ComponentUtil +
+CompoundVariable +
+ConfigElement +
+ConfigMergabilityIndicator +
+ConfigTestElement +
+Connector +
+ConnectorImpl +
+Constants +
+ConstantThroughputTimer +
+ConstantThroughputTimer.Mode +
+ConstantThroughputTimerBeanInfo +
+ConstantTimer +
+ConstantTimerGui +
+Controller +
+ConversionHelp +
+ConversionUtils +
+Converter +
+ConvertListeners +
+Cookie +
+CookieHandler +
+CookieManager +
+CookiePanel +
+Copy +
+CounterConfig +
+CounterConfigGui +
+CounterOutputStream +
+CPSPauser +
+CreateFunctionDialog +
+CriticalSectionController +
+CriticalSectionControllerGui +
+CSVDataSet +
+CSVDataSetBeanInfo +
+CSVRead +
+CSVSaveService +
+CustomX509TrustManager +
+Cut +
+Daemon +
+Data +
+DataSourceElement +
+DataSourceElementBeanInfo +
+DataStrippingSampleSender +
+DebugPostProcessor +
+DebugPostProcessorBeanInfo +
+DebugSampler +
+DebugSamplerBeanInfo +
+DefaultSamplerCreator +
+DefaultTreeTableModel +
+DiskStoreSampleSender +
+DistributedRunner +
+DistributionGraph +
+DistributionGraphVisualizer +
+DNSCacheManager +
+DNSCachePanel +
+Document +
+DOMPool +
+DoubleProperty +
+Duplicate +
+DurationAssertion +
+DurationAssertionGui +
+DynamicClassLoader +
+EditCommand +
+EnableComponent +
+EncoderCache +
+Entry +
+EscapeDialog +
+EscapeHtml +
+EscapeOroRegexpChars +
+EvalFunction +
+EvalResultHandler +
+EvalVarFunction +
+Example1 +
+Example2 +
+Example2BeanInfo +
+Example3 +
+Example3BeanInfo +
+ExampleSampler +
+ExampleSamplerGui +
+ExitCommand +
+Extractor +
+FileDialoger +
+FileEditor +
+FileListPanel +
+FilePanel +
+FilePanelEntry +
+FileReporter +
+FileRowColContainer +
+FileServer +
+FileToString +
+FileWrapper +
+Filter +
+FindTestElementsUpToRootTraverser +
+FixedQueueExecutor +
+FloatProperty +
+FocusRequester +
+ForeachController +
+ForeachControlPanel +
+FormCharSetFinder +
+FtpConfigGui +
+FTPSampler +
+FtpTestSamplerGui +
+Function +
+FunctionHelper +
+FunctionProperty +
+Functor +
+GaussianRandomTimer +
+GaussianRandomTimerGui +
+Generator +
+GenericController +
+GenericTestBeanCustomizer +
+Graph +
+GraphiteBackendListenerClient +
+GraphListener +
+GraphVisualizer +
+GUIFactory +
+GuiPackage +
+GuiUtils +
+HashTree +
+HashTreeConverter +
+HashTreeTraverser +
+HC3CookieHandler +
+HC4CookieHandler +
+HC4TrustAllSSLSocketFactory +
+Header +
+HeaderAsPropertyRenderer +
+HeaderManager +
+HeaderPanel +
+HeapDumper +
+Help +
+HoldSampleSender +
+HorizontalPanel +
+HTMLAssertion +
+HTMLAssertionGui +
+HtmlExtractor +
+HtmlExtractorGui +
+HtmlPane +
+HTMLParseError +
+HTMLParseException +
+HTMLParser +
+HtmlParsingUtils +
+HTTPAbstractImpl +
+HTTPArgument +
+HTTPArgumentsPanel +
+HttpClientDefaultParameters +
+HTTPConstants +
+HTTPConstantsInterface +
+HttpDefaultsGui +
+HTTPFileArg +
+HTTPFileArgs +
+HTTPFileArgsPanel +
+HTTPFileImpl +
+HTTPHC3Impl +
+HTTPHC4Impl +
+HTTPHC4Impl.HttpDelete +
+HTTPHCAbstractImpl +
+HTTPJavaImpl +
+HttpMirrorControl +
+HttpMirrorControlGui +
+HttpMirrorServer +
+HttpMirrorThread +
+HttpReplyHdr +
+HttpRequestHdr +
+HTTPResultConverter +
+HTTPSampler +
+HTTPSampler2 +
+HTTPSamplerBase +
+HTTPSamplerBase.SourceType +
+HTTPSamplerBaseBeanInfo +
+HTTPSamplerBaseConverter +
+HTTPSampleResult +
+HTTPSamplerFactory +
+HTTPSamplerProxy +
+HttpSSLProtocolSocketFactory +
+HttpTestSampleGui +
+HttpWebdav +
+IconToolbarBean +
+IfController +
+IfControllerPanel +
+IllegalUserActionException +
+ImageVisualizer +
+IncludeController +
+IncludeControllerGui +
+InitialContextFactory +
+IntegerProperty +
+IntegerPropertyConverter +
+IntegerPropertyEditor +
+InterleaveControl +
+InterleaveControlGui +
+Interruptible +
+IntSum +
+InvalidVariableException +
+IterationCounter +
+JavaConfig +
+JavaConfigGui +
+JavaSampler +
+JavaSamplerClient +
+JavaSamplerContext +
+JavaScript +
+JavaTest +
+JavaTestSamplerGui +
+JDateField +
+JDBCPostProcessor +
+JDBCPostProcessorBeanInfo +
+JDBCPreProcessor +
+JDBCPreProcessorBeanInfo +
+JDBCSampler +
+JDBCSamplerBeanInfo +
+JDBCTestElementBeanInfoSupport +
+Jexl2Function +
+JexlFunction +
+JLabeledChoice +
+JLabeledField +
+JLabeledPasswordField +
+JLabeledRadioI18N +
+JLabeledTextArea +
+JLabeledTextField +
+JMeter +
+JMeterCellRenderer +
+JMeterColor +
+JMeterContext +
+JMeterContextService +
+JMeterContextService.ThreadCounts +
+JMeterEngine +
+JMeterEngineException +
+JMeterError +
+JMeterException +
+JMeterFileFilter +
+JMeterGUIComponent +
+JmeterKeyStore +
+JMeterMenuBar +
+JMeterPlugin +
+JMeterProperty +
+JMeterStopTestException +
+JMeterStopTestNowException +
+JMeterStopThreadException +
+JMeterThread +
+JMeterThreadMonitor +
+JMeterToolBar +
+JMeterTreeListener +
+JMeterTreeModel +
+JMeterTreeNode +
+JMeterTreeNodeTransferable +
+JMeterTreeTransferHandler +
+JMeterUtils +
+JMeterVariables +
+JMeterVersion +
+JMSProperties +
+JMSPropertiesPanel +
+JMSProperty +
+JMSPublisherGui +
+JMSSampler +
+JMSSamplerGui +
+JMSSubscriberGui +
+JoddExtractor +
+JOrphanUtils +
+JsoupBasedHtmlParser +
+JSoupExtractor +
+JSR223Assertion +
+JSR223AssertionBeanInfo +
+JSR223BeanInfoSupport +
+JSR223Listener +
+JSR223ListenerBeanInfo +
+JSR223PostProcessor +
+JSR223PostProcessorBeanInfo +
+JSR223PreProcessor +
+JSR223PreProcessorBeanInfo +
+JSR223Sampler +
+JSR223SamplerBeanInfo +
+JSR223TestElement +
+JSR223Timer +
+JSR223TimerBeanInfo +
+JsseSSLManager +
+JSyntaxTextArea +
+JTextScrollPane +
+JTreeTable +
+JUnitSampler +
+JUnitTestSamplerGui +
+Jvm +
+JvmImpl +
+KerberosManager +
+KeystoreConfig +
+KeystoreConfigBeanInfo +
+KeyStrokes +
+KeyToolUtils +
+LagartoBasedHtmlParser +
+LDAPArgument +
+LDAPArguments +
+LDAPArgumentsPanel +
+LdapClient +
+LdapConfigGui +
+LdapExtClient +
+LdapExtConfigGui +
+LDAPExtSampler +
+LdapExtTestSamplerGui +
+LDAPSampler +
+LdapTestSamplerGui +
+LengthPrefixedBinaryTCPClientImpl +
+LineGraph +
+ListedHashTree +
+ListenerNotifier +
+ListenerResultWrapper +
+Load +
+LoadDraggedFile +
+LoadRecentProject +
+LocaleChangeEvent +
+LocaleChangeListener +
+LocalTrustStoreSSLSocketFactory +
+LogFilter +
+LogFunction +
+LogFunction2 +
+LoggerPanel +
+LoggerPanelEnableDisable +
+LoggingManager +
+LogicControllerGui +
+LoginConfig +
+LoginConfigGui +
+LogParser +
+LongProperty +
+LongPropertyConverter +
+LongPropertyEditor +
+LongSum +
+LookAndFeelCommand +
+LoopbackHttpClientSocketFactory +
+LoopbackHTTPSocket +
+LoopController +
+LoopControlPanel +
+LoopIterationEvent +
+LoopIterationListener +
+MachineIP +
+MachineName +
+MailerModel +
+MailerModel.MailAuthType +
+MailerResultCollector +
+MailerVisualizer +
+MailFileFolder +
+MailFileMessage +
+MailFileStore +
+MailReaderSampler +
+MailReaderSamplerGui +
+MainFrame +
+MapProperty +
+MD5HexAssertion +
+MD5HexAssertionGUI +
+MeasuringConnectionManager +
+Memory +
+MemoryBenchmark +
+MemoryImpl +
+MenuCreator +
+MenuCreator.MENU_LOCATION +
+MenuFactory +
+MenuInfo +
+MenuScroller +
+MessageAdmin +
+ModuleController +
+ModuleControllerGui +
+MongoDB +
+MongoDBHolder +
+MongoScriptRunner +
+MongoScriptSampler +
+MongoScriptSamplerBeanInfo +
+MongoSourceElement +
+MongoSourceElementBeanInfo +
+MongoUtils +
+MonitorAccumModel +
+MonitorGraph +
+MonitorGuiListener +
+MonitorHandler +
+MonitorHealthPanel +
+MonitorHealthVisualizer +
+MonitorListener +
+MonitorModel +
+MonitorPerformancePanel +
+MonitorStats +
+MonitorTabPane +
+Move +
+MultipartUrlConfig +
+MultipartUrlConfigGui +
+MultiProperty +
+MultiPropertyConverter +
+NamedObject +
+NamedTreeNode +
+NamePanel +
+NameUpdater +
+NativeCommand +
+NewDriver +
+NextIsNullException +
+NoConfigMerge +
+NoThreadClone +
+NullProperty +
+NumberComparator +
+NumberFieldErrorListener +
+NumberProperty +
+NumberRenderer +
+NVPair +
+ObjectFactory +
+ObjectFactory.MonitorParser +
+ObjectProperty +
+ObjectTableModel +
+ObsoleteGui +
+OldSaveService +
+OnceOnlyController +
+OnceOnlyControllerGui +
+OnErrorPanel +
+OnErrorTestElement +
+OrderPreservingLogParser +
+ParamMask +
+ParamModifier +
+ParamModifierGui +
+Parser +
+ParserImpl +
+PasswordEditor +
+Paste +
+PluginManager +
+PoissonRandomTimer +
+PoissonRandomTimerGui +
+PostProcessor +
+PostThreadGroup +
+PostThreadGroupGui +
+PostWriter +
+PowerTableModel +
+PreCompiler +
+PreProcessor +
+Printable +
+PropertiesBasedPrefixResolver +
+Property +
+Property2 +
+PropertyControlGui +
+PropertyIterator +
+PropertyIteratorImpl +
+Proxy +
+ProxyAuthenticator +
+ProxyControl +
+ProxyControl.KeystoreMode +
+ProxyControlGui +
+Publisher +
+PublisherSampler +
+PutWriter +
+QueueExecutor +
+Random +
+RandomControlGui +
+RandomController +
+RandomOrderController +
+RandomOrderControllerGui +
+RandomString +
+RandomTimer +
+RandomVariableConfig +
+RandomVariableConfigBeanInfo +
+RateRenderer +
+RawTextSearcher +
+ReadException +
+Receiver +
+ReceiveSubscriber +
+RecordController +
+RecordingController +
+RegexExtractor +
+RegexExtractorGui +
+RegexFunction +
+RegexpSearcher +
+RegExUserParameters +
+RegExUserParametersGui +
+Remoteable +
+RemoteJMeterEngine +
+RemoteJMeterEngineImpl +
+RemoteListenerWrapper +
+RemoteSampleListener +
+RemoteSampleListenerImpl +
+RemoteSampleListenerWrapper +
+RemoteStart +
+RemoteTestListenerWrapper +
+RemoteThreadsLifeCycleListener +
+RemoteThreadsListener +
+RemoteThreadsListenerImpl +
+RemoteThreadsListenerTestElement +
+RemoteThreadsListenerWrapper +
+Remove +
+RenderAsCssJQuery +
+RenderAsDocument +
+RenderAsHTML +
+RenderAsHTMLWithEmbedded +
+RenderAsJSON +
+RenderAsRegexp +
+RenderAsText +
+RenderAsXML +
+RenderAsXPath +
+RendererUtils +
+ReplaceableController +
+ReplaceFunctionsWithStrings +
+ReplaceStringWithFunctions +
+RequestInfo +
+RequestInfoImpl +
+RequestPanel +
+RequestView +
+RequestViewHTTP +
+RequestViewRaw +
+ResetSearchCommand +
+ResponseAssertion +
+RespTimeGraphChart +
+RespTimeGraphDataBean +
+RespTimeGraphLineBean +
+RespTimeGraphVisualizer +
+ResultAction +
+ResultActionGui +
+ResultCollector +
+ResultCollectorHelper +
+ResultRenderer +
+ResultSaver +
+ResultSaverGui +
+RevertProject +
+RightAlignRenderer +
+RowDetailDialog +
+RunningSample +
+RunTime +
+RunTimeGui +
+Sample +
+SampleEvent +
+SampleEventConverter +
+SampleListener +
+SamplePackage +
+Sampler +
+SamplerCreator +
+SamplerCreatorFactory +
+SampleResult +
+SampleResultConverter +
+SamplerMetric +
+SamplerName +
+SamplerResultTab +
+SamplerResultTab.RowResult +
+SampleSaveConfiguration +
+SampleSaveConfigurationConverter +
+SampleSender +
+SampleSenderFactory +
+SamplingStatCalculator +
+Save +
+SaveGraphics +
+SaveGraphicsService +
+SavePropertyDialog +
+SaveService +
+ScopePanel +
+ScriptingBeanInfoSupport +
+ScriptingTestElement +
+ScriptWrapperConverter +
+Searchable +
+SearchByClass +
+Searcher +
+SearchTextExtension +
+SearchTreeCommand +
+SearchTreeDialog +
+SecuritySettingsPanel +
+SelectTemplatesDialog +
+SendMailCommand +
+ServerPanel +
+ServerPanel +
+SessionFilter +
+SetProperty +
+SetupThreadGroup +
+SetupThreadGroupGui +
+SharedCustomizer +
+SharedTCLogParser +
+ShutdownClient +
+SimpleConfigGui +
+SimpleDataWriter +
+SimpleVariable +
+SizeAssertion +
+SizeAssertionGui +
+SleepTest +
+SlowHC4SocketFactory +
+SlowHC4SSLSocketFactory +
+SlowHttpClientSocketFactory +
+SlowInputStream +
+SlowOutputStream +
+SlowSocket +
+SlowSSLSocket +
+SMIMEAssertionGui +
+SMIMEAssertionTestElement +
+SmtpPanel +
+SmtpSampler +
+SmtpSamplerGui +
+SoapSampler +
+SoapSamplerGui +
+SocketConnectionInfos +
+SocketOutputStream +
+SocketOutputStreamPoolFactory +
+SortedHashTree +
+Spline3 +
+SplineModel +
+SplineVisualizer +
+SplitFunction +
+SSLManager +
+SSLManagerCommand +
+StandardGenerator +
+StandardJMeterEngine +
+StandardSampleSender +
+Start +
+StatCalculator +
+StatCalculatorInteger +
+StatCalculatorLong +
+StatGraphProperties +
+StatGraphVisualizer +
+StatisticalSampleResult +
+StatisticalSampleSender +
+Stats +
+Status +
+StatusImpl +
+StatVisualizer +
+Stoppable +
+StopStoppables +
+StringFromFile +
+StringProperty +
+StringPropertyConverter +
+StringUtilities +
+SubscriberSampler +
+SubstitutionElement +
+Summariser +
+SummariserGui +
+SummaryReport +
+SwitchController +
+SwitchControllerGui +
+SynchronousTransportListener +
+SyncTimer +
+SyncTimerBeanInfo +
+SystemCommand +
+SystemSampler +
+SystemSamplerGui +
+TableEditor +
+TableSample +
+TableVisualizer +
+TableVisualizer.SampleSuccessFunctor +
+TCLogParser +
+TCPClient +
+TCPClientDecorator +
+TCPClientImpl +
+TCPConfigGui +
+TCPSampler +
+TCPSamplerGui +
+Template +
+TemplateManager +
+TemplatesCommand +
+TemporaryQueueExecutor +
+TestAction +
+TestActionGui +
+TestBean +
+TestBeanBeanInfo +
+TestBeanGUI +
+TestBeanHelper +
+TestBeanPropertyEditor +
+TestCloneable +
+TestCompiler +
+TestCompilerHelper +
+TestElement +
+TestElementConverter +
+TestElementProperty +
+TestElementPropertyConverter +
+TestElementTraverser +
+TestFragmentController +
+TestFragmentControllerGui +
+TestIterationListener +
+TestListener +
+TestPlan +
+TestPlanGui +
+TestPlanName +
+TestResultWrapper +
+TestResultWrapperConverter +
+TestStateListener +
+TextAreaCellRenderer +
+TextAreaEditor +
+TextAreaTableCellEditor +
+TextBoxDialoger +
+TextBoxDialoger.TextBoxDoubleClick +
+TextBoxDialoger.TextBoxDoubleClickPressed +
+TextFile +
+ThreadGroup +
+ThreadGroupGui +
+ThreadInfo +
+ThreadInfoImpl +
+ThreadListener +
+ThreadLocalRandom +
+ThreadNumber +
+ThroughputController +
+ThroughputControllerGui +
+TidyException +
+TimeFunction +
+Timer +
+ToolBar +
+TransactionController +
+TransactionControllerGui +
+TransactionSampler +
+TreeCloner +
+TreeClonerNoTimer +
+TreeNodeRenderer +
+TreeNodeWrapper +
+TreeTableModel +
+TristateCheckBox +
+TristateState +
+TrustAllSSLSocketFactory +
+TurnElementsOn +
+TypeEditor +
+UndoCommand +
+UndoHistory +
+UndoHistory.HistoryListener +
+UndoHistoryItem +
+UndoVariableReplacement +
+UnEscape +
+UnEscapeHtml +
+UniformRandomTimer +
+UniformRandomTimerGui +
+UnitTestManager +
+UnsharedComponent +
+URLCollection +
+UrlConfigGui +
+UrlDecode +
+UrlEncode +
+URLRewritingModifier +
+URLRewritingModifierGui +
+URLString +
+UserMetric +
+UserParameters +
+UserParametersGui +
+UserParameterXMLContentHandler +
+UserParameterXMLErrorHandler +
+UserParameterXMLParser +
+UserSequence +
+Utils +
+Uuid +
+ValueReplacer +
+Variable +
+VariablesCollection +
+VerticalLayout +
+VerticalPanel +
+ViewResultsFullVisualizer +
+Visualizer +
+WebServiceSampler +
+WebServiceSamplerGui +
+What +
+WhileController +
+WhileControllerGui +
+WorkBench +
+WorkBenchGui +
+Worker +
+WorkerImpl +
+Workers +
+WorkersImpl +
+WSDLException +
+WSDLHelper +
+XMLAssertion +
+XMLAssertionGui +
+XMLBuffer +
+XMLConfPanel +
+XMLDefaultMutableTreeNode +
+XMLSchemaAssertion +
+XMLSchemaAssertionGUI +
+XPath +
+XPathAssertion +
+XPathAssertionGui +
+XPathExtractor +
+XPathExtractorGui +
+XPathFileContainer +
+XPathPanel +
+XPathUtil +
+
+ + + diff --git a/docs/api/constant-values.html b/docs/api/constant-values.html new file mode 100644 index 00000000000..1481639a3a7 --- /dev/null +++ b/docs/api/constant-values.html @@ -0,0 +1,5516 @@ + + + + + +Constant Field Values (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Constant Field Values

+
+
+Contents + + + + + + +
+org.apache.*
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
org.apache.jmeter.JMeter
+public static final StringHTTP_PROXY_PASS"http.proxyPass"
+public static final StringHTTP_PROXY_USER"http.proxyUser"
+public static final StringJMETER_NON_GUI"JMeter.NonGui"
+public static final intUDP_PORT_DEFAULT4445
+ +

+ +

+ + + + + + + + + + + + +
org.apache.jmeter.assertions.AssertionResult
+public static final StringRESPONSE_WAS_NULL"Response was null"
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
org.apache.jmeter.assertions.BeanShellAssertion
+public static final StringFILENAME"BeanShellAssertion.filename"
+public static final StringINIT_FILE"beanshell.assertion.init"
+public static final StringPARAMETERS"BeanShellAssertion.parameters"
+public static final StringRESET_INTERPRETER"BeanShellAssertion.resetInterpreter"
+public static final StringSCRIPT"BeanShellAssertion.query"
+ +

+ +

+ + + + + + + + + + + + +
org.apache.jmeter.assertions.DurationAssertion
+public static final StringDURATION_KEY"DurationAssertion.duration"
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
org.apache.jmeter.assertions.HTMLAssertion
+public static final StringDEFAULT_DOCTYPE"omit"
+public static final StringDOCTYPE_KEY"html_assertion_doctype"
+public static final StringERROR_THRESHOLD_KEY"html_assertion_error_threshold"
+public static final StringERRORS_ONLY_KEY"html_assertion_errorsonly"
+public static final StringFILENAME_KEY"html_assertion_filename"
+public static final StringFORMAT_KEY"html_assertion_format"
+public static final StringWARNING_THRESHOLD_KEY"html_assertion_warning_threshold"
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
org.apache.jmeter.assertions.SizeAssertion
+public static final intEQUAL1
+public static final intGREATERTHAN3
+public static final intGREATERTHANEQUAL5
+public static final intLESSTHAN4
+public static final intLESSTHANEQUAL6
+public static final intNOTEQUAL2
+ +

+ +

+ + + + + + + + + + + + + + + + + +
org.apache.jmeter.assertions.SubstitutionElement
+public static final StringREGEX"regex"
+public static final StringSUBSTITUTE"substitute"
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
org.apache.jmeter.assertions.XMLSchemaAssertion
+public static final StringFILE_NAME_IS_REQUIRED"FileName is required"
+public static final StringJAXP_SCHEMA_LANGUAGE"http://java.sun.com/xml/jaxp/properties/schemaLanguage"
+public static final StringJAXP_SCHEMA_SOURCE"http://java.sun.com/xml/jaxp/properties/schemaSource"
+public static final StringW3C_XML_SCHEMA"http://www.w3.org/2001/XMLSchema"
+public static final StringXSD_FILENAME_KEY"xmlschema_assertion_filename"
+ +

+ +

+ + + + + + + + + + + + +
org.apache.jmeter.assertions.XPathAssertion
+public static final StringDEFAULT_XPATH"/"
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
org.apache.jmeter.config.Argument
+public static final StringARG_NAME"Argument.name"
+public static final StringDESCRIPTION"Argument.desc"
+public static final StringMETADATA"Argument.metadata"
+public static final StringVALUE"Argument.value"
+ +

+ +

+ + + + + + + + + + + + +
org.apache.jmeter.config.Arguments
+public static final StringARGUMENTS"Arguments.arguments"
+ +

+ +

+ + + + + + + + + + + + + + + + + +
org.apache.jmeter.config.ConfigTestElement
+public static final StringPASSWORD"ConfigTestElement.password"
+public static final StringUSERNAME"ConfigTestElement.username"
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + +
org.apache.jmeter.config.gui.ArgumentsPanel
+public static final StringCOLUMN_RESOURCE_NAMES_0"name"
+public static final StringCOLUMN_RESOURCE_NAMES_1"value"
+public static final StringCOLUMN_RESOURCE_NAMES_2"description"
+ +

+ +

+ + + + + + + + + + + + + + + + + +
org.apache.jmeter.control.InterleaveControl
+public static final intIGNORE_SUB_CONTROLLERS0
+public static final intUSE_SUB_CONTROLLERS1
+ +

+ +

+ + + + + + + + + + + + + + + + + +
org.apache.jmeter.control.LoopController
+public static final intINFINITE_LOOP_COUNT-1
+public static final StringLOOPS"LoopController.loops"
+ +

+ +

+ + + + + + + + + + + + + + + + + +
org.apache.jmeter.control.ThroughputController
+public static final intBYNUMBER0
+public static final intBYPERCENT1
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + +
org.apache.jmeter.engine.DistributedRunner
+public static final StringCONTINUE_ON_FAIL"client.continue_on_fail"
+public static final StringRETRIES_DELAY"client.retries_delay"
+public static final StringRETRIES_NUMBER"client.tries"
+ +

+ +

+ + + + + + + + + + + + +
org.apache.jmeter.examples.sampler.ExampleSampler
+public static final StringDATA"ExampleSampler.data"
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + +
org.apache.jmeter.extractor.HtmlExtractor
+public static final StringDEFAULT_EXTRACTOR""
+public static final StringEXTRACTOR_JODD"JODD"
+public static final StringEXTRACTOR_JSOUP"JSOUP"
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
org.apache.jmeter.extractor.RegexExtractor
+public static final StringUSE_BODY"false"
+public static final StringUSE_BODY_AS_DOCUMENT"as_document"
+public static final StringUSE_BODY_UNESCAPED"unescaped"
+public static final StringUSE_CODE"code"
+public static final StringUSE_HDRS"true"
+public static final StringUSE_MESSAGE"message"
+public static final StringUSE_REQUEST_HDRS"request_headers"
+public static final StringUSE_URL"URL"
+ +

+ +

+ + + + + + + + + + + + +
org.apache.jmeter.functions.BeanShell
+public static final StringINIT_FILE"beanshell.function.init"
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + +
org.apache.jmeter.functions.RegexFunction
+public static final StringALL"ALL"
+public static final StringKEY"__regexFunction"
+public static final StringRAND"RAND"
+ +

+ +

+ + + + + + + + + + + + +
org.apache.jmeter.gui.MainFrame
+public static final StringLOCAL"*local*"
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
org.apache.jmeter.gui.action.ActionNames
+public static final StringABOUT"about"
+public static final StringACTION_SHUTDOWN"shutdown"
+public static final StringACTION_START"start"
+public static final StringACTION_START_NO_TIMERS"start_no_timers"
+public static final StringACTION_STOP"stop"
+public static final StringADD"Add"
+public static final StringADD_ALL"add_all"
+public static final StringADD_PARENT"Add Parent"
+public static final StringANALYZE_FILE"Analyze File"
+public static final StringCHANGE_LANGUAGE"change_language"
+public static final StringCHANGE_PARENT"Change Parent"
+public static final StringCHECK_DIRTY"check_dirty"
+public static final StringCHECK_REMOVE"check_remove"
+public static final StringCLEAR"action.clear"
+public static final StringCLEAR_ALL"action.clear_all"
+public static final StringCLOSE"close"
+public static final StringCOLLAPSE_ALL"collapse all"
+public static final StringCOPY"Copy"
+public static final StringCUT"Cut"
+public static final StringDEBUG_OFF"debug_off"
+public static final StringDEBUG_ON"debug_on"
+public static final StringDISABLE"disable"
+public static final StringDUPLICATE"duplicate"
+public static final StringEDIT"edit"
+public static final StringENABLE"enable"
+public static final StringEXIT"exit"
+public static final StringEXPAND_ALL"expand all"
+public static final StringFUNCTIONS"functions"
+public static final StringHEAP_DUMP"heap_dump"
+public static final StringHELP"help"
+public static final StringLAF_PREFIX"laf:"
+public static final StringLOGGER_PANEL_ENABLE_DISABLE"logger_panel_enable_disable"
+public static final StringMERGE"merge"
+public static final StringMOVE_DOWN"move_down"
+public static final StringMOVE_LEFT"move_left"
+public static final StringMOVE_RIGHT"move_right"
+public static final StringMOVE_UP"move_up"
+public static final StringOPEN"open"
+public static final StringOPEN_RECENT"open_recent"
+public static final StringPASTE"Paste"
+public static final StringREDO"redo"
+public static final StringREMOTE_EXIT"remote_exit"
+public static final StringREMOTE_EXIT_ALL"remote_exit_all"
+public static final StringREMOTE_SHUT"remote_shut"
+public static final StringREMOTE_SHUT_ALL"remote_shut_all"
+public static final StringREMOTE_START"remote_start"
+public static final StringREMOTE_START_ALL"remote_start_all"
+public static final StringREMOTE_STOP"remote_stop"
+public static final StringREMOTE_STOP_ALL"remote_stop_all"
+public static final StringREMOVE"remove"
+public static final StringRESET_GUI"reset_gui"
+public static final StringREVERT_PROJECT"revert_project"
+public static final StringSAVE"save"
+public static final StringSAVE_ALL_AS"save_all_as"
+public static final StringSAVE_AS"save_as"
+public static final StringSAVE_AS_TEST_FRAGMENT"save_as_test_fragment"
+public static final StringSAVE_GRAPHICS"save_graphics"
+public static final StringSAVE_GRAPHICS_ALL"save_graphics_all"
+public static final StringSEARCH_RESET"search_reset"
+public static final StringSEARCH_TREE"search_tree"
+public static final StringSSL_MANAGER"sslManager"
+public static final StringSTOP_THREAD"stop_thread"
+public static final StringSUB_TREE_LOADED"sub_tree_loaded"
+public static final StringSUB_TREE_MERGED"sub_tree_merged"
+public static final StringSUB_TREE_SAVED"sub_tree_saved"
+public static final StringTEMPLATES"templates"
+public static final StringTOGGLE"toggle"
+public static final StringTOOLBAR"toolbar"
+public static final StringUNDO"undo"
+public static final StringWHAT_CLASS"what_class"
+ +

+ +

+ + + + + + + + + + + + +
org.apache.jmeter.gui.action.Save
+public static final StringJMX_FILE_EXTENSION".jmx"
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
org.apache.jmeter.gui.util.ButtonPanel
+public static final intADD_BUTTON1
+public static final intDELETE_BUTTON3
+public static final intEDIT_BUTTON2
+public static final intLOAD_BUTTON4
+public static final intSAVE_BUTTON5
+ +

+ +

+ + + + + + + + + + + + + + + + + +
org.apache.jmeter.gui.util.JMeterMenuBar
+public static final StringCROSS_PLATFORM_LAF"CrossPlatform"
+public static final StringSYSTEM_LAF"System"
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
org.apache.jmeter.gui.util.JMeterToolBar
+protected static final StringDEFAULT_TOOLBAR_ICON_SIZE"22x22"
+protected static final StringDEFAULT_TOOLBAR_PROPERTY_FILE"org/apache/jmeter/images/toolbar/icons-toolbar.properties"
+protected static final StringTOOLBAR_ICON_SIZE"jmeter.toolbar.icons.size"
+protected static final StringUSER_DEFINED_TOOLBAR_PROPERTY_FILE"jmeter.toolbar.icons"
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
org.apache.jmeter.gui.util.MenuFactory
+public static final StringASSERTIONS"menu_assertions"
+public static final StringCONFIG_ELEMENTS"menu_config_element"
+public static final StringCONTROLLERS"menu_logic_controller"
+public static final StringFRAGMENTS"menu_fragments"
+public static final StringLISTENERS"menu_listener"
+public static final StringNON_TEST_ELEMENTS"menu_non_test_elements"
+public static final StringPOST_PROCESSORS"menu_post_processors"
+public static final StringPRE_PROCESSORS"menu_pre_processors"
+public static final StringSAMPLERS"menu_generative_controller"
+public static final StringTHREADS"menu_threads"
+public static final StringTIMERS"menu_timer"
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + +
org.apache.jmeter.modifiers.UserParameters
+public static final StringNAMES"UserParameters.names"
+public static final StringPER_ITERATION"UserParameters.per_iteration"
+public static final StringTHREAD_VALUES"UserParameters.thread_values"
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
org.apache.jmeter.monitor.parser.Constants
+public static final StringATTRIBUTE_NAME"name"
+public static final StringBYTESRECEIVED"bytesReceived"
+public static final StringBYTESSENT"bytesSent"
+public static final StringCONNECTOR"connector"
+public static final StringCURRENTBUSYTHREADS"currentThreadsBusy"
+public static final StringCURRENTQUERYSTRING"currentQueryString"
+public static final StringCURRENTTHREADCOUNT"currentThreadCount"
+public static final StringCURRENTURI"currentUri"
+public static final StringERRORCOUNT"errorCount="
+public static final StringJVM"jvm"
+public static final StringMAXSPARETHREADS"maxSpareThreads"
+public static final StringMAXTHREADS"maxThreads"
+public static final StringMAXTIME"maxTime="
+public static final StringMEMORY"memory"
+public static final StringMEMORY_FREE"free"
+public static final StringMEMORY_MAX"max"
+public static final StringMEMORY_TOTAL"total"
+public static final StringMETHOD"method"
+public static final StringMINSPARETHREADS"minSpareThreads"
+public static final StringPROCESSINGTIME"processingTime="
+public static final StringPROTOCOL"protocol"
+public static final StringREMOTEADDR"remoteAddr"
+public static final StringREQUESTBYTESRECEIVED"requestBytesReceived"
+public static final StringREQUESTBYTESSENT"requestBytesSent"
+public static final StringREQUESTCOUNT"requestCount"
+public static final StringREQUESTINFO"requestInfo"
+public static final StringREQUESTPROCESSINGTIME"requestProcessingTime="
+public static final StringSTAGE"stage"
+public static final StringSTATUS"status"
+public static final StringTHREADINFO"threadInfo"
+public static final StringVIRTUALHOST"virtualHost"
+public static final StringWORKER"worker"
+public static final StringWORKERS"workers"
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
org.apache.jmeter.monitor.util.Stats
+public static final intACTIVE2
+public static final doubleACTIVE_PER0.25
+public static final intDEAD0
+public static final intDEFAULT_MEMORY_FACTOR50
+public static final intDEFAULT_THREAD_FACTOR50
+public static final intHEALTHY3
+public static final doubleHEALTHY_PER0.0
+public static final intWARNING1
+public static final doubleWARNING_PER0.67
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
org.apache.jmeter.protocol.ftp.sampler.FTPSampler
+public static final StringBINARY_MODE"FTPSampler.binarymode"
+public static final StringINPUT_DATA"FTPSampler.inputdata"
+public static final StringLOCAL_FILENAME"FTPSampler.localfilename"
+public static final StringPORT"FTPSampler.port"
+public static final StringREMOTE_FILENAME"FTPSampler.filename"
+public static final StringSAVE_RESPONSE"FTPSampler.saveresponse"
+public static final StringSERVER"FTPSampler.server"
+public static final StringUPLOAD_FILE"FTPSampler.upload"
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
org.apache.jmeter.protocol.http.control.AuthManager
+public static final intCOL_DOMAIN3
+public static final intCOL_MECHANISM5
+public static final intCOL_PASSWORD2
+public static final intCOL_REALM4
+public static final intCOL_URL0
+public static final intCOL_USERNAME1
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + +
org.apache.jmeter.protocol.http.control.CacheManager
+public static final StringCLEAR"clearEachIteration"
+public static final StringMAX_SIZE"maxSize"
+public static final StringUSE_EXPIRES"useExpires"
+ +

+ +

+ + + + + + + + + + + + +
org.apache.jmeter.protocol.http.control.CookieManager
+public static final StringDEFAULT_POLICY"compatibility"
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
org.apache.jmeter.protocol.http.control.DNSCacheManager
+public static final StringCLEAR_CACHE_EACH_ITER"DNSCacheManager.clearEachIteration"
+public static final booleanDEFAULT_CLEAR_CACHE_EACH_ITERfalse
+public static final booleanDEFAULT_IS_CUSTOM_RESOLVERfalse
+public static final StringDEFAULT_SERVERS""
+public static final StringIS_CUSTOM_RESOLVER"DNSCacheManager.isCustomResolver"
+public static final StringSERVERS"DNSCacheManager.servers"
+ +

+ +

+ + + + + + + + + + + + +
org.apache.jmeter.protocol.http.control.HeaderManager
+public static final StringHEADERS"HeaderManager.headers"
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
org.apache.jmeter.protocol.http.control.HttpMirrorControl
+public static final intDEFAULT_MAX_POOL_SIZE0
+public static final intDEFAULT_MAX_QUEUE_SIZE25
+public static final StringMAX_POOL_SIZE"HttpMirrorControlGui.maxPoolSize"
+public static final StringMAX_QUEUE_SIZE"HttpMirrorControlGui.maxQueueSize"
+public static final StringPORT"HttpMirrorControlGui.port"
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + +
org.apache.jmeter.protocol.http.modifier.RegExUserParameters
+public static final StringREG_EX_PARAM_NAMES_GR_NR"RegExUserParameters.param_names_gr_nr"
+public static final StringREG_EX_PARAM_VALUES_GR_NR"RegExUserParameters.param_values_gr_nr"
+public static final StringREG_EX_REF_NAME"RegExUserParameters.regex_ref_name"
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
org.apache.jmeter.protocol.http.parser.HTMLParser
+protected static final StringATT_BACKGROUND"background"
+protected static final StringATT_CODE"code"
+protected static final StringATT_CODEBASE"codebase"
+protected static final StringATT_DATA"data"
+protected static final StringATT_HREF"href"
+protected static final StringATT_IS_IMAGE"image"
+protected static final StringATT_REL"rel"
+protected static final StringATT_SRC"src"
+protected static final StringATT_STYLE"style"
+protected static final StringATT_TYPE"type"
+public static final StringDEFAULT_PARSER"org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser"
+protected static final StringIE_UA"MSIE ([0-9]+.[0-9]+)"
+public static final StringPARSER_CLASSNAME"htmlParser.className"
+protected static final StringSTYLESHEET"stylesheet"
+protected static final StringTAG_APPLET"applet"
+protected static final StringTAG_BASE"base"
+protected static final StringTAG_BGSOUND"bgsound"
+protected static final StringTAG_BODY"body"
+protected static final StringTAG_EMBED"embed"
+protected static final StringTAG_FRAME"frame"
+protected static final StringTAG_IFRAME"iframe"
+protected static final StringTAG_IMAGE"img"
+protected static final StringTAG_INPUT"input"
+protected static final StringTAG_LINK"link"
+protected static final StringTAG_OBJECT"object"
+protected static final StringTAG_SCRIPT"script"
+ +

+ +

+ + + + + + + + + + + + + + + + + +
org.apache.jmeter.protocol.http.proxy.AbstractSamplerCreator
+protected static final StringHTTP"http"
+protected static final StringHTTPS"https"
+ +

+ +

+ + + + + + + + + + + + + + + + + +
org.apache.jmeter.protocol.http.proxy.HttpRequestHdr
+public static final StringCONTENT_LENGTH"content-length"
+public static final StringCONTENT_TYPE"content-type"
+ +

+ +

+ + + + + + + + + + + + +
org.apache.jmeter.protocol.http.proxy.ProxyControl
+public static final intDEFAULT_PORT8080
+ +

+ +

+ + + + + + + + + + + + +
org.apache.jmeter.protocol.http.sampler.AccessLogSampler
+public static final StringDEFAULT_CLASS"org.apache.jmeter.protocol.http.util.accesslog.TCLogParser"
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase
+public static final StringARGUMENTS"HTTPsampler.Arguments"
+public static final StringAUTH_MANAGER"HTTPSampler.auth_manager"
+public static final StringAUTO_REDIRECTS"HTTPSampler.auto_redirects"
+public static final StringBROWSER_COMPATIBLE_MULTIPART"HTTPSampler.BROWSER_COMPATIBLE_MULTIPART"
+public static final booleanBROWSER_COMPATIBLE_MULTIPART_MODE_DEFAULTfalse
+public static final StringCACHE_MANAGER"HTTPSampler.cache_manager"
+public static final StringCONCURRENT_DWN"HTTPSampler.concurrentDwn"
+public static final StringCONCURRENT_POOL"HTTPSampler.concurrentPool"
+public static final intCONCURRENT_POOL_SIZE4
+public static final StringCONNECT_TIMEOUT"HTTPSampler.connect_timeout"
+public static final StringCONTENT_ENCODING"HTTPSampler.contentEncoding"
+public static final StringCONTENT_TYPE"HTTPSampler.CONTENT_TYPE"
+public static final StringCOOKIE_MANAGER"HTTPSampler.cookie_manager"
+public static final StringDEFAULT_METHOD"GET"
+public static final StringDNS_CACHE_MANAGER"HTTPSampler.dns_cache_manager"
+public static final StringDO_MULTIPART_POST"HTTPSampler.DO_MULTIPART_POST"
+public static final StringDOMAIN"HTTPSampler.domain"
+public static final StringEMBEDDED_URL_RE"HTTPSampler.embedded_url_re"
+public static final StringFOLLOW_REDIRECTS"HTTPSampler.follow_redirects"
+public static final StringHEADER_MANAGER"HTTPSampler.header_manager"
+public static final StringIMAGE_PARSER"HTTPSampler.image_parser"
+public static final StringIMPLEMENTATION"HTTPSampler.implementation"
+public static final StringIP_SOURCE"HTTPSampler.ipSource"
+public static final StringIP_SOURCE_TYPE"HTTPSampler.ipSourceType"
+public static final StringMETHOD"HTTPSampler.method"
+public static final StringMONITOR"HTTPSampler.monitor"
+protected static final StringNON_HTTP_RESPONSE_CODE"Non HTTP response code"
+protected static final StringNON_HTTP_RESPONSE_MESSAGE"Non HTTP response message"
+public static final StringPATH"HTTPSampler.path"
+public static final StringPORT"HTTPSampler.port"
+public static final StringPOST_BODY_RAW"HTTPSampler.postBodyRaw"
+public static final booleanPOST_BODY_RAW_DEFAULTfalse
+public static final StringPROTOCOL"HTTPSampler.protocol"
+public static final StringPROXYHOST"HTTPSampler.proxyHost"
+public static final StringPROXYPASS"HTTPSampler.proxyPass"
+public static final StringPROXYPORT"HTTPSampler.proxyPort"
+public static final StringPROXYUSER"HTTPSampler.proxyUser"
+public static final StringRESPONSE_TIMEOUT"HTTPSampler.response_timeout"
+public static final intUNSPECIFIED_PORT0
+public static final StringUNSPECIFIED_PORT_AS_STRING"0"
+public static final StringURL"HTTPSampler.URL"
+public static final intURL_UNSPECIFIED_PORT-1
+public static final StringURL_UNSPECIFIED_PORT_AS_STRING"-1"
+public static final StringUSE_KEEPALIVE"HTTPSampler.use_keepalive"
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
org.apache.jmeter.protocol.http.sampler.HTTPSamplerFactory
+public static final StringHTTP_SAMPLER_APACHE"HTTPSampler2"
+public static final StringHTTP_SAMPLER_JAVA"HTTPSampler"
+public static final StringIMPL_HTTP_CLIENT3_1"HttpClient3.1"
+public static final StringIMPL_HTTP_CLIENT4"HttpClient4"
+public static final StringIMPL_JAVA"Java"
+ +

+ +

+ + + + + + + + + + + + + + + + + +
org.apache.jmeter.protocol.http.sampler.PostWriter
+protected static final StringBOUNDARY"---------------------------7d159c1302d0y0"
+public static final StringENCODING"ISO-8859-1"
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
org.apache.jmeter.protocol.http.sampler.SoapSampler
+public static final StringSEND_SOAP_ACTION"SoapSampler.SEND_SOAP_ACTION"
+public static final StringSOAP_ACTION"SoapSampler.SOAP_ACTION"
+public static final StringURL_DATA"SoapSampler.URL_DATA"
+public static final StringXML_DATA"HTTPSamper.xml_data"
+public static final StringXML_DATA_FILE"SoapSampler.xml_data_file"
+ +

+ +

+ + + + + + + + + + + + +
org.apache.jmeter.protocol.http.sampler.WebServiceSampler
+public static final booleanMAINTAIN_SESSION_DEFAULTtrue
+ +

+ +

+ + + + + + + + + + + + +
org.apache.jmeter.protocol.http.util.EncoderCache
+public static final StringURL_ARGUMENT_ENCODING"UTF-8"
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
org.apache.jmeter.protocol.http.util.HTTPConstantsInterface
+public static final StringAPPLICATION_X_WWW_FORM_URLENCODED"application/x-www-form-urlencoded"
+public static final StringCACHE_CONTROL"Cache-Control"
+public static final StringCONNECT"CONNECT"
+public static final StringCONNECTION_CLOSE"close"
+public static final StringCOPY"COPY"
+public static final StringDATE"Date"
+public static final intDEFAULT_HTTP_PORT80
+public static final StringDEFAULT_HTTP_PORT_STRING"80"
+public static final intDEFAULT_HTTPS_PORT443
+public static final StringDEFAULT_HTTPS_PORT_STRING"443"
+public static final StringDELETE"DELETE"
+public static final StringENCODING_GZIP"gzip"
+public static final StringETAG"Etag"
+public static final StringEXPIRES"Expires"
+public static final StringGET"GET"
+public static final StringHEAD"HEAD"
+public static final StringHEADER_AUTHORIZATION"Authorization"
+public static final StringHEADER_CONNECTION"Connection"
+public static final StringHEADER_CONTENT_DISPOSITION"Content-Disposition"
+public static final StringHEADER_CONTENT_ENCODING"content-encoding"
+public static final StringHEADER_CONTENT_LENGTH"Content-Length"
+public static final StringHEADER_CONTENT_TYPE"Content-Type"
+public static final StringHEADER_COOKIE"Cookie"
+public static final StringHEADER_HOST"Host"
+public static final StringHEADER_LOCAL_ADDRESS"X-LocalAddress"
+public static final StringHEADER_LOCATION"Location"
+public static final StringHEADER_SET_COOKIE"set-cookie"
+public static final StringHTTP_1_1"HTTP/1.1"
+public static final StringIF_MODIFIED_SINCE"If-Modified-Since"
+public static final StringIF_NONE_MATCH"If-None-Match"
+public static final StringKEEP_ALIVE"keep-alive"
+public static final StringLAST_MODIFIED"Last-Modified"
+public static final StringLOCK"LOCK"
+public static final StringMKCALENDAR"MKCALENDAR"
+public static final StringMKCOL"MKCOL"
+public static final StringMOVE"MOVE"
+public static final StringMULTIPART_FORM_DATA"multipart/form-data"
+public static final StringOPTIONS"OPTIONS"
+public static final StringPATCH"PATCH"
+public static final StringPOST"POST"
+public static final StringPROPFIND"PROPFIND"
+public static final StringPROPPATCH"PROPPATCH"
+public static final StringPROTOCOL_HTTP"http"
+public static final StringPROTOCOL_HTTPS"https"
+public static final StringPUT"PUT"
+public static final StringREPORT"REPORT"
+public static final StringTRACE"TRACE"
+public static final StringTRANSFER_ENCODING"transfer-encoding"
+public static final StringUNLOCK"UNLOCK"
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + +
org.apache.jmeter.protocol.http.util.accesslog.TCLogParser
+public static final StringGET"GET"
+public static final StringHEAD"HEAD"
+public static final StringPOST"POST"
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
org.apache.jmeter.protocol.java.sampler.BeanShellSampler
+public static final StringFILENAME"BeanShellSampler.filename"
+public static final StringINIT_FILE"beanshell.sampler.init"
+public static final StringPARAMETERS"BeanShellSampler.parameters"
+public static final StringRESET_INTERPRETER"BeanShellSampler.resetInterpreter"
+public static final StringSCRIPT"BeanShellSampler.query"
+ +

+ +

+ + + + + + + + + + + + + + + + + +
org.apache.jmeter.protocol.java.sampler.JavaSampler
+public static final StringARGUMENTS"arguments"
+public static final StringCLASSNAME"classname"
+ +

+ +

+ + + + + + + + + + + + + + + + + +
org.apache.jmeter.protocol.java.test.JavaTest
+public static final longDEFAULT_SLEEP_MASK255L
+public static final longDEFAULT_SLEEP_TIME100L
+ +

+ +

+ + + + + + + + + + + + + + + + + +
org.apache.jmeter.protocol.java.test.SleepTest
+public static final longDEFAULT_SLEEP_MASK1023L
+public static final longDEFAULT_SLEEP_TIME1000L
+ +

+ +

+ + + + + + + + + + + + +
org.apache.jmeter.protocol.jdbc.AbstractJDBCTestElement
+protected static final StringENCODING"UTF-8"
+ +

+ +

+ + + + + + + + + + + + + + + + + +
org.apache.jmeter.protocol.jms.Utils
+public static final StringDEFAULT_NO_EXPIRY"0"
+public static final StringDEFAULT_PRIORITY_4"4"
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
org.apache.jmeter.protocol.jms.control.gui.JMSPublisherGui
+public static final StringBYTES_MSG_RSC"jms_bytes_message"
+public static final StringMAP_MSG_RSC"jms_map_message"
+public static final StringOBJECT_MSG_RSC"jms_object_message"
+public static final StringTEXT_MSG_RSC"jms_text_message"
+public static final StringUSE_FILE_RSC"jms_use_file"
+public static final StringUSE_RANDOM_RSC"jms_use_random_file"
+ +

+ +

+ + + + + + + + + + + + + + + + + +
org.apache.jmeter.protocol.jms.control.gui.JMSSubscriberGui
+public static final StringON_MESSAGE_RSC"jms_subscriber_on_message"
+public static final StringRECEIVE_RSC"jms_subscriber_receive"
+ +

+ +

+ + + + + + + + + + + + +
org.apache.jmeter.protocol.jms.sampler.JMSProperties
+public static final StringJMS_PROPERTIES"JMSProperties.properties"
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + +
org.apache.jmeter.protocol.jms.sampler.JMSProperty
+public static final StringPROP_NAME"JMSProperty.name"
+public static final StringPROP_TYPE"JMSProperty.type"
+public static final StringPROP_VALUE"JMSProperty.value"
+ +

+ +

+ + + + + + + + + + + + +
org.apache.jmeter.protocol.ldap.config.gui.LDAPArguments
+public static final StringARGUMENTS"Arguments.arguments"
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler
+public static final StringADD"add"
+public static final StringARGUMENTS"arguments"
+public static final StringATTRIBS"attributes"
+public static final StringBASE_ENTRY_DN"base_entry_dn"
+public static final StringBIND"bind"
+public static final StringCOMPARE"compare"
+public static final StringCOMPAREDN"comparedn"
+public static final StringCOMPAREFILT"comparefilt"
+public static final StringCONNTO"connection_timeout"
+public static final StringCOUNTLIM"countlimit"
+public static final StringDELETE"delete"
+public static final StringDEREF"deref_aliases"
+public static final StringLDAPARGUMENTS"ldaparguments"
+public static final StringMODDDN"modddn"
+public static final StringMODIFY"modify"
+public static final StringNEWDN"newdn"
+public static final StringPARSEFLAG"parseflag"
+public static final StringPORT"port"
+public static final StringRENAME"rename"
+public static final StringRETOBJ"return_object"
+public static final StringROOTDN"rootdn"
+public static final StringSBIND"sbind"
+public static final StringSCOPE"scope"
+public static final StringSEARCH"search"
+public static final StringSEARCHBASE"search"
+public static final StringSEARCHFILTER"searchfilter"
+public static final StringSECURE"secure"
+public static final StringSERVERNAME"servername"
+public static final StringTEST"test"
+public static final StringTIMELIM"timelimit"
+public static final StringUNBIND"unbind"
+public static final StringUSERDN"user_dn"
+public static final StringUSERPW"user_pw"
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
org.apache.jmeter.protocol.ldap.sampler.LDAPSampler
+public static final StringADD"add"
+public static final StringARGUMENTS"arguments"
+public static final StringBASE_ENTRY_DN"base_entry_dn"
+public static final StringDELETE"delete"
+public static final StringMODIFY"modify"
+public static final StringPORT"port"
+public static final StringROOTDN"rootdn"
+public static final StringSEARCHBASE"search"
+public static final StringSEARCHFILTER"searchfilter"
+public static final StringSERVERNAME"servername"
+public static final StringTEST"test"
+public static final StringUSER_DEFINED"user_defined"
+ +

+ +

+ + + + + + + + + + + + + + + + + +
org.apache.jmeter.protocol.mail.sampler.MailReaderSampler
+public static final intALL_MESSAGES-1
+public static final StringDEFAULT_PROTOCOL"pop3"
+ +

+ +

+ + + + + + + + + + + + +
org.apache.jmeter.protocol.mongodb.mongo.MongoUtils
+public static final intDEFAULT_PORT27017
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
org.apache.jmeter.protocol.mongodb.sampler.MongoScriptSampler
+public static final StringDATABASE"MongoScriptSampler.database"
+public static final StringPASSWORD"MongoScriptSampler.password"
+public static final StringSCRIPT"MongoScriptSampler.script"
+public static final StringSOURCE"MongoScriptSampler.source"
+public static final StringUSERNAME"MongoScriptSampler.username"
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
org.apache.jmeter.protocol.smtp.sampler.SmtpSampler
+public static final StringATTACH_FILE"SMTPSampler.attachFile"
+public static final StringEML_MESSAGE_TO_SEND"SMTPSampler.emlMessageToSend"
+public static final StringENABLE_DEBUG"SMTPSampler.enableDebug"
+public static final StringFILENAME_SEPARATOR";"
+public static final StringHEADER_FIELDS"SMTPSampler.headerFields"
+public static final StringINCLUDE_TIMESTAMP"SMTPSampler.include_timestamp"
+public static final StringMAIL_FROM"SMTPSampler.mailFrom"
+public static final StringMAIL_REPLYTO"SMTPSampler.replyTo"
+public static final StringMESSAGE"SMTPSampler.message"
+public static final StringMESSAGE_SIZE_STATS"SMTPSampler.messageSizeStatistics"
+public static final StringPASSWORD"SMTPSampler.password"
+public static final StringPLAIN_BODY"SMTPSampler.plainBody"
+public static final StringRECEIVER_BCC"SMTPSampler.receiverBCC"
+public static final StringRECEIVER_CC"SMTPSampler.receiverCC"
+public static final StringRECEIVER_TO"SMTPSampler.receiverTo"
+public static final StringSERVER"SMTPSampler.server"
+public static final StringSERVER_CONNECTION_TIMEOUT"SMTPSampler.serverConnectionTimeout"
+public static final StringSERVER_PORT"SMTPSampler.serverPort"
+public static final StringSERVER_TIMEOUT"SMTPSampler.serverTimeout"
+public static final StringSUBJECT"SMTPSampler.subject"
+public static final StringSUPPRESS_SUBJECT"SMTPSampler.suppressSubject"
+public static final StringUSE_AUTH"SMTPSampler.useAuth"
+public static final StringUSE_EML"SMTPSampler.use_eml"
+public static final StringUSERNAME"SMTPSampler.username"
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
org.apache.jmeter.protocol.smtp.sampler.gui.SecuritySettingsPanel
+public static final StringENFORCE_STARTTLS"SMTPSampler.enforceStartTLS"
+public static final StringSSL_TRUST_ALL_CERTS"SMTPSampler.trustAllCerts"
+public static final StringTRUSTSTORE_TO_USE"SMTPSampler.trustStoreToUse"
+public static final StringUSE_LOCAL_TRUSTSTORE"SMTPSampler.useLocalTrustStore"
+public static final StringUSE_SSL"SMTPSampler.useSSL"
+public static final StringUSE_STARTTLS"SMTPSampler.useStartTLS"
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
org.apache.jmeter.protocol.system.SystemSampler
+public static final StringARGUMENTS"SystemSampler.arguments"
+public static final StringCHECK_RETURN_CODE"SystemSampler.checkReturnCode"
+public static final StringCOMMAND"SystemSampler.command"
+public static final intDEFAULT_RETURN_CODE0
+public static final StringDIRECTORY"SystemSampler.directory"
+public static final StringENVIRONMENT"SystemSampler.environment"
+public static final StringEXPECTED_RETURN_CODE"SystemSampler.expectedReturnCode"
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
org.apache.jmeter.protocol.tcp.sampler.TCPSampler
+public static final StringCLASSNAME"TCPSampler.classname"
+public static final StringCLOSE_CONNECTION"TCPSampler.closeConnection"
+public static final booleanCLOSE_CONNECTION_DEFAULTfalse
+public static final StringEOL_BYTE"TCPSampler.EolByte"
+public static final StringFILENAME"TCPSampler.filename"
+public static final StringNODELAY"TCPSampler.nodelay"
+public static final StringPORT"TCPSampler.port"
+public static final StringRE_USE_CONNECTION"TCPSampler.reUseConnection"
+public static final booleanRE_USE_CONNECTION_DEFAULTtrue
+public static final StringREQUEST"TCPSampler.request"
+public static final StringSERVER"TCPSampler.server"
+public static final StringSO_LINGER"TCPSampler.soLinger"
+public static final StringTIMEOUT"TCPSampler.timeout"
+public static final StringTIMEOUT_CONNECT"TCPSampler.ctimeout"
+ +

+ +

+ + + + + + + + + + + + +
org.apache.jmeter.reporters.MailerResultCollector
+public static final StringMAILER_MODEL"MailerResultCollector.mailer_model"
+ +

+ +

+ + + + + + + + + + + + +
org.apache.jmeter.reporters.ResultCollector
+public static final StringFILENAME"filename"
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
org.apache.jmeter.reporters.ResultSaver
+public static final StringADD_TIMESTAMP"FileSaver.addTimstamp"
+public static final StringERRORS_ONLY"FileSaver.errorsonly"
+public static final StringFILENAME"FileSaver.filename"
+public static final StringNUMBER_PAD_LENGTH"FileSaver.numberPadLen"
+public static final StringSKIP_AUTO_NUMBER"FileSaver.skipautonumber"
+public static final StringSKIP_SUFFIX"FileSaver.skipsuffix"
+public static final StringSUCCESS_ONLY"FileSaver.successonly"
+public static final StringVARIABLE_NAME"FileSaver.variablename"
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
org.apache.jmeter.sampler.TestAction
+public static final intPAUSE1
+public static final intRESTART_NEXT_LOOP3
+public static final intSTOP0
+public static final intSTOP_NOW2
+public static final intTEST2
+public static final intTHREAD0
+ +

+ +

+ + + + + + + + + + + + +
org.apache.jmeter.samplers.SampleEvent
+public static final StringSAMPLE_VARIABLES"sample_variables"
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + +
org.apache.jmeter.samplers.SampleResult
+public static final StringBINARY"bin"
+public static final StringDEFAULT_HTTP_ENCODING"ISO-8859-1"
+public static final StringTEXT"text"
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + +
org.apache.jmeter.samplers.SampleSaveConfiguration
+public static final intSAVE_ALL_ASSERTIONS2
+public static final intSAVE_FIRST_ASSERTION1
+public static final intSAVE_NO_ASSERTIONS0
+ +

+ +

+ + + + + + + + + + + + +
org.apache.jmeter.save.CSVSaveService
+public static final charQUOTING_CHAR34
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
org.apache.jmeter.save.SaveGraphicsService
+public static final StringJPEG_EXTENSION".jpg"
+public static final intPNG0
+public static final StringPNG_EXTENSION".png"
+public static final intTIFF1
+public static final StringTIFF_EXTENSION".tif"
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + +
org.apache.jmeter.save.SaveService
+public static final StringRESULTCOLLECTOR_HELPER_OBJECT"ResultCollectorHelper"
+public static final StringSAMPLE_EVENT_OBJECT"SampleEvent"
+public static final StringTEST_CLASS_NAME"TestClassName"
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + +
org.apache.jmeter.save.converters.ConversionHelp
+public static final StringATT_CLASS"class"
+public static final StringATT_ELEMENT_TYPE"elementType"
+public static final StringATT_NAME"name"
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
org.apache.jmeter.save.converters.SampleResultConverter
+protected static final StringTAG_COOKIES"cookies"
+protected static final StringTAG_METHOD"method"
+protected static final StringTAG_QUERY_STRING"queryString"
+protected static final StringTAG_REDIRECT_LOCATION"redirectLocation"
+protected static final StringTAG_REQUEST_HEADER"requestHeader"
+protected static final StringTAG_RESPONSE_DATA"responseData"
+protected static final StringTAG_RESPONSE_FILE"responseFile"
+protected static final StringTAG_RESPONSE_HEADER"responseHeader"
+protected static final StringTAG_SAMPLER_DATA"samplerData"
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
org.apache.jmeter.testbeans.BeanInfoSupport
+public static final StringDEFAULT"default"
+public static final StringMULTILINE"multiline"
+public static final StringNOT_EXPRESSION"notExpression"
+public static final StringNOT_OTHER"notOther"
+public static final StringNOT_UNDEFINED"notUndefined"
+public static final StringRESOURCE_BUNDLE"resourceBundle"
+public static final StringTAGS"tags"
+public static final StringTEXT_LANGUAGE"textLanguage"
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
org.apache.jmeter.testbeans.gui.GenericTestBeanCustomizer
+public static final StringDEFAULT"default"
+public static final StringDEFAULT_GROUP""
+public static final StringGROUP"group"
+public static final StringGUITYPE"guiType"
+public static final StringMULTILINE"multiline"
+public static final StringNOT_EXPRESSION"notExpression"
+public static final StringNOT_OTHER"notOther"
+public static final StringNOT_UNDEFINED"notUndefined"
+public static final StringORDER"order"
+public static final StringRESOURCE_BUNDLE"resourceBundle"
+public static final StringTAGS"tags"
+public static final StringTEXT_LANGUAGE"textLanguage"
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + +
org.apache.jmeter.testbeans.gui.TableEditor
+public static final StringCLASSNAME"tableObject.classname"
+public static final StringHEADERS"table.headers"
+public static final StringOBJECT_PROPERTIES"tableObject.properties"
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
org.apache.jmeter.testelement.OnErrorTestElement
+public static final StringON_ERROR_ACTION"OnError.action"
+public static final intON_ERROR_CONTINUE0
+public static final intON_ERROR_START_NEXT_THREAD_LOOP4
+public static final intON_ERROR_STOPTEST2
+public static final intON_ERROR_STOPTEST_NOW3
+public static final intON_ERROR_STOPTHREAD1
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
org.apache.jmeter.testelement.TestElement
+public static final StringCOMMENTS"TestPlan.comments"
+public static final StringENABLED"TestElement.enabled"
+public static final StringGUI_CLASS"TestElement.gui_class"
+public static final StringNAME"TestElement.name"
+public static final StringTEST_CLASS"TestElement.test_class"
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
org.apache.jmeter.threads.AbstractThreadGroup
+public static final StringMAIN_CONTROLLER"ThreadGroup.main_controller"
+public static final StringNUM_THREADS"ThreadGroup.num_threads"
+public static final StringON_SAMPLE_ERROR"ThreadGroup.on_sample_error"
+public static final StringON_SAMPLE_ERROR_CONTINUE"continue"
+public static final StringON_SAMPLE_ERROR_START_NEXT_LOOP"startnextloop"
+public static final StringON_SAMPLE_ERROR_STOPTEST"stoptest"
+public static final StringON_SAMPLE_ERROR_STOPTEST_NOW"stoptestnow"
+public static final StringON_SAMPLE_ERROR_STOPTHREAD"stopthread"
+ +

+ +

+ + + + + + + + + + + + + + + + + +
org.apache.jmeter.threads.JMeterThread
+public static final StringLAST_SAMPLE_OK"JMeterThread.last_sample_ok"
+public static final StringPACKAGE_OBJECT"JMeterThread.pack"
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
org.apache.jmeter.threads.ThreadGroup
+public static final StringDELAY"ThreadGroup.delay"
+public static final StringDELAYED_START"ThreadGroup.delayedStart"
+public static final StringDURATION"ThreadGroup.duration"
+public static final StringEND_TIME"ThreadGroup.end_time"
+public static final StringRAMP_TIME"ThreadGroup.ramp_time"
+public static final StringSCHEDULER"ThreadGroup.scheduler"
+public static final StringSTART_TIME"ThreadGroup.start_time"
+ +

+ +

+ + + + + + + + + + + + +
org.apache.jmeter.timers.ConstantTimer
+public static final StringDELAY"ConstantTimer.delay"
+ +

+ +

+ + + + + + + + + + + + +
org.apache.jmeter.timers.RandomTimer
+public static final StringRANGE"RandomTimer.range"
+ +

+ +

+ + + + + + + + + + + + +
org.apache.jmeter.util.JMeterUtils
+public static final StringRES_KEY_PFX"[res_key="
+ +

+ +

+ + + + + + + + + + + + +
org.apache.jmeter.util.SSLManager
+public static final StringJAVAX_NET_SSL_KEY_STORE"javax.net.ssl.keyStore"
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
org.apache.jmeter.visualizers.RespTimeGraphVisualizer
+public static final booleanDEFAULT_CASE_SENSITIVEfalse
+public static final booleanDEFAULT_DYNAMIC_GRAPH_SIZEtrue
+public static final intDEFAULT_INTERVAL10000
+public static final intDEFAULT_LEGEND_FONT0
+public static final intDEFAULT_LEGEND_PLACEMENT0
+public static final intDEFAULT_LEGEND_SIZE2
+public static final intDEFAULT_LEGEND_STYLE0
+public static final intDEFAULT_LINE_SHAPE_POINT0
+public static final booleanDEFAULT_NUMBER_SHOW_GROUPINGtrue
+public static final booleanDEFAULT_REGEXPtrue
+public static final booleanDEFAULT_SERIES_SELECTIONfalse
+public static final intDEFAULT_STROKE_WIDTH_LIST4
+public static final intDEFAULT_TITLE_FONT_NAME0
+public static final intDEFAULT_TITLE_FONT_SIZE6
+public static final intDEFAULT_TITLE_FONT_STYLE1
+public static final StringDEFAULT_XAXIS_TIME_FORMAT"HH:mm:ss"
+public static final StringGRAPH_SIZE_DYNAMIC"RespTimeGraph.graphsizedynamic"
+public static final StringGRAPH_SIZE_HEIGHT"RespTimeGraph.graphsizeheight"
+public static final StringGRAPH_SIZE_WIDTH"RespTimeGraph.graphsizewidth"
+public static final StringGRAPH_TITLE"RespTimeGraph.graphtitle"
+public static final StringGRAPH_TITLE_FONT_NAME"RespTimeGraph.graphtitlefontname"
+public static final StringGRAPH_TITLE_FONT_SIZE"RespTimeGraph.graphtitlefondsize"
+public static final StringGRAPH_TITLE_FONT_STYLE"RespTimeGraph.graphtitlefontstyle"
+public static final StringINTERVAL"RespTimeGraph.interval"
+public static final StringLEGEND_FONT"RespTimeGraph.legendfont"
+public static final StringLEGEND_PLACEMENT"RespTimeGraph.legendplacement"
+public static final StringLEGEND_SIZE"RespTimeGraph.legendsize"
+public static final StringLEGEND_STYLE"RespTimeGraph.legendstyle"
+public static final StringLINE_SHAPE_POINT"RespTimeGraph.lineshapepoint"
+public static final StringLINE_STROKE_WIDTH"RespTimeGraph.linestrockwidth"
+public static final StringSERIES_SELECTION"RespTimeGraph.seriesselection"
+public static final StringSERIES_SELECTION_CASE_SENSITIVE"RespTimeGraph.seriesselectioncasesensitive"
+public static final StringSERIES_SELECTION_MATCH_LABEL"RespTimeGraph.seriesselectionmatchlabel"
+public static final StringSERIES_SELECTION_REGEXP"RespTimeGraph.seriesselectionregexp"
+public static final StringXAXIS_TIME_FORMAT"RespTimeGraph.xaxistimeformat"
+public static final StringYAXIS_INCREMENT_SCALE"RespTimeGraph.yaxisscaleincrement"
+public static final StringYAXIS_NUMBER_GROUPING"RespTimeGraph.yaxisnumbergrouping"
+public static final StringYAXIS_SCALE_MAX_VALUE"RespTimeGraph.yaxisscalemaxvalue"
+ +

+ +

+ + + + + + + + + + + + + + + + + +
org.apache.jmeter.visualizers.SamplerResultTab
+protected static final StringREQUEST_VIEW_COMMAND"change_request_view"
+protected static final StringTEXT_COMMAND"text"
+ +

+ +

+ + + + + + + + + + + + + + + + + +
org.apache.jmeter.visualizers.Spline3
+protected static final intDEFAULT_MAX_ITERATIONS100
+protected static final floatDEFAULT_PRECISION0.10000000149011612f
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + +
org.apache.jmeter.visualizers.SplineModel
+public static final intDEFAULT_NUMBER_OF_NODES10
+public static final intDEFAULT_REFRESH_PERIOD1
+protected final booleanSHOW_INCOMING_SAMPLEStrue
+ +

+ +

+ + + + + + + + + + + + + + + + + +
org.apache.jmeter.visualizers.SplineVisualizer
+protected final booleanFILL_UP_WITH_ZEROSfalse
+protected final intNUMBERS_TO_DISPLAY4
+ +

+ +

+ + + + + + + + + + + + +
org.apache.jmeter.visualizers.ViewResultsFullVisualizer
+protected static final StringCOMBO_CHANGE_COMMAND"change_combo"
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
org.apache.jmeter.visualizers.backend.BackendListener
+public static final StringARGUMENTS"arguments"
+public static final StringCLASSNAME"classname"
+public static final StringDEFAULT_QUEUE_SIZE"5000"
+public static final StringQUEUE_SIZE"QUEUE_SIZE"
+ +

+ +

+ + + + + + + + + + + + + + + + + +
org.apache.jmeter.visualizers.utils.Colors
+protected static final StringDEFAULT_COLORS_PROPERTY_FILE"org/apache/jmeter/visualizers/utils/colors.properties"
+protected static final StringUSER_DEFINED_COLORS_PROPERTY_FILE"jmeter.colors"
+ +

+ +

+ + + + + + + + + + + + +
org.apache.jorphan.exec.KeyToolUtils
+public static final StringROOT_CACERT_CRT_PFX"ApacheJMeterTemporaryRootCA"
+ +

+ +

+ + + + + + + + + + + + +
org.apache.jorphan.exec.SystemCommand
+public static final intPOLL_INTERVAL100
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
org.apache.jorphan.gui.layout.VerticalLayout
+public static final intBOTH3
+public static final intBOTTOM2
+public static final intCENTER0
+public static final intLEFT2
+public static final intRIGHT1
+public static final intTOP1
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + +
org.apache.jorphan.logging.LoggingManager
+public static final StringDEFAULT_PATTERN"%{time:yyyy/MM/dd HH:mm:ss} %5.5{priority} - %{category}: %{message} %{throwable}"
+public static final StringLOG_FILE"log_file"
+public static final StringLOG_PRIORITY"log_level"
+ +

+ +

+


+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/deprecated-list.html b/docs/api/deprecated-list.html new file mode 100644 index 00000000000..653b9374456 --- /dev/null +++ b/docs/api/deprecated-list.html @@ -0,0 +1,403 @@ + + + + + +Deprecated List (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Deprecated API

+
+
+Contents + + + + + + + + + +
+Deprecated Interfaces
org.apache.jmeter.testelement.TestListener +
+          since 2.8, please use TestStateListener and/or TestIterationListener 
+  +

+ + + + + + + + + + + +
+Deprecated Classes
org.apache.jmeter.protocol.system.NativeCommand +
+          (2.10) use SystemCommand instead 
org.apache.jmeter.protocol.http.modifier.UserParameterXMLParser +
+          This test element is deprecated. Test plans should use User Parameters instead. 
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Deprecated Methods
org.apache.jmeter.util.Calculator.addValue(long) +
+          Use Calculator.addSample(SampleResult) instead 
org.apache.jorphan.reflect.Functor.checkMethod(Object) +
+          ** for use by Unit test code only ** 
org.apache.jorphan.reflect.Functor.checkMethod(Object, Class) +
+          ** for use by Unit test code only ** 
org.apache.jmeter.util.JMeterUtils.getResString(String, String) +
+          Only intended for use in development; use + getResString(String) normally 
org.apache.jmeter.save.SaveService.loadTree(InputStream) +
+          use SaveServiceSaveService.loadTree(File) 
org.apache.jmeter.testbeans.TestBeanHelper.prepare(TestElement) +
+          to limit it's usage in expectation of moving it elsewhere. 
org.apache.jmeter.control.GenericController.reInitializeSubController() +
+          replaced by GeneriController#initializeSubControllers 
org.apache.jmeter.samplers.SampleResult.setResponseData(String) +
+          - only intended for use from BeanShell code 
org.apache.jmeter.protocol.http.proxy.ProxyControl.setSamplerTypeName(int) +
+           
org.apache.jmeter.visualizers.StatVisualizer.testFunctors() +
+          - only for use in testing 
org.apache.jmeter.visualizers.SummaryReport.testFunctors() +
+          - only for use in testing 
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Deprecated Constructors
org.apache.jmeter.assertions.AssertionResult() +
+          - use the named constructor 
org.apache.jmeter.samplers.AsynchSampleSender() +
+          only for use by test code 
org.apache.jmeter.samplers.BatchSampleSender() +
+          only for use by test code 
org.apache.jmeter.assertions.CompareAssertionResult() +
+          Use the other ctor 
org.apache.jmeter.samplers.DataStrippingSampleSender() +
+          only for use by test code 
org.apache.jmeter.samplers.DiskStoreSampleSender() +
+          only for use by test code 
org.apache.jmeter.testbeans.gui.FileEditor() +
+          Only for use by test cases 
org.apache.jmeter.testbeans.gui.GenericTestBeanCustomizer() +
+          only for use by test code 
org.apache.jmeter.samplers.HoldSampleSender() +
+          only for use by test code 
org.apache.jmeter.exceptions.IllegalUserActionException() +
+          - use IllegalUserActionException(String) 
org.apache.jmeter.gui.util.JLabeledRadioI18N() +
+          - only for use in testing 
org.apache.jmeter.gui.tree.JMeterTreeModel(Object) +
+          - only for use by JMeter class! 
org.apache.jmeter.gui.util.JSyntaxTextArea() +
+           
org.apache.jmeter.gui.util.JTextScrollPane() +
+           
org.apache.jmeter.gui.MainFrame() +
+          Do not use - only needed for JUnit tests 
org.apache.jmeter.visualizers.MonitorGraph() +
+          Only for use in unit testing 
org.apache.jmeter.visualizers.MonitorHealthPanel() +
+          Only for use in unit testing 
org.apache.jmeter.visualizers.MonitorPerformancePanel() +
+          Only for use in unit testing 
org.apache.jmeter.protocol.http.config.MultipartUrlConfig() +
+          only for use by unit tests 
org.apache.jmeter.protocol.tcp.sampler.ReadException() +
+          For use by test code only (serialisation tests) 
org.apache.jmeter.visualizers.ServerPanel() +
+          Only for use in unit testing 
org.apache.jmeter.samplers.StandardSampleSender() +
+          only for use by test code 
org.apache.jmeter.samplers.StatisticalSampleResult(long, long) +
+          Needs to be replaced when multiple sample results are sorted out 
org.apache.jmeter.samplers.StatisticalSampleResult(SampleResult, boolean) +
+          no longer necessary; use StatisticalSampleResult.StatisticalSampleResult(SampleResult) instead 
org.apache.jmeter.samplers.StatisticalSampleSender() +
+          only for use by test code 
org.apache.jmeter.visualizers.TableSample() +
+          for unit test code only 
org.apache.jmeter.testbeans.gui.TestBeanGUI() +
+          Dummy for JUnit test purposes only 
org.apache.jmeter.control.TransactionSampler() +
+          only for use by test code 
org.apache.jmeter.gui.UndoHistoryItem() +
+          DO NOT USE 
org.apache.jmeter.visualizers.XMLDefaultMutableTreeNode() +
+          only for use by test code 
+  +

+


+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/help-doc.html b/docs/api/help-doc.html new file mode 100644 index 00000000000..7770abb7b55 --- /dev/null +++ b/docs/api/help-doc.html @@ -0,0 +1,215 @@ + + + + + +API Help (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+How This API Document Is Organized

+
+This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.

+Overview

+
+ +

+The Overview page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.

+

+Package

+
+ +

+Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain four categories:

    +
  • Interfaces (italic)
  • Classes
  • Enums
  • Exceptions
  • Errors
  • Annotation Types
+
+

+Class/Interface

+
+ +

+Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:

    +
  • Class inheritance diagram
  • Direct Subclasses
  • All Known Subinterfaces
  • All Known Implementing Classes
  • Class/interface declaration
  • Class/interface description +

    +

  • Nested Class Summary
  • Field Summary
  • Constructor Summary
  • Method Summary +

    +

  • Field Detail
  • Constructor Detail
  • Method Detail
+Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.
+ +

+Annotation Type

+
+ +

+Each annotation type has its own separate page with the following sections:

    +
  • Annotation Type declaration
  • Annotation Type description
  • Required Element Summary
  • Optional Element Summary
  • Element Detail
+
+ +

+Enum

+
+ +

+Each enum has its own separate page with the following sections:

    +
  • Enum declaration
  • Enum description
  • Enum Constant Summary
  • Enum Constant Detail
+
+

+Tree (Class Hierarchy)

+
+There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object.
    +
  • When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.
  • When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.
+
+

+Deprecated API

+
+The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.
+

+Index

+
+The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.
+

+Prev/Next

+These links take you to the next or previous class, interface, package, or related page.

+Frames/No Frames

+These links show and hide the HTML frames. All pages are available with or without frames. +

+

+Serialized Form

+Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description. +

+

+Constant Field Values

+The Constant Field Values page lists the static final fields and their values. +

+ + +This help file applies to API documentation generated using the standard doclet. + +
+


+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/index-all.html b/docs/api/index-all.html new file mode 100644 index 00000000000..f901af3b9b9 --- /dev/null +++ b/docs/api/index-all.html @@ -0,0 +1,26337 @@ + + + + + +Index (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +A B C D E F G H I J K L M N O P Q R S T U V W X Y _
+

+A

+
+
ABOUT - +Static variable in class org.apache.jmeter.gui.action.ActionNames +
  +
AboutCommand - Class in org.apache.jmeter.gui.action
About Command.
AboutCommand() - +Constructor for class org.apache.jmeter.gui.action.AboutCommand +
  +
AbstractAction - Class in org.apache.jmeter.gui.action
 
AbstractAction() - +Constructor for class org.apache.jmeter.gui.action.AbstractAction +
  +
AbstractAssertionGui - Class in org.apache.jmeter.assertions.gui
This is the base class for JMeter GUI components which manage assertions.
AbstractAssertionGui() - +Constructor for class org.apache.jmeter.assertions.gui.AbstractAssertionGui +
  +
AbstractBackendListenerClient - Class in org.apache.jmeter.visualizers.backend
An abstract implementation of the BackendListenerClient interface.
AbstractBackendListenerClient() - +Constructor for class org.apache.jmeter.visualizers.backend.AbstractBackendListenerClient +
  +
AbstractConfigGui - Class in org.apache.jmeter.config.gui
This is the base class for JMeter GUI components which provide configuration + for some other component.
AbstractConfigGui() - +Constructor for class org.apache.jmeter.config.gui.AbstractConfigGui +
  +
AbstractControllerGui - Class in org.apache.jmeter.control.gui
This is the base class for JMeter GUI components which manage controllers.
AbstractControllerGui() - +Constructor for class org.apache.jmeter.control.gui.AbstractControllerGui +
  +
AbstractFunction - Class in org.apache.jmeter.functions
Provides common methods for all functions
AbstractFunction() - +Constructor for class org.apache.jmeter.functions.AbstractFunction +
  +
AbstractJavaSamplerClient - Class in org.apache.jmeter.protocol.java.sampler
An abstract implementation of the JavaSamplerClient interface.
AbstractJavaSamplerClient() - +Constructor for class org.apache.jmeter.protocol.java.sampler.AbstractJavaSamplerClient +
  +
AbstractJDBCProcessor - Class in org.apache.jmeter.protocol.jdbc.processor
As pre- and post-processors essentially do the same this class provides the implementation.
AbstractJDBCProcessor() - +Constructor for class org.apache.jmeter.protocol.jdbc.processor.AbstractJDBCProcessor +
  +
AbstractJDBCTestElement - Class in org.apache.jmeter.protocol.jdbc
A base class for all JDBC test elements handling the basics of a SQL request.
AbstractJDBCTestElement() - +Constructor for class org.apache.jmeter.protocol.jdbc.AbstractJDBCTestElement +
Creates a JDBCSampler. +
AbstractJMeterGuiComponent - Class in org.apache.jmeter.gui
This abstract class takes care of the most basic functions necessary to + create a viable JMeter GUI component.
AbstractJMeterGuiComponent() - +Constructor for class org.apache.jmeter.gui.AbstractJMeterGuiComponent +
When constructing a new component, this takes care of basic tasks like + setting up the Name Panel and assigning the class's static label as the + name to start. +
AbstractListenerElement - Class in org.apache.jmeter.reporters
Base class for Listeners
AbstractListenerElement() - +Constructor for class org.apache.jmeter.reporters.AbstractListenerElement +
  +
AbstractListenerGui - Class in org.apache.jmeter.visualizers.gui
Basic Listener/Visualiser Gui class to correspond with AbstractPreProcessorGui etc.
AbstractListenerGui() - +Constructor for class org.apache.jmeter.visualizers.gui.AbstractListenerGui +
  +
AbstractPostProcessorGui - Class in org.apache.jmeter.processor.gui
This is the base class for JMeter GUI components which manage PostProcessors.
AbstractPostProcessorGui() - +Constructor for class org.apache.jmeter.processor.gui.AbstractPostProcessorGui +
  +
AbstractPreProcessorGui - Class in org.apache.jmeter.processor.gui
 
AbstractPreProcessorGui() - +Constructor for class org.apache.jmeter.processor.gui.AbstractPreProcessorGui +
  +
AbstractProperty - Class in org.apache.jmeter.testelement.property
 
AbstractProperty(String) - +Constructor for class org.apache.jmeter.testelement.property.AbstractProperty +
  +
AbstractProperty() - +Constructor for class org.apache.jmeter.testelement.property.AbstractProperty +
  +
AbstractRandomTimerGui - Class in org.apache.jmeter.timers.gui
Abstract Random timer GUI.
AbstractRandomTimerGui() - +Constructor for class org.apache.jmeter.timers.gui.AbstractRandomTimerGui +
No-arg constructor. +
AbstractSampler - Class in org.apache.jmeter.samplers
 
AbstractSampler() - +Constructor for class org.apache.jmeter.samplers.AbstractSampler +
  +
AbstractSamplerCreator - Class in org.apache.jmeter.protocol.http.proxy
Base class for SamplerCreator
AbstractSamplerCreator() - +Constructor for class org.apache.jmeter.protocol.http.proxy.AbstractSamplerCreator +
  +
AbstractSamplerGui - Class in org.apache.jmeter.samplers.gui
This is the base class for JMeter GUI components which manage samplers.
AbstractSamplerGui() - +Constructor for class org.apache.jmeter.samplers.gui.AbstractSamplerGui +
  +
AbstractSampleSender - Class in org.apache.jmeter.samplers
Base class for SampleSender implementations
AbstractSampleSender() - +Constructor for class org.apache.jmeter.samplers.AbstractSampleSender +
  +
AbstractScopedAssertion - Class in org.apache.jmeter.testelement
+ Super-class for all Assertions that can be applied to main sample, sub-samples or both.
AbstractScopedAssertion() - +Constructor for class org.apache.jmeter.testelement.AbstractScopedAssertion +
  +
AbstractScopedJMeterGuiComponent - Class in org.apache.jmeter.gui
 
AbstractScopedJMeterGuiComponent() - +Constructor for class org.apache.jmeter.gui.AbstractScopedJMeterGuiComponent +
  +
AbstractScopedTestElement - Class in org.apache.jmeter.testelement
+ Super-class for TestElements that can be applied to main sample, sub-samples or both.
AbstractScopedTestElement() - +Constructor for class org.apache.jmeter.testelement.AbstractScopedTestElement +
  +
AbstractTCPClient - Class in org.apache.jmeter.protocol.tcp.sampler
Basic implementation of TCPClient interface.
AbstractTCPClient() - +Constructor for class org.apache.jmeter.protocol.tcp.sampler.AbstractTCPClient +
  +
AbstractTestElement - Class in org.apache.jmeter.testelement
 
AbstractTestElement() - +Constructor for class org.apache.jmeter.testelement.AbstractTestElement +
  +
AbstractTestElementBeanInfo - Class in org.apache.jmeter.testelement
This is the BeanInfo object for the AbstractTestElement class.
AbstractTestElementBeanInfo() - +Constructor for class org.apache.jmeter.testelement.AbstractTestElementBeanInfo +
  +
AbstractThreadGroup - Class in org.apache.jmeter.threads
ThreadGroup holds the settings for a JMeter thread group.
AbstractThreadGroup() - +Constructor for class org.apache.jmeter.threads.AbstractThreadGroup +
  +
AbstractThreadGroupGui - Class in org.apache.jmeter.threads.gui
 
AbstractThreadGroupGui() - +Constructor for class org.apache.jmeter.threads.gui.AbstractThreadGroupGui +
  +
AbstractTimerGui - Class in org.apache.jmeter.timers.gui
This is the base class for JMeter GUI components which manage timers.
AbstractTimerGui() - +Constructor for class org.apache.jmeter.timers.gui.AbstractTimerGui +
  +
AbstractTreeTableModel - Class in org.apache.jorphan.gui
 
AbstractTreeTableModel(TreeNode) - +Constructor for class org.apache.jorphan.gui.AbstractTreeTableModel +
  +
AbstractTreeTableModel(String[], Functor[], Functor[], Class<?>[]) - +Constructor for class org.apache.jorphan.gui.AbstractTreeTableModel +
  +
AbstractVisualizer - Class in org.apache.jmeter.visualizers.gui
This is the base class for JMeter GUI components which can display test + results in some way.
AbstractVisualizer() - +Constructor for class org.apache.jmeter.visualizers.gui.AbstractVisualizer +
  +
accept(File) - +Method in class org.apache.jmeter.gui.JMeterFileFilter +
Determine if the specified file is allowed by this filter. +
accept(String) - +Method in class org.apache.jmeter.gui.JMeterFileFilter +
Determine if the specified filename is allowed by this filter. +
AccessLogSampler - Class in org.apache.jmeter.protocol.http.sampler
Description:
+
+ AccessLogSampler is responsible for a couple of things: + + creating instances of Generator + creating instances of Parser + triggering popup windows + calling Generator.generateRequest() + checking to make sure the classes are valid + making sure a class can be instantiated + + The intent of this sampler is it uses the generator and parser to create a + HTTPSampler when it is needed.
AccessLogSampler() - +Constructor for class org.apache.jmeter.protocol.http.sampler.AccessLogSampler +
  +
AccessLogSamplerBeanInfo - Class in org.apache.jmeter.protocol.http.sampler
 
AccessLogSamplerBeanInfo() - +Constructor for class org.apache.jmeter.protocol.http.sampler.AccessLogSamplerBeanInfo +
  +
AccumListener - Interface in org.apache.jmeter.visualizers
 
ACTION_SHUTDOWN - +Static variable in class org.apache.jmeter.gui.action.ActionNames +
  +
ACTION_SHUTDOWN - +Static variable in class org.apache.jmeter.gui.action.KeyStrokes +
  +
ACTION_START - +Static variable in class org.apache.jmeter.gui.action.ActionNames +
  +
ACTION_START - +Static variable in class org.apache.jmeter.gui.action.KeyStrokes +
  +
ACTION_START_NO_TIMERS - +Static variable in class org.apache.jmeter.gui.action.ActionNames +
  +
ACTION_STOP - +Static variable in class org.apache.jmeter.gui.action.ActionNames +
  +
ACTION_STOP - +Static variable in class org.apache.jmeter.gui.action.KeyStrokes +
  +
ActionNames - Class in org.apache.jmeter.gui.action
 
actionPerformed(ActionEvent) - +Method in class org.apache.jmeter.assertions.gui.HTMLAssertionGui +
This method is called from erros-only checkbox +
actionPerformed(ActionEvent) - +Method in class org.apache.jmeter.assertions.gui.SizeAssertionGui +
  +
actionPerformed(ActionEvent) - +Method in class org.apache.jmeter.config.gui.ArgumentsPanel +
Invoked when an action occurs. +
actionPerformed(ActionEvent) - +Method in class org.apache.jmeter.config.gui.RowDetailDialog +
Do search +
actionPerformed(ActionEvent) - +Method in class org.apache.jmeter.config.gui.SimpleConfigGui +
Invoked when an action occurs. +
actionPerformed(ActionEvent) - +Method in class org.apache.jmeter.control.gui.LoopControlPanel +
Invoked when an action occurs. +
actionPerformed(ActionEvent) - +Method in class org.apache.jmeter.control.gui.ModuleControllerGui +
Implementation of Expand button - moves focus to a test plan tree element referenced by + selected element in Module to run tree +
actionPerformed(ActionEvent) - +Method in class org.apache.jmeter.control.gui.RunTimeGui +
Invoked when an action occurs. +
actionPerformed(ActionEvent) - +Method in class org.apache.jmeter.functions.gui.FunctionHelper +
  +
actionPerformed(ActionEvent) - +Method in class org.apache.jmeter.gui.action.ActionRouter +
  +
actionPerformed(ActionEvent) - +Method in class org.apache.jmeter.gui.action.CheckDirty +
  +
actionPerformed(ActionEvent) - +Method in class org.apache.jmeter.gui.action.SearchTreeDialog +
Do search +
actionPerformed(ActionEvent) - +Method in class org.apache.jmeter.gui.action.SelectTemplatesDialog +
Do search +
actionPerformed(ActionEvent) - +Method in class org.apache.jmeter.gui.action.StopStoppables +
  +
actionPerformed(ActionEvent) - +Method in class org.apache.jmeter.gui.MainFrame +
Handles click on warnIndicator +
actionPerformed(ActionEvent) - +Method in class org.apache.jmeter.gui.SavePropertyDialog +
  +
actionPerformed(ActionEvent) - +Method in class org.apache.jmeter.gui.util.FileListPanel +
  +
actionPerformed(ActionEvent) - +Method in class org.apache.jmeter.gui.util.FilePanelEntry +
  +
actionPerformed(ActionEvent) - +Method in class org.apache.jmeter.gui.util.JLabeledRadioI18N +
When a radio button is clicked, an ActionEvent is triggered. +
actionPerformed(ActionEvent) - +Method in class org.apache.jmeter.gui.util.TextAreaTableCellEditor.EditorDelegate +
When an action is performed, editing is ended. +
actionPerformed(ActionEvent) - +Method in class org.apache.jmeter.gui.util.TextBoxDialoger +
  +
actionPerformed(ActionEvent) - +Method in class org.apache.jmeter.modifiers.gui.CounterConfigGui +
Disable/Enable resetCounterOnEachThreadGroupIteration when perUserField is disabled / enabled +
actionPerformed(ActionEvent) - +Method in class org.apache.jmeter.protocol.http.control.gui.HttpMirrorControlGui +
  +
actionPerformed(ActionEvent) - +Method in class org.apache.jmeter.protocol.http.control.gui.WebServiceSamplerGui +
method from ActionListener +
actionPerformed(ActionEvent) - +Method in class org.apache.jmeter.protocol.http.gui.AuthPanel +
  +
actionPerformed(ActionEvent) - +Method in class org.apache.jmeter.protocol.http.gui.CookiePanel +
  +
actionPerformed(ActionEvent) - +Method in class org.apache.jmeter.protocol.http.gui.DNSCachePanel +
  +
actionPerformed(ActionEvent) - +Method in class org.apache.jmeter.protocol.http.gui.HeaderPanel +
  +
actionPerformed(ActionEvent) - +Method in class org.apache.jmeter.protocol.http.gui.HTTPFileArgsPanel +
Invoked when an action occurs. +
actionPerformed(ActionEvent) - +Method in class org.apache.jmeter.protocol.http.proxy.gui.ProxyControlGui +
+
actionPerformed(ActionEvent) - +Method in class org.apache.jmeter.protocol.java.config.gui.JavaConfigGui +
Handle action events for this component. +
actionPerformed(ActionEvent) - +Method in class org.apache.jmeter.protocol.java.control.gui.JUnitTestSamplerGui +
Handle action events for this component. +
actionPerformed(ActionEvent) - +Method in class org.apache.jmeter.protocol.jms.control.gui.JMSPropertiesPanel +
  +
actionPerformed(ActionEvent) - +Method in class org.apache.jmeter.protocol.ldap.config.gui.LDAPArgumentsPanel +
Invoked when an action occurs. +
actionPerformed(ActionEvent) - +Method in class org.apache.jmeter.protocol.mail.sampler.gui.MailReaderSamplerGui +
  +
actionPerformed(ActionEvent) - +Method in class org.apache.jmeter.testbeans.gui.FileEditor +
+
actionPerformed(ActionEvent) - +Method in class org.apache.jmeter.testbeans.gui.PasswordEditor +
+
actionPerformed(ActionEvent) - +Method in class org.apache.jmeter.util.ScopePanel +
  +
actionPerformed(ActionEvent) - +Method in class org.apache.jmeter.visualizers.backend.BackendListenerGui +
Handle action events for this component. +
actionPerformed(ActionEvent) - +Method in class org.apache.jmeter.visualizers.MailerVisualizer +
Reacts on an ActionEvent (like pressing a button). +
actionPerformed(ActionEvent) - +Method in class org.apache.jmeter.visualizers.PropertyControlGui +
  +
actionPerformed(ActionEvent) - +Method in class org.apache.jmeter.visualizers.RenderAsCssJQuery +
Display the response as text or as rendered HTML. +
actionPerformed(ActionEvent) - +Method in class org.apache.jmeter.visualizers.RenderAsRegexp +
Display the response as text or as rendered HTML. +
actionPerformed(ActionEvent) - +Method in class org.apache.jmeter.visualizers.RenderAsXPath +
Display the response as text or as rendered HTML. +
actionPerformed(ActionEvent) - +Method in class org.apache.jmeter.visualizers.RespTimeGraphVisualizer +
  +
actionPerformed(ActionEvent) - +Method in class org.apache.jmeter.visualizers.SearchTextExtension +
Display the response as text or as rendered HTML. +
actionPerformed(ActionEvent) - +Method in class org.apache.jmeter.visualizers.StatGraphVisualizer +
  +
actionPerformed(ActionEvent) - +Method in class org.apache.jmeter.visualizers.StatVisualizer +
  +
actionPerformed(ActionEvent) - +Method in class org.apache.jmeter.visualizers.SummaryReport +
  +
actionPerformed(ActionEvent) - +Method in class org.apache.jmeter.visualizers.ViewResultsFullVisualizer +
+
ActionRouter - Class in org.apache.jmeter.gui.action
 
activateSearchExtension - +Variable in class org.apache.jmeter.visualizers.SamplerResultTab +
  +
ACTIVE - +Static variable in class org.apache.jmeter.monitor.util.Stats +
  +
ACTIVE_PER - +Static variable in class org.apache.jmeter.monitor.util.Stats +
  +
activeThreads - +Variable in class org.apache.jmeter.threads.JMeterContextService.ThreadCounts +
  +
ADD - +Static variable in class org.apache.jmeter.gui.action.ActionNames +
  +
add(JMeterTreeModel, String) - +Method in class org.apache.jmeter.gui.UndoHistory +
Add tree model copy to the history + + This method relies on the rule that the record in history made AFTER + change has been made to test plan +
add(Component) - +Method in class org.apache.jmeter.gui.util.HorizontalPanel +
+
add(Component) - +Method in class org.apache.jmeter.gui.util.VerticalPanel +
+
add(Cookie) - +Method in class org.apache.jmeter.protocol.http.control.CookieManager +
Add a cookie. +
add(Header) - +Method in class org.apache.jmeter.protocol.http.control.HeaderManager +
Add a header. +
add() - +Method in class org.apache.jmeter.protocol.http.control.HeaderManager +
Add an empty header. +
add(URL) - +Method in class org.apache.jmeter.protocol.http.parser.URLCollection +
Adds the URL to the Collection, first wrapping it in the URLString class +
ADD - +Static variable in class org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler +
  +
ADD - +Static variable in class org.apache.jmeter.protocol.ldap.sampler.LDAPSampler +
  +
add(SampleResult) - +Method in class org.apache.jmeter.reporters.MailerModel +
Adds a SampleResult for display in the Visualizer. +
add(SampleResult, boolean) - +Method in class org.apache.jmeter.reporters.MailerModel +
Adds a SampleResult. +
add(SampleResult) - +Method in class org.apache.jmeter.reporters.ResultCollectorHelper +
  +
add(SampleResult) - +Method in class org.apache.jmeter.samplers.StatisticalSampleResult +
  +
add(SampleResult) - +Method in class org.apache.jmeter.visualizers.AssertionVisualizer +
  +
add(SampleResult) - +Method in class org.apache.jmeter.visualizers.backend.SamplerMetric +
Add a SampleResult to be used in the statistics +
add(SampleResult) - +Method in class org.apache.jmeter.visualizers.backend.UserMetric +
Add a SampleResult to be used in the statistics +
add(SampleResult) - +Method in class org.apache.jmeter.visualizers.BeanShellListener +
  +
add(SampleResult) - +Method in class org.apache.jmeter.visualizers.BSFListener +
  +
add(SampleResult) - +Method in class org.apache.jmeter.visualizers.ComparisonVisualizer +
  +
add(SampleResult) - +Method in class org.apache.jmeter.visualizers.DistributionGraphVisualizer +
  +
add(SampleResult) - +Method in class org.apache.jmeter.visualizers.GraphVisualizer +
  +
add(SampleResult) - +Method in class org.apache.jmeter.visualizers.JSR223Listener +
  +
add(SampleResult) - +Method in class org.apache.jmeter.visualizers.MailerVisualizer +
  +
add(SampleResult) - +Method in class org.apache.jmeter.visualizers.MonitorHealthVisualizer +
Because of the unique requirements of a monitor We have to handle the + results differently than normal GUI components. +
add(SampleResult) - +Method in class org.apache.jmeter.visualizers.RespTimeGraphVisualizer +
  +
add(SampleResult) - +Method in class org.apache.jmeter.visualizers.SimpleDataWriter +
Does nothing, but required by interface. +
add(SampleResult) - +Method in class org.apache.jmeter.visualizers.SplineModel +
  +
add(SampleResult) - +Method in class org.apache.jmeter.visualizers.SplineVisualizer +
  +
add(SampleResult) - +Method in class org.apache.jmeter.visualizers.StatGraphVisualizer +
  +
add(SampleResult) - +Method in class org.apache.jmeter.visualizers.StatVisualizer +
  +
add(SampleResult) - +Method in class org.apache.jmeter.visualizers.SummaryReport +
  +
add(SampleResult) - +Method in class org.apache.jmeter.visualizers.TableVisualizer +
  +
add(SampleResult) - +Method in class org.apache.jmeter.visualizers.ViewResultsFullVisualizer +
This method is called by sampling thread to inform the visualizer about + the arrival of a new sample. +
add(SampleResult) - +Method in interface org.apache.jmeter.visualizers.Visualizer +
This method is called by sampling thread to inform the visualizer about + the arrival of a new sample. +
add(Object, HashTree) - +Method in class org.apache.jorphan.collections.HashTree +
Adds a key as a node at the current level and then adds the given + HashTree to that new node. +
add(HashTree) - +Method in class org.apache.jorphan.collections.HashTree +
Adds all the nodes and branches of the given tree to this tree. +
add(Object) - +Method in class org.apache.jorphan.collections.HashTree +
Adds an key into the HashTree at the current level. +
add(Object[]) - +Method in class org.apache.jorphan.collections.HashTree +
Adds all the given objects as nodes at the current level. +
add(Collection<?>) - +Method in class org.apache.jorphan.collections.HashTree +
Adds a bunch of keys into the HashTree at the current level. +
add(Object, Object) - +Method in class org.apache.jorphan.collections.HashTree +
Adds a key and it's value in the HashTree. +
add(Object, Object[]) - +Method in class org.apache.jorphan.collections.HashTree +
Adds a key and it's values in the HashTree. +
add(Object, Collection<?>) - +Method in class org.apache.jorphan.collections.HashTree +
Adds a key as a node at the current level and then adds all the objects + in the second argument as nodes of the new node. +
add(Object[], Object[]) - +Method in class org.apache.jorphan.collections.HashTree +
Adds a series of nodes into the HashTree using the given path. +
add(Object[], Collection<?>) - +Method in class org.apache.jorphan.collections.HashTree +
Adds a series of nodes into the HashTree using the given path. +
add(Object[], Object) - +Method in class org.apache.jorphan.collections.HashTree +
  +
add(Collection<?>, Object[]) - +Method in class org.apache.jorphan.collections.HashTree +
Adds a series of nodes into the HashTree using the given path. +
add(Collection<?>, Object) - +Method in class org.apache.jorphan.collections.HashTree +
Adds a series of nodes into the HashTree using the given path. +
add(Collection<?>, Collection<?>) - +Method in class org.apache.jorphan.collections.HashTree +
Adds a series of nodes into the HashTree using the given path. +
add(Object) - +Method in class org.apache.jorphan.collections.ListedHashTree +
Adds an key into the HashTree at the current level. +
ADD_ALL - +Static variable in class org.apache.jmeter.gui.action.ActionNames +
  +
ADD_BUTTON - +Static variable in class org.apache.jmeter.gui.util.ButtonPanel +
  +
ADD_PARENT - +Static variable in class org.apache.jmeter.gui.action.ActionNames +
  +
ADD_TIMESTAMP - +Static variable in class org.apache.jmeter.reporters.ResultSaver +
  +
addAll(StatCalculator<T>) - +Method in class org.apache.jorphan.math.StatCalculator +
  +
addArgument(String, String) - +Method in class org.apache.jmeter.config.Arguments +
Add a new argument with the given name and value. +
addArgument(Argument) - +Method in class org.apache.jmeter.config.Arguments +
Add a new argument. +
addArgument(String, String, String) - +Method in class org.apache.jmeter.config.Arguments +
Add a new argument with the given name, value, and metadata. +
addArgument() - +Method in class org.apache.jmeter.config.gui.ArgumentsPanel +
Add a new argument row to the table. +
addArgument() - +Method in class org.apache.jmeter.config.gui.SimpleConfigGui +
Add a new argument row to the table. +
addArgument(String, String) - +Method in class org.apache.jmeter.protocol.http.config.MultipartUrlConfig +
  +
addArgument(String, String, String) - +Method in class org.apache.jmeter.protocol.http.config.MultipartUrlConfig +
  +
addArgument(String, String) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
addArgument(String, String, String) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
addArgument(String, String) - +Method in class org.apache.jmeter.protocol.java.config.JavaConfig +
Adds an argument to the list of arguments for this JavaConfig object. +
addArgument(String, String, String) - +Method in class org.apache.jmeter.protocol.ldap.config.gui.LDAPArguments +
Add a new argument with the given name and value. +
addArgument(LDAPArgument) - +Method in class org.apache.jmeter.protocol.ldap.config.gui.LDAPArguments +
Add a new argument. +
addArgument(String, String, String, String) - +Method in class org.apache.jmeter.protocol.ldap.config.gui.LDAPArguments +
Add a new argument with the given name, value, and metadata. +
addAssertion(Assertion) - +Method in class org.apache.jmeter.samplers.Entry +
  +
addAssertion(Assertion) - +Method in class org.apache.jmeter.threads.SamplePackage +
Add Assertion +
addAssertionResult(AssertionResult) - +Method in class org.apache.jmeter.samplers.SampleResult +
  +
addAttachment(File) - +Method in class org.apache.jmeter.protocol.smtp.sampler.protocol.SendMailCommand +
Adds an attachment to current message - to be called by + SmtpSampler-object +
addAuth(Authorization) - +Method in class org.apache.jmeter.protocol.http.control.AuthManager +
Add newAuthorization if it does not already exist +
addAuth() - +Method in class org.apache.jmeter.protocol.http.control.AuthManager +
  +
addButtonListener(int, ActionListener) - +Method in class org.apache.jmeter.gui.util.ButtonPanel +
  +
addBytes(long) - +Method in class org.apache.jmeter.util.Calculator +
  +
addBytes(long) - +Method in class org.apache.jorphan.math.StatCalculator +
  +
addChangeListener(ChangeListener) - +Method in class org.apache.jmeter.gui.util.FileListPanel +
  +
addChangeListener(ChangeListener) - +Method in class org.apache.jmeter.gui.util.FilePanelEntry +
  +
addChangeListener(ChangeListener) - +Method in class org.apache.jmeter.gui.util.JLabeledRadioI18N +
+
addChangeListener(ChangeListener) - +Method in class org.apache.jmeter.reporters.MailerModel +
  +
addChangeListener(ChangeListener) - +Method in class org.apache.jorphan.gui.JLabeledChoice +
Adds a change listener, that will be notified when the text in the text + field is changed. +
addChangeListener(ChangeListener) - +Method in interface org.apache.jorphan.gui.JLabeledField +
  +
addChangeListener(ChangeListener) - +Method in class org.apache.jorphan.gui.JLabeledTextArea +
Adds a change listener, that will be notified when the text in the text + field is changed. +
addChangeListener(ChangeListener) - +Method in class org.apache.jorphan.gui.JLabeledTextField +
Adds a change listener, that will be notified when the text in the text + field is changed. +
addClient(Closeable) - +Static method in class org.apache.jmeter.protocol.jms.client.ClientPool +
Add a ReceiveClient to the ClientPool. +
addColumnValue(String, Object) - +Method in class org.apache.jorphan.collections.Data +
Adds a value into the Data set at the current row, using a column name to + find the column in which to insert the new value. +
addComponent(TestElement, JMeterTreeNode) - +Method in class org.apache.jmeter.gui.tree.JMeterTreeModel +
Add a TestElement to a JMeterTreeNode +
addConfigElement(ConfigElement) - +Method in interface org.apache.jmeter.config.ConfigElement +
Add a configuration element to this one. +
addConfigElement(ConfigElement) - +Method in class org.apache.jmeter.config.ConfigTestElement +
Add a configuration element to this one. +
addConfigElement(ConfigElement) - +Method in class org.apache.jmeter.protocol.http.control.AuthManager +
Add a configuration element to this one. +
addConfigElement(ConfigElement) - +Method in class org.apache.jmeter.protocol.http.control.Authorization +
  +
addConfigElement(ConfigElement) - +Method in class org.apache.jmeter.protocol.http.control.Cookie +
  +
addConfigElement(ConfigElement) - +Method in class org.apache.jmeter.protocol.http.control.Header +
  +
addConfigElement(ConfigElement) - +Method in class org.apache.jmeter.protocol.http.modifier.AnchorModifier +
  +
addConfigElement(ConfigElement) - +Method in class org.apache.jmeter.protocol.http.proxy.ProxyControl +
  +
addConfigElement(ConfigElement) - +Method in class org.apache.jmeter.protocol.jdbc.config.DataSourceElement +
  +
addConfigElement(ConfigElement) - +Method in class org.apache.jmeter.protocol.mongodb.config.MongoSourceElement +
  +
addConfigElement(ConfigElement) - +Method in class org.apache.jmeter.samplers.Entry +
  +
addConfigElement(ConfigElement, Class<?>) - +Method in class org.apache.jmeter.samplers.Entry +
Add a config element as a specific class. +
addConnector(Connector) - +Method in interface org.apache.jmeter.monitor.model.Status +
  +
addConnector(Connector) - +Method in class org.apache.jmeter.monitor.model.StatusImpl +
  +
addCookieFromHeader(CookieManager, boolean, String, URL) - +Method in interface org.apache.jmeter.protocol.http.control.CookieHandler +
Add cookie to CookieManager from cookieHeader and URL +
addCookieFromHeader(String, URL) - +Method in class org.apache.jmeter.protocol.http.control.CookieManager +
  +
addCookieFromHeader(CookieManager, boolean, String, URL) - +Method in class org.apache.jmeter.protocol.http.control.HC3CookieHandler +
Add cookie to CookieManager from cookieHeader and URL +
addCookieFromHeader(CookieManager, boolean, String, URL) - +Method in class org.apache.jmeter.protocol.http.control.HC4CookieHandler +
  +
addEditMenu(JPopupMenu, boolean) - +Static method in class org.apache.jmeter.gui.util.MenuFactory +
  +
addEmptyArgument() - +Method in class org.apache.jmeter.config.Arguments +
Add a new empty argument to the list. +
addEmptyArgument() - +Method in class org.apache.jmeter.protocol.ldap.config.gui.LDAPArguments +
Add a new empty argument to the list. +
addEmptyHTTPFileArg() - +Method in class org.apache.jmeter.protocol.http.util.HTTPFileArgs +
Add a new empty file to the list. +
addEncodedArgument(String, String) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
Add an argument which has already been encoded +
addEncodedArgument(String, String, String, String) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
Creates an HTTPArgument and adds it to the current set HTTPSamplerBase.getArguments() of arguments. +
addEncodedArgument(String, String, String) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
addEncodedArgument(String, String, String) - +Method in class org.apache.jmeter.protocol.http.sampler.WebServiceSampler +
We override this to prevent the wrong encoding and provide no + implementation. +
addExcludedPattern(String) - +Method in class org.apache.jmeter.protocol.http.proxy.ProxyControl +
  +
addFile(String) - +Method in class org.apache.jmeter.protocol.http.control.AuthManager +
Add authentication data from a file. +
addFile(String) - +Method in class org.apache.jmeter.protocol.http.control.CookieManager +
Add cookie data from a file. +
addFile(String) - +Method in class org.apache.jmeter.protocol.http.control.HeaderManager +
Add header data from a file. +
addFileMenu(JPopupMenu) - +Static method in class org.apache.jmeter.gui.util.MenuFactory +
  +
addFileMenu(JPopupMenu, boolean) - +Static method in class org.apache.jmeter.gui.util.MenuFactory +
  +
addFilename(String) - +Method in class org.apache.jmeter.gui.util.FileListPanel +
Add a single file to the table +
addFormActionsAndCharSet(String, Map<String, String>, String) - +Method in class org.apache.jmeter.protocol.http.proxy.FormCharSetFinder +
Add form action urls and their corresponding encodings for all forms on the page +
addFromClipboard() - +Method in class org.apache.jmeter.config.gui.ArgumentsPanel +
Add values from the clipboard +
addFromClipboard() - +Method in class org.apache.jmeter.protocol.http.gui.HeaderPanel +
Add values from the clipboard. +
addFromClipboard(JTable) - +Method in class org.apache.jmeter.protocol.http.proxy.gui.ProxyControlGui +
Add values from the clipboard to table +
addHandshakeCompletedListener(HandshakeCompletedListener) - +Method in class org.apache.jmeter.util.SlowSSLSocket +
  +
addHeader(String, String) - +Method in class org.apache.jmeter.protocol.smtp.sampler.protocol.SendMailCommand +
Adds a header-part to current HashMap of headers - to be called by + SmtpSampler-object +
addHeader(String) - +Method in class org.apache.jorphan.collections.Data +
Adds a header name to the Data object. +
addHTTPFileArg(String) - +Method in class org.apache.jmeter.protocol.http.util.HTTPFileArgs +
Add a new file with the given path. +
addHTTPFileArg(HTTPFileArg) - +Method in class org.apache.jmeter.protocol.http.util.HTTPFileArgs +
Add a new file. +
addHTTPFileArg(String, String, String) - +Method in class org.apache.jmeter.protocol.http.util.HTTPFileArgs +
adds a new File to the HTTPFileArgs list to be uploaded with http + request. +
addIncludedPattern(String) - +Method in class org.apache.jmeter.protocol.http.proxy.ProxyControl +
  +
addItem(Object) - +Method in class org.apache.jmeter.testelement.property.CollectionProperty +
  +
addIterationListener(LoopIterationListener) - +Method in interface org.apache.jmeter.control.Controller +
Controllers have to notify listeners of when they begin an iteration + through their sub-elements. +
addIterationListener(LoopIterationListener) - +Method in class org.apache.jmeter.control.GenericController +
  +
addIterationListener(LoopIterationListener) - +Method in class org.apache.jmeter.threads.AbstractThreadGroup +
Controllers have to notify listeners of when they begin an iteration + through their sub-elements. +
addJMeterVariables(JMeterVariables) - +Method in class org.apache.jmeter.testelement.VariablesCollection +
  +
addJMSProperties(Message, Map<String, Object>) - +Static method in class org.apache.jmeter.protocol.jms.Utils +
Set JMS Properties to msg +
addJmsProperty(String, String) - +Method in class org.apache.jmeter.protocol.jms.sampler.JMSProperties +
Add a new JMSProperty with the given name and value. +
addJmsProperty(JMSProperty) - +Method in class org.apache.jmeter.protocol.jms.sampler.JMSProperties +
Add a new argument. +
addJmsProperty(String, String, String) - +Method in class org.apache.jmeter.protocol.jms.sampler.JMSProperties +
Add a new argument with the given name, value, and metadata. +
addLayoutComponent(String, Component) - +Method in class org.apache.jorphan.gui.layout.VerticalLayout +
Not used by this class. +
addListener(MonitorListener) - +Method in class org.apache.jmeter.visualizers.MonitorAccumModel +
Add a listener. +
addLocaleChangeListener(LocaleChangeListener) - +Static method in class org.apache.jmeter.util.JMeterUtils +
  +
addLogTargetToRootLogger(LogTarget[]) - +Static method in class org.apache.jorphan.logging.LoggingManager +
Add logTargets to root logger + FIXME What's the clean way to add a LogTarget afterwards ? +
addMouseListener(MouseListener) - +Method in class org.apache.jmeter.gui.util.TristateCheckBox +
  +
addNewColumn(String, Class<?>) - +Method in class org.apache.jmeter.gui.util.PowerTableModel +
  +
addNewRow() - +Method in class org.apache.jmeter.gui.util.PowerTableModel +
  +
addNode(Object, HashTree) - +Method in class org.apache.jmeter.engine.ConvertListeners +
The tree traverses itself depth-first, calling addNode for each object it + encounters as it goes. +
addNode(Object, HashTree) - +Method in class org.apache.jmeter.engine.PreCompiler +
The tree traverses itself depth-first, calling addNode for each object it + encounters as it goes. +
addNode(Object, HashTree) - +Method in class org.apache.jmeter.engine.TreeCloner +
The tree traverses itself depth-first, calling addNode for each object it + encounters as it goes. +
addNode(Object, HashTree) - +Method in class org.apache.jmeter.engine.TurnElementsOn +
The tree traverses itself depth-first, calling addNode for each object it + encounters as it goes. +
addNode(Object, HashTree) - +Method in class org.apache.jmeter.gui.action.CheckDirty +
The tree traverses itself depth-first, calling addNode for each + object it encounters as it goes. +
addNode(Object, HashTree) - +Method in class org.apache.jmeter.threads.FindTestElementsUpToRootTraverser +
The tree traverses itself depth-first, calling addNode for each object it + encounters as it goes. +
addNode(Object, HashTree) - +Method in class org.apache.jmeter.threads.TestCompiler +
The tree traverses itself depth-first, calling addNode for each object it + encounters as it goes. +
addNode(Object, HashTree) - +Method in interface org.apache.jorphan.collections.HashTreeTraverser +
The tree traverses itself depth-first, calling addNode for each object it + encounters as it goes. +
addNode(Object, HashTree) - +Method in class org.apache.jorphan.collections.SearchByClass +
The tree traverses itself depth-first, calling addNode for each object it + encounters as it goes. +
addNodeToTree(Object) - +Method in class org.apache.jmeter.engine.TreeCloner +
  +
addNodeToTree(Object) - +Method in class org.apache.jmeter.engine.TreeClonerNoTimer +
Doesn't add Timer to tree +
addNonEncodedArgument(String, String, String) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
addParameter(String, String) - +Method in class org.apache.jmeter.testelement.TestPlan +
  +
AddParent - Class in org.apache.jmeter.gui.action
Implements the Add Parent menu command
AddParent() - +Constructor for class org.apache.jmeter.gui.action.AddParent +
  +
addParentToTree(TestElement) - +Method in class org.apache.jmeter.gui.action.AddParent +
  +
addPasteResetMenu(JPopupMenu) - +Static method in class org.apache.jmeter.gui.util.MenuFactory +
  +
addPath(String) - +Static method in class org.apache.jmeter.NewDriver +
Add a directory or jar to the loader and system classpaths. +
addPostActionListener(Class<?>, ActionListener) - +Method in class org.apache.jmeter.gui.action.ActionRouter +
Allows an ActionListener to receive notification of a command being + executed after the command has executed. +
addPostProcessor(PostProcessor) - +Method in class org.apache.jmeter.threads.SamplePackage +
Add Post processor +
addPreActionListener(Class<?>, ActionListener) - +Method in class org.apache.jmeter.gui.action.ActionRouter +
Allows an ActionListener to receive notification of a command being + executed prior to the actual execution of the command. +
addPreProcessor(PreProcessor) - +Method in class org.apache.jmeter.threads.SamplePackage +
Add Pre processor +
addPropertiesValues(List<String>, Set<String>) - +Method in class org.apache.jmeter.testelement.AbstractTestElement +
Add to result the values of propertyNames +
addProperty(JMeterProperty, boolean) - +Method in class org.apache.jmeter.testelement.AbstractTestElement +
Add property to test element +
addProperty(JMeterProperty) - +Method in class org.apache.jmeter.testelement.AbstractTestElement +
Add property to test element without cloning it +
addProperty(JMeterProperty) - +Method in class org.apache.jmeter.testelement.property.CollectionProperty +
Add a property to the collection. +
addProperty(JMeterProperty) - +Method in class org.apache.jmeter.testelement.property.MapProperty +
Add a property to the collection. +
addProperty(String, JMeterProperty) - +Method in class org.apache.jmeter.testelement.property.MapProperty +
  +
addProperty(JMeterProperty) - +Method in class org.apache.jmeter.testelement.property.MultiProperty +
Add a property to the collection. +
addProperty(JMeterProperty) - +Method in class org.apache.jmeter.testelement.property.TestElementProperty +
Add a property to the collection. +
addPropertyChangeListener(PropertyChangeListener) - +Method in class org.apache.jmeter.testbeans.gui.FileEditor +
+
addRawSubResult(SampleResult) - +Method in class org.apache.jmeter.samplers.SampleResult +
Add a subresult to the collection without updating any parent fields. +
addRow(Object[]) - +Method in class org.apache.jmeter.gui.util.PowerTableModel +
  +
addRow() - +Method in class org.apache.jorphan.collections.Data +
  +
addRow(Object) - +Method in class org.apache.jorphan.gui.ObjectTableModel +
  +
addSample(SampleResult) - +Method in class org.apache.jmeter.util.Calculator +
Add details for a sample result, which may consist of multiple samples. +
addSample(SampleResult) - +Method in class org.apache.jmeter.visualizers.CachingStatCalculator +
Records a sample. +
addSample(MonitorModel) - +Method in class org.apache.jmeter.visualizers.MonitorAccumModel +
Method will look up the server in the map. +
addSample(SampleResult) - +Method in class org.apache.jmeter.visualizers.MonitorAccumModel +
Method will try to parse the response data. +
addSample(MonitorModel) - +Method in class org.apache.jmeter.visualizers.MonitorHealthPanel +
  +
addSample(MonitorModel) - +Method in interface org.apache.jmeter.visualizers.MonitorListener +
  +
addSample(MonitorModel) - +Method in class org.apache.jmeter.visualizers.MonitorPerformancePanel +
MonitorAccumModel will call this method to notify the component data has + changed. +
addSample(SampleResult) - +Method in class org.apache.jmeter.visualizers.RunningSample +
Records a sample. +
addSample(RunningSample) - +Method in class org.apache.jmeter.visualizers.RunningSample +
Adds another RunningSample to this one. +
addSample(SampleResult) - +Method in class org.apache.jmeter.visualizers.SamplingStatCalculator +
Records a sample. +
addSampleListener(SampleListener) - +Method in class org.apache.jmeter.threads.SamplePackage +
Add Sample Listener +
addServer(String) - +Method in class org.apache.jmeter.protocol.http.control.DNSCacheManager +
  +
addSubResult(SampleResult) - +Method in class org.apache.jmeter.samplers.SampleResult +
Add a subresult and adjust the parent byte count and end-time. +
addSubSamplerResult(SampleResult) - +Method in class org.apache.jmeter.control.TransactionSampler +
  +
addSubTree(HashTree) - +Method in class org.apache.jmeter.gui.GuiPackage +
Add a subtree to the currently selected node. +
addSubTree(HashTree, JMeterTreeNode) - +Method in class org.apache.jmeter.gui.tree.JMeterTreeModel +
Adds the sub tree at the given node. +
addSuggestedExcludes(JTable) - +Method in class org.apache.jmeter.protocol.http.proxy.gui.ProxyControlGui +
Add suggested excludes to exclude table +
addTableModelListener(TableModelListener) - +Method in class org.apache.jorphan.gui.AbstractTreeTableModel +
+
addTemplate(Template) - +Method in class org.apache.jmeter.gui.action.template.TemplateManager +
  +
addTestElement(TestElement) - +Method in class org.apache.jmeter.config.ConfigTestElement +
  +
addTestElement(TestElement) - +Method in class org.apache.jmeter.control.GenericController +
  +
addTestElement(TestElement) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
addTestElement(TestElement) - +Method in class org.apache.jmeter.testelement.AbstractTestElement +
+
addTestElement(TestElement) - +Method in interface org.apache.jmeter.testelement.TestElement +
  +
addTestElement(TestElement) - +Method in class org.apache.jmeter.testelement.TestPlan +
  +
addTestElement(TestElement) - +Method in class org.apache.jmeter.threads.AbstractThreadGroup +
Add a test element. +
addTestElementOnce(TestElement) - +Method in class org.apache.jmeter.control.GenericController +
Add child test element only if it has not already been added. +
addTestElementOnce(TestElement) - +Method in class org.apache.jmeter.threads.AbstractThreadGroup +
Add child test element only if it has not already been added. +
addTestElementOnce(TestElement) - +Method in interface org.apache.jmeter.threads.TestCompilerHelper +
Add child test element only if it has not already been added. +
addTestString(String) - +Method in class org.apache.jmeter.assertions.ResponseAssertion +
  +
addThreadGroup(AbstractThreadGroup) - +Method in class org.apache.jmeter.testelement.TestPlan +
Adds a feature to the AbstractThreadGroup attribute of the TestPlan object. +
addTimer(Timer) - +Method in class org.apache.jmeter.threads.SamplePackage +
Add Timer +
addToBaseResult(String) - +Method in class org.apache.jmeter.assertions.CompareAssertionResult +
  +
addToSecondaryResult(String) - +Method in class org.apache.jmeter.assertions.CompareAssertionResult +
  +
addTotalThreads(int) - +Static method in class org.apache.jmeter.threads.JMeterContextService +
Update the total number of threads +
AddToTree - Class in org.apache.jmeter.gui.action
 
AddToTree() - +Constructor for class org.apache.jmeter.gui.action.AddToTree +
  +
addTreePath(Collection<?>) - +Method in class org.apache.jorphan.collections.HashTree +
  +
addURL(URL) - +Method in class org.apache.jmeter.DynamicClassLoader +
  +
addURL(String) - +Static method in class org.apache.jmeter.NewDriver +
Add a URL to the loader classpath only; does not update the system classpath. +
addURL(URL) - +Static method in class org.apache.jmeter.NewDriver +
Add a URL to the loader classpath only; does not update the system + classpath. +
addURL(String, URL) - +Method in class org.apache.jmeter.protocol.http.parser.URLCollection +
Convenience method for adding URLs to the collection. +
addValue(long) - +Method in class org.apache.jmeter.util.Calculator +
Deprecated. Use Calculator.addSample(SampleResult) instead +
addValue(String) - +Method in class org.apache.jorphan.gui.JLabeledChoice +
  +
addValue(T, long) - +Method in class org.apache.jorphan.math.StatCalculator +
Update the calculator with the value for an aggregated sample. +
addValue(T) - +Method in class org.apache.jorphan.math.StatCalculator +
Add a single value (normally elapsed time) +
addValue(int) - +Method in class org.apache.jorphan.math.StatCalculatorInteger +
  +
addValue(int, int) - +Method in class org.apache.jorphan.math.StatCalculatorInteger +
Update the calculator with the value for an aggregated sample. +
addValue(long) - +Method in class org.apache.jorphan.math.StatCalculatorLong +
Add a single value (normally elapsed time) +
addValue(long, int) - +Method in class org.apache.jorphan.math.StatCalculatorLong +
Update the calculator with the value for an aggregated sample. +
addVariable(String, String) - +Method in class org.apache.jmeter.engine.util.ValueReplacer +
Add a variable to this replacer's variables map +
addVariables(Map<String, String>) - +Method in class org.apache.jmeter.engine.util.ValueReplacer +
Add all the given variables to this replacer's variables map. +
addWorker(Worker) - +Method in class org.apache.jmeter.monitor.model.WorkersImpl +
  +
AjpSampler - Class in org.apache.jmeter.protocol.http.sampler
Selector for the AJP/1.3 protocol + (i.e. what Tomcat uses with mod_jk) + It allows you to test Tomcat in AJP mode without + actually having Apache installed and configured
AjpSampler() - +Constructor for class org.apache.jmeter.protocol.http.sampler.AjpSampler +
  +
AjpSamplerGui - Class in org.apache.jmeter.protocol.http.control.gui
 
AjpSamplerGui() - +Constructor for class org.apache.jmeter.protocol.http.control.gui.AjpSamplerGui +
  +
aliasToClass(String) - +Static method in class org.apache.jmeter.save.SaveService +
  +
ALL - +Static variable in class org.apache.jmeter.functions.RegexFunction +
  +
ALL_MESSAGES - +Static variable in class org.apache.jmeter.protocol.mail.sampler.MailReaderSampler +
  +
ALT_DOWN_ARROW - +Static variable in class org.apache.jmeter.gui.action.KeyStrokes +
  +
ALT_LEFT_ARROW - +Static variable in class org.apache.jmeter.gui.action.KeyStrokes +
  +
ALT_RIGHT_ARROW - +Static variable in class org.apache.jmeter.gui.action.KeyStrokes +
  +
ALT_UP_ARROW - +Static variable in class org.apache.jmeter.gui.action.KeyStrokes +
  +
Analyze - Class in org.apache.jmeter.gui.action
 
Analyze() - +Constructor for class org.apache.jmeter.gui.action.Analyze +
  +
ANALYZE_FILE - +Static variable in class org.apache.jmeter.gui.action.ActionNames +
  +
AnchorModifier - Class in org.apache.jmeter.protocol.http.modifier
 
AnchorModifier() - +Constructor for class org.apache.jmeter.protocol.http.modifier.AnchorModifier +
  +
AnchorModifierGui - Class in org.apache.jmeter.protocol.http.modifier.gui
 
AnchorModifierGui() - +Constructor for class org.apache.jmeter.protocol.http.modifier.gui.AnchorModifierGui +
  +
append(Data) - +Method in class org.apache.jorphan.collections.Data +
Adds the rows of the given Data object to this Data object. +
appendMessages(Message[]) - +Method in class org.apache.jmeter.protocol.mail.sampler.MailFileFolder +
  +
APPLICATION_X_WWW_FORM_URLENCODED - +Static variable in interface org.apache.jmeter.protocol.http.util.HTTPConstantsInterface +
  +
applies(ConfigTestElement) - +Method in class org.apache.jmeter.control.TransactionSampler +
  +
applies(ConfigTestElement) - +Method in interface org.apache.jmeter.engine.util.ConfigMergabilityIndicator +
Does configElement apply to Sampler +
applies(ConfigTestElement) - +Method in class org.apache.jmeter.protocol.ftp.sampler.FTPSampler +
  +
applies(ConfigTestElement) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
applies(ConfigTestElement) - +Method in class org.apache.jmeter.protocol.java.sampler.BeanShellSampler +
  +
applies(ConfigTestElement) - +Method in class org.apache.jmeter.protocol.java.sampler.BSFSampler +
  +
applies(ConfigTestElement) - +Method in class org.apache.jmeter.protocol.java.sampler.JavaSampler +
  +
applies(ConfigTestElement) - +Method in class org.apache.jmeter.protocol.java.sampler.JSR223Sampler +
  +
applies(ConfigTestElement) - +Method in class org.apache.jmeter.protocol.jdbc.sampler.JDBCSampler +
  +
applies(ConfigTestElement) - +Method in class org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler +
  +
applies(ConfigTestElement) - +Method in class org.apache.jmeter.protocol.ldap.sampler.LDAPSampler +
  +
applies(ConfigTestElement) - +Method in class org.apache.jmeter.protocol.mail.sampler.MailReaderSampler +
  +
applies(ConfigTestElement) - +Method in class org.apache.jmeter.protocol.smtp.sampler.SmtpSampler +
  +
applies(ConfigTestElement) - +Method in class org.apache.jmeter.protocol.system.SystemSampler +
  +
applies(ConfigTestElement) - +Method in class org.apache.jmeter.protocol.tcp.sampler.TCPSampler +
  +
applies(ConfigTestElement) - +Method in class org.apache.jmeter.sampler.DebugSampler +
  +
applies(ConfigTestElement) - +Method in class org.apache.jmeter.sampler.TestAction +
  +
applies(ConfigTestElement) - +Method in class org.apache.jmeter.samplers.AbstractSampler +
Does configElement apply to Sampler +
applyRenderers(JTable, TableCellRenderer[]) - +Static method in class org.apache.jorphan.gui.RendererUtils +
  +
ARG_NAME - +Static variable in class org.apache.jmeter.config.Argument +
Name used to store the argument's name. +
Argument - Class in org.apache.jmeter.config
Class representing an argument.
Argument() - +Constructor for class org.apache.jmeter.config.Argument +
Create a new Argument without a name, value, or metadata. +
Argument(String, String) - +Constructor for class org.apache.jmeter.config.Argument +
Create a new Argument with the specified name and value, and no metadata. +
Argument(String, String, String) - +Constructor for class org.apache.jmeter.config.Argument +
Create a new Argument with the specified name, value, and metadata. +
Argument(String, String, String, String) - +Constructor for class org.apache.jmeter.config.Argument +
Create a new Argument with the specified name, value, and metadata. +
ArgumentDecoder - Class in org.apache.jmeter.functions.util
Decodes an Argument by replacing '\x' with 'x'
ArgumentEncoder - Class in org.apache.jmeter.functions.util
Encode an Argument
Arguments - Class in org.apache.jmeter.config
A set of Argument objects.
Arguments() - +Constructor for class org.apache.jmeter.config.Arguments +
Create a new Arguments object with no arguments. +
ARGUMENTS - +Static variable in class org.apache.jmeter.config.Arguments +
The name of the property used to store the arguments. +
ARGUMENTS - +Static variable in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
ARGUMENTS - +Static variable in class org.apache.jmeter.protocol.java.sampler.JavaSampler +
Property key representing the arguments for the JavaSamplerClient. +
ARGUMENTS - +Static variable in class org.apache.jmeter.protocol.ldap.config.gui.LDAPArguments +
The name of the property used to store the arguments. +
ARGUMENTS - +Static variable in class org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler +
  +
ARGUMENTS - +Static variable in class org.apache.jmeter.protocol.ldap.sampler.LDAPSampler +
  +
ARGUMENTS - +Static variable in class org.apache.jmeter.protocol.system.SystemSampler +
  +
ARGUMENTS - +Static variable in class org.apache.jmeter.visualizers.backend.BackendListener +
Property key representing the arguments for the BackendListenerClient. +
ArgumentsPanel - Class in org.apache.jmeter.config.gui
A GUI panel allowing the user to enter name-value argument pairs.
ArgumentsPanel() - +Constructor for class org.apache.jmeter.config.gui.ArgumentsPanel +
Create a new ArgumentsPanel as a standalone component. +
ArgumentsPanel(String) - +Constructor for class org.apache.jmeter.config.gui.ArgumentsPanel +
Create a new ArgumentsPanel as an embedded component, using the specified + title. +
ArgumentsPanel(String, boolean) - +Constructor for class org.apache.jmeter.config.gui.ArgumentsPanel +
Create a new ArgumentsPanel as an embedded component, using the specified + title. +
ArgumentsPanel(String, Color) - +Constructor for class org.apache.jmeter.config.gui.ArgumentsPanel +
Create a new ArgumentsPanel with a border and color background +
ArgumentsPanel(String, Color, boolean, boolean) - +Constructor for class org.apache.jmeter.config.gui.ArgumentsPanel +
Create a new ArgumentsPanel with a border and color background +
ArgumentsPanel(String, Color, boolean, boolean, ObjectTableModel) - +Constructor for class org.apache.jmeter.config.gui.ArgumentsPanel +
Create a new ArgumentsPanel with a border and color background +
asArray() - +Method in class org.apache.jmeter.protocol.http.util.HTTPFileArgs +
Get the current arguments as an array. +
askThreadsToStop() - +Method in class org.apache.jmeter.engine.StandardJMeterEngine +
  +
Assertion - Interface in org.apache.jmeter.assertions
An Assertion checks a SampleResult to determine whether or not it is + successful.
AssertionGui - Class in org.apache.jmeter.assertions.gui
GUI interface for a ResponseAssertion.
AssertionGui() - +Constructor for class org.apache.jmeter.assertions.gui.AssertionGui +
Create a new AssertionGui panel. +
AssertionResult - Class in org.apache.jmeter.assertions
Implements Response Assertion checking.
AssertionResult() - +Constructor for class org.apache.jmeter.assertions.AssertionResult +
Deprecated. - use the named constructor +
AssertionResult(String) - +Constructor for class org.apache.jmeter.assertions.AssertionResult +
Create a new Assertion Result. +
ASSERTIONS - +Static variable in class org.apache.jmeter.gui.util.MenuFactory +
  +
assertionsResultsToSave() - +Method in class org.apache.jmeter.samplers.SampleSaveConfiguration +
  +
AssertionVisualizer - Class in org.apache.jmeter.visualizers
 
AssertionVisualizer() - +Constructor for class org.apache.jmeter.visualizers.AssertionVisualizer +
  +
AsynchSampleSender - Class in org.apache.jmeter.samplers
Sends samples in a separate Thread and in Batch mode
AsynchSampleSender() - +Constructor for class org.apache.jmeter.samplers.AsynchSampleSender +
Deprecated. only for use by test code +
AsynchSampleSender(RemoteSampleListener) - +Constructor for class org.apache.jmeter.samplers.AsynchSampleSender +
  +
ATT_BACKGROUND - +Static variable in class org.apache.jmeter.protocol.http.parser.HTMLParser +
  +
ATT_CLASS - +Static variable in class org.apache.jmeter.save.converters.ConversionHelp +
  +
ATT_CODE - +Static variable in class org.apache.jmeter.protocol.http.parser.HTMLParser +
  +
ATT_CODEBASE - +Static variable in class org.apache.jmeter.protocol.http.parser.HTMLParser +
  +
ATT_DATA - +Static variable in class org.apache.jmeter.protocol.http.parser.HTMLParser +
  +
ATT_ELEMENT_TYPE - +Static variable in class org.apache.jmeter.save.converters.ConversionHelp +
  +
ATT_HREF - +Static variable in class org.apache.jmeter.protocol.http.parser.HTMLParser +
  +
ATT_IS_IMAGE - +Static variable in class org.apache.jmeter.protocol.http.parser.HTMLParser +
  +
ATT_NAME - +Static variable in class org.apache.jmeter.save.converters.ConversionHelp +
  +
ATT_REL - +Static variable in class org.apache.jmeter.protocol.http.parser.HTMLParser +
  +
ATT_SRC - +Static variable in class org.apache.jmeter.protocol.http.parser.HTMLParser +
  +
ATT_STYLE - +Static variable in class org.apache.jmeter.protocol.http.parser.HTMLParser +
  +
ATT_TYPE - +Static variable in class org.apache.jmeter.protocol.http.parser.HTMLParser +
  +
ATTACH_FILE - +Static variable in class org.apache.jmeter.protocol.smtp.sampler.SmtpSampler +
  +
attend() - +Method in class org.apache.jmeter.protocol.smtp.sampler.protocol.SynchronousTransportListener +
Synchronized-method + + Waits until SynchronousTransportListener.finish() was called and thus the end of the mail + sending was signalled. +
ATTRIBS - +Static variable in class org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler +
  +
ATTRIBUTE_NAME - +Static variable in class org.apache.jmeter.monitor.parser.Constants +
  +
AUTH_MANAGER - +Static variable in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
AuthManager - Class in org.apache.jmeter.protocol.http.control
This class provides a way to provide Authorization in jmeter requests.
AuthManager() - +Constructor for class org.apache.jmeter.protocol.http.control.AuthManager +
Default Constructor. +
AuthManager.Mechanism - Enum in org.apache.jmeter.protocol.http.control
 
Authorization - Class in org.apache.jmeter.protocol.http.control
This class is an Authorization encapsulator.
Authorization() - +Constructor for class org.apache.jmeter.protocol.http.control.Authorization +
  +
AuthPanel - Class in org.apache.jmeter.protocol.http.gui
Handles input for determining if authentication services are required for a + Sampler.
AuthPanel() - +Constructor for class org.apache.jmeter.protocol.http.gui.AuthPanel +
Default Constructor. +
AUTO_REDIRECTS - +Static variable in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
AVERAGE_COLOR - +Variable in class org.apache.jmeter.visualizers.SplineVisualizer +
  +
AxisGraph - Class in org.apache.jmeter.visualizers
Axis graph is used by StatGraphVisualizer, which generates bar graphs + from the statistical data.
AxisGraph() - +Constructor for class org.apache.jmeter.visualizers.AxisGraph +
  +
AxisGraph(LayoutManager) - +Constructor for class org.apache.jmeter.visualizers.AxisGraph +
  +
AxisGraph(LayoutManager, boolean) - +Constructor for class org.apache.jmeter.visualizers.AxisGraph +
  +
+
+

+B

+
+
BackendListener - Class in org.apache.jmeter.visualizers.backend
Async Listener that delegates SampleResult handling to implementations of BackendListenerClient
BackendListener() - +Constructor for class org.apache.jmeter.visualizers.backend.BackendListener +
Create a BackendListener. +
BackendListenerClient - Interface in org.apache.jmeter.visualizers.backend
This interface defines the interactions between the BackendListener and external + Java programs which can be executed by JMeter.
BackendListenerContext - Class in org.apache.jmeter.visualizers.backend
BackendListenerContext is used to provide context information to a + BackendListenerClient implementation.
BackendListenerContext(Arguments) - +Constructor for class org.apache.jmeter.visualizers.backend.BackendListenerContext +
  +
BackendListenerGui - Class in org.apache.jmeter.visualizers.backend
The BackendListenerGui class provides the user interface for the + BackendListener object.
BackendListenerGui() - +Constructor for class org.apache.jmeter.visualizers.backend.BackendListenerGui +
Create a new BackendListenerGui as a standalone component. +
BACKGROUND_COLOR - +Variable in class org.apache.jmeter.visualizers.SplineVisualizer +
  +
BarGraph - Class in org.apache.jmeter.visualizers
 
BarGraph(String, boolean, Color) - +Constructor for class org.apache.jmeter.visualizers.BarGraph +
  +
Base64Encoder - Class in org.apache.jmeter.protocol.http.util
This class provides an implementation of Base64 encoding without relying on + the the sun.* packages.
BASE_ENTRY_DN - +Static variable in class org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler +
  +
BASE_ENTRY_DN - +Static variable in class org.apache.jmeter.protocol.ldap.sampler.LDAPSampler +
  +
BaseJMSSampler - Class in org.apache.jmeter.protocol.jms.sampler
BaseJMSSampler is an abstract class which provides implementation for common + properties.
BaseJMSSampler() - +Constructor for class org.apache.jmeter.protocol.jms.sampler.BaseJMSSampler +
  +
BatchSampleSender - Class in org.apache.jmeter.samplers
Implements batch reporting for remote testing.
BatchSampleSender() - +Constructor for class org.apache.jmeter.samplers.BatchSampleSender +
Deprecated. only for use by test code +
BatchSampleSender(RemoteSampleListener) - +Constructor for class org.apache.jmeter.samplers.BatchSampleSender +
Constructor +
baToHexBytes(byte[]) - +Static method in class org.apache.jorphan.util.JOrphanUtils +
Convert binary byte array to hex string. +
baToHexString(byte[]) - +Static method in class org.apache.jorphan.util.JOrphanUtils +
Convert binary byte array to hex string. +
baToHexString(byte[], char) - +Static method in class org.apache.jorphan.util.JOrphanUtils +
Convert binary byte array to hex string. +
BeanInfoSupport - Class in org.apache.jmeter.testbeans
Support class for test bean beanInfo objects.
BeanInfoSupport(Class<? extends TestBean>) - +Constructor for class org.apache.jmeter.testbeans.BeanInfoSupport +
Construct a BeanInfo for the given class. +
BeanShell - Class in org.apache.jmeter.functions
A function which understands BeanShell
BeanShell() - +Constructor for class org.apache.jmeter.functions.BeanShell +
  +
BeanShellAssertion - Class in org.apache.jmeter.assertions
An Assertion which understands BeanShell
BeanShellAssertion() - +Constructor for class org.apache.jmeter.assertions.BeanShellAssertion +
  +
BeanShellAssertionGui - Class in org.apache.jmeter.assertions.gui
 
BeanShellAssertionGui() - +Constructor for class org.apache.jmeter.assertions.gui.BeanShellAssertionGui +
  +
BeanShellBeanInfoSupport - Class in org.apache.jmeter.util
Parent class to handle common GUI design
BeanShellBeanInfoSupport(Class<? extends TestBean>) - +Constructor for class org.apache.jmeter.util.BeanShellBeanInfoSupport +
  +
BeanShellClient - Class in org.apache.jmeter.util
Implements a client that can talk to the JMeter BeanShell server.
BeanShellClient() - +Constructor for class org.apache.jmeter.util.BeanShellClient +
  +
BeanShellInterpreter - Class in org.apache.jmeter.util
BeanShell setup function - encapsulates all the access to the BeanShell + Interpreter in a single class.
BeanShellInterpreter() - +Constructor for class org.apache.jmeter.util.BeanShellInterpreter +
  +
BeanShellInterpreter(String, Logger) - +Constructor for class org.apache.jmeter.util.BeanShellInterpreter +
  +
BeanShellListener - Class in org.apache.jmeter.visualizers
 
BeanShellListener() - +Constructor for class org.apache.jmeter.visualizers.BeanShellListener +
  +
BeanShellListenerBeanInfo - Class in org.apache.jmeter.visualizers
 
BeanShellListenerBeanInfo() - +Constructor for class org.apache.jmeter.visualizers.BeanShellListenerBeanInfo +
  +
BeanShellPostProcessor - Class in org.apache.jmeter.extractor
 
BeanShellPostProcessor() - +Constructor for class org.apache.jmeter.extractor.BeanShellPostProcessor +
  +
BeanShellPostProcessorBeanInfo - Class in org.apache.jmeter.extractor
 
BeanShellPostProcessorBeanInfo() - +Constructor for class org.apache.jmeter.extractor.BeanShellPostProcessorBeanInfo +
  +
BeanShellPreProcessor - Class in org.apache.jmeter.modifiers
 
BeanShellPreProcessor() - +Constructor for class org.apache.jmeter.modifiers.BeanShellPreProcessor +
  +
BeanShellPreProcessorBeanInfo - Class in org.apache.jmeter.modifiers
 
BeanShellPreProcessorBeanInfo() - +Constructor for class org.apache.jmeter.modifiers.BeanShellPreProcessorBeanInfo +
  +
BeanShellSampler - Class in org.apache.jmeter.protocol.java.sampler
A sampler which understands BeanShell
BeanShellSampler() - +Constructor for class org.apache.jmeter.protocol.java.sampler.BeanShellSampler +
  +
BeanShellSamplerGui - Class in org.apache.jmeter.protocol.java.control.gui
 
BeanShellSamplerGui() - +Constructor for class org.apache.jmeter.protocol.java.control.gui.BeanShellSamplerGui +
  +
BeanShellServer - Class in org.apache.jmeter.util
Implements a BeanShell server to allow access to JMeter variables and + methods.
BeanShellServer(int, String) - +Constructor for class org.apache.jmeter.util.BeanShellServer +
Constructor which sets the port for this server and the path to an + optional init file +
BeanShellTestElement - Class in org.apache.jmeter.util
 
BeanShellTestElement() - +Constructor for class org.apache.jmeter.util.BeanShellTestElement +
  +
BeanShellTimer - Class in org.apache.jmeter.timers
 
BeanShellTimer() - +Constructor for class org.apache.jmeter.timers.BeanShellTimer +
  +
BeanShellTimerBeanInfo - Class in org.apache.jmeter.timers
 
BeanShellTimerBeanInfo() - +Constructor for class org.apache.jmeter.timers.BeanShellTimerBeanInfo +
  +
BINARY - +Static variable in class org.apache.jmeter.samplers.SampleResult +
Data type value indicating that the response data is binary. +
BINARY_MODE - +Static variable in class org.apache.jmeter.protocol.ftp.sampler.FTPSampler +
  +
BinaryTCPClientImpl - Class in org.apache.jmeter.protocol.tcp.sampler
TCPClient implementation.
BinaryTCPClientImpl() - +Constructor for class org.apache.jmeter.protocol.tcp.sampler.BinaryTCPClientImpl +
  +
BIND - +Static variable in class org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler +
  +
bind(SocketAddress) - +Method in class org.apache.jmeter.util.SlowSSLSocket +
  +
BooleanProperty - Class in org.apache.jmeter.testelement.property
 
BooleanProperty(String, boolean) - +Constructor for class org.apache.jmeter.testelement.property.BooleanProperty +
  +
BooleanProperty() - +Constructor for class org.apache.jmeter.testelement.property.BooleanProperty +
  +
BooleanPropertyConverter - Class in org.apache.jmeter.save.converters
 
BooleanPropertyConverter() - +Constructor for class org.apache.jmeter.save.converters.BooleanPropertyConverter +
  +
BooleanPropertyEditor - Class in org.apache.jmeter.testbeans.gui
Property Editor which handles Boolean properties.
BooleanPropertyEditor() - +Constructor for class org.apache.jmeter.testbeans.gui.BooleanPropertyEditor +
  +
booleanToSTRING(boolean) - +Static method in class org.apache.jorphan.util.JOrphanUtils +
Convert a boolean to its upper case string representation. +
BOTH - +Static variable in class org.apache.jorphan.gui.layout.VerticalLayout +
The horizontal alignment constant that designates stretching the + component horizontally. +
BOTTOM - +Static variable in class org.apache.jorphan.gui.layout.VerticalLayout +
The anchoring constant that designates anchoring to the bottom of the + display area. +
BOUNDARY - +Static variable in class org.apache.jmeter.protocol.http.sampler.PostWriter +
The boundary string between multiparts +
BROWSER_COMPATIBLE_MULTIPART - +Static variable in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
BROWSER_COMPATIBLE_MULTIPART_MODE_DEFAULT - +Static variable in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
browseWSDL(String, boolean) - +Method in class org.apache.jmeter.protocol.http.control.gui.WebServiceSamplerGui +
The method uses WSDLHelper to get the information from the WSDL. +
BSFAssertion - Class in org.apache.jmeter.assertions
 
BSFAssertion() - +Constructor for class org.apache.jmeter.assertions.BSFAssertion +
  +
BSFAssertionBeanInfo - Class in org.apache.jmeter.assertions
 
BSFAssertionBeanInfo() - +Constructor for class org.apache.jmeter.assertions.BSFAssertionBeanInfo +
  +
BSFBeanInfoSupport - Class in org.apache.jmeter.util
Parent class to handle common GUI design for BSF test elements
BSFBeanInfoSupport(Class<? extends TestBean>) - +Constructor for class org.apache.jmeter.util.BSFBeanInfoSupport +
  +
BSFJavaScriptEngine - Class in org.apache.jmeter.util
This is the interface to Netscape's Rhino (JavaScript) from the + Bean Scripting Framework.
BSFJavaScriptEngine() - +Constructor for class org.apache.jmeter.util.BSFJavaScriptEngine +
  +
BSFListener - Class in org.apache.jmeter.visualizers
 
BSFListener() - +Constructor for class org.apache.jmeter.visualizers.BSFListener +
  +
BSFListenerBeanInfo - Class in org.apache.jmeter.visualizers
 
BSFListenerBeanInfo() - +Constructor for class org.apache.jmeter.visualizers.BSFListenerBeanInfo +
  +
BSFPostProcessor - Class in org.apache.jmeter.extractor
 
BSFPostProcessor() - +Constructor for class org.apache.jmeter.extractor.BSFPostProcessor +
  +
BSFPostProcessorBeanInfo - Class in org.apache.jmeter.extractor
 
BSFPostProcessorBeanInfo() - +Constructor for class org.apache.jmeter.extractor.BSFPostProcessorBeanInfo +
  +
BSFPreProcessor - Class in org.apache.jmeter.modifiers
 
BSFPreProcessor() - +Constructor for class org.apache.jmeter.modifiers.BSFPreProcessor +
  +
BSFPreProcessorBeanInfo - Class in org.apache.jmeter.modifiers
 
BSFPreProcessorBeanInfo() - +Constructor for class org.apache.jmeter.modifiers.BSFPreProcessorBeanInfo +
  +
BSFSampler - Class in org.apache.jmeter.protocol.java.sampler
A sampler which understands BSF
BSFSampler() - +Constructor for class org.apache.jmeter.protocol.java.sampler.BSFSampler +
  +
BSFSamplerBeanInfo - Class in org.apache.jmeter.protocol.java.sampler
BSF Sampler Bean Info
BSFSamplerBeanInfo() - +Constructor for class org.apache.jmeter.protocol.java.sampler.BSFSamplerBeanInfo +
  +
BSFTestElement - Class in org.apache.jmeter.util
 
BSFTestElement() - +Constructor for class org.apache.jmeter.util.BSFTestElement +
  +
BSFTimer - Class in org.apache.jmeter.timers
 
BSFTimer() - +Constructor for class org.apache.jmeter.timers.BSFTimer +
  +
BSFTimerBeanInfo - Class in org.apache.jmeter.timers
 
BSFTimerBeanInfo() - +Constructor for class org.apache.jmeter.timers.BSFTimerBeanInfo +
  +
buildDocument() - +Method in class org.apache.jmeter.protocol.http.util.WSDLHelper +
Method is used internally to parse the InputStream and build the document + using javax.xml.parser API. +
ButtonPanel - Class in org.apache.jmeter.gui.util
 
ButtonPanel() - +Constructor for class org.apache.jmeter.gui.util.ButtonPanel +
  +
BYNUMBER - +Static variable in class org.apache.jmeter.control.ThroughputController +
  +
BYPERCENT - +Static variable in class org.apache.jmeter.control.ThroughputController +
  +
byteArrayToInt(byte[]) - +Static method in class org.apache.jmeter.protocol.tcp.sampler.TCPClientDecorator +
Convert byte array to int. +
BYTES_MSG_RSC - +Static variable in class org.apache.jmeter.protocol.jms.control.gui.JMSPublisherGui +
Create a BytesMessage +
BYTESRECEIVED - +Static variable in class org.apache.jmeter.monitor.parser.Constants +
  +
BYTESSENT - +Static variable in class org.apache.jmeter.monitor.parser.Constants +
  +
+
+

+C

+
+
CACHE_CONTROL - +Static variable in interface org.apache.jmeter.protocol.http.util.HTTPConstantsInterface +
  +
CACHE_MANAGER - +Static variable in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
CacheManager - Class in org.apache.jmeter.protocol.http.control
Handles HTTP Caching
CacheManager() - +Constructor for class org.apache.jmeter.protocol.http.control.CacheManager +
  +
CacheManagerGui - Class in org.apache.jmeter.protocol.http.gui
The GUI for the HTTP Cache Manager
CacheManagerGui() - +Constructor for class org.apache.jmeter.protocol.http.gui.CacheManagerGui +
Create a new LoginConfigGui as a standalone component. +
CachingStatCalculator - Class in org.apache.jmeter.visualizers
Provides storage of samples in addition to calculations
CachingStatCalculator(String) - +Constructor for class org.apache.jmeter.visualizers.CachingStatCalculator +
  +
calculateCurrentTarget(long) - +Method in class org.apache.jmeter.timers.ConstantThroughputTimer +
Calculate the target time by adding the result of private method + calculateDelay() to the given currentTime +
calculateLoad(Status) - +Static method in class org.apache.jmeter.monitor.util.Stats +
The method is responsible for taking a status object and calculating an + int value from 1 to 100. +
calculateMemoryLoad(Status) - +Static method in class org.apache.jmeter.monitor.util.Stats +
Method will calculate the memory load: used / max = load. +
calculateStatus(Status) - +Static method in class org.apache.jmeter.monitor.util.Stats +
Method should calculate if the server is: dead, active, warning or + healthy. +
calculateThreadLoad(Status) - +Static method in class org.apache.jmeter.monitor.util.Stats +
Method will calculate the thread load: busy / max = load. +
Calculator - Class in org.apache.jmeter.util
Class to calculate various items that don't require all previous results to be saved: + + mean = average + standard deviation + minimum + maximum +
Calculator() - +Constructor for class org.apache.jmeter.util.Calculator +
  +
Calculator(String) - +Constructor for class org.apache.jmeter.util.Calculator +
  +
call(Object, String, Object[]) - +Method in class org.apache.jmeter.util.BSFJavaScriptEngine +
Return an object from an extension. +
canAddTo(JMeterTreeNode, TestElement) - +Static method in class org.apache.jmeter.gui.util.MenuFactory +
Determine whether or not nodes can be added to this parent. +
canAddTo(JMeterTreeNode, JMeterTreeNode[]) - +Static method in class org.apache.jmeter.gui.util.MenuFactory +
Determine whether or not nodes can be added to this parent. +
cancelCellEditing() - +Method in class org.apache.jmeter.gui.util.TextAreaTableCellEditor +
Forwards the message from the CellEditor to the + delegate. +
cancelCellEditing() - +Method in class org.apache.jmeter.gui.util.TextAreaTableCellEditor.EditorDelegate +
Cancels editing. +
canConvert(Class) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBaseConverter +
+
canConvert(Class) - +Method in class org.apache.jmeter.protocol.http.util.HTTPResultConverter +
+
canConvert(Class) - +Method in class org.apache.jmeter.save.converters.BooleanPropertyConverter +
+
canConvert(Class) - +Method in class org.apache.jmeter.save.converters.HashTreeConverter +
+
canConvert(Class) - +Method in class org.apache.jmeter.save.converters.IntegerPropertyConverter +
+
canConvert(Class) - +Method in class org.apache.jmeter.save.converters.LongPropertyConverter +
+
canConvert(Class) - +Method in class org.apache.jmeter.save.converters.MultiPropertyConverter +
+
canConvert(Class) - +Method in class org.apache.jmeter.save.converters.SampleEventConverter +
+
canConvert(Class) - +Method in class org.apache.jmeter.save.converters.SampleResultConverter +
+
canConvert(Class) - +Method in class org.apache.jmeter.save.converters.SampleSaveConfigurationConverter +
+
canConvert(Class) - +Method in class org.apache.jmeter.save.converters.StringPropertyConverter +
+
canConvert(Class) - +Method in class org.apache.jmeter.save.converters.TestElementConverter +
+
canConvert(Class) - +Method in class org.apache.jmeter.save.converters.TestElementPropertyConverter +
+
canConvert(Class) - +Method in class org.apache.jmeter.save.converters.TestResultWrapperConverter +
+
canConvert(Class) - +Method in class org.apache.jmeter.save.ScriptWrapperConverter +
+
canImport(TransferHandler.TransferSupport) - +Method in class org.apache.jmeter.gui.tree.JMeterTreeTransferHandler +
  +
canRedo() - +Method in class org.apache.jmeter.gui.GuiPackage +
  +
canRedo() - +Method in class org.apache.jmeter.gui.UndoHistory +
  +
canRemove() - +Method in class org.apache.jmeter.protocol.http.control.HttpMirrorControl +
  +
canRemove() - +Method in class org.apache.jmeter.protocol.http.proxy.ProxyControl +
  +
canRemove() - +Method in class org.apache.jmeter.testelement.AbstractTestElement +
Called by Remove to determine if it is safe to remove the element. +
canRemove() - +Method in interface org.apache.jmeter.testelement.TestElement +
Called by Remove to determine if it is safe to remove the element. +
canUndo() - +Method in class org.apache.jmeter.gui.GuiPackage +
  +
canUndo() - +Method in class org.apache.jmeter.gui.UndoHistory +
  +
cdata(byte[], String) - +Static method in class org.apache.jmeter.save.converters.ConversionHelp +
Embed an array of bytes as a string with encoding in a + xml-cdata section +
CENTER - +Static variable in class org.apache.jorphan.gui.layout.VerticalLayout +
The horizontal alignment constant that designates centering. +
centerComponentInComponent(Component, Component) - +Static method in class org.apache.jorphan.gui.ComponentUtil +
Use this static method if you want to center a component over another + component. +
centerComponentInWindow(Component, int) - +Static method in class org.apache.jorphan.gui.ComponentUtil +
Use this static method if you want to center and set its position + compared to the size of the current users screen size. +
centerComponentInWindow(Component) - +Static method in class org.apache.jorphan.gui.ComponentUtil +
Use this static method if you want to center a component in Window. +
CEtoString(ConversionException) - +Static method in class org.apache.jmeter.save.SaveService +
Simplify getMessage() output from XStream ConversionException +
CHANGE_LANGUAGE - +Static variable in class org.apache.jmeter.gui.action.ActionNames +
  +
CHANGE_PARENT - +Static variable in class org.apache.jmeter.gui.action.ActionNames +
  +
changeColorCyclicIncrement(Color, int) - +Static method in class org.apache.jmeter.util.ColorHelper +
Given the Color, get the red, green and blue components. +
changedUpdate(DocumentEvent) - +Method in class org.apache.jmeter.config.gui.RowDetailDialog +
  +
changedUpdate(DocumentEvent) - +Method in class org.apache.jmeter.visualizers.SearchTextExtension +
  +
CHANGEEXT - +Variable in class org.apache.jmeter.protocol.http.util.accesslog.LogFilter +
  +
ChangeLanguage - Class in org.apache.jmeter.gui.action
 
ChangeLanguage() - +Constructor for class org.apache.jmeter.gui.action.ChangeLanguage +
  +
ChangeParent - Class in org.apache.jmeter.gui.action
Implements the Add Parent menu command
ChangeParent() - +Constructor for class org.apache.jmeter.gui.action.ChangeParent +
  +
characters(char[], int, int) - +Method in class org.apache.jmeter.monitor.parser.MonitorHandler +
Receive notification of character data inside an element. +
characters(char[], int, int) - +Method in class org.apache.jmeter.protocol.http.modifier.UserParameterXMLContentHandler +
  +
CharFunction - Class in org.apache.jmeter.functions
Function to generate chars from a list of decimal or hex values
CharFunction() - +Constructor for class org.apache.jmeter.functions.CharFunction +
  +
CHECK_DIRTY - +Static variable in class org.apache.jmeter.gui.action.ActionNames +
  +
CHECK_REMOVE - +Static variable in class org.apache.jmeter.gui.action.ActionNames +
  +
CHECK_RETURN_CODE - +Static variable in class org.apache.jmeter.protocol.system.SystemSampler +
  +
checkClientTrusted(X509Certificate[], String) - +Method in class org.apache.jmeter.util.CustomX509TrustManager +
  +
checkDeleteStatus() - +Method in class org.apache.jmeter.config.gui.ArgumentsPanel +
Enable or disable the delete button depending on whether or not there is + a row to be deleted. +
checkDeleteStatus() - +Method in class org.apache.jmeter.config.gui.SimpleConfigGui +
Enable or disable the delete button depending on whether or not there is + a row to be deleted. +
CheckDirty - Class in org.apache.jmeter.gui.action
Check if the TestPlan has been changed since it was last saved
CheckDirty() - +Constructor for class org.apache.jmeter.gui.action.CheckDirty +
  +
checkFunctors(Object, Class<?>) - +Method in class org.apache.jorphan.gui.ObjectTableModel +
Check all registered functors. +
checkMethod(String) - +Method in class org.apache.jmeter.protocol.http.util.accesslog.TCLogParser +
The method checks for POST, GET and HEAD methods currently. +
checkMethod(Object) - +Method in class org.apache.jorphan.reflect.Functor +
Deprecated. ** for use by Unit test code only ** +
checkMethod(Object, Class<?>) - +Method in class org.apache.jorphan.reflect.Functor +
Deprecated. ** for use by Unit test code only ** +
checkMinParameterCount(Collection<CompoundVariable>, int) - +Method in class org.apache.jmeter.functions.AbstractFunction +
Utility method to check parameter counts. +
checkParameterCount(Collection<CompoundVariable>, int, int) - +Method in class org.apache.jmeter.functions.AbstractFunction +
Utility method to check parameter counts. +
checkParameterCount(Collection<CompoundVariable>, int) - +Method in class org.apache.jmeter.functions.AbstractFunction +
Utility method to check parameter counts. +
checkParamFormat(String) - +Method in class org.apache.jmeter.protocol.http.util.accesslog.TCLogParser +
Checks the string to see if it contains "&" and "=". +
checkServerTrusted(X509Certificate[], String) - +Method in class org.apache.jmeter.util.CustomX509TrustManager +
  +
checkURL(String) - +Method in class org.apache.jmeter.protocol.http.util.accesslog.TCLogParser +
Checks the string to make sure it has /path/file? +
children() - +Method in class org.apache.jmeter.gui.tree.JMeterTreeNode +
  +
classes - +Variable in class org.apache.jorphan.gui.AbstractTreeTableModel +
  +
ClassFinder - Class in org.apache.jorphan.reflect
This class finds classes that extend one of a set of parent classes
CLASSNAME - +Static variable in class org.apache.jmeter.protocol.java.sampler.JavaSampler +
Property key representing the classname of the JavaSamplerClient to user. +
CLASSNAME - +Static variable in class org.apache.jmeter.protocol.tcp.sampler.TCPSampler +
  +
CLASSNAME - +Static variable in class org.apache.jmeter.testbeans.gui.TableEditor +
attribute name for class name of a table row; + value must be java.lang.String, or a class which supports set and get/is methods for the property name. +
CLASSNAME - +Static variable in class org.apache.jmeter.visualizers.backend.BackendListener +
Property key representing the classname of the BackendListenerClient to user. +
classToAlias(String) - +Static method in class org.apache.jmeter.save.SaveService +
  +
ClassTools - Class in org.apache.jorphan.reflect
Utility methods for handling dynamic access to classes.
ClassTools() - +Constructor for class org.apache.jorphan.reflect.ClassTools +
  +
cleanAfterSample() - +Method in class org.apache.jmeter.samplers.SampleResult +
Clean up cached data +
cleanAfterSample() - +Method in class org.apache.jmeter.threads.JMeterContext +
Clean cached data after sample +
cleanURL(String) - +Method in class org.apache.jmeter.protocol.http.util.accesslog.TCLogParser +
The method cleans the URL using the following algorithm. +
clear() - +Method in class org.apache.jmeter.assertions.ResponseAssertion +
  +
clear() - +Method in class org.apache.jmeter.config.Arguments +
Clear the arguments. +
clear() - +Method in class org.apache.jmeter.config.gui.ArgumentsPanel +
Clear all rows from the table. +
clear() - +Method in class org.apache.jmeter.engine.util.CompoundVariable +
  +
CLEAR - +Static variable in class org.apache.jmeter.gui.action.ActionNames +
  +
Clear - Class in org.apache.jmeter.gui.action
Handles the following actions: + - Clear (Data) + - Clear All (Data) + - Reset (Clear GUI)
Clear() - +Constructor for class org.apache.jmeter.gui.action.Clear +
  +
CLEAR - +Static variable in class org.apache.jmeter.gui.action.KeyStrokes +
  +
clear() - +Method in class org.apache.jmeter.gui.LoggerPanel +
Clear panel content +
clear() - +Method in class org.apache.jmeter.gui.ServerPanel +
clear all the fields +
clear() - +Method in class org.apache.jmeter.gui.UndoHistory +
Clears the undo history +
clear() - +Method in class org.apache.jmeter.protocol.http.config.gui.MultipartUrlConfigGui +
+
clear() - +Method in class org.apache.jmeter.protocol.http.config.gui.UrlConfigGui +
  +
clear() - +Method in class org.apache.jmeter.protocol.http.control.AuthManager +
Clear the TestElement of all data. +
CLEAR - +Static variable in class org.apache.jmeter.protocol.http.control.CacheManager +
  +
clear() - +Method in class org.apache.jmeter.protocol.http.control.CacheManager +
  +
clear() - +Method in class org.apache.jmeter.protocol.http.control.CookieManager +
Clear the TestElement of all data. +
clear() - +Method in class org.apache.jmeter.protocol.http.control.DNSCacheManager +
Clear the TestElement of all data. +
clear() - +Method in class org.apache.jmeter.protocol.http.control.HeaderManager +
Clear the TestElement of all data. +
clear() - +Method in class org.apache.jmeter.protocol.http.gui.HTTPFileArgsPanel +
Clear all rows from the table. +
clear() - +Static method in class org.apache.jmeter.protocol.http.util.DOMPool +
Clear cache +
clear() - +Method in class org.apache.jmeter.protocol.http.util.HTTPFileArgs +
Clear the files. +
clear() - +Method in class org.apache.jmeter.protocol.jms.sampler.JMSProperties +
Clear the JmsProperties. +
clear() - +Method in class org.apache.jmeter.protocol.ldap.config.gui.LDAPArguments +
Clear the arguments. +
clear() - +Method in class org.apache.jmeter.protocol.ldap.config.gui.LDAPArgumentsPanel +
Clear all rows from the table. +
clear() - +Method in class org.apache.jmeter.protocol.mongodb.mongo.MongoDB +
  +
clear() - +Method in class org.apache.jmeter.protocol.smtp.sampler.gui.SecuritySettingsPanel +
  +
clear() - +Method in class org.apache.jmeter.protocol.smtp.sampler.gui.SmtpPanel +
Reset all the Gui fields. +
clear() - +Method in class org.apache.jmeter.reporters.MailerModel +
Resets the state of this object to its default. +
clear() - +Method in class org.apache.jmeter.reporters.MailerResultCollector +
Clear the TestElement of all data. +
clear() - +Method in class org.apache.jmeter.reporters.ResultSaver +
  +
clear() - +Method in class org.apache.jmeter.testelement.AbstractTestElement +
Clear the TestElement of all data. +
clear() - +Method in class org.apache.jmeter.testelement.property.CollectionProperty +
Clear away all values in the property. +
clear() - +Method in class org.apache.jmeter.testelement.property.MapProperty +
Clear away all values in the property. +
clear() - +Method in class org.apache.jmeter.testelement.property.MultiProperty +
Clear away all values in the property. +
clear() - +Method in class org.apache.jmeter.testelement.property.TestElementProperty +
Clear away all values in the property. +
clear() - +Method in interface org.apache.jmeter.testelement.TestElement +
Clear the TestElement of all data. +
clear() - +Method in class org.apache.jmeter.threads.JMeterContext +
  +
clear() - +Method in class org.apache.jmeter.util.Calculator +
  +
clear() - +Method in class org.apache.jmeter.visualizers.CachingStatCalculator +
  +
clear() - +Method in class org.apache.jmeter.visualizers.RunningSample +
Clear the counters (useful for differential stats) +
clear() - +Method in class org.apache.jmeter.visualizers.SamplingStatCalculator +
Clear the counters (useful for differential stats) +
clear() - +Method in class org.apache.jmeter.visualizers.SplineVisualizer.SplineGraph +
Clear the Spline graph and get ready for the next wave. +
clear() - +Method in class org.apache.jorphan.collections.HashTree +
Clears the HashTree of all contents. +
clear() - +Method in class org.apache.jorphan.collections.ListedHashTree +
Clears the HashTree of all contents. +
clear() - +Method in class org.apache.jorphan.math.StatCalculator +
  +
CLEAR_ALL - +Static variable in class org.apache.jmeter.gui.action.ActionNames +
  +
CLEAR_ALL - +Static variable in class org.apache.jmeter.gui.action.KeyStrokes +
  +
CLEAR_CACHE_EACH_ITER - +Static variable in class org.apache.jmeter.protocol.http.control.DNSCacheManager +
  +
Clearable - Interface in org.apache.jmeter.samplers
Identifies an object which supports the clearing of run-time data + using the clearData() method.
clearAll() - +Static method in class org.apache.jmeter.functions.FileWrapper +
  +
clearAttachments() - +Method in class org.apache.jmeter.protocol.smtp.sampler.protocol.SendMailCommand +
Clear all attachments for current message +
clearClient() - +Static method in class org.apache.jmeter.protocol.jms.client.ClientPool +
Clear all the clients created by either Publish or Subscribe sampler. +
clearData() - +Method in class org.apache.jmeter.gui.MainFrame +
  +
clearData() - +Method in class org.apache.jmeter.gui.MainFrame.ErrorsAndFatalsCounterLogTarget +
  +
clearData() - +Method in class org.apache.jmeter.gui.util.PowerTableModel +
  +
clearData() - +Method in class org.apache.jmeter.protocol.http.visualizers.RequestViewHTTP +
  +
clearData() - +Method in class org.apache.jmeter.reporters.gui.ResultSaverGui +
  +
clearData() - +Method in class org.apache.jmeter.reporters.ResultCollector +
  +
clearData() - +Method in interface org.apache.jmeter.samplers.Clearable +
Clears the current data of the object. +
clearData() - +Method in class org.apache.jmeter.visualizers.AssertionVisualizer +
  +
clearData() - +Method in class org.apache.jmeter.visualizers.ComparisonVisualizer +
  +
clearData() - +Method in class org.apache.jmeter.visualizers.DistributionGraph +
Clears this graph. +
clearData() - +Method in class org.apache.jmeter.visualizers.DistributionGraphVisualizer +
  +
clearData() - +Method in class org.apache.jmeter.visualizers.Graph +
Clears this graph. +
clearData() - +Method in class org.apache.jmeter.visualizers.GraphVisualizer +
  +
clearData() - +Method in class org.apache.jmeter.visualizers.MailerVisualizer +
Clears any stored sampling-informations. +
clearData() - +Method in class org.apache.jmeter.visualizers.MonitorAccumModel +
Clears everything except the listener. +
clearData() - +Method in class org.apache.jmeter.visualizers.MonitorGraph +
clear will repaint the graph +
clearData() - +Method in class org.apache.jmeter.visualizers.MonitorHealthPanel +
clear will clear the hashmap, remove all ServerPanels from the servers + pane, and update the ui. +
clearData() - +Method in class org.apache.jmeter.visualizers.MonitorHealthVisualizer +
Clears the MonitorAccumModel. +
clearData() - +Method in class org.apache.jmeter.visualizers.MonitorModel +
clear will create a new MonitorStats object. +
clearData() - +Method in class org.apache.jmeter.visualizers.MonitorPerformancePanel +
clear will remove all child nodes from the ROOTNODE, clear the HashMap, + update the graph and jpanel for the server tree. +
clearData() - +Method in class org.apache.jmeter.visualizers.RenderAsCssJQuery +
+
clearData() - +Method in class org.apache.jmeter.visualizers.RenderAsRegexp +
+
clearData() - +Method in class org.apache.jmeter.visualizers.RenderAsXML +
  +
clearData() - +Method in class org.apache.jmeter.visualizers.RenderAsXPath +
+
clearData() - +Method in class org.apache.jmeter.visualizers.RequestPanel +
Clear data in all request view +
clearData() - +Method in interface org.apache.jmeter.visualizers.RequestView +
Clear all data in panel +
clearData() - +Method in class org.apache.jmeter.visualizers.RequestViewRaw +
  +
clearData() - +Method in class org.apache.jmeter.visualizers.RespTimeGraphVisualizer +
  +
clearData() - +Method in interface org.apache.jmeter.visualizers.ResultRenderer +
  +
clearData() - +Method in class org.apache.jmeter.visualizers.SamplerResultTab +
  +
clearData() - +Method in class org.apache.jmeter.visualizers.SimpleDataWriter +
Does nothing, but required by interface. +
clearData() - +Method in class org.apache.jmeter.visualizers.SplineModel +
  +
clearData() - +Method in class org.apache.jmeter.visualizers.SplineVisualizer +
  +
clearData() - +Method in class org.apache.jmeter.visualizers.StatGraphVisualizer +
Clears this visualizer and its model, and forces a repaint of the table. +
clearData() - +Method in class org.apache.jmeter.visualizers.StatVisualizer +
Clears this visualizer and its model, and forces a repaint of the table. +
clearData() - +Method in class org.apache.jmeter.visualizers.SummaryReport +
Clears this visualizer and its model, and forces a repaint of the table. +
clearData() - +Method in class org.apache.jmeter.visualizers.TableVisualizer +
  +
clearData() - +Method in class org.apache.jmeter.visualizers.ViewResultsFullVisualizer +
Clears the current data of the object. +
clearData() - +Method in class org.apache.jorphan.gui.AbstractTreeTableModel +
  +
clearData() - +Method in class org.apache.jorphan.gui.ObjectTableModel +
  +
clearExcludedPatterns() - +Method in class org.apache.jmeter.protocol.http.proxy.ProxyControl +
  +
clearFiles() - +Method in class org.apache.jmeter.gui.util.FileListPanel +
clear the files from the table +
clearGui() - +Method in class org.apache.jmeter.assertions.gui.AssertionGui +
Implements JMeterGUIComponent.clearGui +
clearGui() - +Method in class org.apache.jmeter.assertions.gui.BeanShellAssertionGui +
  +
clearGui() - +Method in class org.apache.jmeter.assertions.gui.DurationAssertionGui +
Implements JMeterGUIComponent.clearGui +
clearGui() - +Method in class org.apache.jmeter.assertions.gui.HTMLAssertionGui +
Implements JMeterGUIComponent.clearGui + Provides a default implementation that resets the name field to the value of + getStaticLabel(), reset comment and sets enabled to true. +
clearGui() - +Method in class org.apache.jmeter.assertions.gui.MD5HexAssertionGUI +
Implements JMeterGUIComponent.clearGui +
clearGui() - +Method in class org.apache.jmeter.assertions.gui.SizeAssertionGui +
Implements JMeterGUIComponent.clearGui +
clearGui() - +Method in class org.apache.jmeter.assertions.gui.SMIMEAssertionGui +
Provides a default implementation that resets the name field to the value of + getStaticLabel(), reset comment and sets enabled to true. +
clearGui() - +Method in class org.apache.jmeter.assertions.gui.XMLSchemaAssertionGUI +
Implements JMeterGUIComponent.clearGui +
clearGui() - +Method in class org.apache.jmeter.assertions.gui.XPathAssertionGui +
Implements JMeterGUIComponent.clearGui +
clearGui() - +Method in class org.apache.jmeter.config.gui.ArgumentsPanel +
  +
clearGui() - +Method in class org.apache.jmeter.config.gui.LoginConfigGui +
Implements JMeterGUIComponent.clearGui +
clearGui() - +Method in class org.apache.jmeter.control.gui.CriticalSectionControllerGui +
Implements JMeterGUIComponent.clearGui +
clearGui() - +Method in class org.apache.jmeter.control.gui.ForeachControlPanel +
Implements JMeterGUIComponent.clearGui +
clearGui() - +Method in class org.apache.jmeter.control.gui.IfControllerPanel +
Implements JMeterGUIComponent.clearGui +
clearGui() - +Method in class org.apache.jmeter.control.gui.IncludeControllerGui +
Implements JMeterGUIComponent.clearGui +
clearGui() - +Method in class org.apache.jmeter.control.gui.InterleaveControlGui +
Implements JMeterGUIComponent.clearGui +
clearGui() - +Method in class org.apache.jmeter.control.gui.LoopControlPanel +
Implements JMeterGUIComponent.clearGui +
clearGui() - +Method in class org.apache.jmeter.control.gui.ModuleControllerGui +
Provides a default implementation that resets the name field to the value of + getStaticLabel(), reset comment and sets enabled to true. +
clearGui() - +Method in class org.apache.jmeter.control.gui.RandomControlGui +
Implements JMeterGUIComponent.clearGui +
clearGui() - +Method in class org.apache.jmeter.control.gui.RunTimeGui +
Implements JMeterGUIComponent.clearGui +
clearGui() - +Method in class org.apache.jmeter.control.gui.SwitchControllerGui +
Implements JMeterGUIComponent.clearGui +
clearGui() - +Method in class org.apache.jmeter.control.gui.TestPlanGui +
  +
clearGui() - +Method in class org.apache.jmeter.control.gui.ThroughputControllerGui +
Implements JMeterGUIComponent.clearGui +
clearGui() - +Method in class org.apache.jmeter.control.gui.WhileControllerGui +
Implements JMeterGUIComponent.clearGui +
clearGui() - +Method in class org.apache.jmeter.control.gui.WorkBenchGui +
  +
clearGui() - +Method in class org.apache.jmeter.examples.sampler.gui.ExampleSamplerGui +
Provides a default implementation that resets the name field to the value of + getStaticLabel(), reset comment and sets enabled to true. +
clearGui() - +Method in class org.apache.jmeter.extractor.gui.HtmlExtractorGui +
Implements JMeterGUIComponent.clearGui +
clearGui() - +Method in class org.apache.jmeter.extractor.gui.RegexExtractorGui +
Implements JMeterGUIComponent.clearGui +
clearGui() - +Method in class org.apache.jmeter.extractor.gui.XPathExtractorGui +
Implements JMeterGUIComponent.clearGui +
clearGui() - +Method in class org.apache.jmeter.gui.AbstractJMeterGuiComponent +
Provides a default implementation that resets the name field to the value of + getStaticLabel(), reset comment and sets enabled to true. +
clearGui() - +Method in class org.apache.jmeter.gui.AbstractScopedJMeterGuiComponent +
  +
ClearGui - Interface in org.apache.jmeter.gui
 
clearGui() - +Method in interface org.apache.jmeter.gui.ClearGui +
Clear the gui and return it to initial default values. +
clearGui() - +Method in class org.apache.jmeter.gui.CommentPanel +
  +
clearGui() - +Method in class org.apache.jmeter.gui.NamePanel +
  +
clearGui() - +Method in class org.apache.jmeter.gui.util.FilePanelEntry +
  +
clearGui() - +Method in class org.apache.jmeter.modifiers.gui.CounterConfigGui +
Implements JMeterGUIComponent.clearGui +
clearGui() - +Method in class org.apache.jmeter.modifiers.gui.UserParametersGui +
Implements JMeterGUIComponent.clearGui +
clearGui() - +Method in class org.apache.jmeter.protocol.ftp.config.gui.FtpConfigGui +
Implements JMeterGUIComponent.clearGui +
clearGui() - +Method in class org.apache.jmeter.protocol.ftp.control.gui.FtpTestSamplerGui +
Implements JMeterGUIComponent.clearGui +
clearGui() - +Method in class org.apache.jmeter.protocol.http.config.gui.HttpDefaultsGui +
Implements JMeterGUIComponent.clearGui +
clearGui() - +Method in class org.apache.jmeter.protocol.http.control.gui.HttpMirrorControlGui +
  +
clearGui() - +Method in class org.apache.jmeter.protocol.http.control.gui.HttpTestSampleGui +
Provides a default implementation that resets the name field to the value of + getStaticLabel(), reset comment and sets enabled to true. +
clearGui() - +Method in class org.apache.jmeter.protocol.http.control.gui.SoapSamplerGui +
Implements JMeterGUIComponent.clearGui +
clearGui() - +Method in class org.apache.jmeter.protocol.http.control.gui.WebServiceSamplerGui +
Implements JMeterGUIComponent.clearGui +
clearGui() - +Method in class org.apache.jmeter.protocol.http.gui.AuthPanel +
Implements JMeterGUIComponent.clear +
clearGui() - +Method in class org.apache.jmeter.protocol.http.gui.CacheManagerGui +
Implements JMeterGUIComponent.clearGui +
clearGui() - +Method in class org.apache.jmeter.protocol.http.gui.CookiePanel +
Implements JMeterGUIComponent.clearGui +
clearGui() - +Method in class org.apache.jmeter.protocol.http.gui.DNSCachePanel +
Implements JMeterGUIComponent.clearGui +
clearGui() - +Method in class org.apache.jmeter.protocol.http.gui.HeaderPanel +
Implements JMeterGUIComponent.clearGui +
clearGui() - +Method in class org.apache.jmeter.protocol.http.modifier.gui.ParamModifierGui +
Implements JMeterGUIComponent.clearGui +
clearGui() - +Method in class org.apache.jmeter.protocol.http.modifier.gui.RegExUserParametersGui +
Implements JMeterGUIComponent.clearGui +
clearGui() - +Method in class org.apache.jmeter.protocol.http.modifier.gui.URLRewritingModifierGui +
Provides a default implementation that resets the name field to the value of + getStaticLabel(), reset comment and sets enabled to true. +
clearGui() - +Method in class org.apache.jmeter.protocol.java.config.gui.JavaConfigGui +
  +
clearGui() - +Method in class org.apache.jmeter.protocol.java.control.gui.BeanShellSamplerGui +
Implements JMeterGUIComponent.clearGui +
clearGui() - +Method in class org.apache.jmeter.protocol.java.control.gui.JavaTestSamplerGui +
  +
clearGui() - +Method in class org.apache.jmeter.protocol.java.control.gui.JUnitTestSamplerGui +
Provides a default implementation that resets the name field to the value of + getStaticLabel(), reset comment and sets enabled to true. +
clearGui() - +Method in class org.apache.jmeter.protocol.jms.control.gui.JMSPropertiesPanel +
Clear GUI +
clearGui() - +Method in class org.apache.jmeter.protocol.jms.control.gui.JMSPublisherGui +
  +
clearGui() - +Method in class org.apache.jmeter.protocol.jms.control.gui.JMSSamplerGui +
Clears all fields. +
clearGui() - +Method in class org.apache.jmeter.protocol.jms.control.gui.JMSSubscriberGui +
  +
clearGui() - +Method in class org.apache.jmeter.protocol.ldap.config.gui.LdapConfigGui +
Implements JMeterGUIComponent.clearGui +
clearGui() - +Method in class org.apache.jmeter.protocol.ldap.config.gui.LdapExtConfigGui +
Implements JMeterGUIComponent.clearGui +
clearGui() - +Method in class org.apache.jmeter.protocol.ldap.control.gui.LdapExtTestSamplerGui +
Implements JMeterGUIComponent.clearGui +
clearGui() - +Method in class org.apache.jmeter.protocol.ldap.control.gui.LdapTestSamplerGui +
Implements JMeterGUIComponent.clearGui +
clearGui() - +Method in class org.apache.jmeter.protocol.mail.sampler.gui.MailReaderSamplerGui +
  +
clearGui() - +Method in class org.apache.jmeter.protocol.smtp.sampler.gui.SmtpSamplerGui +
Provides a default implementation that resets the name field to the value of + getStaticLabel(), reset comment and sets enabled to true. +
clearGui() - +Method in class org.apache.jmeter.protocol.system.gui.SystemSamplerGui +
  +
clearGui() - +Method in class org.apache.jmeter.protocol.tcp.config.gui.TCPConfigGui +
Implements JMeterGUIComponent.clearGui +
clearGui() - +Method in class org.apache.jmeter.protocol.tcp.control.gui.TCPSamplerGui +
Implements JMeterGUIComponent.clearGui +
clearGui() - +Method in class org.apache.jmeter.reporters.gui.ResultActionGui +
Implements JMeterGUIComponent.clearGui +
clearGui() - +Method in class org.apache.jmeter.reporters.gui.ResultSaverGui +
Implements JMeterGUIComponent.clearGui +
clearGui() - +Method in class org.apache.jmeter.sampler.gui.TestActionGui +
Implements JMeterGUIComponent.clearGui +
clearGui() - +Method in class org.apache.jmeter.testbeans.gui.TestBeanGUI +
Provides a default implementation that resets the name field to the value of + getStaticLabel(), reset comment and sets enabled to true. +
clearGui() - +Method in class org.apache.jmeter.threads.gui.AbstractThreadGroupGui +
  +
clearGui() - +Method in class org.apache.jmeter.threads.gui.ThreadGroupGui +
  +
clearGui() - +Method in class org.apache.jmeter.timers.gui.AbstractRandomTimerGui +
Provides a default implementation that resets the name field to the value of + getStaticLabel(), reset comment and sets enabled to true. +
clearGui() - +Method in class org.apache.jmeter.timers.gui.ConstantTimerGui +
Provides a default implementation that resets the name field to the value of + getStaticLabel(), reset comment and sets enabled to true. +
clearGui() - +Method in class org.apache.jmeter.util.ScopePanel +
  +
clearGui() - +Method in class org.apache.jmeter.visualizers.backend.BackendListenerGui +
  +
clearGui() - +Method in class org.apache.jmeter.visualizers.gui.AbstractVisualizer +
  +
clearGui() - +Method in class org.apache.jmeter.visualizers.RespTimeGraphVisualizer +
Implements JMeterGUIComponent.clearGui +
clearHeaders() - +Method in class org.apache.jmeter.protocol.smtp.sampler.protocol.SendMailCommand +
Deletes all current headers in HashMap +
clearIncludedPatterns() - +Method in class org.apache.jmeter.protocol.http.proxy.ProxyControl +
  +
clearMatcherMemory(Perl5Matcher, Pattern) - +Static method in class org.apache.jmeter.util.JMeterUtils +
Hack to make matcher clean the two internal buffers it keeps in memory which size is equivalent to + the unzipped page size +
clearTemporary(JMeterProperty) - +Method in class org.apache.jmeter.testelement.AbstractTestElement +
Remove property from temporaryProperties +
clearTestElementChildren() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
This method should clear any test element properties that are merged + by TestElement.addTestElement(TestElement). +
clearTestElementChildren() - +Method in class org.apache.jmeter.testelement.AbstractTestElement +
This method should clear any test element properties that are merged + by TestElement.addTestElement(TestElement). +
clearTestElementChildren() - +Method in interface org.apache.jmeter.testelement.TestElement +
This method should clear any test element properties that are merged + by TestElement.addTestElement(TestElement). +
clearTestPlan() - +Method in class org.apache.jmeter.gui.GuiPackage +
Clears the test plan and associated objects. +
clearTestPlan(TestElement) - +Method in class org.apache.jmeter.gui.GuiPackage +
Clears the test plan element and associated object +
clearTestPlan() - +Method in class org.apache.jmeter.gui.tree.JMeterTreeModel +
Clear the test plan, and use default node for test plan and workbench. +
clearTestPlan(TestElement) - +Method in class org.apache.jmeter.gui.tree.JMeterTreeModel +
Clear the test plan, and use specified node for test plan and default node for workbench + + N.B. +
clearTestStrings() - +Method in class org.apache.jmeter.assertions.ResponseAssertion +
  +
clearTotalThreads() - +Static method in class org.apache.jmeter.threads.JMeterContextService +
Set total threads to zero; also clears started and finished counts +
clickCountToStart - +Variable in class org.apache.jmeter.gui.util.TextAreaTableCellEditor +
An integer specifying the number of clicks needed to start editing. +
CLIENT_ERROR_COLOR - +Static variable in class org.apache.jmeter.visualizers.SamplerResultTab +
  +
CLIENT_ERROR_COLOR - +Static variable in class org.apache.jmeter.visualizers.ViewResultsFullVisualizer +
  +
ClientJMeterEngine - Class in org.apache.jmeter.engine
Class to run remote tests from the client JMeter and collect remote samples
ClientJMeterEngine(String) - +Constructor for class org.apache.jmeter.engine.ClientJMeterEngine +
  +
ClientPool - Class in org.apache.jmeter.protocol.jms.client
ClientPool holds the client instances in an ArrayList.
ClientPool() - +Constructor for class org.apache.jmeter.protocol.jms.client.ClientPool +
  +
clone() - +Method in interface org.apache.jmeter.config.ConfigElement +
  +
clone() - +Method in class org.apache.jmeter.control.IncludeController +
  +
clone() - +Method in class org.apache.jmeter.control.ModuleController +
  +
clone() - +Method in class org.apache.jmeter.control.ThroughputController +
  +
clone() - +Method in class org.apache.jmeter.modifiers.UserParameters +
  +
clone() - +Method in class org.apache.jmeter.protocol.http.control.CookieManager +
+
clone() - +Method in class org.apache.jmeter.protocol.http.control.DNSCacheManager +
+
clone() - +Method in class org.apache.jmeter.protocol.http.modifier.RegExUserParameters +
A new instance is created for each thread group, and the + clone() method is then called to create copies for each thread in a + thread group. +
clone() - +Method in class org.apache.jmeter.protocol.http.sampler.AccessLogSampler +
+
clone() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
+
clone() - +Method in class org.apache.jmeter.protocol.http.util.accesslog.SessionFilter +
+
clone() - +Method in class org.apache.jmeter.protocol.http.util.accesslog.SharedTCLogParser +
+
clone() - +Method in class org.apache.jmeter.protocol.java.sampler.JavaSampler +
  +
clone() - +Method in class org.apache.jmeter.protocol.jdbc.config.DataSourceElement +
  +
clone() - +Method in class org.apache.jmeter.reporters.AbstractListenerElement +
  +
clone() - +Method in class org.apache.jmeter.reporters.MailerModel +
+
clone() - +Method in class org.apache.jmeter.reporters.ResultCollector +
  +
clone() - +Method in class org.apache.jmeter.samplers.SampleResult +
  +
clone() - +Method in class org.apache.jmeter.samplers.SampleSaveConfiguration +
  +
clone() - +Method in class org.apache.jmeter.testelement.AbstractTestElement +
  +
clone() - +Method in class org.apache.jmeter.testelement.property.AbstractProperty +
+
clone() - +Method in class org.apache.jmeter.testelement.property.BooleanProperty +
  +
clone() - +Method in class org.apache.jmeter.testelement.property.CollectionProperty +
+
clone() - +Method in class org.apache.jmeter.testelement.property.DoubleProperty +
+
clone() - +Method in class org.apache.jmeter.testelement.property.FloatProperty +
+
clone() - +Method in class org.apache.jmeter.testelement.property.FunctionProperty +
  +
clone() - +Method in class org.apache.jmeter.testelement.property.IntegerProperty +
+
clone() - +Method in interface org.apache.jmeter.testelement.property.JMeterProperty +
  +
clone() - +Method in class org.apache.jmeter.testelement.property.LongProperty +
+
clone() - +Method in class org.apache.jmeter.testelement.property.MapProperty +
+
clone() - +Method in class org.apache.jmeter.testelement.property.NullProperty +
  +
clone() - +Method in class org.apache.jmeter.testelement.property.ObjectProperty +
+
clone() - +Method in class org.apache.jmeter.testelement.property.StringProperty +
+
clone() - +Method in class org.apache.jmeter.testelement.property.TestElementProperty +
+
clone() - +Method in interface org.apache.jmeter.testelement.TestCloneable +
  +
clone() - +Method in interface org.apache.jmeter.testelement.TestElement +
  +
clone() - +Method in class org.apache.jmeter.timers.SyncTimer +
We have to control the cloning process because we need some cross-thread + communication if our synctimers are to be able to determine when to block + and when to release. +
clone() - +Method in class org.apache.jmeter.util.BeanShellTestElement +
  +
clone() - +Method in class org.apache.jmeter.visualizers.backend.BackendListener +
  +
clone() - +Method in class org.apache.jmeter.visualizers.MonitorModel +
a clone method is provided for convienance. +
clone() - +Method in class org.apache.jorphan.collections.HashTree +
Create a clone of this HashTree. +
clone() - +Method in class org.apache.jorphan.collections.ListedHashTree +
Create a clone of this HashTree. +
cloneMonitorStats() - +Method in class org.apache.jmeter.visualizers.MonitorModel +
a clone method to clone the stats +
cloneTree(HashTree) - +Method in class org.apache.jorphan.collections.HashTree +
  +
cloneTreeNode(JMeterTreeNode) - +Static method in class org.apache.jmeter.gui.action.Copy +
  +
cloneTreeNodes(JMeterTreeNode[]) - +Static method in class org.apache.jmeter.gui.action.Copy +
  +
CLOSE - +Static variable in class org.apache.jmeter.gui.action.ActionNames +
  +
Close - Class in org.apache.jmeter.gui.action
This command clears the existing test plan, allowing the creation of a New + test plan.
Close() - +Constructor for class org.apache.jmeter.gui.action.Close +
Constructor for the Close object. +
CLOSE - +Static variable in class org.apache.jmeter.gui.action.KeyStrokes +
  +
close() - +Method in interface org.apache.jmeter.protocol.http.util.accesslog.Generator +
close the generator +
close() - +Method in interface org.apache.jmeter.protocol.http.util.accesslog.LogParser +
close the any streams or readers. +
close() - +Method in class org.apache.jmeter.protocol.http.util.accesslog.SharedTCLogParser +
close the any streams or readers. +
close() - +Method in class org.apache.jmeter.protocol.http.util.accesslog.StandardGenerator +
close the generator +
close() - +Method in class org.apache.jmeter.protocol.http.util.accesslog.TCLogParser +
  +
close() - +Method in class org.apache.jmeter.protocol.http.util.WSDLHelper +
We try to close the connection to make sure it doesn't hang around. +
close(Connection) - +Static method in class org.apache.jmeter.protocol.jdbc.AbstractJDBCTestElement +
  +
close(Statement) - +Static method in class org.apache.jmeter.protocol.jdbc.AbstractJDBCTestElement +
  +
close(ResultSet) - +Static method in class org.apache.jmeter.protocol.jdbc.AbstractJDBCTestElement +
  +
close() - +Static method in class org.apache.jmeter.protocol.jms.client.InitialContextFactory +
clear all the InitialContext objects. +
close() - +Method in class org.apache.jmeter.protocol.jms.client.Publisher +
Close will close the session +
close() - +Method in class org.apache.jmeter.protocol.jms.client.ReceiveSubscriber +
close() will stop the connection first. +
close(MessageConsumer, Logger) - +Static method in class org.apache.jmeter.protocol.jms.Utils +
  +
close(Session, Logger) - +Static method in class org.apache.jmeter.protocol.jms.Utils +
  +
close(Connection, Logger) - +Static method in class org.apache.jmeter.protocol.jms.Utils +
  +
close(MessageProducer, Logger) - +Static method in class org.apache.jmeter.protocol.jms.Utils +
  +
close(boolean) - +Method in class org.apache.jmeter.protocol.mail.sampler.MailFileFolder +
  +
close() - +Method in class org.apache.jmeter.protocol.smtp.sampler.tools.CounterOutputStream +
+
close() - +Method in class org.apache.jmeter.util.SlowSSLSocket +
  +
CLOSE_CONNECTION - +Static variable in class org.apache.jmeter.protocol.tcp.sampler.TCPSampler +
  +
CLOSE_CONNECTION_DEFAULT - +Static variable in class org.apache.jmeter.protocol.tcp.sampler.TCPSampler +
  +
closeFile(String) - +Method in class org.apache.jmeter.services.FileServer +
  +
closeFiles() - +Method in class org.apache.jmeter.services.FileServer +
  +
closeMenu() - +Method in class org.apache.jmeter.gui.MainFrame +
Close the currently selected menu. +
closeQuietly(Closeable) - +Static method in class org.apache.jorphan.util.JOrphanUtils +
Close a Closeable with no error thrown +
closeQuietly(Socket) - +Static method in class org.apache.jorphan.util.JOrphanUtils +
close a Socket with no error thrown +
closeQuietly(ServerSocket) - +Static method in class org.apache.jorphan.util.JOrphanUtils +
close a Socket with no error thrown +
closeTag(String) - +Method in class org.apache.jorphan.util.XMLBuffer +
Close top tag from stack. +
COL_DOMAIN - +Static variable in class org.apache.jmeter.protocol.http.control.AuthManager +
  +
COL_MECHANISM - +Static variable in class org.apache.jmeter.protocol.http.control.AuthManager +
  +
COL_PASSWORD - +Static variable in class org.apache.jmeter.protocol.http.control.AuthManager +
  +
COL_REALM - +Static variable in class org.apache.jmeter.protocol.http.control.AuthManager +
  +
COL_URL - +Static variable in class org.apache.jmeter.protocol.http.control.AuthManager +
  +
COL_USERNAME - +Static variable in class org.apache.jmeter.protocol.http.control.AuthManager +
  +
COLLAPSE_ALL - +Static variable in class org.apache.jmeter.gui.action.ActionNames +
  +
COLLAPSE_ALL - +Static variable in class org.apache.jmeter.gui.action.KeyStrokes +
  +
CollapseExpand - Class in org.apache.jmeter.gui.action
Processes the Collapse All and Expand All options.
CollapseExpand() - +Constructor for class org.apache.jmeter.gui.action.CollapseExpand +
Constructor for the Close object. +
CollectionProperty - Class in org.apache.jmeter.testelement.property
 
CollectionProperty(String, Collection<?>) - +Constructor for class org.apache.jmeter.testelement.property.CollectionProperty +
  +
CollectionProperty() - +Constructor for class org.apache.jmeter.testelement.property.CollectionProperty +
  +
collector - +Variable in class org.apache.jmeter.visualizers.gui.AbstractVisualizer +
  +
color - +Variable in class org.apache.jmeter.visualizers.AxisGraph +
  +
color - +Variable in class org.apache.jmeter.visualizers.RespTimeGraphChart +
  +
ColorHelper - Class in org.apache.jmeter.util
This class contains the static utility methods to manipulate colors.
Colors - Class in org.apache.jmeter.visualizers.utils
 
Colors() - +Constructor for class org.apache.jmeter.visualizers.utils.Colors +
  +
COLUMN_RESOURCE_NAMES_0 - +Static variable in class org.apache.jmeter.config.gui.ArgumentsPanel +
  +
COLUMN_RESOURCE_NAMES_1 - +Static variable in class org.apache.jmeter.config.gui.ArgumentsPanel +
  +
COLUMN_RESOURCE_NAMES_2 - +Static variable in class org.apache.jmeter.config.gui.ArgumentsPanel +
  +
COMBO_CHANGE_COMMAND - +Static variable in class org.apache.jmeter.visualizers.ViewResultsFullVisualizer +
  +
Command - Interface in org.apache.jmeter.gui.action
 
COMMAND - +Static variable in class org.apache.jmeter.protocol.system.SystemSampler +
  +
CommentPanel - Class in org.apache.jmeter.gui
Generic comment panel for Test Elements
CommentPanel() - +Constructor for class org.apache.jmeter.gui.CommentPanel +
Create a new NamePanel with the default name. +
COMMENTS - +Static variable in interface org.apache.jmeter.testelement.TestElement +
  +
compare(DirContext, String, String) - +Static method in class org.apache.jmeter.protocol.ldap.sampler.LdapExtClient +
Filter the data in the ldap directory +
COMPARE - +Static variable in class org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler +
  +
compare(Number[], Number[]) - +Method in class org.apache.jorphan.math.NumberComparator +
+
CompareAssertion - Class in org.apache.jmeter.assertions
 
CompareAssertion() - +Constructor for class org.apache.jmeter.assertions.CompareAssertion +
  +
CompareAssertionBeanInfo - Class in org.apache.jmeter.assertions
 
CompareAssertionBeanInfo() - +Constructor for class org.apache.jmeter.assertions.CompareAssertionBeanInfo +
  +
CompareAssertionResult - Class in org.apache.jmeter.assertions
 
CompareAssertionResult() - +Constructor for class org.apache.jmeter.assertions.CompareAssertionResult +
Deprecated. Use the other ctor +
CompareAssertionResult(String) - +Constructor for class org.apache.jmeter.assertions.CompareAssertionResult +
  +
COMPAREDN - +Static variable in class org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler +
  +
COMPAREFILT - +Static variable in class org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler +
  +
compareTo(URLString) - +Method in class org.apache.jmeter.protocol.http.parser.URLString +
+
compareTo(JMeterProperty) - +Method in class org.apache.jmeter.testelement.property.AbstractProperty +
Compares two JMeterProperty object values. +
compareTo(JMeterProperty) - +Method in class org.apache.jmeter.testelement.property.NumberProperty +
  +
compareTo(Sample) - +Method in class org.apache.jmeter.visualizers.Sample +
+
compareTo(TableSample) - +Method in class org.apache.jmeter.visualizers.TableSample +
  +
ComparisonVisualizer - Class in org.apache.jmeter.visualizers
 
ComparisonVisualizer() - +Constructor for class org.apache.jmeter.visualizers.ComparisonVisualizer +
  +
ComponentUtil - Class in org.apache.jorphan.gui
This class is a Util for awt Component and could be used to place them in + center of an other.
CompoundVariable - Class in org.apache.jmeter.engine.util
CompoundFunction.
CompoundVariable() - +Constructor for class org.apache.jmeter.engine.util.CompoundVariable +
  +
CompoundVariable(String) - +Constructor for class org.apache.jmeter.engine.util.CompoundVariable +
  +
compute() - +Method in class org.apache.jmeter.functions.MachineIP +
  +
compute() - +Method in class org.apache.jmeter.functions.MachineName +
  +
computeAssertionResult(AssertionResult, Document, String, boolean) - +Static method in class org.apache.jmeter.util.XPathUtil +
Fills result +
computeContentEncoding(HTTPSamplerBase, HttpRequestHdr, Map<String, String>, Map<String, String>) - +Method in class org.apache.jmeter.protocol.http.proxy.DefaultSamplerCreator +
Compute content encoding +
computeContentEncoding(HttpRequestHdr, Map<String, String>, Map<String, String>, String) - +Method in class org.apache.jmeter.protocol.http.proxy.DefaultSamplerCreator +
Computes content encoding from request and if not found uses pageEncoding + and formEncoding to see if URL was previously computed with a content type +
computeDomain(HTTPSamplerBase, HttpRequestHdr) - +Method in class org.apache.jmeter.protocol.http.proxy.DefaultSamplerCreator +
Set domain on sampler +
computeFromHeader(HTTPSamplerBase, HttpRequestHdr, Map<String, String>, Map<String, String>) - +Method in class org.apache.jmeter.protocol.http.proxy.DefaultSamplerCreator +
Compute sampler informations from Request Header +
computeFromPostBody(HTTPSamplerBase, HttpRequestHdr) - +Method in class org.apache.jmeter.protocol.http.proxy.DefaultSamplerCreator +
Compute sampler informations from Request Header +
computeMethod(HTTPSamplerBase, HttpRequestHdr) - +Method in class org.apache.jmeter.protocol.http.proxy.DefaultSamplerCreator +
Set method on sampler +
computePath(HTTPSamplerBase, HttpRequestHdr) - +Method in class org.apache.jmeter.protocol.http.proxy.DefaultSamplerCreator +
Set path on sampler +
computePort(HTTPSamplerBase, HttpRequestHdr) - +Method in class org.apache.jmeter.protocol.http.proxy.DefaultSamplerCreator +
Set Port on sampler +
computeProtocol(HTTPSamplerBase, HttpRequestHdr) - +Method in class org.apache.jmeter.protocol.http.proxy.DefaultSamplerCreator +
Set protocol on sampler +
computeSamplerName(HTTPSamplerBase, HttpRequestHdr) - +Method in class org.apache.jmeter.protocol.http.proxy.DefaultSamplerCreator +
Compute sampler name +
CONCURRENT_DWN - +Static variable in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
CONCURRENT_POOL - +Static variable in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
CONCURRENT_POOL_SIZE - +Static variable in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
CONFIG_ELEMENTS - +Static variable in class org.apache.jmeter.gui.util.MenuFactory +
  +
ConfigElement - Interface in org.apache.jmeter.config
 
ConfigMergabilityIndicator - Interface in org.apache.jmeter.engine.util
Interface that gives a hint about the merge policy to apply between Samplers and Config elements
ConfigTestElement - Class in org.apache.jmeter.config
 
ConfigTestElement() - +Constructor for class org.apache.jmeter.config.ConfigTestElement +
  +
configure(TestElement) - +Method in class org.apache.jmeter.assertions.gui.AssertionGui +
A newly created component can be initialized with the contents of a Test + Element object by calling this method. +
configure(TestElement) - +Method in class org.apache.jmeter.assertions.gui.BeanShellAssertionGui +
  +
configure(TestElement) - +Method in class org.apache.jmeter.assertions.gui.DurationAssertionGui +
  +
configure(TestElement) - +Method in class org.apache.jmeter.assertions.gui.HTMLAssertionGui +
Configures the associated test element. +
configure(TestElement) - +Method in class org.apache.jmeter.assertions.gui.MD5HexAssertionGUI +
  +
configure(TestElement) - +Method in class org.apache.jmeter.assertions.gui.SizeAssertionGui +
  +
configure(TestElement) - +Method in class org.apache.jmeter.assertions.gui.SMIMEAssertionGui +
  +
configure(XPathAssertion) - +Method in class org.apache.jmeter.assertions.gui.XMLConfPanel +
  +
configure(XPathExtractor) - +Method in class org.apache.jmeter.assertions.gui.XMLConfPanel +
  +
configure(TestElement) - +Method in class org.apache.jmeter.assertions.gui.XMLSchemaAssertionGUI +
Configures the GUI from the associated test element. +
configure(TestElement) - +Method in class org.apache.jmeter.assertions.gui.XPathAssertionGui +
  +
configure(TestElement) - +Method in class org.apache.jmeter.config.gui.ArgumentsPanel +
A newly created component can be initialized with the contents of a Test + Element object by calling this method. +
configure(TestElement) - +Method in class org.apache.jmeter.config.gui.LoginConfigGui +
A newly created component can be initialized with the contents of a Test + Element object by calling this method. +
configure(TestElement) - +Method in class org.apache.jmeter.config.gui.SimpleConfigGui +
A newly created component can be initialized with the contents of a Test + Element object by calling this method. +
configure(TestElement) - +Method in class org.apache.jmeter.control.gui.CriticalSectionControllerGui +
A newly created component can be initialized with the contents of a Test + Element object by calling this method. +
configure(TestElement) - +Method in class org.apache.jmeter.control.gui.ForeachControlPanel +
A newly created component can be initialized with the contents of a Test + Element object by calling this method. +
configure(TestElement) - +Method in class org.apache.jmeter.control.gui.IfControllerPanel +
A newly created component can be initialized with the contents of a Test + Element object by calling this method. +
configure(TestElement) - +Method in class org.apache.jmeter.control.gui.IncludeControllerGui +
A newly created gui component can be initialized with the contents of a + Test Element object by calling this method. +
configure(TestElement) - +Method in class org.apache.jmeter.control.gui.InterleaveControlGui +
  +
configure(TestElement) - +Method in class org.apache.jmeter.control.gui.LoopControlPanel +
A newly created component can be initialized with the contents of a Test + Element object by calling this method. +
configure(TestElement) - +Method in class org.apache.jmeter.control.gui.ModuleControllerGui +
A newly created gui component can be initialized with the contents of a + Test Element object by calling this method. +
configure(TestElement) - +Method in class org.apache.jmeter.control.gui.RandomControlGui +
  +
configure(TestElement) - +Method in class org.apache.jmeter.control.gui.RunTimeGui +
A newly created component can be initialized with the contents of a Test + Element object by calling this method. +
configure(TestElement) - +Method in class org.apache.jmeter.control.gui.SwitchControllerGui +
  +
configure(TestElement) - +Method in class org.apache.jmeter.control.gui.TestPlanGui +
A newly created component can be initialized with the contents of a Test + Element object by calling this method. +
configure(TestElement) - +Method in class org.apache.jmeter.control.gui.ThroughputControllerGui +
  +
configure(TestElement) - +Method in class org.apache.jmeter.control.gui.TransactionControllerGui +
  +
configure(TestElement) - +Method in class org.apache.jmeter.control.gui.WhileControllerGui +
A newly created component can be initialized with the contents of a Test + Element object by calling this method. +
configure(TestElement) - +Method in class org.apache.jmeter.control.gui.WorkBenchGui +
A newly created component can be initialized with the contents of a Test + Element object by calling this method. +
configure(HashTree) - +Method in class org.apache.jmeter.engine.ClientJMeterEngine +
+
configure(HashTree) - +Method in interface org.apache.jmeter.engine.JMeterEngine +
  +
configure(HashTree) - +Method in class org.apache.jmeter.engine.StandardJMeterEngine +
  +
configure(TestElement) - +Method in class org.apache.jmeter.examples.sampler.gui.ExampleSamplerGui +
A newly created gui component can be initialized with the contents of a + Test Element object by calling this method. +
configure(TestElement) - +Method in class org.apache.jmeter.extractor.gui.HtmlExtractorGui +
  +
configure(TestElement) - +Method in class org.apache.jmeter.extractor.gui.RegexExtractorGui +
  +
configure(TestElement) - +Method in class org.apache.jmeter.extractor.gui.XPathExtractorGui +
  +
configure(TestElement) - +Method in class org.apache.jmeter.gui.AbstractJMeterGuiComponent +
A newly created gui component can be initialized with the contents of a + Test Element object by calling this method. +
configure(TestElement) - +Method in interface org.apache.jmeter.gui.JMeterGUIComponent +
The GUI must be able to extract the data from the TestElement and update + all GUI fields to represent those data. +
configure(TestElement) - +Method in class org.apache.jmeter.gui.NamePanel +
The GUI must be able to extract the data from the TestElement and update + all GUI fields to represent those data. +
configure(int) - +Method in class org.apache.jmeter.gui.OnErrorPanel +
  +
configure(TestElement) - +Method in class org.apache.jmeter.modifiers.gui.CounterConfigGui +
  +
configure(TestElement) - +Method in class org.apache.jmeter.modifiers.gui.UserParametersGui +
  +
configure(TestElement) - +Method in class org.apache.jmeter.protocol.ftp.config.gui.FtpConfigGui +
  +
configure(TestElement) - +Method in class org.apache.jmeter.protocol.ftp.control.gui.FtpTestSamplerGui +
  +
configure(TestElement) - +Method in class org.apache.jmeter.protocol.http.config.gui.HttpDefaultsGui +
  +
configure(TestElement) - +Method in class org.apache.jmeter.protocol.http.config.gui.MultipartUrlConfigGui +
  +
configure(TestElement) - +Method in class org.apache.jmeter.protocol.http.config.gui.UrlConfigGui +
Set the text, etc. in the UI. +
configure(TestElement) - +Method in class org.apache.jmeter.protocol.http.control.gui.HttpMirrorControlGui +
  +
configure(TestElement) - +Method in class org.apache.jmeter.protocol.http.control.gui.HttpTestSampleGui +
A newly created gui component can be initialized with the contents of a + Test Element object by calling this method. +
configure(TestElement) - +Method in class org.apache.jmeter.protocol.http.control.gui.SoapSamplerGui +
A newly created gui component can be initialized with the contents of a + Test Element object by calling this method. +
configure(TestElement) - +Method in class org.apache.jmeter.protocol.http.control.gui.WebServiceSamplerGui +
the implementation loads the URL and the soap action for the request. +
configure(TestElement) - +Method in class org.apache.jmeter.protocol.http.gui.AuthPanel +
  +
configure(TestElement) - +Method in class org.apache.jmeter.protocol.http.gui.CacheManagerGui +
A newly created component can be initialized with the contents of a Test + Element object by calling this method. +
configure(TestElement) - +Method in class org.apache.jmeter.protocol.http.gui.CookiePanel +
  +
configure(TestElement) - +Method in class org.apache.jmeter.protocol.http.gui.DNSCachePanel +
  +
configure(TestElement) - +Method in class org.apache.jmeter.protocol.http.gui.HeaderPanel +
  +
configure(TestElement) - +Method in class org.apache.jmeter.protocol.http.gui.HTTPArgumentsPanel +
  +
configure(TestElement) - +Method in class org.apache.jmeter.protocol.http.gui.HTTPFileArgsPanel +
A newly created component can be initialized with the contents of a + HTTPSamplerBase object by calling this method. +
configure(TestElement) - +Method in class org.apache.jmeter.protocol.http.modifier.gui.ParamModifierGui +
  +
configure(TestElement) - +Method in class org.apache.jmeter.protocol.http.modifier.gui.RegExUserParametersGui +
  +
configure(TestElement) - +Method in class org.apache.jmeter.protocol.http.modifier.gui.URLRewritingModifierGui +
A newly created gui component can be initialized with the contents of a + Test Element object by calling this method. +
configure(TestElement) - +Method in class org.apache.jmeter.protocol.http.proxy.gui.ProxyControlGui +
A newly created gui component can be initialized with the contents of a + Test Element object by calling this method. +
configure(TestElement) - +Method in class org.apache.jmeter.protocol.java.config.gui.JavaConfigGui +
A newly created gui component can be initialized with the contents of a + Test Element object by calling this method. +
configure(TestElement) - +Method in class org.apache.jmeter.protocol.java.control.gui.BeanShellSamplerGui +
  +
configure(TestElement) - +Method in class org.apache.jmeter.protocol.java.control.gui.JavaTestSamplerGui +
  +
configure(TestElement) - +Method in class org.apache.jmeter.protocol.java.control.gui.JUnitTestSamplerGui +
A newly created gui component can be initialized with the contents of a + Test Element object by calling this method. +
configure(TestElement) - +Method in class org.apache.jmeter.protocol.jms.control.gui.JMSPropertiesPanel +
Configures GUI from el +
configure(TestElement) - +Method in class org.apache.jmeter.protocol.jms.control.gui.JMSPublisherGui +
the implementation loads the URL and the soap action for the request. +
configure(TestElement) - +Method in class org.apache.jmeter.protocol.jms.control.gui.JMSSamplerGui +
  +
configure(TestElement) - +Method in class org.apache.jmeter.protocol.jms.control.gui.JMSSubscriberGui +
the implementation loads the URL and the soap action for the request. +
configure(TestElement) - +Method in class org.apache.jmeter.protocol.ldap.config.gui.LDAPArgumentsPanel +
A newly created component can be initialized with the contents of a Test + Element object by calling this method. +
configure(TestElement) - +Method in class org.apache.jmeter.protocol.ldap.config.gui.LdapConfigGui +
A newly created component can be initialized with the contents of a Test + Element object by calling this method. +
configure(TestElement) - +Method in class org.apache.jmeter.protocol.ldap.config.gui.LdapExtConfigGui +
A newly created component can be initialized with the contents of a Test + Element object by calling this method. +
configure(TestElement) - +Method in class org.apache.jmeter.protocol.ldap.control.gui.LdapExtTestSamplerGui +
A newly created component can be initialized with the contents of a Test + Element object by calling this method. +
configure(TestElement) - +Method in class org.apache.jmeter.protocol.ldap.control.gui.LdapTestSamplerGui +
A newly created component can be initialized with the contents of a Test + Element object by calling this method. +
configure(TestElement) - +Method in class org.apache.jmeter.protocol.mail.sampler.gui.MailReaderSamplerGui +
A newly created gui component can be initialized with the contents of a + Test Element object by calling this method. +
configure(TestElement) - +Method in class org.apache.jmeter.protocol.smtp.sampler.gui.SecuritySettingsPanel +
  +
configure(TestElement) - +Method in class org.apache.jmeter.protocol.smtp.sampler.gui.SmtpSamplerGui +
Copy the data from the test element to the GUI, method has to be implemented by interface +
configure(TestElement) - +Method in class org.apache.jmeter.protocol.system.gui.SystemSamplerGui +
  +
configure(TestElement) - +Method in class org.apache.jmeter.protocol.tcp.config.gui.TCPConfigGui +
  +
configure(TestElement) - +Method in class org.apache.jmeter.protocol.tcp.control.gui.TCPSamplerGui +
  +
configure(TestElement) - +Method in class org.apache.jmeter.reporters.gui.ResultActionGui +
  +
configure(TestElement) - +Method in class org.apache.jmeter.reporters.gui.ResultSaverGui +
  +
configure(TestElement) - +Method in class org.apache.jmeter.reporters.gui.SummariserGui +
  +
configure(TestElement) - +Method in class org.apache.jmeter.sampler.gui.TestActionGui +
  +
configure(TestElement) - +Method in class org.apache.jmeter.testbeans.gui.TestBeanGUI +
A newly created gui component can be initialized with the contents of a + Test Element object by calling this method. +
configure(TestElement) - +Method in class org.apache.jmeter.threads.gui.AbstractThreadGroupGui +
  +
configure(TestElement) - +Method in class org.apache.jmeter.threads.gui.ThreadGroupGui +
  +
configure(TestElement) - +Method in class org.apache.jmeter.timers.gui.AbstractRandomTimerGui +
Configure this GUI component from the underlying TestElement. +
configure(TestElement) - +Method in class org.apache.jmeter.timers.gui.ConstantTimerGui +
Configure this GUI component from the underlying TestElement. +
configure(TestElement) - +Method in class org.apache.jmeter.visualizers.backend.BackendListenerGui +
A newly created gui component can be initialized with the contents of a + Test Element object by calling this method. +
configure(TestElement) - +Method in class org.apache.jmeter.visualizers.gui.AbstractVisualizer +
  +
configure(TestElement) - +Method in class org.apache.jmeter.visualizers.MailerVisualizer +
Restores MailerVisualizer. +
configure(TestElement) - +Method in class org.apache.jmeter.visualizers.MonitorHealthVisualizer +
  +
configure(TestElement) - +Method in class org.apache.jmeter.visualizers.PropertyControlGui +
  +
configure(TestElement) - +Method in class org.apache.jmeter.visualizers.RespTimeGraphVisualizer +
  +
configure(TestElement) - +Method in class org.apache.jmeter.visualizers.StatVisualizer +
  +
configure(TestElement) - +Method in class org.apache.jmeter.visualizers.SummaryReport +
  +
configureFromWSDL() - +Method in class org.apache.jmeter.protocol.http.control.gui.WebServiceSamplerGui +
configure the sampler from the WSDL. +
configureKeystore(boolean, int, int, String) - +Method in class org.apache.jmeter.util.SSLManager +
Configure Keystore +
configureSampler(Sampler) - +Method in class org.apache.jmeter.threads.TestCompiler +
Configures sampler from SamplePackage extracted from Test plan and returns it +
configureTestElement(TestElement) - +Method in class org.apache.jmeter.gui.AbstractJMeterGuiComponent +
This provides a convenience for extenders when they implement the + JMeterGUIComponent.modifyTestElement(TestElement) method. +
configureTestElement(TestElement) - +Method in class org.apache.jmeter.threads.gui.AbstractThreadGroupGui +
  +
configureTestElement(AbstractListenerElement) - +Method in class org.apache.jmeter.visualizers.gui.AbstractVisualizer +
This provides a convenience for extenders when they implement the + JMeterGUIComponent.createTestElement() + method. +
configureTransactionSampler(TransactionSampler) - +Method in class org.apache.jmeter.threads.TestCompiler +
Configures Transaction Sampler from SamplePackage extracted from Test plan and returns it +
CONNECT - +Static variable in interface org.apache.jmeter.protocol.http.util.HTTPConstantsInterface +
  +
connect() - +Method in class org.apache.jmeter.protocol.http.util.WSDLHelper +
Method is used internally to connect to the URL. +
connect(String, String, String, String, String) - +Method in class org.apache.jmeter.protocol.ldap.sampler.LdapClient +
Connect to server. +
connect(String, String, String, String, String, String, boolean) - +Static method in class org.apache.jmeter.protocol.ldap.sampler.LdapExtClient +
connect to server +
connect(SocketAddress, int) - +Method in class org.apache.jmeter.util.SlowSSLSocket +
  +
connect(SocketAddress) - +Method in class org.apache.jmeter.util.SlowSSLSocket +
  +
CONNECT_TIMEOUT - +Static variable in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
connectEnd() - +Method in class org.apache.jmeter.samplers.SampleResult +
Set the time to the end of connecting +
CONNECTION_CLOSE - +Static variable in interface org.apache.jmeter.protocol.http.util.HTTPConstantsInterface +
  +
Connector - Interface in org.apache.jmeter.monitor.model
 
CONNECTOR - +Static variable in class org.apache.jmeter.monitor.parser.Constants +
  +
ConnectorImpl - Class in org.apache.jmeter.monitor.model
 
ConnectorImpl() - +Constructor for class org.apache.jmeter.monitor.model.ConnectorImpl +
  +
CONNTO - +Static variable in class org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler +
  +
Constants - Class in org.apache.jmeter.monitor.parser
Constants for the custom DocumentHandler.
Constants() - +Constructor for class org.apache.jmeter.monitor.parser.Constants +
  +
ConstantThroughputTimer - Class in org.apache.jmeter.timers
This class implements a constant throughput timer.
ConstantThroughputTimer() - +Constructor for class org.apache.jmeter.timers.ConstantThroughputTimer +
Constructor for a non-configured ConstantThroughputTimer. +
ConstantThroughputTimer.Mode - Enum in org.apache.jmeter.timers
This enum defines the calculation modes used by the ConstantThroughputTimer.
ConstantThroughputTimerBeanInfo - Class in org.apache.jmeter.timers
BeanInfo for the ConstantThroughputTimer.
ConstantThroughputTimerBeanInfo() - +Constructor for class org.apache.jmeter.timers.ConstantThroughputTimerBeanInfo +
  +
ConstantTimer - Class in org.apache.jmeter.timers
This class implements a constant timer with its own panel and fields for + value update and user interaction.
ConstantTimer() - +Constructor for class org.apache.jmeter.timers.ConstantTimer +
No-arg constructor. +
ConstantTimerGui - Class in org.apache.jmeter.timers.gui
The GUI for ConstantTimer.
ConstantTimerGui() - +Constructor for class org.apache.jmeter.timers.gui.ConstantTimerGui +
No-arg constructor. +
construct(String) - +Static method in class org.apache.jorphan.reflect.ClassTools +
Call no-args constructor for a class. +
construct(String, int) - +Static method in class org.apache.jorphan.reflect.ClassTools +
Call a class constructor with an integer parameter +
construct(String, String) - +Static method in class org.apache.jorphan.reflect.ClassTools +
Call a class constructor with an String parameter +
containsKey(Object) - +Method in class org.apache.jorphan.collections.HashTree +
If the HashTree contains the given object as a key at the top level, then + a true result is returned, otherwise false. +
containsParameter(String) - +Method in class org.apache.jmeter.protocol.java.sampler.JavaSamplerContext +
Determine whether or not a value has been specified for the parameter + with this name. +
containsParameter(String) - +Method in class org.apache.jmeter.visualizers.backend.BackendListenerContext +
Determine whether or not a value has been specified for the parameter + with this name. +
containsValue(Object) - +Method in class org.apache.jorphan.collections.HashTree +
Implemented as required by the Map interface, but is not very useful + here. +
CONTENT_ENCODING - +Static variable in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
This is the encoding used for the content, i.e. the charset name, not the header "Content-Encoding" +
CONTENT_LENGTH - +Static variable in class org.apache.jmeter.protocol.http.proxy.HttpRequestHdr +
  +
CONTENT_TYPE - +Static variable in class org.apache.jmeter.protocol.http.proxy.HttpRequestHdr +
  +
CONTENT_TYPE - +Static variable in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
CONTINUE_ON_FAIL - +Static variable in class org.apache.jmeter.engine.DistributedRunner +
  +
Controller - Interface in org.apache.jmeter.control
This interface is used by JMeterThread in the following manner: + + while (running && (sampler = controller.next()) !
CONTROLLERS - +Static variable in class org.apache.jmeter.gui.util.MenuFactory +
  +
converge() - +Method in class org.apache.jmeter.visualizers.Spline3 +
Test if the Jacobi resolution of the equation system converges. +
ConversionHelp - Class in org.apache.jmeter.save.converters
Utility conversion routines for use with XStream
ConversionHelp() - +Constructor for class org.apache.jmeter.save.converters.ConversionHelp +
  +
ConversionUtils - Class in org.apache.jmeter.protocol.http.util
General purpose conversion utilities related to HTTP/HTML
ConversionUtils() - +Constructor for class org.apache.jmeter.protocol.http.util.ConversionUtils +
  +
convert(Object, Class<?>) - +Static method in class org.apache.jorphan.util.Converter +
Convert the given value object to an object of the given type +
convertAndCloneSubTree(HashTree) - +Static method in class org.apache.jmeter.gui.action.UndoCommand +
wrapper to use package-visible method + and clone tree for saving +
convertArgumentsToHTTP(Arguments) - +Static method in class org.apache.jmeter.protocol.http.util.HTTPArgument +
Converts all Argument entries in the collection to HTTPArgument entries. +
convertArgumentsToJmsProperties(Arguments) - +Static method in class org.apache.jmeter.protocol.jms.Utils +
Converts Arguments to JMSProperties defaulting to String type + Used to convert version <= 2.10 test plans +
Converter - Class in org.apache.jorphan.util
Converter utilities for TestBeans
Converter() - +Constructor for class org.apache.jorphan.util.Converter +
  +
ConvertListeners - Class in org.apache.jmeter.engine
Converts the Remoteable Test and Sample Listeners in the test tree by wrapping + them with RemoteSampleListeners so that the samples are returned to the client.
ConvertListeners() - +Constructor for class org.apache.jmeter.engine.ConvertListeners +
  +
convertObject(Object) - +Method in class org.apache.jmeter.testelement.property.AbstractProperty +
  +
convertSoapHeaders(Map<String, String>) - +Method in class org.apache.jmeter.protocol.http.sampler.WebServiceSampler +
  +
convertStringToJMRequest(String, TestElement) - +Method in class org.apache.jmeter.protocol.http.util.accesslog.TCLogParser +
Convert a single line into XML +
convertStringtoNVPair(String) - +Method in class org.apache.jmeter.protocol.http.util.accesslog.TCLogParser +
Parse the string parameters into NVPair[] array. +
convertSubTree(HashTree) - +Static method in class org.apache.jmeter.JMeter +
Refactored from AbstractAction.java +
Cookie - Class in org.apache.jmeter.protocol.http.control
This class is a Cookie encapsulator.
Cookie() - +Constructor for class org.apache.jmeter.protocol.http.control.Cookie +
create the coookie +
Cookie(String, String, String, String, boolean, long) - +Constructor for class org.apache.jmeter.protocol.http.control.Cookie +
create the coookie +
Cookie(String, String, String, String, boolean, long, boolean, boolean) - +Constructor for class org.apache.jmeter.protocol.http.control.Cookie +
create the coookie +
Cookie(String, String, String, String, boolean, long, boolean, boolean, int) - +Constructor for class org.apache.jmeter.protocol.http.control.Cookie +
Create a JMeter Cookie. +
COOKIE_MANAGER - +Static variable in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
CookieHandler - Interface in org.apache.jmeter.protocol.http.control
Interface to be implemented by CookieHandler
CookieManager - Class in org.apache.jmeter.protocol.http.control
This class provides an interface to the netscape cookies file to pass cookies + along with a request.
CookieManager() - +Constructor for class org.apache.jmeter.protocol.http.control.CookieManager +
  +
cookieManagers - +Variable in class org.apache.jmeter.protocol.http.util.accesslog.SessionFilter +
These objects are static across multiple threads in a test, via clone() + method. +
CookiePanel - Class in org.apache.jmeter.protocol.http.gui
This is the GUI for Cookie Manager + + Allows the user to specify if she needs cookie services, and give parameters + for this service.
CookiePanel() - +Constructor for class org.apache.jmeter.protocol.http.gui.CookiePanel +
Default constructor. +
COPY - +Static variable in class org.apache.jmeter.gui.action.ActionNames +
  +
Copy - Class in org.apache.jmeter.gui.action
Implements the Copy menu command
Copy() - +Constructor for class org.apache.jmeter.gui.action.Copy +
  +
COPY - +Static variable in class org.apache.jmeter.gui.action.KeyStrokes +
  +
COPY - +Static variable in interface org.apache.jmeter.protocol.http.util.HTTPConstantsInterface +
  +
CounterConfig - Class in org.apache.jmeter.modifiers
Provides a counter per-thread(user) or per-thread group.
CounterConfig() - +Constructor for class org.apache.jmeter.modifiers.CounterConfig +
  +
CounterConfigGui - Class in org.apache.jmeter.modifiers.gui
 
CounterConfigGui() - +Constructor for class org.apache.jmeter.modifiers.gui.CounterConfigGui +
  +
CounterOutputStream - Class in org.apache.jmeter.protocol.smtp.sampler.tools
Utility-class to calculate message size.
CounterOutputStream() - +Constructor for class org.apache.jmeter.protocol.smtp.sampler.tools.CounterOutputStream +
  +
COUNTLIM - +Static variable in class org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler +
  +
CPS - +Static variable in class org.apache.jmeter.util.JsseSSLManager +
Characters per second, used to slow down sockets +
CPS_HTTP - +Static variable in class org.apache.jmeter.protocol.http.sampler.HTTPHCAbstractImpl +
  +
CPS_HTTPS - +Static variable in class org.apache.jmeter.protocol.http.sampler.HTTPHCAbstractImpl +
  +
CPSPauser - Class in org.apache.jmeter.util
Generate appropriate pauses for a given CPS (characters per second)
CPSPauser(int) - +Constructor for class org.apache.jmeter.util.CPSPauser +
Create a pauser with the appropriate speed settings. +
create(int) - +Method in class org.apache.jmeter.protocol.mail.sampler.MailFileFolder +
  +
create(SocketConnectionInfos) - +Method in class org.apache.jmeter.visualizers.backend.graphite.SocketOutputStreamPoolFactory +
  +
createAndPopulateSampler(HttpRequestHdr, Map<String, String>, Map<String, String>) - +Method in class org.apache.jmeter.protocol.http.proxy.AbstractSamplerCreator +
  +
createAndPopulateSampler(HttpRequestHdr, Map<String, String>, Map<String, String>) - +Method in interface org.apache.jmeter.protocol.http.proxy.SamplerCreator +
Default implementation calls: + + SamplerCreatorSamplerCreator.createSampler(HttpRequestHdr, Map, Map) + SamplerCreatorSamplerCreator.populateSampler(HTTPSamplerBase, HttpRequestHdr, Map, Map) + +
createAuthTablePanel() - +Method in class org.apache.jmeter.protocol.http.gui.AuthPanel +
  +
createButton(String, ActionListener) - +Static method in class org.apache.jmeter.util.JMeterUtils +
Create a button with the netscape style +
createChildren(HTTPSamplerBase, SampleResult) - +Method in class org.apache.jmeter.protocol.http.proxy.AbstractSamplerCreator +
Default implementation returns an empty list +
createChildren(HTTPSamplerBase, SampleResult) - +Method in interface org.apache.jmeter.protocol.http.proxy.SamplerCreator +
Create sampler children. +
createConnector() - +Method in class org.apache.jmeter.monitor.model.ObjectFactory +
  +
createCookieTablePanel() - +Method in class org.apache.jmeter.protocol.http.gui.CookiePanel +
  +
createDnsServersTablePanel() - +Method in class org.apache.jmeter.protocol.http.gui.DNSCachePanel +
  +
createEmbeddedRsrcPanel() - +Method in class org.apache.jmeter.protocol.http.control.gui.HttpTestSampleGui +
  +
createEmptyDoc() - +Static method in class org.apache.jmeter.protocol.http.parser.HtmlParsingUtils +
  +
createEngine(String) - +Method in class org.apache.jmeter.engine.DistributedRunner +
A factory method that might be overridden for unit testing +
CreateFunctionDialog - Class in org.apache.jmeter.gui.action
 
CreateFunctionDialog() - +Constructor for class org.apache.jmeter.gui.action.CreateFunctionDialog +
  +
createHeaderTablePanel() - +Method in class org.apache.jmeter.protocol.http.gui.HeaderPanel +
  +
createJvm() - +Method in class org.apache.jmeter.monitor.model.ObjectFactory +
  +
createLabelCombo(String, JComboBox) - +Static method in class org.apache.jorphan.gui.GuiUtils +
Create a GUI component JLabel + JComboBox with a left and right margin (5px) +
createLayeredSocket(Socket, String, int, boolean) - +Method in class org.apache.jmeter.protocol.http.util.HC4TrustAllSSLSocketFactory +
  +
createMemory() - +Method in class org.apache.jmeter.monitor.model.ObjectFactory +
  +
createMenuBar() - +Method in class org.apache.jmeter.gui.util.JMeterMenuBar +
Creates the MenuBar for this application. +
createNewMonitorModel(URL) - +Method in class org.apache.jmeter.visualizers.MonitorAccumModel +
Method will return a new MonitorModel object with the given URL. +
createNewTree() - +Method in class org.apache.jorphan.collections.HashTree +
Creates a new tree. +
createNewTree(Object) - +Method in class org.apache.jorphan.collections.HashTree +
Creates a new tree. +
createNewTree(Collection<?>) - +Method in class org.apache.jorphan.collections.HashTree +
Creates a new tree. +
createNewTree() - +Method in class org.apache.jorphan.collections.ListedHashTree +
Creates a new tree. +
createNewTree(Object) - +Method in class org.apache.jorphan.collections.ListedHashTree +
Creates a new tree. +
createNewTree(Collection<?>) - +Method in class org.apache.jorphan.collections.ListedHashTree +
Creates a new tree. +
createNewTree() - +Method in class org.apache.jorphan.collections.SortedHashTree +
Creates a new tree. +
createNewTree(Object) - +Method in class org.apache.jorphan.collections.SortedHashTree +
Creates a new tree. +
createNewTree(Collection<?>) - +Method in class org.apache.jorphan.collections.SortedHashTree +
Creates a new tree. +
createOptionalTasksPanel() - +Method in class org.apache.jmeter.protocol.http.control.gui.HttpTestSampleGui +
  +
createPaint(int) - +Method in class org.apache.jmeter.visualizers.LineGraph +
return an array of Paint with different colors. +
createPattern(String) - +Method in class org.apache.jmeter.protocol.http.util.accesslog.LogFilter +
create a new pattern object from the string. +
createPopupMenu() - +Method in class org.apache.jmeter.config.gui.AbstractConfigGui +
When a user right-clicks on the component in the test tree, or selects + the edit menu when the component is selected, the component will be asked + to return a JPopupMenu that provides all the options available to the + user from this component. +
createPopupMenu() - +Method in class org.apache.jmeter.config.gui.ObsoleteGui +
  +
createPopupMenu() - +Method in class org.apache.jmeter.control.gui.AbstractControllerGui +
When a user right-clicks on the component in the test tree, or selects + the edit menu when the component is selected, the component will be asked + to return a JPopupMenu that provides all the options available to the + user from this component. +
createPopupMenu() - +Method in class org.apache.jmeter.control.gui.IncludeControllerGui +
  +
createPopupMenu() - +Method in class org.apache.jmeter.control.gui.ModuleControllerGui +
When a user right-clicks on the component in the test tree, or selects + the edit menu when the component is selected, the component will be asked + to return a JPopupMenu that provides all the options available to the + user from this component. +
createPopupMenu() - +Method in class org.apache.jmeter.control.gui.TestPlanGui +
When a user right-clicks on the component in the test tree, or selects + the edit menu when the component is selected, the component will be asked + to return a JPopupMenu that provides all the options available to the + user from this component. +
createPopupMenu() - +Method in class org.apache.jmeter.control.gui.WorkBenchGui +
When a user right-clicks on the component in the test tree, or selects + the edit menu when the component is selected, the component will be asked + to return a JPopupMenu that provides all the options available to the + user from this component. +
createPopupMenu() - +Method in class org.apache.jmeter.gui.AbstractScopedJMeterGuiComponent +
When a user right-clicks on the component in the test tree, or selects + the edit menu when the component is selected, the component will be asked + to return a JPopupMenu that provides all the options available to the + user from this component. +
createPopupMenu() - +Method in interface org.apache.jmeter.gui.JMeterGUIComponent +
When a user right-clicks on the component in the test tree, or selects + the edit menu when the component is selected, the component will be asked + to return a JPopupMenu that provides all the options available to the + user from this component. +
createPopupMenu() - +Method in class org.apache.jmeter.gui.NamePanel +
When a user right-clicks on the component in the test tree, or selects + the edit menu when the component is selected, the component will be asked + to return a JPopupMenu that provides all the options available to the + user from this component. +
createPopupMenu() - +Method in class org.apache.jmeter.gui.tree.JMeterTreeNode +
  +
createPopupMenu() - +Method in class org.apache.jmeter.processor.gui.AbstractPreProcessorGui +
  +
createPopupMenu() - +Method in class org.apache.jmeter.samplers.gui.AbstractSamplerGui +
When a user right-clicks on the component in the test tree, or selects + the edit menu when the component is selected, the component will be asked + to return a JPopupMenu that provides all the options available to the + user from this component. +
createPopupMenu() - +Method in class org.apache.jmeter.testbeans.gui.TestBeanGUI +
When a user right-clicks on the component in the test tree, or selects + the edit menu when the component is selected, the component will be asked + to return a JPopupMenu that provides all the options available to the + user from this component. +
createPopupMenu() - +Method in class org.apache.jmeter.threads.gui.AbstractThreadGroupGui +
  +
createPopupMenu() - +Method in class org.apache.jmeter.timers.gui.AbstractTimerGui +
When a user right-clicks on the component in the test tree, or selects + the edit menu when the component is selected, the component will be asked + to return a JPopupMenu that provides all the options available to the + user from this component. +
createPopupMenu() - +Method in class org.apache.jmeter.visualizers.gui.AbstractListenerGui +
When a user right-clicks on the component in the test tree, or selects + the edit menu when the component is selected, the component will be asked + to return a JPopupMenu that provides all the options available to the + user from this component. +
createPropertiesPanel() - +Method in class org.apache.jmeter.protocol.jms.control.gui.JMSPropertiesPanel +
  +
createProperty(Object) - +Static method in class org.apache.jmeter.testelement.property.AbstractProperty +
  +
createPropertyGroup(String, String[]) - +Method in class org.apache.jmeter.testbeans.BeanInfoSupport +
Utility method to group and order properties. +
createRandomTimer() - +Method in class org.apache.jmeter.timers.gui.AbstractRandomTimerGui +
Create implementation of RandomTimer +
createRandomTimer() - +Method in class org.apache.jmeter.timers.gui.GaussianRandomTimerGui +
Create implementation of RandomTimer +
createRandomTimer() - +Method in class org.apache.jmeter.timers.gui.PoissonRandomTimerGui +
  +
createRandomTimer() - +Method in class org.apache.jmeter.timers.gui.UniformRandomTimerGui +
Create implementation of RandomTimer +
createReceiver(ConnectionFactory, Destination, String, String, boolean, String) - +Static method in class org.apache.jmeter.protocol.jms.sampler.Receiver +
Create a receiver to process responses. +
createRequestInfo() - +Method in class org.apache.jmeter.monitor.model.ObjectFactory +
  +
createRootPane() - +Method in class org.apache.jmeter.config.gui.RowDetailDialog +
  +
createRootPane() - +Method in class org.apache.jmeter.functions.gui.FunctionHelper +
Allow Dialog to be closed by ESC key +
createRootPane() - +Method in class org.apache.jmeter.gui.action.SearchTreeDialog +
  +
createRootPane() - +Method in class org.apache.jmeter.gui.action.SelectTemplatesDialog +
  +
createRootPane() - +Method in class org.apache.jmeter.gui.util.EscapeDialog +
  +
createSampler(HttpRequestHdr, Map<String, String>, Map<String, String>) - +Method in class org.apache.jmeter.protocol.http.proxy.DefaultSamplerCreator +
  +
createSampler(HttpRequestHdr, Map<String, String>, Map<String, String>) - +Method in interface org.apache.jmeter.protocol.http.proxy.SamplerCreator +
Create HTTPSamplerBase +
createSampleResult(URL, String) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl +
Create HTTPSampleResult filling url, method and SampleLabel. +
createSampleResult(BackendListenerContext, SampleResult) - +Method in class org.apache.jmeter.visualizers.backend.AbstractBackendListenerClient +
Create a copy of SampleResult, this method is here to allow customizing + what is kept in the copy, for example copy could remove some useless fields. +
createSampleResult(BackendListenerContext, SampleResult) - +Method in interface org.apache.jmeter.visualizers.backend.BackendListenerClient +
Create a copy of SampleResult, this method is here to allow customizing + what is kept in the copy, for example copy could remove some useless fields. +
createScopePanel() - +Method in class org.apache.jmeter.gui.AbstractScopedJMeterGuiComponent +
Create the scope settings panel. +
createScopePanel(boolean) - +Method in class org.apache.jmeter.gui.AbstractScopedJMeterGuiComponent +
Create the scope settings panel. +
createScopePanel(boolean, boolean, boolean) - +Method in class org.apache.jmeter.gui.AbstractScopedJMeterGuiComponent +
Create the scope settings panel. +
createShapes(int) - +Method in class org.apache.jmeter.visualizers.LineGraph +
Since we only have 4 shapes, the method will start with the first shape + and keep cycling through the shapes in order. +
createSimpleButton(String, ActionListener) - +Static method in class org.apache.jmeter.util.JMeterUtils +
Create a button with the netscape style +
createSocket(HttpParams) - +Method in class org.apache.jmeter.protocol.http.util.HC4TrustAllSSLSocketFactory +
  +
createSocket() - +Method in class org.apache.jmeter.protocol.http.util.HC4TrustAllSSLSocketFactory +
  +
createSocket(String, int, InetAddress, int) - +Method in class org.apache.jmeter.protocol.http.util.LoopbackHttpClientSocketFactory +
  +
createSocket(String, int) - +Method in class org.apache.jmeter.protocol.http.util.LoopbackHttpClientSocketFactory +
  +
createSocket(String, int, InetAddress, int, HttpConnectionParams) - +Method in class org.apache.jmeter.protocol.http.util.LoopbackHttpClientSocketFactory +
  +
createSocket(HttpParams) - +Method in class org.apache.jmeter.protocol.http.util.SlowHC4SocketFactory +
  +
createSocket() - +Method in class org.apache.jmeter.protocol.http.util.SlowHC4SocketFactory +
  +
createSocket(String, int, InetAddress, int) - +Method in class org.apache.jmeter.protocol.http.util.SlowHttpClientSocketFactory +
  +
createSocket(String, int) - +Method in class org.apache.jmeter.protocol.http.util.SlowHttpClientSocketFactory +
  +
createSocket(String, int, InetAddress, int, HttpConnectionParams) - +Method in class org.apache.jmeter.protocol.http.util.SlowHttpClientSocketFactory +
  +
createSocket(Socket, String, int, boolean) - +Method in class org.apache.jmeter.protocol.smtp.sampler.protocol.LocalTrustStoreSSLSocketFactory +
+
createSocket(InetAddress, int, InetAddress, int) - +Method in class org.apache.jmeter.protocol.smtp.sampler.protocol.LocalTrustStoreSSLSocketFactory +
+
createSocket(InetAddress, int) - +Method in class org.apache.jmeter.protocol.smtp.sampler.protocol.LocalTrustStoreSSLSocketFactory +
+
createSocket(String, int, InetAddress, int) - +Method in class org.apache.jmeter.protocol.smtp.sampler.protocol.LocalTrustStoreSSLSocketFactory +
+
createSocket(String, int) - +Method in class org.apache.jmeter.protocol.smtp.sampler.protocol.LocalTrustStoreSSLSocketFactory +
+
createSocket() - +Method in class org.apache.jmeter.protocol.smtp.sampler.protocol.LocalTrustStoreSSLSocketFactory +
+
createSocket(Socket, String, int, boolean) - +Method in class org.apache.jmeter.protocol.smtp.sampler.protocol.TrustAllSSLSocketFactory +
+
createSocket(InetAddress, int, InetAddress, int) - +Method in class org.apache.jmeter.protocol.smtp.sampler.protocol.TrustAllSSLSocketFactory +
+
createSocket(InetAddress, int) - +Method in class org.apache.jmeter.protocol.smtp.sampler.protocol.TrustAllSSLSocketFactory +
+
createSocket(String, int, InetAddress, int) - +Method in class org.apache.jmeter.protocol.smtp.sampler.protocol.TrustAllSSLSocketFactory +
+
createSocket(String, int) - +Method in class org.apache.jmeter.protocol.smtp.sampler.protocol.TrustAllSSLSocketFactory +
+
createSocket() - +Method in class org.apache.jmeter.protocol.smtp.sampler.protocol.TrustAllSSLSocketFactory +
+
createSocket(String, int, InetAddress, int, HttpConnectionParams) - +Method in class org.apache.jmeter.util.HttpSSLProtocolSocketFactory +
Attempts to get a new socket connection to the given host within the given time limit. +
createSocket(String, int) - +Method in class org.apache.jmeter.util.HttpSSLProtocolSocketFactory +
  +
createSocket() - +Method in class org.apache.jmeter.util.HttpSSLProtocolSocketFactory +
  +
createSocket(Socket, String, int, boolean) - +Method in class org.apache.jmeter.util.HttpSSLProtocolSocketFactory +
  +
createSocket(String, int, InetAddress, int) - +Method in class org.apache.jmeter.util.HttpSSLProtocolSocketFactory +
  +
createSocket(InetAddress, int) - +Method in class org.apache.jmeter.util.HttpSSLProtocolSocketFactory +
  +
createSocket(InetAddress, int, InetAddress, int) - +Method in class org.apache.jmeter.util.HttpSSLProtocolSocketFactory +
  +
createSourceAddrPanel() - +Method in class org.apache.jmeter.protocol.http.control.gui.HttpTestSampleGui +
  +
createStatus() - +Method in class org.apache.jmeter.monitor.model.ObjectFactory +
  +
createStrokes(int) - +Method in class org.apache.jmeter.visualizers.LineGraph +
Create a given number of Strokes +
createTest(BasicAttributes, String) - +Method in class org.apache.jmeter.protocol.ldap.sampler.LdapClient +
Create the attribute in the ldap directory for the given string. +
createTest(DirContext, Attributes, String) - +Static method in class org.apache.jmeter.protocol.ldap.sampler.LdapExtClient +
Create the entry in the ldap directory for the given string +
createTestElement() - +Method in class org.apache.jmeter.assertions.gui.AssertionGui +
  +
createTestElement() - +Method in class org.apache.jmeter.assertions.gui.BeanShellAssertionGui +
  +
createTestElement() - +Method in class org.apache.jmeter.assertions.gui.DurationAssertionGui +
  +
createTestElement() - +Method in class org.apache.jmeter.assertions.gui.HTMLAssertionGui +
  +
createTestElement() - +Method in class org.apache.jmeter.assertions.gui.MD5HexAssertionGUI +
  +
createTestElement() - +Method in class org.apache.jmeter.assertions.gui.SizeAssertionGui +
  +
createTestElement() - +Method in class org.apache.jmeter.assertions.gui.SMIMEAssertionGui +
  +
createTestElement() - +Method in class org.apache.jmeter.assertions.gui.XMLAssertionGui +
  +
createTestElement() - +Method in class org.apache.jmeter.assertions.gui.XMLSchemaAssertionGUI +
create Test Element +
createTestElement() - +Method in class org.apache.jmeter.assertions.gui.XPathAssertionGui +
Create test element +
createTestElement() - +Method in class org.apache.jmeter.config.gui.ArgumentsPanel +
  +
createTestElement() - +Method in class org.apache.jmeter.config.gui.LoginConfigGui +
  +
createTestElement() - +Method in class org.apache.jmeter.config.gui.ObsoleteGui +
  +
createTestElement() - +Method in class org.apache.jmeter.config.gui.SimpleConfigGui +
  +
createTestElement() - +Method in class org.apache.jmeter.control.gui.CriticalSectionControllerGui +
Implements JMeterGUIComponent.createTestElement() +
createTestElement() - +Method in class org.apache.jmeter.control.gui.ForeachControlPanel +
  +
createTestElement() - +Method in class org.apache.jmeter.control.gui.IfControllerPanel +
Implements JMeterGUIComponent.createTestElement() +
createTestElement() - +Method in class org.apache.jmeter.control.gui.IncludeControllerGui +
JMeter test components are separated into a model and a GUI + representation. +
createTestElement() - +Method in class org.apache.jmeter.control.gui.InterleaveControlGui +
  +
createTestElement() - +Method in class org.apache.jmeter.control.gui.LogicControllerGui +
  +
createTestElement() - +Method in class org.apache.jmeter.control.gui.LoopControlPanel +
  +
createTestElement() - +Method in class org.apache.jmeter.control.gui.ModuleControllerGui +
JMeter test components are separated into a model and a GUI + representation. +
createTestElement() - +Method in class org.apache.jmeter.control.gui.OnceOnlyControllerGui +
  +
createTestElement() - +Method in class org.apache.jmeter.control.gui.RandomControlGui +
  +
createTestElement() - +Method in class org.apache.jmeter.control.gui.RandomOrderControllerGui +
JMeter test components are separated into a model and a GUI + representation. +
createTestElement() - +Method in class org.apache.jmeter.control.gui.RunTimeGui +
  +
createTestElement() - +Method in class org.apache.jmeter.control.gui.SwitchControllerGui +
  +
createTestElement() - +Method in class org.apache.jmeter.control.gui.TestFragmentControllerGui +
Implements JMeterGUIComponent.createTestElement() +
createTestElement() - +Method in class org.apache.jmeter.control.gui.TestPlanGui +
  +
createTestElement() - +Method in class org.apache.jmeter.control.gui.ThroughputControllerGui +
  +
createTestElement() - +Method in class org.apache.jmeter.control.gui.TransactionControllerGui +
  +
createTestElement() - +Method in class org.apache.jmeter.control.gui.WhileControllerGui +
Implements JMeterGUIComponent.createTestElement() +
createTestElement() - +Method in class org.apache.jmeter.control.gui.WorkBenchGui +
  +
createTestElement() - +Method in class org.apache.jmeter.examples.sampler.gui.ExampleSamplerGui +
JMeter test components are separated into a model and a GUI + representation. +
createTestElement() - +Method in class org.apache.jmeter.extractor.gui.HtmlExtractorGui +
  +
createTestElement() - +Method in class org.apache.jmeter.extractor.gui.RegexExtractorGui +
  +
createTestElement() - +Method in class org.apache.jmeter.extractor.gui.XPathExtractorGui +
  +
createTestElement(Class<?>, Class<?>) - +Method in class org.apache.jmeter.gui.GuiPackage +
Create a TestElement corresponding to the specified GUI class. +
createTestElement(String) - +Method in class org.apache.jmeter.gui.GuiPackage +
Create a TestElement for a GUI or TestBean class. +
createTestElement() - +Method in interface org.apache.jmeter.gui.JMeterGUIComponent +
JMeter test components are separated into a model and a GUI + representation. +
createTestElement() - +Method in class org.apache.jmeter.gui.NamePanel +
JMeter test components are separated into a model and a GUI + representation. +
createTestElement() - +Method in class org.apache.jmeter.modifiers.gui.CounterConfigGui +
  +
createTestElement() - +Method in class org.apache.jmeter.modifiers.gui.UserParametersGui +
  +
createTestElement() - +Method in class org.apache.jmeter.protocol.ftp.config.gui.FtpConfigGui +
  +
createTestElement() - +Method in class org.apache.jmeter.protocol.ftp.control.gui.FtpTestSamplerGui +
  +
createTestElement() - +Method in class org.apache.jmeter.protocol.http.config.gui.HttpDefaultsGui +
  +
createTestElement() - +Method in class org.apache.jmeter.protocol.http.config.gui.UrlConfigGui +
  +
createTestElement() - +Method in class org.apache.jmeter.protocol.http.control.gui.AjpSamplerGui +
  +
createTestElement() - +Method in class org.apache.jmeter.protocol.http.control.gui.HttpMirrorControlGui +
  +
createTestElement() - +Method in class org.apache.jmeter.protocol.http.control.gui.HttpTestSampleGui +
JMeter test components are separated into a model and a GUI + representation. +
createTestElement() - +Method in class org.apache.jmeter.protocol.http.control.gui.RecordController +
  +
createTestElement() - +Method in class org.apache.jmeter.protocol.http.control.gui.SoapSamplerGui +
JMeter test components are separated into a model and a GUI + representation. +
createTestElement() - +Method in class org.apache.jmeter.protocol.http.control.gui.WebServiceSamplerGui +
  +
createTestElement() - +Method in class org.apache.jmeter.protocol.http.gui.AuthPanel +
  +
createTestElement() - +Method in class org.apache.jmeter.protocol.http.gui.CacheManagerGui +
  +
createTestElement() - +Method in class org.apache.jmeter.protocol.http.gui.CookiePanel +
  +
createTestElement() - +Method in class org.apache.jmeter.protocol.http.gui.DNSCachePanel +
  +
createTestElement() - +Method in class org.apache.jmeter.protocol.http.gui.HeaderPanel +
  +
createTestElement() - +Method in class org.apache.jmeter.protocol.http.gui.HTTPArgumentsPanel +
  +
createTestElement() - +Method in class org.apache.jmeter.protocol.http.modifier.gui.AnchorModifierGui +
  +
createTestElement() - +Method in class org.apache.jmeter.protocol.http.modifier.gui.ParamModifierGui +
  +
createTestElement() - +Method in class org.apache.jmeter.protocol.http.modifier.gui.RegExUserParametersGui +
  +
createTestElement() - +Method in class org.apache.jmeter.protocol.http.modifier.gui.URLRewritingModifierGui +
JMeter test components are separated into a model and a GUI + representation. +
createTestElement() - +Method in class org.apache.jmeter.protocol.http.proxy.gui.ProxyControlGui +
JMeter test components are separated into a model and a GUI + representation. +
createTestElement() - +Method in class org.apache.jmeter.protocol.java.config.gui.JavaConfigGui +
JMeter test components are separated into a model and a GUI + representation. +
createTestElement() - +Method in class org.apache.jmeter.protocol.java.control.gui.BeanShellSamplerGui +
  +
createTestElement() - +Method in class org.apache.jmeter.protocol.java.control.gui.JavaTestSamplerGui +
  +
createTestElement() - +Method in class org.apache.jmeter.protocol.java.control.gui.JUnitTestSamplerGui +
JMeter test components are separated into a model and a GUI + representation. +
createTestElement() - +Method in class org.apache.jmeter.protocol.jms.control.gui.JMSPropertiesPanel +
  +
createTestElement() - +Method in class org.apache.jmeter.protocol.jms.control.gui.JMSPublisherGui +
  +
createTestElement() - +Method in class org.apache.jmeter.protocol.jms.control.gui.JMSSamplerGui +
  +
createTestElement() - +Method in class org.apache.jmeter.protocol.jms.control.gui.JMSSubscriberGui +
  +
createTestElement() - +Method in class org.apache.jmeter.protocol.ldap.config.gui.LDAPArgumentsPanel +
  +
createTestElement() - +Method in class org.apache.jmeter.protocol.ldap.config.gui.LdapConfigGui +
  +
createTestElement() - +Method in class org.apache.jmeter.protocol.ldap.config.gui.LdapExtConfigGui +
  +
createTestElement() - +Method in class org.apache.jmeter.protocol.ldap.control.gui.LdapExtTestSamplerGui +
  +
createTestElement() - +Method in class org.apache.jmeter.protocol.ldap.control.gui.LdapTestSamplerGui +
  +
createTestElement() - +Method in class org.apache.jmeter.protocol.mail.sampler.gui.MailReaderSamplerGui +
JMeter test components are separated into a model and a GUI + representation. +
createTestElement() - +Method in class org.apache.jmeter.protocol.smtp.sampler.gui.SmtpSamplerGui +
Creates a new TestElement and set up its data +
createTestElement() - +Method in class org.apache.jmeter.protocol.system.gui.SystemSamplerGui +
  +
createTestElement() - +Method in class org.apache.jmeter.protocol.tcp.config.gui.TCPConfigGui +
  +
createTestElement() - +Method in class org.apache.jmeter.protocol.tcp.control.gui.TCPSamplerGui +
  +
createTestElement() - +Method in class org.apache.jmeter.reporters.gui.ResultActionGui +
  +
createTestElement() - +Method in class org.apache.jmeter.reporters.gui.ResultSaverGui +
  +
createTestElement() - +Method in class org.apache.jmeter.reporters.gui.SummariserGui +
  +
createTestElement() - +Method in class org.apache.jmeter.sampler.gui.TestActionGui +
  +
createTestElement() - +Method in class org.apache.jmeter.testbeans.gui.TestBeanGUI +
JMeter test components are separated into a model and a GUI + representation. +
createTestElement() - +Method in class org.apache.jmeter.threads.gui.PostThreadGroupGui +
  +
createTestElement() - +Method in class org.apache.jmeter.threads.gui.SetupThreadGroupGui +
  +
createTestElement() - +Method in class org.apache.jmeter.threads.gui.ThreadGroupGui +
  +
createTestElement() - +Method in class org.apache.jmeter.timers.gui.AbstractRandomTimerGui +
Create the test element underlying this GUI component. +
createTestElement() - +Method in class org.apache.jmeter.timers.gui.ConstantTimerGui +
Create the test element underlying this GUI component. +
createTestElement() - +Method in class org.apache.jmeter.visualizers.backend.BackendListenerGui +
JMeter test components are separated into a model and a GUI + representation. +
createTestElement() - +Method in class org.apache.jmeter.visualizers.gui.AbstractVisualizer +
  +
createTestElement() - +Method in class org.apache.jmeter.visualizers.MailerVisualizer +
Makes MailerVisualizer storable. +
createTestElement() - +Method in class org.apache.jmeter.visualizers.PropertyControlGui +
  +
createTestSample(long, long) - +Static method in class org.apache.jmeter.samplers.SampleResult +
Create a sample with specific start and end times for test purposes, but + don't allow the times to be changed later + + (used by StatVisualizerModel.Test) +
createTestSample(long) - +Static method in class org.apache.jmeter.samplers.SampleResult +
Create a sample with a specific elapsed time for test purposes, but don't + allow the times to be changed later +
createTextField(int) - +Method in class org.apache.jorphan.gui.JLabeledPasswordField +
  +
createTextField(int) - +Method in class org.apache.jorphan.gui.JLabeledTextField +
  +
createThreadInfo() - +Method in class org.apache.jmeter.monitor.model.ObjectFactory +
  +
createTitleLabel() - +Method in class org.apache.jmeter.gui.AbstractJMeterGuiComponent +
Provides a label containing the title for the component. +
createToolbar(boolean) - +Static method in class org.apache.jmeter.gui.util.JMeterToolBar +
Create the default JMeter toolbar +
createTransferable(JComponent) - +Method in class org.apache.jmeter.gui.tree.JMeterTreeTransferHandler +
  +
createUndoManager() - +Method in class org.apache.jmeter.gui.util.JSyntaxTextArea +
Override UndoManager to allow disabling if feature causes issues + See https://github.com/bobbylight/RSyntaxTextArea/issues/19 +
createUrlFromAnchor(String, URL) - +Static method in class org.apache.jmeter.protocol.http.parser.HtmlParsingUtils +
Create a new Sampler based on an HREF string plus a contextual URL + object. +
createURLFromForm(Node, URL) - +Static method in class org.apache.jmeter.protocol.http.parser.HtmlParsingUtils +
  +
createWorker() - +Method in class org.apache.jmeter.monitor.model.ObjectFactory +
  +
createWorkers() - +Method in class org.apache.jmeter.monitor.model.ObjectFactory +
  +
CriticalSectionController - Class in org.apache.jmeter.control
This is a Critical Section Controller; it will execute the set of statements + (samplers/controllers, etc) under named lock.
CriticalSectionController() - +Constructor for class org.apache.jmeter.control.CriticalSectionController +
constructor +
CriticalSectionController(String) - +Constructor for class org.apache.jmeter.control.CriticalSectionController +
constructor +
CriticalSectionControllerGui - Class in org.apache.jmeter.control.gui
The user interface for a controller which specifies that its subcomponents + should be executed while a condition holds.
CriticalSectionControllerGui() - +Constructor for class org.apache.jmeter.control.gui.CriticalSectionControllerGui +
Create a new CriticalSection Panel as a standalone component. +
CriticalSectionControllerGui(boolean) - +Constructor for class org.apache.jmeter.control.gui.CriticalSectionControllerGui +
Create a new CriticalSectionPanel as either a standalone or an embedded + component. +
CROSS_PLATFORM_LAF - +Static variable in class org.apache.jmeter.gui.util.JMeterMenuBar +
  +
CSVDataSet - Class in org.apache.jmeter.config
Read lines from a file and split int variables.
CSVDataSet() - +Constructor for class org.apache.jmeter.config.CSVDataSet +
  +
CSVDataSetBeanInfo - Class in org.apache.jmeter.config
 
CSVDataSetBeanInfo() - +Constructor for class org.apache.jmeter.config.CSVDataSetBeanInfo +
  +
CSVRead - Class in org.apache.jmeter.functions
The function represented by this class allows data to be read from CSV files.
CSVRead() - +Constructor for class org.apache.jmeter.functions.CSVRead +
  +
csvReadFile(BufferedReader, char) - +Static method in class org.apache.jmeter.save.CSVSaveService +
Reads from file and splits input into strings according to the delimiter, + taking note of quoted strings. +
CSVSaveService - Class in org.apache.jmeter.save
This class provides a means for saving/reading test results as CSV files.
csvSplitString(String, char) - +Static method in class org.apache.jmeter.save.CSVSaveService +
Reads from String and splits into strings according to the delimiter, + taking note of quoted strings. +
current - +Variable in class org.apache.jmeter.control.GenericController +
Index of current sub controller or sampler +
current() - +Static method in class org.apache.jmeter.util.ThreadLocalRandom +
Returns the current thread's ThreadLocalRandom. +
CURRENTBUSYTHREADS - +Static variable in class org.apache.jmeter.monitor.parser.Constants +
  +
CURRENTQUERYSTRING - +Static variable in class org.apache.jmeter.monitor.parser.Constants +
  +
currentReturnedNull(Controller) - +Method in class org.apache.jmeter.control.GenericController +
If the controller is done, remove it from the list, + otherwise increment to next entry in list. +
currentReturnedNull(Controller) - +Method in class org.apache.jmeter.control.InterleaveControl +
If the controller is done, remove it from the list, + otherwise increment to next entry in list. +
CURRENTTHREADCOUNT - +Static variable in class org.apache.jmeter.monitor.parser.Constants +
  +
currentTimeInMillis() - +Method in class org.apache.jmeter.samplers.SampleResult +
Helper method to get 1 ms resolution timing. +
CURRENTURI - +Static variable in class org.apache.jmeter.monitor.parser.Constants +
  +
CustomX509TrustManager - Class in org.apache.jmeter.util
Custom TrustManager ignores all certificate errors + + TODO: implement conditional checking and logging + + (Derived from AuthSSLX509TrustManager in HttpClient contrib directory)
CustomX509TrustManager(X509TrustManager) - +Constructor for class org.apache.jmeter.util.CustomX509TrustManager +
  +
CUT - +Static variable in class org.apache.jmeter.gui.action.ActionNames +
  +
Cut - Class in org.apache.jmeter.gui.action
Implements the Cut menu item command
Cut() - +Constructor for class org.apache.jmeter.gui.action.Cut +
  +
CUT - +Static variable in class org.apache.jmeter.gui.action.KeyStrokes +
  +
+
+

+D

+
+
Daemon - Class in org.apache.jmeter.protocol.http.proxy
Web daemon thread.
Daemon(int, ProxyControl) - +Constructor for class org.apache.jmeter.protocol.http.proxy.Daemon +
Create a new Daemon with the specified port and target. +
Daemon(int, ProxyControl, Class<? extends Proxy>) - +Constructor for class org.apache.jmeter.protocol.http.proxy.Daemon +
Create a new Daemon with the specified port and target, using the + specified class to handle individual requests. +
dark_green - +Static variable in class org.apache.jmeter.gui.util.JMeterColor +
  +
DATA - +Static variable in class org.apache.jmeter.examples.sampler.ExampleSampler +
  +
data - +Variable in class org.apache.jmeter.visualizers.AxisGraph +
  +
data - +Variable in class org.apache.jmeter.visualizers.LineGraph +
  +
data - +Variable in class org.apache.jmeter.visualizers.RespTimeGraphChart +
  +
Data - Class in org.apache.jorphan.collections
Use this class to store database-like data.
Data() - +Constructor for class org.apache.jorphan.collections.Data +
Constructor - takes no arguments. +
data - +Variable in class org.apache.jorphan.collections.HashTree +
  +
DATABASE - +Static variable in class org.apache.jmeter.protocol.mongodb.sampler.MongoScriptSampler +
  +
DataSourceElement - Class in org.apache.jmeter.protocol.jdbc.config
 
DataSourceElement() - +Constructor for class org.apache.jmeter.protocol.jdbc.config.DataSourceElement +
  +
DataSourceElementBeanInfo - Class in org.apache.jmeter.protocol.jdbc.config
 
DataSourceElementBeanInfo() - +Constructor for class org.apache.jmeter.protocol.jdbc.config.DataSourceElementBeanInfo +
  +
DataStrippingSampleSender - Class in org.apache.jmeter.samplers
The standard remote sample reporting should be more friendly to the main purpose of + remote testing - which is scalability.
DataStrippingSampleSender() - +Constructor for class org.apache.jmeter.samplers.DataStrippingSampleSender +
Deprecated. only for use by test code +
DATE - +Static variable in interface org.apache.jmeter.protocol.http.util.HTTPConstantsInterface +
  +
deactivate() - +Method in class org.apache.jmeter.protocol.jms.sampler.Receiver +
  +
DEAD - +Static variable in class org.apache.jmeter.monitor.util.Stats +
  +
DEBUG_OFF - +Static variable in class org.apache.jmeter.gui.action.ActionNames +
  +
DEBUG_OFF - +Static variable in class org.apache.jmeter.gui.action.KeyStrokes +
  +
DEBUG_ON - +Static variable in class org.apache.jmeter.gui.action.ActionNames +
  +
DEBUG_ON - +Static variable in class org.apache.jmeter.gui.action.KeyStrokes +
  +
debugCheck() - +Method in class org.apache.jmeter.visualizers.Spline3 +
Manual check of the curve at the interpolated points. +
DebugPostProcessor - Class in org.apache.jmeter.extractor
Debugging Post-Processor: creates a subSample containing the variables defined in the previous sampler.
DebugPostProcessor() - +Constructor for class org.apache.jmeter.extractor.DebugPostProcessor +
  +
DebugPostProcessorBeanInfo - Class in org.apache.jmeter.extractor
 
DebugPostProcessorBeanInfo() - +Constructor for class org.apache.jmeter.extractor.DebugPostProcessorBeanInfo +
  +
DebugSampler - Class in org.apache.jmeter.sampler
The Debug Sampler can be used to "sample" JMeter variables, JMeter properties and System Properties.
DebugSampler() - +Constructor for class org.apache.jmeter.sampler.DebugSampler +
  +
DebugSamplerBeanInfo - Class in org.apache.jmeter.sampler
 
DebugSamplerBeanInfo() - +Constructor for class org.apache.jmeter.sampler.DebugSamplerBeanInfo +
  +
declareBean(BSFDeclaredBean) - +Method in class org.apache.jmeter.util.BSFJavaScriptEngine +
  +
decode(String) - +Static method in class org.apache.jmeter.functions.util.ArgumentDecoder +
  +
decode - +Variable in class org.apache.jmeter.protocol.http.util.accesslog.TCLogParser +
by default, we probably should decode the parameter values +
decode(String) - +Static method in class org.apache.jmeter.save.converters.ConversionHelp +
Decode a string if ConversionHelp.inVersion equals 1.0 +
decodeParameterValue() - +Method in class org.apache.jmeter.protocol.http.util.accesslog.TCLogParser +
decode the parameter values is to true by default +
decodeQuery(String) - +Static method in class org.apache.jmeter.protocol.http.visualizers.RequestViewHTTP +
Decode a query string +
DEFAULT - +Static variable in class org.apache.jmeter.testbeans.BeanInfoSupport +
Default value, must be provided if BeanInfoSupport.NOT_UNDEFINED is TRUE +
DEFAULT - +Static variable in class org.apache.jmeter.testbeans.gui.GenericTestBeanCustomizer +
Default value, must be provided if GenericTestBeanCustomizer.NOT_UNDEFINED is TRUE +
DEFAULT_CASE_SENSITIVE - +Static variable in class org.apache.jmeter.visualizers.RespTimeGraphVisualizer +
  +
DEFAULT_CLASS - +Static variable in class org.apache.jmeter.protocol.http.sampler.AccessLogSampler +
  +
DEFAULT_CLASSNAME - +Static variable in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerFactory +
  +
DEFAULT_CLEAR_CACHE_EACH_ITER - +Static variable in class org.apache.jmeter.protocol.http.control.DNSCacheManager +
  +
DEFAULT_COLORS_PROPERTY_FILE - +Static variable in class org.apache.jmeter.visualizers.utils.Colors +
  +
DEFAULT_DOCTYPE - +Static variable in class org.apache.jmeter.assertions.HTMLAssertion +
  +
DEFAULT_DYNAMIC_GRAPH_SIZE - +Static variable in class org.apache.jmeter.visualizers.RespTimeGraphVisualizer +
  +
DEFAULT_ENCODING - +Static variable in class org.apache.jmeter.samplers.SampleResult +
The default encoding to be used to decode the responseData byte array. +
DEFAULT_EXTRACTOR - +Static variable in class org.apache.jmeter.extractor.HtmlExtractor +
  +
DEFAULT_GROUP - +Static variable in class org.apache.jmeter.testbeans.gui.GenericTestBeanCustomizer +
  +
DEFAULT_HTTP_ENCODING - +Static variable in class org.apache.jmeter.samplers.SampleResult +
The default encoding to be used if not overridden. +
DEFAULT_HTTP_PORT - +Static variable in interface org.apache.jmeter.protocol.http.util.HTTPConstantsInterface +
  +
DEFAULT_HTTP_PORT_STRING - +Static variable in interface org.apache.jmeter.protocol.http.util.HTTPConstantsInterface +
  +
DEFAULT_HTTPS_PORT - +Static variable in interface org.apache.jmeter.protocol.http.util.HTTPConstantsInterface +
  +
DEFAULT_HTTPS_PORT_STRING - +Static variable in interface org.apache.jmeter.protocol.http.util.HTTPConstantsInterface +
  +
DEFAULT_IMPLEMENTATION - +Static variable in class org.apache.jmeter.protocol.http.control.CookieManager +
  +
DEFAULT_INTERVAL - +Static variable in class org.apache.jmeter.visualizers.RespTimeGraphVisualizer +
  +
DEFAULT_IS_CUSTOM_RESOLVER - +Static variable in class org.apache.jmeter.protocol.http.control.DNSCacheManager +
  +
DEFAULT_LEGEND_FONT - +Static variable in class org.apache.jmeter.visualizers.RespTimeGraphVisualizer +
  +
DEFAULT_LEGEND_PLACEMENT - +Static variable in class org.apache.jmeter.visualizers.RespTimeGraphVisualizer +
  +
DEFAULT_LEGEND_SIZE - +Static variable in class org.apache.jmeter.visualizers.RespTimeGraphVisualizer +
  +
DEFAULT_LEGEND_STYLE - +Static variable in class org.apache.jmeter.visualizers.RespTimeGraphVisualizer +
  +
DEFAULT_LINE_SHAPE_POINT - +Static variable in class org.apache.jmeter.visualizers.RespTimeGraphVisualizer +
  +
DEFAULT_MAX_ITERATIONS - +Static variable in class org.apache.jmeter.visualizers.Spline3 +
  +
DEFAULT_MAX_POOL_SIZE - +Static variable in class org.apache.jmeter.protocol.http.control.HttpMirrorControl +
  +
DEFAULT_MAX_QUEUE_SIZE - +Static variable in class org.apache.jmeter.protocol.http.control.HttpMirrorControl +
  +
DEFAULT_MEMORY_FACTOR - +Static variable in class org.apache.jmeter.monitor.util.Stats +
  +
DEFAULT_METHOD - +Static variable in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
DEFAULT_NO_EXPIRY - +Static variable in class org.apache.jmeter.protocol.jms.Utils +
  +
DEFAULT_NUMBER_OF_NODES - +Static variable in class org.apache.jmeter.visualizers.SplineModel +
  +
DEFAULT_NUMBER_SHOW_GROUPING - +Static variable in class org.apache.jmeter.visualizers.RespTimeGraphVisualizer +
  +
DEFAULT_PARSER - +Static variable in class org.apache.jmeter.protocol.http.parser.HTMLParser +
  +
DEFAULT_PATTERN - +Static variable in class org.apache.jorphan.logging.LoggingManager +
  +
DEFAULT_POLICY - +Static variable in class org.apache.jmeter.protocol.http.control.CookieManager +
  +
DEFAULT_PORT - +Static variable in class org.apache.jmeter.protocol.http.proxy.ProxyControl +
  +
DEFAULT_PORT - +Static variable in class org.apache.jmeter.protocol.mongodb.mongo.MongoUtils +
MongoDB default connection port +
DEFAULT_PORT_S - +Static variable in class org.apache.jmeter.protocol.http.control.HttpMirrorControl +
  +
DEFAULT_PORT_S - +Static variable in class org.apache.jmeter.protocol.http.proxy.ProxyControl +
  +
DEFAULT_PRECISION - +Static variable in class org.apache.jmeter.visualizers.Spline3 +
  +
DEFAULT_PRIORITY_4 - +Static variable in class org.apache.jmeter.protocol.jms.Utils +
  +
DEFAULT_PROTOCOL - +Static variable in class org.apache.jmeter.protocol.mail.sampler.MailReaderSampler +
  +
DEFAULT_QUEUE_SIZE - +Static variable in class org.apache.jmeter.visualizers.backend.BackendListener +
  +
DEFAULT_REFRESH_PERIOD - +Static variable in class org.apache.jmeter.visualizers.SplineModel +
  +
DEFAULT_REGEXP - +Static variable in class org.apache.jmeter.visualizers.RespTimeGraphVisualizer +
  +
DEFAULT_RETURN_CODE - +Static variable in class org.apache.jmeter.protocol.system.SystemSampler +
  +
DEFAULT_SERIES_SELECTION - +Static variable in class org.apache.jmeter.visualizers.RespTimeGraphVisualizer +
  +
DEFAULT_SERVERS - +Static variable in class org.apache.jmeter.protocol.http.control.DNSCacheManager +
  +
DEFAULT_SLEEP_MASK - +Static variable in class org.apache.jmeter.protocol.java.test.JavaTest +
The default value of the SleepMask parameter. +
DEFAULT_SLEEP_MASK - +Static variable in class org.apache.jmeter.protocol.java.test.SleepTest +
The default value of the SleepMask parameter. +
DEFAULT_SLEEP_TIME - +Static variable in class org.apache.jmeter.protocol.java.test.JavaTest +
The default value of the SleepTime parameter, in milliseconds. +
DEFAULT_SLEEP_TIME - +Static variable in class org.apache.jmeter.protocol.java.test.SleepTest +
The default value of the SleepTime parameter, in milliseconds. +
DEFAULT_STROKE_WIDTH_LIST - +Static variable in class org.apache.jmeter.visualizers.RespTimeGraphVisualizer +
  +
DEFAULT_THREAD_FACTOR - +Static variable in class org.apache.jmeter.monitor.util.Stats +
  +
DEFAULT_TITLE_FONT_NAME - +Static variable in class org.apache.jmeter.visualizers.RespTimeGraphVisualizer +
  +
DEFAULT_TITLE_FONT_SIZE - +Static variable in class org.apache.jmeter.visualizers.RespTimeGraphVisualizer +
  +
DEFAULT_TITLE_FONT_STYLE - +Static variable in class org.apache.jmeter.visualizers.RespTimeGraphVisualizer +
  +
DEFAULT_TOOLBAR_ICON_SIZE - +Static variable in class org.apache.jmeter.gui.util.JMeterToolBar +
  +
DEFAULT_TOOLBAR_PROPERTY_FILE - +Static variable in class org.apache.jmeter.gui.util.JMeterToolBar +
  +
DEFAULT_XAXIS_TIME_FORMAT - +Static variable in class org.apache.jmeter.visualizers.RespTimeGraphVisualizer +
  +
DEFAULT_XPATH - +Static variable in class org.apache.jmeter.assertions.XPathAssertion +
  +
defaultpw - +Variable in class org.apache.jmeter.util.SSLManager +
Have the password available +
DefaultSamplerCreator - Class in org.apache.jmeter.protocol.http.proxy
Default implementation that handles classical HTTP textual + Multipart requests
DefaultSamplerCreator() - +Constructor for class org.apache.jmeter.protocol.http.proxy.DefaultSamplerCreator +
  +
DefaultTreeTableModel - Class in org.apache.jorphan.gui
 
DefaultTreeTableModel() - +Constructor for class org.apache.jorphan.gui.DefaultTreeTableModel +
  +
DefaultTreeTableModel(TreeNode) - +Constructor for class org.apache.jorphan.gui.DefaultTreeTableModel +
  +
DefaultTreeTableModel(String[], Functor[], Functor[], Class<?>[]) - +Constructor for class org.apache.jorphan.gui.DefaultTreeTableModel +
  +
DELAY - +Static variable in class org.apache.jmeter.threads.ThreadGroup +
Scheduler start delay, overrides start time +
delay() - +Method in class org.apache.jmeter.timers.BeanShellTimer +
This method is called after a sampling process is done to know how much + time the sampling thread has to wait until sampling again. +
delay() - +Method in class org.apache.jmeter.timers.BSFTimer +
This method is called after a sampling process is done to know how much + time the sampling thread has to wait until sampling again. +
delay() - +Method in class org.apache.jmeter.timers.ConstantThroughputTimer +
Retrieve the delay to use during test execution. +
DELAY - +Static variable in class org.apache.jmeter.timers.ConstantTimer +
  +
delay() - +Method in class org.apache.jmeter.timers.ConstantTimer +
Retrieve the delay to use during test execution. +
delay() - +Method in class org.apache.jmeter.timers.GaussianRandomTimer +
  +
delay() - +Method in class org.apache.jmeter.timers.JSR223Timer +
This method is called after a sampling process is done to know how much + time the sampling thread has to wait until sampling again. +
delay() - +Method in class org.apache.jmeter.timers.PoissonRandomTimer +
Retrieve the delay to use during test execution. +
delay() - +Method in class org.apache.jmeter.timers.SyncTimer +
This method is called after a sampling process is done to know how much + time the sampling thread has to wait until sampling again. +
delay() - +Method in interface org.apache.jmeter.timers.Timer +
This method is called after a sampling process is done to know how much + time the sampling thread has to wait until sampling again. +
delay() - +Method in class org.apache.jmeter.timers.UniformRandomTimer +
  +
delayBy(long, String) - +Method in class org.apache.jmeter.threads.JMeterThread +
Wait for delay with RAMPUP_GRANULARITY +
DELAYED_START - +Static variable in class org.apache.jmeter.threads.ThreadGroup +
Whether thread startup is delayed until required +
delegate - +Variable in class org.apache.jmeter.gui.util.TextAreaTableCellEditor +
The delegate class which handles all methods sent from the + CellEditor. +
DELETE - +Static variable in interface org.apache.jmeter.protocol.http.util.HTTPConstantsInterface +
  +
DELETE - +Static variable in class org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler +
  +
DELETE - +Static variable in class org.apache.jmeter.protocol.ldap.sampler.LDAPSampler +
  +
delete(boolean) - +Method in class org.apache.jmeter.protocol.mail.sampler.MailFileFolder +
  +
DELETE_BUTTON - +Static variable in class org.apache.jmeter.gui.util.ButtonPanel +
  +
deleteArgument() - +Method in class org.apache.jmeter.config.gui.ArgumentsPanel +
Remove the currently selected argument from the table. +
deleteArgument() - +Method in class org.apache.jmeter.config.gui.SimpleConfigGui +
Remove the currently selected argument from the table. +
deleteFile() - +Method in class org.apache.jmeter.gui.util.FileListPanel +
  +
deleteTest(String) - +Method in class org.apache.jmeter.protocol.ldap.sampler.LdapClient +
Delete the attribute from the ldap directory. +
deleteTest(DirContext, String) - +Static method in class org.apache.jmeter.protocol.ldap.sampler.LdapExtClient +
Delete the attribute from the ldap directory +
DELIMITER - +Static variable in class org.apache.jmeter.functions.FileRowColContainer +
  +
deliverSampler(HTTPSamplerBase, TestElement[], SampleResult) - +Method in class org.apache.jmeter.protocol.http.proxy.ProxyControl +
Receives the recorded sampler from the proxy server for placing in the + test tree; this is skipped if the sampler is null (e.g. for recording SSL errors) + Always sends the result to any registered sample listeners. +
DEREF - +Static variable in class org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler +
  +
DESCRIPTION - +Static variable in class org.apache.jmeter.config.Argument +
Name used to store the argument's description. +
destroyKeystore() - +Method in class org.apache.jmeter.util.SSLManager +
Destroy Keystore +
destroyObject(SocketConnectionInfos, PooledObject<SocketOutputStream>) - +Method in class org.apache.jmeter.visualizers.backend.graphite.SocketOutputStreamPoolFactory +
  +
DIRECTORY - +Static variable in class org.apache.jmeter.protocol.system.SystemSampler +
  +
DISABLE - +Static variable in class org.apache.jmeter.gui.action.ActionNames +
  +
disconnect(HttpURLConnection) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPJavaImpl +
  +
disconnect() - +Method in class org.apache.jmeter.protocol.ldap.sampler.LdapClient +
Disconnect from the server. +
disconnect(DirContext) - +Static method in class org.apache.jmeter.protocol.ldap.sampler.LdapExtClient +
disconnect from the server +
DiskStoreSampleSender - Class in org.apache.jmeter.samplers
Version of HoldSampleSender that stores the samples on disk as a serialised stream.
DiskStoreSampleSender() - +Constructor for class org.apache.jmeter.samplers.DiskStoreSampleSender +
Deprecated. only for use by test code +
displayPopUp(MouseEvent, JPopupMenu) - +Method in class org.apache.jmeter.gui.GuiPackage +
Display the specified popup menu with the source component and location + from the specified mouse event. +
displayPopUp(Component, MouseEvent, JPopupMenu) - +Method in class org.apache.jmeter.gui.GuiPackage +
Display the specified popup menu at the location specified by a mouse + event with the specified source component. +
displayThreads(boolean) - +Static method in class org.apache.jorphan.util.JOrphanUtils +
Display currently running threads on system.out + This may be expensive to run. +
dispose() - +Method in class org.apache.jorphan.gui.MenuScroller +
Removes this MenuScroller from the associated menu and restores the + default behavior of the menu. +
DistributedRunner - Class in org.apache.jmeter.engine
This class serves all responsibility of starting and stopping distributed tests.
DistributedRunner() - +Constructor for class org.apache.jmeter.engine.DistributedRunner +
  +
DistributedRunner(Properties) - +Constructor for class org.apache.jmeter.engine.DistributedRunner +
  +
DistributionGraph - Class in org.apache.jmeter.visualizers
New graph for drawing distribution graph of the results.
DistributionGraph() - +Constructor for class org.apache.jmeter.visualizers.DistributionGraph +
Constructor for the Graph object. +
DistributionGraph(SamplingStatCalculator) - +Constructor for class org.apache.jmeter.visualizers.DistributionGraph +
Constructor for the Graph object. +
DistributionGraphVisualizer - Class in org.apache.jmeter.visualizers
This class implements the visualizer for displaying the distribution graph.
DistributionGraphVisualizer() - +Constructor for class org.apache.jmeter.visualizers.DistributionGraphVisualizer +
Constructor for the GraphVisualizer object. +
divide(T, int) - +Method in class org.apache.jorphan.math.StatCalculator +
  +
divide(T, long) - +Method in class org.apache.jorphan.math.StatCalculator +
  +
divide(Integer, int) - +Method in class org.apache.jorphan.math.StatCalculatorInteger +
  +
divide(Integer, long) - +Method in class org.apache.jorphan.math.StatCalculatorInteger +
  +
divide(Long, int) - +Method in class org.apache.jorphan.math.StatCalculatorLong +
  +
divide(Long, long) - +Method in class org.apache.jorphan.math.StatCalculatorLong +
  +
DNS_CACHE_MANAGER - +Static variable in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
DNSCacheManager - Class in org.apache.jmeter.protocol.http.control
This config element provides ability to have flexible control over DNS + caching function.
DNSCacheManager() - +Constructor for class org.apache.jmeter.protocol.http.control.DNSCacheManager +
  +
DNSCachePanel - Class in org.apache.jmeter.protocol.http.gui
This gui part of @see + DNSCacheManager.
DNSCachePanel() - +Constructor for class org.apache.jmeter.protocol.http.gui.DNSCachePanel +
Default constructor. +
DO_MULTIPART_POST - +Static variable in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
doAction(ActionEvent) - +Method in class org.apache.jmeter.gui.action.AboutCommand +
Handle the "about" action by displaying the "About Apache JMeter..." +
doAction(ActionEvent) - +Method in class org.apache.jmeter.gui.action.AbstractAction +
  +
doAction(ActionEvent) - +Method in class org.apache.jmeter.gui.action.AddParent +
  +
doAction(ActionEvent) - +Method in class org.apache.jmeter.gui.action.AddToTree +
Adds the specified class to the current node of the tree. +
doAction(ActionEvent) - +Method in class org.apache.jmeter.gui.action.Analyze +
  +
doAction(ActionEvent) - +Method in class org.apache.jmeter.gui.action.ChangeLanguage +
  +
doAction(ActionEvent) - +Method in class org.apache.jmeter.gui.action.ChangeParent +
  +
doAction(ActionEvent) - +Method in class org.apache.jmeter.gui.action.CheckDirty +
  +
doAction(ActionEvent) - +Method in class org.apache.jmeter.gui.action.Clear +
  +
doAction(ActionEvent) - +Method in class org.apache.jmeter.gui.action.Close +
This method performs the actual command processing. +
doAction(ActionEvent) - +Method in class org.apache.jmeter.gui.action.CollapseExpand +
This method performs the actual command processing. +
doAction(ActionEvent) - +Method in interface org.apache.jmeter.gui.action.Command +
  +
doAction(ActionEvent) - +Method in class org.apache.jmeter.gui.action.Copy +
  +
doAction(ActionEvent) - +Method in class org.apache.jmeter.gui.action.CreateFunctionDialog +
  +
doAction(ActionEvent) - +Method in class org.apache.jmeter.gui.action.Cut +
  +
doAction(ActionEvent) - +Method in class org.apache.jmeter.gui.action.Duplicate +
  +
doAction(ActionEvent) - +Method in class org.apache.jmeter.gui.action.EditCommand +
  +
doAction(ActionEvent) - +Method in class org.apache.jmeter.gui.action.EnableComponent +
  +
doAction(ActionEvent) - +Method in class org.apache.jmeter.gui.action.ExitCommand +
Description of the Method +
doAction(ActionEvent) - +Method in class org.apache.jmeter.gui.action.Help +
  +
doAction(ActionEvent) - +Method in class org.apache.jmeter.gui.action.Load +
  +
doAction(ActionEvent) - +Method in class org.apache.jmeter.gui.action.LoadRecentProject +
  +
doAction(ActionEvent) - +Method in class org.apache.jmeter.gui.action.LoggerPanelEnableDisable +
This method performs the actual command processing. +
doAction(ActionEvent) - +Method in class org.apache.jmeter.gui.action.LookAndFeelCommand +
  +
doAction(ActionEvent) - +Method in class org.apache.jmeter.gui.action.Move +
  +
doAction(ActionEvent) - +Method in class org.apache.jmeter.gui.action.Paste +
  +
doAction(ActionEvent) - +Method in class org.apache.jmeter.gui.action.RemoteStart +
  +
doAction(ActionEvent) - +Method in class org.apache.jmeter.gui.action.Remove +
  +
doAction(ActionEvent) - +Method in class org.apache.jmeter.gui.action.ResetSearchCommand +
  +
doAction(ActionEvent) - +Method in class org.apache.jmeter.gui.action.RevertProject +
  +
doAction(ActionEvent) - +Method in class org.apache.jmeter.gui.action.Save +
  +
doAction(ActionEvent) - +Method in class org.apache.jmeter.gui.action.SaveGraphics +
  +
doAction(ActionEvent) - +Method in class org.apache.jmeter.gui.action.SearchTreeCommand +
  +
doAction(ActionEvent) - +Method in class org.apache.jmeter.gui.action.SSLManagerCommand +
Handle the "sslmanager" action by displaying the "SSL CLient Manager" + dialog box. +
doAction(ActionEvent) - +Method in class org.apache.jmeter.gui.action.Start +
  +
doAction(ActionEvent) - +Method in class org.apache.jmeter.gui.action.StopStoppables +
  +
doAction(ActionEvent) - +Method in class org.apache.jmeter.gui.action.TemplatesCommand +
  +
doAction(ActionEvent) - +Method in class org.apache.jmeter.gui.action.ToolBar +
This method performs the actual command processing. +
doAction(ActionEvent) - +Method in class org.apache.jmeter.gui.action.UndoCommand +
  +
doAction(ActionEvent) - +Method in class org.apache.jmeter.gui.action.What +
  +
doActionNow(ActionEvent) - +Method in class org.apache.jmeter.gui.action.ActionRouter +
To execute an action immediately in the current thread. +
DOCTYPE_KEY - +Static variable in class org.apache.jmeter.assertions.HTMLAssertion +
  +
Document - Class in org.apache.jmeter.util
 
Document() - +Constructor for class org.apache.jmeter.util.Document +
  +
DOMAIN - +Static variable in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
DOMPool - Class in org.apache.jmeter.protocol.http.util
The purpose of this class is to cache the DOM Documents in memory and by-pass + parsing.
done(SamplePackage) - +Method in class org.apache.jmeter.threads.TestCompiler +
Reset pack to its initial state +
DoubleProperty - Class in org.apache.jmeter.testelement.property
 
DoubleProperty(String, double) - +Constructor for class org.apache.jmeter.testelement.property.DoubleProperty +
  +
DoubleProperty() - +Constructor for class org.apache.jmeter.testelement.property.DoubleProperty +
  +
doUpdate(ActionEvent) - +Method in class org.apache.jmeter.config.gui.RowDetailDialog +
Update model values +
downloadPageResources(HTTPSampleResult, HTTPSampleResult, int) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
Download the resources of an HTML page. +
dragEnter(DropTargetDragEvent) - +Method in class org.apache.jmeter.gui.MainFrame +
  +
dragExit(DropTargetEvent) - +Method in class org.apache.jmeter.gui.MainFrame +
  +
dragOver(DropTargetDragEvent) - +Method in class org.apache.jmeter.gui.MainFrame +
  +
drop(DropTargetDropEvent) - +Method in class org.apache.jmeter.gui.MainFrame +
Handler of Top level Dnd +
dropActionChanged(DropTargetDragEvent) - +Method in class org.apache.jmeter.gui.MainFrame +
  +
dumpHeap(String, boolean) - +Static method in class org.apache.jorphan.util.HeapDumper +
Dumps the heap to the outputFile file in the same format as the hprof heap dump. +
dumpHeap(String) - +Static method in class org.apache.jorphan.util.HeapDumper +
Dumps live objects from the heap to the outputFile file in the same format as the hprof heap dump. +
dumpHeap() - +Static method in class org.apache.jorphan.util.HeapDumper +
Dumps live objects from the heap to the outputFile file in the same format as the hprof heap dump. +
dumpHeap(boolean) - +Static method in class org.apache.jorphan.util.HeapDumper +
Dumps objects from the heap to the outputFile file in the same format as the hprof heap dump. +
dumpHeap(File, boolean) - +Static method in class org.apache.jorphan.util.HeapDumper +
Dumps objects from the heap to the outputFile file in the same format as the hprof heap dump. +
DUPLICATE - +Static variable in class org.apache.jmeter.gui.action.ActionNames +
Copy, then paste afterwards +
Duplicate - Class in org.apache.jmeter.gui.action
Implements the Duplicate menu command
Duplicate() - +Constructor for class org.apache.jmeter.gui.action.Duplicate +
  +
DUPLICATE - +Static variable in class org.apache.jmeter.gui.action.KeyStrokes +
  +
DURATION - +Static variable in class org.apache.jmeter.threads.ThreadGroup +
Scheduler duration, overrides end time +
DURATION_KEY - +Static variable in class org.apache.jmeter.assertions.DurationAssertion +
Key for storing assertion-informations in the jmx-file. +
DurationAssertion - Class in org.apache.jmeter.assertions
Checks if an Sample is sampled within a specified time-frame.
DurationAssertion() - +Constructor for class org.apache.jmeter.assertions.DurationAssertion +
  +
DurationAssertionGui - Class in org.apache.jmeter.assertions.gui
GUI for DurationAssertion
DurationAssertionGui() - +Constructor for class org.apache.jmeter.assertions.gui.DurationAssertionGui +
  +
DynamicClassLoader - Class in org.apache.jmeter
This is a basic URL classloader for loading new resources + dynamically.
DynamicClassLoader(URL[]) - +Constructor for class org.apache.jmeter.DynamicClassLoader +
  +
DynamicClassLoader(URL[], ClassLoader) - +Constructor for class org.apache.jmeter.DynamicClassLoader +
  +
DynamicClassLoader(URL[], ClassLoader, URLStreamHandlerFactory) - +Constructor for class org.apache.jmeter.DynamicClassLoader +
  +
+
+

+E

+
+
EDIT - +Static variable in class org.apache.jmeter.gui.action.ActionNames +
  +
EDIT_BUTTON - +Static variable in class org.apache.jmeter.gui.util.ButtonPanel +
  +
EditCommand - Class in org.apache.jmeter.gui.action
Implements the Edit menu item.
EditCommand() - +Constructor for class org.apache.jmeter.gui.action.EditCommand +
  +
editorComponent - +Variable in class org.apache.jmeter.gui.util.TextAreaTableCellEditor +
The Swing component being edited. +
EMBEDDED_URL_RE - +Static variable in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
EML_MESSAGE_TO_SEND - +Static variable in class org.apache.jmeter.protocol.smtp.sampler.SmtpSampler +
  +
EMPTY_BA - +Static variable in class org.apache.jmeter.samplers.SampleResult +
empty array which can be returned instead of null +
emptyTemporary() - +Method in class org.apache.jmeter.testelement.AbstractTestElement +
Clears temporaryProperties +
ENABLE - +Static variable in class org.apache.jmeter.gui.action.ActionNames +
  +
ENABLE_DEBUG - +Static variable in class org.apache.jmeter.protocol.smtp.sampler.SmtpSampler +
  +
enableAverage(boolean) - +Method in class org.apache.jmeter.visualizers.Graph +
  +
EnableComponent - Class in org.apache.jmeter.gui.action
Implements the Enable menu item.
EnableComponent() - +Constructor for class org.apache.jmeter.gui.action.EnableComponent +
  +
ENABLED - +Static variable in interface org.apache.jmeter.testelement.TestElement +
  +
enableData(boolean) - +Method in class org.apache.jmeter.visualizers.Graph +
  +
enableDeviation(boolean) - +Method in class org.apache.jmeter.visualizers.Graph +
  +
enableFile(boolean) - +Method in class org.apache.jmeter.gui.util.FileListPanel +
If the gui needs to enable/disable the FilePanel, call the method. +
enableFile(boolean) - +Method in class org.apache.jmeter.gui.util.FilePanelEntry +
If the gui needs to enable/disable the FilePanel, call the method. +
enableMedian(boolean) - +Method in class org.apache.jmeter.visualizers.Graph +
  +
enableThroughput(boolean) - +Method in class org.apache.jmeter.visualizers.Graph +
  +
encode(String) - +Static method in class org.apache.jmeter.functions.util.ArgumentEncoder +
  +
encode() - +Method in class org.apache.jmeter.protocol.http.modifier.URLRewritingModifier +
  +
encode(String) - +Static method in class org.apache.jmeter.protocol.http.util.Base64Encoder +
  +
encode(byte[]) - +Static method in class org.apache.jmeter.protocol.http.util.Base64Encoder +
  +
encode(String) - +Static method in class org.apache.jmeter.save.converters.ConversionHelp +
Encode a string (if necessary) for output to a JTL file. +
encodeAtom(byte[], int, int) - +Static method in class org.apache.jmeter.protocol.http.util.Base64Encoder +
  +
encodeBackSlashes(String) - +Static method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
EncoderCache - Class in org.apache.jmeter.protocol.http.util
 
EncoderCache(int) - +Constructor for class org.apache.jmeter.protocol.http.util.EncoderCache +
  +
encodeSpaces(String) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
ENCODING - +Static variable in class org.apache.jmeter.protocol.http.sampler.PostWriter +
  +
ENCODING - +Static variable in class org.apache.jmeter.protocol.jdbc.AbstractJDBCTestElement +
  +
ENCODING_GZIP - +Static variable in interface org.apache.jmeter.protocol.http.util.HTTPConstantsInterface +
  +
END_TIME - +Static variable in class org.apache.jmeter.threads.ThreadGroup +
Scheduler absolute end time +
endDocument() - +Method in class org.apache.jmeter.monitor.parser.MonitorHandler +
+
endDocument() - +Method in class org.apache.jmeter.protocol.http.modifier.UserParameterXMLContentHandler +
  +
endElement(String, String, String) - +Method in class org.apache.jmeter.monitor.parser.MonitorHandler +
Receive notification of the end of an element. +
endElement(String, String, String) - +Method in class org.apache.jmeter.protocol.http.modifier.UserParameterXMLContentHandler +
  +
endPrefixMapping(String) - +Method in class org.apache.jmeter.protocol.http.modifier.UserParameterXMLContentHandler +
  +
endProperty(JMeterProperty) - +Method in interface org.apache.jmeter.testelement.TestElementTraverser +
Notification that a property is ending. +
endRow(String) - +Static method in class org.apache.jmeter.functions.FileWrapper +
  +
endTest() - +Static method in class org.apache.jmeter.threads.JMeterContextService +
Called by MainFrame#testEnded(). +
endTestElement(TestElement) - +Method in interface org.apache.jmeter.testelement.TestElementTraverser +
Notification that the test element is now done. +
ENFORCE_STARTTLS - +Static variable in class org.apache.jmeter.protocol.smtp.sampler.gui.SecuritySettingsPanel +
  +
ENTER - +Static variable in class org.apache.jmeter.gui.action.KeyStrokes +
  +
Entry - Class in org.apache.jmeter.samplers
 
Entry() - +Constructor for class org.apache.jmeter.samplers.Entry +
  +
entrySet() - +Method in class org.apache.jmeter.threads.JMeterVariables +
  +
entrySet() - +Method in class org.apache.jorphan.collections.HashTree +
Exists to satisfy the Map interface. +
ENVIRONMENT - +Static variable in class org.apache.jmeter.protocol.system.SystemSampler +
  +
EOL_BYTE - +Static variable in class org.apache.jmeter.protocol.tcp.sampler.TCPSampler +
  +
eolByte - +Variable in class org.apache.jmeter.protocol.tcp.sampler.AbstractTCPClient +
  +
EQUAL - +Static variable in class org.apache.jmeter.assertions.SizeAssertion +
  +
equals(Object) - +Method in class org.apache.jmeter.protocol.http.parser.URLString +
+
equals(Object) - +Method in class org.apache.jmeter.samplers.SampleSaveConfiguration +
  +
equals(Object) - +Method in class org.apache.jmeter.testelement.AbstractTestElement +
+
equals(Object) - +Method in class org.apache.jmeter.testelement.property.AbstractProperty +
Determines if the two objects are equal by comparing names and values +
equals(Object) - +Method in class org.apache.jmeter.testelement.property.CollectionProperty +
  +
equals(Object) - +Method in class org.apache.jmeter.testelement.property.FunctionProperty +
  +
equals(Object) - +Method in class org.apache.jmeter.testelement.property.MapProperty +
Determines if the two objects are equal by comparing names and values +
equals(Object) - +Method in class org.apache.jmeter.testelement.property.TestElementProperty +
Determines if two test elements are equal. +
equals(Object) - +Method in class org.apache.jmeter.visualizers.Sample +
  +
equals(Object) - +Method in class org.apache.jmeter.visualizers.TableSample +
  +
equals(Object) - +Method in class org.apache.jorphan.collections.HashTree +
Compares all objects in the tree and verifies that the two trees contain + the same objects at the same tree levels. +
equals(Object) - +Method in class org.apache.jorphan.collections.ListedHashTree +
Compares all objects in the tree and verifies that the two trees contain + the same objects at the same tree levels. +
equals(Object) - +Method in class org.apache.jorphan.io.TextFile +
+
error(SAXParseException) - +Method in class org.apache.jmeter.protocol.http.modifier.UserParameterXMLErrorHandler +
  +
error(Exception, JComponent) - +Static method in class org.apache.jmeter.timers.gui.AbstractRandomTimerGui +
Handle an error. +
error(Exception, JComponent) - +Static method in class org.apache.jmeter.timers.gui.ConstantTimerGui +
Handle an error. +
ERROR_THRESHOLD_KEY - +Static variable in class org.apache.jmeter.assertions.HTMLAssertion +
  +
ERRORCOUNT - +Static variable in class org.apache.jmeter.monitor.parser.Constants +
  +
errorOrFatal - +Variable in class org.apache.jmeter.gui.MainFrame.ErrorsAndFatalsCounterLogTarget +
  +
errorResult(Throwable, HTTPSampleResult) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPAbstractImpl +
Populates the provided HTTPSampleResult with details from the Exception. +
errorResult(Throwable, HTTPSampleResult) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
Populates the provided HTTPSampleResult with details from the Exception. +
ERRORS_ONLY - +Static variable in class org.apache.jmeter.reporters.ResultSaver +
  +
ERRORS_ONLY_KEY - +Static variable in class org.apache.jmeter.assertions.HTMLAssertion +
  +
ESC - +Static variable in class org.apache.jmeter.gui.action.KeyStrokes +
  +
EscapeDialog - Class in org.apache.jmeter.gui.util
 
EscapeDialog() - +Constructor for class org.apache.jmeter.gui.util.EscapeDialog +
  +
EscapeDialog(Frame, String, boolean) - +Constructor for class org.apache.jmeter.gui.util.EscapeDialog +
  +
EscapeHtml - Class in org.apache.jmeter.functions
Function which escapes the characters in a String using HTML entities.
EscapeHtml() - +Constructor for class org.apache.jmeter.functions.EscapeHtml +
  +
escapeIllegalURLCharacters(String) - +Static method in class org.apache.jmeter.protocol.http.util.ConversionUtils +
  +
EscapeOroRegexpChars - Class in org.apache.jmeter.functions
Escape ORO meta characters
EscapeOroRegexpChars() - +Constructor for class org.apache.jmeter.functions.EscapeOroRegexpChars +
No-arg constructor. +
ETAG - +Static variable in interface org.apache.jmeter.protocol.http.util.HTTPConstantsInterface +
  +
eval(String) - +Method in class org.apache.jmeter.util.BeanShellInterpreter +
  +
eval(String, int, int, Object) - +Method in class org.apache.jmeter.util.BSFJavaScriptEngine +
This is used by an application to evaluate a string containing + some expression. +
evalFileOrScript(BSFManager) - +Method in class org.apache.jmeter.util.BSFTestElement +
  +
EvalFunction - Class in org.apache.jmeter.functions
Function to evaluate a string which may contain variable or function references.
EvalFunction() - +Constructor for class org.apache.jmeter.functions.EvalFunction +
  +
evalNoLog(String) - +Method in class org.apache.jmeter.util.BeanShellInterpreter +
  +
EvalResultHandler - Class in org.apache.jmeter.protocol.mongodb.mongo
 
EvalResultHandler() - +Constructor for class org.apache.jmeter.protocol.mongodb.mongo.EvalResultHandler +
  +
evaluate(DB, String) - +Method in class org.apache.jmeter.protocol.mongodb.sampler.MongoScriptRunner +
Evaluate a script on the database +
EvalVarFunction - Class in org.apache.jmeter.functions
Function to evaluate a string which may contain variable or function references.
EvalVarFunction() - +Constructor for class org.apache.jmeter.functions.EvalVarFunction +
  +
Example1 - Class in org.apache.jmeter.examples.testbeans.example1
This TestBean is just an example about how to write testbeans.
Example1() - +Constructor for class org.apache.jmeter.examples.testbeans.example1.Example1 +
  +
Example2 - Class in org.apache.jmeter.examples.testbeans.example2
This TestBean is just an example about how to write testbeans.
Example2() - +Constructor for class org.apache.jmeter.examples.testbeans.example2.Example2 +
  +
Example2BeanInfo - Class in org.apache.jmeter.examples.testbeans.example2
 
Example2BeanInfo() - +Constructor for class org.apache.jmeter.examples.testbeans.example2.Example2BeanInfo +
  +
Example3 - Class in org.apache.jmeter.examples.testbeans.example3
This TestBean is just an example of the use of different TestBean types.
Example3() - +Constructor for class org.apache.jmeter.examples.testbeans.example3.Example3 +
  +
Example3BeanInfo - Class in org.apache.jmeter.examples.testbeans.example3
 
Example3BeanInfo() - +Constructor for class org.apache.jmeter.examples.testbeans.example3.Example3BeanInfo +
  +
ExampleSampler - Class in org.apache.jmeter.examples.sampler
Example Sampler (non-Bean version) + + JMeter creates an instance of a sampler class for every occurrence of the + element in every thread.
ExampleSampler() - +Constructor for class org.apache.jmeter.examples.sampler.ExampleSampler +
  +
ExampleSamplerGui - Class in org.apache.jmeter.examples.sampler.gui
Example Sampler (non-Bean version) + + This class is responsible for ensuring that the Sampler data is kept in step + with the GUI.
ExampleSamplerGui() - +Constructor for class org.apache.jmeter.examples.sampler.gui.ExampleSamplerGui +
  +
EXCFILE - +Variable in class org.apache.jmeter.protocol.http.util.accesslog.LogFilter +
  +
excFile(String) - +Method in class org.apache.jmeter.protocol.http.util.accesslog.LogFilter +
Method implements the logic for filtering file name exclusion. +
excludeFiles(String[]) - +Method in interface org.apache.jmeter.protocol.http.util.accesslog.Filter +
Exclude all files in the array +
excludeFiles(String[]) - +Method in class org.apache.jmeter.protocol.http.util.accesslog.LogFilter +
Give the filter a list of files to exclude +
excludeFiles(String[]) - +Method in class org.apache.jmeter.protocol.http.util.accesslog.SessionFilter +
Exclude all files in the array +
excludePattern(String[]) - +Method in interface org.apache.jmeter.protocol.http.util.accesslog.Filter +
Exclude any log entry that contains the following regular expression + pattern. +
excludePattern(String[]) - +Method in class org.apache.jmeter.protocol.http.util.accesslog.LogFilter +
Give the filter a set of regular expressions to filter with for + exclusion. +
excludePattern(String[]) - +Method in class org.apache.jmeter.protocol.http.util.accesslog.SessionFilter +
Exclude any log entry that contains the following regular expression + pattern. +
excPattern(String) - +Method in class org.apache.jmeter.protocol.http.util.accesslog.LogFilter +
The method assumes by default the text is not excluded. +
EXCPATTERNS - +Variable in class org.apache.jmeter.protocol.http.util.accesslog.LogFilter +
  +
EXCPTRN - +Variable in class org.apache.jmeter.protocol.http.util.accesslog.LogFilter +
  +
execute() - +Method in class org.apache.jmeter.engine.util.CompoundVariable +
  +
execute(SampleResult, Sampler) - +Method in class org.apache.jmeter.engine.util.CompoundVariable +
Given the previous SampleResult and the current Sampler, return a string + to use as a replacement value for the function call. +
execute(SampleResult, Sampler) - +Method in class org.apache.jmeter.functions.AbstractFunction +
+ N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files). +
execute() - +Method in class org.apache.jmeter.functions.AbstractFunction +
  +
execute(SampleResult, Sampler) - +Method in class org.apache.jmeter.functions.BeanShell +
+ N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files). +
execute(SampleResult, Sampler) - +Method in class org.apache.jmeter.functions.CharFunction +
+ N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files). +
execute(SampleResult, Sampler) - +Method in class org.apache.jmeter.functions.CSVRead +
+ N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files). +
execute(SampleResult, Sampler) - +Method in class org.apache.jmeter.functions.EscapeHtml +
+ N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files). +
execute(SampleResult, Sampler) - +Method in class org.apache.jmeter.functions.EscapeOroRegexpChars +
+ N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files). +
execute(SampleResult, Sampler) - +Method in class org.apache.jmeter.functions.EvalFunction +
+ N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files). +
execute(SampleResult, Sampler) - +Method in class org.apache.jmeter.functions.EvalVarFunction +
+ N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files). +
execute(SampleResult, Sampler) - +Method in class org.apache.jmeter.functions.FileToString +
+ N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files). +
execute(SampleResult, Sampler) - +Method in interface org.apache.jmeter.functions.Function +
Given the previous SampleResult and the current Sampler, return a string + to use as a replacement value for the function call. +
execute(SampleResult, Sampler) - +Method in class org.apache.jmeter.functions.IntSum +
+ N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files). +
execute(SampleResult, Sampler) - +Method in class org.apache.jmeter.functions.IterationCounter +
+ N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files). +
execute(SampleResult, Sampler) - +Method in class org.apache.jmeter.functions.JavaScript +
+ N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files). +
execute(SampleResult, Sampler) - +Method in class org.apache.jmeter.functions.Jexl2Function +
+ N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files). +
execute(SampleResult, Sampler) - +Method in class org.apache.jmeter.functions.JexlFunction +
+ N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files). +
execute(SampleResult, Sampler) - +Method in class org.apache.jmeter.functions.LogFunction +
+ N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files). +
execute(SampleResult, Sampler) - +Method in class org.apache.jmeter.functions.LogFunction2 +
+ N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files). +
execute(SampleResult, Sampler) - +Method in class org.apache.jmeter.functions.LongSum +
+ N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files). +
execute(SampleResult, Sampler) - +Method in class org.apache.jmeter.functions.Property +
+ N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files). +
execute(SampleResult, Sampler) - +Method in class org.apache.jmeter.functions.Property2 +
+ N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files). +
execute(SampleResult, Sampler) - +Method in class org.apache.jmeter.functions.Random +
+ N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files). +
execute(SampleResult, Sampler) - +Method in class org.apache.jmeter.functions.RandomString +
+ N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files). +
execute(SampleResult, Sampler) - +Method in class org.apache.jmeter.functions.RegexFunction +
+ N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files). +
execute(SampleResult, Sampler) - +Method in class org.apache.jmeter.functions.SamplerName +
+ N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files). +
execute(SampleResult, Sampler) - +Method in class org.apache.jmeter.functions.SetProperty +
+ N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files). +
execute(SampleResult, Sampler) - +Method in class org.apache.jmeter.functions.SplitFunction +
+ N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files). +
execute(SampleResult, Sampler) - +Method in class org.apache.jmeter.functions.StringFromFile +
+ N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files). +
execute(SampleResult, Sampler) - +Method in class org.apache.jmeter.functions.TestPlanName +
+ N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files). +
execute(SampleResult, Sampler) - +Method in class org.apache.jmeter.functions.ThreadNumber +
+ N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files). +
execute(SampleResult, Sampler) - +Method in class org.apache.jmeter.functions.TimeFunction +
+ N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files). +
execute(SampleResult, Sampler) - +Method in class org.apache.jmeter.functions.UnEscape +
+ N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files). +
execute(SampleResult, Sampler) - +Method in class org.apache.jmeter.functions.UnEscapeHtml +
+ N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files). +
execute(SampleResult, Sampler) - +Method in class org.apache.jmeter.functions.UrlDecode +
+ N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files). +
execute(SampleResult, Sampler) - +Method in class org.apache.jmeter.functions.UrlEncode +
+ N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files). +
execute(SampleResult, Sampler) - +Method in class org.apache.jmeter.functions.Uuid +
  +
execute(SampleResult, Sampler) - +Method in class org.apache.jmeter.functions.Variable +
+ N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files). +
execute(SampleResult, Sampler) - +Method in class org.apache.jmeter.functions.XPath +
+ N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files). +
execute(Connection) - +Method in class org.apache.jmeter.protocol.jdbc.AbstractJDBCTestElement +
Execute the test element. +
execute(Message) - +Method in class org.apache.jmeter.protocol.smtp.sampler.protocol.SendMailCommand +
Sends message to mailserver, waiting for delivery if using synchronous + mode. +
execute() - +Method in class org.apache.jmeter.protocol.smtp.sampler.protocol.SendMailCommand +
Processes prepareMessage() and execute() +
exists() - +Method in class org.apache.jmeter.protocol.mail.sampler.MailFileFolder +
  +
exit() - +Method in class org.apache.jmeter.engine.ClientJMeterEngine +
+
exit(List<String>) - +Method in class org.apache.jmeter.engine.DistributedRunner +
  +
exit() - +Method in interface org.apache.jmeter.engine.JMeterEngine +
  +
exit() - +Method in class org.apache.jmeter.engine.StandardJMeterEngine +
  +
EXIT - +Static variable in class org.apache.jmeter.gui.action.ActionNames +
  +
EXIT - +Static variable in class org.apache.jmeter.gui.action.KeyStrokes +
  +
ExitCommand - Class in org.apache.jmeter.gui.action
 
ExitCommand() - +Constructor for class org.apache.jmeter.gui.action.ExitCommand +
Constructor for the ExitCommand object +
EXPAND_ALL - +Static variable in class org.apache.jmeter.gui.action.ActionNames +
  +
EXPAND_ALL - +Static variable in class org.apache.jmeter.gui.action.KeyStrokes +
  +
expandToSelectNode(JMeterTreeNode) - +Method in class org.apache.jmeter.control.gui.ModuleControllerGui +
  +
EXPECTED_RETURN_CODE - +Static variable in class org.apache.jmeter.protocol.system.SystemSampler +
  +
expectsModification() - +Method in interface org.apache.jmeter.config.ConfigElement +
If your config element expects to be modified in the process of a test + run, and you want those modifications to carry over from sample to sample + (as in a cookie manager - you want to save all cookies that get set + throughout the test), then return true for this method. +
expectsModification() - +Method in class org.apache.jmeter.config.ConfigTestElement +
If your config element expects to be modified in the process of a test + run, and you want those modifications to carry over from sample to sample + (as in a cookie manager - you want to save all cookies that get set + throughout the test), then return true for this method. +
expectsModification() - +Method in class org.apache.jmeter.protocol.http.control.AuthManager +
If your config element expects to be modified in the process of a test + run, and you want those modifications to carry over from sample to sample + (as in a cookie manager - you want to save all cookies that get set + throughout the test), then return true for this method. +
expectsModification() - +Method in class org.apache.jmeter.protocol.http.control.Authorization +
  +
expectsModification() - +Method in class org.apache.jmeter.protocol.http.control.Header +
  +
expectsModification() - +Method in class org.apache.jmeter.protocol.jdbc.config.DataSourceElement +
  +
expectsModification() - +Method in class org.apache.jmeter.protocol.mongodb.config.MongoSourceElement +
  +
EXPIRES - +Static variable in interface org.apache.jmeter.protocol.http.util.HTTPConstantsInterface +
  +
exportDone(JComponent, Transferable, int) - +Method in class org.apache.jmeter.gui.tree.JMeterTreeTransferHandler +
  +
expunge() - +Method in class org.apache.jmeter.protocol.mail.sampler.MailFileFolder +
  +
extract(String, String, int, String, List<String>, int, String) - +Method in interface org.apache.jmeter.extractor.Extractor +
  +
extract(String, String, int, String, List<String>, int, String) - +Method in class org.apache.jmeter.extractor.JoddExtractor +
  +
extract(String, String, int, String, List<String>, int, String) - +Method in class org.apache.jmeter.extractor.JSoupExtractor +
  +
extractIEVersion(String) - +Method in class org.apache.jmeter.protocol.http.parser.HTMLParser +
  +
Extractor - Interface in org.apache.jmeter.extractor
CSS/JQuery based extractor for HTML pages
EXTRACTOR_JODD - +Static variable in class org.apache.jmeter.extractor.HtmlExtractor +
  +
EXTRACTOR_JSOUP - +Static variable in class org.apache.jmeter.extractor.HtmlExtractor +
  +
extractStyleURLs(URL, URLCollection, String) - +Static method in class org.apache.jmeter.protocol.http.parser.HtmlParsingUtils +
  +
+
+

+F

+
+
fatalError(SAXParseException) - +Method in class org.apache.jmeter.protocol.http.modifier.UserParameterXMLErrorHandler +
  +
fetchScope() - +Method in class org.apache.jmeter.testelement.AbstractScopedTestElement +
Get the scope setting +
FILE - +Variable in class org.apache.jmeter.protocol.http.util.accesslog.StandardGenerator +
  +
FILE_NAME_IS_REQUIRED - +Static variable in class org.apache.jmeter.assertions.XMLSchemaAssertion +
  +
FileDialoger - Class in org.apache.jmeter.gui.util
Class implementing a file open dialogue
FileEditor - Class in org.apache.jmeter.testbeans.gui
A property editor for File properties.
FileEditor() - +Constructor for class org.apache.jmeter.testbeans.gui.FileEditor +
Deprecated. Only for use by test cases +
FileEditor(PropertyDescriptor) - +Constructor for class org.apache.jmeter.testbeans.gui.FileEditor +
Construct a FileEditor using the properties of the given + PropertyDescriptor +
FILEFILTER - +Variable in class org.apache.jmeter.protocol.http.util.accesslog.LogFilter +
  +
FileListPanel - Class in org.apache.jmeter.gui.util
 
FileListPanel() - +Constructor for class org.apache.jmeter.gui.util.FileListPanel +
Constructor for the FilePanel object. +
FileListPanel(String) - +Constructor for class org.apache.jmeter.gui.util.FileListPanel +
  +
FileListPanel(String, String) - +Constructor for class org.apache.jmeter.gui.util.FileListPanel +
  +
FileListPanel(ChangeListener, String) - +Constructor for class org.apache.jmeter.gui.util.FileListPanel +
Constructor for the FilePanel object. +
FILENAME - +Static variable in class org.apache.jmeter.assertions.BeanShellAssertion +
  +
FILENAME - +Variable in class org.apache.jmeter.protocol.http.util.accesslog.StandardGenerator +
  +
FILENAME - +Variable in class org.apache.jmeter.protocol.http.util.accesslog.TCLogParser +
  +
FILENAME - +Static variable in class org.apache.jmeter.protocol.java.sampler.BeanShellSampler +
  +
FILENAME - +Static variable in class org.apache.jmeter.protocol.tcp.sampler.TCPSampler +
  +
FILENAME - +Static variable in class org.apache.jmeter.reporters.ResultCollector +
  +
FILENAME - +Static variable in class org.apache.jmeter.reporters.ResultSaver +
  +
FILENAME_KEY - +Static variable in class org.apache.jmeter.assertions.HTMLAssertion +
  +
FILENAME_SEPARATOR - +Static variable in class org.apache.jmeter.protocol.smtp.sampler.SmtpSampler +
  +
FilePanel - Class in org.apache.jmeter.gui.util
 
FilePanel() - +Constructor for class org.apache.jmeter.gui.util.FilePanel +
  +
FilePanel(String) - +Constructor for class org.apache.jmeter.gui.util.FilePanel +
  +
FilePanel(String, String) - +Constructor for class org.apache.jmeter.gui.util.FilePanel +
  +
FilePanel(ChangeListener, String) - +Constructor for class org.apache.jmeter.gui.util.FilePanel +
  +
FilePanel(String, String[]) - +Constructor for class org.apache.jmeter.gui.util.FilePanel +
  +
FilePanelEntry - Class in org.apache.jmeter.gui.util
 
FilePanelEntry() - +Constructor for class org.apache.jmeter.gui.util.FilePanelEntry +
  +
FilePanelEntry(String) - +Constructor for class org.apache.jmeter.gui.util.FilePanelEntry +
  +
FilePanelEntry(String, String...) - +Constructor for class org.apache.jmeter.gui.util.FilePanelEntry +
  +
FilePanelEntry(String, ChangeListener, String...) - +Constructor for class org.apache.jmeter.gui.util.FilePanelEntry +
  +
FileReporter - Class in org.apache.jmeter.reporters
This class loads data from a saved file and displays statistics about it.
FileReporter() - +Constructor for class org.apache.jmeter.reporters.FileReporter +
  +
FileRowColContainer - Class in org.apache.jmeter.functions
File data container for CSV (and similar delimited) files Data is accessible + via row and column number
FileRowColContainer(String, String) - +Constructor for class org.apache.jmeter.functions.FileRowColContainer +
  +
FileRowColContainer(String) - +Constructor for class org.apache.jmeter.functions.FileRowColContainer +
  +
FileServer - Class in org.apache.jmeter.services
The point of this class is to provide thread-safe access to files, and to + provide some simplifying assumptions about where to find files and how to + name them.
FileToString - Class in org.apache.jmeter.functions
FileToString Function to read a complete file into a String.
FileToString() - +Constructor for class org.apache.jmeter.functions.FileToString +
  +
FileWrapper - Class in org.apache.jmeter.functions
This class wraps the FileRowColContainer for use across multiple threads.
FILL_UP_WITH_ZEROS - +Variable in class org.apache.jmeter.visualizers.SplineVisualizer +
  +
Filter - Interface in org.apache.jmeter.protocol.http.util.accesslog
Description:
+
+ Filter interface is designed to make it easier to use Access Logs for JMeter + test plans.
filter(String) - +Method in interface org.apache.jmeter.protocol.http.util.accesslog.Filter +
In case the user wants to replace the file extension, log parsers should + call this method. +
filter(String) - +Method in class org.apache.jmeter.protocol.http.util.accesslog.LogFilter +
The current implementation checks the boolean if the text should be used + or not. isFilter( string) has to be called first. +
filter(String) - +Method in class org.apache.jmeter.protocol.http.util.accesslog.SessionFilter +
In case the user wants to replace the file extension, log parsers should + call this method. +
FILTER - +Variable in class org.apache.jmeter.protocol.http.util.accesslog.TCLogParser +
Handles to supporting classes +
filterFile(String) - +Method in class org.apache.jmeter.protocol.http.util.accesslog.LogFilter +
Filter the file. +
filterPattern(String) - +Method in class org.apache.jmeter.protocol.http.util.accesslog.LogFilter +
The current implementation assumes the user has checked the regular + expressions so that they don't cancel each other. +
finalize() - +Method in class org.apache.jorphan.gui.MenuScroller +
Ensures that the dispose method of this MenuScroller is + called when there are no more refrences to it. +
findAnnotatedClasses(String[], Class<? extends Annotation>[], boolean) - +Static method in class org.apache.jorphan.reflect.ClassFinder +
Find classes in the provided path(s)/jar(s) that extend the class(es). +
findAnnotatedClasses(String[], Class<? extends Annotation>[]) - +Static method in class org.apache.jorphan.reflect.ClassFinder +
Find classes in the provided path(s)/jar(s) that extend the class(es). +
findClassesThatExtend(Class<?>) - +Static method in class org.apache.jmeter.util.JMeterUtils +
Convenience method for + ClassFinder.findClassesThatExtend(String[], Class[], boolean) + with the option to include inner classes in the search set to false + and the path list is derived from JMeterUtils.getSearchPaths(). +
findClassesThatExtend(String[], Class<?>[]) - +Static method in class org.apache.jorphan.reflect.ClassFinder +
Convenience method for + ClassFinder.findClassesThatExtend(String[], Class[], boolean) with the + option to include inner classes in the search set to false. +
findClassesThatExtend(String[], Class<?>[], boolean) - +Static method in class org.apache.jorphan.reflect.ClassFinder +
Find classes in the provided path(s)/jar(s) that extend the class(es). +
findClassesThatExtend(String[], Class<?>[], boolean, String, String) - +Static method in class org.apache.jorphan.reflect.ClassFinder +
Find classes in the provided path(s)/jar(s) that extend the class(es). +
findClassesThatExtend(String[], Class<?>[], boolean, String, String, boolean) - +Static method in class org.apache.jorphan.reflect.ClassFinder +
Find classes in the provided path(s)/jar(s) that extend the class(es). +
findFile(String) - +Static method in class org.apache.jmeter.util.JMeterUtils +
Find a file in the current directory or in the JMeter bin directory. +
findInArray(String[], String) - +Static method in class org.apache.jmeter.util.JMeterUtils +
Finds a string in an array of strings and returns the +
findTargetControllerNode() - +Method in class org.apache.jmeter.protocol.http.proxy.ProxyControl +
Finds the controller where samplers have to be stored, that is: + + The controller specified by the target property. +
FindTestElementsUpToRootTraverser - Class in org.apache.jmeter.threads
HashTreeTraverser implementation that stores in a Stack all + the Test Elements on the path to a particular node.
FindTestElementsUpToRootTraverser(Object) - +Constructor for class org.apache.jmeter.threads.FindTestElementsUpToRootTraverser +
  +
findValue(String, Object) - +Method in class org.apache.jorphan.collections.Data +
Returns the row number where a certain value is. +
finish() - +Method in class org.apache.jmeter.protocol.smtp.sampler.protocol.SynchronousTransportListener +
Synchronized-method +
finishedThreads - +Variable in class org.apache.jmeter.threads.JMeterContextService.ThreadCounts +
  +
fireIterationStart() - +Method in class org.apache.jmeter.control.GenericController +
  +
fireIterEvents() - +Method in class org.apache.jmeter.control.GenericController +
  +
firePropertyChange() - +Method in class org.apache.jmeter.testbeans.gui.PasswordEditor +
Avoid needlessly firing PropertyChanged events. +
fireTreeNodesChanged(TreeNode, Object[], int[], Object[]) - +Method in class org.apache.jorphan.gui.AbstractTreeTableModel +
  +
FixedQueueExecutor - Class in org.apache.jmeter.protocol.jms.sampler
Request/reply executor with a fixed reply queue.
FixedQueueExecutor(MessageProducer, int, boolean) - +Constructor for class org.apache.jmeter.protocol.jms.sampler.FixedQueueExecutor +
Constructor. +
fixSize(TableColumn, JTable) - +Static method in class org.apache.jorphan.gui.GuiUtils +
Fix the size of a column according to the header text. +
FloatProperty - Class in org.apache.jmeter.testelement.property
 
FloatProperty(String, float) - +Constructor for class org.apache.jmeter.testelement.property.FloatProperty +
  +
FloatProperty() - +Constructor for class org.apache.jmeter.testelement.property.FloatProperty +
  +
flush() - +Method in class org.apache.jmeter.protocol.smtp.sampler.tools.CounterOutputStream +
+
flushFile() - +Method in class org.apache.jmeter.reporters.ResultCollector +
Flush PrintWriter to synchronize file contents +
focusGained(FocusEvent) - +Method in class org.apache.jmeter.assertions.gui.HTMLAssertionGui +
Method gets called when one of the threshold fields gains focus +
focusGained(FocusEvent) - +Method in class org.apache.jmeter.gui.util.TextAreaTableCellEditor.EditorDelegate +
  +
focusGained(FocusEvent) - +Method in class org.apache.jmeter.protocol.http.modifier.gui.ParamModifierGui +
  +
focusGained(FocusEvent) - +Method in class org.apache.jmeter.protocol.mail.sampler.gui.MailReaderSamplerGui +
  +
focusGained(FocusEvent) - +Method in class org.apache.jmeter.testbeans.gui.PasswordEditor +
+
focusGained(FocusEvent) - +Method in class org.apache.jmeter.testbeans.gui.TableEditor +
  +
focusGained(FocusEvent) - +Method in class org.apache.jmeter.testbeans.gui.TextAreaEditor +
+
focusGained(FocusEvent) - +Method in class org.apache.jorphan.gui.JLabeledTextArea +
Catch what the value was when focus was gained. +
focusGained(FocusEvent) - +Method in class org.apache.jorphan.gui.JLabeledTextField +
Catch what the value was when focus was gained. +
focusLost(FocusEvent) - +Method in class org.apache.jmeter.assertions.gui.HTMLAssertionGui +
This method is called if one of the threshold field looses the focus +
focusLost(FocusEvent) - +Method in class org.apache.jmeter.gui.util.NumberFieldErrorListener +
  +
focusLost(FocusEvent) - +Method in class org.apache.jmeter.gui.util.TextAreaTableCellEditor.EditorDelegate +
  +
focusLost(FocusEvent) - +Method in class org.apache.jmeter.protocol.http.modifier.gui.ParamModifierGui +
  +
focusLost(FocusEvent) - +Method in class org.apache.jmeter.protocol.mail.sampler.gui.MailReaderSamplerGui +
  +
focusLost(FocusEvent) - +Method in class org.apache.jmeter.testbeans.gui.PasswordEditor +
+
focusLost(FocusEvent) - +Method in class org.apache.jmeter.testbeans.gui.TableEditor +
  +
focusLost(FocusEvent) - +Method in class org.apache.jmeter.testbeans.gui.TextAreaEditor +
+
focusLost(FocusEvent) - +Method in class org.apache.jorphan.gui.JLabeledTextArea +
Callback method when the focus to the Text Field component is lost. +
focusLost(FocusEvent) - +Method in class org.apache.jorphan.gui.JLabeledTextField +
Callback method when the focus to the Text Field component is lost. +
FocusRequester - Class in org.apache.jmeter.gui.util
 
FocusRequester() - +Constructor for class org.apache.jmeter.gui.util.FocusRequester +
  +
FOLLOW_REDIRECTS - +Static variable in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
followRedirects(HTTPSampleResult, int) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
Iteratively download the redirect targets of a redirect response. +
fontSize - +Static variable in class org.apache.jmeter.visualizers.StatGraphProperties +
  +
ForeachController - Class in org.apache.jmeter.control
ForeachController that iterates over a list of variables named XXXX_NN stored in JMeterVariables + where NN is a number starting from 1 to number of occurences.
ForeachController() - +Constructor for class org.apache.jmeter.control.ForeachController +
  +
ForeachControlPanel - Class in org.apache.jmeter.control.gui
The user interface for a foreach controller which specifies that its + subcomponents should be executed some number of times in a loop.
ForeachControlPanel() - +Constructor for class org.apache.jmeter.control.gui.ForeachControlPanel +
Create a new LoopControlPanel as a standalone component. +
ForeachControlPanel(boolean) - +Constructor for class org.apache.jmeter.control.gui.ForeachControlPanel +
Create a new LoopControlPanel as either a standalone or an embedded + component. +
foreColor - +Variable in class org.apache.jmeter.visualizers.AxisGraph +
  +
formAccepted() - +Static method in class org.apache.jmeter.protocol.http.proxy.HttpReplyHdr +
Indicates the document was accepted. +
FORMAT_KEY - +Static variable in class org.apache.jmeter.assertions.HTMLAssertion +
  +
formatCalendar(Calendar, String) - +Static method in class org.apache.jorphan.util.Converter +
Format a calendar using a given pattern +
formatDate(Date, String) - +Static method in class org.apache.jorphan.util.Converter +
Format a date using a given pattern +
formatDate(Date, String) - +Static method in class org.apache.jorphan.util.Converter +
Format a date using a given pattern +
formatDate(String, String) - +Static method in class org.apache.jorphan.util.Converter +
Format a date using a given pattern +
formatDate(Calendar, String) - +Static method in class org.apache.jorphan.util.Converter +
Format a date using a given pattern +
formatter() - +Method in class org.apache.jmeter.samplers.SampleSaveConfiguration +
  +
formatter - +Variable in class org.apache.jorphan.gui.NumberRenderer +
  +
formatXml(String) - +Static method in class org.apache.jmeter.util.XPathUtil +
Formats XML +
FormCharSetFinder - Class in org.apache.jmeter.protocol.http.proxy
A parser for html, to find the form tags, and their accept-charset value
FormCharSetFinder() - +Constructor for class org.apache.jmeter.protocol.http.proxy.FormCharSetFinder +
  +
formCreated() - +Static method in class org.apache.jmeter.protocol.http.proxy.HttpReplyHdr +
Indicates a new file was created. +
formDataPostBody - +Variable in class org.apache.jmeter.protocol.http.sampler.PostWriter +
The form data that is going to be sent in post body +
formDataUrlEncoded - +Variable in class org.apache.jmeter.protocol.http.sampler.PostWriter +
The form data that is going to be sent as url encoded +
formForbidden() - +Static method in class org.apache.jmeter.protocol.http.proxy.HttpReplyHdr +
Client if forbidden to get the request service. +
formFound() - +Static method in class org.apache.jmeter.protocol.http.proxy.HttpReplyHdr +
Never seen this used. +
formInternalError() - +Static method in class org.apache.jmeter.protocol.http.proxy.HttpReplyHdr +
The server had a problem and could not fulfill the request. +
formMethod() - +Static method in class org.apache.jmeter.protocol.http.proxy.HttpReplyHdr +
The requested method is not implemented by the server. +
formMoved() - +Static method in class org.apache.jmeter.protocol.http.proxy.HttpReplyHdr +
Indicates a requested URL has moved to a new address or name. +
formNotAllowed() - +Static method in class org.apache.jmeter.protocol.http.proxy.HttpReplyHdr +
Indicates the client is not allowed to access the object. +
formNotFound() - +Static method in class org.apache.jmeter.protocol.http.proxy.HttpReplyHdr +
The requested object was not found. +
formNotImplemented() - +Static method in class org.apache.jmeter.protocol.http.proxy.HttpReplyHdr +
Server does not do the requested feature. +
formNotImplemented(String) - +Static method in class org.apache.jmeter.protocol.http.proxy.HttpReplyHdr +
Server does not do the requested feature. +
formNotModified() - +Static method in class org.apache.jmeter.protocol.http.proxy.HttpReplyHdr +
Indicates remote copy of the requested object is current. +
formOk(String, long) - +Static method in class org.apache.jmeter.protocol.http.proxy.HttpReplyHdr +
Forms a http ok reply header +
formOverloaded() - +Static method in class org.apache.jmeter.protocol.http.proxy.HttpReplyHdr +
Server is overloaded, client should try again latter. +
formPartial() - +Static method in class org.apache.jmeter.protocol.http.proxy.HttpReplyHdr +
Indicates only a partial responce was sent. +
formPaymentNeeded() - +Static method in class org.apache.jmeter.protocol.http.proxy.HttpReplyHdr +
Payment is required for service. +
formServerNotFound() - +Static method in class org.apache.jmeter.protocol.http.proxy.HttpReplyHdr +
Indicates the client's proxies could not locate a server. +
formTimeout() - +Static method in class org.apache.jmeter.protocol.http.proxy.HttpReplyHdr +
Indicates the request took to long. +
formUnauthorized() - +Static method in class org.apache.jmeter.protocol.http.proxy.HttpReplyHdr +
Client not authorized for the request. +
FRAGMENTS - +Static variable in class org.apache.jmeter.gui.util.MenuFactory +
  +
FtpConfigGui - Class in org.apache.jmeter.protocol.ftp.config.gui
 
FtpConfigGui() - +Constructor for class org.apache.jmeter.protocol.ftp.config.gui.FtpConfigGui +
  +
FtpConfigGui(boolean) - +Constructor for class org.apache.jmeter.protocol.ftp.config.gui.FtpConfigGui +
  +
FTPSampler - Class in org.apache.jmeter.protocol.ftp.sampler
A sampler which understands FTP file requests.
FTPSampler() - +Constructor for class org.apache.jmeter.protocol.ftp.sampler.FTPSampler +
  +
FtpTestSamplerGui - Class in org.apache.jmeter.protocol.ftp.control.gui
 
FtpTestSamplerGui() - +Constructor for class org.apache.jmeter.protocol.ftp.control.gui.FtpTestSamplerGui +
  +
Function - Interface in org.apache.jmeter.functions
Methods that a function must implement
FunctionHelper - Class in org.apache.jmeter.functions.gui
 
FunctionHelper() - +Constructor for class org.apache.jmeter.functions.gui.FunctionHelper +
  +
FunctionProperty - Class in org.apache.jmeter.testelement.property
Class that implements the Function property
FunctionProperty(String, CompoundVariable) - +Constructor for class org.apache.jmeter.testelement.property.FunctionProperty +
  +
FunctionProperty() - +Constructor for class org.apache.jmeter.testelement.property.FunctionProperty +
  +
FUNCTIONS - +Static variable in class org.apache.jmeter.gui.action.ActionNames +
  +
FUNCTIONS - +Static variable in class org.apache.jmeter.gui.action.KeyStrokes +
  +
Functor - Class in org.apache.jorphan.reflect
Implements function call-backs.
Functor(Object, String) - +Constructor for class org.apache.jorphan.reflect.Functor +
Create a functor with the invokee and a method name. +
Functor(Class<?>, String) - +Constructor for class org.apache.jorphan.reflect.Functor +
Create a functor from class and method name. +
Functor(Object, String, Class<?>[]) - +Constructor for class org.apache.jorphan.reflect.Functor +
Create a functor with the invokee, method name, and argument class types. +
Functor(Class<?>, String, Class<?>[]) - +Constructor for class org.apache.jorphan.reflect.Functor +
Create a functor with the class, method name, and argument class types. +
Functor(String) - +Constructor for class org.apache.jorphan.reflect.Functor +
Create a functor with just the method name. +
Functor(String, Class<?>[]) - +Constructor for class org.apache.jorphan.reflect.Functor +
Create a functor with the method name and argument class types. +
Functor(Object, String, Object[]) - +Constructor for class org.apache.jorphan.reflect.Functor +
Create a functor with an invokee, method name, and argument values. +
Functor(String, Object[]) - +Constructor for class org.apache.jorphan.reflect.Functor +
Create a functor from method name and arguments. +
+
+

+G

+
+
GaussianRandomTimer - Class in org.apache.jmeter.timers
This class implements those methods needed by RandomTimer to be instantiable + and implements a random delay with an average value and a gaussian + distributed variation.
GaussianRandomTimer() - +Constructor for class org.apache.jmeter.timers.GaussianRandomTimer +
  +
GaussianRandomTimerGui - Class in org.apache.jmeter.timers.gui
Implementation of a gaussian random timer.
GaussianRandomTimerGui() - +Constructor for class org.apache.jmeter.timers.gui.GaussianRandomTimerGui +
No-arg constructor. +
generateHostCert(File, String, String, int) - +Static method in class org.apache.jorphan.exec.KeyToolUtils +
Create a host certificate signed with the CA certificate. +
generateProxyCA(File, String, int) - +Static method in class org.apache.jorphan.exec.KeyToolUtils +
Creates a self-signed Root CA certificate and an intermediate CA certificate + (signed by the Root CA certificate) that can be used to sign server certificates. +
generateRequest() - +Method in interface org.apache.jmeter.protocol.http.util.accesslog.Generator +
The method is responsible for calling the necessary methods to generate a + valid request. +
generateRequest() - +Method in class org.apache.jmeter.protocol.http.util.accesslog.StandardGenerator +
The method is responsible for calling the necessary methods to generate a + valid request. +
Generator - Interface in org.apache.jmeter.protocol.http.util.accesslog
Description:
+
+ Generator is a base interface that defines the minimum methods needed to + implement a concrete generator.
GenericController - Class in org.apache.jmeter.control
+ This class is the basis for all the controllers.
GenericController() - +Constructor for class org.apache.jmeter.control.GenericController +
Creates a Generic Controller +
GenericTestBeanCustomizer - Class in org.apache.jmeter.testbeans.gui
The GenericTestBeanCustomizer is designed to provide developers with a + mechanism to quickly implement GUIs for new components.
GenericTestBeanCustomizer() - +Constructor for class org.apache.jmeter.testbeans.gui.GenericTestBeanCustomizer +
Deprecated. only for use by test code +
genkeypair(File, String, String, int, String, String) - +Static method in class org.apache.jorphan.exec.KeyToolUtils +
Generate a self-signed keypair using the algorithm "RSA". +
get(int) - +Method in class org.apache.jmeter.protocol.http.control.AuthManager +
Return the record at index i +
get(int) - +Method in class org.apache.jmeter.protocol.http.control.CookieManager +
Return the cookie at index i. +
get(int) - +Method in class org.apache.jmeter.protocol.http.control.HeaderManager +
Return the header at index i. +
GET - +Static variable in class org.apache.jmeter.protocol.http.util.accesslog.TCLogParser +
  +
GET - +Static variable in interface org.apache.jmeter.protocol.http.util.HTTPConstantsInterface +
  +
get(Object) - +Static method in class org.apache.jmeter.protocol.jms.client.ClientPool +
  +
get(String) - +Method in class org.apache.jmeter.protocol.jms.sampler.MessageAdmin +
Get the reply message. +
get(int) - +Method in class org.apache.jmeter.testelement.property.CollectionProperty +
  +
get(String) - +Method in class org.apache.jmeter.testelement.property.MapProperty +
  +
get(String) - +Method in class org.apache.jmeter.threads.JMeterVariables +
Gets the value of a variable, coerced to a String. +
get(String) - +Method in class org.apache.jmeter.util.BeanShellInterpreter +
  +
get(Object) - +Method in class org.apache.jorphan.collections.HashTree +
Returns the HashTree object associated with the given key. +
getAcceptedIssuers() - +Method in class org.apache.jmeter.util.CustomX509TrustManager +
  +
getAction(String) - +Method in class org.apache.jmeter.gui.action.ActionRouter +
Get the set of Commands registered under the name + actionName +
getAction(String, Class<?>) - +Method in class org.apache.jmeter.gui.action.ActionRouter +
Get the Command registered under the name actionName, + that is of Class actionClass +
getAction(String, String) - +Method in class org.apache.jmeter.gui.action.ActionRouter +
Get the Command registered under the name actionName + , which class names are equal to className +
getAction() - +Method in class org.apache.jmeter.sampler.TestAction +
  +
getActionName() - +Method in class org.apache.jmeter.gui.util.IconToolbarBean +
  +
getActionNameResolve() - +Method in class org.apache.jmeter.gui.util.IconToolbarBean +
Resolve action name ID declared in icon set file to ActionNames value +
getActionNames() - +Method in class org.apache.jmeter.gui.action.AboutCommand +
Provide the list of Action names that are available in this command. +
getActionNames() - +Method in class org.apache.jmeter.gui.action.AbstractAction +
  +
getActionNames() - +Method in class org.apache.jmeter.gui.action.AddParent +
  +
getActionNames() - +Method in class org.apache.jmeter.gui.action.AddToTree +
Gets the Set of actions this Command class responds to. +
getActionNames() - +Method in class org.apache.jmeter.gui.action.Analyze +
  +
getActionNames() - +Method in class org.apache.jmeter.gui.action.ChangeLanguage +
  +
getActionNames() - +Method in class org.apache.jmeter.gui.action.ChangeParent +
  +
getActionNames() - +Method in class org.apache.jmeter.gui.action.CheckDirty +
  +
getActionNames() - +Method in class org.apache.jmeter.gui.action.Clear +
  +
getActionNames() - +Method in class org.apache.jmeter.gui.action.Close +
Gets the ActionNames attribute of the Close object. +
getActionNames() - +Method in class org.apache.jmeter.gui.action.CollapseExpand +
Gets the ActionNames attribute of the Close object. +
getActionNames() - +Method in interface org.apache.jmeter.gui.action.Command +
  +
getActionNames() - +Method in class org.apache.jmeter.gui.action.Copy +
  +
getActionNames() - +Method in class org.apache.jmeter.gui.action.CreateFunctionDialog +
Provide the list of Action names that are available in this command. +
getActionNames() - +Method in class org.apache.jmeter.gui.action.Cut +
  +
getActionNames() - +Method in class org.apache.jmeter.gui.action.Duplicate +
  +
getActionNames() - +Method in class org.apache.jmeter.gui.action.EditCommand +
  +
getActionNames() - +Method in class org.apache.jmeter.gui.action.EnableComponent +
  +
getActionNames() - +Method in class org.apache.jmeter.gui.action.ExitCommand +
Gets the ActionNames attribute of the ExitCommand object +
getActionNames() - +Method in class org.apache.jmeter.gui.action.Help +
  +
getActionNames() - +Method in class org.apache.jmeter.gui.action.Load +
  +
getActionNames() - +Method in class org.apache.jmeter.gui.action.LoadRecentProject +
  +
getActionNames() - +Method in class org.apache.jmeter.gui.action.LoggerPanelEnableDisable +
Gets the ActionNames attribute of the action +
getActionNames() - +Method in class org.apache.jmeter.gui.action.LookAndFeelCommand +
  +
getActionNames() - +Method in class org.apache.jmeter.gui.action.Move +
  +
getActionNames() - +Method in class org.apache.jmeter.gui.action.Paste +
  +
getActionNames() - +Method in class org.apache.jmeter.gui.action.RemoteStart +
  +
getActionNames() - +Method in class org.apache.jmeter.gui.action.Remove +
Gets the ActionNames attribute of the Remove object. +
getActionNames() - +Method in class org.apache.jmeter.gui.action.ResetSearchCommand +
  +
getActionNames() - +Method in class org.apache.jmeter.gui.action.RevertProject +
  +
getActionNames() - +Method in class org.apache.jmeter.gui.action.Save +
Gets the ActionNames attribute of the Save object. +
getActionNames() - +Method in class org.apache.jmeter.gui.action.SaveGraphics +
Gets the ActionNames attribute of the Save object. +
getActionNames() - +Method in class org.apache.jmeter.gui.action.SearchTreeCommand +
  +
getActionNames() - +Method in class org.apache.jmeter.gui.action.SSLManagerCommand +
Provide the list of Action names that are available in this command. +
getActionNames() - +Method in class org.apache.jmeter.gui.action.Start +
Gets the ActionNames attribute of the Start object. +
getActionNames() - +Method in class org.apache.jmeter.gui.action.StopStoppables +
  +
getActionNames() - +Method in class org.apache.jmeter.gui.action.TemplatesCommand +
  +
getActionNames() - +Method in class org.apache.jmeter.gui.action.ToolBar +
Gets the ActionNames attribute of the action +
getActionNames() - +Method in class org.apache.jmeter.gui.action.UndoCommand +
  +
getActionNames() - +Method in class org.apache.jmeter.gui.action.What +
Provide the list of Action names that are available in this command. +
getAddButton() - +Method in class org.apache.jmeter.config.gui.ArgumentsPanel +
Get the button used to add rows to the table. +
getAdditionalBeanInfo() - +Method in class org.apache.jmeter.testbeans.BeanInfoSupport +
+
getAdditionalBeanInfo() - +Method in class org.apache.jmeter.testbeans.TestBeanBeanInfo +
  +
getAdditionalBeanInfo() - +Method in class org.apache.jmeter.testelement.AbstractTestElementBeanInfo +
  +
getAddressList() - +Method in class org.apache.jmeter.reporters.MailerModel +
Gets a List of String-objects. +
getAdmin() - +Static method in class org.apache.jmeter.protocol.jms.sampler.MessageAdmin +
Get the singleton MessageAdmin object +
getAlias(Properties) - +Static method in class org.apache.jmeter.util.JMeterUtils +
Creates the vector of alias strings. +
getAlias() - +Method in class org.apache.jmeter.util.keystore.JmeterKeyStore +
Get the next or only alias. +
getAlias(int) - +Method in class org.apache.jmeter.util.keystore.JmeterKeyStore +
  +
getAliasCount() - +Method in class org.apache.jmeter.util.keystore.JmeterKeyStore +
  +
getAllLAFs() - +Static method in class org.apache.jmeter.gui.util.JMeterMenuBar +
Get a list of all installed LAFs plus CrossPlatform and System. +
getAllMaxTime() - +Method in class org.apache.jmeter.visualizers.backend.SamplerMetric +
Get the maximal elapsed time for requests within sliding window +
getAllMean() - +Method in class org.apache.jmeter.visualizers.backend.SamplerMetric +
Get the arithmetic mean of the stored values +
getAllMinTime() - +Method in class org.apache.jmeter.visualizers.backend.SamplerMetric +
Get the minimal elapsed time for requests within sliding window +
getAllowedMD5Hex() - +Method in class org.apache.jmeter.assertions.MD5HexAssertion +
  +
getAllowedSize() - +Method in class org.apache.jmeter.assertions.SizeAssertion +
Returns the size in bytes to be asserted. +
getAllPercentile(double) - +Method in class org.apache.jmeter.visualizers.backend.SamplerMetric +
Returns an estimate for the requested percentile of the stored values. +
getAllSamples(String) - +Method in class org.apache.jmeter.visualizers.MonitorAccumModel +
Get all MonitorModels matching the URL. +
getAllTableData(ObjectTableModel, Format[]) - +Static method in class org.apache.jmeter.visualizers.StatGraphVisualizer +
We use this method to get the data, since we are using + ObjectTableModel, so the calling getDataVector doesn't + work as expected. +
getAllThreads() - +Method in class org.apache.jmeter.samplers.SampleResult +
  +
getAppendError() - +Method in class org.apache.jmeter.protocol.java.sampler.JUnitSampler +
If append error is not set, by default it is set to false, + which means users have to explicitly set the sampler to + append the assert errors. +
getAppendException() - +Method in class org.apache.jmeter.protocol.java.sampler.JUnitSampler +
If append exception is not set, by default it is set to false. +
getArgument(int) - +Method in class org.apache.jmeter.config.Arguments +
Get a single argument. +
getArgument(int) - +Method in class org.apache.jmeter.protocol.ldap.config.gui.LDAPArguments +
Get a single argument. +
getArgumentCount() - +Method in class org.apache.jmeter.config.Arguments +
Get the number of arguments in the list. +
getArgumentCount() - +Method in class org.apache.jmeter.protocol.ldap.config.gui.LDAPArguments +
Get the number of arguments in the list. +
getArgumentDesc() - +Method in class org.apache.jmeter.engine.util.CompoundVariable +
Return a list of strings briefly describing each parameter your function + takes. +
getArgumentDesc() - +Method in class org.apache.jmeter.functions.BeanShell +
Return a list of strings briefly describing each parameter your function + takes. +
getArgumentDesc() - +Method in class org.apache.jmeter.functions.CharFunction +
Return a list of strings briefly describing each parameter your function + takes. +
getArgumentDesc() - +Method in class org.apache.jmeter.functions.CSVRead +
Return a list of strings briefly describing each parameter your function + takes. +
getArgumentDesc() - +Method in class org.apache.jmeter.functions.EscapeHtml +
Return a list of strings briefly describing each parameter your function + takes. +
getArgumentDesc() - +Method in class org.apache.jmeter.functions.EscapeOroRegexpChars +
Return a list of strings briefly describing each parameter your function + takes. +
getArgumentDesc() - +Method in class org.apache.jmeter.functions.EvalFunction +
Return a list of strings briefly describing each parameter your function + takes. +
getArgumentDesc() - +Method in class org.apache.jmeter.functions.EvalVarFunction +
Return a list of strings briefly describing each parameter your function + takes. +
getArgumentDesc() - +Method in class org.apache.jmeter.functions.FileToString +
Return a list of strings briefly describing each parameter your function + takes. +
getArgumentDesc() - +Method in interface org.apache.jmeter.functions.Function +
Return a list of strings briefly describing each parameter your function + takes. +
getArgumentDesc() - +Method in class org.apache.jmeter.functions.IntSum +
Return a list of strings briefly describing each parameter your function + takes. +
getArgumentDesc() - +Method in class org.apache.jmeter.functions.IterationCounter +
Return a list of strings briefly describing each parameter your function + takes. +
getArgumentDesc() - +Method in class org.apache.jmeter.functions.JavaScript +
Return a list of strings briefly describing each parameter your function + takes. +
getArgumentDesc() - +Method in class org.apache.jmeter.functions.Jexl2Function +
Return a list of strings briefly describing each parameter your function + takes. +
getArgumentDesc() - +Method in class org.apache.jmeter.functions.JexlFunction +
Return a list of strings briefly describing each parameter your function + takes. +
getArgumentDesc() - +Method in class org.apache.jmeter.functions.LogFunction +
Return a list of strings briefly describing each parameter your function + takes. +
getArgumentDesc() - +Method in class org.apache.jmeter.functions.LogFunction2 +
Return a list of strings briefly describing each parameter your function + takes. +
getArgumentDesc() - +Method in class org.apache.jmeter.functions.LongSum +
Return a list of strings briefly describing each parameter your function + takes. +
getArgumentDesc() - +Method in class org.apache.jmeter.functions.Property +
Return a list of strings briefly describing each parameter your function + takes. +
getArgumentDesc() - +Method in class org.apache.jmeter.functions.Property2 +
Return a list of strings briefly describing each parameter your function + takes. +
getArgumentDesc() - +Method in class org.apache.jmeter.functions.Random +
Return a list of strings briefly describing each parameter your function + takes. +
getArgumentDesc() - +Method in class org.apache.jmeter.functions.RandomString +
Return a list of strings briefly describing each parameter your function + takes. +
getArgumentDesc() - +Method in class org.apache.jmeter.functions.RegexFunction +
Return a list of strings briefly describing each parameter your function + takes. +
getArgumentDesc() - +Method in class org.apache.jmeter.functions.SamplerName +
Return a list of strings briefly describing each parameter your function + takes. +
getArgumentDesc() - +Method in class org.apache.jmeter.functions.SetProperty +
Return a list of strings briefly describing each parameter your function + takes. +
getArgumentDesc() - +Method in class org.apache.jmeter.functions.SplitFunction +
Return a list of strings briefly describing each parameter your function + takes. +
getArgumentDesc() - +Method in class org.apache.jmeter.functions.StringFromFile +
Return a list of strings briefly describing each parameter your function + takes. +
getArgumentDesc() - +Method in class org.apache.jmeter.functions.TestPlanName +
Return a list of strings briefly describing each parameter your function + takes. +
getArgumentDesc() - +Method in class org.apache.jmeter.functions.ThreadNumber +
Return a list of strings briefly describing each parameter your function + takes. +
getArgumentDesc() - +Method in class org.apache.jmeter.functions.TimeFunction +
Return a list of strings briefly describing each parameter your function + takes. +
getArgumentDesc() - +Method in class org.apache.jmeter.functions.UnEscape +
Return a list of strings briefly describing each parameter your function + takes. +
getArgumentDesc() - +Method in class org.apache.jmeter.functions.UnEscapeHtml +
Return a list of strings briefly describing each parameter your function + takes. +
getArgumentDesc() - +Method in class org.apache.jmeter.functions.UrlDecode +
Return a list of strings briefly describing each parameter your function + takes. +
getArgumentDesc() - +Method in class org.apache.jmeter.functions.UrlEncode +
Return a list of strings briefly describing each parameter your function + takes. +
getArgumentDesc() - +Method in class org.apache.jmeter.functions.Uuid +
  +
getArgumentDesc() - +Method in class org.apache.jmeter.functions.Variable +
Return a list of strings briefly describing each parameter your function + takes. +
getArgumentDesc() - +Method in class org.apache.jmeter.functions.XPath +
Return a list of strings briefly describing each parameter your function + takes. +
getArgumentName() - +Method in class org.apache.jmeter.protocol.http.modifier.URLRewritingModifier +
  +
getArguments() - +Method in class org.apache.jmeter.config.Arguments +
Get the arguments. +
getArguments() - +Method in class org.apache.jmeter.protocol.http.config.MultipartUrlConfig +
  +
getArguments() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPAbstractImpl +
Invokes HTTPSamplerBase.getArguments() +
getArguments() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
getArguments() - +Method in class org.apache.jmeter.protocol.java.config.JavaConfig +
Gets the arguments for this JavaConfig object. +
getArguments() - +Method in class org.apache.jmeter.protocol.java.sampler.JavaSampler +
Get the arguments (parameters) for the JavaSamplerClient to be executed + with. +
getArguments(String) - +Method in class org.apache.jmeter.protocol.jms.sampler.JMSSampler +
  +
getArguments() - +Method in class org.apache.jmeter.protocol.ldap.config.gui.LDAPArguments +
Get the arguments. +
getArguments() - +Method in class org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler +
Gets the Arguments attribute of the LdapConfig object +
getArguments() - +Method in class org.apache.jmeter.protocol.ldap.sampler.LDAPSampler +
Gets the Arguments attribute of the LdapConfig object. +
getArguments() - +Method in class org.apache.jmeter.protocol.system.SystemSampler +
Get the arguments (parameters) for the JavaSamplerClient to be executed + with. +
getArguments() - +Method in class org.apache.jmeter.testelement.TestPlan +
  +
getArguments() - +Method in class org.apache.jmeter.visualizers.backend.BackendListener +
Get the arguments (parameters) for the BackendListenerClient to be executed + with. +
getArgumentsAsMap() - +Method in class org.apache.jmeter.config.Arguments +
Get the arguments as a Map. +
getArgumentsAsMap() - +Method in class org.apache.jmeter.protocol.ldap.config.gui.LDAPArguments +
Get the arguments as a Map. +
getArray() - +Method in class org.apache.jorphan.collections.HashTree +
Gets an array of all keys in the current HashTree node. +
getArray(Object) - +Method in class org.apache.jorphan.collections.HashTree +
Gets an array of all keys in the HashTree mapped to the given key of the + current HashTree object (in other words, one level down). +
getArray(Object[]) - +Method in class org.apache.jorphan.collections.HashTree +
Recurses down into the HashTree stucture using each subsequent key in the + array of keys, and returns an array of keys of the HashTree object at the + end of the recursion. +
getArray(Collection<?>) - +Method in class org.apache.jorphan.collections.HashTree +
Recurses down into the HashTree structure using each subsequent key in the + treePath argument, and returns an array of keys of the HashTree object at + the end of the recursion. +
getArray() - +Method in class org.apache.jorphan.collections.ListedHashTree +
Gets an array of all keys in the current HashTree node. +
getAssertionResults() - +Method in class org.apache.jmeter.samplers.SampleResult +
Gets the assertion results associated with this sample. +
getAssertions() - +Method in class org.apache.jmeter.protocol.http.proxy.ProxyControl +
  +
getAssertions() - +Method in class org.apache.jmeter.samplers.Entry +
  +
getAssertions() - +Method in class org.apache.jmeter.threads.SamplePackage +
  +
getAssumeSuccess() - +Method in class org.apache.jmeter.assertions.ResponseAssertion +
  +
getAsText() - +Method in class org.apache.jmeter.testbeans.gui.BooleanPropertyEditor +
  +
getAsText() - +Method in class org.apache.jmeter.testbeans.gui.FileEditor +
  +
getAsText() - +Method in class org.apache.jmeter.testbeans.gui.PasswordEditor +
  +
getAsText() - +Method in class org.apache.jmeter.testbeans.gui.TableEditor +
  +
getAsText() - +Method in class org.apache.jmeter.testbeans.gui.TextAreaEditor +
+
getAttachments() - +Method in class org.apache.jmeter.protocol.smtp.sampler.gui.SmtpPanel +
Returns path of file(s) to be attached in e-mail from textfield +
getAttachments() - +Method in class org.apache.jmeter.protocol.smtp.sampler.protocol.SendMailCommand +
Returns all attachment for current message - standard getter +
getAttribute() - +Method in class org.apache.jmeter.extractor.HtmlExtractor +
  +
getAttributesTitle() - +Method in class org.apache.jmeter.visualizers.MailerVisualizer +
Returns a String for the title of the attributes-panel as set up in the + properties-file using the lookup-constant "mailer_attributes_panel". +
getAttrs() - +Method in class org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler +
Gets the attributes of the LDAPSampler object +
getAuthCount() - +Method in class org.apache.jmeter.protocol.http.control.AuthManager +
Return the number of records. +
getAuthForURL(URL) - +Method in class org.apache.jmeter.protocol.http.control.AuthManager +
  +
getAuthHeaderForURL(URL) - +Method in class org.apache.jmeter.protocol.http.control.AuthManager +
  +
getAuthManager() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPAbstractImpl +
Invokes HTTPSamplerBase.getAuthManager() +
getAuthManager() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
getAuthObjectAt(int) - +Method in class org.apache.jmeter.protocol.http.control.AuthManager +
  +
getAuthObjects() - +Method in class org.apache.jmeter.protocol.http.control.AuthManager +
  +
getAutoConnectRetry() - +Method in class org.apache.jmeter.protocol.mongodb.config.MongoSourceElement +
  +
getAutoRedirects() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPAbstractImpl +
Invokes HTTPSamplerBase.getAutoRedirects() +
getAutoRedirects() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
getAverage() - +Method in class org.apache.jmeter.visualizers.RunningSample +
Returns the average time in milliseconds that samples ran in. +
getAverage() - +Method in class org.apache.jmeter.visualizers.Sample +
  +
getAverage() - +Method in class org.apache.jmeter.visualizers.SplineModel +
  +
getAvgPageBytes() - +Method in class org.apache.jmeter.util.Calculator +
calculates the average page size, which means divide the bytes by number + of samples. +
getAvgPageBytes() - +Method in class org.apache.jmeter.visualizers.SamplingStatCalculator +
calculates the average page size, which means divide the bytes by number + of samples. +
getAxisLabels() - +Method in class org.apache.jmeter.visualizers.StatGraphVisualizer +
  +
getBackColor() - +Method in class org.apache.jmeter.visualizers.BarGraph +
  +
getBaseDir() - +Method in class org.apache.jmeter.services.FileServer +
  +
getBasedir() - +Method in class org.apache.jmeter.testelement.TestPlan +
  +
getBaseDirRelative() - +Method in class org.apache.jmeter.services.FileServer +
Calculates the relative path from FileServer.DEFAULT_BASE to the current base, + which must be the same as or a child of the default. +
getBaseEntryDN() - +Method in class org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler +
Gets the BaseEntryDN attribute of the LDAPSampler object +
getBaseEntryDN() - +Method in class org.apache.jmeter.protocol.ldap.sampler.LDAPSampler +
Gets the BaseEntryDN attribute of the LDAPSampler object. +
getBaseResult() - +Method in class org.apache.jmeter.assertions.CompareAssertionResult +
  +
getBeanDescriptor() - +Method in class org.apache.jmeter.testbeans.BeanInfoSupport +
+
getBeanDescriptor() - +Method in class org.apache.jmeter.testbeans.TestBeanBeanInfo +
+
getBeanDescriptor() - +Method in class org.apache.jmeter.testelement.AbstractTestElementBeanInfo +
+
getBeanShellInterpreter() - +Method in class org.apache.jmeter.util.BeanShellTestElement +
Get the interpreter and set up standard script variables. +
getBinaryDirectory() - +Method in class org.apache.jmeter.protocol.http.proxy.AbstractSamplerCreator +
  +
getBinaryFileSuffix() - +Method in class org.apache.jmeter.protocol.http.proxy.AbstractSamplerCreator +
  +
getBinding() - +Method in class org.apache.jmeter.protocol.http.util.WSDLHelper +
Returns the binding point for the webservice. +
getBindingHost() - +Method in class org.apache.jmeter.protocol.http.util.WSDLHelper +
Return the host in the WSDL binding address +
getBindingPath() - +Method in class org.apache.jmeter.protocol.http.util.WSDLHelper +
Return the path in the WSDL for the binding address +
getBindingPort() - +Method in class org.apache.jmeter.protocol.http.util.WSDLHelper +
Return the port for the binding address +
getBlankProperty() - +Method in class org.apache.jmeter.testelement.property.AbstractProperty +
  +
getBlankProperty(Object) - +Static method in class org.apache.jmeter.testelement.property.AbstractProperty +
  +
getBody() - +Method in class org.apache.jmeter.protocol.smtp.sampler.gui.SmtpPanel +
Returns message body, i.e. main-mime-part of message (from textfield) +
getBodySize() - +Method in class org.apache.jmeter.samplers.SampleResult +
  +
getBoolean(Object) - +Static method in class org.apache.jorphan.util.Converter +
Convert object to boolean, or false if conversion + failed +
getBoolean(Object, boolean) - +Static method in class org.apache.jorphan.util.Converter +
Convert object to boolean, or defaultValue if conversion + failed +
getBooleanParameter(String, boolean) - +Method in class org.apache.jmeter.visualizers.backend.BackendListenerContext +
  +
getBooleanValue() - +Method in class org.apache.jmeter.testelement.property.AbstractProperty +
Returns false if string is invalid or null. +
getBooleanValue() - +Method in class org.apache.jmeter.testelement.property.BooleanProperty +
Returns false if string is invalid or null. +
getBooleanValue() - +Method in class org.apache.jmeter.testelement.property.DoubleProperty +
Returns false if string is invalid or null. +
getBooleanValue() - +Method in class org.apache.jmeter.testelement.property.FloatProperty +
Returns false if string is invalid or null. +
getBooleanValue() - +Method in class org.apache.jmeter.testelement.property.IntegerProperty +
  +
getBooleanValue() - +Method in interface org.apache.jmeter.testelement.property.JMeterProperty +
  +
getBooleanValue() - +Method in class org.apache.jmeter.testelement.property.LongProperty +
  +
getBooleanValue() - +Method in class org.apache.jmeter.testelement.property.NullProperty +
  +
getBottomFixedCount() - +Method in class org.apache.jorphan.gui.MenuScroller +
Returns the number of items fixed at the bottom of the menu or popup + menu. +
getBoundary() - +Method in class org.apache.jmeter.protocol.http.config.MultipartUrlConfig +
  +
getBoundary() - +Method in class org.apache.jmeter.protocol.http.sampler.PostWriter +
Get the boundary string, used to separate multiparts +
getBufferSize() - +Method in class org.apache.jmeter.visualizers.MonitorAccumModel +
  +
getByteArraySlice(byte[], int, int) - +Static method in class org.apache.jorphan.util.JOrphanUtils +
Returns a slice of a byte array. +
getBytes() - +Method in class org.apache.jmeter.samplers.SampleResult +
return the bytes returned by the response. +
getBytes() - +Method in class org.apache.jmeter.visualizers.Sample +
  +
getBytes() - +Method in class org.apache.jmeter.visualizers.TableSample +
  +
getBytesPerSecond() - +Method in class org.apache.jmeter.util.Calculator +
Throughput in bytes / second +
getBytesPerSecond() - +Method in class org.apache.jmeter.visualizers.SamplingStatCalculator +
Throughput in bytes / second +
getBytesReceived() - +Method in interface org.apache.jmeter.monitor.model.RequestInfo +
  +
getBytesReceived() - +Method in class org.apache.jmeter.monitor.model.RequestInfoImpl +
  +
getBytesSent() - +Method in interface org.apache.jmeter.monitor.model.RequestInfo +
  +
getBytesSent() - +Method in class org.apache.jmeter.monitor.model.RequestInfoImpl +
  +
getCAaliases() - +Static method in class org.apache.jorphan.exec.KeyToolUtils +
Returns a list of the CA aliases that should be in the keystore. +
getCacheKey() - +Method in class org.apache.jmeter.util.JSR223TestElement +
  +
getCacheManager() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPAbstractImpl +
Invokes HTTPSamplerBase.getCacheManager() +
getCacheManager() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
getCalcMode() - +Method in class org.apache.jmeter.timers.ConstantThroughputTimer +
  +
getCalendar(Object, Calendar) - +Static method in class org.apache.jorphan.util.Converter +
Converts the given object to a calendar object. +
getCalendar(Object) - +Static method in class org.apache.jorphan.util.Converter +
Converts the given object to a calendar object. +
getCaptureHttpHeaders() - +Method in class org.apache.jmeter.protocol.http.proxy.ProxyControl +
  +
getCellEditorValue() - +Method in class org.apache.jmeter.gui.util.TextAreaTableCellEditor.EditorDelegate +
Returns the value of this cell. +
getCellEditorValue() - +Method in class org.apache.jmeter.gui.util.TextAreaTableCellEditor +
Forwards the message from the CellEditor to the + delegate. +
getCertificateChain(String) - +Method in class org.apache.jmeter.util.keystore.JmeterKeyStore +
Get the ordered certificate chain for a specific alias. +
getCertificateDetails() - +Method in class org.apache.jmeter.protocol.http.proxy.ProxyControl +
  +
getChannel() - +Method in class org.apache.jmeter.util.SlowSSLSocket +
  +
getChar(Object) - +Static method in class org.apache.jorphan.util.Converter +
Convert object to char, or ' ' if no conversion can + be applied +
getChar(Object, char) - +Static method in class org.apache.jorphan.util.Converter +
Convert object to char, or defaultValue if no conversion can + be applied +
getCharset() - +Method in class org.apache.jmeter.protocol.tcp.sampler.AbstractTCPClient +
  +
getCharset() - +Method in interface org.apache.jmeter.protocol.tcp.sampler.TCPClient +
Get the charset. +
getCharsetWithDefault(HttpParams) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl +
If contentEncoding is not set by user, then Platform encoding will be used to convert to String +
getCheckQuery() - +Method in class org.apache.jmeter.protocol.jdbc.config.DataSourceElement +
  +
getCheckReturnCode() - +Method in class org.apache.jmeter.protocol.system.SystemSampler +
  +
getCheckXPathButton() - +Method in class org.apache.jmeter.assertions.gui.XPathPanel +
Check XPath button +
getChild(Object, int) - +Method in class org.apache.jorphan.gui.AbstractTreeTableModel +
  +
getChildCount(Object) - +Method in class org.apache.jorphan.gui.AbstractTreeTableModel +
  +
getChkBox() - +Method in class org.apache.jmeter.visualizers.BarGraph +
  +
getClassName() - +Method in class org.apache.jmeter.gui.util.MenuInfo +
  +
getClassname() - +Method in class org.apache.jmeter.protocol.java.config.JavaConfig +
Gets the class name attribute of the JavaConfig object. +
getClassname() - +Method in class org.apache.jmeter.protocol.java.sampler.JavaSampler +
Gets the Classname attribute of the JavaConfig object +
getClassname() - +Method in class org.apache.jmeter.protocol.java.sampler.JUnitSampler +
Gets the Classname attribute of the JavaConfig object +
getClassname() - +Method in class org.apache.jmeter.protocol.tcp.sampler.TCPSampler +
  +
getClassname() - +Method in class org.apache.jmeter.visualizers.backend.BackendListener +
Gets the Classname of the BackendListenerClient object +
getClearEachIteration() - +Method in class org.apache.jmeter.protocol.http.control.AuthManager +
  +
getClearEachIteration() - +Method in class org.apache.jmeter.protocol.http.control.CacheManager +
  +
getClearEachIteration() - +Method in class org.apache.jmeter.protocol.http.control.CookieManager +
  +
getClickCountToStart() - +Method in class org.apache.jmeter.gui.util.TextAreaTableCellEditor +
Returns the number of clicks needed to start editing. +
getClientAliases(String, Principal[]) - +Method in class org.apache.jmeter.util.keystore.JmeterKeyStore +
Compiles the list of all client aliases with a private key. +
getClientCertAliasVarName() - +Method in class org.apache.jmeter.config.KeystoreConfig +
  +
getClientChoice() - +Method in class org.apache.jmeter.protocol.jms.sampler.SubscriberSampler +
Return the client choice. +
getClientId() - +Method in class org.apache.jmeter.protocol.jms.sampler.SubscriberSampler +
  +
getClonedTree() - +Method in class org.apache.jmeter.engine.TreeCloner +
  +
getColor() - +Method in class org.apache.jmeter.visualizers.AxisGraph +
  +
getColor() - +Method in class org.apache.jmeter.visualizers.RespTimeGraphChart +
  +
getColors() - +Static method in class org.apache.jmeter.visualizers.utils.Colors +
Parse icon set file. +
getColumn(int, int) - +Method in class org.apache.jmeter.functions.FileRowColContainer +
Get the string for the column from the current row +
getColumn(String, int) - +Static method in class org.apache.jmeter.functions.FileWrapper +
  +
getColumn(String) - +Method in class org.apache.jorphan.collections.Data +
This method will retrieve every entry in a certain column. +
getColumnAsObjectArray(String) - +Method in class org.apache.jorphan.collections.Data +
This method will retrieve every entry in a certain column. +
getColumnClass(int) - +Method in class org.apache.jmeter.gui.util.PowerTableModel +
  +
getColumnClass(int) - +Method in class org.apache.jmeter.protocol.http.control.AuthManager +
  +
getColumnClass(int) - +Method in class org.apache.jmeter.protocol.http.control.HeaderManager +
  +
getColumnClass(int) - +Method in class org.apache.jorphan.gui.AbstractTreeTableModel +
+
getColumnClass(int) - +Method in class org.apache.jorphan.gui.ObjectTableModel +
+
getColumnCount() - +Method in class org.apache.jmeter.gui.util.PowerTableModel +
Required by table model interface. +
getColumnCount() - +Method in class org.apache.jmeter.protocol.http.control.AuthManager +
  +
getColumnCount() - +Method in class org.apache.jmeter.protocol.http.control.HeaderManager +
  +
getColumnCount() - +Method in class org.apache.jorphan.gui.AbstractTreeTableModel +
The implementation is exactly the same as ObjectTableModel.getColumnCount. +
getColumnCount() - +Method in class org.apache.jorphan.gui.ObjectTableModel +
+
getColumnData(String) - +Method in class org.apache.jmeter.gui.util.PowerTableModel +
  +
getColumnName(int) - +Method in class org.apache.jmeter.gui.util.PowerTableModel +
Required by table model interface. +
getColumnName(int) - +Method in class org.apache.jmeter.protocol.http.control.AuthManager +
  +
getColumnName(int) - +Method in class org.apache.jmeter.protocol.http.control.HeaderManager +
  +
getColumnName(int) - +Method in class org.apache.jorphan.gui.AbstractTreeTableModel +
+
getColumnName(int) - +Method in class org.apache.jorphan.gui.ObjectTableModel +
+
getColumnValue(String) - +Method in class org.apache.jorphan.collections.Data +
Gets the value in the current row of the given column. +
getColumnValue(int) - +Method in class org.apache.jorphan.collections.Data +
Gets the value in the current row of the given column. +
getColumnValue(int, int) - +Method in class org.apache.jorphan.collections.Data +
  +
getCommand() - +Method in class org.apache.jmeter.protocol.system.SystemSampler +
Gets the Command attribute of the JavaConfig object +
getComment() - +Method in class org.apache.jmeter.gui.AbstractJMeterGuiComponent +
Provides a default implementation for the comment property. +
getComment() - +Method in class org.apache.jmeter.gui.UndoHistoryItem +
  +
getComment() - +Method in class org.apache.jmeter.testelement.AbstractTestElement +
  +
getComment() - +Method in interface org.apache.jmeter.testelement.TestElement +
  +
getCompareTime() - +Method in class org.apache.jmeter.assertions.CompareAssertion +
  +
getComponent() - +Method in class org.apache.jmeter.gui.util.TextAreaTableCellEditor +
Returns a reference to the editor component. +
getComponentList() - +Method in class org.apache.jmeter.gui.util.JLabeledRadioI18N +
Method will return all the label and JRadioButtons. +
getComponentList() - +Method in class org.apache.jorphan.gui.JLabeledChoice +
Get the label JLabel followed by the combo-box @link JComboBox. +
getComponentList() - +Method in interface org.apache.jorphan.gui.JLabeledField +
  +
getComponentList() - +Method in class org.apache.jorphan.gui.JLabeledTextArea +
Get the label JLabel followed by the text field @link JTextArea. +
getComponentList() - +Method in class org.apache.jorphan.gui.JLabeledTextField +
Get the label JLabel followed by the text field @link JTextField. +
getCompOper() - +Method in class org.apache.jmeter.assertions.SizeAssertion +
Returns the operator to be asserted. +
getConcurrentPool() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
Get the pool size for concurrent thread pool to get embedded resources. +
getCondition() - +Method in class org.apache.jmeter.control.IfController +
Condition Accessor - this is gonna be like ${count} < 10 +
getCondition() - +Method in class org.apache.jmeter.control.WhileController +
  +
getConfigChoice() - +Method in class org.apache.jmeter.protocol.jms.sampler.PublisherSampler +
return the source of the message + Converts from old JMX files which used the local language string +
getConfigElement(Class<?>) - +Method in class org.apache.jmeter.samplers.Entry +
  +
getConfigs() - +Method in class org.apache.jmeter.threads.SamplePackage +
Returns the configs. +
getConnection(String) - +Static method in class org.apache.jmeter.protocol.jdbc.config.DataSourceElement +
  +
getConnection(Context, String) - +Static method in class org.apache.jmeter.protocol.jms.Utils +
Obtain the queue connection from the context and factory name. +
getConnection() - +Method in class org.apache.jmeter.protocol.mongodb.config.MongoSourceElement +
  +
getConnectionAge() - +Method in class org.apache.jmeter.protocol.jdbc.config.DataSourceElement +
  +
getConnectionFactory() - +Method in class org.apache.jmeter.protocol.jms.sampler.BaseJMSSampler +
return the connection factory parameter used to lookup the connection + factory from the JMS server +
getConnectionHeaders(HttpMethod) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPHC3Impl +
Get all the request headers for the HttpMethod +
getConnectionHeaders(HttpMethod) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSampler2 +
  +
getConnectionsPerHost() - +Method in class org.apache.jmeter.protocol.mongodb.config.MongoSourceElement +
  +
getConnectionTimeout() - +Method in class org.apache.jmeter.protocol.smtp.sampler.gui.SmtpPanel +
Returns connection timeout for SMTP connection from textfield +
getConnectionTimeout() - +Method in class org.apache.jmeter.protocol.smtp.sampler.protocol.SendMailCommand +
Returns connection timeout for the SMTP-connection - returns the + default connection timeout if no value has been supplied. +
getConnector() - +Method in interface org.apache.jmeter.monitor.model.Status +
  +
getConnector() - +Method in class org.apache.jmeter.monitor.model.StatusImpl +
+
getConnectorPrefix() - +Method in interface org.apache.jmeter.monitor.model.Status +
  +
getConnectorPrefix() - +Method in class org.apache.jmeter.monitor.model.StatusImpl +
  +
getConnectTime() - +Method in class org.apache.jmeter.samplers.SampleResult +
  +
getConnectTime() - +Method in class org.apache.jmeter.visualizers.TableSample +
  +
getConnectTimeout() - +Method in class org.apache.jmeter.gui.ServerPanel +
  +
getConnectTimeout() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPAbstractImpl +
Invokes HTTPSamplerBase.getConnectTimeout() +
getConnectTimeout() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
getConnectTimeout() - +Method in class org.apache.jmeter.protocol.mongodb.config.MongoSourceElement +
  +
getConnectTimeout() - +Method in class org.apache.jmeter.protocol.tcp.sampler.TCPSampler +
  +
getConnTimeOut() - +Method in class org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler +
  +
getConstructorString() - +Method in class org.apache.jmeter.protocol.java.sampler.JUnitSampler +
  +
getContent() - +Method in class org.apache.jmeter.protocol.jms.sampler.JMSSampler +
  +
getContentEncoding() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPAbstractImpl +
Invokes HTTPSamplerBase.getContentEncoding() +
getContentEncoding() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
getContents() - +Method in class org.apache.jmeter.monitor.parser.MonitorHandler +
method returns the status object. +
getContentType() - +Method in class org.apache.jmeter.protocol.http.proxy.HttpRequestHdr +
  +
getContentType() - +Method in class org.apache.jmeter.samplers.SampleResult +
  +
getContentTypeExclude() - +Method in class org.apache.jmeter.protocol.http.proxy.ProxyControl +
  +
getContentTypeInclude() - +Method in class org.apache.jmeter.protocol.http.proxy.ProxyControl +
  +
getContext(boolean, String, String, boolean, String, String) - +Static method in class org.apache.jmeter.protocol.jms.client.InitialContextFactory +
Initialize the JNDI initial context +
getContext() - +Static method in class org.apache.jmeter.threads.JMeterContextService +
Gives access to the current thread context. +
getContext() - +Method in class org.apache.jmeter.util.JsseSSLManager +
Returns the SSLContext we are using. +
getContextProvider() - +Method in class org.apache.jmeter.protocol.jms.sampler.JMSSampler +
  +
getContinueOnInsertError() - +Method in class org.apache.jmeter.protocol.mongodb.config.MongoSourceElement +
  +
getControllers(Properties) - +Static method in class org.apache.jmeter.util.JMeterUtils +
Creates a vector of SampleController plugins. +
getControllersToRoot() - +Method in class org.apache.jmeter.threads.FindTestElementsUpToRootTraverser +
Returns all controllers that where in Tree down to nodeToFind in reverse order (from leaf to root) +
getControlPanel() - +Method in class org.apache.jmeter.visualizers.MailerVisualizer +
  +
getControlPanel() - +Method in class org.apache.jmeter.visualizers.SplineVisualizer +
  +
getCookieCount() - +Method in class org.apache.jmeter.protocol.http.control.CookieManager +
  +
getCookieHeaderForURL(CollectionProperty, URL, boolean) - +Method in interface org.apache.jmeter.protocol.http.control.CookieHandler +
Find cookies applicable to the given URL and build the Cookie header from + them. +
getCookieHeaderForURL(URL) - +Method in class org.apache.jmeter.protocol.http.control.CookieManager +
Find cookies applicable to the given URL and build the Cookie header from + them. +
getCookieHeaderForURL(CollectionProperty, URL, boolean) - +Method in class org.apache.jmeter.protocol.http.control.HC3CookieHandler +
Find cookies applicable to the given URL and build the Cookie header from + them. +
getCookieHeaderForURL(CollectionProperty, URL, boolean) - +Method in class org.apache.jmeter.protocol.http.control.HC4CookieHandler +
  +
getCookieManager() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPAbstractImpl +
Invokes HTTPSamplerBase.getCookieManager() +
getCookieManager() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
getCookieManager(String) - +Method in class org.apache.jmeter.protocol.http.util.accesslog.SessionFilter +
  +
getCookies() - +Method in class org.apache.jmeter.protocol.http.control.CookieManager +
  +
getCookies() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSampleResult +
  +
getCopiedNodes() - +Static method in class org.apache.jmeter.gui.action.Copy +
  +
getCopyRight() - +Static method in class org.apache.jmeter.util.JMeterVersion +
  +
getCount() - +Method in class org.apache.jmeter.protocol.smtp.sampler.tools.CounterOutputStream +
Returns message size +
getCount() - +Method in class org.apache.jmeter.util.Calculator +
  +
getCount() - +Method in class org.apache.jmeter.visualizers.Sample +
  +
getCount() - +Method in class org.apache.jmeter.visualizers.SamplingStatCalculator +
  +
getCount() - +Method in class org.apache.jorphan.math.StatCalculator +
  +
getCountlim() - +Method in class org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler +
Gets the size limit attribute of the LDAPSampler object +
getCountlimAsLong() - +Method in class org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler +
  +
getCpuload() - +Method in class org.apache.jmeter.visualizers.MonitorModel +
  +
getCpuLoad() - +Method in class org.apache.jmeter.visualizers.MonitorStats +
  +
getCreateOneInstancePerSample() - +Method in class org.apache.jmeter.protocol.java.sampler.JUnitSampler +
  +
getCurrent() - +Method in class org.apache.jmeter.visualizers.SplineModel +
  +
getCurrentElement() - +Method in class org.apache.jmeter.control.GenericController +
+ Gets the element indicated by the current index, if one exists, + from the subControllersAndSamplers list. +
getCurrentElement() - +Method in class org.apache.jmeter.gui.GuiPackage +
  +
getCurrentGui() - +Method in class org.apache.jmeter.gui.GuiPackage +
Convenience method for grabbing the gui for the current node. +
getCurrentName(String) - +Static method in class org.apache.jmeter.util.NameUpdater +
Looks up the class name; if that does not exist in the map, + then defaults to the input name. +
getCurrentName(String, String) - +Static method in class org.apache.jmeter.util.NameUpdater +
Looks up class name / property name combination; if that + does not exist in the map, then defaults to input property name. +
getCurrentName(String, String, String) - +Static method in class org.apache.jmeter.util.NameUpdater +
Looks up class name . property name / value combination; + if that does not exist in the map, returns the original value. +
getCurrentNode() - +Method in class org.apache.jmeter.gui.GuiPackage +
  +
getCurrentNode() - +Method in class org.apache.jmeter.gui.tree.JMeterTreeListener +
Gets the CurrentNode attribute of the JMeterTreeListener object. +
getCurrentPos() - +Method in class org.apache.jorphan.collections.Data +
Get the number of the current row. +
getCurrentQueryString() - +Method in interface org.apache.jmeter.monitor.model.Worker +
  +
getCurrentQueryString() - +Method in class org.apache.jmeter.monitor.model.WorkerImpl +
  +
getCurrentRow(String) - +Static method in class org.apache.jmeter.functions.FileWrapper +
Gets the current row number (mainly for error reporting) +
getCurrentSample() - +Method in class org.apache.jmeter.visualizers.SamplingStatCalculator +
  +
getCurrentSampler() - +Method in class org.apache.jmeter.threads.JMeterContext +
  +
getCurrentSubTree() - +Method in class org.apache.jmeter.gui.GuiPackage +
Get the currently selected subtree. +
getCurrentSubTree(JMeterTreeNode) - +Method in class org.apache.jmeter.gui.tree.JMeterTreeModel +
Get the current sub tree for a JMeterTreeNode +
getCurrentTestName(String, String) - +Static method in class org.apache.jmeter.util.NameUpdater +
Looks up test element / gui class combination; if that + does not exist in the map, then defaults to getCurrentName(testClassName). +
getCurrentThreadCount() - +Method in interface org.apache.jmeter.monitor.model.ThreadInfo +
  +
getCurrentThreadCount() - +Method in class org.apache.jmeter.monitor.model.ThreadInfoImpl +
  +
getCurrentThreadsBusy() - +Method in interface org.apache.jmeter.monitor.model.ThreadInfo +
  +
getCurrentThreadsBusy() - +Method in class org.apache.jmeter.monitor.model.ThreadInfoImpl +
  +
getCurrentUri() - +Method in interface org.apache.jmeter.monitor.model.Worker +
  +
getCurrentUri() - +Method in class org.apache.jmeter.monitor.model.WorkerImpl +
  +
getCustomEditor() - +Method in class org.apache.jmeter.testbeans.gui.FileEditor +
  +
getCustomEditor() - +Method in class org.apache.jmeter.testbeans.gui.PasswordEditor +
+
getCustomEditor() - +Method in class org.apache.jmeter.testbeans.gui.TableEditor +
  +
getCustomEditor() - +Method in class org.apache.jmeter.testbeans.gui.TextAreaEditor +
+
getData() - +Method in class org.apache.jmeter.examples.sampler.ExampleSampler +
  +
getData() - +Method in class org.apache.jmeter.gui.util.PowerTableModel +
  +
getData(String) - +Method in class org.apache.jmeter.reporters.FileReporter +
Get the data currently assigned to a given key +
getData() - +Method in class org.apache.jmeter.visualizers.RespTimeGraphVisualizer +
Generate the data for the jChart API +
getData() - +Method in class org.apache.jmeter.visualizers.Sample +
  +
getData() - +Method in class org.apache.jmeter.visualizers.StatGraphVisualizer +
  +
getDataAsText() - +Method in class org.apache.jorphan.collections.Data +
Returns all the data in the Data set as an array of strings. +
getDatabase() - +Method in class org.apache.jmeter.protocol.mongodb.sampler.MongoScriptSampler +
  +
getDataCurve() - +Method in class org.apache.jmeter.visualizers.SplineModel +
  +
getDataEncodingNoDefault() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSampleResult +
Overrides the method from SampleResult - so the encoding can be extracted from + the Meta content-type if necessary. +
getDataEncodingNoDefault() - +Method in class org.apache.jmeter.samplers.SampleResult +
Returns the dataEncoding. +
getDataEncodingWithDefault(String) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSampleResult +
Overrides the method from SampleResult - so the encoding can be extracted from + the Meta content-type if necessary. +
getDataEncodingWithDefault() - +Method in class org.apache.jmeter.samplers.SampleResult +
Returns the dataEncoding or the default if no dataEncoding was provided. +
getDataEncodingWithDefault(String) - +Method in class org.apache.jmeter.samplers.SampleResult +
Returns the dataEncoding or the default if no dataEncoding was provided. +
getDataFromResultSet(ResultSet) - +Static method in class org.apache.jorphan.collections.Data +
Gets a Data object from a ResultSet. +
getDataSource() - +Method in class org.apache.jmeter.protocol.jdbc.AbstractJDBCTestElement +
  +
getDataSource() - +Method in class org.apache.jmeter.protocol.jdbc.config.DataSourceElement +
  +
getDataType() - +Method in class org.apache.jmeter.samplers.SampleResult +
  +
getDate() - +Method in class org.apache.jmeter.gui.util.JDateField +
Get the date from the Date mask control. +
getDate(Object) - +Static method in class org.apache.jorphan.util.Converter +
Converts the given object to a Date object. +
getDate(Object, Date) - +Static method in class org.apache.jorphan.util.Converter +
Converts the given object to a Date object. +
getDB(String, String, String) - +Method in class org.apache.jmeter.protocol.mongodb.mongo.MongoDB +
  +
getDBFromSource(String, String) - +Static method in class org.apache.jmeter.protocol.mongodb.config.MongoDBHolder +
Get access to MongoDB object +
getDBFromSource(String, String, String, String) - +Static method in class org.apache.jmeter.protocol.mongodb.config.MongoDBHolder +
Get access to MongoDB object +
getDbUrl() - +Method in class org.apache.jmeter.protocol.jdbc.config.DataSourceElement +
  +
getDefault() - +Static method in class org.apache.jmeter.protocol.smtp.sampler.protocol.TrustAllSSLSocketFactory +
Factory method +
getDefaultAssertionMenu() - +Static method in class org.apache.jmeter.gui.util.MenuFactory +
  +
getDefaultBase() - +Static method in class org.apache.jmeter.services.FileServer +
  +
getDefaultCipherSuites() - +Method in class org.apache.jmeter.protocol.smtp.sampler.protocol.LocalTrustStoreSSLSocketFactory +
+
getDefaultCipherSuites() - +Method in class org.apache.jmeter.protocol.smtp.sampler.protocol.TrustAllSSLSocketFactory +
+
getDefaultCipherSuites() - +Method in class org.apache.jmeter.util.HttpSSLProtocolSocketFactory +
  +
getDefaultConfigElementMenu() - +Static method in class org.apache.jmeter.gui.util.MenuFactory +
  +
getDefaultControllerMenu() - +Static method in class org.apache.jmeter.gui.util.MenuFactory +
  +
getDefaultDelay() - +Method in class org.apache.jmeter.timers.gui.AbstractRandomTimerGui +
  +
getDefaultDelay() - +Method in class org.apache.jmeter.timers.gui.GaussianRandomTimerGui +
+
getDefaultDelay() - +Method in class org.apache.jmeter.timers.gui.PoissonRandomTimerGui +
  +
getDefaultDelay() - +Method in class org.apache.jmeter.timers.gui.UniformRandomTimerGui +
+
getDefaultEventIndex() - +Method in class org.apache.jmeter.testbeans.BeanInfoSupport +
+
getDefaultEventIndex() - +Method in class org.apache.jmeter.testbeans.TestBeanBeanInfo +
+
getDefaultEventIndex() - +Method in class org.apache.jmeter.testelement.AbstractTestElementBeanInfo +
+
getDefaultExtractorMenu() - +Static method in class org.apache.jmeter.gui.util.MenuFactory +
  +
getDefaultFolder() - +Method in class org.apache.jmeter.protocol.mail.sampler.MailFileStore +
  +
getDefaultMaxIterations() - +Method in class org.apache.jmeter.visualizers.Spline3 +
  +
getDefaultMenu() - +Static method in class org.apache.jmeter.gui.util.MenuFactory +
  +
getDefaultParameters() - +Method in class org.apache.jmeter.protocol.java.sampler.AbstractJavaSamplerClient +
  +
getDefaultParameters() - +Method in interface org.apache.jmeter.protocol.java.sampler.JavaSamplerClient +
Provide a list of parameters which this test supports. +
getDefaultParameters() - +Method in class org.apache.jmeter.protocol.java.test.JavaTest +
Provide a list of parameters which this test supports. +
getDefaultParameters() - +Method in class org.apache.jmeter.protocol.java.test.SleepTest +
Provide a list of parameters which this test supports. +
getDefaultParameters() - +Method in class org.apache.jmeter.visualizers.backend.AbstractBackendListenerClient +
  +
getDefaultParameters() - +Method in interface org.apache.jmeter.visualizers.backend.BackendListenerClient +
Provide a list of parameters which this test supports. +
getDefaultParameters() - +Method in class org.apache.jmeter.visualizers.backend.graphite.GraphiteBackendListenerClient +
  +
getDefaultPort() - +Method in class org.apache.jmeter.protocol.http.control.HttpMirrorControl +
  +
getDefaultPort() - +Method in class org.apache.jmeter.protocol.http.proxy.ProxyControl +
  +
getDefaultPort(String, int) - +Static method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
Get the port number for a URL, applying defaults if necessary. +
getDefaultPrecision() - +Method in class org.apache.jmeter.visualizers.Spline3 +
  +
getDefaultPropertyIndex() - +Method in class org.apache.jmeter.testbeans.BeanInfoSupport +
+
getDefaultPropertyIndex() - +Method in class org.apache.jmeter.testbeans.TestBeanBeanInfo +
+
getDefaultPropertyIndex() - +Method in class org.apache.jmeter.testelement.AbstractTestElementBeanInfo +
+
getDefaultRange() - +Method in class org.apache.jmeter.timers.gui.AbstractRandomTimerGui +
  +
getDefaultRange() - +Method in class org.apache.jmeter.timers.gui.GaussianRandomTimerGui +
+
getDefaultRange() - +Method in class org.apache.jmeter.timers.gui.PoissonRandomTimerGui +
  +
getDefaultRange() - +Method in class org.apache.jmeter.timers.gui.UniformRandomTimerGui +
+
getDefaultSamplerMenu() - +Static method in class org.apache.jmeter.gui.util.MenuFactory +
  +
getDefaultTimerMenu() - +Static method in class org.apache.jmeter.gui.util.MenuFactory +
  +
getDefaultValue() - +Method in class org.apache.jmeter.extractor.HtmlExtractor +
Get the default value for the variable if no matches are found +
getDefaultValue() - +Method in class org.apache.jmeter.extractor.RegexExtractor +
Get the default value for the variable, which should be used, if no + matches are found +
getDefaultValue() - +Method in class org.apache.jmeter.extractor.XPathExtractor +
  +
getDefaultVisualizerMenu() - +Static method in class org.apache.jmeter.gui.util.MenuFactory +
  +
getDelay() - +Method in class org.apache.jmeter.threads.ThreadGroup +
Get the startup delay +
getDelay() - +Method in class org.apache.jmeter.timers.ConstantTimer +
Get the delay value for display. +
getDeleteButton() - +Method in class org.apache.jmeter.config.gui.ArgumentsPanel +
Get the button used to delete rows from the table. +
getDeleteMessages() - +Method in class org.apache.jmeter.protocol.mail.sampler.MailReaderSampler +
  +
getDelimiter() - +Method in class org.apache.jmeter.config.CSVDataSet +
  +
getDelimiter() - +Method in class org.apache.jmeter.samplers.SampleSaveConfiguration +
  +
getDescription() - +Method in class org.apache.jmeter.config.Argument +
Gets the Meta Data attribute of the Argument. +
getDescription() - +Method in class org.apache.jmeter.gui.action.template.Template +
  +
getDescription() - +Method in class org.apache.jmeter.gui.JMeterFileFilter +
Get a description for this filter. +
getDestination() - +Method in class org.apache.jmeter.protocol.jms.sampler.BaseJMSSampler +
return the destination (topic or queue name) +
getDeviation() - +Method in class org.apache.jmeter.visualizers.Sample +
  +
getDirectory() - +Method in class org.apache.jmeter.protocol.system.SystemSampler +
  +
getDistribution() - +Method in class org.apache.jmeter.visualizers.SamplingStatCalculator +
  +
getDistribution() - +Method in class org.apache.jorphan.math.StatCalculator +
Returns the distribution of the values in the list. +
getDistributionLine() - +Method in class org.apache.jmeter.visualizers.Sample +
  +
getDNSResolver() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
getDoBrowserCompatibleMultipart() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPAbstractImpl +
Invokes HTTPSamplerBase.getDoBrowserCompatibleMultipart() +
getDoBrowserCompatibleMultipart() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
getDocAnchor() - +Method in class org.apache.jmeter.gui.AbstractJMeterGuiComponent +
Compute Anchor value to find reference in documentation for a particular component +
getDocAnchor() - +Method in interface org.apache.jmeter.gui.JMeterGUIComponent +
Get the component's document anchor name. +
getDocAnchor() - +Method in class org.apache.jmeter.gui.NamePanel +
Get the component's document anchor name. +
getDocAnchor() - +Method in class org.apache.jmeter.gui.tree.JMeterTreeNode +
  +
getDocAnchor() - +Method in class org.apache.jmeter.protocol.http.control.gui.AjpSamplerGui +
  +
getDocAnchor() - +Method in class org.apache.jmeter.testbeans.gui.TestBeanGUI +
Compute Anchor value to find reference in documentation for a particular component +
getDoctype() - +Method in class org.apache.jmeter.assertions.HTMLAssertion +
Gets the doctype +
getDocument(Object) - +Static method in class org.apache.jmeter.protocol.http.util.DOMPool +
Return a document. +
getDOM(String) - +Static method in class org.apache.jmeter.protocol.http.parser.HtmlParsingUtils +
Returns a node representing a whole xml given an xml document. +
getDomain() - +Method in class org.apache.jmeter.protocol.http.control.Authorization +
  +
getDomain() - +Method in class org.apache.jmeter.protocol.http.control.Cookie +
get the domain for this object. +
getDomain() - +Method in class org.apache.jmeter.protocol.http.sampler.AccessLogSampler +
  +
getDomain() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
getDoMultipartPost() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
getDoNotSetUpTearDown() - +Method in class org.apache.jmeter.protocol.java.sampler.JUnitSampler +
if the sample shouldn't call setup/teardown, the + method returns true. +
getDouble(Object, double) - +Static method in class org.apache.jorphan.util.Converter +
Convert object to double, or defaultValue if conversion + failed +
getDouble(Object) - +Static method in class org.apache.jorphan.util.Converter +
Convert object to double, or 0 if conversion + failed +
getDoubleValue() - +Method in class org.apache.jmeter.testelement.property.AbstractProperty +
Returns 0 if string is invalid or null. +
getDoubleValue() - +Method in class org.apache.jmeter.testelement.property.DoubleProperty +
Returns 0 if string is invalid or null. +
getDoubleValue() - +Method in class org.apache.jmeter.testelement.property.FloatProperty +
Returns 0 if string is invalid or null. +
getDoubleValue() - +Method in class org.apache.jmeter.testelement.property.IntegerProperty +
  +
getDoubleValue() - +Method in interface org.apache.jmeter.testelement.property.JMeterProperty +
  +
getDoubleValue() - +Method in class org.apache.jmeter.testelement.property.LongProperty +
  +
getDoubleValue() - +Method in class org.apache.jmeter.testelement.property.NullProperty +
  +
getDriver() - +Method in class org.apache.jmeter.protocol.jdbc.config.DataSourceElement +
  +
getDurableSubscriptionId() - +Method in class org.apache.jmeter.protocol.jms.sampler.SubscriberSampler +
  +
getDuration() - +Method in class org.apache.jmeter.threads.ThreadGroup +
Get the desired duration of the thread group test run +
getDurationAsString() - +Method in class org.apache.jmeter.sampler.TestAction +
  +
getDurationAttributesTitle() - +Method in class org.apache.jmeter.assertions.gui.DurationAssertionGui +
  +
getElapsed() - +Method in class org.apache.jmeter.visualizers.RunningSample +
Get the elapsed time for the samples +
getElapsed() - +Method in class org.apache.jmeter.visualizers.SamplingStatCalculator +
Get the elapsed time for the samples +
getElapsed() - +Method in class org.apache.jmeter.visualizers.TableSample +
  +
getElement() - +Method in class org.apache.jmeter.testelement.property.TestElementProperty +
  +
getEmbeddedResourceURLs(String, byte[], URL, String) - +Method in class org.apache.jmeter.protocol.http.parser.HTMLParser +
Get the URLs for all the resources that a browser would automatically + download following the download of the HTML content, that is: images, + stylesheets, javascript files, applets, etc... +
getEmbeddedResourceURLs(String, byte[], URL, URLCollection, String) - +Method in class org.apache.jmeter.protocol.http.parser.HTMLParser +
Get the URLs for all the resources that a browser would automatically + download following the download of the HTML content, that is: images, + stylesheets, javascript files, applets, etc... +
getEmbeddedResourceURLs(String, byte[], URL, Collection<URLString>, String) - +Method in class org.apache.jmeter.protocol.http.parser.HTMLParser +
Get the URLs for all the resources that a browser would automatically + download following the download of the HTML content, that is: images, + stylesheets, javascript files, applets, etc... +
getEmbeddedResourceURLs(String, byte[], URL, URLCollection, String) - +Method in class org.apache.jmeter.protocol.http.parser.JsoupBasedHtmlParser +
  +
getEmbeddedResourceURLs(String, byte[], URL, URLCollection, String) - +Method in class org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser +
  +
getEmbeddedUrlRE() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
Get the regular expression URLs must match. +
getEmlMessage() - +Method in class org.apache.jmeter.protocol.smtp.sampler.gui.SmtpPanel +
Returns path to eml message to be sent +
getEnabledCipherSuites() - +Method in class org.apache.jmeter.util.SlowSSLSocket +
  +
getEnabledProtocols() - +Method in class org.apache.jmeter.util.SlowSSLSocket +
  +
getEnableSessionCreation() - +Method in class org.apache.jmeter.util.SlowSSLSocket +
  +
getEncoded(String) - +Method in class org.apache.jmeter.protocol.http.util.EncoderCache +
Get the specified value URL encoded using UTF-8 encoding +
getEncoded(String, String) - +Method in class org.apache.jmeter.protocol.http.util.EncoderCache +
Get the specified value URL encoded using the specified encoding +
getEncodedName() - +Method in class org.apache.jmeter.protocol.http.util.HTTPArgument +
  +
getEncodedValue() - +Method in class org.apache.jmeter.protocol.http.util.HTTPArgument +
Get the argument value encoded using UTF-8 +
getEncodedValue(String) - +Method in class org.apache.jmeter.protocol.http.util.HTTPArgument +
Get the argument value encoded in the specified encoding +
getEncoding() - +Method in class org.apache.jorphan.io.TextFile +
  +
getEncodingFromContentType(String) - +Static method in class org.apache.jmeter.protocol.http.util.ConversionUtils +
Extract the encoding (charset) from the Content-Type, e.g. +
getEnd() - +Method in class org.apache.jmeter.modifiers.CounterConfig +
  +
getEndAsString() - +Method in class org.apache.jmeter.modifiers.CounterConfig +
  +
getEndIndex() - +Method in class org.apache.jmeter.config.KeystoreConfig +
  +
getEndIndexAsString() - +Method in class org.apache.jmeter.control.ForeachController +
  +
getEndTime() - +Method in class org.apache.jmeter.samplers.SampleResult +
  +
getEndTime() - +Method in class org.apache.jmeter.threads.JMeterThread +
Get the end time value. +
getEndTime() - +Method in class org.apache.jmeter.threads.ThreadGroup +
Get the end time value. +
getEndTime() - +Method in class org.apache.jmeter.visualizers.Sample +
  +
getEngine() - +Method in class org.apache.jmeter.threads.JMeterContext +
  +
getEnvironmentVariables() - +Method in class org.apache.jmeter.protocol.system.SystemSampler +
Get the env variables +
getEolByte() - +Method in class org.apache.jmeter.protocol.tcp.sampler.AbstractTCPClient +
Get the end-of-line/end-of-message byte. +
getEolByte() - +Method in class org.apache.jmeter.protocol.tcp.sampler.LengthPrefixedBinaryTCPClientImpl +
Not useful, as the byte is never used. +
getEolByte() - +Method in interface org.apache.jmeter.protocol.tcp.sampler.TCPClient +
Get the end-of-line/end-of-message byte. +
getEolByte() - +Method in class org.apache.jmeter.protocol.tcp.sampler.TCPSampler +
  +
getError() - +Method in class org.apache.jmeter.protocol.java.sampler.JUnitSampler +
  +
getErrorAction() - +Method in class org.apache.jmeter.testelement.OnErrorTestElement +
  +
getErrorCode() - +Method in class org.apache.jmeter.protocol.java.sampler.JUnitSampler +
  +
getErrorCount() - +Method in interface org.apache.jmeter.monitor.model.RequestInfo +
  +
getErrorCount() - +Method in class org.apache.jmeter.monitor.model.RequestInfoImpl +
  +
getErrorCount() - +Method in class org.apache.jmeter.samplers.SampleResult +
Returns the count of errors. +
getErrorCount() - +Method in class org.apache.jmeter.samplers.StatisticalSampleResult +
  +
getErrorCount() - +Method in class org.apache.jmeter.visualizers.RunningSample +
  +
getErrorCount() - +Method in class org.apache.jmeter.visualizers.Sample +
  +
getErrorCount() - +Method in class org.apache.jmeter.visualizers.SamplingStatCalculator +
  +
getErrorLoggingCheckbox() - +Method in class org.apache.jmeter.visualizers.gui.AbstractVisualizer +
Gets the checkbox which selects whether or not only errors should be + logged. +
getErrorPercentage() - +Method in class org.apache.jmeter.util.Calculator +
Returns the raw double value of the percentage of samples with errors + that were recorded. +
getErrorPercentage() - +Method in class org.apache.jmeter.visualizers.RunningSample +
Returns the raw double value of the percentage of samples with errors + that were recorded. +
getErrorPercentage() - +Method in class org.apache.jmeter.visualizers.SamplingStatCalculator +
Returns the raw double value of the percentage of samples with errors + that were recorded. +
getErrorPercentageString() - +Method in class org.apache.jmeter.visualizers.RunningSample +
Returns a String which represents the percentage of sample errors that + have occurred. ("0.00%" through "100.00%") +
getErrorThreshold() - +Method in class org.apache.jmeter.assertions.HTMLAssertion +
Gets the threshold setting for errors +
getEventSetDescriptors() - +Method in class org.apache.jmeter.testbeans.BeanInfoSupport +
+
getEventSetDescriptors() - +Method in class org.apache.jmeter.testbeans.TestBeanBeanInfo +
+
getEventSetDescriptors() - +Method in class org.apache.jmeter.testelement.AbstractTestElementBeanInfo +
+
getException() - +Method in class org.apache.jmeter.protocol.http.control.HttpMirrorServer +
  +
getExcludePatterns() - +Method in class org.apache.jmeter.protocol.http.proxy.ProxyControl +
  +
getExecutionEnvironment() - +Method in class org.apache.jorphan.exec.SystemCommand +
  +
getExpectedReturnCode() - +Method in class org.apache.jmeter.protocol.system.SystemSampler +
  +
getExpiration() - +Method in class org.apache.jmeter.protocol.jms.sampler.JMSSampler +
  +
getExpiration() - +Method in class org.apache.jmeter.protocol.jms.sampler.PublisherSampler +
  +
getExpires() - +Method in class org.apache.jmeter.protocol.http.control.Cookie +
get the expiry time for the cookie +
getExpiresMillis() - +Method in class org.apache.jmeter.protocol.http.control.Cookie +
get the expiry time for the cookie +
getExpression() - +Method in class org.apache.jmeter.extractor.HtmlExtractor +
  +
getExtractor() - +Method in class org.apache.jmeter.extractor.HtmlExtractor +
Get the name of the currently configured extractor +
getExtractorImpl(String) - +Static method in class org.apache.jmeter.extractor.HtmlExtractor +
  +
getFailure() - +Method in class org.apache.jmeter.protocol.java.sampler.JUnitSampler +
  +
getFailureCode() - +Method in class org.apache.jmeter.protocol.java.sampler.JUnitSampler +
  +
getFailureCount() - +Method in class org.apache.jmeter.reporters.MailerModel +
  +
getFailureLimit() - +Method in class org.apache.jmeter.reporters.MailerModel +
  +
getFailureMessage() - +Method in class org.apache.jmeter.assertions.AssertionResult +
Get the message associated with any failure or error. +
getFailures() - +Method in class org.apache.jmeter.visualizers.backend.SamplerMetric +
Get the number of failed requests for the current time slot +
getFailureSubject() - +Method in class org.apache.jmeter.reporters.MailerModel +
  +
getFieldName() - +Method in class org.apache.jmeter.protocol.http.modifier.ParamMask +
  +
getFile() - +Method in class org.apache.jmeter.visualizers.gui.AbstractVisualizer +
Gets the filename which has been entered in the FilePanel. +
getFile(Object) - +Static method in class org.apache.jorphan.util.Converter +
Converts an object to a File +
getFileContent(String) - +Method in class org.apache.jmeter.protocol.jms.sampler.PublisherSampler +
The implementation uses TextFile to load the contents of the file and + returns a string. +
getFileEncoding() - +Method in class org.apache.jmeter.config.CSVDataSet +
  +
getFileEncoding(String) - +Static method in class org.apache.jmeter.save.SaveService +
Returns the file Encoding specified in saveservice.properties or the default +
getFilename() - +Method in class org.apache.jmeter.assertions.BeanShellAssertion +
  +
getFilename() - +Method in class org.apache.jmeter.assertions.HTMLAssertion +
Sets the name of the file where tidy writes the output to +
getFilename() - +Method in class org.apache.jmeter.config.CSVDataSet +
  +
getFileName() - +Method in class org.apache.jmeter.functions.FileRowColContainer +
  +
getFileName() - +Method in class org.apache.jmeter.functions.XPathFileContainer +
  +
getFileName() - +Method in class org.apache.jmeter.gui.action.template.Template +
  +
getFilename() - +Method in class org.apache.jmeter.gui.util.FilePanelEntry +
Gets the filename attribute of the FilePanel object. +
getFilename() - +Method in class org.apache.jmeter.protocol.java.sampler.BeanShellSampler +
  +
getFilename() - +Method in class org.apache.jmeter.protocol.tcp.sampler.TCPSampler +
  +
getFilename() - +Method in class org.apache.jmeter.reporters.ResultCollector +
Get the filename of the file this collector uses +
getFilename() - +Method in class org.apache.jmeter.util.BeanShellTestElement +
  +
getFilename() - +Method in class org.apache.jmeter.util.ScriptingTestElement +
  +
getFilePanel() - +Method in class org.apache.jmeter.visualizers.gui.AbstractVisualizer +
Gets the file panel which allows the user to save results to a file. +
getFiles() - +Method in class org.apache.jmeter.gui.util.FileListPanel +
  +
getFileServer() - +Static method in class org.apache.jmeter.services.FileServer +
  +
getFilterClassName() - +Method in class org.apache.jmeter.protocol.http.sampler.AccessLogSampler +
  +
getFilterString() - +Method in class org.apache.jmeter.protocol.java.sampler.JUnitSampler +
  +
getFinishedThreads() - +Method in class org.apache.jmeter.visualizers.backend.UserMetric +
  +
getFirstLine() - +Method in class org.apache.jmeter.protocol.http.proxy.HttpRequestHdr +
  +
getFloat(Object, float) - +Static method in class org.apache.jorphan.util.Converter +
Convert object to float, or defaultValue if conversion + failed +
getFloat(Object) - +Static method in class org.apache.jorphan.util.Converter +
Convert object to float, or 0 if conversion + failed +
getFloatValue() - +Method in class org.apache.jmeter.testelement.property.AbstractProperty +
Returns 0 if string is invalid or null. +
getFloatValue() - +Method in class org.apache.jmeter.testelement.property.DoubleProperty +
Returns 0 if string is invalid or null. +
getFloatValue() - +Method in class org.apache.jmeter.testelement.property.FloatProperty +
Returns 0 if string is invalid or null. +
getFloatValue() - +Method in class org.apache.jmeter.testelement.property.IntegerProperty +
  +
getFloatValue() - +Method in interface org.apache.jmeter.testelement.property.JMeterProperty +
  +
getFloatValue() - +Method in class org.apache.jmeter.testelement.property.LongProperty +
  +
getFloatValue() - +Method in class org.apache.jmeter.testelement.property.NullProperty +
  +
getFolder(String) - +Method in class org.apache.jmeter.protocol.mail.sampler.MailFileFolder +
  +
getFolder(String) - +Method in class org.apache.jmeter.protocol.mail.sampler.MailFileStore +
  +
getFolder(URLName) - +Method in class org.apache.jmeter.protocol.mail.sampler.MailFileStore +
  +
getFolder() - +Method in class org.apache.jmeter.protocol.mail.sampler.MailReaderSampler +
  +
getFollowRedirects() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
getFontNameMap() - +Static method in class org.apache.jmeter.visualizers.StatGraphProperties +
  +
getFontStyleMap() - +Static method in class org.apache.jmeter.visualizers.StatGraphProperties +
  +
getForeColor() - +Method in class org.apache.jmeter.visualizers.AxisGraph +
  +
getFormat() - +Method in class org.apache.jmeter.modifiers.CounterConfig +
  +
getFragment() - +Method in class org.apache.jmeter.extractor.XPathExtractor +
Should we return fragment as text, rather than text of fragment? +
getFree() - +Method in interface org.apache.jmeter.monitor.model.Memory +
  +
getFree() - +Method in class org.apache.jmeter.monitor.model.MemoryImpl +
  +
getFromAddress() - +Method in class org.apache.jmeter.reporters.MailerModel +
  +
getFromEnvironment(Context, String) - +Static method in class org.apache.jmeter.protocol.jms.Utils +
Get value from Context environment taking into account non fully + compliant JNDI implementations +
getFsync() - +Method in class org.apache.jmeter.protocol.mongodb.config.MongoSourceElement +
  +
getFullName() - +Method in class org.apache.jmeter.protocol.mail.sampler.MailFileFolder +
  +
getFunction() - +Method in class org.apache.jmeter.engine.util.CompoundVariable +
  +
getFunctionalMode() - +Static method in class org.apache.jmeter.testelement.TestPlan +
Gets the static copy of the functional mode +
getFunctionClass(String) - +Static method in class org.apache.jmeter.engine.util.CompoundVariable +
  +
getFunctionNames() - +Static method in class org.apache.jmeter.engine.util.CompoundVariable +
  +
getGraphMax() - +Method in class org.apache.jmeter.visualizers.Graph +
  +
getGroupingMode() - +Method in class org.apache.jmeter.protocol.http.proxy.ProxyControl +
  +
getGroupSize() - +Method in class org.apache.jmeter.timers.SyncTimer +
  +
getGroupThreads() - +Method in class org.apache.jmeter.samplers.SampleResult +
  +
getGUI(Class<?>) - +Static method in class org.apache.jmeter.gui.GUIFactory +
Get a component instance which has previously been registered for this + class object. +
getGui(TestElement) - +Method in class org.apache.jmeter.gui.GuiPackage +
Get a JMeterGUIComponent for the specified test element. +
getGui(TestElement, Class<?>, Class<?>) - +Method in class org.apache.jmeter.gui.GuiPackage +
Get a JMeterGUIComponent for the specified test element. +
getHashtable(Properties, String) - +Static method in class org.apache.jmeter.util.JMeterUtils +
Creates a table of strings for all the properties that start with a + common prefix. +
getHeader(int) - +Method in class org.apache.jmeter.protocol.http.control.HeaderManager +
  +
getHeader() - +Method in class org.apache.jmeter.protocol.http.util.HTTPFileArg +
Gets the saved body header for the HTTPFileArg object. +
getHeaderCount() - +Method in class org.apache.jorphan.collections.Data +
  +
getHeaderFields() - +Method in class org.apache.jmeter.protocol.smtp.sampler.gui.SmtpPanel +
  +
getHeaderManager() - +Method in class org.apache.jmeter.protocol.http.proxy.HttpRequestHdr +
  +
getHeaderManager() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPAbstractImpl +
Invokes HTTPSamplerBase.getHeaderManager() +
getHeaderManager() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
getHeaderOnly() - +Method in class org.apache.jmeter.protocol.mail.sampler.MailReaderSampler +
  +
getHeaders() - +Method in class org.apache.jmeter.protocol.http.control.HeaderManager +
Get the collection of JMeterProperty entries representing the headers. +
getHeaders() - +Method in class org.apache.jmeter.protocol.smtp.sampler.protocol.SendMailCommand +
Returns headers for current message - standard getter +
getHeaders() - +Method in class org.apache.jorphan.collections.Data +
Returns a String array of the column headers. +
getHeadersSize() - +Method in class org.apache.jmeter.samplers.SampleResult +
Get the headers size in bytes +
getHealth() - +Method in class org.apache.jmeter.visualizers.MonitorModel +
  +
getHealth() - +Method in class org.apache.jmeter.visualizers.MonitorStats +
  +
getHost() - +Method in class org.apache.jmeter.engine.ClientJMeterEngine +
  +
getHost() - +Method in class org.apache.jmeter.visualizers.backend.graphite.SocketConnectionInfos +
  +
getHost() - +Method in class org.apache.jmeter.visualizers.MonitorModel +
  +
getHost() - +Method in class org.apache.jmeter.visualizers.MonitorStats +
  +
getHostname() - +Method in class org.apache.jmeter.samplers.SampleEvent +
Get the name of the host for which this event was recorded +
getHTTPFileArg(int) - +Method in class org.apache.jmeter.protocol.http.util.HTTPFileArgs +
Get a single file. +
getHTTPFileArgCount() - +Method in class org.apache.jmeter.protocol.http.util.HTTPFileArgs +
Get the number of files in the list. +
getHTTPFileArgs() - +Method in class org.apache.jmeter.protocol.http.config.MultipartUrlConfig +
  +
getHTTPFileArgsCollection() - +Method in class org.apache.jmeter.protocol.http.util.HTTPFileArgs +
Get the files. +
getHTTPFileCount() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
getHTTPFiles() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPAbstractImpl +
Get the collection of files as a list. +
getHTTPFiles() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
Get the collection of files as a list. +
getHTTPMethod() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSampleResult +
  +
getHttpSamplerName() - +Method in class org.apache.jmeter.protocol.http.proxy.HttpRequestHdr +
  +
getI18nKey() - +Method in class org.apache.jmeter.gui.util.IconToolbarBean +
  +
getIcon(Class<?>) - +Static method in class org.apache.jmeter.gui.GUIFactory +
Get an icon which has previously been registered for this class object. +
getIcon(Class<?>, boolean) - +Static method in class org.apache.jmeter.gui.GUIFactory +
Get icon/disabledicon which has previously been registered for this class + object. +
getIcon() - +Method in class org.apache.jmeter.gui.tree.JMeterTreeNode +
  +
getIcon(boolean) - +Method in class org.apache.jmeter.gui.tree.JMeterTreeNode +
  +
getIcon(int) - +Method in class org.apache.jmeter.testbeans.BeanInfoSupport +
+
getIcon(int) - +Method in class org.apache.jmeter.testbeans.TestBeanBeanInfo +
+
getIcon(int) - +Method in class org.apache.jmeter.testelement.AbstractTestElementBeanInfo +
+
getIconMappings() - +Method in class org.apache.jmeter.JMeter +
  +
getIconMappings() - +Method in interface org.apache.jmeter.plugin.JMeterPlugin +
  +
getIconPath() - +Method in class org.apache.jmeter.gui.util.IconToolbarBean +
  +
getIconPathPressed() - +Method in class org.apache.jmeter.gui.util.IconToolbarBean +
  +
getIdleTime() - +Method in class org.apache.jmeter.samplers.SampleResult +
  +
getImage(String) - +Static method in class org.apache.jmeter.util.JMeterUtils +
This looks for the requested image in the classpath under + org.apache.jmeter.images. +
getImage(String, String) - +Static method in class org.apache.jmeter.util.JMeterUtils +
This looks for the requested image in the classpath under + org.apache.jmeter.images. +
getImage() - +Method in class org.apache.jmeter.visualizers.DistributionGraphVisualizer +
Gets the Image attribute of the GraphVisualizer object. +
getImage() - +Method in class org.apache.jmeter.visualizers.GraphVisualizer +
Gets the Image attribute of the GraphVisualizer object. +
getImage() - +Method in interface org.apache.jmeter.visualizers.ImageVisualizer +
  +
getImage() - +Method in class org.apache.jmeter.visualizers.MonitorHealthVisualizer +
  +
getImage() - +Method in class org.apache.jmeter.visualizers.SplineVisualizer +
  +
getImplementation() - +Method in class org.apache.jmeter.protocol.http.control.CookieManager +
  +
getImplementation() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
getImplementation(String, HTTPSamplerBase) - +Static method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerFactory +
  +
getImplementations() - +Static method in class org.apache.jmeter.extractor.HtmlExtractor +
Get the possible extractor implementations +
getImplementations() - +Static method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerFactory +
  +
getIncludePath() - +Method in class org.apache.jmeter.control.IncludeController +
return the JMX file path. +
getIncludePatterns() - +Method in class org.apache.jmeter.protocol.http.proxy.ProxyControl +
  +
getIncrement() - +Method in class org.apache.jmeter.modifiers.CounterConfig +
  +
getIncrement() - +Method in class org.apache.jmeter.protocol.http.modifier.ParamMask +
Accessor method, returns the number by which the parameter value is + incremented between loops. +
getIncrementAsString() - +Method in class org.apache.jmeter.modifiers.CounterConfig +
  +
getIndex() - +Method in class org.apache.jmeter.visualizers.RunningSample +
  +
getInetAddress() - +Method in class org.apache.jmeter.util.SlowSSLSocket +
  +
getInitFileProperty() - +Method in class org.apache.jmeter.assertions.BeanShellAssertion +
  +
getInitFileProperty() - +Method in class org.apache.jmeter.extractor.BeanShellPostProcessor +
  +
getInitFileProperty() - +Method in class org.apache.jmeter.modifiers.BeanShellPreProcessor +
  +
getInitFileProperty() - +Method in class org.apache.jmeter.protocol.java.sampler.BeanShellSampler +
  +
getInitFileProperty() - +Method in class org.apache.jmeter.timers.BeanShellTimer +
  +
getInitFileProperty() - +Method in class org.apache.jmeter.util.BeanShellTestElement +
  +
getInitFileProperty() - +Method in class org.apache.jmeter.visualizers.BeanShellListener +
  +
getInitialContextFactory() - +Method in class org.apache.jmeter.protocol.jms.sampler.JMSSampler +
  +
getInputFile() - +Method in class org.apache.jmeter.protocol.jms.sampler.PublisherSampler +
  +
getInputStream() - +Method in class org.apache.jmeter.protocol.http.util.LoopbackHTTPSocket +
  +
getInputStream() - +Method in class org.apache.jmeter.util.SlowSocket +
  +
getInputStream() - +Method in class org.apache.jmeter.util.SlowSSLSocket +
  +
getInputValString() - +Method in class org.apache.jmeter.control.ForeachController +
  +
getInstance() - +Static method in class org.apache.jmeter.gui.action.ActionRouter +
Gets the Instance attribute of the ActionRouter class +
getInstance() - +Static method in class org.apache.jmeter.gui.action.template.TemplateManager +
  +
getInstance() - +Static method in class org.apache.jmeter.gui.GuiPackage +
Retrieve the singleton GuiPackage instance. +
getInstance(JMeterTreeListener, JMeterTreeModel) - +Static method in class org.apache.jmeter.gui.GuiPackage +
When GuiPackage is requested for the first time, it should be given + handles to JMeter's Tree Listener and TreeModel. +
getInstance() - +Static method in class org.apache.jmeter.monitor.model.ObjectFactory +
  +
getInstance() - +Static method in class org.apache.jmeter.util.JSR223TestElement +
  +
getInstance(String, int, int, String) - +Static method in class org.apache.jmeter.util.keystore.JmeterKeyStore +
Create a keystore which returns a range of aliases (if available) +
getInstance(String) - +Static method in class org.apache.jmeter.util.keystore.JmeterKeyStore +
Create a keystore which returns the first alias only. +
getInstance() - +Static method in class org.apache.jmeter.util.SSLManager +
Static accessor for the SSLManager object. +
getInt(Object, int) - +Static method in class org.apache.jorphan.util.Converter +
Convert object to integer, return defaultValue if object is not + convertible or is null. +
getInt(Object) - +Static method in class org.apache.jorphan.util.Converter +
Converts object to an integer, defaults to 0 if object is + not convertible or is null. +
getIntegerQueryTimeout() - +Method in class org.apache.jmeter.protocol.jdbc.AbstractJDBCTestElement +
  +
getInterval() - +Method in class org.apache.jorphan.gui.MenuScroller +
Returns the scroll interval in milliseconds +
getIntParameter(String) - +Method in class org.apache.jmeter.protocol.java.sampler.JavaSamplerContext +
Get the value of a specified parameter as an integer. +
getIntParameter(String, int) - +Method in class org.apache.jmeter.protocol.java.sampler.JavaSamplerContext +
Get the value of a specified parameter as an integer, or return the + specified default value if the value was not specified or is not an + integer. +
getIntParameter(String) - +Method in class org.apache.jmeter.visualizers.backend.BackendListenerContext +
Get the value of a specified parameter as an integer. +
getIntParameter(String, int) - +Method in class org.apache.jmeter.visualizers.backend.BackendListenerContext +
Get the value of a specified parameter as an integer, or return the + specified default value if the value was not specified or is not an + integer. +
getIntValue() - +Method in class org.apache.jmeter.testelement.property.AbstractProperty +
Returns 0 if string is invalid or null. +
getIntValue() - +Method in class org.apache.jmeter.testelement.property.DoubleProperty +
Returns 0 if string is invalid or null. +
getIntValue() - +Method in class org.apache.jmeter.testelement.property.FloatProperty +
Returns 0 if string is invalid or null. +
getIntValue() - +Method in class org.apache.jmeter.testelement.property.IntegerProperty +
  +
getIntValue() - +Method in interface org.apache.jmeter.testelement.property.JMeterProperty +
  +
getIntValue() - +Method in class org.apache.jmeter.testelement.property.LongProperty +
  +
getIntValue() - +Method in class org.apache.jmeter.testelement.property.NullProperty +
  +
getIpAddress(String) - +Method in class org.apache.jmeter.protocol.http.util.accesslog.SessionFilter +
  +
getIpSource() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPAbstractImpl +
Invokes HTTPSamplerBase.getIpSource() +
getIpSource() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
get IP source to use - does not apply to Java HTTP implementation currently +
getIpSourceAddress() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPAbstractImpl +
Gets the IP source address (IP spoofing) if one has been provided. +
getIpSourceType() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
get IP/address source type to use +
getIssuerDn() - +Method in class org.apache.jmeter.assertions.SMIMEAssertionTestElement +
  +
getItems() - +Method in class org.apache.jorphan.gui.JLabeledChoice +
  +
getIteration() - +Method in class org.apache.jmeter.engine.event.LoopIterationEvent +
Returns the iteration. +
getIteration() - +Method in class org.apache.jmeter.threads.JMeterVariables +
  +
getIterationCount() - +Method in class org.apache.jmeter.protocol.jms.sampler.BaseJMSSampler +
return the number of iterations as int instead of string +
getIterations() - +Method in class org.apache.jmeter.protocol.jms.sampler.BaseJMSSampler +
get the iterations as string +
getIterator(Collection<JMeterProperty>) - +Method in class org.apache.jmeter.testelement.property.AbstractProperty +
  +
getIterator() - +Method in class org.apache.jmeter.threads.JMeterVariables +
Gets a read-only Iterator over the variables. +
getIterCount() - +Method in class org.apache.jmeter.control.ForeachController +
+
getIterCount() - +Method in class org.apache.jmeter.control.GenericController +
  +
getIterCount() - +Method in class org.apache.jmeter.control.LoopController +
+
getIterCount() - +Method in class org.apache.jmeter.control.RunTime +
  +
getJaasConf() - +Method in class org.apache.jmeter.protocol.http.control.KerberosManager +
  +
getJavaInitializationString() - +Method in class org.apache.jmeter.testbeans.gui.FileEditor +
  +
getJMeterBinDir() - +Static method in class org.apache.jmeter.util.JMeterUtils +
Get the JMeter bin directory - does not include the trailing separator. +
getJMeterCopyright() - +Static method in class org.apache.jmeter.util.JMeterUtils +
Gets the JMeter copyright. +
getJMeterDir() - +Static method in class org.apache.jmeter.NewDriver +
Get the directory where JMeter is installed. +
getJMeterHome() - +Static method in class org.apache.jmeter.util.JMeterUtils +
Get the JMeter home directory - does not include the trailing separator. +
getJMeterLaf() - +Static method in class org.apache.jmeter.gui.action.LookAndFeelCommand +
Get LookAndFeel classname from the following properties: + + User preferences key: "laf" + jmeter.laf. +
getJMeterProperties() - +Static method in class org.apache.jmeter.util.JMeterUtils +
This gets the currently defined appProperties. +
getJMeterVersion() - +Static method in class org.apache.jmeter.util.JMeterUtils +
Gets the JMeter Version. +
getJMSProperties() - +Method in class org.apache.jmeter.protocol.jms.sampler.JMSSampler +
  +
getJMSProperties() - +Method in class org.apache.jmeter.protocol.jms.sampler.PublisherSampler +
  +
getJmsProperty(int) - +Method in class org.apache.jmeter.protocol.jms.sampler.JMSProperties +
Get a single JMSProperty. +
getJmsPropertyCount() - +Method in class org.apache.jmeter.protocol.jms.sampler.JMSProperties +
Get the number of JmsProperties in the list. +
getJmsPropertysAsMap() - +Method in class org.apache.jmeter.protocol.jms.sampler.JMSProperties +
Get the JmsProperties as a Map. +
getJMSSelector() - +Method in class org.apache.jmeter.protocol.jms.sampler.JMSSampler +
  +
getJmsSelector() - +Method in class org.apache.jmeter.protocol.jms.sampler.SubscriberSampler +
  +
getJNDIInitialContextFactory() - +Method in class org.apache.jmeter.protocol.jms.sampler.BaseJMSSampler +
method returns the initial context factory for jndi initial context + lookup. +
getJNDIProperties() - +Method in class org.apache.jmeter.protocol.jms.sampler.JMSSampler +
  +
getJTree() - +Method in class org.apache.jmeter.gui.tree.JMeterTreeListener +
Gets the JTree attribute of the JMeterTreeListener object. +
getJunit4() - +Method in class org.apache.jmeter.protocol.java.sampler.JUnitSampler +
Check if JUnit4 (annotations) are to be used instead of + the JUnit3 style (TestClass and specific method names) +
getJvm() - +Method in interface org.apache.jmeter.monitor.model.Status +
  +
getJvm() - +Method in class org.apache.jmeter.monitor.model.StatusImpl +
+
getKBPerSecond() - +Method in class org.apache.jmeter.util.Calculator +
Throughput in kilobytes / second +
getKBPerSecond() - +Method in class org.apache.jmeter.visualizers.SamplingStatCalculator +
Throughput in kilobytes / second +
getKeepAlive() - +Method in class org.apache.jmeter.util.SlowSSLSocket +
  +
getKey(SampleEvent, boolean) - +Static method in class org.apache.jmeter.samplers.StatisticalSampleResult +
Generates the key to be used for aggregating samples as follows:
+ sampleLabel "-" [threadName|threadGroup] + + N.B. the key should agree with the fixed items that are saved in the sample. +
getKey() - +Method in class org.apache.jmeter.visualizers.SamplerResultTab.RowResult +
  +
getKeyStore() - +Method in class org.apache.jmeter.util.SSLManager +
Opens and initializes the KeyStore. +
getKoMaxTime() - +Method in class org.apache.jmeter.visualizers.backend.SamplerMetric +
Get the maximal elapsed time for requests within sliding window +
getKoMean() - +Method in class org.apache.jmeter.visualizers.backend.SamplerMetric +
Get the arithmetic mean of the stored values +
getKoMinTime() - +Method in class org.apache.jmeter.visualizers.backend.SamplerMetric +
Get the minimal elapsed time for requests within sliding window +
getKoPercentile(double) - +Method in class org.apache.jmeter.visualizers.backend.SamplerMetric +
Returns an estimate for the requested percentile of the stored values. +
getKrb5Conf() - +Method in class org.apache.jmeter.protocol.http.control.KerberosManager +
  +
getKrb5Debug() - +Method in class org.apache.jmeter.protocol.http.control.KerberosManager +
  +
getLabel() - +Method in class org.apache.jmeter.control.gui.TreeNodeWrapper +
  +
getLabel() - +Method in class org.apache.jmeter.gui.util.MenuInfo +
  +
getLabel() - +Method in class org.apache.jmeter.protocol.ftp.sampler.FTPSampler +
Returns a formatted string label describing this sampler Example output: + ftp://ftp.nowhere.com/pub/README.txt +
getLabel() - +Method in class org.apache.jmeter.protocol.http.visualizers.RequestViewHTTP +
  +
getLabel() - +Method in class org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler +
Returns a formatted string label describing this sampler Example output: +
getLabel() - +Method in class org.apache.jmeter.protocol.ldap.sampler.LDAPSampler +
Returns a formatted string label describing this sampler +
getLabel() - +Method in class org.apache.jmeter.protocol.tcp.sampler.TCPSampler +
Returns a formatted string label describing this sampler Example output: + Tcp://Tcp.nowhere.com/pub/README.txt +
getLabel() - +Method in class org.apache.jmeter.util.Calculator +
  +
getLabel() - +Method in class org.apache.jmeter.visualizers.BarGraph +
  +
getLabel() - +Method in interface org.apache.jmeter.visualizers.RequestView +
Get the label. +
getLabel() - +Method in class org.apache.jmeter.visualizers.RequestViewRaw +
  +
getLabel() - +Method in class org.apache.jmeter.visualizers.RespTimeGraphLineBean +
  +
getLabel() - +Method in class org.apache.jmeter.visualizers.RunningSample +
  +
getLabel() - +Method in class org.apache.jmeter.visualizers.Sample +
  +
getLabel() - +Method in class org.apache.jmeter.visualizers.SamplingStatCalculator +
  +
getLabel() - +Method in class org.apache.jmeter.visualizers.TableSample +
  +
getLabel() - +Method in class org.apache.jorphan.gui.JLabeledChoice +
Returns the text of the label. +
getLabel() - +Method in class org.apache.jorphan.gui.JLabeledTextArea +
Returns the text of the label. +
getLabel() - +Method in class org.apache.jorphan.gui.JLabeledTextField +
Returns the text of the label. +
getLabelResource() - +Method in class org.apache.jmeter.assertions.gui.AssertionGui +
  +
getLabelResource() - +Method in class org.apache.jmeter.assertions.gui.BeanShellAssertionGui +
  +
getLabelResource() - +Method in class org.apache.jmeter.assertions.gui.DurationAssertionGui +
  +
getLabelResource() - +Method in class org.apache.jmeter.assertions.gui.HTMLAssertionGui +
Returns the label to be shown within the JTree-Component. +
getLabelResource() - +Method in class org.apache.jmeter.assertions.gui.MD5HexAssertionGUI +
  +
getLabelResource() - +Method in class org.apache.jmeter.assertions.gui.SizeAssertionGui +
  +
getLabelResource() - +Method in class org.apache.jmeter.assertions.gui.SMIMEAssertionGui +
  +
getLabelResource() - +Method in class org.apache.jmeter.assertions.gui.XMLAssertionGui +
Returns the label to be shown within the JTree-Component. +
getLabelResource() - +Method in class org.apache.jmeter.assertions.gui.XMLSchemaAssertionGUI +
Returns the label to be shown within the JTree-Component. +
getLabelResource() - +Method in class org.apache.jmeter.assertions.gui.XPathAssertionGui +
Returns the label to be shown within the JTree-Component. +
getLabelResource() - +Method in class org.apache.jmeter.config.gui.ArgumentsPanel +
  +
getLabelResource() - +Method in class org.apache.jmeter.config.gui.LoginConfigGui +
  +
getLabelResource() - +Method in class org.apache.jmeter.config.gui.ObsoleteGui +
  +
getLabelResource() - +Method in class org.apache.jmeter.config.gui.SimpleConfigGui +
  +
getLabelResource() - +Method in class org.apache.jmeter.control.gui.CriticalSectionControllerGui +
  +
getLabelResource() - +Method in class org.apache.jmeter.control.gui.ForeachControlPanel +
  +
getLabelResource() - +Method in class org.apache.jmeter.control.gui.IfControllerPanel +
  +
getLabelResource() - +Method in class org.apache.jmeter.control.gui.IncludeControllerGui +
  +
getLabelResource() - +Method in class org.apache.jmeter.control.gui.InterleaveControlGui +
  +
getLabelResource() - +Method in class org.apache.jmeter.control.gui.LogicControllerGui +
  +
getLabelResource() - +Method in class org.apache.jmeter.control.gui.LoopControlPanel +
  +
getLabelResource() - +Method in class org.apache.jmeter.control.gui.ModuleControllerGui +
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. +
getLabelResource() - +Method in class org.apache.jmeter.control.gui.OnceOnlyControllerGui +
  +
getLabelResource() - +Method in class org.apache.jmeter.control.gui.RandomControlGui +
  +
getLabelResource() - +Method in class org.apache.jmeter.control.gui.RandomOrderControllerGui +
  +
getLabelResource() - +Method in class org.apache.jmeter.control.gui.RunTimeGui +
  +
getLabelResource() - +Method in class org.apache.jmeter.control.gui.SwitchControllerGui +
  +
getLabelResource() - +Method in class org.apache.jmeter.control.gui.TestFragmentControllerGui +
  +
getLabelResource() - +Method in class org.apache.jmeter.control.gui.TestPlanGui +
  +
getLabelResource() - +Method in class org.apache.jmeter.control.gui.ThroughputControllerGui +
  +
getLabelResource() - +Method in class org.apache.jmeter.control.gui.TransactionControllerGui +
  +
getLabelResource() - +Method in class org.apache.jmeter.control.gui.WhileControllerGui +
  +
getLabelResource() - +Method in class org.apache.jmeter.control.gui.WorkBenchGui +
  +
getLabelResource() - +Method in class org.apache.jmeter.examples.sampler.gui.ExampleSamplerGui +
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. +
getLabelResource() - +Method in class org.apache.jmeter.extractor.gui.HtmlExtractorGui +
  +
getLabelResource() - +Method in class org.apache.jmeter.extractor.gui.RegexExtractorGui +
  +
getLabelResource() - +Method in class org.apache.jmeter.extractor.gui.XPathExtractorGui +
  +
getLabelResource() - +Method in interface org.apache.jmeter.gui.JMeterGUIComponent +
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. +
getLabelResource() - +Method in class org.apache.jmeter.gui.NamePanel +
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. +
getLabelResource() - +Method in class org.apache.jmeter.modifiers.gui.CounterConfigGui +
  +
getLabelResource() - +Method in class org.apache.jmeter.modifiers.gui.UserParametersGui +
  +
getLabelResource() - +Method in class org.apache.jmeter.protocol.ftp.config.gui.FtpConfigGui +
  +
getLabelResource() - +Method in class org.apache.jmeter.protocol.ftp.control.gui.FtpTestSamplerGui +
  +
getLabelResource() - +Method in class org.apache.jmeter.protocol.http.config.gui.HttpDefaultsGui +
  +
getLabelResource() - +Method in class org.apache.jmeter.protocol.http.control.gui.HttpMirrorControlGui +
  +
getLabelResource() - +Method in class org.apache.jmeter.protocol.http.control.gui.HttpTestSampleGui +
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. +
getLabelResource() - +Method in class org.apache.jmeter.protocol.http.control.gui.RecordController +
  +
getLabelResource() - +Method in class org.apache.jmeter.protocol.http.control.gui.SoapSamplerGui +
  +
getLabelResource() - +Method in class org.apache.jmeter.protocol.http.control.gui.WebServiceSamplerGui +
  +
getLabelResource() - +Method in class org.apache.jmeter.protocol.http.gui.AuthPanel +
  +
getLabelResource() - +Method in class org.apache.jmeter.protocol.http.gui.CacheManagerGui +
  +
getLabelResource() - +Method in class org.apache.jmeter.protocol.http.gui.CookiePanel +
  +
getLabelResource() - +Method in class org.apache.jmeter.protocol.http.gui.DNSCachePanel +
  +
getLabelResource() - +Method in class org.apache.jmeter.protocol.http.gui.HeaderPanel +
  +
getLabelResource() - +Method in class org.apache.jmeter.protocol.http.modifier.gui.AnchorModifierGui +
  +
getLabelResource() - +Method in class org.apache.jmeter.protocol.http.modifier.gui.ParamModifierGui +
  +
getLabelResource() - +Method in class org.apache.jmeter.protocol.http.modifier.gui.RegExUserParametersGui +
  +
getLabelResource() - +Method in class org.apache.jmeter.protocol.http.modifier.gui.URLRewritingModifierGui +
  +
getLabelResource() - +Method in class org.apache.jmeter.protocol.http.proxy.gui.ProxyControlGui +
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. +
getLabelResource() - +Method in class org.apache.jmeter.protocol.java.config.gui.JavaConfigGui +
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. +
getLabelResource() - +Method in class org.apache.jmeter.protocol.java.control.gui.BeanShellSamplerGui +
  +
getLabelResource() - +Method in class org.apache.jmeter.protocol.java.control.gui.JavaTestSamplerGui +
  +
getLabelResource() - +Method in class org.apache.jmeter.protocol.java.control.gui.JUnitTestSamplerGui +
  +
getLabelResource() - +Method in class org.apache.jmeter.protocol.jms.control.gui.JMSPublisherGui +
the name of the property for the JMSPublisherGui is jms_publisher. +
getLabelResource() - +Method in class org.apache.jmeter.protocol.jms.control.gui.JMSSamplerGui +
  +
getLabelResource() - +Method in class org.apache.jmeter.protocol.jms.control.gui.JMSSubscriberGui +
  +
getLabelResource() - +Method in class org.apache.jmeter.protocol.ldap.config.gui.LDAPArgumentsPanel +
  +
getLabelResource() - +Method in class org.apache.jmeter.protocol.ldap.config.gui.LdapConfigGui +
  +
getLabelResource() - +Method in class org.apache.jmeter.protocol.ldap.config.gui.LdapExtConfigGui +
  +
getLabelResource() - +Method in class org.apache.jmeter.protocol.ldap.control.gui.LdapExtTestSamplerGui +
  +
getLabelResource() - +Method in class org.apache.jmeter.protocol.ldap.control.gui.LdapTestSamplerGui +
  +
getLabelResource() - +Method in class org.apache.jmeter.protocol.mail.sampler.gui.MailReaderSamplerGui +
  +
getLabelResource() - +Method in class org.apache.jmeter.protocol.smtp.sampler.gui.SmtpSamplerGui +
Method to be implemented by interface, overwritten by getStaticLabel(). +
getLabelResource() - +Method in class org.apache.jmeter.protocol.system.gui.SystemSamplerGui +
  +
getLabelResource() - +Method in class org.apache.jmeter.protocol.tcp.config.gui.TCPConfigGui +
  +
getLabelResource() - +Method in class org.apache.jmeter.protocol.tcp.control.gui.TCPSamplerGui +
  +
getLabelResource() - +Method in class org.apache.jmeter.reporters.gui.ResultActionGui +
  +
getLabelResource() - +Method in class org.apache.jmeter.reporters.gui.ResultSaverGui +
  +
getLabelResource() - +Method in class org.apache.jmeter.reporters.gui.SummariserGui +
  +
getLabelResource() - +Method in class org.apache.jmeter.sampler.gui.TestActionGui +
  +
getLabelResource() - +Method in class org.apache.jmeter.testbeans.gui.TestBeanGUI +
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. +
getLabelResource() - +Method in class org.apache.jmeter.threads.gui.PostThreadGroupGui +
  +
getLabelResource() - +Method in class org.apache.jmeter.threads.gui.SetupThreadGroupGui +
  +
getLabelResource() - +Method in class org.apache.jmeter.threads.gui.ThreadGroupGui +
  +
getLabelResource() - +Method in class org.apache.jmeter.timers.gui.AbstractRandomTimerGui +
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. +
getLabelResource() - +Method in class org.apache.jmeter.timers.gui.ConstantTimerGui +
  +
getLabelResource() - +Method in class org.apache.jmeter.timers.gui.GaussianRandomTimerGui +
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. +
getLabelResource() - +Method in class org.apache.jmeter.timers.gui.PoissonRandomTimerGui +
  +
getLabelResource() - +Method in class org.apache.jmeter.timers.gui.UniformRandomTimerGui +
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. +
getLabelResource() - +Method in class org.apache.jmeter.visualizers.AssertionVisualizer +
  +
getLabelResource() - +Method in class org.apache.jmeter.visualizers.backend.BackendListenerGui +
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. +
getLabelResource() - +Method in class org.apache.jmeter.visualizers.ComparisonVisualizer +
  +
getLabelResource() - +Method in class org.apache.jmeter.visualizers.DistributionGraphVisualizer +
  +
getLabelResource() - +Method in class org.apache.jmeter.visualizers.GraphVisualizer +
  +
getLabelResource() - +Method in class org.apache.jmeter.visualizers.MailerVisualizer +
  +
getLabelResource() - +Method in class org.apache.jmeter.visualizers.MonitorHealthVisualizer +
  +
getLabelResource() - +Method in class org.apache.jmeter.visualizers.PropertyControlGui +
  +
getLabelResource() - +Method in class org.apache.jmeter.visualizers.RespTimeGraphVisualizer +
  +
getLabelResource() - +Method in class org.apache.jmeter.visualizers.SimpleDataWriter +
  +
getLabelResource() - +Method in class org.apache.jmeter.visualizers.SplineVisualizer +
  +
getLabelResource() - +Method in class org.apache.jmeter.visualizers.StatGraphVisualizer +
  +
getLabelResource() - +Method in class org.apache.jmeter.visualizers.StatVisualizer +
  +
getLabelResource() - +Method in class org.apache.jmeter.visualizers.SummaryReport +
  +
getLabelResource() - +Method in class org.apache.jmeter.visualizers.TableVisualizer +
  +
getLabelResource() - +Method in class org.apache.jmeter.visualizers.ViewResultsFullVisualizer +
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. +
getLanguages() - +Static method in class org.apache.jmeter.gui.util.JMeterMenuBar +
Generate the list of supported languages. +
getLastJFCDirectory() - +Static method in class org.apache.jmeter.gui.util.FileDialoger +
  +
getLastSample() - +Method in class org.apache.jmeter.visualizers.MonitorAccumModel +
Added this method we that we can save the calculated stats. +
getLatency() - +Method in class org.apache.jmeter.samplers.SampleResult +
  +
getLatency() - +Method in class org.apache.jmeter.visualizers.TableSample +
  +
getLDAPArguments() - +Method in class org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler +
Gets the LDAPArguments attribute of the LdapConfig object +
getLegendFont() - +Method in class org.apache.jmeter.visualizers.AxisGraph +
  +
getLegendFont() - +Method in class org.apache.jmeter.visualizers.RespTimeGraphChart +
  +
getLegendPlacement() - +Method in class org.apache.jmeter.visualizers.AxisGraph +
  +
getLegendPlacement() - +Method in class org.apache.jmeter.visualizers.RespTimeGraphChart +
  +
getLineColor() - +Method in class org.apache.jmeter.visualizers.RespTimeGraphLineBean +
  +
getListener() - +Method in class org.apache.jmeter.samplers.BatchSampleSender +
  +
getLoad() - +Method in class org.apache.jmeter.visualizers.MonitorModel +
  +
getLoad() - +Method in class org.apache.jmeter.visualizers.MonitorStats +
  +
getLocalAddress() - +Method in class org.apache.jmeter.util.SlowSSLSocket +
  +
getLocale() - +Static method in class org.apache.jmeter.util.JMeterUtils +
Gets the current locale. +
getLocale() - +Method in class org.apache.jmeter.util.LocaleChangeEvent +
  +
getLocaleString(String) - +Static method in class org.apache.jmeter.util.JMeterUtils +
Get the locale name as a resource. +
getLocalFilename() - +Method in class org.apache.jmeter.protocol.ftp.sampler.FTPSampler +
  +
getLocalHostFullName() - +Static method in class org.apache.jmeter.util.JMeterUtils +
Returns the cached result from calling + InetAddress.getLocalHost().getCanonicalHostName() +
getLocalHostIP() - +Static method in class org.apache.jmeter.util.JMeterUtils +
Returns the cached result from calling + InetAddress.getLocalHost().getHostAddress() +
getLocalHostName() - +Static method in class org.apache.jmeter.util.JMeterUtils +
Returns the cached result from calling + InetAddress.getLocalHost().getHostName() +
getLocalPort() - +Method in class org.apache.jmeter.util.SlowSSLSocket +
  +
getLocalSocketAddress() - +Method in class org.apache.jmeter.util.SlowSSLSocket +
  +
getLockName() - +Method in class org.apache.jmeter.control.CriticalSectionController +
  +
getLogFile() - +Method in class org.apache.jmeter.protocol.http.sampler.AccessLogSampler +
Get the path where XML messages are stored. this is the directory where + JMeter will randomly select a file. +
getLogger() - +Method in class org.apache.jmeter.protocol.java.sampler.AbstractJavaSamplerClient +
Get a Logger instance which can be used by subclasses to log information. +
getLogger() - +Method in class org.apache.jmeter.visualizers.backend.AbstractBackendListenerClient +
Get a Logger instance which can be used by subclasses to log information. +
getLoggerFor(String) - +Static method in class org.apache.jorphan.logging.LoggingManager +
Get the Logger for a class. +
getLoggerForClass() - +Static method in class org.apache.jorphan.logging.LoggingManager +
Get the Logger for a class - no argument needed because the calling class + name is derived automatically from the call stack. +
getLoggerForShortName(String) - +Static method in class org.apache.jorphan.logging.LoggingManager +
Get the Logger for a class. +
getLoggerPanel() - +Method in class org.apache.jmeter.gui.GuiPackage +
  +
getLogin() - +Method in class org.apache.jmeter.reporters.MailerModel +
  +
getLong(Object, long) - +Static method in class org.apache.jorphan.util.Converter +
Converts object to a long, return defaultValue if object is + not convertible or is null. +
getLong(Object) - +Static method in class org.apache.jorphan.util.Converter +
Converts object to a long, defaults to 0 if object is not + convertible or is null +
getLongParameter(String) - +Method in class org.apache.jmeter.protocol.java.sampler.JavaSamplerContext +
Get the value of a specified parameter as a long. +
getLongParameter(String, long) - +Method in class org.apache.jmeter.protocol.java.sampler.JavaSamplerContext +
Get the value of a specified parameter as along, or return the specified + default value if the value was not specified or is not a long. +
getLongParameter(String) - +Method in class org.apache.jmeter.visualizers.backend.BackendListenerContext +
Get the value of a specified parameter as a long. +
getLongParameter(String, long) - +Method in class org.apache.jmeter.visualizers.backend.BackendListenerContext +
Get the value of a specified parameter as along, or return the specified + default value if the value was not specified or is not a long. +
getLongValue() - +Method in class org.apache.jmeter.testelement.property.AbstractProperty +
Returns 0 if string is invalid or null. +
getLongValue() - +Method in class org.apache.jmeter.testelement.property.DoubleProperty +
  +
getLongValue() - +Method in class org.apache.jmeter.testelement.property.FloatProperty +
Returns 0 if string is invalid or null. +
getLongValue() - +Method in class org.apache.jmeter.testelement.property.IntegerProperty +
  +
getLongValue() - +Method in interface org.apache.jmeter.testelement.property.JMeterProperty +
  +
getLongValue() - +Method in class org.apache.jmeter.testelement.property.LongProperty +
  +
getLongValue() - +Method in class org.apache.jmeter.testelement.property.NullProperty +
  +
getLoops() - +Method in class org.apache.jmeter.control.LoopController +
  +
getLoopString() - +Method in class org.apache.jmeter.control.LoopController +
  +
getLowerBound() - +Method in class org.apache.jmeter.protocol.http.modifier.ParamMask +
Accessor method, returns the lowest possible value that the + long portion of the parameter value may be. +
getMailAuthType() - +Method in class org.apache.jmeter.reporters.MailerModel +
  +
getMailerModel() - +Method in class org.apache.jmeter.reporters.MailerResultCollector +
  +
getMailFrom() - +Method in class org.apache.jmeter.protocol.smtp.sampler.gui.SmtpPanel +
Returns sender-address for e-mail from textfield +
getMailReplyTo() - +Method in class org.apache.jmeter.protocol.smtp.sampler.gui.SmtpPanel +
  +
getMainFrame() - +Method in class org.apache.jmeter.gui.GuiPackage +
Get the main JMeter frame. +
getMaintainSession() - +Method in class org.apache.jmeter.protocol.http.sampler.WebServiceSampler +
Get the maintain session option. +
getMainToolbar() - +Method in class org.apache.jmeter.gui.GuiPackage +
Get the main JMeter toolbar. +
getManagedContentTypes() - +Method in class org.apache.jmeter.protocol.http.proxy.DefaultSamplerCreator +
  +
getManagedContentTypes() - +Method in interface org.apache.jmeter.protocol.http.proxy.SamplerCreator +
  +
getManager() - +Method in class org.apache.jmeter.util.BSFTestElement +
  +
getMask() - +Method in class org.apache.jmeter.protocol.http.modifier.ParamModifier +
  +
getMatcher() - +Static method in class org.apache.jmeter.util.JMeterUtils +
Gets Perl5Matcher for this thread. +
getMatchNumber() - +Method in class org.apache.jmeter.extractor.HtmlExtractor +
  +
getMatchNumber() - +Method in class org.apache.jmeter.extractor.RegexExtractor +
  +
getMatchNumberAsString() - +Method in class org.apache.jmeter.extractor.HtmlExtractor +
  +
getMatchNumberAsString() - +Method in class org.apache.jmeter.extractor.RegexExtractor +
  +
getMax() - +Method in interface org.apache.jmeter.monitor.model.Memory +
  +
getMax() - +Method in class org.apache.jmeter.monitor.model.MemoryImpl +
  +
getMax() - +Method in class org.apache.jmeter.util.Calculator +
  +
getMax() - +Method in class org.apache.jmeter.visualizers.RunningSample +
Returns the time in milliseconds of the slowest sample. +
getMax() - +Method in class org.apache.jmeter.visualizers.SamplingStatCalculator +
  +
getMax() - +Method in class org.apache.jorphan.math.StatCalculator +
  +
getMaxActiveThreads() - +Method in class org.apache.jmeter.visualizers.backend.UserMetric +
  +
getMaxAutoConnectRetryTime() - +Method in class org.apache.jmeter.protocol.mongodb.config.MongoSourceElement +
  +
getMaximum() - +Method in class org.apache.jmeter.visualizers.SplineModel +
  +
getMaximumValue() - +Method in class org.apache.jmeter.config.RandomVariableConfig +
  +
getMaxIterations() - +Method in class org.apache.jmeter.visualizers.Spline3 +
  +
getMaxPoolSizeAsString() - +Method in class org.apache.jmeter.protocol.http.control.HttpMirrorControl +
  +
getMaxQueueSizeAsString() - +Method in class org.apache.jmeter.protocol.http.control.HttpMirrorControl +
  +
getMaxSize() - +Method in class org.apache.jmeter.protocol.http.control.CacheManager +
  +
getMaxSpareThreads() - +Method in interface org.apache.jmeter.monitor.model.ThreadInfo +
  +
getMaxSpareThreads() - +Method in class org.apache.jmeter.monitor.model.ThreadInfoImpl +
  +
getMaxThreads() - +Method in interface org.apache.jmeter.monitor.model.ThreadInfo +
  +
getMaxThreads() - +Method in class org.apache.jmeter.monitor.model.ThreadInfoImpl +
  +
getMaxThroughput() - +Method in class org.apache.jmeter.control.ThroughputController +
  +
getMaxThroughput() - +Method in class org.apache.jmeter.visualizers.SamplingStatCalculator +
  +
getMaxThroughputAsInt() - +Method in class org.apache.jmeter.control.ThroughputController +
  +
getMaxTime() - +Method in interface org.apache.jmeter.monitor.model.RequestInfo +
  +
getMaxTime() - +Method in class org.apache.jmeter.monitor.model.RequestInfoImpl +
  +
getMaxWaitTime() - +Method in class org.apache.jmeter.protocol.mongodb.config.MongoSourceElement +
  +
getMaxYAxisScale() - +Method in class org.apache.jmeter.visualizers.AxisGraph +
  +
getMaxYAxisScale() - +Method in class org.apache.jmeter.visualizers.RespTimeGraphChart +
  +
getMean() - +Method in class org.apache.jmeter.util.Calculator +
  +
getMean() - +Method in class org.apache.jmeter.visualizers.SamplingStatCalculator +
  +
getMean() - +Method in class org.apache.jorphan.math.StatCalculator +
  +
getMeanActiveThreads() - +Method in class org.apache.jmeter.visualizers.backend.UserMetric +
  +
getMeanAsNumber() - +Method in class org.apache.jmeter.util.Calculator +
  +
getMeanAsNumber() - +Method in class org.apache.jmeter.visualizers.SamplingStatCalculator +
  +
getMechanism() - +Method in class org.apache.jmeter.protocol.http.control.Authorization +
  +
getMedian() - +Method in class org.apache.jmeter.visualizers.Sample +
  +
getMedian() - +Method in class org.apache.jmeter.visualizers.SamplingStatCalculator +
  +
getMedian() - +Method in class org.apache.jorphan.math.StatCalculator +
  +
getMediaType() - +Method in class org.apache.jmeter.samplers.SampleResult +
Get the media type from the Content Type +
getMemload() - +Method in class org.apache.jmeter.visualizers.MonitorModel +
  +
getMemLoad() - +Method in class org.apache.jmeter.visualizers.MonitorStats +
  +
getMemory() - +Method in interface org.apache.jmeter.monitor.model.Jvm +
  +
getMemory() - +Method in class org.apache.jmeter.monitor.model.JvmImpl +
+
getMemoryCache() - +Method in class org.apache.jmeter.protocol.http.sampler.WebServiceSampler +
Get the memory cache. +
getMenuCategories() - +Method in class org.apache.jmeter.assertions.gui.AbstractAssertionGui +
This is the list of menu categories this gui component will be available + under. +
getMenuCategories() - +Method in class org.apache.jmeter.config.gui.AbstractConfigGui +
This is the list of menu categories this gui component will be available + under. +
getMenuCategories() - +Method in class org.apache.jmeter.config.gui.ArgumentsPanel +
This is the list of menu categories this gui component will be available + under. +
getMenuCategories() - +Method in class org.apache.jmeter.config.gui.ObsoleteGui +
  +
getMenuCategories() - +Method in class org.apache.jmeter.control.gui.AbstractControllerGui +
This is the list of menu categories this gui component will be available + under. +
getMenuCategories() - +Method in class org.apache.jmeter.control.gui.TestFragmentControllerGui +
Over-ride this so that we add ourselves to the Test Fragment Category instead. +
getMenuCategories() - +Method in class org.apache.jmeter.control.gui.TestPlanGui +
This is the list of menu categories this gui component will be available + under. +
getMenuCategories() - +Method in class org.apache.jmeter.control.gui.WorkBenchGui +
This is the list of menu categories this gui component will be available + under. +
getMenuCategories() - +Method in interface org.apache.jmeter.gui.JMeterGUIComponent +
This is the list of add menu categories this gui component will be + available under. +
getMenuCategories() - +Method in class org.apache.jmeter.gui.NamePanel +
This is the list of add menu categories this gui component will be + available under. +
getMenuCategories() - +Method in class org.apache.jmeter.gui.tree.JMeterTreeNode +
  +
getMenuCategories() - +Method in class org.apache.jmeter.processor.gui.AbstractPostProcessorGui +
  +
getMenuCategories() - +Method in class org.apache.jmeter.processor.gui.AbstractPreProcessorGui +
  +
getMenuCategories() - +Method in class org.apache.jmeter.protocol.http.control.gui.HttpMirrorControlGui +
  +
getMenuCategories() - +Method in class org.apache.jmeter.protocol.http.proxy.gui.ProxyControlGui +
This is the list of menu categories this gui component will be available + under. +
getMenuCategories() - +Method in class org.apache.jmeter.protocol.ldap.config.gui.LDAPArgumentsPanel +
This is the list of menu categories this gui component will be available + under. +
getMenuCategories() - +Method in class org.apache.jmeter.samplers.gui.AbstractSamplerGui +
This is the list of menu categories this gui component will be available + under. +
getMenuCategories() - +Method in class org.apache.jmeter.testbeans.gui.TestBeanGUI +
This is the list of add menu categories this gui component will be + available under. +
getMenuCategories() - +Method in class org.apache.jmeter.threads.gui.AbstractThreadGroupGui +
  +
getMenuCategories() - +Method in class org.apache.jmeter.timers.gui.AbstractTimerGui +
This is the list of menu categories this gui component will be available + under. +
getMenuCategories() - +Method in class org.apache.jmeter.visualizers.gui.AbstractListenerGui +
This is the list of menu categories this gui component will be available + under. +
getMenuCategories() - +Method in class org.apache.jmeter.visualizers.PropertyControlGui +
  +
getMenuItemLoggerPanel() - +Method in class org.apache.jmeter.gui.GuiPackage +
Get the menu item LoggerPanel. +
getMenuItemsAtLocation(MenuCreator.MENU_LOCATION) - +Method in interface org.apache.jmeter.gui.plugin.MenuCreator +
MenuItems to be added in location menu +
getMenuItemToolbar() - +Method in class org.apache.jmeter.gui.GuiPackage +
Get the menu item toolbar. +
getMessage(long) - +Method in class org.apache.jmeter.protocol.jms.client.ReceiveSubscriber +
Get the next message or null. +
getMessage(int) - +Method in class org.apache.jmeter.protocol.mail.sampler.MailFileFolder +
  +
getMessageChoice() - +Method in class org.apache.jmeter.protocol.jms.sampler.PublisherSampler +
  +
getMessageCount() - +Method in class org.apache.jmeter.protocol.mail.sampler.MailFileFolder +
  +
getMessageHeaders(Message) - +Static method in class org.apache.jmeter.protocol.jms.sampler.BaseJMSSampler +
Returns a String with the JMS Message Header values. +
getMetaData() - +Method in class org.apache.jmeter.config.Argument +
Gets the Meta Data attribute of the Argument. +
getMetaData() - +Method in class org.apache.jmeter.protocol.ldap.config.gui.LDAPArgument +
Gets the Meta Data attribute of the Argument. +
getMethod() - +Method in interface org.apache.jmeter.monitor.model.Worker +
  +
getMethod() - +Method in class org.apache.jmeter.monitor.model.WorkerImpl +
  +
getMethod() - +Method in class org.apache.jmeter.protocol.http.proxy.HttpRequestHdr +
Returns the method string extracted from the first line of the client request. +
getMethod() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl.HttpDelete +
  +
getMethod() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
getMethod() - +Method in class org.apache.jmeter.protocol.http.sampler.HttpWebdav +
  +
getMethod() - +Method in class org.apache.jmeter.protocol.java.sampler.JUnitSampler +
  +
getMethodDescriptors() - +Method in class org.apache.jmeter.testbeans.BeanInfoSupport +
+
getMethodDescriptors() - +Method in class org.apache.jmeter.testbeans.TestBeanBeanInfo +
+
getMethodDescriptors() - +Method in class org.apache.jmeter.testelement.AbstractTestElementBeanInfo +
+
getMetricsPerSampler() - +Method in class org.apache.jmeter.visualizers.backend.AbstractBackendListenerClient +
  +
getMimeType() - +Method in class org.apache.jmeter.protocol.http.util.HTTPFileArg +
Get the mimetype of the File. +
getMin() - +Method in class org.apache.jmeter.util.Calculator +
  +
getMin() - +Method in class org.apache.jmeter.visualizers.RunningSample +
Returns the time in milliseconds of the quickest sample. +
getMin() - +Method in class org.apache.jmeter.visualizers.SamplingStatCalculator +
  +
getMin() - +Method in class org.apache.jorphan.math.StatCalculator +
  +
getMinActiveThreads() - +Method in class org.apache.jmeter.visualizers.backend.UserMetric +
  +
getMinimum() - +Method in class org.apache.jmeter.visualizers.SplineModel +
  +
getMinimumValue() - +Method in class org.apache.jmeter.config.RandomVariableConfig +
  +
getMinSpareThreads() - +Method in interface org.apache.jmeter.monitor.model.ThreadInfo +
  +
getMinSpareThreads() - +Method in class org.apache.jmeter.monitor.model.ThreadInfoImpl +
  +
getModel() - +Method in class org.apache.jmeter.visualizers.gui.AbstractVisualizer +
Provides access to the ResultCollector model class for extending + implementations. +
getMongoDB(String) - +Static method in class org.apache.jmeter.protocol.mongodb.config.MongoSourceElement +
  +
getMonitor() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
getMultipartConfig(String) - +Method in class org.apache.jmeter.protocol.http.proxy.HttpRequestHdr +
  +
getMyBoolean1() - +Method in class org.apache.jmeter.examples.testbeans.example3.Example3 +
  +
getMyBoolean2() - +Method in class org.apache.jmeter.examples.testbeans.example3.Example3 +
  +
getMyFile1() - +Method in class org.apache.jmeter.examples.testbeans.example3.Example3 +
  +
getMyFile2() - +Method in class org.apache.jmeter.examples.testbeans.example3.Example3 +
  +
getMyInt() - +Method in class org.apache.jmeter.examples.testbeans.example3.Example3 +
  +
getMyInteger1() - +Method in class org.apache.jmeter.examples.testbeans.example3.Example3 +
  +
getMyInteger2() - +Method in class org.apache.jmeter.examples.testbeans.example3.Example3 +
  +
getMylong() - +Method in class org.apache.jmeter.examples.testbeans.example3.Example3 +
  +
getMyLong1() - +Method in class org.apache.jmeter.examples.testbeans.example3.Example3 +
  +
getMyLong2() - +Method in class org.apache.jmeter.examples.testbeans.example3.Example3 +
  +
getMyString1() - +Method in class org.apache.jmeter.examples.testbeans.example3.Example3 +
  +
getMyString2() - +Method in class org.apache.jmeter.examples.testbeans.example3.Example3 +
  +
getMyStringProperty() - +Method in class org.apache.jmeter.examples.testbeans.example1.Example1 +
  +
getMyStringProperty() - +Method in class org.apache.jmeter.examples.testbeans.example2.Example2 +
  +
getName() - +Method in class org.apache.jmeter.assertions.AssertionResult +
Get the name of the assertion +
getName() - +Method in class org.apache.jmeter.config.Argument +
Get the name of the Argument. +
getName() - +Method in class org.apache.jmeter.engine.util.SimpleVariable +
  +
getName() - +Method in class org.apache.jmeter.gui.AbstractJMeterGuiComponent +
Provides a default implementation for the name property. +
getName() - +Method in class org.apache.jmeter.gui.action.template.Template +
  +
getName() - +Method in interface org.apache.jmeter.gui.JMeterGUIComponent +
Gets the name of the JMeter GUI component. +
getName() - +Method in class org.apache.jmeter.gui.NamePanel +
Get the currently displayed name. +
getName() - +Method in class org.apache.jmeter.gui.tree.JMeterTreeNode +
+
getName() - +Method in interface org.apache.jmeter.gui.tree.NamedTreeNode +
  +
getName() - +Method in interface org.apache.jmeter.monitor.model.Connector +
  +
getName() - +Method in class org.apache.jmeter.monitor.model.ConnectorImpl +
  +
getName() - +Method in class org.apache.jmeter.protocol.http.control.Header +
Get the name for this object. +
getName() - +Method in class org.apache.jmeter.protocol.http.util.accesslog.NVPair +
Return the name +
getName() - +Method in class org.apache.jmeter.protocol.jms.sampler.JMSProperty +
Get the name of the JmsProperty. +
getName() - +Method in class org.apache.jmeter.protocol.ldap.config.gui.LDAPArgument +
Get the name of the Argument. +
getName() - +Method in class org.apache.jmeter.protocol.mail.sampler.MailFileFolder +
  +
getName() - +Method in class org.apache.jmeter.testelement.AbstractTestElement +
  +
getName() - +Method in class org.apache.jmeter.testelement.property.AbstractProperty +
The name of the property. +
getName() - +Method in interface org.apache.jmeter.testelement.property.JMeterProperty +
The name of the property. +
getName() - +Method in interface org.apache.jmeter.testelement.TestElement +
Get the name of this test element +
getName() - +Method in interface org.apache.jmeter.util.NamedObject +
  +
getName() - +Method in class org.apache.jmeter.visualizers.SplineModel +
  +
getNamePanel() - +Method in class org.apache.jmeter.gui.AbstractJMeterGuiComponent +
Provides the Name Panel for extending classes. +
getNames() - +Method in class org.apache.jmeter.modifiers.UserParameters +
  +
getNamespaceForPrefix(String, Node) - +Method in class org.apache.jmeter.util.PropertiesBasedPrefixResolver +
Searches prefix in NAMESPACE_MAP, if it fails to find it defaults to parent implementation +
getNeedClientAuth() - +Method in class org.apache.jmeter.util.SlowSSLSocket +
  +
getNegatedCheckBox() - +Method in class org.apache.jmeter.assertions.gui.XPathPanel +
Negated chechbox +
getNextType(HierarchicalStreamReader) - +Method in class org.apache.jmeter.save.ScriptWrapperConverter +
  +
getNextUserMods() - +Method in class org.apache.jmeter.protocol.http.modifier.UserSequence +
Returns the parameter data for the next user in the sequence +
getNextValue() - +Method in class org.apache.jmeter.protocol.http.modifier.ParamMask +
Returns the current value, prefixed and suffixed, as a string, then + increments it. +
getNoDelay() - +Method in class org.apache.jmeter.protocol.tcp.sampler.TCPSampler +
  +
getNodeOf(TestElement) - +Method in class org.apache.jmeter.gui.GuiPackage +
Find the JMeterTreeNode for a certain TestElement object. +
getNodeOf(TestElement) - +Method in class org.apache.jmeter.gui.tree.JMeterTreeModel +
Get the node for a given TestElement object. +
getNodePath() - +Method in class org.apache.jmeter.control.ModuleController +
  +
getNodesOfType(Class<?>) - +Method in class org.apache.jmeter.gui.tree.JMeterTreeModel +
Returns a list of tree nodes that hold objects of the given class type. +
getNotifyChildSamplerListenerOfFilteredSamplers() - +Method in class org.apache.jmeter.protocol.http.proxy.ProxyControl +
  +
getNumberFieldErrorListener() - +Static method in class org.apache.jmeter.gui.util.NumberFieldErrorListener +
  +
getNumberOfCollectedSamples() - +Method in class org.apache.jmeter.visualizers.SplineModel +
  +
getNumberOfThreads() - +Method in class org.apache.jmeter.threads.AbstractThreadGroup +
Get the number of active threads +
getNumberOfThreads() - +Static method in class org.apache.jmeter.threads.JMeterContextService +
Get the number of currently active threads +
getNumMessages() - +Method in class org.apache.jmeter.protocol.mail.sampler.MailReaderSampler +
  +
getNumMessagesString() - +Method in class org.apache.jmeter.protocol.mail.sampler.MailReaderSampler +
  +
getNumSamples() - +Method in class org.apache.jmeter.visualizers.RunningSample +
Returns the number of samples that have been recorded by this instance of + the RunningSample class. +
getNumThreads() - +Method in class org.apache.jmeter.threads.AbstractThreadGroup +
Get the number of threads. +
getObject(String) - +Method in class org.apache.jmeter.threads.JMeterVariables +
Gets the value of a variable (not converted to String). +
getObjectList() - +Method in class org.apache.jorphan.gui.ObjectTableModel +
  +
getObjectValue() - +Method in class org.apache.jmeter.testelement.property.BooleanProperty +
+
getObjectValue() - +Method in class org.apache.jmeter.testelement.property.CollectionProperty +
+
getObjectValue() - +Method in class org.apache.jmeter.testelement.property.DoubleProperty +
+
getObjectValue() - +Method in class org.apache.jmeter.testelement.property.FloatProperty +
+
getObjectValue() - +Method in class org.apache.jmeter.testelement.property.FunctionProperty +
  +
getObjectValue() - +Method in class org.apache.jmeter.testelement.property.IntegerProperty +
  +
getObjectValue() - +Method in interface org.apache.jmeter.testelement.property.JMeterProperty +
  +
getObjectValue() - +Method in class org.apache.jmeter.testelement.property.LongProperty +
  +
getObjectValue() - +Method in class org.apache.jmeter.testelement.property.MapProperty +
+
getObjectValue() - +Method in class org.apache.jmeter.testelement.property.NullProperty +
  +
getObjectValue() - +Method in class org.apache.jmeter.testelement.property.ObjectProperty +
+
getObjectValue() - +Method in class org.apache.jmeter.testelement.property.StringProperty +
  +
getObjectValue() - +Method in class org.apache.jmeter.testelement.property.TestElementProperty +
+
getOkMaxTime() - +Method in class org.apache.jmeter.visualizers.backend.SamplerMetric +
Get the maximal elapsed time for requests within sliding window +
getOkMean() - +Method in class org.apache.jmeter.visualizers.backend.SamplerMetric +
Get the arithmetic mean of the stored values +
getOkMinTime() - +Method in class org.apache.jmeter.visualizers.backend.SamplerMetric +
Get the minimal elapsed time for requests within sliding window +
getOkPercentile(double) - +Method in class org.apache.jmeter.visualizers.backend.SamplerMetric +
Returns an estimate for the requested percentile of the stored values. +
getOnErrorSetting() - +Method in class org.apache.jmeter.gui.OnErrorPanel +
  +
getOnErrorStartNextLoop() - +Method in class org.apache.jmeter.threads.AbstractThreadGroup +
Check if a sampler error should cause thread to start next loop. +
getOnErrorStopTest() - +Method in class org.apache.jmeter.threads.AbstractThreadGroup +
Check if a sampler error should cause test to stop. +
getOnErrorStopTestNow() - +Method in class org.apache.jmeter.threads.AbstractThreadGroup +
Check if a sampler error should cause test to stop now. +
getOnErrorStopThread() - +Method in class org.apache.jmeter.threads.AbstractThreadGroup +
Check if a sampler error should cause thread to stop. +
getOOBInline() - +Method in class org.apache.jmeter.util.SlowSSLSocket +
  +
getOpcode() - +Method in class org.apache.jmeter.protocol.ldap.config.gui.LDAPArgument +
Gets the opcode of the Argument object. +
getOperations() - +Method in class org.apache.jmeter.protocol.http.util.WSDLHelper +
Look at the bindings with soap operations and get the soap operations. +
getOutputFormat() - +Method in class org.apache.jmeter.config.RandomVariableConfig +
  +
getOutputStream() - +Method in class org.apache.jmeter.protocol.http.util.LoopbackHTTPSocket +
  +
getOutputStream() - +Method in class org.apache.jmeter.util.SlowSocket +
  +
getOutputStream() - +Method in class org.apache.jmeter.util.SlowSSLSocket +
  +
getOutResult() - +Method in class org.apache.jorphan.exec.SystemCommand +
  +
getPanel() - +Method in class org.apache.jmeter.protocol.http.visualizers.RequestViewHTTP +
  +
getPanel() - +Method in class org.apache.jmeter.visualizers.RequestPanel +
  +
getPanel() - +Method in interface org.apache.jmeter.visualizers.RequestView +
Get the panel +
getPanel() - +Method in class org.apache.jmeter.visualizers.RequestViewRaw +
  +
getParameter(String) - +Method in class org.apache.jmeter.protocol.java.sampler.JavaSamplerContext +
Get the value of a specific parameter as a String, or null if the value + was not specified. +
getParameter(String, String) - +Method in class org.apache.jmeter.protocol.java.sampler.JavaSamplerContext +
Get the value of a specified parameter as a String, or return the + specified default value if the value was not specified. +
getParameter(String) - +Method in class org.apache.jmeter.visualizers.backend.BackendListenerContext +
Get the value of a specific parameter as a String, or null if the value + was not specified. +
getParameter(String, String) - +Method in class org.apache.jmeter.visualizers.backend.BackendListenerContext +
Get the value of a specified parameter as a String, or return the + specified default value if the value was not specified. +
getParameterNamesIterator() - +Method in class org.apache.jmeter.protocol.java.sampler.JavaSamplerContext +
Get an iterator of the parameter names. +
getParameterNamesIterator() - +Method in class org.apache.jmeter.visualizers.backend.BackendListenerContext +
Get an iterator of the parameter names. +
getParameterPanel() - +Method in class org.apache.jmeter.protocol.http.config.gui.UrlConfigGui +
  +
getParameters() - +Method in class org.apache.jmeter.assertions.BeanShellAssertion +
  +
getParameters() - +Method in class org.apache.jmeter.protocol.http.gui.HTTPArgumentsPanel +
Convert the argument panel contents to an Arguments collection. +
getParameters() - +Method in class org.apache.jmeter.protocol.java.sampler.BeanShellSampler +
  +
getParameters() - +Method in class org.apache.jmeter.util.BeanShellTestElement +
  +
getParameters() - +Method in class org.apache.jmeter.util.ScriptingTestElement +
  +
getParamName() - +Method in class org.apache.jmeter.protocol.http.util.HTTPFileArg +
Get the http parameter name of the File. +
getParent() - +Method in class org.apache.jmeter.gui.action.template.Template +
  +
getParent() - +Method in class org.apache.jmeter.protocol.mail.sampler.MailFileFolder +
  +
getParent() - +Method in class org.apache.jmeter.samplers.SampleResult +
  +
getParsedLabel(String) - +Static method in class org.apache.jmeter.util.JMeterUtils +
To get I18N label from properties file +
getParsedLine(String, boolean, boolean, char) - +Method in class org.apache.jmeter.services.FileServer +
  +
getParsedParameters() - +Method in class org.apache.jmeter.protocol.http.modifier.UserParameterXMLContentHandler +
results of parsing all user parameter data defined in XML file. +
getParser() - +Static method in class org.apache.jmeter.protocol.http.parser.HTMLParser +
  +
getParser(String) - +Static method in class org.apache.jmeter.protocol.http.parser.HTMLParser +
  +
getParser() - +Static method in class org.apache.jmeter.protocol.http.parser.HtmlParsingUtils +
Returns tidy as HTML parser. +
getParserClassName() - +Method in class org.apache.jmeter.protocol.http.sampler.AccessLogSampler +
Get the file location of the xml file. +
getPartialResponse() - +Method in exception org.apache.jmeter.protocol.tcp.sampler.ReadException +
  +
getPass() - +Method in class org.apache.jmeter.protocol.http.control.Authorization +
  +
getPassword() - +Method in class org.apache.jmeter.config.LoginConfig +
Gets the Password attribute of the LoginConfig object. +
getPassword() - +Method in class org.apache.jmeter.protocol.ftp.sampler.FTPSampler +
  +
getPassword() - +Method in class org.apache.jmeter.protocol.jdbc.config.DataSourceElement +
  +
getPassword() - +Method in class org.apache.jmeter.protocol.jms.sampler.BaseJMSSampler +
return the password used to login to the jms server +
getPassword() - +Method in class org.apache.jmeter.protocol.ldap.sampler.LDAPSampler +
Gets the password attribute of the LDAP object. +
getPassword() - +Method in class org.apache.jmeter.protocol.mail.sampler.MailReaderSampler +
  +
getPassword() - +Method in class org.apache.jmeter.protocol.mongodb.sampler.MongoScriptSampler +
  +
getPassword() - +Method in class org.apache.jmeter.protocol.smtp.sampler.gui.SmtpPanel +
  +
getPassword() - +Method in class org.apache.jmeter.protocol.smtp.sampler.protocol.SendMailCommand +
Returns password to authenticate at the mailserver - standard getter +
getPassword() - +Method in class org.apache.jmeter.protocol.tcp.sampler.TCPSampler +
  +
getPassword() - +Method in class org.apache.jmeter.reporters.MailerModel +
  +
getPasswordAuthentication() - +Method in class org.apache.jmeter.ProxyAuthenticator +
Return a PasswordAuthentication instance using the userName and password + specified in the constructor. +
getPastedText() - +Static method in class org.apache.jorphan.gui.GuiUtils +
Get pasted text from clipboard +
getPath() - +Method in class org.apache.jmeter.protocol.http.control.Cookie +
get the path for this object. +
getPath() - +Method in class org.apache.jmeter.protocol.http.proxy.HttpRequestHdr +
Find the /some/file.xxxx from http://server.ect:PORT/some/file.xxx +
getPath() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
getPath() - +Method in class org.apache.jmeter.protocol.http.util.HTTPFileArg +
Get the path of the File. +
getPathPanel() - +Method in class org.apache.jmeter.protocol.http.config.gui.UrlConfigGui +
This method defines the Panel for the HTTP path, 'Follow Redirects' + 'Use KeepAlive', and 'Use multipart for HTTP POST' elements. +
getPathToThreadGroup() - +Method in class org.apache.jmeter.gui.tree.JMeterTreeNode +
Return nodes to level 2 +
getPattern(String) - +Static method in class org.apache.jmeter.util.JMeterUtils +
Get a compiled expression from the pattern cache (READ_ONLY). +
getPattern(String, int) - +Static method in class org.apache.jmeter.util.JMeterUtils +
Get a compiled expression from the pattern cache. +
getPatternCache() - +Static method in class org.apache.jmeter.util.JMeterUtils +
  +
getPercentPoint(double) - +Method in class org.apache.jmeter.visualizers.SamplingStatCalculator +
  +
getPercentPoint(float) - +Method in class org.apache.jmeter.visualizers.SamplingStatCalculator +
  +
getPercentPoint(float) - +Method in class org.apache.jorphan.math.StatCalculator +
Get the value which %percent% of the values are less than. +
getPercentPoint(double) - +Method in class org.apache.jorphan.math.StatCalculator +
Get the value which %percent% of the values are less than. +
getPercentThroughput() - +Method in class org.apache.jmeter.control.ThroughputController +
  +
getPercentThroughputAsFloat() - +Method in class org.apache.jmeter.control.ThroughputController +
  +
getPermanentFlags() - +Method in class org.apache.jmeter.protocol.mail.sampler.MailFileFolder +
  +
getPerThread() - +Method in class org.apache.jmeter.config.RandomVariableConfig +
  +
getPlacementNameMap() - +Static method in class org.apache.jmeter.visualizers.StatGraphProperties +
  +
getPlots(int, int) - +Method in class org.apache.jmeter.visualizers.Spline3 +
Computes drawable plots from the curve for a given draw space. +
getPointShape() - +Method in class org.apache.jmeter.visualizers.RespTimeGraphChart +
  +
getPointShapeMap() - +Static method in class org.apache.jmeter.visualizers.StatGraphProperties +
  +
getPolicy() - +Method in class org.apache.jmeter.protocol.http.control.CookieManager +
  +
getPoolMax() - +Method in class org.apache.jmeter.protocol.jdbc.config.DataSourceElement +
  +
getPort() - +Method in class org.apache.jmeter.gui.ServerPanel +
  +
getPort() - +Method in class org.apache.jmeter.protocol.ftp.sampler.FTPSampler +
  +
getPort() - +Method in class org.apache.jmeter.protocol.http.control.HttpMirrorControl +
  +
getPort() - +Method in class org.apache.jmeter.protocol.http.proxy.ProxyControl +
  +
getPort() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
Get the port; apply the default for the protocol if necessary. +
getPort() - +Method in class org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler +
Gets the Port attribute of the LDAPSampler object +
getPort() - +Method in class org.apache.jmeter.protocol.ldap.sampler.LDAPSampler +
Gets the Port attribute of the LDAPSampler object. +
getPort() - +Method in class org.apache.jmeter.protocol.mail.sampler.MailReaderSampler +
  +
getPort() - +Method in class org.apache.jmeter.protocol.smtp.sampler.gui.SmtpPanel +
Returns port of mail-server (standard 25 for SMTP/SMTP with StartTLS, 465 + for SSL) from textfield +
getPort() - +Method in class org.apache.jmeter.protocol.tcp.sampler.TCPSampler +
  +
getPort() - +Method in class org.apache.jmeter.util.SlowSSLSocket +
  +
getPort() - +Method in class org.apache.jmeter.visualizers.backend.graphite.SocketConnectionInfos +
  +
getPort() - +Method in class org.apache.jmeter.visualizers.MonitorModel +
  +
getPort() - +Method in class org.apache.jmeter.visualizers.MonitorStats +
  +
getPortAsInt() - +Method in class org.apache.jmeter.protocol.ftp.sampler.FTPSampler +
  +
getPortIfSpecified() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
Get the port number from the port string, allowing for trailing blanks. +
getPortString() - +Method in class org.apache.jmeter.protocol.http.control.HttpMirrorControl +
  +
getPortString() - +Method in class org.apache.jmeter.protocol.http.proxy.ProxyControl +
  +
getPortString() - +Method in class org.apache.jmeter.protocol.http.sampler.AccessLogSampler +
  +
getPostBodyRaw() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
getPostProcessors() - +Method in class org.apache.jmeter.threads.SamplePackage +
  +
getPrecision() - +Method in class org.apache.jmeter.visualizers.Spline3 +
  +
getPreferredHeight() - +Method in class org.apache.jmeter.gui.util.TextAreaCellRenderer +
  +
getPreferredScrollableViewportSize() - +Method in class org.apache.jmeter.visualizers.DistributionGraph +
Gets the PreferredScrollableViewportSize attribute of the Graph object. +
getPreferredScrollableViewportSize() - +Method in class org.apache.jmeter.visualizers.Graph +
Gets the PreferredScrollableViewportSize attribute of the Graph object. +
getPreferredSize() - +Method in class org.apache.jmeter.protocol.http.config.gui.HttpDefaultsGui +
  +
getPreferredSize() - +Method in class org.apache.jmeter.protocol.http.control.gui.HttpTestSampleGui +
+
getPreferredSize() - +Method in class org.apache.jmeter.protocol.http.control.gui.SoapSamplerGui +
+
getPreferredSize() - +Method in class org.apache.jmeter.threads.gui.AbstractThreadGroupGui +
  +
getPrefix() - +Method in class org.apache.jmeter.protocol.http.modifier.ParamMask +
Accessor method to return the String that will be prefixed + to the long value. +
getPreload() - +Method in class org.apache.jmeter.config.KeystoreConfig +
  +
getPreProcessors() - +Method in class org.apache.jmeter.threads.SamplePackage +
Returns the preProcessors. +
getPreviousResult() - +Method in class org.apache.jmeter.threads.JMeterContext +
  +
getPreviousSampler() - +Method in class org.apache.jmeter.threads.JMeterContext +
Returns the previousSampler. +
getPrintableComponent() - +Method in class org.apache.jmeter.gui.AbstractJMeterGuiComponent +
Subclasses need to over-ride this method, if they wish to return + something other than the Visualizer itself. +
getPrintableComponent() - +Method in class org.apache.jmeter.visualizers.DistributionGraphVisualizer +
Method implements Printable, which is suppose to return the correct + internal component. +
getPrintableComponent() - +Method in interface org.apache.jmeter.visualizers.Printable +
  +
getPrintableComponent() - +Method in class org.apache.jmeter.visualizers.RespTimeGraphVisualizer +
  +
getPrintableComponent() - +Method in class org.apache.jmeter.visualizers.StatGraphVisualizer +
  +
getPriority() - +Method in class org.apache.jmeter.protocol.jms.sampler.JMSSampler +
  +
getPriority() - +Method in class org.apache.jmeter.protocol.jms.sampler.PublisherSampler +
  +
getPrivateKey(String) - +Method in class org.apache.jmeter.util.keystore.JmeterKeyStore +
Return the private Key for a specific alias +
getProcessingTime() - +Method in interface org.apache.jmeter.monitor.model.RequestInfo +
  +
getProcessingTime() - +Method in class org.apache.jmeter.monitor.model.RequestInfoImpl +
  +
getPropDefault(String, int) - +Static method in class org.apache.jmeter.util.JMeterUtils +
Get a int value with default if not present. +
getPropDefault(String, boolean) - +Static method in class org.apache.jmeter.util.JMeterUtils +
Get a boolean value with default if not present. +
getPropDefault(String, long) - +Static method in class org.apache.jmeter.util.JMeterUtils +
Get a long value with default if not present. +
getPropDefault(String, String) - +Static method in class org.apache.jmeter.util.JMeterUtils +
Get a String value with default if not present. +
getProperties() - +Method in class org.apache.jmeter.protocol.jms.sampler.JMSProperties +
Get the JmsPropertiess. +
getProperties(String) - +Static method in class org.apache.jmeter.util.JMeterUtils +
This method is used by the init method to load the property file that may + even reside in the user space, or in the classpath under + org.apache.jmeter.jmeter.properties. +
getPropertiesVersion() - +Static method in class org.apache.jmeter.save.SaveService +
  +
getProperty(String) - +Method in class org.apache.jmeter.testelement.AbstractTestElement +
Get the named property. +
getProperty(String) - +Method in interface org.apache.jmeter.testelement.TestElement +
Given the name of the property, returns the appropriate property from + JMeter. +
getProperty(String) - +Static method in class org.apache.jmeter.util.JMeterUtils +
Get the value of a JMeter property. +
getPropertyAsBoolean(String) - +Method in class org.apache.jmeter.testelement.AbstractTestElement +
  +
getPropertyAsBoolean(String, boolean) - +Method in class org.apache.jmeter.testelement.AbstractTestElement +
  +
getPropertyAsBoolean(String) - +Method in interface org.apache.jmeter.testelement.TestElement +
Return a property as a boolean value. +
getPropertyAsBoolean(String, boolean) - +Method in interface org.apache.jmeter.testelement.TestElement +
Return a property as a boolean value or a default value if no property + could be found. +
getPropertyAsDouble(String) - +Method in class org.apache.jmeter.testelement.AbstractTestElement +
  +
getPropertyAsDouble(String) - +Method in interface org.apache.jmeter.testelement.TestElement +
Return a property as a double value. +
getPropertyAsFloat(String) - +Method in class org.apache.jmeter.testelement.AbstractTestElement +
  +
getPropertyAsFloat(String) - +Method in interface org.apache.jmeter.testelement.TestElement +
Return a property as a float value. +
getPropertyAsInt(String) - +Method in class org.apache.jmeter.testelement.AbstractTestElement +
  +
getPropertyAsInt(String, int) - +Method in class org.apache.jmeter.testelement.AbstractTestElement +
  +
getPropertyAsInt(String) - +Method in interface org.apache.jmeter.testelement.TestElement +
Return a property as an int value. +
getPropertyAsInt(String, int) - +Method in interface org.apache.jmeter.testelement.TestElement +
Return a property as an int value or a default value if no property + could be found. +
getPropertyAsLong(String) - +Method in class org.apache.jmeter.testelement.AbstractTestElement +
  +
getPropertyAsLong(String, long) - +Method in class org.apache.jmeter.testelement.AbstractTestElement +
  +
getPropertyAsLong(String) - +Method in interface org.apache.jmeter.testelement.TestElement +
Return a property as a long value. +
getPropertyAsLong(String, long) - +Method in interface org.apache.jmeter.testelement.TestElement +
Return a property as a long value or a default value if no property + could be found. +
getPropertyAsString(String) - +Method in class org.apache.jmeter.testelement.AbstractTestElement +
  +
getPropertyAsString(String, String) - +Method in class org.apache.jmeter.testelement.AbstractTestElement +
  +
getPropertyAsString(String) - +Method in interface org.apache.jmeter.testelement.TestElement +
Return a property as a string value. +
getPropertyAsString(String, String) - +Method in interface org.apache.jmeter.testelement.TestElement +
Return a property as an string value or a default value if no property + could be found. +
getPropertyDescriptors() - +Method in class org.apache.jmeter.testbeans.BeanInfoSupport +
+
getPropertyDescriptors() - +Method in class org.apache.jmeter.testbeans.TestBeanBeanInfo +
+
getPropertyDescriptors() - +Method in class org.apache.jmeter.testelement.AbstractTestElementBeanInfo +
+
getPropertyName(HierarchicalStreamReader, UnmarshallingContext) - +Static method in class org.apache.jmeter.save.converters.ConversionHelp +
Get the property name, updating it if necessary using NameUpdater. +
getPropertyType() - +Method in class org.apache.jmeter.testelement.property.AbstractProperty +
Get the property type for this property. +
getPropertyType() - +Method in class org.apache.jmeter.testelement.property.CollectionProperty +
Figures out what kind of properties this collection is holding and + returns the class type. +
getPropertyType() - +Method in class org.apache.jmeter.testelement.property.MapProperty +
Figures out what kind of properties this collection is holding and + returns the class type. +
getPropertyValue(HierarchicalStreamReader, UnmarshallingContext, String) - +Static method in class org.apache.jmeter.save.converters.ConversionHelp +
Get the property value, updating it if necessary using NameUpdater. +
getProtocol() - +Method in interface org.apache.jmeter.monitor.model.Worker +
  +
getProtocol() - +Method in class org.apache.jmeter.monitor.model.WorkerImpl +
  +
getProtocol(HTTPSamplerBase) - +Method in class org.apache.jmeter.protocol.http.proxy.HttpRequestHdr +
  +
getProtocol() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
Gets the protocol, with default. +
getProtocol() - +Method in class org.apache.jmeter.protocol.http.util.WSDLHelper +
Return the protocol from the URL. this is needed, so that HTTPS works + as expected. +
getProtocol() - +Method in class org.apache.jmeter.visualizers.MonitorModel +
  +
getProtocol() - +Method in class org.apache.jmeter.visualizers.MonitorStats +
  +
getProtocolAndMethodPanel() - +Method in class org.apache.jmeter.protocol.http.config.gui.UrlConfigGui +
  +
getProviderUrl() - +Method in class org.apache.jmeter.protocol.jms.sampler.BaseJMSSampler +
method returns the provider url for jndi to connect to +
getProxyHost() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPAbstractImpl +
Invokes HTTPSamplerBase.getProxyHost() +
getProxyHost() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
getProxyHost() - +Method in class org.apache.jmeter.protocol.http.sampler.WebServiceSampler +
Return the proxy hostname +
getProxyPass() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPAbstractImpl +
Invokes HTTPSamplerBase.getProxyPass() +
getProxyPass() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
getProxyPort() - +Method in class org.apache.jmeter.protocol.http.sampler.WebServiceSampler +
Return the proxy port +
getProxyPortInt() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPAbstractImpl +
Invokes HTTPSamplerBase.getProxyPortInt() +
getProxyPortInt() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
getProxyServerPanel() - +Method in class org.apache.jmeter.protocol.http.config.gui.UrlConfigGui +
Create a panel containing the proxy server details +
getProxyUser() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPAbstractImpl +
Invokes HTTPSamplerBase.getProxyUser() +
getProxyUser() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
getQuery() - +Method in class org.apache.jmeter.protocol.jdbc.AbstractJDBCTestElement +
  +
getQueryArguments() - +Method in class org.apache.jmeter.protocol.jdbc.AbstractJDBCTestElement +
  +
getQueryArgumentsTypes() - +Method in class org.apache.jmeter.protocol.jdbc.AbstractJDBCTestElement +
  +
getQueryMap(String) - +Static method in class org.apache.jmeter.protocol.http.visualizers.RequestViewHTTP +
  +
getQueryString() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
Gets the QueryString attribute of the UrlConfig object, using + UTF-8 to encode the URL +
getQueryString(String) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
Gets the QueryString attribute of the UrlConfig object, using the + specified encoding to encode the parameter values put into the URL +
getQueryString() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSampleResult +
Fetch the query string +
getQueryTimeout() - +Method in class org.apache.jmeter.protocol.jdbc.AbstractJDBCTestElement +
  +
getQueryType() - +Method in class org.apache.jmeter.protocol.jdbc.AbstractJDBCTestElement +
  +
getQueueConnectionFactory() - +Method in class org.apache.jmeter.protocol.jms.sampler.JMSSampler +
  +
getQueueSize() - +Method in class org.apache.jmeter.visualizers.backend.BackendListener +
Gets the queue size +
getQuotedData() - +Method in class org.apache.jmeter.config.CSVDataSet +
  +
getRampUp() - +Method in class org.apache.jmeter.threads.ThreadGroup +
Get the ramp-up value. +
getRandomFile(String, String[]) - +Method in class org.apache.jmeter.services.FileServer +
Method will get a random file in a base directory + + TODO hey, not sure this + method belongs here. +
getRandomFileName() - +Method in class org.apache.jmeter.protocol.http.sampler.WebServiceSampler +
Method is used internally to check if a random file should be used for + the message. +
getRandomInt(int) - +Static method in class org.apache.jmeter.util.JMeterUtils +
Provide random numbers +
getRandomPath() - +Method in class org.apache.jmeter.protocol.jms.sampler.PublisherSampler +
  +
getRandomSeed() - +Method in class org.apache.jmeter.config.RandomVariableConfig +
  +
getRange() - +Method in class org.apache.jmeter.timers.ConstantTimer +
Retrieve the range (not used for this timer). +
getRange() - +Method in class org.apache.jmeter.timers.RandomTimer +
Get the range value. +
getRate() - +Method in class org.apache.jmeter.util.Calculator +
Returns the throughput associated to this sampler in requests per second. +
getRate() - +Method in class org.apache.jmeter.visualizers.RunningSample +
Returns the throughput associated to this sampler in requests per second. +
getRate() - +Method in class org.apache.jmeter.visualizers.SamplingStatCalculator +
Returns the throughput associated to this sampler in requests per second. +
getRatePerMin() - +Method in class org.apache.jmeter.visualizers.RunningSample +
Returns the throughput associated to this sampler in requests per min. +
getRateString() - +Method in class org.apache.jmeter.visualizers.RunningSample +
Returns a String that represents the throughput associated for this + sampler, in units appropriate to its dimension: + + The number is represented in requests/second or requests/minute or + requests/hour. +
getRawParameters() - +Method in class org.apache.jmeter.engine.util.CompoundVariable +
Allows the retrieval of the original String prior to it being compiled. +
getRawPostData() - +Method in class org.apache.jmeter.protocol.http.proxy.HttpRequestHdr +
  +
getReadResponse() - +Method in class org.apache.jmeter.protocol.http.sampler.WebServiceSampler +
Return whether or not to read the response. +
getReadResponse() - +Method in class org.apache.jmeter.protocol.jms.sampler.BaseJMSSampler +
return whether the sampler should read the response +
getReadResponseAsBoolean() - +Method in class org.apache.jmeter.protocol.jms.sampler.BaseJMSSampler +
return whether the sampler should read the response as a boolean value +
getRealm() - +Method in class org.apache.jmeter.protocol.http.control.Authorization +
  +
getReceiveBufferSize() - +Method in class org.apache.jmeter.util.SlowSSLSocket +
  +
getReceiveQueue() - +Method in class org.apache.jmeter.protocol.jms.sampler.JMSSampler +
  +
getReceiverBCC() - +Method in class org.apache.jmeter.protocol.smtp.sampler.gui.SmtpPanel +
Returns receiver in field "bcc" from textfield +
getReceiverBCC() - +Method in class org.apache.jmeter.protocol.smtp.sampler.protocol.SendMailCommand +
Returns receivers of current message as InternetAddress ("bcc") - standard + getter +
getReceiverCC() - +Method in class org.apache.jmeter.protocol.smtp.sampler.gui.SmtpPanel +
Returns receiver in field "cc" from textfield +
getReceiverCC() - +Method in class org.apache.jmeter.protocol.smtp.sampler.protocol.SendMailCommand +
Returns receivers of current message as InternetAddress ("cc") - standard + getter +
getReceiverTo() - +Method in class org.apache.jmeter.protocol.smtp.sampler.gui.SmtpPanel +
Returns receiver in field "to" from textfield +
getRecentFile(int) - +Static method in class org.apache.jmeter.gui.action.LoadRecentProject +
Get the full path to the recent file where index 0 is the most recent +
getRecentFileMenuItems() - +Static method in class org.apache.jmeter.gui.action.LoadRecentProject +
Get the menu items to add to the menu bar, to get recent file functionality +
getRecycle() - +Method in class org.apache.jmeter.config.CSVDataSet +
  +
getRedirectLocation() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSampleResult +
  +
getReferenceKey() - +Method in class org.apache.jmeter.engine.util.CompoundVariable +
Return the name of your function. +
getReferenceKey() - +Method in class org.apache.jmeter.functions.AbstractFunction +
  +
getReferenceKey() - +Method in class org.apache.jmeter.functions.BeanShell +
Return the name of your function. +
getReferenceKey() - +Method in class org.apache.jmeter.functions.CharFunction +
Return the name of your function. +
getReferenceKey() - +Method in class org.apache.jmeter.functions.CSVRead +
Return the name of your function. +
getReferenceKey() - +Method in class org.apache.jmeter.functions.EscapeHtml +
Return the name of your function. +
getReferenceKey() - +Method in class org.apache.jmeter.functions.EscapeOroRegexpChars +
Return the name of your function. +
getReferenceKey() - +Method in class org.apache.jmeter.functions.EvalFunction +
Return the name of your function. +
getReferenceKey() - +Method in class org.apache.jmeter.functions.EvalVarFunction +
Return the name of your function. +
getReferenceKey() - +Method in class org.apache.jmeter.functions.FileToString +
Return the name of your function. +
getReferenceKey() - +Method in interface org.apache.jmeter.functions.Function +
Return the name of your function. +
getReferenceKey() - +Method in class org.apache.jmeter.functions.IntSum +
Return the name of your function. +
getReferenceKey() - +Method in class org.apache.jmeter.functions.IterationCounter +
Return the name of your function. +
getReferenceKey() - +Method in class org.apache.jmeter.functions.JavaScript +
Return the name of your function. +
getReferenceKey() - +Method in class org.apache.jmeter.functions.Jexl2Function +
Return the name of your function. +
getReferenceKey() - +Method in class org.apache.jmeter.functions.JexlFunction +
Return the name of your function. +
getReferenceKey() - +Method in class org.apache.jmeter.functions.LogFunction +
Return the name of your function. +
getReferenceKey() - +Method in class org.apache.jmeter.functions.LogFunction2 +
Return the name of your function. +
getReferenceKey() - +Method in class org.apache.jmeter.functions.LongSum +
Return the name of your function. +
getReferenceKey() - +Method in class org.apache.jmeter.functions.MachineIP +
Return the name of your function. +
getReferenceKey() - +Method in class org.apache.jmeter.functions.MachineName +
Return the name of your function. +
getReferenceKey() - +Method in class org.apache.jmeter.functions.Property +
Return the name of your function. +
getReferenceKey() - +Method in class org.apache.jmeter.functions.Property2 +
Return the name of your function. +
getReferenceKey() - +Method in class org.apache.jmeter.functions.Random +
Return the name of your function. +
getReferenceKey() - +Method in class org.apache.jmeter.functions.RandomString +
Return the name of your function. +
getReferenceKey() - +Method in class org.apache.jmeter.functions.RegexFunction +
Return the name of your function. +
getReferenceKey() - +Method in class org.apache.jmeter.functions.SamplerName +
Return the name of your function. +
getReferenceKey() - +Method in class org.apache.jmeter.functions.SetProperty +
Return the name of your function. +
getReferenceKey() - +Method in class org.apache.jmeter.functions.SplitFunction +
Return the name of your function. +
getReferenceKey() - +Method in class org.apache.jmeter.functions.StringFromFile +
Return the name of your function. +
getReferenceKey() - +Method in class org.apache.jmeter.functions.TestPlanName +
Return the name of your function. +
getReferenceKey() - +Method in class org.apache.jmeter.functions.ThreadNumber +
Return the name of your function. +
getReferenceKey() - +Method in class org.apache.jmeter.functions.TimeFunction +
Return the name of your function. +
getReferenceKey() - +Method in class org.apache.jmeter.functions.UnEscape +
Return the name of your function. +
getReferenceKey() - +Method in class org.apache.jmeter.functions.UnEscapeHtml +
Return the name of your function. +
getReferenceKey() - +Method in class org.apache.jmeter.functions.UrlDecode +
Return the name of your function. +
getReferenceKey() - +Method in class org.apache.jmeter.functions.UrlEncode +
Return the name of your function. +
getReferenceKey() - +Method in class org.apache.jmeter.functions.Uuid +
  +
getReferenceKey() - +Method in class org.apache.jmeter.functions.Variable +
Return the name of your function. +
getReferenceKey() - +Method in class org.apache.jmeter.functions.XPath +
Return the name of your function. +
getRefName() - +Method in class org.apache.jmeter.extractor.HtmlExtractor +
  +
getRefName() - +Method in class org.apache.jmeter.extractor.RegexExtractor +
Get the prefix name of the variable to be used to store the regex matches +
getRefName() - +Method in class org.apache.jmeter.extractor.XPathExtractor +
  +
getRegex() - +Method in class org.apache.jmeter.assertions.SubstitutionElement +
  +
getRegex() - +Method in class org.apache.jmeter.extractor.RegexExtractor +
Get the regex which is to be used +
getRegexMatch() - +Method in class org.apache.jmeter.protocol.http.proxy.ProxyControl +
  +
getRegExParamValuesGrNr() - +Method in class org.apache.jmeter.protocol.http.modifier.RegExUserParameters +
  +
getRegExRefName() - +Method in class org.apache.jmeter.protocol.http.modifier.RegExUserParameters +
  +
getRegParamNamesGrNr() - +Method in class org.apache.jmeter.protocol.http.modifier.RegExUserParameters +
  +
getRemoteAddr() - +Method in interface org.apache.jmeter.monitor.model.Worker +
  +
getRemoteAddr() - +Method in class org.apache.jmeter.monitor.model.WorkerImpl +
  +
getRemoteFilename() - +Method in class org.apache.jmeter.protocol.ftp.sampler.FTPSampler +
  +
getRemoteSocketAddress() - +Method in class org.apache.jmeter.util.SlowSSLSocket +
  +
getReplacementElement() - +Method in class org.apache.jmeter.control.IncludeController +
  +
getReplacementSubTree() - +Method in class org.apache.jmeter.control.IncludeController +
The way ReplaceableController works is clone is called first, + followed by replace(HashTree) and finally getReplacement(). +
getReplacementSubTree() - +Method in class org.apache.jmeter.control.ModuleController +
Used to replace the test execution tree (usually by adding the + subelements of the TestElement that is replacing the + ReplaceableController. +
getReplacementSubTree() - +Method in interface org.apache.jmeter.control.ReplaceableController +
Used to replace the test execution tree (usually by adding the + subelements of the TestElement that is replacing the + ReplaceableController. +
getReplacer() - +Method in class org.apache.jmeter.gui.GuiPackage +
Get a ValueReplacer for the test tree. +
getRequestBytesReceived() - +Method in interface org.apache.jmeter.monitor.model.Worker +
  +
getRequestBytesReceived() - +Method in class org.apache.jmeter.monitor.model.WorkerImpl +
  +
getRequestBytesSent() - +Method in interface org.apache.jmeter.monitor.model.Worker +
  +
getRequestBytesSent() - +Method in class org.apache.jmeter.monitor.model.WorkerImpl +
  +
getRequestCount() - +Method in interface org.apache.jmeter.monitor.model.RequestInfo +
  +
getRequestCount() - +Method in class org.apache.jmeter.monitor.model.RequestInfoImpl +
  +
getRequestData() - +Method in class org.apache.jmeter.protocol.tcp.sampler.TCPSampler +
  +
getRequestHeaders() - +Method in class org.apache.jmeter.samplers.SampleResult +
  +
getRequestInfo() - +Method in interface org.apache.jmeter.monitor.model.Connector +
  +
getRequestInfo() - +Method in class org.apache.jmeter.monitor.model.ConnectorImpl +
  +
getRequestNumber() - +Static method in class org.apache.jmeter.protocol.http.proxy.AbstractSamplerCreator +
  +
getRequestProcessingTime() - +Method in interface org.apache.jmeter.monitor.model.Worker +
  +
getRequestProcessingTime() - +Method in class org.apache.jmeter.monitor.model.WorkerImpl +
  +
getResourceBundles() - +Method in class org.apache.jmeter.JMeter +
  +
getResourceBundles() - +Method in interface org.apache.jmeter.plugin.JMeterPlugin +
  +
getResourceFileAsText(String) - +Static method in class org.apache.jmeter.util.JMeterUtils +
  +
getResponseAsString(SampleResult) - +Static method in class org.apache.jmeter.visualizers.ViewResultsFullVisualizer +
  +
getResponseCode() - +Method in class org.apache.jmeter.samplers.SampleResult +
  +
getResponseData() - +Method in class org.apache.jmeter.samplers.SampleResult +
Gets the responseData attribute of the SampleResult object. +
getResponseDataAsString() - +Method in class org.apache.jmeter.samplers.SampleResult +
Gets the responseData of the SampleResult object as a String +
getResponseHeaders(HttpMethod) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPHC3Impl +
Gets the ResponseHeaders +
getResponseHeaders(HttpURLConnection) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPJavaImpl +
Gets the ResponseHeaders from the URLConnection +
getResponseHeaders(HttpMethod) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSampler2 +
  +
getResponseHeaders() - +Method in class org.apache.jmeter.samplers.SampleResult +
  +
getResponseMessage() - +Method in class org.apache.jmeter.samplers.SampleResult +
  +
getResponseTimeout() - +Method in class org.apache.jmeter.gui.ServerPanel +
  +
getResponseTimeout() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPAbstractImpl +
Invokes HTTPSamplerBase.getResponseTimeout() +
getResponseTimeout() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
getResString(String) - +Static method in class org.apache.jmeter.util.JMeterUtils +
Gets the resource string for this key. +
getResString(String, Locale) - +Static method in class org.apache.jmeter.util.JMeterUtils +
Gets the resource string for this key in Locale. +
getResString(String, String) - +Static method in class org.apache.jmeter.util.JMeterUtils +
Deprecated. Only intended for use in development; use + getResString(String) normally +
getResult(SampleResult) - +Method in interface org.apache.jmeter.assertions.Assertion +
Returns the AssertionResult object encapsulating information about the + success or failure of the assertion. +
getResult(SampleResult) - +Method in class org.apache.jmeter.assertions.BeanShellAssertion +
Returns the AssertionResult object encapsulating information about the + success or failure of the assertion. +
getResult(SampleResult) - +Method in class org.apache.jmeter.assertions.BSFAssertion +
  +
getResult(SampleResult) - +Method in class org.apache.jmeter.assertions.CompareAssertion +
  +
getResult(SampleResult) - +Method in class org.apache.jmeter.assertions.DurationAssertion +
Returns the result of the Assertion. +
getResult(SampleResult) - +Method in class org.apache.jmeter.assertions.HTMLAssertion +
Returns the result of the Assertion. +
getResult(SampleResult) - +Method in class org.apache.jmeter.assertions.JSR223Assertion +
  +
getResult(SampleResult) - +Method in class org.apache.jmeter.assertions.MD5HexAssertion +
  +
getResult(SampleResult) - +Method in class org.apache.jmeter.assertions.ResponseAssertion +
  +
getResult(SampleResult) - +Method in class org.apache.jmeter.assertions.SizeAssertion +
Returns the result of the Assertion. +
getResult(SampleResult) - +Method in class org.apache.jmeter.assertions.SMIMEAssertionTestElement +
  +
getResult(SampleResult) - +Method in class org.apache.jmeter.assertions.XMLAssertion +
Returns the result of the Assertion. +
getResult(SampleResult) - +Method in class org.apache.jmeter.assertions.XMLSchemaAssertion +
getResult +
getResult(SampleResult) - +Method in class org.apache.jmeter.assertions.XPathAssertion +
Returns the result of the Assertion. +
getResult() - +Method in class org.apache.jmeter.samplers.SampleEvent +
Get the SampleResult associated with this event +
getResultFileName() - +Method in class org.apache.jmeter.samplers.SampleResult +
  +
getResultSetHandler() - +Method in class org.apache.jmeter.protocol.jdbc.AbstractJDBCTestElement +
  +
getResultVariable() - +Method in class org.apache.jmeter.protocol.jdbc.AbstractJDBCTestElement +
  +
getReturnValString() - +Method in class org.apache.jmeter.control.ForeachController +
  +
getReuseAddress() - +Method in class org.apache.jmeter.util.SlowSSLSocket +
  +
getRootCAalias() - +Static method in class org.apache.jorphan.exec.KeyToolUtils +
Get the root CA alias; needed to check the serial number and fingerprint +
getRootdn() - +Method in class org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler +
Gets the Rootdn attribute of the LDAPSampler object +
getRootdn() - +Method in class org.apache.jmeter.protocol.ldap.sampler.LDAPSampler +
Gets the Rootdn attribute of the LDAPSampler object. +
getRootNode() - +Method in class org.apache.jorphan.gui.AbstractTreeTableModel +
The root node for the TreeTable +
getRowCount() - +Method in class org.apache.jmeter.gui.util.PowerTableModel +
Required by table model interface. +
getRowCount() - +Method in class org.apache.jorphan.gui.AbstractTreeTableModel +
The implementation is exactly the same as ObjectTableModel.getRowCount. +
getRowCount() - +Method in class org.apache.jorphan.gui.ObjectTableModel +
+
getRowData(int) - +Method in class org.apache.jmeter.gui.util.PowerTableModel +
  +
getRuntime() - +Method in class org.apache.jmeter.control.RunTime +
  +
getRuntimeString() - +Method in class org.apache.jmeter.control.RunTime +
  +
getSafe() - +Method in class org.apache.jmeter.protocol.mongodb.config.MongoSourceElement +
  +
getSample(int) - +Method in class org.apache.jmeter.visualizers.CachingStatCalculator +
  +
getSample(String) - +Method in class org.apache.jmeter.visualizers.MonitorAccumModel +
Get the MonitorModel matching the url. +
getSample(int) - +Method in class org.apache.jmeter.visualizers.SplineModel +
  +
getSampleCount() - +Method in class org.apache.jmeter.samplers.SampleResult +
return the sample count. by default, the value is 1. +
getSampleLabel() - +Method in class org.apache.jmeter.samplers.SampleResult +
  +
getSampleLabel(boolean) - +Method in class org.apache.jmeter.samplers.SampleResult +
Get the sample label for use in summary reports etc. +
getSampleList(SampleResult) - +Method in class org.apache.jmeter.testelement.AbstractScopedTestElement +
Generate a list of qualifying sample results, + depending on the scope. +
getSampleListeners() - +Method in class org.apache.jmeter.threads.SamplePackage +
  +
getSampleNumberString() - +Method in class org.apache.jmeter.visualizers.TableSample +
  +
getSampler() - +Method in class org.apache.jmeter.threads.SamplePackage +
  +
getSamplerClass() - +Method in class org.apache.jmeter.samplers.Entry +
  +
getSamplerContext() - +Method in class org.apache.jmeter.threads.JMeterContext +
Sampler context is cleaned up as soon as Post-Processor have ended +
getSamplerController() - +Method in class org.apache.jmeter.threads.AbstractThreadGroup +
Get the sampler controller. +
getSamplerCreator(HttpRequestHdr, Map<String, String>, Map<String, String>) - +Method in class org.apache.jmeter.protocol.http.proxy.SamplerCreatorFactory +
Gets SamplerCreator for content type, if none is found returns DefaultSamplerCreator +
getSamplerData() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSampleResult +
Overrides version in Sampler data to provide more details + + +
getSamplerData() - +Method in class org.apache.jmeter.samplers.SampleResult +
  +
getSamplerDownloadImages() - +Method in class org.apache.jmeter.protocol.http.proxy.ProxyControl +
  +
getSampleResults() - +Method in class org.apache.jmeter.save.ListenerResultWrapper +
  +
getSampleResults() - +Method in class org.apache.jmeter.save.TestResultWrapper +
  +
getSamplerFollowRedirects() - +Method in class org.apache.jmeter.protocol.http.proxy.ProxyControl +
  +
getSamplerLabel() - +Method in class org.apache.jmeter.visualizers.RespTimeGraphDataBean +
  +
getSamplerMetric(String) - +Method in class org.apache.jmeter.visualizers.backend.AbstractBackendListenerClient +
  +
getSamplerRedirectAutomatically() - +Method in class org.apache.jmeter.protocol.http.proxy.ProxyControl +
  +
getSamplersList() - +Method in class org.apache.jmeter.visualizers.backend.graphite.GraphiteBackendListenerClient +
  +
getSamplerTypeName() - +Method in class org.apache.jmeter.protocol.http.proxy.ProxyControl +
  +
getSamples() - +Method in class org.apache.jmeter.visualizers.CachingStatCalculator +
  +
getSampleSaveConfiguration(String, String) - +Static method in class org.apache.jmeter.save.CSVSaveService +
Parse a CSV header line +
getSampleStore() - +Method in class org.apache.jmeter.samplers.BatchSampleSender +
  +
getSaveConfig() - +Method in class org.apache.jmeter.gui.SavePropertyDialog +
  +
getSaveConfig() - +Method in class org.apache.jmeter.reporters.ResultCollector +
  +
getSaveConfig() - +Method in class org.apache.jmeter.samplers.SampleResult +
  +
getSaveWorkBench() - +Method in class org.apache.jmeter.testelement.WorkBench +
  +
getScheduler() - +Method in class org.apache.jmeter.threads.ThreadGroup +
Get whether scheduler is being used +
getScope() - +Method in class org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler +
Gets the search scope attribute of the LDAPSampler object +
getScopeAsInt() - +Method in class org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler +
  +
getScopeName() - +Method in class org.apache.jmeter.testelement.AbstractScopedAssertion +
  +
getScopeName() - +Method in class org.apache.jmeter.testelement.AbstractScopedTestElement +
  +
getScript() - +Method in class org.apache.jmeter.assertions.BeanShellAssertion +
  +
getScript() - +Method in class org.apache.jmeter.protocol.java.sampler.BeanShellSampler +
  +
getScript() - +Method in class org.apache.jmeter.protocol.mongodb.sampler.MongoScriptSampler +
  +
getScript() - +Method in class org.apache.jmeter.util.BeanShellTestElement +
Return the script (TestBean version). +
getScript() - +Method in class org.apache.jmeter.util.ScriptingTestElement +
Return the script (TestBean version). +
getScriptEngine() - +Method in class org.apache.jmeter.util.JSR223TestElement +
  +
getScriptLanguage() - +Method in class org.apache.jmeter.util.BSFTestElement +
  +
getScriptLanguage() - +Method in class org.apache.jmeter.util.JSR223TestElement +
  +
getScriptName() - +Method in class org.apache.jmeter.services.FileServer +
  +
getScrollableBlockIncrement(Rectangle, int, int) - +Method in class org.apache.jmeter.visualizers.DistributionGraph +
Gets the ScrollableBlockIncrement attribute of the Graph object. +
getScrollableBlockIncrement(Rectangle, int, int) - +Method in class org.apache.jmeter.visualizers.Graph +
Gets the ScrollableBlockIncrement attribute of the Graph object. +
getScrollableTracksViewportHeight() - +Method in class org.apache.jmeter.visualizers.DistributionGraph +
Gets the ScrollableTracksViewportHeight attribute of the Graph object. +
getScrollableTracksViewportHeight() - +Method in class org.apache.jmeter.visualizers.Graph +
Gets the ScrollableTracksViewportHeight attribute of the Graph object. +
getScrollableTracksViewportWidth() - +Method in class org.apache.jmeter.visualizers.DistributionGraph +
Gets the ScrollableTracksViewportWidth attribute of the Graph object. +
getScrollableTracksViewportWidth() - +Method in class org.apache.jmeter.visualizers.Graph +
Gets the ScrollableTracksViewportWidth attribute of the Graph object. +
getScrollableUnitIncrement(Rectangle, int, int) - +Method in class org.apache.jmeter.visualizers.DistributionGraph +
Gets the ScrollableUnitIncrement attribute of the Graph object. +
getScrollableUnitIncrement(Rectangle, int, int) - +Method in class org.apache.jmeter.visualizers.Graph +
Gets the ScrollableUnitIncrement attribute of the Graph object. +
getscrollCount() - +Method in class org.apache.jorphan.gui.MenuScroller +
Returns the number of items in the scrolling portion of the menu. +
getSearchableTokens() - +Method in interface org.apache.jmeter.gui.Searchable +
Get a list of all tokens that should be visible to searching +
getSearchableTokens() - +Method in class org.apache.jmeter.testelement.AbstractTestElement +
Get a list of all tokens that should be visible to searching +
getSearchPaths() - +Static method in class org.apache.jmeter.util.JMeterUtils +
Generate a list of paths to search. +
getSearchResults() - +Method in class org.apache.jorphan.collections.SearchByClass +
After traversing the HashTree, call this method to get a collection of + the nodes that were found. +
getSecondaryResult() - +Method in class org.apache.jmeter.assertions.CompareAssertionResult +
  +
getSecure() - +Method in class org.apache.jmeter.protocol.http.control.Cookie +
get the secure for this object. +
getSecuritySettingsPanel() - +Method in class org.apache.jmeter.protocol.smtp.sampler.gui.SmtpPanel +
  +
getSelectedIndex() - +Method in class org.apache.jorphan.gui.JLabeledChoice +
  +
getSelectedItems() - +Method in class org.apache.jorphan.gui.JLabeledChoice +
  +
getSelectedNode() - +Method in class org.apache.jmeter.control.ModuleController +
Gets the (@link JMeterTreeNode) for the Controller +
getSelectedNodes() - +Method in class org.apache.jmeter.gui.tree.JMeterTreeListener +
  +
getSelection() - +Method in class org.apache.jmeter.control.SwitchController +
  +
getSelection() - +Method in class org.apache.jmeter.util.ScopePanel +
  +
getSendBufferSize() - +Method in class org.apache.jmeter.util.SlowSSLSocket +
  +
getSender() - +Method in class org.apache.jmeter.protocol.smtp.sampler.protocol.SendMailCommand +
Returns sender-address for current message - standard getter +
getSendFileAsPostBody() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPAbstractImpl +
Determine whether to send a file as the entire body of an + entity enclosing request such as POST, PUT or PATCH. +
getSendFileAsPostBody() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
Determine if the file should be sent as the entire Content body, + i.e. without any additional wrapping. +
getSendParameterValuesAsPostBody() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPAbstractImpl +
Determine whether to send concatenated parameters as the entire body of an + entity enclosing request such as POST, PUT or PATCH. +
getSendParameterValuesAsPostBody() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
Determine if none of the parameters have a name, and if that + is the case, it means that the parameter values should be sent + as the entity body +
getSendQueue() - +Method in class org.apache.jmeter.protocol.jms.sampler.JMSSampler +
  +
getSendSOAPAction() - +Method in class org.apache.jmeter.protocol.http.sampler.SoapSampler +
  +
getSeparator() - +Method in class org.apache.jmeter.protocol.jms.sampler.SubscriberSampler +
  +
getSeparator() - +Method in class org.apache.jmeter.protocol.mail.sampler.MailFileFolder +
  +
getServer() - +Method in class org.apache.jmeter.gui.ServerPanel +
  +
getServer() - +Method in class org.apache.jmeter.protocol.ftp.sampler.FTPSampler +
  +
getServer() - +Method in class org.apache.jmeter.protocol.mail.sampler.MailReaderSampler +
  +
getServer() - +Method in class org.apache.jmeter.protocol.smtp.sampler.gui.SmtpPanel +
Returns mail-server to be used to send message (from textfield) +
getServer() - +Method in class org.apache.jmeter.protocol.tcp.sampler.TCPSampler +
  +
getServername() - +Method in class org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler +
Gets the servername attribute of the LDAPSampler object +
getServername() - +Method in class org.apache.jmeter.protocol.ldap.sampler.LDAPSampler +
Gets the servername attribute of the LDAPSampler object. +
getServerResponse() - +Method in class org.apache.jmeter.protocol.smtp.sampler.protocol.SendMailCommand +
  +
getServers() - +Method in class org.apache.jmeter.protocol.http.control.DNSCacheManager +
  +
getServerType() - +Method in class org.apache.jmeter.protocol.mail.sampler.MailReaderSampler +
Returns the type of the protocol set to use when talking with the remote + server. +
getSession() - +Method in class org.apache.jmeter.util.SlowSSLSocket +
  +
getShareMode() - +Method in class org.apache.jmeter.config.CSVDataSet +
  +
getShareModeAsInt(String) - +Static method in class org.apache.jmeter.config.CSVDataSetBeanInfo +
  +
getSignerCertFile() - +Method in class org.apache.jmeter.assertions.SMIMEAssertionTestElement +
  +
getSignerDn() - +Method in class org.apache.jmeter.assertions.SMIMEAssertionTestElement +
  +
getSignerEmail() - +Method in class org.apache.jmeter.assertions.SMIMEAssertionTestElement +
  +
getSignerSerial() - +Method in class org.apache.jmeter.assertions.SMIMEAssertionTestElement +
  +
getSize() - +Method in class org.apache.jmeter.functions.FileRowColContainer +
  +
getSmtpHost() - +Method in class org.apache.jmeter.reporters.MailerModel +
  +
getSmtpPort() - +Method in class org.apache.jmeter.protocol.smtp.sampler.protocol.SendMailCommand +
Returns port to be used for SMTP-connection (standard 25 or 465) - + standard getter +
getSmtpPort() - +Method in class org.apache.jmeter.reporters.MailerModel +
  +
getSmtpServer() - +Method in class org.apache.jmeter.protocol.smtp.sampler.protocol.SendMailCommand +
Returns FQDN or IP of SMTP-server to be used to send message - standard + getter +
getSOAPAction() - +Method in class org.apache.jmeter.protocol.http.sampler.SoapSampler +
  +
getSoapAction() - +Method in class org.apache.jmeter.protocol.http.sampler.WebServiceSampler +
Return the soap action string. +
getSoapAction(String) - +Method in class org.apache.jmeter.protocol.http.util.WSDLHelper +
Return the soap action matching the operation name. +
getSoapActionName(String) - +Method in class org.apache.jmeter.protocol.http.util.WSDLHelper +
return the "wsdl method name" from a soap action +
getSOAPActionQuoted() - +Method in class org.apache.jmeter.protocol.http.sampler.SoapSampler +
  +
getSOAPBindings() - +Method in class org.apache.jmeter.protocol.http.util.WSDLHelper +
Method will look at the binding nodes and see if the first child is a + soap:binding. +
getSOAPHeader() - +Method in class org.apache.jmeter.protocol.http.control.HeaderManager +
Added support for SOAP related header stuff. 1-29-04 Peter Lin +
getSocket() - +Method in class org.apache.jmeter.visualizers.backend.graphite.SocketOutputStream +
Return the underlying Socket +
getSocketKeepAlive() - +Method in class org.apache.jmeter.protocol.mongodb.config.MongoSourceElement +
  +
getSocketTimeout() - +Method in class org.apache.jmeter.protocol.mongodb.config.MongoSourceElement +
  +
getSoLinger() - +Method in class org.apache.jmeter.protocol.tcp.sampler.TCPSampler +
  +
getSoLinger() - +Method in class org.apache.jmeter.util.SlowSSLSocket +
  +
getSoTimeout() - +Method in class org.apache.jmeter.util.SlowSSLSocket +
  +
getSource() - +Method in class org.apache.jmeter.engine.event.LoopIterationEvent +
Returns the source. +
getSource() - +Method in class org.apache.jmeter.protocol.mongodb.config.MongoSourceElement +
  +
getSource() - +Method in class org.apache.jmeter.protocol.mongodb.sampler.MongoScriptSampler +
  +
getSourceActions(JComponent) - +Method in class org.apache.jmeter.gui.tree.JMeterTreeTransferHandler +
  +
getSourceTypeList() - +Static method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
getSpecificMessagePosition() - +Method in class org.apache.jmeter.assertions.SMIMEAssertionTestElement +
  +
getSpecificMessagePositionAsInt() - +Method in class org.apache.jmeter.assertions.SMIMEAssertionTestElement +
  +
getSslDomains() - +Method in class org.apache.jmeter.protocol.http.proxy.ProxyControl +
  +
getStage() - +Method in interface org.apache.jmeter.monitor.model.Worker +
  +
getStage() - +Method in class org.apache.jmeter.monitor.model.WorkerImpl +
  +
getStandardDeviation() - +Method in class org.apache.jmeter.util.Calculator +
  +
getStandardDeviation() - +Method in class org.apache.jmeter.visualizers.SamplingStatCalculator +
  +
getStandardDeviation() - +Method in class org.apache.jorphan.math.StatCalculator +
  +
getStart() - +Method in class org.apache.jmeter.modifiers.CounterConfig +
  +
getStartAsString() - +Method in class org.apache.jmeter.modifiers.CounterConfig +
  +
getStartedThreads() - +Method in class org.apache.jmeter.visualizers.backend.UserMetric +
  +
getStartIndex() - +Method in class org.apache.jmeter.config.KeystoreConfig +
  +
getStartIndexAsString() - +Method in class org.apache.jmeter.control.ForeachController +
  +
getStartTime() - +Method in class org.apache.jmeter.samplers.SampleResult +
  +
getStartTime() - +Method in class org.apache.jmeter.threads.JMeterThread +
Get the start time value. +
getStartTime() - +Method in class org.apache.jmeter.threads.ThreadGroup +
Get the absolute start time value. +
getStartTime() - +Method in class org.apache.jmeter.visualizers.RespTimeGraphDataBean +
  +
getStartTime() - +Method in class org.apache.jmeter.visualizers.Sample +
  +
getStartTime() - +Method in class org.apache.jmeter.visualizers.TableSample +
  +
getStartTimeFormatted(Format) - +Method in class org.apache.jmeter.visualizers.Sample +
  +
getStartTimeFormatted(Format) - +Method in class org.apache.jmeter.visualizers.TableSample +
  +
getState() - +Method in class org.apache.jmeter.assertions.gui.SizeAssertionGui +
Get the state of the radio Button + + Possible states are + + SizeAssertion.EQUAL + SizeAssertion.NOTEQUAL + SizeAssertion.GREATERTHAN + SizeAssertion.LESSTHAN + SizeAssertion.GREATERTHANEQUAL + SizeAssertion.LESSTHANEQUAL + +
getState() - +Method in class org.apache.jmeter.gui.util.TristateCheckBox +
  +
getStaticLabel() - +Method in class org.apache.jmeter.gui.AbstractJMeterGuiComponent +
  +
getStaticLabel() - +Method in interface org.apache.jmeter.gui.JMeterGUIComponent +
Get the component's label. +
getStaticLabel() - +Method in class org.apache.jmeter.gui.NamePanel +
Get the component's label. +
getStaticLabel() - +Method in class org.apache.jmeter.gui.tree.JMeterTreeNode +
  +
getStaticLabel() - +Method in class org.apache.jmeter.protocol.http.control.gui.AjpSamplerGui +
  +
getStaticLabel() - +Method in class org.apache.jmeter.protocol.system.gui.SystemSamplerGui +
  +
getStaticLabel() - +Method in class org.apache.jmeter.testbeans.gui.TestBeanGUI +
Get the component's label. +
getStderr() - +Method in class org.apache.jmeter.protocol.system.SystemSampler +
  +
getStdin() - +Method in class org.apache.jmeter.protocol.system.SystemSampler +
  +
getStdout() - +Method in class org.apache.jmeter.protocol.system.SystemSampler +
  +
getStoppables() - +Method in class org.apache.jmeter.gui.GuiPackage +
  +
getStopThread() - +Method in class org.apache.jmeter.config.CSVDataSet +
  +
getString(Object, String) - +Static method in class org.apache.jorphan.util.Converter +
Converts object to a String, return defaultValue if object + is null. +
getString(Object) - +Static method in class org.apache.jorphan.util.Converter +
Converts object to a String, defaults to empty string if object is null. +
getStringsToSkip() - +Method in class org.apache.jmeter.assertions.CompareAssertion +
  +
getStringValue() - +Method in class org.apache.jmeter.testelement.property.BooleanProperty +
+
getStringValue() - +Method in class org.apache.jmeter.testelement.property.CollectionProperty +
+
getStringValue() - +Method in class org.apache.jmeter.testelement.property.DoubleProperty +
+
getStringValue() - +Method in class org.apache.jmeter.testelement.property.FloatProperty +
+
getStringValue() - +Method in class org.apache.jmeter.testelement.property.FunctionProperty +
Executes the function (and caches the value for the duration of the test + iteration) if the property is a running version. +
getStringValue() - +Method in class org.apache.jmeter.testelement.property.IntegerProperty +
  +
getStringValue() - +Method in interface org.apache.jmeter.testelement.property.JMeterProperty +
  +
getStringValue() - +Method in class org.apache.jmeter.testelement.property.LongProperty +
  +
getStringValue() - +Method in class org.apache.jmeter.testelement.property.MapProperty +
+
getStringValue() - +Method in class org.apache.jmeter.testelement.property.NullProperty +
  +
getStringValue() - +Method in class org.apache.jmeter.testelement.property.ObjectProperty +
+
getStringValue() - +Method in class org.apache.jmeter.testelement.property.StringProperty +
  +
getStringValue() - +Method in class org.apache.jmeter.testelement.property.TestElementProperty +
+
getStrokeWidth() - +Method in class org.apache.jmeter.visualizers.RespTimeGraphChart +
  +
getStyle() - +Method in class org.apache.jmeter.control.InterleaveControl +
  +
getStyle() - +Method in class org.apache.jmeter.control.ThroughputController +
  +
getSubControllers() - +Method in class org.apache.jmeter.control.GenericController +
Gets the SubControllers attribute of the GenericController object +
getSubject() - +Method in class org.apache.jmeter.protocol.smtp.sampler.gui.SmtpPanel +
Returns subject of the e-mail from textfield +
getSubject() - +Method in class org.apache.jmeter.protocol.smtp.sampler.protocol.SendMailCommand +
Returns subject for current message - standard getter +
getSubjectForUrl(URL) - +Method in class org.apache.jmeter.protocol.http.control.AuthManager +
Get a Subject for a given URL, if available +
getSubjectForUser(String, String) - +Method in class org.apache.jmeter.protocol.http.control.KerberosManager +
  +
getSubResults() - +Method in class org.apache.jmeter.samplers.SampleResult +
Gets the subresults associated with this sample. +
getSubSampler() - +Method in class org.apache.jmeter.control.TransactionSampler +
  +
getSubstitute() - +Method in class org.apache.jmeter.assertions.SubstitutionElement +
  +
getSubTree(Object) - +Method in class org.apache.jorphan.collections.SearchByClass +
Given a specific found node, this method will return the sub tree of that + node. +
getSuccess() - +Method in class org.apache.jmeter.protocol.java.sampler.JUnitSampler +
  +
getSuccessCode() - +Method in class org.apache.jmeter.protocol.java.sampler.JUnitSampler +
  +
getSuccessCount() - +Method in class org.apache.jmeter.reporters.MailerModel +
  +
getSuccesses() - +Method in class org.apache.jmeter.visualizers.backend.SamplerMetric +
Get the number of successful requests for the current time slot +
getSuccessLimit() - +Method in class org.apache.jmeter.reporters.MailerModel +
  +
getSuccessSubject() - +Method in class org.apache.jmeter.reporters.MailerModel +
  +
getSuffix() - +Method in class org.apache.jmeter.protocol.http.modifier.ParamMask +
Accessor method to return the String that will be suffixed + to the long value. +
getSum() - +Method in class org.apache.jorphan.math.StatCalculator +
  +
getSupportedCipherSuites() - +Method in class org.apache.jmeter.protocol.smtp.sampler.protocol.LocalTrustStoreSSLSocketFactory +
+
getSupportedCipherSuites() - +Method in class org.apache.jmeter.protocol.smtp.sampler.protocol.TrustAllSSLSocketFactory +
+
getSupportedCipherSuites() - +Method in class org.apache.jmeter.util.HttpSSLProtocolSocketFactory +
  +
getSupportedCipherSuites() - +Method in class org.apache.jmeter.util.SlowSSLSocket +
  +
getSupportedProtocols() - +Method in class org.apache.jmeter.util.SlowSSLSocket +
  +
getTable() - +Method in class org.apache.jmeter.config.gui.ArgumentsPanel +
Get the table used to enter arguments. +
getTableCellEditorComponent(JTable, Object, boolean, int, int) - +Method in class org.apache.jmeter.gui.util.TextAreaTableCellEditor +
Implements the TableCellEditor interface. +
getTableCellRendererComponent(JTable, Object, boolean, boolean, int, int) - +Method in class org.apache.jmeter.gui.util.HeaderAsPropertyRenderer +
  +
getTableCellRendererComponent(JTable, Object, boolean, boolean, int, int) - +Method in class org.apache.jmeter.gui.util.TextAreaCellRenderer +
  +
getTableLabel() - +Method in class org.apache.jmeter.config.gui.ArgumentsPanel +
Get the title label for this component. +
getTags() - +Method in class org.apache.jmeter.testbeans.gui.BooleanPropertyEditor +
  +
getTags() - +Method in class org.apache.jmeter.testbeans.gui.FileEditor +
  +
getTarget() - +Method in class org.apache.jmeter.protocol.http.proxy.ProxyControl +
  +
getTarget() - +Method in class org.apache.jmeter.sampler.TestAction +
  +
getTcpNoDelay() - +Method in class org.apache.jmeter.util.SlowSSLSocket +
  +
getTemplate() - +Method in class org.apache.jmeter.extractor.RegexExtractor +
  +
getTemplateByName(String) - +Method in class org.apache.jmeter.gui.action.template.TemplateManager +
  +
getTemplateNames() - +Method in class org.apache.jmeter.gui.action.template.TemplateManager +
  +
getTest() - +Method in class org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler +
Gets the test attribute of the LDAPSampler object +
getTest() - +Method in class org.apache.jmeter.protocol.ldap.sampler.LDAPSampler +
Gets the test attribute of the LDAPSampler object. +
getTestElement() - +Method in class org.apache.jmeter.gui.tree.JMeterTreeNode +
  +
getTestField() - +Method in class org.apache.jmeter.assertions.ResponseAssertion +
! +
getTestField() - +Method in class org.apache.jmeter.assertions.SizeAssertion +
  +
getTestPlan() - +Method in class org.apache.jmeter.gui.tree.JMeterTreeModel +
Get the TestPlan from the root of this tree +
getTestPlanClasspath() - +Method in class org.apache.jmeter.testelement.TestPlan +
Returns the classpath +
getTestPlanClasspathArray() - +Method in class org.apache.jmeter.testelement.TestPlan +
  +
getTestPlanFile() - +Method in class org.apache.jmeter.gui.GuiPackage +
  +
getTestSamples(Properties, String) - +Static method in class org.apache.jmeter.util.JMeterUtils +
Create a string of class names for a particular SamplerController +
getTestStartTime() - +Method in class org.apache.jmeter.save.ListenerResultWrapper +
  +
getTestStartTime() - +Method in class org.apache.jmeter.save.TestResultWrapper +
  +
getTestStartTime() - +Static method in class org.apache.jmeter.threads.JMeterContextService +
  +
getTestStrings() - +Method in class org.apache.jmeter.assertions.ResponseAssertion +
! +
getTestType() - +Method in class org.apache.jmeter.assertions.ResponseAssertion +
! +
getText() - +Method in class org.apache.jmeter.gui.CommentPanel +
  +
getText(Object, int, int) - +Method in class org.apache.jmeter.gui.util.HeaderAsPropertyRenderer +
Get the text for the value as the translation of the resource name. +
getText() - +Method in class org.apache.jmeter.gui.util.JLabeledRadioI18N +
The implementation will get the resource name from the selected radio button + in the JButtonGroup. +
getText() - +Method in class org.apache.jorphan.gui.JLabeledChoice +
Returns the text in the Text Field. +
getText() - +Method in interface org.apache.jorphan.gui.JLabeledField +
  +
getText() - +Method in class org.apache.jorphan.gui.JLabeledTextArea +
Returns the text in the Text Field. +
getText() - +Method in class org.apache.jorphan.gui.JLabeledTextField +
Returns the text in the Text Field. +
getText() - +Method in class org.apache.jorphan.io.TextFile +
Read the whole file content and return it as a string. +
getTextBox() - +Method in class org.apache.jmeter.gui.util.TextBoxDialoger +
  +
getTextFromDocument(byte[]) - +Static method in class org.apache.jmeter.util.Document +
Convert to text plain a lot of kind of document (like odt, ods, odp, + doc(x), xls(x), ppt(x), pdf, mp3, mp4, etc.) with Apache Tika +
getTextLines() - +Method in class org.apache.jorphan.gui.JLabeledTextArea +
  +
getTextMessage() - +Method in class org.apache.jmeter.protocol.jms.sampler.PublisherSampler +
  +
getThread() - +Method in class org.apache.jmeter.threads.JMeterContext +
  +
getThreadContext() - +Method in class org.apache.jmeter.testelement.AbstractTestElement +
  +
getThreadContext() - +Method in interface org.apache.jmeter.testelement.TestElement +
  +
getThreadCounts() - +Static method in class org.apache.jmeter.threads.JMeterContextService +
  +
getThreadGroup() - +Method in class org.apache.jmeter.samplers.SampleEvent +
Get the name of the thread group for which this event was recorded +
getThreadGroup() - +Method in class org.apache.jmeter.threads.JMeterContext +
  +
getThreadInfo() - +Method in interface org.apache.jmeter.monitor.model.Connector +
  +
getThreadInfo() - +Method in class org.apache.jmeter.monitor.model.ConnectorImpl +
  +
getThreadLists() - +Method in class org.apache.jmeter.modifiers.UserParameters +
  +
getThreadload() - +Method in class org.apache.jmeter.visualizers.MonitorModel +
  +
getThreadLoad() - +Method in class org.apache.jmeter.visualizers.MonitorStats +
  +
getThreadName() - +Method in class org.apache.jmeter.samplers.SampleResult +
  +
getThreadName() - +Method in class org.apache.jmeter.testelement.AbstractTestElement +
  +
getThreadName() - +Method in interface org.apache.jmeter.testelement.TestElement +
  +
getThreadName() - +Method in class org.apache.jmeter.threads.JMeterThread +
  +
getThreadName() - +Method in class org.apache.jmeter.threads.JMeterVariables +
  +
getThreadName() - +Method in class org.apache.jmeter.visualizers.Sample +
  +
getThreadName() - +Method in class org.apache.jmeter.visualizers.TableSample +
  +
getThreadNum() - +Method in class org.apache.jmeter.threads.JMeterContext +
Returns the threadNum. +
getThreadNum() - +Method in class org.apache.jmeter.threads.JMeterThread +
Returns the threadNum. +
getThreadsAllowedToBlockForConnectionMultiplier() - +Method in class org.apache.jmeter.protocol.mongodb.config.MongoSourceElement +
  +
getThroughput() - +Method in class org.apache.jmeter.timers.ConstantThroughputTimer +
Gets the configured desired throughput. +
getThroughput() - +Method in class org.apache.jmeter.visualizers.Sample +
  +
getTime() - +Method in class org.apache.jmeter.samplers.SampleResult +
Get the time it took this sample to occur. +
getTime() - +Method in class org.apache.jmeter.samplers.StatisticalSampleResult +
  +
getTime() - +Method in class org.apache.jmeter.visualizers.RespTimeGraphDataBean +
  +
getTimelim() - +Method in class org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler +
Gets the time limit attribute of the LDAPSampler object +
getTimelimAsInt() - +Method in class org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler +
  +
getTimeout() - +Method in class org.apache.jmeter.protocol.http.sampler.WebServiceSampler +
  +
getTimeout() - +Method in class org.apache.jmeter.protocol.jdbc.config.DataSourceElement +
  +
getTimeout() - +Method in class org.apache.jmeter.protocol.jms.sampler.JMSSampler +
  +
getTimeout() - +Method in class org.apache.jmeter.protocol.jms.sampler.SubscriberSampler +
  +
getTimeout() - +Method in class org.apache.jmeter.protocol.smtp.sampler.gui.SmtpPanel +
Returns timeout for SMTP connection from textfield +
getTimeout() - +Method in class org.apache.jmeter.protocol.smtp.sampler.protocol.SendMailCommand +
Returns timeout for the SMTP-connection - returns the + default timeout if no value has been supplied. +
getTimeout() - +Method in class org.apache.jmeter.protocol.system.SystemSampler +
  +
getTimeout() - +Method in class org.apache.jmeter.protocol.tcp.sampler.TCPSampler +
  +
getTimeoutAsInt() - +Method in class org.apache.jmeter.protocol.http.sampler.WebServiceSampler +
  +
getTimeoutAsLong() - +Method in class org.apache.jmeter.protocol.jms.sampler.SubscriberSampler +
  +
getTimeoutInMs() - +Method in class org.apache.jmeter.timers.SyncTimer +
  +
getTimerDelayLabelKey() - +Method in class org.apache.jmeter.timers.gui.AbstractRandomTimerGui +
  +
getTimerDelayLabelKey() - +Method in class org.apache.jmeter.timers.gui.GaussianRandomTimerGui +
+
getTimerDelayLabelKey() - +Method in class org.apache.jmeter.timers.gui.PoissonRandomTimerGui +
  +
getTimerDelayLabelKey() - +Method in class org.apache.jmeter.timers.gui.UniformRandomTimerGui +
+
getTimerRangeLabelKey() - +Method in class org.apache.jmeter.timers.gui.AbstractRandomTimerGui +
  +
getTimerRangeLabelKey() - +Method in class org.apache.jmeter.timers.gui.GaussianRandomTimerGui +
+
getTimerRangeLabelKey() - +Method in class org.apache.jmeter.timers.gui.PoissonRandomTimerGui +
  +
getTimerRangeLabelKey() - +Method in class org.apache.jmeter.timers.gui.UniformRandomTimerGui +
+
getTimers() - +Method in class org.apache.jmeter.threads.SamplePackage +
  +
getTimers(Properties) - +Static method in class org.apache.jmeter.util.JMeterUtils +
Creates the vector of Timers plugins. +
getTimeStamp() - +Method in class org.apache.jmeter.samplers.SampleResult +
Get the sample timestamp, which may be either the start time or the end time. +
getTimeStamp() - +Method in class org.apache.jmeter.samplers.StatisticalSampleResult +
  +
getTimestamp() - +Method in class org.apache.jmeter.visualizers.MonitorModel +
  +
getTimeStamp() - +Method in class org.apache.jmeter.visualizers.MonitorStats +
  +
getTimestampString() - +Method in class org.apache.jmeter.visualizers.MonitorModel +
Method will return a formatted date using SimpleDateFormat. +
getTitle() - +Method in class org.apache.jmeter.protocol.mongodb.config.MongoSourceElement +
  +
getTitle() - +Method in class org.apache.jmeter.protocol.mongodb.sampler.MongoScriptSampler +
  +
getTitleFont() - +Method in class org.apache.jmeter.visualizers.AxisGraph +
  +
getTitleFont() - +Method in class org.apache.jmeter.visualizers.RespTimeGraphChart +
  +
getToAddress() - +Method in class org.apache.jmeter.reporters.MailerModel +
  +
getToolTipText() - +Method in class org.apache.jorphan.gui.JLabeledChoice +
Returns the tooltip string that has been set with setToolTipText +
getToolTipText() - +Method in class org.apache.jorphan.gui.JLabeledTextArea +
Returns the tooltip string that has been set with setToolTipText +
getToolTipText() - +Method in class org.apache.jorphan.gui.JLabeledTextField +
Returns the tooltip string that has been set with setToolTipText +
getTopFixedCount() - +Method in class org.apache.jorphan.gui.MenuScroller +
Returns the number of items fixed at the top of the menu or popup menu. +
getTopLevelMenus() - +Method in interface org.apache.jmeter.gui.plugin.MenuCreator +
  +
getTotal() - +Method in interface org.apache.jmeter.monitor.model.Memory +
  +
getTotal() - +Method in class org.apache.jmeter.monitor.model.MemoryImpl +
  +
getTotal() - +Method in class org.apache.jmeter.visualizers.backend.SamplerMetric +
Get the number of total requests for the current time slot +
getTotalBytes() - +Method in class org.apache.jmeter.util.Calculator +
  +
getTotalBytes() - +Method in class org.apache.jorphan.math.StatCalculator +
  +
getTotalThreads() - +Static method in class org.apache.jmeter.threads.JMeterContextService +
Get the total number of threads (>= active) +
getTrafficClass() - +Method in class org.apache.jmeter.util.SlowSSLSocket +
  +
getTransactionController() - +Method in class org.apache.jmeter.control.TransactionSampler +
  +
getTransactionIsolation() - +Method in class org.apache.jmeter.protocol.jdbc.config.DataSourceElement +
  +
getTransactionIsolationMode(String) - +Static method in class org.apache.jmeter.protocol.jdbc.config.DataSourceElementBeanInfo +
Converts a string description of a valid transaction isolation mode to the respective integer value. +
getTransactionResult() - +Method in class org.apache.jmeter.control.TransactionSampler +
  +
getTransferData(DataFlavor) - +Method in class org.apache.jmeter.util.JMeterTreeNodeTransferable +
  +
getTransferDataFlavors() - +Method in class org.apache.jmeter.util.JMeterTreeNodeTransferable +
  +
getTree() - +Method in class org.apache.jmeter.gui.MainFrame +
  +
getTree() - +Method in class org.apache.jmeter.gui.UndoHistoryItem +
  +
getTree(Object) - +Method in class org.apache.jorphan.collections.HashTree +
Gets the HashTree mapped to the given key. +
getTree(Object[]) - +Method in class org.apache.jorphan.collections.HashTree +
Gets the HashTree object mapped to the last key in the array by recursing + through the HashTree structure one key at a time. +
getTree(Collection<?>) - +Method in class org.apache.jorphan.collections.HashTree +
Gets the HashTree object mapped to the last key in the SortedSet by + recursing through the HashTree structure one key at a time. +
getTreeCellEditorComponent(JTree, Object, boolean, boolean, boolean, int) - +Method in class org.apache.jmeter.gui.util.TextAreaTableCellEditor +
Implements the TreeCellEditor interface. +
getTreeCellRendererComponent(JTree, Object, boolean, boolean, boolean, int, boolean) - +Method in class org.apache.jmeter.gui.tree.JMeterCellRenderer +
  +
getTreeCellRendererComponent(JTree, Object, boolean, boolean, boolean, int, boolean) - +Method in class org.apache.jmeter.visualizers.TreeNodeRenderer +
  +
getTreeListener() - +Method in class org.apache.jmeter.gui.GuiPackage +
Get the listener for JMeter's test tree. +
getTreeModel() - +Method in class org.apache.jmeter.gui.GuiPackage +
Get the model for JMeter's test tree. +
getTreeNode() - +Method in class org.apache.jmeter.control.gui.TreeNodeWrapper +
  +
getTreePath(Collection<?>) - +Method in class org.apache.jorphan.collections.HashTree +
  +
getTrimInterval() - +Method in class org.apache.jmeter.protocol.jdbc.config.DataSourceElement +
  +
getTristateModel() - +Method in class org.apache.jmeter.gui.util.TristateCheckBox +
  +
getTrustStore() - +Method in class org.apache.jmeter.util.SSLManager +
Opens and initializes the TrustStore. +
getTrustStoreToUse() - +Method in class org.apache.jmeter.protocol.mail.sampler.MailReaderSampler +
  +
getTrustStoreToUse() - +Method in class org.apache.jmeter.protocol.smtp.sampler.gui.SecuritySettingsPanel +
Returns the path to the local (pre-installed) truststore to be used to + avoid SSL-connection-exceptions +
getType() - +Method in class org.apache.jmeter.protocol.jms.sampler.JMSProperty +
Gets the Meta Data attribute of the JmsProperty. +
getType() - +Method in class org.apache.jmeter.protocol.mail.sampler.MailFileFolder +
  +
getUpgradePropertyName(String, UnmarshallingContext) - +Static method in class org.apache.jmeter.save.converters.ConversionHelp +
Update a property name using NameUpdater. +
getUpgradePropertyValue(String, String, UnmarshallingContext) - +Static method in class org.apache.jmeter.save.converters.ConversionHelp +
Update a property value using NameUpdater.getCurrentName(String, String, String). +
getUpperBound() - +Method in class org.apache.jmeter.protocol.http.modifier.ParamMask +
Accessor method, returns the highest possible value that the + long portion of the parameter value may be. +
getURL() - +Method in class org.apache.jmeter.protocol.http.control.Authorization +
  +
getURL() - +Method in class org.apache.jmeter.protocol.http.parser.URLString +
  +
getUrl() - +Method in class org.apache.jmeter.protocol.http.proxy.HttpRequestHdr +
Returns the url string extracted from the first line of the client request. +
getUrl() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
Get the URL, built from its component parts. +
getUrl() - +Method in class org.apache.jmeter.protocol.http.sampler.SoapSampler +
  +
getURL() - +Method in class org.apache.jmeter.protocol.http.util.WSDLHelper +
Returns the URL +
getURL() - +Method in class org.apache.jmeter.samplers.SampleResult +
  +
getURL() - +Method in class org.apache.jmeter.visualizers.MonitorModel +
  +
getURL() - +Method in class org.apache.jmeter.visualizers.MonitorStats +
For convienance, this method returns the protocol, host and port as a + URL. +
getUrlAsString() - +Method in class org.apache.jmeter.samplers.SampleResult +
Get a String representation of the URL (if defined). +
getURLData() - +Method in class org.apache.jmeter.protocol.http.sampler.SoapSampler +
  +
getUrlWithoutQuery(URL) - +Method in class org.apache.jmeter.protocol.http.proxy.HttpRequestHdr +
  +
getUseClientMode() - +Method in class org.apache.jmeter.util.SlowSSLSocket +
  +
getUseExpires() - +Method in class org.apache.jmeter.protocol.http.control.CacheManager +
  +
getUseJNDIProperties() - +Method in class org.apache.jmeter.protocol.jms.sampler.BaseJMSSampler +
return whether the sampler should use properties file instead of UI + parameters. +
getUseJNDIPropertiesAsBoolean() - +Method in class org.apache.jmeter.protocol.jms.sampler.BaseJMSSampler +
return the properties as boolean true/false. +
getUseKeepalive() - +Method in class org.apache.jmeter.protocol.http.proxy.ProxyControl +
  +
getUseKeepAlive() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPAbstractImpl +
Invokes HTTPSamplerBase.getUseKeepAlive() +
getUseKeepAlive() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
getUseMultipartForPost() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPAbstractImpl +
Determine if we should use multipart/form-data or + application/x-www-form-urlencoded for the post + + Invokes HTTPSamplerBase.getUseMultipartForPost() +
getUseMultipartForPost() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
Determine if we should use multipart/form-data or + application/x-www-form-urlencoded for the post +
getUseNonPersistentDelivery() - +Method in class org.apache.jmeter.protocol.jms.sampler.PublisherSampler +
  +
getUseProxy() - +Method in class org.apache.jmeter.protocol.http.sampler.WebServiceSampler +
Return whether or not to use proxy +
getUser() - +Method in class org.apache.jmeter.protocol.http.control.Authorization +
  +
getUserDefinedTest() - +Method in class org.apache.jmeter.protocol.ldap.sampler.LDAPSampler +
Gets the UserDefinedTest attribute of the LDAPSampler object. +
getUserDefinedVariables() - +Method in class org.apache.jmeter.testelement.TestPlan +
  +
getUserDefinedVariablesAsProperty() - +Method in class org.apache.jmeter.testelement.TestPlan +
  +
getUserDN() - +Method in class org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler +
Gets the username attribute of the LDAP object +
getUserMetrics() - +Method in class org.apache.jmeter.visualizers.backend.AbstractBackendListenerClient +
  +
getUsername() - +Method in class org.apache.jmeter.config.LoginConfig +
Gets the Username attribute of the LoginConfig object. +
getUsername() - +Method in class org.apache.jmeter.protocol.ftp.sampler.FTPSampler +
  +
getUsername() - +Method in class org.apache.jmeter.protocol.jdbc.config.DataSourceElement +
  +
getUsername() - +Method in class org.apache.jmeter.protocol.jms.sampler.BaseJMSSampler +
return the username used to login to the jms server +
getUsername() - +Method in class org.apache.jmeter.protocol.ldap.sampler.LDAPSampler +
Gets the username attribute of the LDAP object. +
getUserName() - +Method in class org.apache.jmeter.protocol.mail.sampler.MailReaderSampler +
  +
getUsername() - +Method in class org.apache.jmeter.protocol.mongodb.sampler.MongoScriptSampler +
  +
getUsername() - +Method in class org.apache.jmeter.protocol.smtp.sampler.gui.SmtpPanel +
  +
getUsername() - +Method in class org.apache.jmeter.protocol.smtp.sampler.protocol.SendMailCommand +
Returns username to authenticate at the mailserver - standard getter +
getUsername() - +Method in class org.apache.jmeter.protocol.tcp.sampler.TCPSampler +
  +
getUserPw() - +Method in class org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler +
Gets the password attribute of the LDAP object +
getUseSeparator() - +Method in class org.apache.jmeter.control.ForeachController +
  +
getUseSSL() - +Method in class org.apache.jmeter.protocol.smtp.sampler.protocol.SendMailCommand +
Returns if SSL is used to send message - standard getter +
getUseStartTLS() - +Method in class org.apache.jmeter.protocol.smtp.sampler.protocol.SendMailCommand +
Returns if StartTLS is used to transmit message - standard getter +
getValidMethodsAsArray() - +Static method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
getValue() - +Method in class org.apache.jmeter.config.Argument +
Gets the value of the Argument object. +
getValue() - +Method in class org.apache.jmeter.protocol.http.control.Cookie +
get the value for this object. +
getValue() - +Method in class org.apache.jmeter.protocol.http.control.Header +
Get the value for this object. +
getValue() - +Method in class org.apache.jmeter.protocol.http.util.accesslog.NVPair +
Return the value +
getValue() - +Method in class org.apache.jmeter.protocol.jms.sampler.JMSProperty +
Gets the value of the JmsProperty object. +
getValue() - +Method in class org.apache.jmeter.protocol.ldap.config.gui.LDAPArgument +
Gets the value of the Argument object. +
getValue() - +Method in class org.apache.jmeter.testbeans.gui.FileEditor +
  +
getValue() - +Method in class org.apache.jmeter.testbeans.gui.PasswordEditor +
  +
getValue() - +Method in class org.apache.jmeter.testbeans.gui.TableEditor +
  +
getValue() - +Method in class org.apache.jmeter.testbeans.gui.TextAreaEditor +
+
getValue() - +Method in class org.apache.jmeter.visualizers.SamplerResultTab.RowResult +
  +
getValueAsObject() - +Method in class org.apache.jmeter.protocol.jms.sampler.JMSProperty +
  +
getValueAt(int, int) - +Method in class org.apache.jmeter.gui.util.PowerTableModel +
Required by table model interface. return the ValueAt value +
getValueAt(Object, int) - +Method in class org.apache.jorphan.gui.AbstractTreeTableModel +
The method is similar to getValueAt(int,int). +
getValueAt(int, int) - +Method in class org.apache.jorphan.gui.AbstractTreeTableModel +
Subclasses need to implement the logic for the method and + return the value at the specific cell. +
getValueAt(int, int) - +Method in class org.apache.jorphan.gui.ObjectTableModel +
+
getValueAt(Object, int) - +Method in interface org.apache.jorphan.gui.TreeTableModel +
The method is similar to getValueAt(int,int). +
getValueFont() - +Method in class org.apache.jmeter.visualizers.AxisGraph +
  +
getVarCount() - +Static method in class org.apache.jmeter.samplers.SampleEvent +
Get the number of defined variables +
getVarCount() - +Method in class org.apache.jmeter.samplers.SampleSaveConfiguration +
  +
getVariable() - +Method in class org.apache.jmeter.util.ScopePanel +
  +
getVariableName() - +Method in class org.apache.jmeter.config.RandomVariableConfig +
  +
getVariableName() - +Method in class org.apache.jmeter.testelement.AbstractScopedTestElement +
  +
getVariableNames() - +Method in class org.apache.jmeter.config.CSVDataSet +
  +
getVariableNames() - +Method in class org.apache.jmeter.protocol.jdbc.AbstractJDBCTestElement +
  +
getVariables() - +Method in class org.apache.jmeter.functions.AbstractFunction +
Gives access to the JMeter variables for the current thread. +
getVariables() - +Method in class org.apache.jmeter.testelement.VariablesCollection +
  +
getVariables() - +Method in class org.apache.jmeter.threads.JMeterContext +
Gives access to the JMeter variables for the current thread. +
getVarName() - +Method in class org.apache.jmeter.modifiers.CounterConfig +
  +
getVarName(int) - +Static method in class org.apache.jmeter.samplers.SampleEvent +
Get the nth variable name (zero-based) +
getVarValue(int) - +Method in class org.apache.jmeter.samplers.SampleEvent +
Get the nth variable value (zero-based) +
getVector(Properties, String) - +Static method in class org.apache.jmeter.util.JMeterUtils +
Creates a vector of strings for all the properties that start with a + common prefix. +
getVersion() - +Method in class org.apache.jmeter.protocol.http.control.Cookie +
  +
getVersion() - +Static method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBaseConverter +
Returns the converter version; used to check for possible + incompatibilities +
getVersion() - +Static method in class org.apache.jmeter.protocol.http.util.HTTPResultConverter +
Returns the converter version; used to check for possible + incompatibilities +
getVersion() - +Static method in class org.apache.jmeter.save.converters.BooleanPropertyConverter +
Returns the converter version; used to check for possible + incompatibilities +
getVersion() - +Static method in class org.apache.jmeter.save.converters.HashTreeConverter +
Returns the converter version; used to check for possible + incompatibilities +
getVersion() - +Static method in class org.apache.jmeter.save.converters.IntegerPropertyConverter +
Returns the converter version; used to check for possible + incompatibilities +
getVersion() - +Static method in class org.apache.jmeter.save.converters.LongPropertyConverter +
Returns the converter version; used to check for possible + incompatibilities +
getVersion() - +Static method in class org.apache.jmeter.save.converters.MultiPropertyConverter +
Returns the converter version; used to check for possible + incompatibilities +
getVersion() - +Static method in class org.apache.jmeter.save.converters.SampleEventConverter +
Returns the converter version; used to check for possible + incompatibilities +
getVersion() - +Static method in class org.apache.jmeter.save.converters.SampleResultConverter +
Returns the converter version; used to check for possible + incompatibilities +
getVersion() - +Static method in class org.apache.jmeter.save.converters.SampleSaveConfigurationConverter +
Returns the converter version; used to check for possible + incompatibilities +
getVersion() - +Static method in class org.apache.jmeter.save.converters.StringPropertyConverter +
Returns the converter version; used to check for possible + incompatibilities +
getVersion() - +Static method in class org.apache.jmeter.save.converters.TestElementConverter +
Returns the converter version; used to check for possible + incompatibilities +
getVersion() - +Static method in class org.apache.jmeter.save.converters.TestElementPropertyConverter +
Returns the converter version; used to check for possible + incompatibilities +
getVersion() - +Static method in class org.apache.jmeter.save.converters.TestResultWrapperConverter +
Returns the converter version; used to check for possible + incompatibilities +
getVersion() - +Method in class org.apache.jmeter.save.ListenerResultWrapper +
  +
getVERSION() - +Static method in class org.apache.jmeter.save.SaveService +
  +
getVersion() - +Static method in class org.apache.jmeter.save.ScriptWrapperConverter +
Returns the converter version; used to check for possible + incompatibilities +
getVersion() - +Method in class org.apache.jmeter.save.TestResultWrapper +
  +
getVirtualHost() - +Method in interface org.apache.jmeter.monitor.model.Worker +
  +
getVirtualHost() - +Method in class org.apache.jmeter.monitor.model.WorkerImpl +
  +
getVisualizer() - +Method in class org.apache.jmeter.reporters.AbstractListenerElement +
  +
getVisualizers(Properties) - +Static method in class org.apache.jmeter.util.JMeterUtils +
Creates the vector of visualizer plugins. +
getWaitForJournaling() - +Method in class org.apache.jmeter.protocol.mongodb.config.MongoSourceElement +
  +
getWantClientAuth() - +Method in class org.apache.jmeter.util.SlowSSLSocket +
  +
getWarningThreshold() - +Method in class org.apache.jmeter.assertions.HTMLAssertion +
Gets the threshold setting for warnings +
getWebMethods() - +Method in class org.apache.jmeter.protocol.http.util.WSDLHelper +
Get a list of the web methods as a string array. +
getWebServerTimeoutPanel() - +Method in class org.apache.jmeter.protocol.http.config.gui.UrlConfigGui +
Create a panel containing the webserver (domain+port) and timeouts (connect+request). +
getWorkBench() - +Method in class org.apache.jmeter.gui.tree.JMeterTreeModel +
Get the WorkBench from the root of this tree +
getWorker() - +Method in interface org.apache.jmeter.monitor.model.Workers +
  +
getWorker() - +Method in class org.apache.jmeter.monitor.model.WorkersImpl +
  +
getWorkers() - +Method in interface org.apache.jmeter.monitor.model.Connector +
  +
getWorkers() - +Method in class org.apache.jmeter.monitor.model.ConnectorImpl +
  +
getWriteOperationNumberOfServers() - +Method in class org.apache.jmeter.protocol.mongodb.config.MongoSourceElement +
  +
getWriteOperationTimeout() - +Method in class org.apache.jmeter.protocol.mongodb.config.MongoSourceElement +
  +
getWSDLDocument() - +Method in class org.apache.jmeter.protocol.http.util.WSDLHelper +
Get the wsdl document. +
getWsdlURL() - +Method in class org.apache.jmeter.protocol.http.sampler.WebServiceSampler +
method returns the WSDL URL +
getXAxisLabels() - +Method in class org.apache.jmeter.visualizers.RespTimeGraphVisualizer +
  +
getXmlData() - +Method in class org.apache.jmeter.protocol.http.sampler.SoapSampler +
  +
getXmlData() - +Method in class org.apache.jmeter.protocol.http.sampler.WebServiceSampler +
Get the XML data as a string. +
getXmlFile() - +Method in class org.apache.jmeter.protocol.http.sampler.SoapSampler +
Get the file location of the xml file. +
getXmlFile() - +Method in class org.apache.jmeter.protocol.http.sampler.WebServiceSampler +
Get the file location of the xml file. +
getXMLNode() - +Method in class org.apache.jmeter.visualizers.XMLDefaultMutableTreeNode +
get the xml node +
getXMLParameters(String) - +Method in class org.apache.jmeter.protocol.http.modifier.UserParameterXMLParser +
Deprecated. Parse all user parameter data defined in XML file. +
getXMLParser() - +Static method in class org.apache.jmeter.util.JMeterUtils +
Create an instance of an org.xml.sax.Parser based on the default props. +
getXmlPathLoc() - +Method in class org.apache.jmeter.protocol.http.sampler.WebServiceSampler +
Get the path where XML messages are stored. +
getXmlPi() - +Method in class org.apache.jmeter.samplers.SampleSaveConfiguration +
  +
getXPath() - +Method in class org.apache.jmeter.assertions.gui.XPathPanel +
Get the XPath String +
getXPathAttributesTitle() - +Method in class org.apache.jmeter.assertions.gui.XPathAssertionGui +
  +
getXPathField() - +Method in class org.apache.jmeter.assertions.gui.XPathPanel +
Returns the current JSyntaxTextArea for the xpath expression, or + creates a new one, if none is found. +
getXPathQuery() - +Method in class org.apache.jmeter.extractor.XPathExtractor +
  +
getXPathString() - +Method in class org.apache.jmeter.assertions.XPathAssertion +
Get The XPath String that will be used in matching the document +
getXPathString(int) - +Method in class org.apache.jmeter.functions.XPathFileContainer +
  +
getXsdFileName() - +Method in class org.apache.jmeter.assertions.XMLSchemaAssertion +
  +
goInHistory(int) - +Method in class org.apache.jmeter.gui.GuiPackage +
Navigate back and forward through undo history +
Graph - Class in org.apache.jmeter.visualizers
Implements a simple graph for displaying performance results.
Graph() - +Constructor for class org.apache.jmeter.visualizers.Graph +
Constructor for the Graph object. +
Graph(CachingStatCalculator) - +Constructor for class org.apache.jmeter.visualizers.Graph +
Constructor for the Graph object. +
GRAPH_SIZE_DYNAMIC - +Static variable in class org.apache.jmeter.visualizers.RespTimeGraphVisualizer +
  +
GRAPH_SIZE_HEIGHT - +Static variable in class org.apache.jmeter.visualizers.RespTimeGraphVisualizer +
  +
GRAPH_SIZE_WIDTH - +Static variable in class org.apache.jmeter.visualizers.RespTimeGraphVisualizer +
  +
GRAPH_TITLE - +Static variable in class org.apache.jmeter.visualizers.RespTimeGraphVisualizer +
  +
GRAPH_TITLE_FONT_NAME - +Static variable in class org.apache.jmeter.visualizers.RespTimeGraphVisualizer +
  +
GRAPH_TITLE_FONT_SIZE - +Static variable in class org.apache.jmeter.visualizers.RespTimeGraphVisualizer +
  +
GRAPH_TITLE_FONT_STYLE - +Static variable in class org.apache.jmeter.visualizers.RespTimeGraphVisualizer +
  +
GraphiteBackendListenerClient - Class in org.apache.jmeter.visualizers.backend.graphite
Graphite based Listener using Pickle Protocol
GraphiteBackendListenerClient() - +Constructor for class org.apache.jmeter.visualizers.backend.graphite.GraphiteBackendListenerClient +
  +
GraphListener - Interface in org.apache.jmeter.visualizers
 
GraphVisualizer - Class in org.apache.jmeter.visualizers
This class implements a statistical analyser that calculates both the average + and the standard deviation of the sampling process and outputs them as + autoscaling plots.
GraphVisualizer() - +Constructor for class org.apache.jmeter.visualizers.GraphVisualizer +
Constructor for the GraphVisualizer object. +
GREATERTHAN - +Static variable in class org.apache.jmeter.assertions.SizeAssertion +
  +
GREATERTHANEQUAL - +Static variable in class org.apache.jmeter.assertions.SizeAssertion +
  +
GROUP - +Static variable in class org.apache.jmeter.testbeans.gui.GenericTestBeanCustomizer +
  +
GUI_CLASS - +Static variable in interface org.apache.jmeter.testelement.TestElement +
  +
GUIFactory - Class in org.apache.jmeter.gui
Provides a way to register and retrieve GUI classes and icons.
GuiPackage - Class in org.apache.jmeter.gui
GuiPackage is a static class that provides convenient access to information + about the current state of JMeter's GUI.
GUITYPE - +Static variable in class org.apache.jmeter.testbeans.gui.GenericTestBeanCustomizer +
Property editor override; must be an enum of type TypeEditor +
GuiUtils - Class in org.apache.jorphan.gui
 
GuiUtils() - +Constructor for class org.apache.jorphan.gui.GuiUtils +
  +
+
+

+H

+
+
handle(Object) - +Method in class org.apache.jmeter.protocol.mongodb.mongo.EvalResultHandler +
  +
handle(Integer) - +Method in class org.apache.jmeter.protocol.mongodb.mongo.EvalResultHandler +
  +
handle(String) - +Method in class org.apache.jmeter.protocol.mongodb.mongo.EvalResultHandler +
  +
handle(Double) - +Method in class org.apache.jmeter.protocol.mongodb.mongo.EvalResultHandler +
  +
handle(DBObject) - +Method in class org.apache.jmeter.protocol.mongodb.mongo.EvalResultHandler +
  +
handleMethod(String, HTTPSampleResult, HttpRequestBase, HttpContext) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl +
Calls HTTPHC4Impl.sendPostData(HttpPost) if method is POST and + HTTPHC4Impl.sendEntityData(HttpEntityEnclosingRequestBase) if method is + PUT or PATCH + + Field HTTPSampleResult#queryString of result is modified in the 2 cases +
handleSampleResults(List<SampleResult>, BackendListenerContext) - +Method in interface org.apache.jmeter.visualizers.backend.BackendListenerClient +
Handle sampleResults, this can be done in many ways: + + Write to a file + Write to a distant server + ... +
handleSampleResults(List<SampleResult>, BackendListenerContext) - +Method in class org.apache.jmeter.visualizers.backend.graphite.GraphiteBackendListenerClient +
  +
hasArguments() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPAbstractImpl +
Invokes HTTPSamplerBase.hasArguments() +
hasArguments() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
hasAuthForURL(URL) - +Method in class org.apache.jmeter.protocol.http.control.AuthManager +
Tests whether an authorization record is available for a given URL +
hasExcPattern(String) - +Method in class org.apache.jmeter.protocol.http.util.accesslog.SessionFilter +
  +
hasFunction() - +Method in class org.apache.jmeter.engine.util.CompoundVariable +
  +
hashCode() - +Method in class org.apache.jmeter.protocol.http.parser.URLString +
+
hashCode() - +Method in class org.apache.jmeter.samplers.SampleSaveConfiguration +
  +
hashCode() - +Method in class org.apache.jmeter.testelement.AbstractTestElement +
+
hashCode() - +Method in class org.apache.jmeter.testelement.property.AbstractProperty +
+
hashCode() - +Method in class org.apache.jmeter.testelement.property.CollectionProperty +
  +
hashCode() - +Method in class org.apache.jmeter.testelement.property.FunctionProperty +
  +
hashCode() - +Method in class org.apache.jmeter.testelement.property.MapProperty +
  +
hashCode() - +Method in class org.apache.jmeter.testelement.property.TestElementProperty +
  +
hashCode() - +Method in class org.apache.jmeter.visualizers.Sample +
  +
hashCode() - +Method in class org.apache.jmeter.visualizers.TableSample +
  +
hashCode() - +Method in class org.apache.jorphan.collections.HashTree +
Returns a hashcode for this HashTree. +
hashCode() - +Method in class org.apache.jorphan.collections.ListedHashTree +
Returns a hashcode for this HashTree. +
hashCode() - +Method in class org.apache.jorphan.io.TextFile +
+
hasHeader(String) - +Method in class org.apache.jorphan.collections.Data +
Checks to see if a column exists in the Data object. +
HashTree - Class in org.apache.jorphan.collections
This class is used to create a tree structure of objects.
HashTree() - +Constructor for class org.apache.jorphan.collections.HashTree +
Creates an empty new HashTree. +
HashTree(Map<Object, HashTree>) - +Constructor for class org.apache.jorphan.collections.HashTree +
Allow subclasses to provide their own Map. +
HashTree(Object) - +Constructor for class org.apache.jorphan.collections.HashTree +
Creates a new HashTree and adds the given object as a top-level node. +
HashTree(Collection<?>) - +Constructor for class org.apache.jorphan.collections.HashTree +
Creates a new HashTree and adds all the objects in the given collection + as top-level nodes in the tree. +
HashTree(Object[]) - +Constructor for class org.apache.jorphan.collections.HashTree +
Creates a new HashTree and adds all the objects in the given array as + top-level nodes in the tree. +
HashTreeConverter - Class in org.apache.jmeter.save.converters
 
HashTreeConverter(Mapper) - +Constructor for class org.apache.jmeter.save.converters.HashTreeConverter +
  +
HashTreeTraverser - Interface in org.apache.jorphan.collections
By implementing this interface, a class can easily traverse a HashTree + object, and be notified via callbacks of certain events.
hasNewMessages() - +Method in class org.apache.jmeter.protocol.mail.sampler.MailFileFolder +
  +
hasNext() - +Method in interface org.apache.jmeter.testelement.property.PropertyIterator +
  +
hasNext() - +Method in class org.apache.jmeter.testelement.property.PropertyIteratorImpl +
+
haveKeytool() - +Static method in class org.apache.jorphan.exec.KeyToolUtils +
  +
HC3CookieHandler - Class in org.apache.jmeter.protocol.http.control
HTTPClient 3.1 implementation
HC3CookieHandler(String) - +Constructor for class org.apache.jmeter.protocol.http.control.HC3CookieHandler +
  +
HC4CookieHandler - Class in org.apache.jmeter.protocol.http.control
 
HC4CookieHandler(String) - +Constructor for class org.apache.jmeter.protocol.http.control.HC4CookieHandler +
  +
HC4TrustAllSSLSocketFactory - Class in org.apache.jmeter.protocol.http.util
Apache HttpClient protocol factory to generate SSL sockets
HC4TrustAllSSLSocketFactory() - +Constructor for class org.apache.jmeter.protocol.http.util.HC4TrustAllSSLSocketFactory +
Create an SSL factory which trusts all certificates and hosts. +
HC4TrustAllSSLSocketFactory(SSLSocketFactory) - +Constructor for class org.apache.jmeter.protocol.http.util.HC4TrustAllSSLSocketFactory +
Create an SSL factory which trusts all certificates and hosts. +
HEAD - +Static variable in class org.apache.jmeter.protocol.http.util.accesslog.TCLogParser +
  +
HEAD - +Static variable in interface org.apache.jmeter.protocol.http.util.HTTPConstantsInterface +
  +
Header - Class in org.apache.jmeter.protocol.http.control
This class is an HTTP Header encapsulator.
Header() - +Constructor for class org.apache.jmeter.protocol.http.control.Header +
Create the header. +
Header(String, String) - +Constructor for class org.apache.jmeter.protocol.http.control.Header +
Create the header. +
HEADER_AUTHORIZATION - +Static variable in interface org.apache.jmeter.protocol.http.util.HTTPConstantsInterface +
  +
HEADER_CONNECTION - +Static variable in interface org.apache.jmeter.protocol.http.util.HTTPConstantsInterface +
  +
HEADER_CONTENT_DISPOSITION - +Static variable in interface org.apache.jmeter.protocol.http.util.HTTPConstantsInterface +
  +
HEADER_CONTENT_ENCODING - +Static variable in interface org.apache.jmeter.protocol.http.util.HTTPConstantsInterface +
  +
HEADER_CONTENT_LENGTH - +Static variable in interface org.apache.jmeter.protocol.http.util.HTTPConstantsInterface +
  +
HEADER_CONTENT_TYPE - +Static variable in interface org.apache.jmeter.protocol.http.util.HTTPConstantsInterface +
  +
HEADER_COOKIE - +Static variable in interface org.apache.jmeter.protocol.http.util.HTTPConstantsInterface +
  +
HEADER_FIELDS - +Static variable in class org.apache.jmeter.protocol.smtp.sampler.SmtpSampler +
  +
HEADER_HOST - +Static variable in interface org.apache.jmeter.protocol.http.util.HTTPConstantsInterface +
  +
HEADER_LOCAL_ADDRESS - +Static variable in interface org.apache.jmeter.protocol.http.util.HTTPConstantsInterface +
  +
HEADER_LOCATION - +Static variable in interface org.apache.jmeter.protocol.http.util.HTTPConstantsInterface +
  +
HEADER_MANAGER - +Static variable in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
HEADER_SET_COOKIE - +Static variable in interface org.apache.jmeter.protocol.http.util.HTTPConstantsInterface +
  +
HeaderAsPropertyRenderer - Class in org.apache.jmeter.gui.util
Renders items in a JTable by converting from resource names.
HeaderAsPropertyRenderer() - +Constructor for class org.apache.jmeter.gui.util.HeaderAsPropertyRenderer +
  +
HeaderAsPropertyRenderer(Object[][]) - +Constructor for class org.apache.jmeter.gui.util.HeaderAsPropertyRenderer +
  +
HeaderManager - Class in org.apache.jmeter.protocol.http.control
This class provides an interface to headers file to pass HTTP headers along + with a request.
HeaderManager() - +Constructor for class org.apache.jmeter.protocol.http.control.HeaderManager +
  +
HeaderPanel - Class in org.apache.jmeter.protocol.http.gui
Allows the user to specify if she needs HTTP header services, and give + parameters for this service.
HeaderPanel() - +Constructor for class org.apache.jmeter.protocol.http.gui.HeaderPanel +
  +
HEADERS - +Static variable in class org.apache.jmeter.protocol.http.control.HeaderManager +
  +
HEADERS - +Static variable in class org.apache.jmeter.testbeans.gui.TableEditor +
attribute name for table headers, value must be a String array. +
headers - +Variable in class org.apache.jorphan.gui.AbstractTreeTableModel +
  +
HEALTHY - +Static variable in class org.apache.jmeter.monitor.util.Stats +
  +
HEALTHY_PER - +Static variable in class org.apache.jmeter.monitor.util.Stats +
  +
HEAP_DUMP - +Static variable in class org.apache.jmeter.gui.action.ActionNames +
  +
HeapDumper - Class in org.apache.jorphan.util
Class allowing access to Sun's heapDump method (Java 1.6+).
height - +Variable in class org.apache.jmeter.visualizers.AxisGraph +
  +
height - +Variable in class org.apache.jmeter.visualizers.LineGraph +
  +
height - +Variable in class org.apache.jmeter.visualizers.RespTimeGraphChart +
  +
HELP - +Static variable in class org.apache.jmeter.gui.action.ActionNames +
  +
Help - Class in org.apache.jmeter.gui.action
Implements the Help menu item.
Help() - +Constructor for class org.apache.jmeter.gui.action.Help +
  +
HELP - +Static variable in class org.apache.jmeter.gui.action.KeyStrokes +
  +
HELP_FUNCTIONS - +Static variable in class org.apache.jmeter.gui.action.Help +
  +
helpGC() - +Static method in class org.apache.jmeter.util.JMeterUtils +
Help GC by triggering GC and finalization +
hexStringToByteArray(String) - +Static method in class org.apache.jmeter.protocol.tcp.sampler.BinaryTCPClientImpl +
Convert hex string to binary byte array. +
HoldSampleSender - Class in org.apache.jmeter.samplers
Lars-Erik Helander provided the idea (and original implementation) for the + caching functionality (sampleStore).
HoldSampleSender() - +Constructor for class org.apache.jmeter.samplers.HoldSampleSender +
Deprecated. only for use by test code +
HorizontalPanel - Class in org.apache.jmeter.gui.util
 
HorizontalPanel() - +Constructor for class org.apache.jmeter.gui.util.HorizontalPanel +
  +
HorizontalPanel(Color) - +Constructor for class org.apache.jmeter.gui.util.HorizontalPanel +
  +
HorizontalPanel(int, float) - +Constructor for class org.apache.jmeter.gui.util.HorizontalPanel +
  +
HOSTNAME - +Static variable in class org.apache.jmeter.samplers.SampleEvent +
  +
HTMLAssertion - Class in org.apache.jmeter.assertions
Assertion to validate the response of a Sample with Tidy.
HTMLAssertion() - +Constructor for class org.apache.jmeter.assertions.HTMLAssertion +
  +
HTMLAssertionGui - Class in org.apache.jmeter.assertions.gui
GUI for HTMLAssertion
HTMLAssertionGui() - +Constructor for class org.apache.jmeter.assertions.gui.HTMLAssertionGui +
The constructor. +
HtmlExtractor - Class in org.apache.jmeter.extractor
 
HtmlExtractor() - +Constructor for class org.apache.jmeter.extractor.HtmlExtractor +
  +
HtmlExtractorGui - Class in org.apache.jmeter.extractor.gui
CSS/JQuery Expression Extractor Post-Processor GUI
HtmlExtractorGui() - +Constructor for class org.apache.jmeter.extractor.gui.HtmlExtractorGui +
  +
HtmlPane - Class in org.apache.jmeter.swing
Implements an HTML Pane with local hyperlinking enabled.
HtmlPane() - +Constructor for class org.apache.jmeter.swing.HtmlPane +
  +
HTMLParseError - Error in org.apache.jmeter.protocol.http.parser
Error class for use with HTMLParser classes.
HTMLParseError() - +Constructor for error org.apache.jmeter.protocol.http.parser.HTMLParseError +
  +
HTMLParseError(String) - +Constructor for error org.apache.jmeter.protocol.http.parser.HTMLParseError +
  +
HTMLParseError(Throwable) - +Constructor for error org.apache.jmeter.protocol.http.parser.HTMLParseError +
  +
HTMLParseError(String, Throwable) - +Constructor for error org.apache.jmeter.protocol.http.parser.HTMLParseError +
  +
HTMLParseException - Exception in org.apache.jmeter.protocol.http.parser
Exception class for use with HTMLParser classes.
HTMLParseException() - +Constructor for exception org.apache.jmeter.protocol.http.parser.HTMLParseException +
  +
HTMLParseException(String) - +Constructor for exception org.apache.jmeter.protocol.http.parser.HTMLParseException +
  +
HTMLParseException(Throwable) - +Constructor for exception org.apache.jmeter.protocol.http.parser.HTMLParseException +
  +
HTMLParseException(String, Throwable) - +Constructor for exception org.apache.jmeter.protocol.http.parser.HTMLParseException +
  +
HTMLParser - Class in org.apache.jmeter.protocol.http.parser
HtmlParsers can parse HTML content to obtain URLs.
HTMLParser() - +Constructor for class org.apache.jmeter.protocol.http.parser.HTMLParser +
Protected constructor to prevent instantiation except from within + subclasses. +
HtmlParsingUtils - Class in org.apache.jmeter.protocol.http.parser
 
HTTP - +Static variable in class org.apache.jmeter.protocol.http.proxy.AbstractSamplerCreator +
  +
HTTP_1_1 - +Static variable in interface org.apache.jmeter.protocol.http.util.HTTPConstantsInterface +
  +
HTTP_PROXY_PASS - +Static variable in class org.apache.jmeter.JMeter +
  +
HTTP_PROXY_USER - +Static variable in class org.apache.jmeter.JMeter +
  +
HTTP_SAMPLER_APACHE - +Static variable in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerFactory +
Use Apache HTTPClient HTTP implementation +
HTTP_SAMPLER_JAVA - +Static variable in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerFactory +
Use the the default Java HTTP implementation +
HTTP_VERSION - +Static variable in class org.apache.jmeter.protocol.http.sampler.HTTPHCAbstractImpl +
  +
HTTPAbstractImpl - Class in org.apache.jmeter.protocol.http.sampler
Base class for HTTP implementations used by the HTTPSamplerProxy sampler.
HTTPAbstractImpl(HTTPSamplerBase) - +Constructor for class org.apache.jmeter.protocol.http.sampler.HTTPAbstractImpl +
  +
HTTPArgument - Class in org.apache.jmeter.protocol.http.util
 
HTTPArgument(String, String, String) - +Constructor for class org.apache.jmeter.protocol.http.util.HTTPArgument +
Constructor for the Argument object. +
HTTPArgument(String, String) - +Constructor for class org.apache.jmeter.protocol.http.util.HTTPArgument +
Constructor for the Argument object. +
HTTPArgument(String, String, boolean) - +Constructor for class org.apache.jmeter.protocol.http.util.HTTPArgument +
  +
HTTPArgument(String, String, boolean, String) - +Constructor for class org.apache.jmeter.protocol.http.util.HTTPArgument +
Construct a new HTTPArgument instance; alwaysEncoded is set to true. +
HTTPArgument(String, String, String, boolean) - +Constructor for class org.apache.jmeter.protocol.http.util.HTTPArgument +
Construct a new HTTPArgument instance +
HTTPArgument(String, String, String, boolean, String) - +Constructor for class org.apache.jmeter.protocol.http.util.HTTPArgument +
Construct a new HTTPArgument instance +
HTTPArgument(Argument) - +Constructor for class org.apache.jmeter.protocol.http.util.HTTPArgument +
  +
HTTPArgument() - +Constructor for class org.apache.jmeter.protocol.http.util.HTTPArgument +
Constructor for the Argument object +
HTTPArgumentsPanel - Class in org.apache.jmeter.protocol.http.gui
A GUI panel allowing the user to enter HTTP Parameters.
HTTPArgumentsPanel() - +Constructor for class org.apache.jmeter.protocol.http.gui.HTTPArgumentsPanel +
  +
HttpClientDefaultParameters - Class in org.apache.jmeter.protocol.http.sampler
 
HTTPConstants - Class in org.apache.jmeter.protocol.http.util
Constants used in HTTP, mainly header names.
HTTPConstants() - +Constructor for class org.apache.jmeter.protocol.http.util.HTTPConstants +
  +
HTTPConstantsInterface - Interface in org.apache.jmeter.protocol.http.util
Constants used in HTTP, mainly header names.
HttpDefaultsGui - Class in org.apache.jmeter.protocol.http.config.gui
 
HttpDefaultsGui() - +Constructor for class org.apache.jmeter.protocol.http.config.gui.HttpDefaultsGui +
  +
HTTPFileArg - Class in org.apache.jmeter.protocol.http.util
Class representing a file parameter for http upload.
HTTPFileArg() - +Constructor for class org.apache.jmeter.protocol.http.util.HTTPFileArg +
Constructor for an empty HTTPFileArg object +
HTTPFileArg(String) - +Constructor for class org.apache.jmeter.protocol.http.util.HTTPFileArg +
Constructor for the HTTPFileArg object with given path. +
HTTPFileArg(String, String, String) - +Constructor for class org.apache.jmeter.protocol.http.util.HTTPFileArg +
Constructor for the HTTPFileArg object with full information. +
HTTPFileArg(JMeterProperty, JMeterProperty, JMeterProperty) - +Constructor for class org.apache.jmeter.protocol.http.util.HTTPFileArg +
Constructor for the HTTPFileArg object with full information, + using existing properties +
HTTPFileArg(HTTPFileArg) - +Constructor for class org.apache.jmeter.protocol.http.util.HTTPFileArg +
Copy Constructor. +
HTTPFileArgs - Class in org.apache.jmeter.protocol.http.util
A set of HTTPFileArg objects.
HTTPFileArgs() - +Constructor for class org.apache.jmeter.protocol.http.util.HTTPFileArgs +
Create a new HTTPFileArgs object with no files. +
HTTPFileArgsPanel - Class in org.apache.jmeter.protocol.http.gui
A GUI panel allowing the user to enter file information for http upload.
HTTPFileArgsPanel() - +Constructor for class org.apache.jmeter.protocol.http.gui.HTTPFileArgsPanel +
  +
HTTPFileArgsPanel(String) - +Constructor for class org.apache.jmeter.protocol.http.gui.HTTPFileArgsPanel +
Create a new HTTPFileArgsPanel as an embedded component, using the + specified title. +
HTTPFileImpl - Class in org.apache.jmeter.protocol.http.sampler
HTTP Sampler which can read from file: URLs
HTTPFileImpl(HTTPSamplerBase) - +Constructor for class org.apache.jmeter.protocol.http.sampler.HTTPFileImpl +
  +
HTTPHC3Impl - Class in org.apache.jmeter.protocol.http.sampler
HTTP sampler using Apache (Jakarta) Commons HttpClient 3.1.
HTTPHC3Impl(HTTPSamplerBase) - +Constructor for class org.apache.jmeter.protocol.http.sampler.HTTPHC3Impl +
  +
HTTPHC4Impl - Class in org.apache.jmeter.protocol.http.sampler
HTTP Sampler using Apache HttpClient 4.x.
HTTPHC4Impl(HTTPSamplerBase) - +Constructor for class org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl +
  +
HTTPHC4Impl.HttpDelete - Class in org.apache.jmeter.protocol.http.sampler
 
HTTPHC4Impl.HttpDelete(URI) - +Constructor for class org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl.HttpDelete +
  +
HTTPHCAbstractImpl - Class in org.apache.jmeter.protocol.http.sampler
Common parent class for HttpClient implementations.
HTTPHCAbstractImpl(HTTPSamplerBase) - +Constructor for class org.apache.jmeter.protocol.http.sampler.HTTPHCAbstractImpl +
  +
HTTPJavaImpl - Class in org.apache.jmeter.protocol.http.sampler
A sampler which understands all the parts necessary to read statistics about + HTTP requests, including cookies and authentication.
HTTPJavaImpl(HTTPSamplerBase) - +Constructor for class org.apache.jmeter.protocol.http.sampler.HTTPJavaImpl +
  +
HttpMirrorControl - Class in org.apache.jmeter.protocol.http.control
Test element that implements the Workbench HTTP Mirror function
HttpMirrorControl() - +Constructor for class org.apache.jmeter.protocol.http.control.HttpMirrorControl +
  +
HttpMirrorControl(int) - +Constructor for class org.apache.jmeter.protocol.http.control.HttpMirrorControl +
  +
HttpMirrorControlGui - Class in org.apache.jmeter.protocol.http.control.gui
 
HttpMirrorControlGui() - +Constructor for class org.apache.jmeter.protocol.http.control.gui.HttpMirrorControlGui +
  +
HttpMirrorServer - Class in org.apache.jmeter.protocol.http.control
Server daemon thread.
HttpMirrorServer(int) - +Constructor for class org.apache.jmeter.protocol.http.control.HttpMirrorServer +
Create a new Daemon with the specified port and target. +
HttpMirrorServer(int, int, int) - +Constructor for class org.apache.jmeter.protocol.http.control.HttpMirrorServer +
Create a new Daemon with the specified port and target. +
HttpMirrorThread - Class in org.apache.jmeter.protocol.http.control
Thread to handle one client request.
HttpMirrorThread(Socket) - +Constructor for class org.apache.jmeter.protocol.http.control.HttpMirrorThread +
  +
HttpReplyHdr - Class in org.apache.jmeter.protocol.http.proxy
Utility class to generate HTTP responses of various types.
HttpRequestHdr - Class in org.apache.jmeter.protocol.http.proxy
The headers of the client HTTP request.
HttpRequestHdr() - +Constructor for class org.apache.jmeter.protocol.http.proxy.HttpRequestHdr +
  +
HttpRequestHdr(String) - +Constructor for class org.apache.jmeter.protocol.http.proxy.HttpRequestHdr +
  +
HTTPResultConverter - Class in org.apache.jmeter.protocol.http.util
Class for XStream conversion of HTTPResult
HTTPResultConverter(Mapper) - +Constructor for class org.apache.jmeter.protocol.http.util.HTTPResultConverter +
  +
HTTPS - +Static variable in class org.apache.jmeter.protocol.http.proxy.AbstractSamplerCreator +
  +
HTTPSampler - Class in org.apache.jmeter.protocol.http.sampler
A sampler which understands all the parts necessary to read statistics about + HTTP requests, including cookies and authentication.
HTTPSampler() - +Constructor for class org.apache.jmeter.protocol.http.sampler.HTTPSampler +
  +
HTTPSampler2 - Class in org.apache.jmeter.protocol.http.sampler
A sampler which understands all the parts necessary to read statistics about + HTTP requests, including cookies and authentication.
HTTPSampler2() - +Constructor for class org.apache.jmeter.protocol.http.sampler.HTTPSampler2 +
  +
HTTPSamplerBase - Class in org.apache.jmeter.protocol.http.sampler
Common constants and methods for HTTP samplers
HTTPSamplerBase() - +Constructor for class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
HTTPSamplerBase.SourceType - Enum in org.apache.jmeter.protocol.http.sampler
 
HTTPSamplerBaseBeanInfo - Class in org.apache.jmeter.protocol.http.sampler
This is the BeanInfo class for the TestBean HTTPSamplerBase.
HTTPSamplerBaseBeanInfo() - +Constructor for class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBaseBeanInfo +
  +
HTTPSamplerBaseConverter - Class in org.apache.jmeter.protocol.http.sampler
Class for XStream conversion of HTTPResult
HTTPSamplerBaseConverter(Mapper) - +Constructor for class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBaseConverter +
  +
HTTPSampleResult - Class in org.apache.jmeter.protocol.http.sampler
This is a specialisation of the SampleResult class for the HTTP protocol.
HTTPSampleResult() - +Constructor for class org.apache.jmeter.protocol.http.sampler.HTTPSampleResult +
  +
HTTPSampleResult(long) - +Constructor for class org.apache.jmeter.protocol.http.sampler.HTTPSampleResult +
  +
HTTPSampleResult(HTTPSampleResult) - +Constructor for class org.apache.jmeter.protocol.http.sampler.HTTPSampleResult +
Construct a 'parent' result for an already-existing result, essentially + cloning it +
HTTPSamplerFactory - Class in org.apache.jmeter.protocol.http.sampler
Factory to return the appropriate HTTPSampler for use with classes that need + an HTTPSampler; also creates the implementations for use with HTTPSamplerProxy.
HTTPSamplerProxy - Class in org.apache.jmeter.protocol.http.sampler
Proxy class that dispatches to the appropriate HTTP sampler.
HTTPSamplerProxy() - +Constructor for class org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy +
  +
HTTPSamplerProxy(String) - +Constructor for class org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy +
Convenience method used to initialise the implementation. +
HttpSSLProtocolSocketFactory - Class in org.apache.jmeter.util
Derived from EasySSLProtocolFactory + + Used by JsseSSLManager to set up the Commons HttpClient and Java https socket handling
HttpSSLProtocolSocketFactory(JsseSSLManager) - +Constructor for class org.apache.jmeter.util.HttpSSLProtocolSocketFactory +
  +
HttpSSLProtocolSocketFactory(JsseSSLManager, int) - +Constructor for class org.apache.jmeter.util.HttpSSLProtocolSocketFactory +
  +
HttpTestSampleGui - Class in org.apache.jmeter.protocol.http.control.gui
HTTP Sampler GUI
HttpTestSampleGui() - +Constructor for class org.apache.jmeter.protocol.http.control.gui.HttpTestSampleGui +
  +
HttpTestSampleGui(boolean) - +Constructor for class org.apache.jmeter.protocol.http.control.gui.HttpTestSampleGui +
  +
HttpWebdav - Class in org.apache.jmeter.protocol.http.sampler
WebDav request
HttpWebdav(String, URI) - +Constructor for class org.apache.jmeter.protocol.http.sampler.HttpWebdav +
  +
hyperlinkUpdate(HyperlinkEvent) - +Method in class org.apache.jmeter.gui.action.SelectTemplatesDialog +
  +
+
+

+I

+
+
IconToolbarBean - Class in org.apache.jmeter.gui.util
 
IE_UA - +Static variable in class org.apache.jmeter.protocol.http.parser.HTMLParser +
  +
IE_UA_PATTERN - +Static variable in class org.apache.jmeter.protocol.http.parser.HTMLParser +
  +
IF_MODIFIED_SINCE - +Static variable in interface org.apache.jmeter.protocol.http.util.HTTPConstantsInterface +
  +
IF_NONE_MATCH - +Static variable in interface org.apache.jmeter.protocol.http.util.HTTPConstantsInterface +
  +
IfController - Class in org.apache.jmeter.control
This is a Conditional Controller; it will execute the set of statements + (samplers/controllers, etc) while the 'condition' is true.
IfController() - +Constructor for class org.apache.jmeter.control.IfController +
constructor +
IfController(String) - +Constructor for class org.apache.jmeter.control.IfController +
constructor +
IfControllerPanel - Class in org.apache.jmeter.control.gui
The user interface for a controller which specifies that its subcomponents + should be executed while a condition holds.
IfControllerPanel() - +Constructor for class org.apache.jmeter.control.gui.IfControllerPanel +
Create a new LoopControlPanel as a standalone component. +
IfControllerPanel(boolean) - +Constructor for class org.apache.jmeter.control.gui.IfControllerPanel +
Create a new IfControllerPanel as either a standalone or an embedded + component. +
ignorableWhitespace(char[], int, int) - +Method in class org.apache.jmeter.protocol.http.modifier.UserParameterXMLContentHandler +
  +
IGNORE_SUB_CONTROLLERS - +Static variable in class org.apache.jmeter.control.InterleaveControl +
  +
IllegalUserActionException - Exception in org.apache.jmeter.exceptions
 
IllegalUserActionException() - +Constructor for exception org.apache.jmeter.exceptions.IllegalUserActionException +
Deprecated. - use IllegalUserActionException(String) +
IllegalUserActionException(String) - +Constructor for exception org.apache.jmeter.exceptions.IllegalUserActionException +
  +
IllegalUserActionException(String, Throwable) - +Constructor for exception org.apache.jmeter.exceptions.IllegalUserActionException +
  +
IMAGE_PARSER - +Static variable in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
ImageVisualizer - Interface in org.apache.jmeter.visualizers
TODO - interface is used but getImage() does not appear to be used
IMPL_HTTP_CLIENT3_1 - +Static variable in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerFactory +
  +
IMPL_HTTP_CLIENT4 - +Static variable in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerFactory +
  +
IMPL_JAVA - +Static variable in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerFactory +
  +
IMPLEMENTATION - +Static variable in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
importData(TransferHandler.TransferSupport) - +Method in class org.apache.jmeter.gui.tree.JMeterTreeTransferHandler +
  +
inCache(URL) - +Method in class org.apache.jmeter.protocol.http.control.CacheManager +
Check the cache, if the entry has an expires header and the entry has not expired, return true
+
INCFILE - +Variable in class org.apache.jmeter.protocol.http.util.accesslog.LogFilter +
  +
incFile(String) - +Method in class org.apache.jmeter.protocol.http.util.accesslog.LogFilter +
Method implements the logic for filtering file name inclusion. +
incIteration() - +Method in class org.apache.jmeter.threads.JMeterVariables +
  +
INCLUDE_TIMESTAMP - +Static variable in class org.apache.jmeter.protocol.smtp.sampler.SmtpSampler +
  +
IncludeController - Class in org.apache.jmeter.control
 
IncludeController() - +Constructor for class org.apache.jmeter.control.IncludeController +
No-arg constructor +
IncludeControllerGui - Class in org.apache.jmeter.control.gui
 
IncludeControllerGui() - +Constructor for class org.apache.jmeter.control.gui.IncludeControllerGui +
Initializes the gui panel for the ModuleController instance. +
includeFiles(String[]) - +Method in interface org.apache.jmeter.protocol.http.util.accesslog.Filter +
Include all files in the array. +
includeFiles(String[]) - +Method in class org.apache.jmeter.protocol.http.util.accesslog.LogFilter +
Give the filter a list of files to include +
includeFiles(String[]) - +Method in class org.apache.jmeter.protocol.http.util.accesslog.SessionFilter +
Include all files in the array. +
includePattern(String[]) - +Method in interface org.apache.jmeter.protocol.http.util.accesslog.Filter +
Include any log entry that contains the following regular expression + pattern. +
includePattern(String[]) - +Method in class org.apache.jmeter.protocol.http.util.accesslog.LogFilter +
Give the filter a set of regular expressions to filter with for + inclusion. +
includePattern(String[]) - +Method in class org.apache.jmeter.protocol.http.util.accesslog.SessionFilter +
Include any log entry that contains the following regular expression + pattern. +
INCOMING_COLOR - +Variable in class org.apache.jmeter.visualizers.SplineVisualizer +
  +
incPattern(String) - +Method in class org.apache.jmeter.protocol.http.util.accesslog.LogFilter +
By default, the method assumes the entry is not included, unless it + matches. +
INCPATTERNS - +Variable in class org.apache.jmeter.protocol.http.util.accesslog.LogFilter +
  +
INCPTRN - +Variable in class org.apache.jmeter.protocol.http.util.accesslog.LogFilter +
  +
incrementCurrent() - +Method in class org.apache.jmeter.control.GenericController +
Increments the current pointer; called by currentReturnedNull to move the + controller on to its next child. +
incrementCurrent() - +Method in class org.apache.jmeter.control.InterleaveControl +
Increments the current pointer; called by currentReturnedNull to move the + controller on to its next child. +
incrementCurrent() - +Method in class org.apache.jmeter.control.RandomController +
  +
incrementCurrent() - +Method in class org.apache.jmeter.control.SwitchController +
incrementCurrent is called when the current child (whether sampler or controller) + has been processed. +
incrementIterCount() - +Method in class org.apache.jmeter.control.GenericController +
  +
incrementLoopCount() - +Method in class org.apache.jmeter.control.ForeachController +
  +
incrementLoopCount() - +Method in class org.apache.jmeter.control.LoopController +
  +
incrementLoopCount() - +Method in class org.apache.jmeter.control.RunTime +
  +
incrementRequestNumber() - +Static method in class org.apache.jmeter.protocol.http.proxy.AbstractSamplerCreator +
Increment request number +
incrYAxisScale - +Variable in class org.apache.jmeter.visualizers.RespTimeGraphChart +
  +
INFINITE_LOOP_COUNT - +Static variable in class org.apache.jmeter.control.LoopController +
  +
init(List<String>, HashTree) - +Method in class org.apache.jmeter.engine.DistributedRunner +
  +
init() - +Method in class org.apache.jmeter.protocol.http.visualizers.RequestViewHTTP +
  +
init() - +Method in class org.apache.jmeter.protocol.smtp.sampler.gui.SecuritySettingsPanel +
  +
init(String) - +Method in class org.apache.jmeter.reporters.FileReporter +
Initialize a file reporter from a file +
init() - +Method in class org.apache.jmeter.visualizers.RenderAsCssJQuery +
+
init() - +Method in class org.apache.jmeter.visualizers.RenderAsRegexp +
+
init() - +Method in class org.apache.jmeter.visualizers.RenderAsXPath +
+
init() - +Method in interface org.apache.jmeter.visualizers.RequestView +
Init the panel +
init() - +Method in class org.apache.jmeter.visualizers.RequestViewRaw +
request pane content +
init() - +Method in interface org.apache.jmeter.visualizers.ResultRenderer +
  +
init() - +Method in class org.apache.jmeter.visualizers.SamplerResultTab +
  +
init(JPanel) - +Method in class org.apache.jmeter.visualizers.SearchTextExtension +
  +
init() - +Method in class org.apache.jmeter.visualizers.ViewResultsFullVisualizer +
Initialize this visualizer +
init() - +Static method in class org.apache.jorphan.util.HeapDumper +
Initialise the dumper, and report if there is a problem. +
INIT_FILE - +Static variable in class org.apache.jmeter.assertions.BeanShellAssertion +
  +
INIT_FILE - +Static variable in class org.apache.jmeter.functions.BeanShell +
  +
INIT_FILE - +Static variable in class org.apache.jmeter.protocol.java.sampler.BeanShellSampler +
  +
initButtonsState() - +Method in class org.apache.jmeter.gui.util.JMeterToolBar +
Init the state of buttons +
initFilter() - +Method in class org.apache.jmeter.protocol.http.sampler.AccessLogSampler +
  +
InitialContextFactory - Class in org.apache.jmeter.protocol.jms.client
InitialContextFactory is responsible for getting an instance of the initial context.
InitialContextFactory() - +Constructor for class org.apache.jmeter.protocol.jms.client.InitialContextFactory +
  +
initialize() - +Method in interface org.apache.jmeter.control.Controller +
Called to initialize a controller at the beginning of a test iteration. +
initialize() - +Method in class org.apache.jmeter.control.ForeachController +
Reset loopCount to Start index +
initialize() - +Method in class org.apache.jmeter.control.GenericController +
  +
initialize() - +Method in class org.apache.jmeter.control.RandomOrderController +
  +
initialize() - +Method in class org.apache.jmeter.threads.AbstractThreadGroup +
Called to initialize a controller at the beginning of a test iteration. +
initialize() - +Method in class org.apache.jmeter.threads.JMeterVariables +
  +
initialize() - +Static method in class org.apache.jmeter.threads.TestCompiler +
Clears the pairing Set Called by StandardJmeterEngine at the start of a + test run. +
initialize(BSFManager, String, Vector) - +Method in class org.apache.jmeter.util.BSFJavaScriptEngine +
Initialize the engine. +
initializeLogging(Properties) - +Static method in class org.apache.jorphan.logging.LoggingManager +
Initialise the logging system from the Jmeter properties. +
initializeProperties(String) - +Method in class org.apache.jmeter.util.JMeterUtils +
  +
initializeProperties(String) - +Method in interface org.apache.jorphan.test.UnitTestManager +
Your implementation will be handed the filename that was provided to + AllTests as a configuration file. +
initializeSubControllers() - +Method in class org.apache.jmeter.control.GenericController +
(re)Initializes sub controllers + See Bug 50032 +
initializeTableModel() - +Method in class org.apache.jmeter.config.gui.ArgumentsPanel +
Initialize the table model used for the arguments table. +
initializeTableModel() - +Method in class org.apache.jmeter.gui.util.FileListPanel +
  +
initializeTableModel() - +Method in class org.apache.jmeter.protocol.http.gui.HTTPArgumentsPanel +
  +
initLocale() - +Static method in class org.apache.jmeter.util.JMeterUtils +
Initialise the JMeter Locale +
initLogging() - +Static method in class org.apache.jmeter.util.JMeterUtils +
Initialise JMeter logging +
initManager(BSFManager) - +Method in class org.apache.jmeter.util.BSFTestElement +
  +
initSampleVariables() - +Static method in class org.apache.jmeter.samplers.SampleEvent +
Set up the additional variable names to be saved + from the value in the SampleEvent.SAMPLE_VARIABLES property +
initStream() - +Method in class org.apache.jmeter.protocol.http.util.accesslog.StandardGenerator +
Create the FileWriter to save the JMX file. +
initTableModel() - +Method in class org.apache.jmeter.modifiers.gui.UserParametersGui +
  +
initTopLevelDndHandler() - +Method in class org.apache.jmeter.gui.MainFrame +
Support for Test Plan Dnd + see BUG 52281 (when JDK6 will be minimum JDK target) +
INPUT_DATA - +Static variable in class org.apache.jmeter.protocol.ftp.sampler.FTPSampler +
  +
insertLineBreaks(String, String) - +Static method in class org.apache.jorphan.util.Converter +
Replace newlines "\n" with insertion +
insertLoadedTree(int, HashTree, boolean) - +Static method in class org.apache.jmeter.gui.action.Load +
Inserts (or merges) the tree into the GUI. +
insertLoadedTree(int, HashTree) - +Static method in class org.apache.jmeter.gui.action.Load +
Inserts the tree into the GUI. +
insertRow(Object, int) - +Method in class org.apache.jorphan.gui.ObjectTableModel +
  +
insertUpdate(DocumentEvent) - +Method in class org.apache.jmeter.config.gui.RowDetailDialog +
  +
insertUpdate(DocumentEvent) - +Method in class org.apache.jmeter.visualizers.SearchTextExtension +
  +
install(JMeterPlugin, boolean) - +Static method in class org.apache.jmeter.plugin.PluginManager +
Installs a plugin. +
instantiate(String, String) - +Static method in class org.apache.jmeter.util.JMeterUtils +
Instatiate an object and guarantee its class. +
instantiate(Vector<String>, String) - +Static method in class org.apache.jmeter.util.JMeterUtils +
Instantiate a vector of classes +
instantiateParser() - +Method in class org.apache.jmeter.protocol.http.sampler.AccessLogSampler +
Method will instantiate the log parser based on the class in the text + field. +
IntegerProperty - Class in org.apache.jmeter.testelement.property
 
IntegerProperty(String, int) - +Constructor for class org.apache.jmeter.testelement.property.IntegerProperty +
  +
IntegerProperty(String) - +Constructor for class org.apache.jmeter.testelement.property.IntegerProperty +
  +
IntegerProperty() - +Constructor for class org.apache.jmeter.testelement.property.IntegerProperty +
  +
IntegerPropertyConverter - Class in org.apache.jmeter.save.converters
 
IntegerPropertyConverter() - +Constructor for class org.apache.jmeter.save.converters.IntegerPropertyConverter +
  +
IntegerPropertyEditor - Class in org.apache.jmeter.testbeans.gui
Property Editor which handles Integer properties.
IntegerPropertyEditor() - +Constructor for class org.apache.jmeter.testbeans.gui.IntegerPropertyEditor +
  +
InterleaveControl - Class in org.apache.jmeter.control
Alternate among each of the children controllers or samplers for each loop iteration
InterleaveControl() - +Constructor for class org.apache.jmeter.control.InterleaveControl +
Constructor for the InterleaveControl object +
InterleaveControlGui - Class in org.apache.jmeter.control.gui
 
InterleaveControlGui() - +Constructor for class org.apache.jmeter.control.gui.InterleaveControlGui +
  +
interpolation() - +Method in class org.apache.jmeter.visualizers.Spline3 +
Computes the coefficients of the Spline interpolated curve, on each + interval. +
interrupt() - +Method in class org.apache.jmeter.protocol.ftp.sampler.FTPSampler +
Interrupt the current operation if possible. +
interrupt() - +Method in class org.apache.jmeter.protocol.http.sampler.AjpSampler +
  +
interrupt() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPFileImpl +
  +
interrupt() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPHC3Impl +
Interrupt the current operation if possible. +
interrupt() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl +
  +
interrupt() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPJavaImpl +
Interrupt the current operation if possible. +
interrupt() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSampler +
  +
interrupt() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSampler2 +
  +
interrupt() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy +
  +
interrupt() - +Method in class org.apache.jmeter.protocol.java.sampler.BeanShellSampler +
  +
interrupt() - +Method in class org.apache.jmeter.protocol.jms.sampler.SubscriberSampler +
Handle an interrupt of the test. +
interrupt() - +Method in class org.apache.jmeter.protocol.mail.sampler.MailReaderSampler +
Interrupt the current operation if possible. +
interrupt() - +Method in class org.apache.jmeter.protocol.tcp.sampler.TCPSampler +
  +
interrupt() - +Method in class org.apache.jmeter.sampler.TestAction +
  +
interrupt() - +Method in interface org.apache.jmeter.samplers.Interruptible +
Interrupt the current operation if possible. +
interrupt() - +Method in class org.apache.jmeter.threads.JMeterThread +
Interrupt the current operation if possible. +
Interruptible - Interface in org.apache.jmeter.samplers
Samplers which are able to interrupt a potentially long-running operation should + implement this interface.
INTERVAL - +Static variable in class org.apache.jmeter.visualizers.RespTimeGraphVisualizer +
  +
IntSum - Class in org.apache.jmeter.functions
Provides an intSum function that adds two or more integer values.
IntSum() - +Constructor for class org.apache.jmeter.functions.IntSum +
No-arg constructor. +
intToByteArray(int, int) - +Static method in class org.apache.jmeter.protocol.tcp.sampler.TCPClientDecorator +
Convert int to byte array. +
InvalidVariableException - Exception in org.apache.jmeter.functions
 
InvalidVariableException() - +Constructor for exception org.apache.jmeter.functions.InvalidVariableException +
  +
InvalidVariableException(String, Throwable) - +Constructor for exception org.apache.jmeter.functions.InvalidVariableException +
  +
InvalidVariableException(Throwable) - +Constructor for exception org.apache.jmeter.functions.InvalidVariableException +
  +
InvalidVariableException(String) - +Constructor for exception org.apache.jmeter.functions.InvalidVariableException +
  +
invoke(Object) - +Method in class org.apache.jmeter.visualizers.TableVisualizer.SampleSuccessFunctor +
  +
invoke(Object, String) - +Static method in class org.apache.jorphan.reflect.ClassTools +
Invoke a public method on a class instance +
invoke() - +Method in class org.apache.jorphan.reflect.Functor +
Invoke a Functor, which must have been created with either a class name or object. +
invoke(Object) - +Method in class org.apache.jorphan.reflect.Functor +
Invoke the method on a given object. +
invoke(Object[]) - +Method in class org.apache.jorphan.reflect.Functor +
Invoke the method with the provided parameters. +
invoke(Object, Object[]) - +Method in class org.apache.jorphan.reflect.Functor +
Invoke the method on the invokee with the provided parameters. +
IP_SOURCE - +Static variable in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
IP source to use - does not apply to Java HTTP implementation currently +
IP_SOURCE_TYPE - +Static variable in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
IS_CUSTOM_RESOLVER - +Static variable in class org.apache.jmeter.protocol.http.control.DNSCacheManager +
  +
IS_TESTPLAN_FORMAT_22 - +Static variable in class org.apache.jmeter.save.SaveService +
New XStream format - more compressed class names +
IS_USE_STATIC_SET - +Static variable in class org.apache.jmeter.threads.TestCompiler +
  +
isActive() - +Method in class org.apache.jmeter.engine.ClientJMeterEngine +
  +
isActive() - +Method in interface org.apache.jmeter.engine.JMeterEngine +
  +
isActive() - +Method in class org.apache.jmeter.engine.StandardJMeterEngine +
  +
isAlwaysEncoded() - +Method in class org.apache.jmeter.protocol.http.util.HTTPArgument +
  +
isAnchorMatched(HTTPSamplerBase, HTTPSamplerBase) - +Static method in class org.apache.jmeter.protocol.http.parser.HtmlParsingUtils +
Check if anchor matches by checking against: + - protocol + - domain + - path + - parameter names +
isArgumentMatched(Argument, Argument) - +Static method in class org.apache.jmeter.protocol.http.parser.HtmlParsingUtils +
Arguments match if the input name matches the corresponding pattern name + and the input value matches the pattern value, where the matching is done + first using String equals, and then Regular Expression matching if the equals test fails. +
isAutocommit() - +Method in class org.apache.jmeter.protocol.jdbc.config.DataSourceElement +
  +
isBinaryContent(String) - +Method in class org.apache.jmeter.protocol.http.proxy.AbstractSamplerCreator +
  +
isBinaryMode() - +Method in class org.apache.jmeter.protocol.ftp.sampler.FTPSampler +
  +
isBlank(String) - +Static method in class org.apache.jorphan.util.JOrphanUtils +
Check that value is empty (""), null or whitespace only. +
isBound() - +Method in class org.apache.jmeter.util.SlowSSLSocket +
  +
isCellEditable(int, int) - +Method in class org.apache.jmeter.gui.util.PowerTableModel +
  +
isCellEditable(EventObject) - +Method in class org.apache.jmeter.gui.util.TextAreaTableCellEditor.EditorDelegate +
Returns true if anEvent is not a + MouseEvent. +
isCellEditable(EventObject) - +Method in class org.apache.jmeter.gui.util.TextAreaTableCellEditor +
Forwards the message from the CellEditor to the + delegate. +
isCellEditable(Object, int) - +Method in class org.apache.jorphan.gui.AbstractTreeTableModel +
the method is similar to isCellEditable(int,int). +
isCellEditable(int, int) - +Method in class org.apache.jorphan.gui.AbstractTreeTableModel +
By default the abstract class returns true. +
isCellEditable(int, int) - +Method in class org.apache.jorphan.gui.ObjectTableModel +
+
isCellEditable(Object, int) - +Method in interface org.apache.jorphan.gui.TreeTableModel +
the method is similar to isCellEditable(int,int). +
isClearEachIteration() - +Method in class org.apache.jmeter.protocol.http.control.DNSCacheManager +
Clean DNS cache each iteration +
isClientConfigured() - +Method in class org.apache.jmeter.samplers.AbstractSampleSender +
  +
isCloseConnection() - +Method in class org.apache.jmeter.protocol.tcp.sampler.TCPSampler +
  +
isClosed() - +Method in class org.apache.jmeter.util.SlowSSLSocket +
  +
isCompareContent() - +Method in class org.apache.jmeter.assertions.CompareAssertion +
  +
isConcurrentDwn() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
Return if used a concurrent thread pool to get embedded resources. +
isConnected() - +Method in class org.apache.jmeter.util.SlowSSLSocket +
  +
isContainsType() - +Method in class org.apache.jmeter.assertions.ResponseAssertion +
  +
isContinue() - +Method in class org.apache.jmeter.testelement.OnErrorTestElement +
  +
isCustomResolver() - +Method in class org.apache.jmeter.protocol.http.control.DNSCacheManager +
  +
isDataFlavorSupported(DataFlavor) - +Method in class org.apache.jmeter.util.JMeterTreeNodeTransferable +
  +
isDeref() - +Method in class org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler +
Gets the deref attribute of the LDAPSampler object +
isDescriptorIgnored(PropertyDescriptor) - +Static method in class org.apache.jmeter.testbeans.TestBeanHelper +
Checks whether the descriptor should be ignored, i.e. +
isDestinationStatic() - +Method in class org.apache.jmeter.protocol.jms.sampler.BaseJMSSampler +
return whether the sampler should use a static destination. +
isDirty() - +Method in class org.apache.jmeter.gui.GuiPackage +
Retrieves the state of the 'dirty' property, a flag that indicates if + there are test tree components that have been modified since they were + last saved. +
isDisplayJMeterProperties() - +Method in class org.apache.jmeter.extractor.DebugPostProcessor +
  +
isDisplayJMeterProperties() - +Method in class org.apache.jmeter.sampler.DebugSampler +
  +
isDisplayJMeterVariables() - +Method in class org.apache.jmeter.extractor.DebugPostProcessor +
  +
isDisplayJMeterVariables() - +Method in class org.apache.jmeter.sampler.DebugSampler +
  +
isDisplaySamplerProperties() - +Method in class org.apache.jmeter.extractor.DebugPostProcessor +
  +
isDisplaySystemProperties() - +Method in class org.apache.jmeter.extractor.DebugPostProcessor +
  +
isDisplaySystemProperties() - +Method in class org.apache.jmeter.sampler.DebugSampler +
  +
isDomainSpecified() - +Method in class org.apache.jmeter.protocol.http.control.Cookie +
  +
isDone() - +Method in interface org.apache.jmeter.control.Controller +
Indicates whether the Controller is done delivering Samplers for the rest + of the test. +
isDone() - +Method in class org.apache.jmeter.control.ForeachController +
Indicates whether the Controller is done delivering Samplers for the rest + of the test. +
isDone() - +Method in class org.apache.jmeter.control.GenericController +
  +
isDone() - +Method in class org.apache.jmeter.control.IfController +
This is overriding the parent method. +
isDone() - +Method in class org.apache.jmeter.control.RunTime +
Indicates whether the Controller is done delivering Samplers for the rest + of the test. +
isDone() - +Method in class org.apache.jmeter.control.ThroughputController +
  +
isDone() - +Method in class org.apache.jmeter.threads.AbstractThreadGroup +
Indicates whether the Controller is done delivering Samplers for the rest + of the test. +
isDownloadDTDs() - +Method in class org.apache.jmeter.assertions.XPathAssertion +
  +
isDownloadDTDs() - +Method in class org.apache.jmeter.extractor.XPathExtractor +
  +
isDynamicMode() - +Static method in class org.apache.jmeter.protocol.http.proxy.ProxyControl +
  +
isDynamicProxy(String, int) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPHCAbstractImpl +
Is a dynamic proxy defined? +
isEditable() - +Method in class org.apache.jmeter.protocol.http.control.AuthManager +
  +
isEditable() - +Method in class org.apache.jmeter.visualizers.SplineModel +
  +
isEmpty() - +Method in class org.apache.jorphan.collections.HashTree +
If the HashTree is empty, true is returned, false otherwise. +
isEnableConditionalComments(Float) - +Method in class org.apache.jmeter.protocol.http.parser.HTMLParser +
  +
isEnabled() - +Method in class org.apache.jmeter.gui.AbstractJMeterGuiComponent +
Provides a default implementation for the enabled property. +
isEnabled() - +Method in interface org.apache.jmeter.gui.JMeterGUIComponent +
Test GUI elements can be disabled, in which case they do not become part + of the test when run. +
isEnabled() - +Method in class org.apache.jmeter.gui.tree.JMeterTreeNode +
  +
isEnabled() - +Method in class org.apache.jmeter.testelement.AbstractTestElement +
  +
isEnabled() - +Method in interface org.apache.jmeter.testelement.TestElement +
Check if ENABLED property is present and true ; defaults to true +
isEnableDebug() - +Method in class org.apache.jmeter.protocol.smtp.sampler.gui.SmtpPanel +
  +
isEnforceStartTLS() - +Method in class org.apache.jmeter.protocol.mail.sampler.MailReaderSampler +
  +
isEnforceStartTLS() - +Method in class org.apache.jmeter.protocol.smtp.sampler.gui.SecuritySettingsPanel +
Returns if StartTLS is enforced (normally, SMTP uses plain + SMTP-connection as fallback if "250-STARTTLS" isn't sent from the + mailserver) (checkbox) +
isEnforceStartTLS() - +Method in class org.apache.jmeter.protocol.smtp.sampler.protocol.SendMailCommand +
Returns if StartTLS is enforced to secure the connection, i.e. no + fallback is used (plain SMTP) - standard getter +
isEqualOrMatches(String, String, Perl5Matcher, PatternCacheLRU) - +Static method in class org.apache.jmeter.protocol.http.parser.HtmlParsingUtils +
Match the input argument against the pattern using String.equals() or pattern matching if that fails. +
isEqualOrMatches(String, String) - +Static method in class org.apache.jmeter.protocol.http.parser.HtmlParsingUtils +
Match the input argument against the pattern using String.equals() or pattern matching if that fails + using case-insensitive matching. +
isEqualOrMatchesCaseBlind(String, String, Perl5Matcher, PatternCacheLRU) - +Static method in class org.apache.jmeter.protocol.http.parser.HtmlParsingUtils +
Match the input argument against the pattern using String.equals() or pattern matching if that fails + using case-insenssitive matching. +
isEqualOrMatchesCaseBlind(String, String) - +Static method in class org.apache.jmeter.protocol.http.parser.HtmlParsingUtils +
Match the input argument against the pattern using String.equals() or pattern matching if that fails + using case-insensitive matching. +
isEqualsType() - +Method in class org.apache.jmeter.assertions.ResponseAssertion +
  +
isEqualType(JMeterProperty) - +Method in class org.apache.jmeter.testelement.property.AbstractProperty +
  +
isError() - +Method in class org.apache.jmeter.assertions.AssertionResult +
Check if an error occurred while checking the assertion. +
isErrorLogging() - +Method in class org.apache.jmeter.reporters.ResultCollector +
Get the state of error logging +
isErrorsOnly() - +Method in class org.apache.jmeter.assertions.HTMLAssertion +
Check if errors will be reported only +
isEvaluateAll() - +Method in class org.apache.jmeter.control.IfController +
  +
isExpert() - +Method in class org.apache.jmeter.testbeans.gui.TestBeanGUI +
  +
isExpertMode() - +Static method in class org.apache.jmeter.util.JMeterUtils +
Determine whether we are in 'expert' mode. +
isFailure() - +Method in class org.apache.jmeter.assertions.AssertionResult +
Check if the assertion failed. +
isFiltered(String, TestElement) - +Method in interface org.apache.jmeter.protocol.http.util.accesslog.Filter +
Log parser will call this method to see if a particular entry should be + filtered or not. +
isFiltered(String, TestElement) - +Method in class org.apache.jmeter.protocol.http.util.accesslog.LogFilter +
In the case of log filtering the important thing is whether the log entry + should be used. +
isFiltered(String, TestElement) - +Method in class org.apache.jmeter.protocol.http.util.accesslog.SessionFilter +
Log parser will call this method to see if a particular entry should be + filtered or not. +
isFirst() - +Method in class org.apache.jmeter.control.GenericController +
  +
isFunctionalMode() - +Method in class org.apache.jmeter.testelement.TestPlan +
Fetches the functional mode property +
isHidden() - +Method in class org.apache.jmeter.testbeans.gui.TestBeanGUI +
  +
isHTML() - +Method in class org.apache.jmeter.assertions.HTMLAssertion +
Check if html validation mode is set +
isImageParser() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
isImageParsing() - +Method in class org.apache.jmeter.protocol.http.sampler.AccessLogSampler +
  +
isIncludeTimers() - +Method in class org.apache.jmeter.control.TransactionController +
Whether to include timer and pre/post processor time in overall sample. +
isIncludeTimestamp() - +Method in class org.apache.jmeter.protocol.smtp.sampler.gui.SmtpPanel +
Returns if current timestamp is included in the subject (checkbox) +
isIndeterminate() - +Method in class org.apache.jmeter.gui.util.TristateCheckBox +
  +
isInputShutdown() - +Method in class org.apache.jmeter.util.SlowSSLSocket +
  +
isInterpreterPresent() - +Static method in class org.apache.jmeter.util.BeanShellInterpreter +
  +
isKeepAlive() - +Method in class org.apache.jmeter.protocol.jdbc.config.DataSourceElement +
  +
isLeaf(Object) - +Method in class org.apache.jorphan.gui.AbstractTreeTableModel +
the implementation checks if the Object is a treenode. +
isMapped(String) - +Static method in class org.apache.jmeter.util.NameUpdater +
Check if a key is in the map; intended for use by + SaveService#checkClasses() + only. +
isMarkedBySearch() - +Method in class org.apache.jmeter.gui.tree.JMeterTreeNode +
Node is markedBySearch by a search +
isMatchType() - +Method in class org.apache.jmeter.assertions.ResponseAssertion +
  +
isMessageSizeStatistics() - +Method in class org.apache.jmeter.protocol.smtp.sampler.gui.SmtpPanel +
Returns if message size statistics are processed. +
isMetaDataNormal(HTTPArgument) - +Method in class org.apache.jmeter.protocol.http.gui.HTTPArgumentsPanel +
  +
isMonitor() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPAbstractImpl +
Invokes HTTPSamplerBase.isMonitor() +
isMonitor() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
isMonitor() - +Method in class org.apache.jmeter.samplers.SampleResult +
If the sampler is a monitor, method will return true. +
isMybool() - +Method in class org.apache.jmeter.examples.testbeans.example3.Example3 +
  +
isNamespace() - +Method in class org.apache.jmeter.assertions.XPathAssertion +
Is this namespace aware? +
isNegated() - +Method in class org.apache.jmeter.assertions.gui.XPathPanel +
Does this negate the xpath results +
isNegated() - +Method in class org.apache.jmeter.assertions.XPathAssertion +
Negate the XPath test, that is return true if something is not found. +
isNonGUI() - +Static method in class org.apache.jmeter.JMeter +
Check if JMeter is running in non-GUI mode. +
isNonPersistent() - +Method in class org.apache.jmeter.protocol.jms.sampler.JMSSampler +
  +
isNonProxy(String) - +Static method in class org.apache.jmeter.protocol.http.sampler.HTTPHCAbstractImpl +
  +
isNotEmpty() - +Method in class org.apache.jmeter.protocol.http.util.HTTPFileArg +
Check if the entry is not empty. +
isNotSigned() - +Method in class org.apache.jmeter.assertions.SMIMEAssertionTestElement +
  +
isNotType() - +Method in class org.apache.jmeter.assertions.ResponseAssertion +
  +
isNullOrEmptyTrimmed(String) - +Static method in class org.apache.jmeter.protocol.http.sampler.HTTPHCAbstractImpl +
  +
isNumberRequests() - +Static method in class org.apache.jmeter.protocol.http.proxy.AbstractSamplerCreator +
  +
isOneway() - +Method in class org.apache.jmeter.protocol.jms.sampler.JMSSampler +
  +
isOpen() - +Method in class org.apache.jmeter.protocol.mail.sampler.MailFileFolder +
  +
isOutlinesBarFlag() - +Method in class org.apache.jmeter.visualizers.AxisGraph +
  +
isOutputShutdown() - +Method in class org.apache.jmeter.util.SlowSSLSocket +
  +
isPaintable() - +Method in class org.apache.jmeter.testbeans.gui.FileEditor +
  +
isParent() - +Method in class org.apache.jmeter.control.TransactionController +
  +
isParseFlag() - +Method in class org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler +
  +
isPartialMatch(String) - +Static method in class org.apache.jmeter.protocol.http.sampler.HTTPHCAbstractImpl +
  +
isPathExtension() - +Method in class org.apache.jmeter.protocol.http.modifier.URLRewritingModifier +
  +
isPathExtensionNoEquals() - +Method in class org.apache.jmeter.protocol.http.modifier.URLRewritingModifier +
  +
isPathExtensionNoQuestionmark() - +Method in class org.apache.jmeter.protocol.http.modifier.URLRewritingModifier +
  +
isPathSpecified() - +Method in class org.apache.jmeter.protocol.http.control.Cookie +
  +
isPerIteration() - +Method in class org.apache.jmeter.modifiers.UserParameters +
  +
isPerThread() - +Method in class org.apache.jmeter.control.ThroughputController +
  +
isPerUser() - +Method in class org.apache.jmeter.modifiers.CounterConfig +
  +
isPlainBody() - +Method in class org.apache.jmeter.protocol.smtp.sampler.gui.SmtpPanel +
Returns true if message body should be plain (i.e. not multipart/mixed) +
isProtocolDefaultPort() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
Tell whether the default port for the specified protocol is used +
isQuiet() - +Method in class org.apache.jmeter.assertions.XPathAssertion +
  +
isQuiet() - +Method in class org.apache.jmeter.extractor.XPathExtractor +
  +
isRedirect() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSampleResult +
Determine whether this result is a redirect. +
isResetInterpreter() - +Method in class org.apache.jmeter.assertions.BeanShellAssertion +
  +
isResetInterpreter() - +Method in class org.apache.jmeter.protocol.java.sampler.BeanShellSampler +
  +
isResetInterpreter() - +Method in class org.apache.jmeter.util.BeanShellTestElement +
  +
isResetOnThreadGroupIteration() - +Method in class org.apache.jmeter.modifiers.CounterConfig +
  +
isResponseCodeOK() - +Method in class org.apache.jmeter.samplers.SampleResult +
  +
isRestartNextLoop() - +Method in class org.apache.jmeter.threads.JMeterContext +
a restart of the loop was required ? +
isRetobj() - +Method in class org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler +
Gets the return objects attribute of the LDAPSampler object +
isReusable() - +Method in class org.apache.jmeter.protocol.http.parser.HTMLParser +
Parsers should over-ride this method if the parser class is re-usable, in + which case the class will be cached for the next getParser() call. +
isReusable() - +Method in class org.apache.jmeter.protocol.http.parser.JsoupBasedHtmlParser +
  +
isReusable() - +Method in class org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser +
  +
isReUseConnection() - +Method in class org.apache.jmeter.protocol.tcp.sampler.TCPSampler +
  +
isRunningVersion() - +Method in class org.apache.jmeter.testelement.AbstractTestElement +
Returns the runningVersion. +
isRunningVersion() - +Method in class org.apache.jmeter.testelement.property.AbstractProperty +
Returns whether the property is a running version. +
isRunningVersion() - +Method in interface org.apache.jmeter.testelement.property.JMeterProperty +
Returns whether the property is a running version. +
isRunningVersion() - +Method in class org.apache.jmeter.testelement.property.NullProperty +
  +
isRunningVersion() - +Method in interface org.apache.jmeter.testelement.TestElement +
Returns true or false whether the element is the running version. +
isSampleWanted(boolean) - +Method in class org.apache.jmeter.reporters.ResultCollector +
Decides whether or not to a sample is wanted based on: + + errorOnly + successOnly + sample success + + Should only be called for single samples. +
isSampleWanted(boolean, boolean, boolean) - +Static method in class org.apache.jmeter.reporters.ResultCollector +
Decides whether or not to a sample is wanted based on: + + errorOnly + successOnly + sample success + + This version is intended to be called by code that loops over many samples; + it is cheaper than fetching the settings each time. +
isSamplingStarted() - +Method in class org.apache.jmeter.threads.JMeterContext +
  +
isSaveResponse() - +Method in class org.apache.jmeter.protocol.ftp.sampler.FTPSampler +
  +
isScopeAll(String) - +Method in class org.apache.jmeter.testelement.AbstractScopedTestElement +
Is the assertion to be applied to the all samples? +
isScopeAll() - +Method in class org.apache.jmeter.util.ScopePanel +
  +
isScopeChildren(String) - +Method in class org.apache.jmeter.testelement.AbstractScopedTestElement +
Is the assertion to be applied to the sub-samples (children)? +
isScopeChildren() - +Method in class org.apache.jmeter.util.ScopePanel +
  +
isScopeParent(String) - +Method in class org.apache.jmeter.testelement.AbstractScopedTestElement +
Is the assertion to be applied to the main (parent) sample? +
isScopeParent() - +Method in class org.apache.jmeter.util.ScopePanel +
  +
isScopeVariable(String) - +Method in class org.apache.jmeter.testelement.AbstractScopedTestElement +
Is the assertion to be applied to the all samples? +
isScopeVariable() - +Method in class org.apache.jmeter.testelement.AbstractScopedTestElement +
Is the assertion to be applied to the all samples? +
isScopeVariable() - +Method in class org.apache.jmeter.util.ScopePanel +
  +
isSecure(String) - +Static method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
isSecure(URL) - +Static method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
isSecure() - +Method in class org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler +
  +
isSerialized() - +Method in class org.apache.jmeter.testelement.TestPlan +
Fetch the serialize threadgroups property +
isServerAlive() - +Method in class org.apache.jmeter.protocol.http.control.HttpMirrorControl +
  +
isShowGrouping() - +Method in class org.apache.jmeter.visualizers.AxisGraph +
  +
isShowGrouping() - +Method in class org.apache.jmeter.visualizers.RespTimeGraphChart +
  +
isShowNegated() - +Method in class org.apache.jmeter.assertions.gui.XPathPanel +
  +
isSignerCheckByFile() - +Method in class org.apache.jmeter.assertions.SMIMEAssertionTestElement +
  +
isSignerCheckConstraints() - +Method in class org.apache.jmeter.assertions.SMIMEAssertionTestElement +
  +
isSignerNoCheck() - +Method in class org.apache.jmeter.assertions.SMIMEAssertionTestElement +
  +
isSkipNext() - +Method in class org.apache.jmeter.control.InterleaveControl +
  +
isSkippable(String) - +Method in class org.apache.jmeter.config.Argument +
Is this parameter skippable, i.e. empty/blank string + or it looks like an unrecognised variable. +
isSpecialProperty(String) - +Static method in class org.apache.jmeter.save.converters.ConversionHelp +
Check whether name specifies a special property +
isSSLSupported() - +Static method in class org.apache.jmeter.util.SSLManager +
Test whether SSL is supported or not. +
isStampedAtStart() - +Method in class org.apache.jmeter.samplers.SampleResult +
  +
isStartNextThreadLoop() - +Method in class org.apache.jmeter.samplers.SampleResult +
  +
isStartNextThreadLoop() - +Method in class org.apache.jmeter.testelement.OnErrorTestElement +
  +
isStaticProxy(String) - +Static method in class org.apache.jmeter.protocol.http.sampler.HTTPHCAbstractImpl +
Is a static proxy defined? +
isStats() - +Method in class org.apache.jmeter.visualizers.BeanShellListener +
  +
isStats() - +Method in class org.apache.jmeter.visualizers.BSFListener +
  +
isStats - +Variable in class org.apache.jmeter.visualizers.gui.AbstractVisualizer +
  +
isStats() - +Method in class org.apache.jmeter.visualizers.gui.AbstractVisualizer +
  +
isStats() - +Method in class org.apache.jmeter.visualizers.JSR223Listener +
  +
isStats() - +Method in interface org.apache.jmeter.visualizers.Visualizer +
This method is used to indicate a visualizer generates statistics. +
isStopBetweenSamples() - +Method in class org.apache.jmeter.protocol.jms.sampler.SubscriberSampler +
  +
isStopTest() - +Method in class org.apache.jmeter.samplers.SampleResult +
  +
isStopTest() - +Method in class org.apache.jmeter.testelement.OnErrorTestElement +
  +
isStopTestNow() - +Method in class org.apache.jmeter.samplers.SampleResult +
  +
isStopTestNow() - +Method in class org.apache.jmeter.testelement.OnErrorTestElement +
  +
isStopThread() - +Method in class org.apache.jmeter.samplers.SampleResult +
  +
isStopThread() - +Method in class org.apache.jmeter.testelement.OnErrorTestElement +
  +
isStoreMimeMessage() - +Method in class org.apache.jmeter.protocol.mail.sampler.MailReaderSampler +
  +
isSubstringType() - +Method in class org.apache.jmeter.assertions.ResponseAssertion +
  +
isSuccess() - +Method in class org.apache.jmeter.visualizers.Sample +
  +
isSuccess() - +Method in class org.apache.jmeter.visualizers.TableSample +
  +
isSuccessCode(int) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPAbstractImpl +
Determine if the HTTP status code is successful or not i.e. in range 200 + to 399 inclusive + + Invokes HTTPSamplerBase.isSuccessCode(int) +
isSuccessCode(int) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
Determine if the HTTP status code is successful or not + i.e. in range 200 to 399 inclusive +
isSuccessful() - +Method in class org.apache.jmeter.samplers.SampleResult +
  +
isSuccessOnlyLogging() - +Method in class org.apache.jmeter.reporters.ResultCollector +
Get the state of successful only logging +
isSuppressSubject() - +Method in class org.apache.jmeter.protocol.smtp.sampler.gui.SmtpPanel +
Returns true if subject header should be suppressed +
isSynchronousMode() - +Method in class org.apache.jmeter.protocol.smtp.sampler.protocol.SendMailCommand +
Returns if synchronous-mode is used for current message (i.e. time for + delivery, ... is measured) - standard getter +
isTearDownOnShutdown() - +Method in class org.apache.jmeter.testelement.TestPlan +
  +
isTemporary(JMeterProperty) - +Method in class org.apache.jmeter.testelement.AbstractTestElement +
Test whether a given property is only a temporary resident of the + TestElement +
isTemporary(JMeterProperty) - +Method in interface org.apache.jmeter.testelement.TestElement +
Test whether a given property is only a temporary resident of the + TestElement +
isTestFieldNetworkSize() - +Method in class org.apache.jmeter.assertions.SizeAssertion +
  +
isTestFieldResponseBody() - +Method in class org.apache.jmeter.assertions.SizeAssertion +
  +
isTestFieldResponseCode() - +Method in class org.apache.jmeter.assertions.ResponseAssertion +
  +
isTestFieldResponseCode() - +Method in class org.apache.jmeter.assertions.SizeAssertion +
  +
isTestFieldResponseData() - +Method in class org.apache.jmeter.assertions.ResponseAssertion +
  +
isTestFieldResponseDataAsDocument() - +Method in class org.apache.jmeter.assertions.ResponseAssertion +
  +
isTestFieldResponseHeaders() - +Method in class org.apache.jmeter.assertions.ResponseAssertion +
  +
isTestFieldResponseHeaders() - +Method in class org.apache.jmeter.assertions.SizeAssertion +
  +
isTestFieldResponseMessage() - +Method in class org.apache.jmeter.assertions.ResponseAssertion +
  +
isTestFieldResponseMessage() - +Method in class org.apache.jmeter.assertions.SizeAssertion +
  +
isTestFieldURL() - +Method in class org.apache.jmeter.assertions.ResponseAssertion +
  +
isTestPlan() - +Method in class org.apache.jmeter.gui.action.template.Template +
  +
isTextDataType(SampleResult) - +Static method in class org.apache.jmeter.visualizers.ViewResultsFullVisualizer +
  +
isTolerant() - +Method in class org.apache.jmeter.assertions.XPathAssertion +
Is this using tolerant mode? +
isTolerant() - +Method in class org.apache.jmeter.extractor.XPathExtractor +
  +
isTransactionDone() - +Method in class org.apache.jmeter.control.TransactionSampler +
  +
isTransactionSampleEvent() - +Method in class org.apache.jmeter.samplers.SampleEvent +
  +
isTrustAllCerts() - +Method in class org.apache.jmeter.protocol.mail.sampler.MailReaderSampler +
  +
isTrustAllCerts() - +Method in class org.apache.jmeter.protocol.smtp.sampler.gui.SecuritySettingsPanel +
Returns if all certificates are blindly trusted (using according + SocketFactory) (checkbox) +
isTrustAllCerts() - +Method in class org.apache.jmeter.protocol.smtp.sampler.protocol.SendMailCommand +
Returns if sampler should trust all certificates - standard getter +
isUpload() - +Method in class org.apache.jmeter.protocol.ftp.sampler.FTPSampler +
  +
isUseAuth() - +Method in class org.apache.jmeter.protocol.jms.sampler.BaseJMSSampler +
return whether jndi requires authentication +
isUseAuth() - +Method in class org.apache.jmeter.protocol.smtp.sampler.gui.SmtpPanel +
Returns if mail-server needs authentication (checkbox) +
isUseAuthentication() - +Method in class org.apache.jmeter.protocol.smtp.sampler.protocol.SendMailCommand +
Returns if authentication is used to access the mailserver - standard + getter +
isUseEmlMessage() - +Method in class org.apache.jmeter.protocol.smtp.sampler.gui.SmtpPanel +
Returns if an .eml-message is sent instead of the content of message-text + area +
isUseEquals() - +Method in class org.apache.jmeter.protocol.http.util.HTTPArgument +
  +
isUseExpression() - +Method in class org.apache.jmeter.control.IfController +
  +
isUseLocalTrustStore() - +Method in class org.apache.jmeter.protocol.mail.sampler.MailReaderSampler +
  +
isUseLocalTrustStore() - +Method in class org.apache.jmeter.protocol.smtp.sampler.gui.SecuritySettingsPanel +
Returns if local (pre-installed) truststore is used to avoid + SSL-connection-exceptions (checkbox) +
isUseReqMsgIdAsCorrelId() - +Method in class org.apache.jmeter.protocol.jms.sampler.JMSSampler +
Which request field to use for correlation? +
isUseResMsgIdAsCorrelId() - +Method in class org.apache.jmeter.protocol.jms.sampler.JMSSampler +
Which response field to use for correlation? +
isUseSSL() - +Method in class org.apache.jmeter.protocol.mail.sampler.MailReaderSampler +
  +
isUseSSL() - +Method in class org.apache.jmeter.protocol.smtp.sampler.gui.SecuritySettingsPanel +
Returns if SSL is used to secure the SMTP-connection (checkbox) +
isUseStartTLS() - +Method in class org.apache.jmeter.protocol.mail.sampler.MailReaderSampler +
  +
isUseStartTLS() - +Method in class org.apache.jmeter.protocol.smtp.sampler.gui.SecuritySettingsPanel +
Returns if StartTLS is used to secure the connection (checkbox) +
isValidating() - +Method in class org.apache.jmeter.assertions.XPathAssertion +
Is this validating +
isValidating() - +Method in class org.apache.jmeter.extractor.XPathExtractor +
  +
isValueOrientation() - +Method in class org.apache.jmeter.visualizers.AxisGraph +
  +
isVerifySignature() - +Method in class org.apache.jmeter.assertions.SMIMEAssertionTestElement +
  +
isWebdavMethod(String) - +Static method in class org.apache.jmeter.protocol.http.sampler.HttpWebdav +
  +
isWhitespace() - +Method in class org.apache.jmeter.assertions.XPathAssertion +
Is this whitepsace ignored. +
isWhitespace() - +Method in class org.apache.jmeter.extractor.XPathExtractor +
  +
isXHTML() - +Method in class org.apache.jmeter.assertions.HTMLAssertion +
Check if xhtml validation mode is set +
isXML() - +Method in class org.apache.jmeter.assertions.HTMLAssertion +
Check if xml validation mode is set +
isXML(byte[]) - +Static method in class org.apache.jorphan.util.JOrphanUtils +
Detects if some content starts with the standard XML prefix. +
itemStateChanged(ItemEvent) - +Method in class org.apache.jmeter.gui.util.TextAreaTableCellEditor.EditorDelegate +
When an item's state changes, editing is ended. +
itemStateChanged(ItemEvent) - +Method in class org.apache.jmeter.protocol.http.config.gui.HttpDefaultsGui +
  +
itemStateChanged(ItemEvent) - +Method in class org.apache.jmeter.protocol.http.proxy.gui.ProxyControlGui +
+
itemStateChanged(ItemEvent) - +Method in class org.apache.jmeter.protocol.java.control.gui.JUnitTestSamplerGui +
Handle change events: currently handles events for the JUnit4 + checkbox, and sets up the relevant class names. +
itemStateChanged(ItemEvent) - +Method in class org.apache.jmeter.protocol.ldap.config.gui.LdapConfigGui +
This itemStateChanged listener for changing the card layout for based on\ + the test selected in the User defined test case. +
itemStateChanged(ItemEvent) - +Method in class org.apache.jmeter.protocol.ldap.config.gui.LdapExtConfigGui +
This itemStateChanged listener for changing the card layout for based on + the test selected in the User defined test case. +
itemStateChanged(ItemEvent) - +Method in class org.apache.jmeter.protocol.system.gui.SystemSamplerGui +
  +
itemStateChanged(ItemEvent) - +Method in class org.apache.jmeter.threads.gui.ThreadGroupGui +
  +
itemStateChanged(ItemEvent) - +Method in class org.apache.jmeter.visualizers.GraphVisualizer +
  +
itemStateChanged(ItemEvent) - +Method in class org.apache.jmeter.visualizers.MonitorHealthVisualizer +
  +
itemStateChanged(ItemEvent) - +Method in class org.apache.jmeter.visualizers.ViewResultsFullVisualizer +
Handler for Checkbox +
IterationCounter - Class in org.apache.jmeter.functions
Counter that can be referenced anywhere in the Thread Group.
IterationCounter() - +Constructor for class org.apache.jmeter.functions.IterationCounter +
  +
iterationEnd(LoopIterationEvent) - +Method in class org.apache.jmeter.assertions.CompareAssertion +
  +
iterationStart(LoopIterationEvent) - +Method in class org.apache.jmeter.assertions.CompareAssertion +
  +
iterationStart(LoopIterationEvent) - +Method in class org.apache.jmeter.config.CSVDataSet +
  +
iterationStart(LoopIterationEvent) - +Method in class org.apache.jmeter.config.RandomVariableConfig +
Called when a loop iteration is about to start. +
iterationStart(LoopIterationEvent) - +Method in class org.apache.jmeter.control.OnceOnlyController +
  +
iterationStart(LoopIterationEvent) - +Method in class org.apache.jmeter.control.ThroughputController +
  +
iterationStart(LoopIterationEvent) - +Method in interface org.apache.jmeter.engine.event.LoopIterationListener +
Called when a loop iteration is about to start. +
iterationStart(LoopIterationEvent) - +Method in class org.apache.jmeter.modifiers.CounterConfig +
  +
iterationStart(LoopIterationEvent) - +Method in class org.apache.jmeter.modifiers.UserParameters +
  +
iterationStart(LoopIterationEvent) - +Method in class org.apache.jmeter.timers.ConstantTimer +
Gain access to any variables that have been defined. +
iterator() - +Method in class org.apache.jmeter.config.Arguments +
Get a PropertyIterator of the arguments. +
iterator() - +Method in class org.apache.jmeter.protocol.http.parser.URLCollection +
  +
iterator() - +Method in class org.apache.jmeter.protocol.http.util.HTTPFileArgs +
Get a PropertyIterator of the files. +
iterator() - +Method in class org.apache.jmeter.protocol.jms.sampler.JMSProperties +
Get a PropertyIterator of the JmsProperties. +
iterator() - +Method in class org.apache.jmeter.protocol.ldap.config.gui.LDAPArguments +
Get a PropertyIterator of the arguments. +
iterator() - +Method in class org.apache.jmeter.testelement.property.CollectionProperty +
Get the property iterator to iterate through the sub-values of this + JMeterProperty. +
iterator() - +Method in class org.apache.jmeter.testelement.property.MapProperty +
Get the property iterator to iterate through the sub-values of this + JMeterProperty. +
iterator() - +Method in class org.apache.jmeter.testelement.property.MultiProperty +
Get the property iterator to iterate through the sub-values of this + JMeterProperty. +
iterator() - +Method in class org.apache.jmeter.testelement.property.TestElementProperty +
Get the property iterator to iterate through the sub-values of this + JMeterProperty. +
iterator() - +Method in class org.apache.jorphan.gui.ObjectTableModel +
  +
+
+

+J

+
+
jacobi() - +Method in class org.apache.jmeter.visualizers.Spline3 +
Resolves the equation system by a Jacobi algorithm. +
JavaConfig - Class in org.apache.jmeter.protocol.java.config
The JavaConfig class contains the configuration data necessary + for the Java protocol.
JavaConfig() - +Constructor for class org.apache.jmeter.protocol.java.config.JavaConfig +
Constructor for the JavaConfig object +
JavaConfigGui - Class in org.apache.jmeter.protocol.java.config.gui
The JavaConfigGui class provides the user interface for the + JavaConfig object.
JavaConfigGui() - +Constructor for class org.apache.jmeter.protocol.java.config.gui.JavaConfigGui +
Create a new JavaConfigGui as a standalone component. +
JavaConfigGui(boolean) - +Constructor for class org.apache.jmeter.protocol.java.config.gui.JavaConfigGui +
Create a new JavaConfigGui as either a standalone or an embedded + component. +
JavaSampler - Class in org.apache.jmeter.protocol.java.sampler
A sampler for executing custom Java code in each sample.
JavaSampler() - +Constructor for class org.apache.jmeter.protocol.java.sampler.JavaSampler +
Create a JavaSampler. +
JavaSamplerClient - Interface in org.apache.jmeter.protocol.java.sampler
This interface defines the interactions between the JavaSampler and external + Java programs which can be executed by JMeter.
JavaSamplerContext - Class in org.apache.jmeter.protocol.java.sampler
JavaSamplerContext is used to provide context information to a + JavaSamplerClient implementation.
JavaSamplerContext(Arguments) - +Constructor for class org.apache.jmeter.protocol.java.sampler.JavaSamplerContext +
Create a new JavaSampler with the specified initialization parameters. +
JavaScript - Class in org.apache.jmeter.functions
javaScript function implementation that executes a piece of JavaScript (not Java!)
JavaScript() - +Constructor for class org.apache.jmeter.functions.JavaScript +
  +
JavaTest - Class in org.apache.jmeter.protocol.java.test
The JavaTest class is a simple sampler which is intended for + use when developing test plans.
JavaTest() - +Constructor for class org.apache.jmeter.protocol.java.test.JavaTest +
Default constructor for JavaTest. +
JavaTestSamplerGui - Class in org.apache.jmeter.protocol.java.control.gui
The JavaTestSamplerGui class provides the user interface for + the JavaSampler.
JavaTestSamplerGui() - +Constructor for class org.apache.jmeter.protocol.java.control.gui.JavaTestSamplerGui +
Constructor for JavaTestSamplerGui +
JAVAX_NET_SSL_KEY_STORE - +Static variable in class org.apache.jmeter.util.SSLManager +
  +
JAXP_SCHEMA_LANGUAGE - +Static variable in class org.apache.jmeter.assertions.XMLSchemaAssertion +
  +
JAXP_SCHEMA_SOURCE - +Static variable in class org.apache.jmeter.assertions.XMLSchemaAssertion +
  +
JDateField - Class in org.apache.jmeter.gui.util
This is Date mask control.
JDateField(Date) - +Constructor for class org.apache.jmeter.gui.util.JDateField +
Create a DateField with the specified date. +
JDateField() - +Constructor for class org.apache.jmeter.gui.util.JDateField +
  +
JDBCPostProcessor - Class in org.apache.jmeter.protocol.jdbc.processor
Post processor handling JDBC Requests
JDBCPostProcessor() - +Constructor for class org.apache.jmeter.protocol.jdbc.processor.JDBCPostProcessor +
  +
JDBCPostProcessorBeanInfo - Class in org.apache.jmeter.protocol.jdbc.processor
 
JDBCPostProcessorBeanInfo() - +Constructor for class org.apache.jmeter.protocol.jdbc.processor.JDBCPostProcessorBeanInfo +
  +
JDBCPreProcessor - Class in org.apache.jmeter.protocol.jdbc.processor
Preprocessor handling JDBC Requests
JDBCPreProcessor() - +Constructor for class org.apache.jmeter.protocol.jdbc.processor.JDBCPreProcessor +
  +
JDBCPreProcessorBeanInfo - Class in org.apache.jmeter.protocol.jdbc.processor
 
JDBCPreProcessorBeanInfo() - +Constructor for class org.apache.jmeter.protocol.jdbc.processor.JDBCPreProcessorBeanInfo +
  +
JDBCSampler - Class in org.apache.jmeter.protocol.jdbc.sampler
A sampler which understands JDBC database requests.
JDBCSampler() - +Constructor for class org.apache.jmeter.protocol.jdbc.sampler.JDBCSampler +
Creates a JDBCSampler. +
JDBCSamplerBeanInfo - Class in org.apache.jmeter.protocol.jdbc.sampler
 
JDBCSamplerBeanInfo() - +Constructor for class org.apache.jmeter.protocol.jdbc.sampler.JDBCSamplerBeanInfo +
  +
JDBCTestElementBeanInfoSupport - Class in org.apache.jmeter.protocol.jdbc
 
JDBCTestElementBeanInfoSupport(Class<? extends TestBean>) - +Constructor for class org.apache.jmeter.protocol.jdbc.JDBCTestElementBeanInfoSupport +
  +
Jexl2Function - Class in org.apache.jmeter.functions
A function which understands Commons JEXL2
Jexl2Function() - +Constructor for class org.apache.jmeter.functions.Jexl2Function +
  +
JexlFunction - Class in org.apache.jmeter.functions
A function which understands Commons JEXL
JexlFunction() - +Constructor for class org.apache.jmeter.functions.JexlFunction +
  +
JLabeledChoice - Class in org.apache.jorphan.gui
 
JLabeledChoice() - +Constructor for class org.apache.jorphan.gui.JLabeledChoice +
Default constructor, The label and the Text field are left empty. +
JLabeledChoice(String, boolean) - +Constructor for class org.apache.jorphan.gui.JLabeledChoice +
  +
JLabeledChoice(String, String[]) - +Constructor for class org.apache.jorphan.gui.JLabeledChoice +
Constructs a non-edittable combo-box with the label displaying the passed text. +
JLabeledChoice(String, String[], boolean) - +Constructor for class org.apache.jorphan.gui.JLabeledChoice +
Constructs a combo-box with the label displaying the passed text. +
JLabeledField - Interface in org.apache.jorphan.gui
 
JLabeledPasswordField - Class in org.apache.jorphan.gui
 
JLabeledPasswordField() - +Constructor for class org.apache.jorphan.gui.JLabeledPasswordField +
  +
JLabeledPasswordField(String) - +Constructor for class org.apache.jorphan.gui.JLabeledPasswordField +
Constructs a new component with the label displaying the passed text. +
JLabeledRadioI18N - Class in org.apache.jmeter.gui.util
JLabeledRadioI18N creates a set of Radio buttons with a label.
JLabeledRadioI18N(String, String[], String) - +Constructor for class org.apache.jmeter.gui.util.JLabeledRadioI18N +
  +
JLabeledRadioI18N() - +Constructor for class org.apache.jmeter.gui.util.JLabeledRadioI18N +
Deprecated. - only for use in testing +
JLabeledTextArea - Class in org.apache.jorphan.gui
A Helper component that wraps a JTextField with a label into a JPanel (this).
JLabeledTextArea() - +Constructor for class org.apache.jorphan.gui.JLabeledTextArea +
Default constructor, The label and the Text field are left empty. +
JLabeledTextArea(String) - +Constructor for class org.apache.jorphan.gui.JLabeledTextArea +
Constructs a new component with the label displaying the passed text. +
JLabeledTextArea(String, Document) - +Constructor for class org.apache.jorphan.gui.JLabeledTextArea +
Constructs a new component with the label displaying the passed text. +
JLabeledTextField - Class in org.apache.jorphan.gui
A Helper component that wraps a JTextField with a label into a JPanel (this).
JLabeledTextField() - +Constructor for class org.apache.jorphan.gui.JLabeledTextField +
Default constructor, The label and the Text field are left empty. +
JLabeledTextField(String) - +Constructor for class org.apache.jorphan.gui.JLabeledTextField +
Constructs a new component with the label displaying the passed text. +
JLabeledTextField(String, int) - +Constructor for class org.apache.jorphan.gui.JLabeledTextField +
  +
JLabeledTextField(String, Color) - +Constructor for class org.apache.jorphan.gui.JLabeledTextField +
  +
JMeter - Class in org.apache.jmeter
Main JMeter class; processes options and starts the GUI, non-GUI or server as appropriate.
JMeter() - +Constructor for class org.apache.jmeter.JMeter +
  +
JMETER_NON_GUI - +Static variable in class org.apache.jmeter.JMeter +
  +
JMETER_TREE_NODE_ARRAY_DATA_FLAVOR - +Static variable in class org.apache.jmeter.util.JMeterTreeNodeTransferable +
  +
JMeterCellRenderer - Class in org.apache.jmeter.gui.tree
Class to render the test tree - sets the enabled/disabled versions of the icons
JMeterCellRenderer() - +Constructor for class org.apache.jmeter.gui.tree.JMeterCellRenderer +
  +
JMeterColor - Class in org.apache.jmeter.gui.util
 
JMeterColor(float, float, float) - +Constructor for class org.apache.jmeter.gui.util.JMeterColor +
  +
JMeterColor() - +Constructor for class org.apache.jmeter.gui.util.JMeterColor +
  +
JMeterContext - Class in org.apache.jmeter.threads
Holds context for a thread.
JMeterContextService - Class in org.apache.jmeter.threads
Provides context service for JMeter threads.
JMeterContextService.ThreadCounts - Class in org.apache.jmeter.threads
 
JMeterEngine - Interface in org.apache.jmeter.engine
This interface is implemented by classes that can run JMeter tests.
JMeterEngineException - Exception in org.apache.jmeter.engine
Exception class for use by JMeterEngine.runTest() and RemoteJMeterEngine.rrunTest()
JMeterEngineException() - +Constructor for exception org.apache.jmeter.engine.JMeterEngineException +
  +
JMeterEngineException(String) - +Constructor for exception org.apache.jmeter.engine.JMeterEngineException +
  +
JMeterEngineException(Throwable) - +Constructor for exception org.apache.jmeter.engine.JMeterEngineException +
  +
JMeterEngineException(String, Throwable) - +Constructor for exception org.apache.jmeter.engine.JMeterEngineException +
  +
JMeterError - Error in org.apache.jorphan.util
The rationale for this class was originally to support chained Errors in JDK 1.3 + However, the class is now used in its own right.
JMeterError() - +Constructor for error org.apache.jorphan.util.JMeterError +
  +
JMeterError(String) - +Constructor for error org.apache.jorphan.util.JMeterError +
  +
JMeterError(Throwable) - +Constructor for error org.apache.jorphan.util.JMeterError +
  +
JMeterError(String, Throwable) - +Constructor for error org.apache.jorphan.util.JMeterError +
  +
JMeterException - Exception in org.apache.jorphan.util
The rationale for this class was originally to support chained Exceptions in JDK 1.3 + However, the class is now used in its own right.
JMeterException() - +Constructor for exception org.apache.jorphan.util.JMeterException +
  +
JMeterException(String) - +Constructor for exception org.apache.jorphan.util.JMeterException +
  +
JMeterException(Throwable) - +Constructor for exception org.apache.jorphan.util.JMeterException +
  +
JMeterException(String, Throwable) - +Constructor for exception org.apache.jorphan.util.JMeterException +
  +
JMeterFileFilter - Class in org.apache.jmeter.gui
A file filter which allows files to be filtered based on a list of allowed + extensions.
JMeterFileFilter(String[]) - +Constructor for class org.apache.jmeter.gui.JMeterFileFilter +
Create a new JMeter file filter which allows the specified extensions. +
JMeterFileFilter(String[], boolean) - +Constructor for class org.apache.jmeter.gui.JMeterFileFilter +
Create a new JMeter file filter which allows the specified extensions. +
JMeterGUIComponent - Interface in org.apache.jmeter.gui
Implementing this interface indicates that the class is a JMeter GUI + Component.
JmeterKeyStore - Class in org.apache.jmeter.util.keystore
Use this Keystore for JMeter specific KeyStores.
JMeterMenuBar - Class in org.apache.jmeter.gui.util
 
JMeterMenuBar() - +Constructor for class org.apache.jmeter.gui.util.JMeterMenuBar +
  +
JMeterPlugin - Interface in org.apache.jmeter.plugin
 
JMeterProperty - Interface in org.apache.jmeter.testelement.property
 
JMeterStopTestException - Exception in org.apache.jorphan.util
This Exception is for use by functions etc to signal a Stop Test condition + where there is no access to the normal stop method
JMeterStopTestException() - +Constructor for exception org.apache.jorphan.util.JMeterStopTestException +
  +
JMeterStopTestException(String) - +Constructor for exception org.apache.jorphan.util.JMeterStopTestException +
  +
JMeterStopTestNowException - Exception in org.apache.jorphan.util
This Exception is for use by functions etc to signal a Stop Test Now condition + where there is no access to the normal stop method
JMeterStopTestNowException() - +Constructor for exception org.apache.jorphan.util.JMeterStopTestNowException +
  +
JMeterStopTestNowException(String) - +Constructor for exception org.apache.jorphan.util.JMeterStopTestNowException +
  +
JMeterStopThreadException - Exception in org.apache.jorphan.util
This Exception is for use by functions etc to signal a Stop Thread condition + where there is no access to the normal stop method
JMeterStopThreadException() - +Constructor for exception org.apache.jorphan.util.JMeterStopThreadException +
  +
JMeterStopThreadException(String) - +Constructor for exception org.apache.jorphan.util.JMeterStopThreadException +
  +
JMeterStopThreadException(String, Throwable) - +Constructor for exception org.apache.jorphan.util.JMeterStopThreadException +
  +
JMeterStopThreadException(Throwable) - +Constructor for exception org.apache.jorphan.util.JMeterStopThreadException +
  +
JMeterThread - Class in org.apache.jmeter.threads
The JMeter interface to the sampling process, allowing JMeter to see the + timing, add listeners for sampling events and to stop the sampling process.
JMeterThread(HashTree, JMeterThreadMonitor, ListenerNotifier) - +Constructor for class org.apache.jmeter.threads.JMeterThread +
  +
JMeterThreadMonitor - Interface in org.apache.jmeter.threads
 
JMeterToolBar - Class in org.apache.jmeter.gui.util
The JMeter main toolbar class
JMeterToolBar() - +Constructor for class org.apache.jmeter.gui.util.JMeterToolBar +
  +
JMeterTreeListener - Class in org.apache.jmeter.gui.tree
 
JMeterTreeListener(JMeterTreeModel) - +Constructor for class org.apache.jmeter.gui.tree.JMeterTreeListener +
Constructor for the JMeterTreeListener object. +
JMeterTreeListener() - +Constructor for class org.apache.jmeter.gui.tree.JMeterTreeListener +
Constructor for the JMeterTreeListener object +
JMeterTreeModel - Class in org.apache.jmeter.gui.tree
 
JMeterTreeModel(TestElement, TestElement) - +Constructor for class org.apache.jmeter.gui.tree.JMeterTreeModel +
  +
JMeterTreeModel() - +Constructor for class org.apache.jmeter.gui.tree.JMeterTreeModel +
  +
JMeterTreeModel(Object) - +Constructor for class org.apache.jmeter.gui.tree.JMeterTreeModel +
Deprecated. - only for use by JMeter class! +
JMeterTreeNode - Class in org.apache.jmeter.gui.tree
 
JMeterTreeNode() - +Constructor for class org.apache.jmeter.gui.tree.JMeterTreeNode +
  +
JMeterTreeNode(TestElement, JMeterTreeModel) - +Constructor for class org.apache.jmeter.gui.tree.JMeterTreeNode +
  +
JMeterTreeNodeTransferable - Class in org.apache.jmeter.util
Simple implementation of a transferable for JMeterTreeNode arrays based on serialization.
JMeterTreeNodeTransferable() - +Constructor for class org.apache.jmeter.util.JMeterTreeNodeTransferable +
  +
JMeterTreeTransferHandler - Class in org.apache.jmeter.gui.tree
 
JMeterTreeTransferHandler() - +Constructor for class org.apache.jmeter.gui.tree.JMeterTreeTransferHandler +
  +
JMeterUtils - Class in org.apache.jmeter.util
This class contains the static utility methods used by JMeter.
JMeterUtils() - +Constructor for class org.apache.jmeter.util.JMeterUtils +
  +
JMeterVariables - Class in org.apache.jmeter.threads
Class which defines JMeter variables.
JMeterVariables() - +Constructor for class org.apache.jmeter.threads.JMeterVariables +
  +
JMeterVersion - Class in org.apache.jmeter.util
Utility class to define the JMeter Version string
JMS_PROPERTIES - +Static variable in class org.apache.jmeter.protocol.jms.sampler.JMSProperties +
The name of the property used to store the JmsProperties. +
JMSProperties - Class in org.apache.jmeter.protocol.jms.sampler
A set of JMSProperty objects.
JMSProperties() - +Constructor for class org.apache.jmeter.protocol.jms.sampler.JMSProperties +
Create a new JmsPropertys object with no JmsProperties +
JMSPropertiesPanel - Class in org.apache.jmeter.protocol.jms.control.gui
Handles input for Jms Properties
JMSPropertiesPanel() - +Constructor for class org.apache.jmeter.protocol.jms.control.gui.JMSPropertiesPanel +
Default Constructor. +
JMSProperty - Class in org.apache.jmeter.protocol.jms.sampler
JMS Property with type
JMSProperty() - +Constructor for class org.apache.jmeter.protocol.jms.sampler.JMSProperty +
Create a new JmsProperty without a name, value, or metadata. +
JMSProperty(String, String) - +Constructor for class org.apache.jmeter.protocol.jms.sampler.JMSProperty +
Create a new JmsProperty with the specified name and value, and String type. +
JMSProperty(String, String, String) - +Constructor for class org.apache.jmeter.protocol.jms.sampler.JMSProperty +
Create a new JmsProperty with the specified name and value, and String type. +
JMSPublisherGui - Class in org.apache.jmeter.protocol.jms.control.gui
This is the GUI for JMS Publisher
JMSPublisherGui() - +Constructor for class org.apache.jmeter.protocol.jms.control.gui.JMSPublisherGui +
  +
JMSSampler - Class in org.apache.jmeter.protocol.jms.sampler
This class implements the JMS Point-to-Point sampler
JMSSampler() - +Constructor for class org.apache.jmeter.protocol.jms.sampler.JMSSampler +
  +
JMSSamplerGui - Class in org.apache.jmeter.protocol.jms.control.gui
Configuration screen for Java Messaging Point-to-Point requests.
JMSSamplerGui() - +Constructor for class org.apache.jmeter.protocol.jms.control.gui.JMSSamplerGui +
  +
JMSSubscriberGui - Class in org.apache.jmeter.protocol.jms.control.gui
This is the GUI for JMS Subscriber
JMSSubscriberGui() - +Constructor for class org.apache.jmeter.protocol.jms.control.gui.JMSSubscriberGui +
  +
JMX_FILE_EXTENSION - +Static variable in class org.apache.jmeter.gui.action.Save +
  +
JoddExtractor - Class in org.apache.jmeter.extractor
Jodd-Lagerto based CSS/JQuery extractor + see http://jodd.org/doc/csselly/
JoddExtractor() - +Constructor for class org.apache.jmeter.extractor.JoddExtractor +
  +
JOrphanUtils - Class in org.apache.jorphan.util
This class contains frequently-used static utility methods.
JPEG_EXTENSION - +Static variable in class org.apache.jmeter.save.SaveGraphicsService +
  +
JsoupBasedHtmlParser - Class in org.apache.jmeter.protocol.http.parser
Parser based on JSOUP
JsoupBasedHtmlParser() - +Constructor for class org.apache.jmeter.protocol.http.parser.JsoupBasedHtmlParser +
  +
JSoupExtractor - Class in org.apache.jmeter.extractor
JSoup based CSS/JQuery extractor + see http://jsoup.org/cookbook/extracting-data/selector-syntax
JSoupExtractor() - +Constructor for class org.apache.jmeter.extractor.JSoupExtractor +
  +
JSR223Assertion - Class in org.apache.jmeter.assertions
 
JSR223Assertion() - +Constructor for class org.apache.jmeter.assertions.JSR223Assertion +
  +
JSR223AssertionBeanInfo - Class in org.apache.jmeter.assertions
 
JSR223AssertionBeanInfo() - +Constructor for class org.apache.jmeter.assertions.JSR223AssertionBeanInfo +
  +
JSR223BeanInfoSupport - Class in org.apache.jmeter.util
Parent class to handle common GUI design for JSR223 test elements
JSR223BeanInfoSupport(Class<? extends TestBean>) - +Constructor for class org.apache.jmeter.util.JSR223BeanInfoSupport +
  +
JSR223Listener - Class in org.apache.jmeter.visualizers
 
JSR223Listener() - +Constructor for class org.apache.jmeter.visualizers.JSR223Listener +
  +
JSR223ListenerBeanInfo - Class in org.apache.jmeter.visualizers
 
JSR223ListenerBeanInfo() - +Constructor for class org.apache.jmeter.visualizers.JSR223ListenerBeanInfo +
  +
JSR223PostProcessor - Class in org.apache.jmeter.extractor
 
JSR223PostProcessor() - +Constructor for class org.apache.jmeter.extractor.JSR223PostProcessor +
  +
JSR223PostProcessorBeanInfo - Class in org.apache.jmeter.extractor
 
JSR223PostProcessorBeanInfo() - +Constructor for class org.apache.jmeter.extractor.JSR223PostProcessorBeanInfo +
  +
JSR223PreProcessor - Class in org.apache.jmeter.modifiers
 
JSR223PreProcessor() - +Constructor for class org.apache.jmeter.modifiers.JSR223PreProcessor +
  +
JSR223PreProcessorBeanInfo - Class in org.apache.jmeter.modifiers
 
JSR223PreProcessorBeanInfo() - +Constructor for class org.apache.jmeter.modifiers.JSR223PreProcessorBeanInfo +
  +
JSR223Sampler - Class in org.apache.jmeter.protocol.java.sampler
 
JSR223Sampler() - +Constructor for class org.apache.jmeter.protocol.java.sampler.JSR223Sampler +
  +
JSR223SamplerBeanInfo - Class in org.apache.jmeter.protocol.java.sampler
 
JSR223SamplerBeanInfo() - +Constructor for class org.apache.jmeter.protocol.java.sampler.JSR223SamplerBeanInfo +
  +
JSR223TestElement - Class in org.apache.jmeter.util
 
JSR223TestElement() - +Constructor for class org.apache.jmeter.util.JSR223TestElement +
  +
JSR223Timer - Class in org.apache.jmeter.timers
 
JSR223Timer() - +Constructor for class org.apache.jmeter.timers.JSR223Timer +
  +
JSR223TimerBeanInfo - Class in org.apache.jmeter.timers
 
JSR223TimerBeanInfo() - +Constructor for class org.apache.jmeter.timers.JSR223TimerBeanInfo +
  +
JsseSSLManager - Class in org.apache.jmeter.util
The SSLManager handles the KeyStore information for JMeter.
JsseSSLManager(Provider) - +Constructor for class org.apache.jmeter.util.JsseSSLManager +
Create the SSLContext, and wrap all the X509KeyManagers with + our X509KeyManager so that we can choose our alias. +
JSyntaxTextArea - Class in org.apache.jmeter.gui.util
Utility class to handle RSyntaxTextArea code
JSyntaxTextArea() - +Constructor for class org.apache.jmeter.gui.util.JSyntaxTextArea +
Deprecated.  +
JSyntaxTextArea(int, int) - +Constructor for class org.apache.jmeter.gui.util.JSyntaxTextArea +
Creates the default syntax highlighting text area. +
JSyntaxTextArea(int, int, boolean) - +Constructor for class org.apache.jmeter.gui.util.JSyntaxTextArea +
Creates the default syntax highlighting text area. +
JTextScrollPane - Class in org.apache.jmeter.gui.util
Utility class to handle RSyntaxTextArea code
JTextScrollPane() - +Constructor for class org.apache.jmeter.gui.util.JTextScrollPane +
Deprecated.  +
JTextScrollPane(JSyntaxTextArea) - +Constructor for class org.apache.jmeter.gui.util.JTextScrollPane +
  +
JTextScrollPane(JSyntaxTextArea, boolean) - +Constructor for class org.apache.jmeter.gui.util.JTextScrollPane +
  +
JTreeTable - Class in org.apache.jorphan.gui
 
JTreeTable() - +Constructor for class org.apache.jorphan.gui.JTreeTable +
The default implementation will use DefaultTreeTableModel +
JTreeTable(int, int) - +Constructor for class org.apache.jorphan.gui.JTreeTable +
  +
JTreeTable(TreeTableModel) - +Constructor for class org.apache.jorphan.gui.JTreeTable +
  +
JTreeTable(Object[][], Object[]) - +Constructor for class org.apache.jorphan.gui.JTreeTable +
  +
JTreeTable(Vector<?>, Vector<?>) - +Constructor for class org.apache.jorphan.gui.JTreeTable +
  +
JUnitSampler - Class in org.apache.jmeter.protocol.java.sampler
This is a basic implementation that runs a single test method of + a JUnit test case.
JUnitSampler() - +Constructor for class org.apache.jmeter.protocol.java.sampler.JUnitSampler +
  +
JUnitTestSamplerGui - Class in org.apache.jmeter.protocol.java.control.gui
The JUnitTestSamplerGui class provides the user interface + for the JUnitSampler.
JUnitTestSamplerGui() - +Constructor for class org.apache.jmeter.protocol.java.control.gui.JUnitTestSamplerGui +
Constructor for JUnitTestSamplerGui +
Jvm - Interface in org.apache.jmeter.monitor.model
 
JVM - +Static variable in class org.apache.jmeter.monitor.parser.Constants +
  +
JvmImpl - Class in org.apache.jmeter.monitor.model
 
JvmImpl() - +Constructor for class org.apache.jmeter.monitor.model.JvmImpl +
  +
+
+

+K

+
+
KEEP_ALIVE - +Static variable in interface org.apache.jmeter.protocol.http.util.HTTPConstantsInterface +
  +
keepVisible(JMenuItem) - +Method in class org.apache.jorphan.gui.MenuScroller +
Scrolls the specified item into view each time the menu is opened. +
keepVisible(int) - +Method in class org.apache.jorphan.gui.MenuScroller +
Scrolls the item at the specified index into view each time the menu is + opened. +
KerberosManager - Class in org.apache.jmeter.protocol.http.control
Takes in charge Kerberos auth mechanism
KerberosManager() - +Constructor for class org.apache.jmeter.protocol.http.control.KerberosManager +
  +
KEY - +Static variable in class org.apache.jmeter.functions.RegexFunction +
  +
keyPressed(KeyEvent) - +Method in class org.apache.jmeter.assertions.gui.HTMLAssertionGui +
  +
keyPressed(KeyEvent) - +Method in class org.apache.jmeter.gui.tree.JMeterTreeListener +
  +
keyPressed(KeyEvent) - +Method in class org.apache.jmeter.protocol.http.proxy.gui.ProxyControlGui +
+
keyReleased(KeyEvent) - +Method in class org.apache.jmeter.assertions.gui.HTMLAssertionGui +
  +
keyReleased(KeyEvent) - +Method in class org.apache.jmeter.gui.tree.JMeterTreeListener +
  +
keyReleased(KeyEvent) - +Method in class org.apache.jmeter.protocol.http.proxy.gui.ProxyControlGui +
+
keySet() - +Method in class org.apache.jorphan.collections.HashTree +
Returns a Set of all the keys in the top-level of this HashTree. +
KeystoreConfig - Class in org.apache.jmeter.config
Configure Keystore
KeystoreConfig() - +Constructor for class org.apache.jmeter.config.KeystoreConfig +
  +
KeystoreConfigBeanInfo - Class in org.apache.jmeter.config
Keystore Configuration BeanInfo
KeystoreConfigBeanInfo() - +Constructor for class org.apache.jmeter.config.KeystoreConfigBeanInfo +
Constructor +
KeyStrokes - Class in org.apache.jmeter.gui.action
 
KeyToolUtils - Class in org.apache.jorphan.exec
Utilities for working with Java keytool
keyTyped(KeyEvent) - +Method in class org.apache.jmeter.assertions.gui.HTMLAssertionGui +
  +
keyTyped(KeyEvent) - +Method in class org.apache.jmeter.gui.tree.JMeterTreeListener +
  +
keyTyped(KeyEvent) - +Method in class org.apache.jmeter.protocol.http.proxy.gui.ProxyControlGui +
+
+
+

+L

+
+
LAF_PREFIX - +Static variable in class org.apache.jmeter.gui.action.ActionNames +
  +
LagartoBasedHtmlParser - Class in org.apache.jmeter.protocol.http.parser
Parser based on Lagarto
LagartoBasedHtmlParser() - +Constructor for class org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser +
  +
LANGUAGE_NAMES - +Static variable in class org.apache.jmeter.util.JSR223BeanInfoSupport +
  +
LAST_MODIFIED - +Static variable in interface org.apache.jmeter.protocol.http.util.HTTPConstantsInterface +
  +
LAST_SAMPLE_OK - +Static variable in class org.apache.jmeter.threads.JMeterThread +
  +
lastUsed - +Variable in class org.apache.jmeter.protocol.http.util.accesslog.SessionFilter +
  +
latencyEnd() - +Method in class org.apache.jmeter.samplers.SampleResult +
Set the time to the first response +
LAVENDER - +Static variable in class org.apache.jmeter.gui.util.JMeterColor +
  +
layoutContainer(Container) - +Method in class org.apache.jorphan.gui.layout.VerticalLayout +
Lays out the container. +
LDAPArgument - Class in org.apache.jmeter.protocol.ldap.config.gui
Class representing an argument.
LDAPArgument() - +Constructor for class org.apache.jmeter.protocol.ldap.config.gui.LDAPArgument +
Create a new Argument without a name, value, or metadata. +
LDAPArgument(String, String, String) - +Constructor for class org.apache.jmeter.protocol.ldap.config.gui.LDAPArgument +
Create a new Argument with the specified name and value, and no metadata. +
LDAPArgument(String, String, String, String) - +Constructor for class org.apache.jmeter.protocol.ldap.config.gui.LDAPArgument +
Create a new Argument with the specified name, value, and metadata. +
LDAPArguments - Class in org.apache.jmeter.protocol.ldap.config.gui
A set of LDAPArgument objects. author Dolf Smits(Dolf.Smits@Siemens.com) + created Aug 09 2003 11:00 AM company Siemens Netherlands N.V..
LDAPArguments() - +Constructor for class org.apache.jmeter.protocol.ldap.config.gui.LDAPArguments +
Create a new Arguments object with no arguments. +
LDAPARGUMENTS - +Static variable in class org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler +
  +
LDAPArgumentsPanel - Class in org.apache.jmeter.protocol.ldap.config.gui
A GUI panel allowing the user to enter name-value argument pairs.
LDAPArgumentsPanel() - +Constructor for class org.apache.jmeter.protocol.ldap.config.gui.LDAPArgumentsPanel +
Create a new LDAPArgumentsPanel, using the default title. +
LDAPArgumentsPanel(String) - +Constructor for class org.apache.jmeter.protocol.ldap.config.gui.LDAPArgumentsPanel +
Create a new LDAPArgumentsPanel, using the specified title. +
LdapClient - Class in org.apache.jmeter.protocol.ldap.sampler
Ldap Client class is main class to create, modify, search and delete all the + LDAP functionality available.
LdapClient() - +Constructor for class org.apache.jmeter.protocol.ldap.sampler.LdapClient +
Constructor for the LdapClient object. +
LdapConfigGui - Class in org.apache.jmeter.protocol.ldap.config.gui
This class LdapConfigGui is user interface gui for getting all the + configuration values from the user.
LdapConfigGui() - +Constructor for class org.apache.jmeter.protocol.ldap.config.gui.LdapConfigGui +
Default constructor for LdapConfigGui. +
LdapConfigGui(boolean) - +Constructor for class org.apache.jmeter.protocol.ldap.config.gui.LdapConfigGui +
  +
LdapExtClient - Class in org.apache.jmeter.protocol.ldap.sampler
Ldap Client class is main class to create ,modify, search and delete all the + LDAP functionality available
LdapExtClient() - +Constructor for class org.apache.jmeter.protocol.ldap.sampler.LdapExtClient +
Constructor for the LdapClient object +
LdapExtConfigGui - Class in org.apache.jmeter.protocol.ldap.config.gui
This class LdapConfigGui is user interface gui for getting all the + configuration value from the user
LdapExtConfigGui() - +Constructor for class org.apache.jmeter.protocol.ldap.config.gui.LdapExtConfigGui +
Default constructor for LdapConfigGui +
LdapExtConfigGui(boolean) - +Constructor for class org.apache.jmeter.protocol.ldap.config.gui.LdapExtConfigGui +
! +
LDAPExtSampler - Class in org.apache.jmeter.protocol.ldap.sampler
Ldap Sampler class is main class for the LDAP test.
LDAPExtSampler() - +Constructor for class org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler +
! +
LdapExtTestSamplerGui - Class in org.apache.jmeter.protocol.ldap.control.gui
author Dolf Smits(Dolf.Smits@Siemens.com) created Aug 09 2003 11:00 AM + company Siemens Netherlands N.V..
LdapExtTestSamplerGui() - +Constructor for class org.apache.jmeter.protocol.ldap.control.gui.LdapExtTestSamplerGui +
! +
LDAPSampler - Class in org.apache.jmeter.protocol.ldap.sampler
Ldap Sampler class is main class for the LDAP test.
LDAPSampler() - +Constructor for class org.apache.jmeter.protocol.ldap.sampler.LDAPSampler +
  +
LdapTestSamplerGui - Class in org.apache.jmeter.protocol.ldap.control.gui
 
LdapTestSamplerGui() - +Constructor for class org.apache.jmeter.protocol.ldap.control.gui.LdapTestSamplerGui +
  +
LEFT - +Static variable in class org.apache.jorphan.gui.layout.VerticalLayout +
The horizontal alignment constant that designates left justification. +
leftAlign(StringBuilder, int) - +Static method in class org.apache.jorphan.util.JOrphanUtils +
Left aligns some text in a StringBuilder N.B. modifies the input buffer +
LEGEND_FONT - +Static variable in class org.apache.jmeter.visualizers.RespTimeGraphVisualizer +
  +
LEGEND_PLACEMENT - +Static variable in class org.apache.jmeter.visualizers.RespTimeGraphVisualizer +
  +
LEGEND_SIZE - +Static variable in class org.apache.jmeter.visualizers.RespTimeGraphVisualizer +
  +
LEGEND_STYLE - +Static variable in class org.apache.jmeter.visualizers.RespTimeGraphVisualizer +
  +
legendFont - +Variable in class org.apache.jmeter.visualizers.AxisGraph +
  +
legendFont - +Variable in class org.apache.jmeter.visualizers.RespTimeGraphChart +
  +
legendLabels - +Variable in class org.apache.jmeter.visualizers.AxisGraph +
  +
legendLabels - +Variable in class org.apache.jmeter.visualizers.RespTimeGraphChart +
  +
legendPlacement - +Variable in class org.apache.jmeter.visualizers.AxisGraph +
  +
legendPlacement - +Variable in class org.apache.jmeter.visualizers.RespTimeGraphChart +
  +
LengthPrefixedBinaryTCPClientImpl - Class in org.apache.jmeter.protocol.tcp.sampler
Implements binary length-prefixed binary data.
LengthPrefixedBinaryTCPClientImpl() - +Constructor for class org.apache.jmeter.protocol.tcp.sampler.LengthPrefixedBinaryTCPClientImpl +
  +
LESSTHAN - +Static variable in class org.apache.jmeter.assertions.SizeAssertion +
  +
LESSTHANEQUAL - +Static variable in class org.apache.jmeter.assertions.SizeAssertion +
  +
LINE_SHAPE_POINT - +Static variable in class org.apache.jmeter.visualizers.RespTimeGraphVisualizer +
  +
LINE_STROKE_WIDTH - +Static variable in class org.apache.jmeter.visualizers.RespTimeGraphVisualizer +
  +
LineGraph - Class in org.apache.jmeter.visualizers
Axis graph is used by StatGraphVisualizer, which generates bar graphs + from the statistical data.
LineGraph() - +Constructor for class org.apache.jmeter.visualizers.LineGraph +
  +
LineGraph(LayoutManager) - +Constructor for class org.apache.jmeter.visualizers.LineGraph +
  +
LineGraph(LayoutManager, boolean) - +Constructor for class org.apache.jmeter.visualizers.LineGraph +
  +
list(String) - +Method in class org.apache.jmeter.protocol.mail.sampler.MailFileFolder +
  +
list() - +Method in class org.apache.jorphan.collections.HashTree +
Gets a Collection of all keys in the current HashTree node. +
list(Object) - +Method in class org.apache.jorphan.collections.HashTree +
Gets a Set of all keys in the HashTree mapped to the given key of the + current HashTree object (in other words, one level down. +
list(Object[]) - +Method in class org.apache.jorphan.collections.HashTree +
Recurses down into the HashTree stucture using each subsequent key in the + array of keys, and returns the Set of keys of the HashTree object at the + end of the recursion. +
list(Collection<?>) - +Method in class org.apache.jorphan.collections.HashTree +
Recurses down into the HashTree stucture using each subsequent key in the + List of keys, and returns the Set of keys of the HashTree object at the + end of the recursion. +
list() - +Method in class org.apache.jorphan.collections.ListedHashTree +
Gets a Collection of all keys in the current HashTree node. +
list(File, String) - +Static method in class org.apache.jorphan.exec.KeyToolUtils +
List the contents of a keystore +
ListedHashTree - Class in org.apache.jorphan.collections
ListedHashTree is a different implementation of the HashTree + collection class.
ListedHashTree() - +Constructor for class org.apache.jorphan.collections.ListedHashTree +
  +
ListedHashTree(Object) - +Constructor for class org.apache.jorphan.collections.ListedHashTree +
  +
ListedHashTree(Collection<?>) - +Constructor for class org.apache.jorphan.collections.ListedHashTree +
  +
ListedHashTree(Object[]) - +Constructor for class org.apache.jorphan.collections.ListedHashTree +
  +
listener - +Variable in class org.apache.jorphan.gui.AbstractTreeTableModel +
  +
ListenerNotifier - Class in org.apache.jmeter.threads
Processes sample events.
ListenerNotifier() - +Constructor for class org.apache.jmeter.threads.ListenerNotifier +
  +
ListenerResultWrapper - Class in org.apache.jmeter.save
ListenerResultWrapper is for calculated results generated by listeners like + aggregate listener and monitor listener.
ListenerResultWrapper() - +Constructor for class org.apache.jmeter.save.ListenerResultWrapper +
  +
LISTENERS - +Static variable in class org.apache.jmeter.gui.util.MenuFactory +
  +
Load - Class in org.apache.jmeter.gui.action
Handles the Open (load a new file) and Merge commands.
Load() - +Constructor for class org.apache.jmeter.gui.action.Load +
  +
load(String, HttpParams) - +Static method in class org.apache.jmeter.protocol.http.sampler.HttpClientDefaultParameters +
Loads a property file and converts parameters as necessary. +
load(String, HttpParams) - +Static method in class org.apache.jmeter.protocol.http.sampler.HttpClientDefaultParameters +
Loads a property file and converts parameters as necessary. +
load(InputStream, String) - +Method in class org.apache.jmeter.util.keystore.JmeterKeyStore +
Process the input stream and try to read the keys from the store +
LOAD_BUTTON - +Static variable in class org.apache.jmeter.gui.util.ButtonPanel +
  +
LoadDraggedFile - Class in org.apache.jmeter.gui.action
Handles the loading of a file from a Drag and Drop action.
LoadDraggedFile() - +Constructor for class org.apache.jmeter.gui.action.LoadDraggedFile +
  +
loadElement(InputStream) - +Static method in class org.apache.jmeter.save.SaveService +
  +
loadExistingFile() - +Method in class org.apache.jmeter.reporters.ResultCollector +
Loads an existing sample data (JTL) file. +
loadIncludedElements() - +Method in class org.apache.jmeter.control.IncludeController +
load the included elements using SaveService +
loadJMeterProperties(String) - +Static method in class org.apache.jmeter.util.JMeterUtils +
Load the JMeter properties file; if not found, then + default to "org/apache/jmeter/jmeter.properties" from the classpath + + + c.f. loadProperties +
loadProject(ActionEvent, File) - +Static method in class org.apache.jmeter.gui.action.LoadDraggedFile +
Loads dragged file asking before for save if current open file is dirty. +
loadProperties() - +Static method in class org.apache.jmeter.save.SaveService +
  +
loadProperties(String) - +Static method in class org.apache.jmeter.util.JMeterUtils +
This method loads a property file that may reside in the user space, or + in the classpath +
loadProperties(String, Properties) - +Static method in class org.apache.jmeter.util.JMeterUtils +
This method loads a property file that may reside in the user space, or + in the classpath +
LoadRecentProject - Class in org.apache.jmeter.gui.action
Handles the loading of recent files, and also the content and + visibility of menu items for loading the recent files
LoadRecentProject() - +Constructor for class org.apache.jmeter.gui.action.LoadRecentProject +
  +
loadSubTree(InputStream) - +Static method in class org.apache.jmeter.save.OldSaveService +
  +
loadTestResults(InputStream, ResultCollectorHelper) - +Static method in class org.apache.jmeter.save.SaveService +
Read results from JTL file. +
loadTree(InputStream) - +Static method in class org.apache.jmeter.save.SaveService +
Deprecated. use SaveServiceSaveService.loadTree(File) +
loadTree(File) - +Static method in class org.apache.jmeter.save.SaveService +
Load a Test tree (JMX file) +
LOCAL - +Static variable in class org.apache.jmeter.gui.MainFrame +
  +
LOCAL_FILENAME - +Static variable in class org.apache.jmeter.protocol.ftp.sampler.FTPSampler +
  +
localAddress - +Static variable in class org.apache.jmeter.protocol.http.sampler.HTTPHCAbstractImpl +
  +
localeChanged(LocaleChangeEvent) - +Method in class org.apache.jmeter.functions.gui.FunctionHelper +
  +
localeChanged(LocaleChangeEvent) - +Method in class org.apache.jmeter.gui.GuiPackage +
+
localeChanged(MenuElement) - +Method in interface org.apache.jmeter.gui.plugin.MenuCreator +
  +
localeChanged() - +Method in interface org.apache.jmeter.gui.plugin.MenuCreator +
Update Top Level menu on Locale Change +
localeChanged(LocaleChangeEvent) - +Method in class org.apache.jmeter.gui.util.JMeterMenuBar +
+
localeChanged(LocaleChangeEvent) - +Method in class org.apache.jmeter.gui.util.JMeterToolBar +
+
localeChanged(LocaleChangeEvent) - +Method in class org.apache.jmeter.testbeans.gui.TestBeanGUI +
Handle Locale Change by reloading BeanInfo +
localeChanged(LocaleChangeEvent) - +Method in interface org.apache.jmeter.util.LocaleChangeListener +
  +
LocaleChangeEvent - Class in org.apache.jmeter.util
 
LocaleChangeEvent(Object) - +Constructor for class org.apache.jmeter.util.LocaleChangeEvent +
  +
LocaleChangeEvent(Object, Locale) - +Constructor for class org.apache.jmeter.util.LocaleChangeEvent +
  +
LocaleChangeListener - Interface in org.apache.jmeter.util
 
localHost - +Static variable in class org.apache.jmeter.protocol.http.sampler.HTTPHCAbstractImpl +
  +
LocalTrustStoreSSLSocketFactory - Class in org.apache.jmeter.protocol.smtp.sampler.protocol
This class implements an SSLSocketFactory which supports a local truststore.
LocalTrustStoreSSLSocketFactory(File) - +Constructor for class org.apache.jmeter.protocol.smtp.sampler.protocol.LocalTrustStoreSSLSocketFactory +
  +
LOCK - +Static variable in interface org.apache.jmeter.protocol.http.util.HTTPConstantsInterface +
  +
log - +Static variable in class org.apache.jmeter.protocol.http.util.accesslog.TCLogParser +
  +
log - +Static variable in class org.apache.jmeter.testbeans.TestBeanHelper +
  +
log - +Static variable in class org.apache.jmeter.testelement.property.AbstractProperty +
  +
LOG_FILE - +Static variable in class org.apache.jorphan.logging.LoggingManager +
  +
log_info(String) - +Method in class org.apache.jmeter.functions.BeanShell +
  +
LOG_PRIORITY - +Static variable in class org.apache.jorphan.logging.LoggingManager +
  +
LogFilter - Class in org.apache.jmeter.protocol.http.util.accesslog
Description:
+
+ LogFilter is a basic implementation of Filter interface.
LogFilter() - +Constructor for class org.apache.jmeter.protocol.http.util.accesslog.LogFilter +
The default constructor is empty +
LogFunction - Class in org.apache.jmeter.functions
+ Function to log a message.
LogFunction() - +Constructor for class org.apache.jmeter.functions.LogFunction +
  +
LogFunction2 - Class in org.apache.jmeter.functions
+ Function to log a message.
LogFunction2() - +Constructor for class org.apache.jmeter.functions.LogFunction2 +
  +
LOGGER_PANEL_ENABLE_DISABLE - +Static variable in class org.apache.jmeter.gui.action.ActionNames +
  +
LoggerPanel - Class in org.apache.jmeter.gui
Panel that shows log events
LoggerPanel() - +Constructor for class org.apache.jmeter.gui.LoggerPanel +
Pane for display JMeter log file +
LoggerPanelEnableDisable - Class in org.apache.jmeter.gui.action
Hide / unhide LoggerPanel.
LoggerPanelEnableDisable() - +Constructor for class org.apache.jmeter.gui.action.LoggerPanelEnableDisable +
Constructor for object. +
LoggingManager - Class in org.apache.jorphan.logging
Manages JMeter logging
LogicControllerGui - Class in org.apache.jmeter.control.gui
A generic controller component.
LogicControllerGui() - +Constructor for class org.apache.jmeter.control.gui.LogicControllerGui +
Create a new LogicControllerGui instance. +
LoginConfig - Class in org.apache.jmeter.config
 
LoginConfig() - +Constructor for class org.apache.jmeter.config.LoginConfig +
Constructor for the LoginConfig object. +
LoginConfigGui - Class in org.apache.jmeter.config.gui
A GUI component allowing the user to enter a username and password for a + login.
LoginConfigGui() - +Constructor for class org.apache.jmeter.config.gui.LoginConfigGui +
Create a new LoginConfigGui as a standalone component. +
LoginConfigGui(boolean) - +Constructor for class org.apache.jmeter.config.gui.LoginConfigGui +
Create a new LoginConfigGui as either a standalone or an embedded + component. +
LogParser - Interface in org.apache.jmeter.protocol.http.util.accesslog
Description:
+
+ LogParser is the base interface for classes implementing concrete parse + logic.
logProperties() - +Method in class org.apache.jmeter.testelement.AbstractTestElement +
Log the properties of the test element +
LongProperty - Class in org.apache.jmeter.testelement.property
 
LongProperty(String, long) - +Constructor for class org.apache.jmeter.testelement.property.LongProperty +
  +
LongProperty() - +Constructor for class org.apache.jmeter.testelement.property.LongProperty +
  +
LongPropertyConverter - Class in org.apache.jmeter.save.converters
 
LongPropertyConverter() - +Constructor for class org.apache.jmeter.save.converters.LongPropertyConverter +
  +
LongPropertyEditor - Class in org.apache.jmeter.testbeans.gui
Property Editor which handles Long properties.
LongPropertyEditor() - +Constructor for class org.apache.jmeter.testbeans.gui.LongPropertyEditor +
  +
LongSum - Class in org.apache.jmeter.functions
Provides a longSum function that adds two or more long values.
LongSum() - +Constructor for class org.apache.jmeter.functions.LongSum +
No-arg constructor. +
LookAndFeelCommand - Class in org.apache.jmeter.gui.action
Implements the Look and Feel menu item.
LookAndFeelCommand() - +Constructor for class org.apache.jmeter.gui.action.LookAndFeelCommand +
  +
lookupContext(String, String, boolean, String, String) - +Static method in class org.apache.jmeter.protocol.jms.client.InitialContextFactory +
Look up the context from the local cache, creating it if necessary. +
lookupDestination(Context, String) - +Static method in class org.apache.jmeter.protocol.jms.Utils +
Method will lookup a given destination (topic/queue) using JNDI. +
LoopbackHttpClientSocketFactory - Class in org.apache.jmeter.protocol.http.util
Commons HttpClient protocol factory to generate Loopback HTTP sockets
LoopbackHttpClientSocketFactory() - +Constructor for class org.apache.jmeter.protocol.http.util.LoopbackHttpClientSocketFactory +
  +
LoopbackHTTPSocket - Class in org.apache.jmeter.protocol.http.util
 
LoopbackHTTPSocket(String, int, InetAddress, int, int) - +Constructor for class org.apache.jmeter.protocol.http.util.LoopbackHTTPSocket +
  +
LoopbackHTTPSocket(String, int, InetAddress, int) - +Constructor for class org.apache.jmeter.protocol.http.util.LoopbackHTTPSocket +
  +
LoopbackHTTPSocket(String, int) - +Constructor for class org.apache.jmeter.protocol.http.util.LoopbackHTTPSocket +
  +
LoopController - Class in org.apache.jmeter.control
Class that implements the Loop Controller, ie iterate infinitely or a configured number of times
LoopController() - +Constructor for class org.apache.jmeter.control.LoopController +
  +
LoopControlPanel - Class in org.apache.jmeter.control.gui
The user interface for a controller which specifies that its subcomponents + should be executed some number of times in a loop.
LoopControlPanel() - +Constructor for class org.apache.jmeter.control.gui.LoopControlPanel +
Create a new LoopControlPanel as a standalone component. +
LoopControlPanel(boolean) - +Constructor for class org.apache.jmeter.control.gui.LoopControlPanel +
Create a new LoopControlPanel as either a standalone or an embedded + component. +
LoopIterationEvent - Class in org.apache.jmeter.engine.event
An iteration event provides information about the iteration number and the + source of the event.
LoopIterationEvent(TestElement, int) - +Constructor for class org.apache.jmeter.engine.event.LoopIterationEvent +
  +
LoopIterationListener - Interface in org.apache.jmeter.engine.event
Allows a class to receive loop iteration start events.
LOOPS - +Static variable in class org.apache.jmeter.control.LoopController +
  +
+
+

+M

+
+
MachineIP - Class in org.apache.jmeter.functions
Return Machine IP
MachineIP() - +Constructor for class org.apache.jmeter.functions.MachineIP +
  +
MachineName - Class in org.apache.jmeter.functions
Return Machine Host
MachineName() - +Constructor for class org.apache.jmeter.functions.MachineName +
  +
MAIL_FROM - +Static variable in class org.apache.jmeter.protocol.smtp.sampler.SmtpSampler +
  +
MAIL_REPLYTO - +Static variable in class org.apache.jmeter.protocol.smtp.sampler.SmtpSampler +
  +
MAILER_MODEL - +Static variable in class org.apache.jmeter.reporters.MailerResultCollector +
  +
MailerModel - Class in org.apache.jmeter.reporters
The model for a MailerVisualizer.
MailerModel() - +Constructor for class org.apache.jmeter.reporters.MailerModel +
Constructs a MailerModel. +
MailerModel.MailAuthType - Enum in org.apache.jmeter.reporters
 
MailerResultCollector - Class in org.apache.jmeter.reporters
 
MailerResultCollector() - +Constructor for class org.apache.jmeter.reporters.MailerResultCollector +
  +
MailerVisualizer - Class in org.apache.jmeter.visualizers
This class implements a visualizer that mails a message when an error occurs.
MailerVisualizer() - +Constructor for class org.apache.jmeter.visualizers.MailerVisualizer +
Constructs the MailerVisualizer and initializes its GUI. +
MailFileFolder - Class in org.apache.jmeter.protocol.mail.sampler
 
MailFileFolder(Store, String) - +Constructor for class org.apache.jmeter.protocol.mail.sampler.MailFileFolder +
  +
MailFileFolder(Store, URLName) - +Constructor for class org.apache.jmeter.protocol.mail.sampler.MailFileFolder +
  +
MailFileMessage - Class in org.apache.jmeter.protocol.mail.sampler
 
MailFileMessage(Folder, InputStream, int) - +Constructor for class org.apache.jmeter.protocol.mail.sampler.MailFileMessage +
  +
MailFileStore - Class in org.apache.jmeter.protocol.mail.sampler
 
MailFileStore(Session, URLName) - +Constructor for class org.apache.jmeter.protocol.mail.sampler.MailFileStore +
  +
MailReaderSampler - Class in org.apache.jmeter.protocol.mail.sampler
Sampler that can read from POP3 and IMAP mail servers
MailReaderSampler() - +Constructor for class org.apache.jmeter.protocol.mail.sampler.MailReaderSampler +
  +
MailReaderSamplerGui - Class in org.apache.jmeter.protocol.mail.sampler.gui
 
MailReaderSamplerGui() - +Constructor for class org.apache.jmeter.protocol.mail.sampler.gui.MailReaderSamplerGui +
  +
main(String[]) - +Static method in class org.apache.jmeter.monitor.util.MemoryBenchmark +
  +
main(String[]) - +Static method in class org.apache.jmeter.NewDriver +
The main program which actually runs JMeter. +
main(String[]) - +Static method in class org.apache.jmeter.protocol.http.control.HttpMirrorServer +
  +
main(String[]) - +Static method in class org.apache.jmeter.protocol.http.util.WSDLHelper +
Simple test for the class uses bidbuy.wsdl from Apache's soap driver + examples. +
main(String[]) - +Static method in class org.apache.jmeter.util.BeanShellClient +
  +
main(String[]) - +Static method in class org.apache.jmeter.util.ShutdownClient +
  +
MAIN_CONTROLLER - +Static variable in class org.apache.jmeter.threads.AbstractThreadGroup +
  +
MainFrame - Class in org.apache.jmeter.gui
The main JMeter frame, containing the menu bar, test tree, and an area for + JMeter component GUIs.
MainFrame(TreeModel, JMeterTreeListener) - +Constructor for class org.apache.jmeter.gui.MainFrame +
Create a new JMeter frame. +
MainFrame() - +Constructor for class org.apache.jmeter.gui.MainFrame +
Deprecated. Do not use - only needed for JUnit tests +
MainFrame.ErrorsAndFatalsCounterLogTarget - Class in org.apache.jmeter.gui
 
MainFrame.ErrorsAndFatalsCounterLogTarget() - +Constructor for class org.apache.jmeter.gui.MainFrame.ErrorsAndFatalsCounterLogTarget +
  +
MAINTAIN_SESSION_DEFAULT - +Static variable in class org.apache.jmeter.protocol.http.sampler.WebServiceSampler +
  +
makeBorder() - +Method in class org.apache.jmeter.gui.AbstractJMeterGuiComponent +
Create a top-level Border which can be added to JMeter components. +
makeDocument(InputStream, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean) - +Static method in class org.apache.jmeter.util.XPathUtil +
Utility function to get new Document +
makeDocument(InputStream, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean, OutputStream) - +Static method in class org.apache.jmeter.util.XPathUtil +
Utility function to get new Document +
makeDocumentBuilder(boolean, boolean, boolean, boolean) - +Static method in class org.apache.jmeter.util.XPathUtil +
Create a DocumentBuilder using the makeDocumentFactory func. +
makeGraph() - +Method in class org.apache.jmeter.visualizers.RespTimeGraphVisualizer +
  +
makeGraph() - +Method in class org.apache.jmeter.visualizers.StatGraphVisualizer +
  +
makeLabelPanel() - +Method in class org.apache.jmeter.config.gui.ArgumentsPanel +
Create a panel containing the title label for the table. +
makeMenu(String, String) - +Static method in class org.apache.jmeter.gui.util.MenuFactory +
Create a menu from a menu category. +
makeMenu(Collection<MenuInfo>, String, String) - +Static method in class org.apache.jmeter.gui.util.MenuFactory +
Create a menu from a collection of items. +
makeMenuItem(String, String, String) - +Static method in class org.apache.jmeter.gui.util.MenuFactory +
Create a single menu item +
makeMenuItem(MenuInfo, String) - +Static method in class org.apache.jmeter.gui.util.MenuFactory +
Create a single menu item from a MenuInfo object +
makeMenuItem(String, String, String, KeyStroke) - +Static method in class org.apache.jmeter.gui.util.MenuFactory +
  +
makeMenuItemRes(String, String) - +Static method in class org.apache.jmeter.gui.util.MenuFactory +
Create a single menu item from the resource name. +
makeMenuItemRes(String, String, KeyStroke) - +Static method in class org.apache.jmeter.gui.util.MenuFactory +
  +
makeMenus(String[], String, String) - +Static method in class org.apache.jmeter.gui.util.MenuFactory +
  +
makeNewArgument() - +Method in class org.apache.jmeter.config.gui.ArgumentsPanel +
Create a new Argument object. +
makeNewArgument() - +Method in class org.apache.jmeter.protocol.http.gui.HTTPArgumentsPanel +
  +
makeObject(SocketConnectionInfos) - +Method in class org.apache.jmeter.visualizers.backend.graphite.SocketOutputStreamPoolFactory +
  +
makeProperty(Object) - +Static method in class org.apache.jmeter.testelement.property.AbstractProperty +
Create a JMeterProperty from an object. +
makeProxyControl() - +Method in class org.apache.jmeter.protocol.http.proxy.gui.ProxyControlGui +
  +
makeRelativeURL(URL, String) - +Static method in class org.apache.jmeter.protocol.http.util.ConversionUtils +
Generate an absolute URL from a possibly relative location, + allowing for extraneous leading "../" segments. +
makeScrollableMenu(JMenu) - +Static method in class org.apache.jorphan.gui.GuiUtils +
Make menu scrollable +
makeScrollPane(Component) - +Method in class org.apache.jmeter.gui.AbstractJMeterGuiComponent +
Create a scroll panel that sets it's preferred size to it's minimum size. +
makeScrollPane(Component, int, int) - +Method in class org.apache.jmeter.gui.AbstractJMeterGuiComponent +
Create a scroll panel that sets it's preferred size to it's minimum size. +
makeScrollPane(Component) - +Static method in class org.apache.jorphan.gui.GuiUtils +
Create a scroll panel that sets its preferred size to its minimum size. +
makeTidyParser(boolean, boolean, boolean, StringWriter) - +Static method in class org.apache.jmeter.util.XPathUtil +
Create a Tidy parser with the specified settings. +
makeTitlePanel() - +Method in class org.apache.jmeter.gui.AbstractJMeterGuiComponent +
Create a standard title section for JMeter components. +
makeTitlePanel() - +Method in class org.apache.jmeter.visualizers.gui.AbstractVisualizer +
Create a standard title section for JMeter components. +
managersInUse - +Variable in class org.apache.jmeter.protocol.http.util.accesslog.SessionFilter +
  +
MAP_MSG_RSC - +Static variable in class org.apache.jmeter.protocol.jms.control.gui.JMSPublisherGui +
Create a MapMessage +
MapProperty - Class in org.apache.jmeter.testelement.property
 
MapProperty(String, Map<?, ?>) - +Constructor for class org.apache.jmeter.testelement.property.MapProperty +
  +
MapProperty() - +Constructor for class org.apache.jmeter.testelement.property.MapProperty +
  +
markFile(String) - +Method in class org.apache.jmeter.samplers.SampleResult +
Set the "marked" flag to show that the result has been written to the file. +
marshal(Object, HierarchicalStreamWriter, MarshallingContext) - +Method in class org.apache.jmeter.protocol.http.util.HTTPResultConverter +
+
marshal(Object, HierarchicalStreamWriter, MarshallingContext) - +Method in class org.apache.jmeter.save.converters.BooleanPropertyConverter +
+
marshal(Object, HierarchicalStreamWriter, MarshallingContext) - +Method in class org.apache.jmeter.save.converters.HashTreeConverter +
+
marshal(Object, HierarchicalStreamWriter, MarshallingContext) - +Method in class org.apache.jmeter.save.converters.IntegerPropertyConverter +
+
marshal(Object, HierarchicalStreamWriter, MarshallingContext) - +Method in class org.apache.jmeter.save.converters.LongPropertyConverter +
+
marshal(Object, HierarchicalStreamWriter, MarshallingContext) - +Method in class org.apache.jmeter.save.converters.MultiPropertyConverter +
+
marshal(Object, HierarchicalStreamWriter, MarshallingContext) - +Method in class org.apache.jmeter.save.converters.SampleEventConverter +
+
marshal(Object, HierarchicalStreamWriter, MarshallingContext) - +Method in class org.apache.jmeter.save.converters.SampleResultConverter +
+
marshal(Object, HierarchicalStreamWriter, MarshallingContext) - +Method in class org.apache.jmeter.save.converters.SampleSaveConfigurationConverter +
+
marshal(Object, HierarchicalStreamWriter, MarshallingContext) - +Method in class org.apache.jmeter.save.converters.StringPropertyConverter +
+
marshal(Object, HierarchicalStreamWriter, MarshallingContext) - +Method in class org.apache.jmeter.save.converters.TestElementConverter +
+
marshal(Object, HierarchicalStreamWriter, MarshallingContext) - +Method in class org.apache.jmeter.save.converters.TestElementPropertyConverter +
+
marshal(Object, HierarchicalStreamWriter, MarshallingContext) - +Method in class org.apache.jmeter.save.converters.TestResultWrapperConverter +
+
marshal(Object, HierarchicalStreamWriter, MarshallingContext) - +Method in class org.apache.jmeter.save.ScriptWrapperConverter +
+
matches(KeyEvent, KeyStroke) - +Static method in class org.apache.jmeter.gui.action.KeyStrokes +
Check if an event matches the KeyStroke definition. +
MAX_FRAME_DEPTH - +Static variable in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
MAX_POOL_SIZE - +Static variable in class org.apache.jmeter.protocol.http.control.HttpMirrorControl +
  +
MAX_QUEUE_SIZE - +Static variable in class org.apache.jmeter.protocol.http.control.HttpMirrorControl +
  +
MAX_REDIRECTS - +Static variable in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
MAX_SIZE - +Static variable in class org.apache.jmeter.protocol.http.control.CacheManager +
  +
MAXIMUM_COLOR - +Variable in class org.apache.jmeter.visualizers.SplineVisualizer +
  +
maxLength - +Variable in class org.apache.jmeter.visualizers.AxisGraph +
  +
MAXSPARETHREADS - +Static variable in class org.apache.jmeter.monitor.parser.Constants +
  +
MAXTHREADS - +Static variable in class org.apache.jmeter.monitor.parser.Constants +
  +
MAXTIME - +Static variable in class org.apache.jmeter.monitor.parser.Constants +
  +
maxYAxisScale - +Variable in class org.apache.jmeter.visualizers.AxisGraph +
  +
maxYAxisScale - +Variable in class org.apache.jmeter.visualizers.RespTimeGraphChart +
  +
MD5HexAssertion - Class in org.apache.jmeter.assertions
 
MD5HexAssertion() - +Constructor for class org.apache.jmeter.assertions.MD5HexAssertion +
  +
MD5HexAssertionGUI - Class in org.apache.jmeter.assertions.gui
 
MD5HexAssertionGUI() - +Constructor for class org.apache.jmeter.assertions.gui.MD5HexAssertionGUI +
  +
MeasuringConnectionManager - Class in org.apache.jmeter.protocol.http.sampler
Adapter for PoolingClientConnectionManager + that wraps all connection requests into time-measured implementation a private + MeasuringConnectionRequest
MeasuringConnectionManager(SchemeRegistry, DnsResolver) - +Constructor for class org.apache.jmeter.protocol.http.sampler.MeasuringConnectionManager +
  +
Memory - Interface in org.apache.jmeter.monitor.model
 
MEMORY - +Static variable in class org.apache.jmeter.monitor.parser.Constants +
  +
MEMORY_FREE - +Static variable in class org.apache.jmeter.monitor.parser.Constants +
  +
MEMORY_MAX - +Static variable in class org.apache.jmeter.monitor.parser.Constants +
  +
MEMORY_TOTAL - +Static variable in class org.apache.jmeter.monitor.parser.Constants +
  +
MemoryBenchmark - Class in org.apache.jmeter.monitor.util
 
MemoryBenchmark() - +Constructor for class org.apache.jmeter.monitor.util.MemoryBenchmark +
  +
MemoryImpl - Class in org.apache.jmeter.monitor.model
 
MemoryImpl() - +Constructor for class org.apache.jmeter.monitor.model.MemoryImpl +
  +
MenuCreator - Interface in org.apache.jmeter.gui.plugin
 
MenuCreator.MENU_LOCATION - Enum in org.apache.jmeter.gui.plugin
 
MenuFactory - Class in org.apache.jmeter.gui.util
 
MenuInfo - Class in org.apache.jmeter.gui.util
Class to hold additional information needed when building the GUI lists
MenuInfo(String, String) - +Constructor for class org.apache.jmeter.gui.util.MenuInfo +
  +
MenuInfo(JMeterGUIComponent, String) - +Constructor for class org.apache.jmeter.gui.util.MenuInfo +
  +
MenuScroller - Class in org.apache.jorphan.gui
A class that provides scrolling capabilities to a long menu dropdown or popup + menu.
MenuScroller(JMenu) - +Constructor for class org.apache.jorphan.gui.MenuScroller +
Constructs a MenuScroller that scrolls a menu with the + default number of items to display at a time, and default scrolling + interval. +
MenuScroller(JPopupMenu) - +Constructor for class org.apache.jorphan.gui.MenuScroller +
Constructs a MenuScroller that scrolls a popup menu with the + default number of items to display at a time, and default scrolling + interval. +
MenuScroller(JMenu, int) - +Constructor for class org.apache.jorphan.gui.MenuScroller +
Constructs a MenuScroller that scrolls a menu with the + specified number of items to display at a time, and default scrolling + interval. +
MenuScroller(JPopupMenu, int) - +Constructor for class org.apache.jorphan.gui.MenuScroller +
Constructs a MenuScroller that scrolls a popup menu with the + specified number of items to display at a time, and default scrolling + interval. +
MenuScroller(JMenu, int, int) - +Constructor for class org.apache.jorphan.gui.MenuScroller +
Constructs a MenuScroller that scrolls a menu with the + specified number of items to display at a time, and specified scrolling + interval. +
MenuScroller(JPopupMenu, int, int) - +Constructor for class org.apache.jorphan.gui.MenuScroller +
Constructs a MenuScroller that scrolls a popup menu with the + specified number of items to display at a time, and specified scrolling + interval. +
MenuScroller(JMenu, int, int, int, int) - +Constructor for class org.apache.jorphan.gui.MenuScroller +
Constructs a MenuScroller that scrolls a menu with the + specified number of items to display in the scrolling region, the + specified scrolling interval, and the specified numbers of items fixed at + the top and bottom of the menu. +
MenuScroller(JPopupMenu, int, int, int, int) - +Constructor for class org.apache.jorphan.gui.MenuScroller +
Constructs a MenuScroller that scrolls a popup menu with the + specified number of items to display in the scrolling region, the + specified scrolling interval, and the specified numbers of items fixed at + the top and bottom of the popup menu. +
MERGE - +Static variable in class org.apache.jmeter.gui.action.ActionNames +
  +
merge(TestElement, boolean) - +Method in class org.apache.jmeter.protocol.http.control.HeaderManager +
Merge the attributes with a another HeaderManager's attributes. +
mergeIn(TestElement) - +Method in class org.apache.jmeter.modifiers.UserParameters +
Add to this the properties of element (by reference) +
mergeIn(TestElement) - +Method in class org.apache.jmeter.testelement.AbstractTestElement +
Add to this the properties of element (by reference) +
mergeIn(JMeterProperty) - +Method in class org.apache.jmeter.testelement.property.AbstractProperty +
Take the given property object and merge it's value with the current + property object. +
mergeIn(JMeterProperty) - +Method in interface org.apache.jmeter.testelement.property.JMeterProperty +
Take the given property object and merge it's value with the current + property object. +
mergeIn(JMeterProperty) - +Method in class org.apache.jmeter.testelement.property.MultiProperty +
  +
mergeIn(JMeterProperty) - +Method in class org.apache.jmeter.testelement.property.NullProperty +
  +
mergeIn(JMeterProperty) - +Method in class org.apache.jmeter.testelement.property.TestElementProperty +
Take the given property object and merge it's value with the current + property object. +
MESSAGE - +Static variable in class org.apache.jmeter.protocol.smtp.sampler.SmtpSampler +
  +
MESSAGE_SIZE_STATS - +Static variable in class org.apache.jmeter.protocol.smtp.sampler.SmtpSampler +
  +
MessageAdmin - Class in org.apache.jmeter.protocol.jms.sampler
Administration of messages.
messageDelivered(TransportEvent) - +Method in class org.apache.jmeter.protocol.smtp.sampler.protocol.SynchronousTransportListener +
+
messageNotDelivered(TransportEvent) - +Method in class org.apache.jmeter.protocol.smtp.sampler.protocol.SynchronousTransportListener +
+
messagePartiallyDelivered(TransportEvent) - +Method in class org.apache.jmeter.protocol.smtp.sampler.protocol.SynchronousTransportListener +
+
messageProperties(Message) - +Static method in class org.apache.jmeter.protocol.jms.Utils +
  +
messageProperties(StringBuilder, Message) - +Static method in class org.apache.jmeter.protocol.jms.Utils +
  +
METADATA - +Static variable in class org.apache.jmeter.config.Argument +
Name used to store the argument's metadata. +
METHOD - +Static variable in class org.apache.jmeter.monitor.parser.Constants +
  +
METHOD - +Static variable in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
MINIMUM_COLOR - +Variable in class org.apache.jmeter.visualizers.SplineVisualizer +
  +
minimumLayoutSize(Container) - +Method in class org.apache.jorphan.gui.layout.VerticalLayout +
  +
MINSPARETHREADS - +Static variable in class org.apache.jmeter.monitor.parser.Constants +
  +
MKCALENDAR - +Static variable in interface org.apache.jmeter.protocol.http.util.HTTPConstantsInterface +
  +
MKCOL - +Static variable in interface org.apache.jmeter.protocol.http.util.HTTPConstantsInterface +
  +
MODDDN - +Static variable in class org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler +
  +
moddnOp(DirContext, String, String) - +Static method in class org.apache.jmeter.protocol.ldap.sampler.LdapExtClient +
ModDN the data in the ldap directory for the given search base +
MODIFY - +Static variable in class org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler +
  +
MODIFY - +Static variable in class org.apache.jmeter.protocol.ldap.sampler.LDAPSampler +
  +
modifyTest(ModificationItem[], String) - +Method in class org.apache.jmeter.protocol.ldap.sampler.LdapClient +
Modify the attribute in the ldap directory for the given string. +
modifyTest(DirContext, ModificationItem[], String) - +Static method in class org.apache.jmeter.protocol.ldap.sampler.LdapExtClient +
Modify the attribute in the ldap directory for the given string +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.assertions.gui.AssertionGui +
  +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.assertions.gui.BeanShellAssertionGui +
Modifies a given TestElement to mirror the data in the gui components. +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.assertions.gui.DurationAssertionGui +
Modifies a given TestElement to mirror the data in the gui components. +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.assertions.gui.HTMLAssertionGui +
Modifies a given TestElement to mirror the data in the gui components. +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.assertions.gui.MD5HexAssertionGUI +
  +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.assertions.gui.SizeAssertionGui +
Modifies a given TestElement to mirror the data in the gui components. +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.assertions.gui.SMIMEAssertionGui +
  +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.assertions.gui.XMLAssertionGui +
Modifies a given TestElement to mirror the data in the gui components. +
modifyTestElement(XPathAssertion) - +Method in class org.apache.jmeter.assertions.gui.XMLConfPanel +
  +
modifyTestElement(XPathExtractor) - +Method in class org.apache.jmeter.assertions.gui.XMLConfPanel +
  +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.assertions.gui.XMLSchemaAssertionGUI +
Modifies a given TestElement to mirror the data in the gui components. +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.assertions.gui.XPathAssertionGui +
Modifies a given TestElement to mirror the data in the gui components. +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.config.gui.ArgumentsPanel +
  +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.config.gui.LoginConfigGui +
  +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.config.gui.ObsoleteGui +
  +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.config.gui.SimpleConfigGui +
Get all of the values from the GUI component and set them in the + TestElement. +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.control.gui.CriticalSectionControllerGui +
Implements JMeterGUIComponent.modifyTestElement(TestElement) +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.control.gui.ForeachControlPanel +
  +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.control.gui.IfControllerPanel +
Implements JMeterGUIComponent.modifyTestElement(TestElement) +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.control.gui.IncludeControllerGui +
GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components. +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.control.gui.InterleaveControlGui +
Modifies a given TestElement to mirror the data in the gui components. +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.control.gui.LogicControllerGui +
  +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.control.gui.LoopControlPanel +
  +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.control.gui.ModuleControllerGui +
GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components. +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.control.gui.OnceOnlyControllerGui +
Modifies a given TestElement to mirror the data in the gui components. +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.control.gui.RandomControlGui +
Modifies a given TestElement to mirror the data in the gui components. +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.control.gui.RandomOrderControllerGui +
GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components. +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.control.gui.RunTimeGui +
  +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.control.gui.SwitchControllerGui +
Modifies a given TestElement to mirror the data in the gui components. +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.control.gui.TestFragmentControllerGui +
Implements JMeterGUIComponent.modifyTestElement(TestElement) +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.control.gui.TestPlanGui +
  +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.control.gui.ThroughputControllerGui +
Modifies a given TestElement to mirror the data in the gui components. +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.control.gui.TransactionControllerGui +
  +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.control.gui.WhileControllerGui +
Implements JMeterGUIComponent.modifyTestElement(TestElement) +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.control.gui.WorkBenchGui +
  +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.examples.sampler.gui.ExampleSamplerGui +
GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components. +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.extractor.gui.HtmlExtractorGui +
Modifies a given TestElement to mirror the data in the gui components. +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.extractor.gui.RegexExtractorGui +
Modifies a given TestElement to mirror the data in the gui components. +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.extractor.gui.XPathExtractorGui +
  +
modifyTestElement(TestElement) - +Method in interface org.apache.jmeter.gui.JMeterGUIComponent +
GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components. +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.gui.NamePanel +
GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components. +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.modifiers.gui.CounterConfigGui +
Modifies a given TestElement to mirror the data in the gui components. +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.modifiers.gui.UserParametersGui +
Modifies a given TestElement to mirror the data in the gui components. +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.protocol.ftp.config.gui.FtpConfigGui +
Modifies a given TestElement to mirror the data in the gui components. +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.protocol.ftp.control.gui.FtpTestSamplerGui +
Modifies a given TestElement to mirror the data in the gui components. +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.protocol.http.config.gui.HttpDefaultsGui +
Modifies a given TestElement to mirror the data in the gui components. +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.protocol.http.config.gui.MultipartUrlConfigGui +
  +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.protocol.http.config.gui.UrlConfigGui +
Save the GUI values in the sampler. +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.protocol.http.control.gui.HttpMirrorControlGui +
Modifies a given TestElement to mirror the data in the gui components. +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.protocol.http.control.gui.HttpTestSampleGui +
Modifies a given TestElement to mirror the data in the gui components. +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.protocol.http.control.gui.SoapSamplerGui +
Modifies a given TestElement to mirror the data in the gui components. +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.protocol.http.control.gui.WebServiceSamplerGui +
Modifies a given TestElement to mirror the data in the gui components. +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.protocol.http.gui.AuthPanel +
Modifies a given TestElement to mirror the data in the gui components. +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.protocol.http.gui.CacheManagerGui +
  +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.protocol.http.gui.CookiePanel +
Modifies a given TestElement to mirror the data in the gui components. +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.protocol.http.gui.DNSCachePanel +
Modifies a given TestElement to mirror the data in the gui components. +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.protocol.http.gui.HeaderPanel +
Modifies a given TestElement to mirror the data in the gui components. +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.protocol.http.gui.HTTPFileArgsPanel +
Save the GUI data in the HTTPSamplerBase element. +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.protocol.http.modifier.gui.AnchorModifierGui +
Modifies a given TestElement to mirror the data in the gui components. +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.protocol.http.modifier.gui.ParamModifierGui +
Modifies a given TestElement to mirror the data in the gui components. +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.protocol.http.modifier.gui.RegExUserParametersGui +
Modifies a given TestElement to mirror the data in the gui components. +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.protocol.http.modifier.gui.URLRewritingModifierGui +
Modifies a given TestElement to mirror the data in the gui components. +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.protocol.http.proxy.gui.ProxyControlGui +
GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components. +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.protocol.java.config.gui.JavaConfigGui +
GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components. +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.protocol.java.control.gui.BeanShellSamplerGui +
Modifies a given TestElement to mirror the data in the gui components. +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.protocol.java.control.gui.JavaTestSamplerGui +
  +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.protocol.java.control.gui.JUnitTestSamplerGui +
GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components. +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.protocol.jms.control.gui.JMSPropertiesPanel +
Modifies a given TestElement to mirror the data in the gui components. +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.protocol.jms.control.gui.JMSPublisherGui +
Modifies a given TestElement to mirror the data in the gui components. +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.protocol.jms.control.gui.JMSSamplerGui +
  +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.protocol.jms.control.gui.JMSSubscriberGui +
Modifies a given TestElement to mirror the data in the gui components. +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.protocol.ldap.config.gui.LDAPArgumentsPanel +
  +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.protocol.ldap.config.gui.LdapConfigGui +
Modifies a given TestElement to mirror the data in the gui components. +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.protocol.ldap.config.gui.LdapExtConfigGui +
Modifies a given TestElement to mirror the data in the gui components. +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.protocol.ldap.control.gui.LdapExtTestSamplerGui +
Modifies a given TestElement to mirror the data in the gui components. +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.protocol.ldap.control.gui.LdapTestSamplerGui +
Modifies a given TestElement to mirror the data in the gui components. +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.protocol.mail.sampler.gui.MailReaderSamplerGui +
GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components. +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.protocol.smtp.sampler.gui.SecuritySettingsPanel +
  +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.protocol.smtp.sampler.gui.SmtpSamplerGui +
Modifies a given TestElement to mirror the data in the gui components +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.protocol.system.gui.SystemSamplerGui +
  +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.protocol.tcp.config.gui.TCPConfigGui +
Modifies a given TestElement to mirror the data in the gui components. +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.protocol.tcp.control.gui.TCPSamplerGui +
Modifies a given TestElement to mirror the data in the gui components. +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.reporters.gui.ResultActionGui +
Modifies a given TestElement to mirror the data in the gui components. +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.reporters.gui.ResultSaverGui +
Modifies a given TestElement to mirror the data in the gui components. +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.reporters.gui.SummariserGui +
Modifies a given TestElement to mirror the data in the gui components. +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.sampler.gui.TestActionGui +
Modifies a given TestElement to mirror the data in the gui components. +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.testbeans.gui.TestBeanGUI +
GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components. +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.threads.gui.ThreadGroupGui +
Modifies a given TestElement to mirror the data in the gui components. +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.timers.gui.AbstractRandomTimerGui +
Modifies a given TestElement to mirror the data in the gui components. +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.timers.gui.ConstantTimerGui +
Modifies a given TestElement to mirror the data in the gui components. +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.visualizers.backend.BackendListenerGui +
GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components. +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.visualizers.gui.AbstractVisualizer +
  +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.visualizers.MailerVisualizer +
GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components. +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.visualizers.MonitorHealthVisualizer +
  +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.visualizers.PropertyControlGui +
  +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.visualizers.RespTimeGraphVisualizer +
  +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.visualizers.StatVisualizer +
  +
modifyTestElement(TestElement) - +Method in class org.apache.jmeter.visualizers.SummaryReport +
  +
ModuleController - Class in org.apache.jmeter.control
The goal of ModuleController is to add modularity to JMeter.
ModuleController() - +Constructor for class org.apache.jmeter.control.ModuleController +
No-arg constructor +
ModuleControllerGui - Class in org.apache.jmeter.control.gui
ModuleControllerGui provides UI for configuring ModuleController element.
ModuleControllerGui() - +Constructor for class org.apache.jmeter.control.gui.ModuleControllerGui +
Initializes the gui panel for the ModuleController instance. +
MongoDB - Class in org.apache.jmeter.protocol.mongodb.mongo
 
MongoDB(List<ServerAddress>, MongoClientOptions) - +Constructor for class org.apache.jmeter.protocol.mongodb.mongo.MongoDB +
  +
MongoDBHolder - Class in org.apache.jmeter.protocol.mongodb.config
Public API to access MongoDB DB object created by MongoSourceElement
MongoDBHolder() - +Constructor for class org.apache.jmeter.protocol.mongodb.config.MongoDBHolder +
  +
MongoScriptRunner - Class in org.apache.jmeter.protocol.mongodb.sampler
 
MongoScriptRunner() - +Constructor for class org.apache.jmeter.protocol.mongodb.sampler.MongoScriptRunner +
  +
MongoScriptSampler - Class in org.apache.jmeter.protocol.mongodb.sampler
 
MongoScriptSampler() - +Constructor for class org.apache.jmeter.protocol.mongodb.sampler.MongoScriptSampler +
  +
MongoScriptSamplerBeanInfo - Class in org.apache.jmeter.protocol.mongodb.sampler
 
MongoScriptSamplerBeanInfo() - +Constructor for class org.apache.jmeter.protocol.mongodb.sampler.MongoScriptSamplerBeanInfo +
  +
MongoSourceElement - Class in org.apache.jmeter.protocol.mongodb.config
 
MongoSourceElement() - +Constructor for class org.apache.jmeter.protocol.mongodb.config.MongoSourceElement +
  +
MongoSourceElementBeanInfo - Class in org.apache.jmeter.protocol.mongodb.config
 
MongoSourceElementBeanInfo() - +Constructor for class org.apache.jmeter.protocol.mongodb.config.MongoSourceElementBeanInfo +
  +
MongoUtils - Class in org.apache.jmeter.protocol.mongodb.mongo
 
MongoUtils() - +Constructor for class org.apache.jmeter.protocol.mongodb.mongo.MongoUtils +
  +
MONITOR - +Static variable in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
MonitorAccumModel - Class in org.apache.jmeter.visualizers
 
MonitorAccumModel() - +Constructor for class org.apache.jmeter.visualizers.MonitorAccumModel +
  +
MonitorGraph - Class in org.apache.jmeter.visualizers
MonitorGraph will draw the performance history of a given server.
MonitorGraph() - +Constructor for class org.apache.jmeter.visualizers.MonitorGraph +
Deprecated. Only for use in unit testing +
MonitorGraph(MonitorAccumModel) - +Constructor for class org.apache.jmeter.visualizers.MonitorGraph +
  +
MonitorGuiListener - Interface in org.apache.jmeter.visualizers
 
MonitorHandler - Class in org.apache.jmeter.monitor.parser
 
MonitorHandler(ObjectFactory) - +Constructor for class org.apache.jmeter.monitor.parser.MonitorHandler +
  +
MonitorHealthPanel - Class in org.apache.jmeter.visualizers
The health panel is responsible for showing the health of the servers.
MonitorHealthPanel() - +Constructor for class org.apache.jmeter.visualizers.MonitorHealthPanel +
Deprecated. Only for use in unit testing +
MonitorHealthPanel(MonitorAccumModel) - +Constructor for class org.apache.jmeter.visualizers.MonitorHealthPanel +
  +
MonitorHealthVisualizer - Class in org.apache.jmeter.visualizers
For performance reasons, I am using tabs for the visualizers.
MonitorHealthVisualizer() - +Constructor for class org.apache.jmeter.visualizers.MonitorHealthVisualizer +
Constructor for the GraphVisualizer object. +
MonitorListener - Interface in org.apache.jmeter.visualizers
 
MonitorModel - Class in org.apache.jmeter.visualizers
 
MonitorModel() - +Constructor for class org.apache.jmeter.visualizers.MonitorModel +
  +
MonitorModel(MonitorStats) - +Constructor for class org.apache.jmeter.visualizers.MonitorModel +
  +
MonitorPerformancePanel - Class in org.apache.jmeter.visualizers
 
MonitorPerformancePanel() - +Constructor for class org.apache.jmeter.visualizers.MonitorPerformancePanel +
Deprecated. Only for use in unit testing +
MonitorPerformancePanel(MonitorAccumModel, MonitorGraph) - +Constructor for class org.apache.jmeter.visualizers.MonitorPerformancePanel +
  +
MonitorStats - Class in org.apache.jmeter.visualizers
 
MonitorStats() - +Constructor for class org.apache.jmeter.visualizers.MonitorStats +
  +
MonitorStats(int, int, int, int, int, String, String, String, long) - +Constructor for class org.apache.jmeter.visualizers.MonitorStats +
Default constructor +
MonitorTabPane - Class in org.apache.jmeter.visualizers
 
MonitorTabPane() - +Constructor for class org.apache.jmeter.visualizers.MonitorTabPane +
  +
mouseClicked(MouseEvent) - +Method in class org.apache.jmeter.gui.tree.JMeterTreeListener +
  +
mouseClicked(MouseEvent) - +Method in class org.apache.jmeter.gui.util.TextBoxDialoger.TextBoxDoubleClick +
  +
mouseEntered(MouseEvent) - +Method in class org.apache.jmeter.gui.tree.JMeterTreeListener +
  +
mouseExited(MouseEvent) - +Method in class org.apache.jmeter.gui.tree.JMeterTreeListener +
  +
mousePressed(MouseEvent) - +Method in class org.apache.jmeter.gui.tree.JMeterTreeListener +
  +
mousePressed(MouseEvent) - +Method in class org.apache.jmeter.gui.util.TextBoxDialoger.TextBoxDoubleClickPressed +
  +
mouseReleased(MouseEvent) - +Method in class org.apache.jmeter.gui.tree.JMeterTreeListener +
  +
Move - Class in org.apache.jmeter.gui.action
 
Move() - +Constructor for class org.apache.jmeter.gui.action.Move +
  +
MOVE - +Static variable in interface org.apache.jmeter.protocol.http.util.HTTPConstantsInterface +
  +
MOVE_DOWN - +Static variable in class org.apache.jmeter.gui.action.ActionNames +
  +
MOVE_LEFT - +Static variable in class org.apache.jmeter.gui.action.ActionNames +
  +
MOVE_RIGHT - +Static variable in class org.apache.jmeter.gui.action.ActionNames +
  +
MOVE_UP - +Static variable in class org.apache.jmeter.gui.action.ActionNames +
  +
moveInHistory(int, JMeterTreeModel) - +Method in class org.apache.jmeter.gui.UndoHistory +
Goes through undo history, changing GUI +
moveRow(int, int, int) - +Method in class org.apache.jorphan.gui.ObjectTableModel +
+
MULTILINE - +Static variable in class org.apache.jmeter.testbeans.BeanInfoSupport +
If specified, create a multi-line editor +
MULTILINE - +Static variable in class org.apache.jmeter.testbeans.gui.GenericTestBeanCustomizer +
If specified, create a multi-line editor +
MULTIPART_FORM_DATA - +Static variable in interface org.apache.jmeter.protocol.http.util.HTTPConstantsInterface +
  +
MultipartUrlConfig - Class in org.apache.jmeter.protocol.http.config
Configuration element which handles HTTP Parameters and files to be uploaded
MultipartUrlConfig() - +Constructor for class org.apache.jmeter.protocol.http.config.MultipartUrlConfig +
Deprecated. only for use by unit tests +
MultipartUrlConfig(String) - +Constructor for class org.apache.jmeter.protocol.http.config.MultipartUrlConfig +
  +
MultipartUrlConfigGui - Class in org.apache.jmeter.protocol.http.config.gui
 
MultipartUrlConfigGui() - +Constructor for class org.apache.jmeter.protocol.http.config.gui.MultipartUrlConfigGui +
  +
MultipartUrlConfigGui(boolean) - +Constructor for class org.apache.jmeter.protocol.http.config.gui.MultipartUrlConfigGui +
  +
MultipartUrlConfigGui(boolean, boolean) - +Constructor for class org.apache.jmeter.protocol.http.config.gui.MultipartUrlConfigGui +
  +
MultiProperty - Class in org.apache.jmeter.testelement.property
For JMeterProperties that hold multiple properties within, provides a simple + interface for retrieving a property iterator for the sub values.
MultiProperty() - +Constructor for class org.apache.jmeter.testelement.property.MultiProperty +
  +
MultiProperty(String) - +Constructor for class org.apache.jmeter.testelement.property.MultiProperty +
  +
MultiPropertyConverter - Class in org.apache.jmeter.save.converters
 
MultiPropertyConverter(Mapper) - +Constructor for class org.apache.jmeter.save.converters.MultiPropertyConverter +
  +
+
+

+N

+
+
NAME - +Variable in class org.apache.jmeter.protocol.http.util.accesslog.NVPair +
  +
NAME - +Static variable in interface org.apache.jmeter.testelement.TestElement +
  +
nameChanged() - +Method in class org.apache.jmeter.gui.tree.JMeterTreeNode +
+
nameChanged() - +Method in interface org.apache.jmeter.gui.tree.NamedTreeNode +
  +
NamedObject - Interface in org.apache.jmeter.util
 
NamedTreeNode - Interface in org.apache.jmeter.gui.tree
 
namePanel - +Variable in class org.apache.jmeter.gui.AbstractJMeterGuiComponent +
A GUI panel containing the name of this component. +
NamePanel - Class in org.apache.jmeter.gui
 
NamePanel() - +Constructor for class org.apache.jmeter.gui.NamePanel +
Create a new NamePanel with the default name. +
NAMES - +Static variable in class org.apache.jmeter.modifiers.UserParameters +
  +
NameUpdater - Class in org.apache.jmeter.util
 
NativeCommand - Class in org.apache.jmeter.protocol.system
Deprecated. (2.10) use SystemCommand instead
NativeCommand(File, Map<String, String>) - +Constructor for class org.apache.jmeter.protocol.system.NativeCommand +
Deprecated.   +
NativeCommand(File, Map<String, String>, String, String, String) - +Constructor for class org.apache.jmeter.protocol.system.NativeCommand +
Deprecated.   +
NEWDN - +Static variable in class org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler +
  +
NewDriver - Class in org.apache.jmeter
Main class for JMeter - sets up initial classpath and the loader.
NEWEXT - +Variable in class org.apache.jmeter.protocol.http.util.accesslog.LogFilter +
  +
NEWFILE - +Variable in class org.apache.jmeter.protocol.http.util.accesslog.LogFilter +
  +
newInstance() - +Static method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerFactory +
Create a new instance of the default sampler +
newInstance(String) - +Static method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerFactory +
Create a new instance of the required sampler type +
next() - +Method in interface org.apache.jmeter.control.Controller +
Delivers the next Sampler or null +
next() - +Method in class org.apache.jmeter.control.CriticalSectionController +
  +
next() - +Method in class org.apache.jmeter.control.ForeachController +
  +
next() - +Method in class org.apache.jmeter.control.GenericController +
+ Determines the next sampler to be processed. +
next() - +Method in class org.apache.jmeter.control.IfController +
  +
next() - +Method in class org.apache.jmeter.control.InterleaveControl +
+ Determines the next sampler to be processed. +
next() - +Method in class org.apache.jmeter.control.LoopController +
+ Determines the next sampler to be processed. +
next() - +Method in class org.apache.jmeter.control.RunTime +
  +
next() - +Method in class org.apache.jmeter.control.SwitchController +
  +
next() - +Method in class org.apache.jmeter.control.ThroughputController +
  +
next() - +Method in class org.apache.jmeter.control.TransactionController +
  +
next() - +Method in class org.apache.jmeter.control.WhileController +
This skips controller entirely if the condition is false on first entry. +
next() - +Method in enum org.apache.jmeter.gui.util.TristateState +
  +
next() - +Method in interface org.apache.jmeter.testelement.property.PropertyIterator +
  +
next() - +Method in class org.apache.jmeter.testelement.property.PropertyIteratorImpl +
+
next() - +Method in class org.apache.jmeter.threads.AbstractThreadGroup +
Delivers the next Sampler or null +
next(int) - +Method in class org.apache.jmeter.util.ThreadLocalRandom +
  +
next() - +Method in class org.apache.jorphan.collections.Data +
Sets the current position of the Data set to the next row. +
nextDouble(double) - +Method in class org.apache.jmeter.util.ThreadLocalRandom +
Returns a pseudorandom, uniformly distributed double value + between 0 (inclusive) and the specified value (exclusive). +
nextDouble(double, double) - +Method in class org.apache.jmeter.util.ThreadLocalRandom +
Returns a pseudorandom, uniformly distributed value between the + given least value (inclusive) and bound (exclusive). +
nextInt(int, int) - +Method in class org.apache.jmeter.util.ThreadLocalRandom +
Returns a pseudorandom, uniformly distributed value between the + given least value (inclusive) and bound (exclusive). +
nextIsAController(Controller) - +Method in class org.apache.jmeter.control.GenericController +
Called by GenericController.next() if the element is a Controller, and returns the + next sampler from the controller. +
nextIsAController(Controller) - +Method in class org.apache.jmeter.control.InterleaveControl +
Called by GenericController.next() if the element is a Controller, and returns the + next sampler from the controller. +
nextIsAController(Controller) - +Method in class org.apache.jmeter.control.TransactionController +
  +
nextIsASampler(Sampler) - +Method in class org.apache.jmeter.control.GenericController +
Increment the current pointer and return the element. +
nextIsASampler(Sampler) - +Method in class org.apache.jmeter.control.InterleaveControl +
Increment the current pointer and return the element. +
nextIsNull() - +Method in class org.apache.jmeter.control.ForeachController +
Called by GenericController.next() when GenericController.getCurrentElement() returns null. +
nextIsNull() - +Method in class org.apache.jmeter.control.GenericController +
Called by GenericController.next() when GenericController.getCurrentElement() returns null. +
nextIsNull() - +Method in class org.apache.jmeter.control.InterleaveControl +
If the current is null, reset and continue searching. +
nextIsNull() - +Method in class org.apache.jmeter.control.LoopController +
Called by GenericController.next() when GenericController.getCurrentElement() returns null. +
nextIsNull() - +Method in class org.apache.jmeter.control.OnceOnlyController +
  +
nextIsNull() - +Method in class org.apache.jmeter.control.RunTime +
Called by GenericController.next() when GenericController.getCurrentElement() returns null. +
nextIsNull() - +Method in class org.apache.jmeter.control.WhileController +
Only called at End of Loop + + Called by GenericController.next() when GenericController.getCurrentElement() returns null. +
NextIsNullException - Exception in org.apache.jmeter.control
Used by the Generic and Interleave controllers to signal the end of their samples
NextIsNullException() - +Constructor for exception org.apache.jmeter.control.NextIsNullException +
  +
NextIsNullException(String, Throwable) - +Constructor for exception org.apache.jmeter.control.NextIsNullException +
  +
NextIsNullException(String) - +Constructor for exception org.apache.jmeter.control.NextIsNullException +
  +
NextIsNullException(Throwable) - +Constructor for exception org.apache.jmeter.control.NextIsNullException +
  +
nextLong(long) - +Method in class org.apache.jmeter.util.ThreadLocalRandom +
Returns a pseudorandom, uniformly distributed value + between 0 (inclusive) and the specified value (exclusive). +
nextLong(long, long) - +Method in class org.apache.jmeter.util.ThreadLocalRandom +
Returns a pseudorandom, uniformly distributed value between the + given least value (inclusive) and bound (exclusive). +
nextPaint() - +Method in class org.apache.jmeter.visualizers.LineGraph +
The method will return the next paint color in the PAINT_ARRAY. +
nextRow() - +Method in class org.apache.jmeter.functions.FileRowColContainer +
Returns the next row to the caller, and updates it, allowing for wrap + round +
nextRow() - +Method in class org.apache.jmeter.functions.XPathFileContainer +
Returns the next row to the caller, and updates it, allowing for wrap + round +
nextShape() - +Method in class org.apache.jmeter.visualizers.LineGraph +
Return the next shape +
nextStroke() - +Method in class org.apache.jmeter.visualizers.LineGraph +
method always return a new BasicStroke with 1.0f weight +
NoConfigMerge - Interface in org.apache.jmeter.engine.util
Implement this method-less interface to indicate that this ConfigElement should not be merged.
NODELAY - +Static variable in class org.apache.jmeter.protocol.tcp.sampler.TCPSampler +
  +
nodeStructureChanged(TreeNode) - +Method in class org.apache.jorphan.gui.AbstractTreeTableModel +
  +
NON_HTTP_RESPONSE_CODE - +Static variable in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
NON_HTTP_RESPONSE_MESSAGE - +Static variable in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
NON_TEST_ELEMENTS - +Static variable in class org.apache.jmeter.gui.util.MenuFactory +
  +
NONPROXY_HOSTS - +Static variable in class org.apache.jmeter.protocol.http.sampler.HTTPHCAbstractImpl +
  +
nonProxyHostFull - +Static variable in class org.apache.jmeter.protocol.http.sampler.HTTPHCAbstractImpl +
  +
nonProxyHostSuffix - +Static variable in class org.apache.jmeter.protocol.http.sampler.HTTPHCAbstractImpl +
  +
nonProxyHostSuffixSize - +Static variable in class org.apache.jmeter.protocol.http.sampler.HTTPHCAbstractImpl +
  +
noResponse(URL) - +Method in class org.apache.jmeter.visualizers.MonitorAccumModel +
If there is no response from the server, we create a new MonitorStats + object with the current timestamp and health "dead". +
normalizeList(Collection<?>) - +Method in class org.apache.jmeter.testelement.property.AbstractProperty +
Convert a collection of objects into JMeterProperty objects. +
normalizeMap(Map<?, ?>) - +Method in class org.apache.jmeter.testelement.property.AbstractProperty +
Given a Map, it converts the Map into a collection of JMeterProperty + objects, appropriate for a MapProperty object. +
NOT_EXPRESSION - +Static variable in class org.apache.jmeter.testbeans.BeanInfoSupport +
Whether the field disallows JMeter expressions; Boolean, default FALSE +
NOT_EXPRESSION - +Static variable in class org.apache.jmeter.testbeans.gui.GenericTestBeanCustomizer +
Whether the field disallows JMeter expressions; Boolean, default FALSE +
NOT_OTHER - +Static variable in class org.apache.jmeter.testbeans.BeanInfoSupport +
Whether the field disallows constant values different from the provided tags; Boolean, default FALSE +
NOT_OTHER - +Static variable in class org.apache.jmeter.testbeans.gui.GenericTestBeanCustomizer +
Whether the field disallows constant values different from the provided tags; Boolean, default FALSE +
NOT_UNDEFINED - +Static variable in class org.apache.jmeter.testbeans.BeanInfoSupport +
Whether the field must be defined (i.e. is required); Boolean, defaults to FALSE +
NOT_UNDEFINED - +Static variable in class org.apache.jmeter.testbeans.gui.GenericTestBeanCustomizer +
Whether the field must be defined (i.e. is required); + Boolean, defaults to FALSE +
NOTEQUAL - +Static variable in class org.apache.jmeter.assertions.SizeAssertion +
  +
NoThreadClone - Interface in org.apache.jmeter.engine.util
Implement this method-less interface to indicate your test element should not + be cloned for each thread in a test run.
notifyChangeInHistory(UndoHistory) - +Method in class org.apache.jmeter.gui.GuiPackage +
Called when history changes, it updates toolbar +
notifyChangeInHistory(UndoHistory) - +Method in interface org.apache.jmeter.gui.UndoHistory.HistoryListener +
  +
notifyChangeListeners() - +Method in class org.apache.jmeter.reporters.MailerModel +
  +
notifyChangeListeners() - +Method in class org.apache.jorphan.gui.JLabeledTextField +
Notify all registered change listeners that the text in the text field + has changed. +
notifyFirstSampleAfterLoopRestart() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPAbstractImpl +
  +
notifyFirstSampleAfterLoopRestart() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPHC3Impl +
  +
notifyFirstSampleAfterLoopRestart() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl +
  +
notifyListeners() - +Method in class org.apache.jmeter.control.TransactionController +
Create additional SampleEvent in NON Parent Mode +
notifyListeners(SampleEvent, List<SampleListener>) - +Method in class org.apache.jmeter.threads.ListenerNotifier +
Notify a list of listeners that a sample has occurred. +
notifyListeners(MonitorModel) - +Method in class org.apache.jmeter.visualizers.MonitorAccumModel +
notify the listeners with the MonitorModel object. +
notifySSLContextWasReset() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPAbstractImpl +
Called by testIterationStart if the SSL Context was reset. +
nullifyIfEmptyTrimmed(String) - +Static method in class org.apache.jorphan.util.JOrphanUtils +
Returns null if input is empty, null or contains spaces +
NullProperty - Class in org.apache.jmeter.testelement.property
A null property.
NullProperty(String) - +Constructor for class org.apache.jmeter.testelement.property.NullProperty +
  +
NullProperty() - +Constructor for class org.apache.jmeter.testelement.property.NullProperty +
  +
NUM_THREADS - +Static variable in class org.apache.jmeter.threads.AbstractThreadGroup +
Number of threads in the thread group +
NUMBER_PAD_LENGTH - +Static variable in class org.apache.jmeter.reporters.ResultSaver +
  +
NumberComparator - Class in org.apache.jorphan.math
 
NumberComparator() - +Constructor for class org.apache.jorphan.math.NumberComparator +
  +
NumberFieldErrorListener - Class in org.apache.jmeter.gui.util
 
NumberFieldErrorListener() - +Constructor for class org.apache.jmeter.gui.util.NumberFieldErrorListener +
  +
numberOfActiveThreads() - +Method in class org.apache.jmeter.threads.AbstractThreadGroup +
  +
numberOfActiveThreads() - +Method in class org.apache.jmeter.threads.ThreadGroup +
  +
numberOfNodes - +Variable in class org.apache.jmeter.visualizers.SplineModel +
  +
NumberProperty - Class in org.apache.jmeter.testelement.property
 
NumberProperty() - +Constructor for class org.apache.jmeter.testelement.property.NumberProperty +
  +
NumberProperty(String) - +Constructor for class org.apache.jmeter.testelement.property.NumberProperty +
  +
NumberRenderer - Class in org.apache.jorphan.gui
Renders numbers in a JTable with a specified format
NumberRenderer() - +Constructor for class org.apache.jorphan.gui.NumberRenderer +
  +
NumberRenderer(String) - +Constructor for class org.apache.jorphan.gui.NumberRenderer +
  +
NUMBERS_TO_DISPLAY - +Variable in class org.apache.jmeter.visualizers.SplineVisualizer +
  +
NVPair - Class in org.apache.jmeter.protocol.http.util.accesslog
Description:
+
NVPair() - +Constructor for class org.apache.jmeter.protocol.http.util.accesslog.NVPair +
  +
NVPair(String, String) - +Constructor for class org.apache.jmeter.protocol.http.util.accesslog.NVPair +
The constructor takes a name and value which represent HTTP request + parameters. +
+
+

+O

+
+
OBJECT_MSG_RSC - +Static variable in class org.apache.jmeter.protocol.jms.control.gui.JMSPublisherGui +
Create an ObjectMessage +
OBJECT_PROPERTIES - +Static variable in class org.apache.jmeter.testbeans.gui.TableEditor +
attribute name for property names within the TableEditor.CLASSNAME, value must be String array +
ObjectFactory - Class in org.apache.jmeter.monitor.model
ObjectFactory is a simple factory class which creates new instances of + objects.
ObjectFactory() - +Constructor for class org.apache.jmeter.monitor.model.ObjectFactory +
  +
ObjectFactory.MonitorParser - Class in org.apache.jmeter.monitor.model
 
ObjectFactory.MonitorParser(ObjectFactory) - +Constructor for class org.apache.jmeter.monitor.model.ObjectFactory.MonitorParser +
  +
ObjectProperty - Class in org.apache.jmeter.testelement.property
 
ObjectProperty() - +Constructor for class org.apache.jmeter.testelement.property.ObjectProperty +
Default constructor. +
ObjectProperty(String) - +Constructor for class org.apache.jmeter.testelement.property.ObjectProperty +
Constructs an instance with name as its name and a + null value. +
ObjectProperty(String, Object) - +Constructor for class org.apache.jmeter.testelement.property.ObjectProperty +
Constructs an instance with name as its name and the giveN + value. +
objects - +Variable in class org.apache.jorphan.gui.AbstractTreeTableModel +
  +
ObjectTableModel - Class in org.apache.jorphan.gui
The ObjectTableModel is a TableModel whose rows are objects; + columns are defined as Functors on the object.
ObjectTableModel(String[], Class<?>, Functor[], Functor[], Class<?>[]) - +Constructor for class org.apache.jorphan.gui.ObjectTableModel +
The ObjectTableModel is a TableModel whose rows are objects; + columns are defined as Functors on the object. +
ObjectTableModel(String[], Class<?>, Functor[], Functor[], Class<?>[], boolean) - +Constructor for class org.apache.jorphan.gui.ObjectTableModel +
The ObjectTableModel is a TableModel whose rows are objects; + columns are defined as Functors on the object. +
ObjectTableModel(String[], Functor[], Functor[], Class<?>[]) - +Constructor for class org.apache.jorphan.gui.ObjectTableModel +
The ObjectTableModel is a TableModel whose rows are objects; + columns are defined as Functors on the object. +
ObsoleteGui - Class in org.apache.jmeter.config.gui
Default config gui for Configuration Element.
ObsoleteGui() - +Constructor for class org.apache.jmeter.config.gui.ObsoleteGui +
  +
OLDEXT - +Variable in class org.apache.jmeter.protocol.http.util.accesslog.LogFilter +
  +
OldSaveService - Class in org.apache.jmeter.save
This class restores the original Avalon XML format (not used by default).
ON_ERROR_ACTION - +Static variable in class org.apache.jmeter.testelement.OnErrorTestElement +
  +
ON_ERROR_CONTINUE - +Static variable in class org.apache.jmeter.testelement.OnErrorTestElement +
  +
ON_ERROR_START_NEXT_THREAD_LOOP - +Static variable in class org.apache.jmeter.testelement.OnErrorTestElement +
  +
ON_ERROR_STOPTEST - +Static variable in class org.apache.jmeter.testelement.OnErrorTestElement +
  +
ON_ERROR_STOPTEST_NOW - +Static variable in class org.apache.jmeter.testelement.OnErrorTestElement +
  +
ON_ERROR_STOPTHREAD - +Static variable in class org.apache.jmeter.testelement.OnErrorTestElement +
  +
ON_MESSAGE_RSC - +Static variable in class org.apache.jmeter.protocol.jms.control.gui.JMSSubscriberGui +
  +
ON_SAMPLE_ERROR - +Static variable in class org.apache.jmeter.threads.AbstractThreadGroup +
Action to be taken when a Sampler error occurs +
ON_SAMPLE_ERROR_CONTINUE - +Static variable in class org.apache.jmeter.threads.AbstractThreadGroup +
Continue, i.e. ignore sampler errors +
ON_SAMPLE_ERROR_START_NEXT_LOOP - +Static variable in class org.apache.jmeter.threads.AbstractThreadGroup +
Start next loop for current thread if sampler error occurs +
ON_SAMPLE_ERROR_STOPTEST - +Static variable in class org.apache.jmeter.threads.AbstractThreadGroup +
Stop test (all threads) if sampler error occurs, the entire test is stopped at the end of any current samples +
ON_SAMPLE_ERROR_STOPTEST_NOW - +Static variable in class org.apache.jmeter.threads.AbstractThreadGroup +
Stop test NOW (all threads) if sampler error occurs, the entire test is stopped abruptly. +
ON_SAMPLE_ERROR_STOPTHREAD - +Static variable in class org.apache.jmeter.threads.AbstractThreadGroup +
Stop current thread if sampler error occurs +
OnceOnlyController - Class in org.apache.jmeter.control
Controller to run its children once per cycle.
OnceOnlyController() - +Constructor for class org.apache.jmeter.control.OnceOnlyController +
Constructor for the OnceOnlyController object. +
OnceOnlyControllerGui - Class in org.apache.jmeter.control.gui
 
OnceOnlyControllerGui() - +Constructor for class org.apache.jmeter.control.gui.OnceOnlyControllerGui +
  +
OnErrorPanel - Class in org.apache.jmeter.gui
 
OnErrorPanel() - +Constructor for class org.apache.jmeter.gui.OnErrorPanel +
Create a new NamePanel with the default name. +
OnErrorTestElement - Class in org.apache.jmeter.testelement
 
OnErrorTestElement() - +Constructor for class org.apache.jmeter.testelement.OnErrorTestElement +
  +
onMessage(Message) - +Method in class org.apache.jmeter.protocol.jms.client.ReceiveSubscriber +
+
open(String, String) - +Static method in class org.apache.jmeter.functions.FileWrapper +
  +
OPEN - +Static variable in class org.apache.jmeter.gui.action.ActionNames +
  +
OPEN - +Static variable in class org.apache.jmeter.gui.action.KeyStrokes +
  +
open(int) - +Method in class org.apache.jmeter.protocol.mail.sampler.MailFileFolder +
  +
OPEN_RECENT - +Static variable in class org.apache.jmeter.gui.action.ActionNames +
  +
openJmxFilesFromDragAndDrop(Transferable) - +Method in class org.apache.jmeter.gui.MainFrame +
  +
openTag(String) - +Method in class org.apache.jorphan.util.XMLBuffer +
Open a tag; save on stack. +
OPTIONS - +Static variable in class org.apache.jmeter.protocol.http.gui.DNSCachePanel +
  +
OPTIONS - +Static variable in interface org.apache.jmeter.protocol.http.util.HTTPConstantsInterface +
  +
ORDER - +Static variable in class org.apache.jmeter.testbeans.gui.GenericTestBeanCustomizer +
  +
ORDER(String) - +Static method in class org.apache.jmeter.testbeans.gui.GenericTestBeanCustomizer +
  +
OrderPreservingLogParser - Class in org.apache.jmeter.protocol.http.util.accesslog
 
OrderPreservingLogParser() - +Constructor for class org.apache.jmeter.protocol.http.util.accesslog.OrderPreservingLogParser +
  +
OrderPreservingLogParser(String) - +Constructor for class org.apache.jmeter.protocol.http.util.accesslog.OrderPreservingLogParser +
  +
org.apache.jmeter - package org.apache.jmeter
 
org.apache.jmeter.assertions - package org.apache.jmeter.assertions
Assertions + Methods to be implemented + getResult(SampleResult) + Calling sequence + When the test plan is prepared for running, one instance of the class is created for each occurrence + of an assertion in each thread.
org.apache.jmeter.assertions.gui - package org.apache.jmeter.assertions.gui
 
org.apache.jmeter.config - package org.apache.jmeter.config
 
org.apache.jmeter.config.gui - package org.apache.jmeter.config.gui
 
org.apache.jmeter.control - package org.apache.jmeter.control
 
org.apache.jmeter.control.gui - package org.apache.jmeter.control.gui
 
org.apache.jmeter.engine - package org.apache.jmeter.engine
This package contains the interfaces and classes that are used to run JMeter tests.
org.apache.jmeter.engine.event - package org.apache.jmeter.engine.event
 
org.apache.jmeter.engine.util - package org.apache.jmeter.engine.util
 
org.apache.jmeter.examples.sampler - package org.apache.jmeter.examples.sampler
 
org.apache.jmeter.examples.sampler.gui - package org.apache.jmeter.examples.sampler.gui
 
org.apache.jmeter.examples.testbeans.example1 - package org.apache.jmeter.examples.testbeans.example1
 
org.apache.jmeter.examples.testbeans.example2 - package org.apache.jmeter.examples.testbeans.example2
 
org.apache.jmeter.examples.testbeans.example3 - package org.apache.jmeter.examples.testbeans.example3
 
org.apache.jmeter.exceptions - package org.apache.jmeter.exceptions
 
org.apache.jmeter.extractor - package org.apache.jmeter.extractor
 
org.apache.jmeter.extractor.gui - package org.apache.jmeter.extractor.gui
 
org.apache.jmeter.functions - package org.apache.jmeter.functions
Functions + Methods to be implemented + setParameters(Collection) + +

+ execute(prevResult,currentSampler) + Note that either or both of the parameters may be null.
org.apache.jmeter.functions.gui - package org.apache.jmeter.functions.gui
 
org.apache.jmeter.functions.util - package org.apache.jmeter.functions.util
 
org.apache.jmeter.gui - package org.apache.jmeter.gui
 
org.apache.jmeter.gui.action - package org.apache.jmeter.gui.action
 
org.apache.jmeter.gui.action.template - package org.apache.jmeter.gui.action.template
 
org.apache.jmeter.gui.plugin - package org.apache.jmeter.gui.plugin
 
org.apache.jmeter.gui.tree - package org.apache.jmeter.gui.tree
 
org.apache.jmeter.gui.util - package org.apache.jmeter.gui.util
 
org.apache.jmeter.modifiers - package org.apache.jmeter.modifiers
 
org.apache.jmeter.modifiers.gui - package org.apache.jmeter.modifiers.gui
 
org.apache.jmeter.monitor.model - package org.apache.jmeter.monitor.model
 
org.apache.jmeter.monitor.parser - package org.apache.jmeter.monitor.parser
 
org.apache.jmeter.monitor.util - package org.apache.jmeter.monitor.util
 
org.apache.jmeter.plugin - package org.apache.jmeter.plugin
 
org.apache.jmeter.processor - package org.apache.jmeter.processor
 
org.apache.jmeter.processor.gui - package org.apache.jmeter.processor.gui
 
org.apache.jmeter.protocol.ftp.config.gui - package org.apache.jmeter.protocol.ftp.config.gui
 
org.apache.jmeter.protocol.ftp.control.gui - package org.apache.jmeter.protocol.ftp.control.gui
 
org.apache.jmeter.protocol.ftp.sampler - package org.apache.jmeter.protocol.ftp.sampler
 
org.apache.jmeter.protocol.http.config - package org.apache.jmeter.protocol.http.config
 
org.apache.jmeter.protocol.http.config.gui - package org.apache.jmeter.protocol.http.config.gui
 
org.apache.jmeter.protocol.http.control - package org.apache.jmeter.protocol.http.control
 
org.apache.jmeter.protocol.http.control.gui - package org.apache.jmeter.protocol.http.control.gui
 
org.apache.jmeter.protocol.http.gui - package org.apache.jmeter.protocol.http.gui
 
org.apache.jmeter.protocol.http.modifier - package org.apache.jmeter.protocol.http.modifier
 
org.apache.jmeter.protocol.http.modifier.gui - package org.apache.jmeter.protocol.http.modifier.gui
 
org.apache.jmeter.protocol.http.parser - package org.apache.jmeter.protocol.http.parser
 
org.apache.jmeter.protocol.http.proxy - package org.apache.jmeter.protocol.http.proxy
 
org.apache.jmeter.protocol.http.proxy.gui - package org.apache.jmeter.protocol.http.proxy.gui
 
org.apache.jmeter.protocol.http.sampler - package org.apache.jmeter.protocol.http.sampler
 
org.apache.jmeter.protocol.http.util - package org.apache.jmeter.protocol.http.util
 
org.apache.jmeter.protocol.http.util.accesslog - package org.apache.jmeter.protocol.http.util.accesslog
 
org.apache.jmeter.protocol.http.visualizers - package org.apache.jmeter.protocol.http.visualizers
 
org.apache.jmeter.protocol.java.config - package org.apache.jmeter.protocol.java.config
 
org.apache.jmeter.protocol.java.config.gui - package org.apache.jmeter.protocol.java.config.gui
 
org.apache.jmeter.protocol.java.control.gui - package org.apache.jmeter.protocol.java.control.gui
 
org.apache.jmeter.protocol.java.sampler - package org.apache.jmeter.protocol.java.sampler
 
org.apache.jmeter.protocol.java.test - package org.apache.jmeter.protocol.java.test
 
org.apache.jmeter.protocol.jdbc - package org.apache.jmeter.protocol.jdbc
 
org.apache.jmeter.protocol.jdbc.config - package org.apache.jmeter.protocol.jdbc.config
 
org.apache.jmeter.protocol.jdbc.processor - package org.apache.jmeter.protocol.jdbc.processor
 
org.apache.jmeter.protocol.jdbc.sampler - package org.apache.jmeter.protocol.jdbc.sampler
 
org.apache.jmeter.protocol.jms - package org.apache.jmeter.protocol.jms
 
org.apache.jmeter.protocol.jms.client - package org.apache.jmeter.protocol.jms.client
 
org.apache.jmeter.protocol.jms.control.gui - package org.apache.jmeter.protocol.jms.control.gui
 
org.apache.jmeter.protocol.jms.sampler - package org.apache.jmeter.protocol.jms.sampler
 
org.apache.jmeter.protocol.ldap.config.gui - package org.apache.jmeter.protocol.ldap.config.gui
 
org.apache.jmeter.protocol.ldap.control.gui - package org.apache.jmeter.protocol.ldap.control.gui
 
org.apache.jmeter.protocol.ldap.sampler - package org.apache.jmeter.protocol.ldap.sampler
 
org.apache.jmeter.protocol.mail.sampler - package org.apache.jmeter.protocol.mail.sampler
 
org.apache.jmeter.protocol.mail.sampler.gui - package org.apache.jmeter.protocol.mail.sampler.gui
 
org.apache.jmeter.protocol.mongodb.config - package org.apache.jmeter.protocol.mongodb.config
 
org.apache.jmeter.protocol.mongodb.mongo - package org.apache.jmeter.protocol.mongodb.mongo
 
org.apache.jmeter.protocol.mongodb.sampler - package org.apache.jmeter.protocol.mongodb.sampler
 
org.apache.jmeter.protocol.smtp.sampler - package org.apache.jmeter.protocol.smtp.sampler
 
org.apache.jmeter.protocol.smtp.sampler.gui - package org.apache.jmeter.protocol.smtp.sampler.gui
 
org.apache.jmeter.protocol.smtp.sampler.protocol - package org.apache.jmeter.protocol.smtp.sampler.protocol
 
org.apache.jmeter.protocol.smtp.sampler.tools - package org.apache.jmeter.protocol.smtp.sampler.tools
 
org.apache.jmeter.protocol.system - package org.apache.jmeter.protocol.system
 
org.apache.jmeter.protocol.system.gui - package org.apache.jmeter.protocol.system.gui
 
org.apache.jmeter.protocol.tcp.config.gui - package org.apache.jmeter.protocol.tcp.config.gui
 
org.apache.jmeter.protocol.tcp.control.gui - package org.apache.jmeter.protocol.tcp.control.gui
 
org.apache.jmeter.protocol.tcp.sampler - package org.apache.jmeter.protocol.tcp.sampler
 
org.apache.jmeter.reporters - package org.apache.jmeter.reporters
 
org.apache.jmeter.reporters.gui - package org.apache.jmeter.reporters.gui
 
org.apache.jmeter.sampler - package org.apache.jmeter.sampler
 
org.apache.jmeter.sampler.gui - package org.apache.jmeter.sampler.gui
 
org.apache.jmeter.samplers - package org.apache.jmeter.samplers
 
org.apache.jmeter.samplers.gui - package org.apache.jmeter.samplers.gui
 
org.apache.jmeter.save - package org.apache.jmeter.save
 
org.apache.jmeter.save.converters - package org.apache.jmeter.save.converters
 
org.apache.jmeter.services - package org.apache.jmeter.services
 
org.apache.jmeter.swing - package org.apache.jmeter.swing
 
org.apache.jmeter.testbeans - package org.apache.jmeter.testbeans
 
org.apache.jmeter.testbeans.gui - package org.apache.jmeter.testbeans.gui
 
org.apache.jmeter.testelement - package org.apache.jmeter.testelement
 
org.apache.jmeter.testelement.property - package org.apache.jmeter.testelement.property
 
org.apache.jmeter.threads - package org.apache.jmeter.threads
 
org.apache.jmeter.threads.gui - package org.apache.jmeter.threads.gui
 
org.apache.jmeter.timers - package org.apache.jmeter.timers
 
org.apache.jmeter.timers.gui - package org.apache.jmeter.timers.gui
 
org.apache.jmeter.util - package org.apache.jmeter.util
 
org.apache.jmeter.util.keystore - package org.apache.jmeter.util.keystore
 
org.apache.jmeter.visualizers - package org.apache.jmeter.visualizers
This package contains the interfaces that have to be implemented by +any class wishing to display or present data collected in SampleResults.
org.apache.jmeter.visualizers.backend - package org.apache.jmeter.visualizers.backend
 
org.apache.jmeter.visualizers.backend.graphite - package org.apache.jmeter.visualizers.backend.graphite
 
org.apache.jmeter.visualizers.gui - package org.apache.jmeter.visualizers.gui
 
org.apache.jmeter.visualizers.utils - package org.apache.jmeter.visualizers.utils
 
org.apache.jorphan.collections - package org.apache.jorphan.collections
 
org.apache.jorphan.exec - package org.apache.jorphan.exec
 
org.apache.jorphan.gui - package org.apache.jorphan.gui
 
org.apache.jorphan.gui.layout - package org.apache.jorphan.gui.layout
 
org.apache.jorphan.io - package org.apache.jorphan.io
 
org.apache.jorphan.logging - package org.apache.jorphan.logging
 
org.apache.jorphan.math - package org.apache.jorphan.math
 
org.apache.jorphan.reflect - package org.apache.jorphan.reflect
 
org.apache.jorphan.test - package org.apache.jorphan.test
 
org.apache.jorphan.util - package org.apache.jorphan.util
 
outlinesBarFlag - +Variable in class org.apache.jmeter.visualizers.AxisGraph +
  +
OUTPUT - +Variable in class org.apache.jmeter.protocol.http.util.accesslog.StandardGenerator +
  +
+
+

+P

+
+
PACKAGE_OBJECT - +Static variable in class org.apache.jmeter.threads.JMeterThread +
  +
paint_counter - +Variable in class org.apache.jmeter.visualizers.LineGraph +
  +
paintComponent(Graphics) - +Method in class org.apache.jmeter.visualizers.AxisGraph +
  +
paintComponent(Graphics) - +Method in class org.apache.jmeter.visualizers.DistributionGraph +
Method is responsible for calling drawSample and updating the graph. +
paintComponent(Graphics) - +Method in class org.apache.jmeter.visualizers.Graph +
} +
paintComponent(Graphics) - +Method in class org.apache.jmeter.visualizers.LineGraph +
  +
paintComponent(Graphics) - +Method in class org.apache.jmeter.visualizers.MonitorGraph +
painComponent is responsible for drawing the actual graph. +
paintComponent(Graphics) - +Method in class org.apache.jmeter.visualizers.RespTimeGraphChart +
  +
paintComponent(Graphics) - +Method in class org.apache.jmeter.visualizers.SplineVisualizer.SplineGraph +
  +
paintValue(Graphics, Rectangle) - +Method in class org.apache.jmeter.testbeans.gui.FileEditor +
+
PARAMETERS - +Static variable in class org.apache.jmeter.assertions.BeanShellAssertion +
  +
PARAMETERS - +Static variable in class org.apache.jmeter.protocol.java.sampler.BeanShellSampler +
  +
ParamMask - Class in org.apache.jmeter.protocol.http.modifier
This object defines with what a parameter has its value replaced, and the + policies for how that value changes.
ParamMask() - +Constructor for class org.apache.jmeter.protocol.http.modifier.ParamMask +
Default constructor. +
ParamModifier - Class in org.apache.jmeter.protocol.http.modifier
This modifier will replace any single http sampler's url parameter value with + a value from a given range - thereby "masking" the value set in the http + sampler.
ParamModifier() - +Constructor for class org.apache.jmeter.protocol.http.modifier.ParamModifier +
Default constructor. +
ParamModifierGui - Class in org.apache.jmeter.protocol.http.modifier.gui
A swing panel to allow UI with the ParamModifier class.
ParamModifierGui() - +Constructor for class org.apache.jmeter.protocol.http.modifier.gui.ParamModifierGui +
  +
parse(InputStream) - +Method in class org.apache.jmeter.protocol.http.proxy.HttpRequestHdr +
Parses a http header from a stream. +
parse(TestElement, int) - +Method in class org.apache.jmeter.protocol.http.util.accesslog.SharedTCLogParser +
parse the entire file. +
parse(FileServer, TestElement, int) - +Method in class org.apache.jmeter.protocol.http.util.accesslog.SharedTCLogParser +
The method is responsible for reading each line, and breaking out of the + while loop if a set number of lines is given. +
parse(TestElement, int) - +Method in class org.apache.jmeter.protocol.http.util.accesslog.TCLogParser +
parse the entire file. +
parse(BufferedReader, TestElement, int) - +Method in class org.apache.jmeter.protocol.http.util.accesslog.TCLogParser +
The method is responsible for reading each line, and breaking out of the + while loop if a set number of lines is given. +
parse() - +Method in class org.apache.jmeter.protocol.http.util.WSDLHelper +
Call this method to retrieve the WSDL. +
parseAndConfigure(int, TestElement) - +Method in interface org.apache.jmeter.protocol.http.util.accesslog.LogParser +
the method will parse the given number of lines. +
parseAndConfigure(int, TestElement) - +Method in class org.apache.jmeter.protocol.http.util.accesslog.OrderPreservingLogParser +
parse a set number of lines from the access log. +
parseAndConfigure(int, TestElement) - +Method in class org.apache.jmeter.protocol.http.util.accesslog.TCLogParser +
parse a set number of lines from the access log. +
parseArguments(String) - +Method in class org.apache.jmeter.protocol.http.config.MultipartUrlConfig +
This method allows a proxy server to send over the raw text from a + browser's output stream to be parsed and stored correctly into the + UrlConfig object. +
parseArguments(String, String) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
This method allows a proxy server to send over the raw text from a + browser's output stream to be parsed and stored correctly into the + UrlConfig object. +
parseArguments(String) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
parseBytes(byte[]) - +Method in class org.apache.jmeter.monitor.model.ObjectFactory +
  +
parseBytes(byte[]) - +Method in interface org.apache.jmeter.monitor.parser.Parser +
  +
parseBytes(byte[]) - +Method in class org.apache.jmeter.monitor.parser.ParserImpl +
parse byte array and return Status object +
PARSEFLAG - +Static variable in class org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler +
  +
parseHeaders(String) - +Static method in class org.apache.jmeter.util.JMeterUtils +
Split line into name/value pairs and remove colon ':' +
parseInt(String) - +Method in class org.apache.jmeter.monitor.parser.MonitorHandler +
Convienance method for parsing integers. +
parseLine(String, TestElement) - +Method in class org.apache.jmeter.protocol.http.util.accesslog.TCLogParser +
parseLine calls the other parse methods to parse the given text. +
parseLong(String) - +Method in class org.apache.jmeter.monitor.parser.MonitorHandler +
Convienance method for parsing long. +
parseOneParameter(String) - +Method in class org.apache.jmeter.protocol.http.util.accesslog.TCLogParser +
Method expects name and value to be separated by an equal sign "=". +
parseParameters(String) - +Method in class org.apache.jmeter.protocol.http.util.accesslog.TCLogParser +
Method uses StringTokenizer to convert the string into single pairs. +
Parser - Interface in org.apache.jmeter.monitor.parser
 
PARSER_CLASSNAME - +Static variable in class org.apache.jmeter.protocol.http.parser.HTMLParser +
  +
ParserImpl - Class in org.apache.jmeter.monitor.parser
 
ParserImpl(ObjectFactory) - +Constructor for class org.apache.jmeter.monitor.parser.ParserImpl +
  +
parseSampleResult(SampleResult) - +Method in class org.apache.jmeter.monitor.model.ObjectFactory +
  +
parseSampleResult(SampleResult) - +Method in interface org.apache.jmeter.monitor.parser.Parser +
  +
parseSampleResult(SampleResult) - +Method in class org.apache.jmeter.monitor.parser.ParserImpl +
  +
parseString(String) - +Method in class org.apache.jmeter.monitor.model.ObjectFactory +
  +
parseString(String) - +Method in interface org.apache.jmeter.monitor.parser.Parser +
  +
parseString(String) - +Method in class org.apache.jmeter.monitor.parser.ParserImpl +
  +
PASSWORD - +Static variable in class org.apache.jmeter.config.ConfigTestElement +
  +
PASSWORD - +Static variable in class org.apache.jmeter.protocol.mongodb.sampler.MongoScriptSampler +
  +
PASSWORD - +Static variable in class org.apache.jmeter.protocol.smtp.sampler.SmtpSampler +
  +
PasswordEditor - Class in org.apache.jmeter.testbeans.gui
This class implements a property editor for non-null String properties that + supports custom editing (i.e.: provides a GUI component) based on a text + field.
PasswordEditor() - +Constructor for class org.apache.jmeter.testbeans.gui.PasswordEditor +
  +
PASTE - +Static variable in class org.apache.jmeter.gui.action.ActionNames +
  +
PASTE - +Static variable in class org.apache.jmeter.gui.action.KeyStrokes +
  +
Paste - Class in org.apache.jmeter.gui.action
Places a copied JMeterTreeNode under the selected node.
Paste() - +Constructor for class org.apache.jmeter.gui.action.Paste +
  +
PATCH - +Static variable in interface org.apache.jmeter.protocol.http.util.HTTPConstantsInterface +
  +
PATH - +Static variable in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
PAUSE - +Static variable in class org.apache.jmeter.sampler.TestAction +
  +
pause(int) - +Method in class org.apache.jmeter.util.CPSPauser +
Pause for an appropriate time according to the number of bytes being transferred. +
PER_ITERATION - +Static variable in class org.apache.jmeter.modifiers.UserParameters +
  +
PLAIN_BODY - +Static variable in class org.apache.jmeter.protocol.smtp.sampler.SmtpSampler +
  +
PluginManager - Class in org.apache.jmeter.plugin
 
PNG - +Static variable in class org.apache.jmeter.save.SaveGraphicsService +
  +
PNG_EXTENSION - +Static variable in class org.apache.jmeter.save.SaveGraphicsService +
  +
pointShape - +Variable in class org.apache.jmeter.visualizers.RespTimeGraphChart +
  +
PoissonRandomTimer - Class in org.apache.jmeter.timers
This class implements those methods needed by RandomTimer to be instantiable + and implements a random delay with an average value and a Poisson + distributed variation.
PoissonRandomTimer() - +Constructor for class org.apache.jmeter.timers.PoissonRandomTimer +
  +
PoissonRandomTimerGui - Class in org.apache.jmeter.timers.gui
Implementation of a Poisson random timer.
PoissonRandomTimerGui() - +Constructor for class org.apache.jmeter.timers.gui.PoissonRandomTimerGui +
  +
POLL_INTERVAL - +Static variable in class org.apache.jorphan.exec.SystemCommand +
  +
populateBindings(Bindings) - +Method in class org.apache.jmeter.util.JSR223TestElement +
Populate variables to be passed to scripts +
populateSampler(HTTPSamplerBase, HttpRequestHdr, Map<String, String>, Map<String, String>) - +Method in class org.apache.jmeter.protocol.http.proxy.DefaultSamplerCreator +
  +
populateSampler(HTTPSamplerBase, HttpRequestHdr, Map<String, String>, Map<String, String>) - +Method in interface org.apache.jmeter.protocol.http.proxy.SamplerCreator +
Populate sampler from request +
popupShouldSave(ActionEvent) - +Method in class org.apache.jmeter.gui.action.AbstractAction +
  +
PORT - +Static variable in class org.apache.jmeter.protocol.ftp.sampler.FTPSampler +
  +
PORT - +Static variable in class org.apache.jmeter.protocol.http.control.HttpMirrorControl +
  +
PORT - +Static variable in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
PORT - +Static variable in class org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler +
  +
PORT - +Static variable in class org.apache.jmeter.protocol.ldap.sampler.LDAPSampler +
  +
PORT - +Static variable in class org.apache.jmeter.protocol.tcp.sampler.TCPSampler +
  +
POST - +Static variable in class org.apache.jmeter.protocol.http.util.accesslog.TCLogParser +
  +
POST - +Static variable in interface org.apache.jmeter.protocol.http.util.HTTPConstantsInterface +
  +
POST_BODY_RAW - +Static variable in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
POST_BODY_RAW_DEFAULT - +Static variable in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
POST_PROCESSORS - +Static variable in class org.apache.jmeter.gui.util.MenuFactory +
  +
postActionPerformed(Class<? extends Command>, ActionEvent) - +Method in class org.apache.jmeter.gui.action.ActionRouter +
  +
PostProcessor - Interface in org.apache.jmeter.processor
The PostProcessor is activated after a sample result has been generated.
postProcessSampler(HTTPSamplerBase, SampleResult) - +Method in class org.apache.jmeter.protocol.http.proxy.AbstractSamplerCreator +
  +
postProcessSampler(HTTPSamplerBase, SampleResult) - +Method in interface org.apache.jmeter.protocol.http.proxy.SamplerCreator +
Post process sampler + Called after sampling +
PostThreadGroup - Class in org.apache.jmeter.threads
PostThreadGroup is a special type of ThreadGroup that can be used for + performing actions at the end of a test for cleanup and such.
PostThreadGroup() - +Constructor for class org.apache.jmeter.threads.PostThreadGroup +
  +
PostThreadGroupGui - Class in org.apache.jmeter.threads.gui
 
PostThreadGroupGui() - +Constructor for class org.apache.jmeter.threads.gui.PostThreadGroupGui +
  +
PostWriter - Class in org.apache.jmeter.protocol.http.sampler
Class for setting the necessary headers for a POST request, and sending the + body of the POST.
PostWriter() - +Constructor for class org.apache.jmeter.protocol.http.sampler.PostWriter +
Constructor for PostWriter. +
PostWriter(String) - +Constructor for class org.apache.jmeter.protocol.http.sampler.PostWriter +
Constructor for PostWriter +
PowerTableModel - Class in org.apache.jmeter.gui.util
 
PowerTableModel(String[], Class<?>[]) - +Constructor for class org.apache.jmeter.gui.util.PowerTableModel +
  +
PowerTableModel() - +Constructor for class org.apache.jmeter.gui.util.PowerTableModel +
  +
PRE_PROCESSORS - +Static variable in class org.apache.jmeter.gui.util.MenuFactory +
  +
preActionPerformed(Class<? extends Command>, ActionEvent) - +Method in class org.apache.jmeter.gui.action.ActionRouter +
  +
precision(float[], float[]) - +Method in class org.apache.jmeter.visualizers.Spline3 +
Computes the current precision reached. +
PreCompiler - Class in org.apache.jmeter.engine
Class to replace function and variable references in the test tree.
PreCompiler() - +Constructor for class org.apache.jmeter.engine.PreCompiler +
  +
PreCompiler(boolean) - +Constructor for class org.apache.jmeter.engine.PreCompiler +
  +
preferredLayoutSize(Container) - +Method in class org.apache.jorphan.gui.layout.VerticalLayout +
  +
prepare(TestElement) - +Static method in class org.apache.jmeter.testbeans.TestBeanHelper +
Deprecated. to limit it's usage in expectation of moving it elsewhere. +
prepareForPreCompile() - +Method in class org.apache.jmeter.testelement.TestPlan +
  +
prepareMessage() - +Method in class org.apache.jmeter.protocol.smtp.sampler.protocol.SendMailCommand +
Prepares message prior to be sent via execute()-method, i.e. sets + properties such as protocol, authentication, etc. +
PreProcessor - Interface in org.apache.jmeter.processor
PreProcessors are executed just prior to a sample being run.
previous() - +Method in class org.apache.jorphan.collections.Data +
Sets the current position of the Data set to the previous row. +
Printable - Interface in org.apache.jmeter.visualizers
Printable is used by components that can be saved to an external file.
printableFieldNamesToString() - +Static method in class org.apache.jmeter.save.CSVSaveService +
Generates the field names for the output file +
printableFieldNamesToString(SampleSaveConfiguration) - +Static method in class org.apache.jmeter.save.CSVSaveService +
Generates the field names for the output file +
printMilliseconds() - +Method in class org.apache.jmeter.samplers.SampleSaveConfiguration +
  +
process() - +Method in class org.apache.jmeter.extractor.BeanShellPostProcessor +
  +
process() - +Method in class org.apache.jmeter.extractor.BSFPostProcessor +
  +
process() - +Method in class org.apache.jmeter.extractor.DebugPostProcessor +
  +
process() - +Method in class org.apache.jmeter.extractor.HtmlExtractor +
Parses the response data using CSS/JQuery expressions and saving the results + into variables for use later in the test. +
process() - +Method in class org.apache.jmeter.extractor.JSR223PostProcessor +
  +
process() - +Method in class org.apache.jmeter.extractor.RegexExtractor +
Parses the response data using regular expressions and saving the results + into variables for use later in the test. +
process() - +Method in class org.apache.jmeter.extractor.XPathExtractor +
Do the job - extract value from (X)HTML response using XPath Query. +
process() - +Method in class org.apache.jmeter.modifiers.BeanShellPreProcessor +
  +
process() - +Method in class org.apache.jmeter.modifiers.BSFPreProcessor +
  +
process() - +Method in class org.apache.jmeter.modifiers.JSR223PreProcessor +
  +
process() - +Method in class org.apache.jmeter.modifiers.UserParameters +
  +
process() - +Method in interface org.apache.jmeter.processor.PostProcessor +
Provides the PostProcessor with a SampleResult object from which to + extract values for use in future Queries. +
process() - +Method in interface org.apache.jmeter.processor.PreProcessor +
  +
process() - +Method in class org.apache.jmeter.protocol.http.modifier.AnchorModifier +
Modifies an Entry object based on HTML response text. +
process() - +Method in class org.apache.jmeter.protocol.http.modifier.ParamModifier +
Modifies an entry object to replace the value of any url parameter that + matches a defined mask. +
process() - +Method in class org.apache.jmeter.protocol.http.modifier.RegExUserParameters +
  +
process() - +Method in class org.apache.jmeter.protocol.http.modifier.URLRewritingModifier +
  +
process() - +Method in class org.apache.jmeter.protocol.jdbc.processor.AbstractJDBCProcessor +
Calls the JDBC code to be executed. +
process() - +Method in class org.apache.jmeter.protocol.jdbc.processor.JDBCPostProcessor +
  +
process() - +Method in class org.apache.jmeter.protocol.jdbc.processor.JDBCPreProcessor +
  +
processBatch(List<SampleEvent>) - +Method in interface org.apache.jmeter.samplers.RemoteSampleListener +
This method is called remotely and fires a list of samples events + received locally. +
processBatch(List<SampleEvent>) - +Method in class org.apache.jmeter.samplers.RemoteSampleListenerImpl +
This method is called remotely and fires a list of samples events + received locally. +
processEvent(LogEvent) - +Method in class org.apache.jmeter.gui.LoggerPanel +
  +
processEvent(LogEvent) - +Method in class org.apache.jmeter.gui.MainFrame.ErrorsAndFatalsCounterLogTarget +
  +
processFileOrScript(BeanShellInterpreter) - +Method in class org.apache.jmeter.util.BeanShellTestElement +
Process the file or script from the test element. +
processFileOrScript(BSFManager) - +Method in class org.apache.jmeter.util.BSFTestElement +
  +
processFileOrScript(ScriptEngine, Bindings) - +Method in class org.apache.jmeter.util.JSR223TestElement +
This method will run inline script or file script with special behaviour for file script: + - If ScriptEngine implements Compilable script will be compiled and cached + - If not if will be run +
processingInstruction(String, String) - +Method in class org.apache.jmeter.protocol.http.modifier.UserParameterXMLContentHandler +
  +
PROCESSINGTIME - +Static variable in class org.apache.jmeter.monitor.parser.Constants +
  +
processPath() - +Method in class org.apache.jmeter.engine.ConvertListeners +
Process path is called when a leaf is reached. +
processPath() - +Method in class org.apache.jmeter.engine.PreCompiler +
Process path is called when a leaf is reached. +
processPath() - +Method in class org.apache.jmeter.engine.TreeCloner +
  +
processPath() - +Method in class org.apache.jmeter.engine.TurnElementsOn +
Process path is called when a leaf is reached. +
processPath() - +Method in class org.apache.jmeter.gui.action.CheckDirty +
Process path is called when a leaf is reached. +
processPath() - +Method in class org.apache.jmeter.threads.FindTestElementsUpToRootTraverser +
Process path is called when a leaf is reached. +
processPath() - +Method in class org.apache.jmeter.threads.TestCompiler +
Process path is called when a leaf is reached. +
processPath() - +Method in interface org.apache.jorphan.collections.HashTreeTraverser +
Process path is called when a leaf is reached. +
processPath() - +Method in class org.apache.jorphan.collections.SearchByClass +
Process path is called when a leaf is reached. +
processSamples(String, Visualizer, ResultCollector) - +Static method in class org.apache.jmeter.save.CSVSaveService +
Read Samples from a file; handles quoted strings. +
processSamples(String, Visualizer, ResultCollector) - +Static method in class org.apache.jmeter.save.OldSaveService +
  +
promptToOpenFile() - +Static method in class org.apache.jmeter.gui.util.FileDialoger +
Prompts the user to choose a file from their filesystems for our own + devious uses. +
promptToOpenFile(String) - +Static method in class org.apache.jmeter.gui.util.FileDialoger +
Prompts the user to choose a file from their filesystems for our own + devious uses. +
promptToOpenFile(String[]) - +Static method in class org.apache.jmeter.gui.util.FileDialoger +
Prompts the user to choose a file from their filesystems for our own + devious uses. +
promptToOpenFile(String[], String) - +Static method in class org.apache.jmeter.gui.util.FileDialoger +
Prompts the user to choose a file from their filesystems for our own + devious uses. +
promptToSaveFile(String) - +Static method in class org.apache.jmeter.gui.util.FileDialoger +
Prompts the user to choose a file from their filesystems for our own + devious uses. +
promptToSaveFile(String, String[]) - +Static method in class org.apache.jmeter.gui.util.FileDialoger +
Get a JFileChooser with a new FileFilter. +
PROP_NAME - +Static variable in class org.apache.jmeter.protocol.jms.sampler.JMSProperty +
Name used to store the JmsProperty's name. +
PROP_TYPE - +Static variable in class org.apache.jmeter.protocol.jms.sampler.JMSProperty +
Name used to store the JmsProperty's description. +
PROP_VALUE - +Static variable in class org.apache.jmeter.protocol.jms.sampler.JMSProperty +
Name used to store the JmsProperty's value. +
PropertiesBasedPrefixResolver - Class in org.apache.jmeter.util
PrefixResolver implementation that loads prefix configuration from jmeter property xpath.namespace.config
PropertiesBasedPrefixResolver(Node) - +Constructor for class org.apache.jmeter.util.PropertiesBasedPrefixResolver +
  +
Property - Class in org.apache.jmeter.functions
Function to get a JMeter property, and optionally store it + + Parameters: + - property name + - variable name (optional) + - default value (optional) + + Returns: + - the property value, but if not found: + - the default value, but if not defined: + - the property name itself
Property() - +Constructor for class org.apache.jmeter.functions.Property +
  +
property(String) - +Method in class org.apache.jmeter.testbeans.BeanInfoSupport +
Get the property descriptor for the property of the given name. +
property(String, TypeEditor) - +Method in class org.apache.jmeter.testbeans.BeanInfoSupport +
Get the property descriptor for the property of the given name. +
property(String, Class<? extends Enum<?>>) - +Method in class org.apache.jmeter.testbeans.BeanInfoSupport +
Get the property descriptor for the property of the given name. +
Property2 - Class in org.apache.jmeter.functions
Function to get a JMeter property, or a default.
Property2() - +Constructor for class org.apache.jmeter.functions.Property2 +
  +
propertyChange(PropertyChangeEvent) - +Method in class org.apache.jmeter.testbeans.gui.TextAreaEditor +
  +
PropertyControlGui - Class in org.apache.jmeter.visualizers
 
PropertyControlGui() - +Constructor for class org.apache.jmeter.visualizers.PropertyControlGui +
  +
propertyIterator() - +Method in class org.apache.jmeter.testelement.AbstractTestElement +
  +
PropertyIterator - Interface in org.apache.jmeter.testelement.property
 
propertyIterator() - +Method in interface org.apache.jmeter.testelement.TestElement +
Get a Property Iterator for the TestElements properties. +
PropertyIteratorImpl - Class in org.apache.jmeter.testelement.property
 
PropertyIteratorImpl(Collection<JMeterProperty>) - +Constructor for class org.apache.jmeter.testelement.property.PropertyIteratorImpl +
  +
propertyName - +Variable in enum org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.SourceType +
  +
PROPFIND - +Static variable in interface org.apache.jmeter.protocol.http.util.HTTPConstantsInterface +
  +
PROPPATCH - +Static variable in interface org.apache.jmeter.protocol.http.util.HTTPConstantsInterface +
  +
PROTOCOL - +Static variable in class org.apache.jmeter.monitor.parser.Constants +
  +
PROTOCOL - +Static variable in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
PROTOCOL_HTTP - +Static variable in interface org.apache.jmeter.protocol.http.util.HTTPConstantsInterface +
  +
PROTOCOL_HTTPS - +Static variable in interface org.apache.jmeter.protocol.http.util.HTTPConstantsInterface +
  +
protocolConnect(String, int, String, String) - +Method in class org.apache.jmeter.protocol.mail.sampler.MailFileStore +
  +
Proxy - Class in org.apache.jmeter.protocol.http.proxy
Thread to handle one client request.
Proxy() - +Constructor for class org.apache.jmeter.protocol.http.proxy.Proxy +
Default constructor - used by newInstance call in Daemon +
PROXY_DEFINED - +Static variable in class org.apache.jmeter.protocol.http.sampler.HTTPHCAbstractImpl +
  +
PROXY_DOMAIN - +Static variable in class org.apache.jmeter.protocol.http.sampler.HTTPHCAbstractImpl +
  +
PROXY_HOST - +Static variable in class org.apache.jmeter.protocol.http.sampler.HTTPHCAbstractImpl +
  +
PROXY_PASS - +Static variable in class org.apache.jmeter.protocol.http.sampler.HTTPHCAbstractImpl +
  +
PROXY_PORT - +Static variable in class org.apache.jmeter.protocol.http.sampler.HTTPHCAbstractImpl +
  +
PROXY_USER - +Static variable in class org.apache.jmeter.protocol.http.sampler.HTTPHCAbstractImpl +
  +
ProxyAuthenticator - Class in org.apache.jmeter
Provides JMeter the ability to use proxy servers that require username and + password.
ProxyAuthenticator(String, String) - +Constructor for class org.apache.jmeter.ProxyAuthenticator +
Create a ProxyAuthenticator with the specified username and password. +
ProxyControl - Class in org.apache.jmeter.protocol.http.proxy
Class handles storing of generated samples, etc
ProxyControl() - +Constructor for class org.apache.jmeter.protocol.http.proxy.ProxyControl +
  +
ProxyControl.KeystoreMode - Enum in org.apache.jmeter.protocol.http.proxy
 
ProxyControlGui - Class in org.apache.jmeter.protocol.http.proxy.gui
 
ProxyControlGui() - +Constructor for class org.apache.jmeter.protocol.http.proxy.gui.ProxyControlGui +
  +
PROXYHOST - +Static variable in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
PROXYPASS - +Static variable in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
PROXYPORT - +Static variable in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
PROXYUSER - +Static variable in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
PTRNFILTER - +Variable in class org.apache.jmeter.protocol.http.util.accesslog.LogFilter +
  +
publish(String, String, Map<String, Object>, int, int, long) - +Method in class org.apache.jmeter.protocol.jms.client.Publisher +
  +
publish(Serializable, String, Map<String, Object>, int, int, long) - +Method in class org.apache.jmeter.protocol.jms.client.Publisher +
  +
publish(byte[], String, Map<String, Object>, int, int, long) - +Method in class org.apache.jmeter.protocol.jms.client.Publisher +
  +
publish(Map<String, Object>, String, Map<String, Object>, int, int, long) - +Method in class org.apache.jmeter.protocol.jms.client.Publisher +
  +
Publisher - Class in org.apache.jmeter.protocol.jms.client
 
Publisher(boolean, String, String, String, String, boolean, String, String) - +Constructor for class org.apache.jmeter.protocol.jms.client.Publisher +
Create a publisher using either the jndi.properties file or the provided + parameters. +
Publisher(boolean, String, String, String, String, boolean, String, String, boolean) - +Constructor for class org.apache.jmeter.protocol.jms.client.Publisher +
Create a publisher using either the jndi.properties file or the provided + parameters +
PublisherSampler - Class in org.apache.jmeter.protocol.jms.sampler
This class implements the JMS Publisher sampler.
PublisherSampler() - +Constructor for class org.apache.jmeter.protocol.jms.sampler.PublisherSampler +
  +
purple - +Static variable in class org.apache.jmeter.gui.util.JMeterColor +
  +
PUT - +Static variable in interface org.apache.jmeter.protocol.http.util.HTTPConstantsInterface +
  +
put(Object, Object) - +Static method in class org.apache.jmeter.protocol.jms.client.ClientPool +
  +
put(String, String) - +Method in class org.apache.jmeter.threads.JMeterVariables +
Creates or updates a variable with a String value. +
put(Object, HashTree) - +Method in class org.apache.jorphan.collections.HashTree +
This is the same as calling HashTree.add(key,value). +
putAll(Map<String, ?>) - +Method in class org.apache.jmeter.threads.JMeterVariables +
  +
putAll(JMeterVariables) - +Method in class org.apache.jmeter.threads.JMeterVariables +
  +
putAll(Map<? extends Object, ? extends HashTree>) - +Method in class org.apache.jorphan.collections.HashTree +
The Map given must also be a HashTree, otherwise an + UnsupportedOperationException is thrown. +
putDocument(Object, Document) - +Static method in class org.apache.jmeter.protocol.http.util.DOMPool +
Add an object to the cache. +
putObject(String, Object) - +Method in class org.apache.jmeter.threads.JMeterVariables +
Creates or updates a variable with a value that does not have to be a String. +
putReply(String, Message) - +Method in class org.apache.jmeter.protocol.jms.sampler.MessageAdmin +
Try to associate a reply to a previously stored request. +
putRequest(String, Message, CountDownLatch) - +Method in class org.apache.jmeter.protocol.jms.sampler.MessageAdmin +
Store a request under the given id, so that an arriving reply can be + associated with this request and the waiting party can be signaled by + means of a CountDownLatch +
putValuesForXPathInList(Document, String, List<String>, boolean) - +Static method in class org.apache.jmeter.util.XPathUtil +
Put in matchStrings results of evaluation +
PutWriter - Class in org.apache.jmeter.protocol.http.sampler
Class for setting the necessary headers for a PUT request, and sending the + body of the PUT.
PutWriter() - +Constructor for class org.apache.jmeter.protocol.http.sampler.PutWriter +
Constructor for PutWriter. +
+
+

+Q

+
+
QUEUE_SIZE - +Static variable in class org.apache.jmeter.visualizers.backend.BackendListener +
Queue size +
QueueExecutor - Interface in org.apache.jmeter.protocol.jms.sampler
Executor for (pseudo) synchronous communication.
QUOTING_CHAR - +Static variable in class org.apache.jmeter.save.CSVSaveService +
  +
+
+

+R

+
+
RAMP_TIME - +Static variable in class org.apache.jmeter.threads.ThreadGroup +
Ramp-up time +
RAND - +Static variable in class org.apache.jmeter.functions.RegexFunction +
  +
Random - Class in org.apache.jmeter.functions
Provides a Random function which returns a random long integer between a min + (first argument) and a max (second argument).
Random() - +Constructor for class org.apache.jmeter.functions.Random +
No-arg constructor. +
random - +Variable in class org.apache.jmeter.timers.RandomTimer +
  +
RandomControlGui - Class in org.apache.jmeter.control.gui
 
RandomControlGui() - +Constructor for class org.apache.jmeter.control.gui.RandomControlGui +
  +
RandomController - Class in org.apache.jmeter.control
Controller that rans randomly one of it's children on each iteration
RandomController() - +Constructor for class org.apache.jmeter.control.RandomController +
  +
RandomOrderController - Class in org.apache.jmeter.control
A controller that runs its children each at most once, but in a random order.
RandomOrderController() - +Constructor for class org.apache.jmeter.control.RandomOrderController +
Create a new RandomOrderController. +
RandomOrderControllerGui - Class in org.apache.jmeter.control.gui
GUI for RandomOrderController.
RandomOrderControllerGui() - +Constructor for class org.apache.jmeter.control.gui.RandomOrderControllerGui +
  +
RandomString - Class in org.apache.jmeter.functions
Provides a RandomString function which returns a random String of length (first argument) + using characters (second argument)
RandomString() - +Constructor for class org.apache.jmeter.functions.RandomString +
No-arg constructor. +
RandomTimer - Class in org.apache.jmeter.timers
This class implements a random timer with its own panel and fields for value + update and user interaction.
RandomTimer() - +Constructor for class org.apache.jmeter.timers.RandomTimer +
No-arg constructor. +
RandomVariableConfig - Class in org.apache.jmeter.config
 
RandomVariableConfig() - +Constructor for class org.apache.jmeter.config.RandomVariableConfig +
  +
RandomVariableConfigBeanInfo - Class in org.apache.jmeter.config
 
RandomVariableConfigBeanInfo() - +Constructor for class org.apache.jmeter.config.RandomVariableConfigBeanInfo +
  +
RANGE - +Static variable in class org.apache.jmeter.timers.RandomTimer +
  +
RateRenderer - Class in org.apache.jorphan.gui
Renders a rate in a JTable.
RateRenderer(String) - +Constructor for class org.apache.jorphan.gui.RateRenderer +
  +
RawTextSearcher - Class in org.apache.jmeter.gui.action
Searcher implementation that searches text as is
RawTextSearcher(boolean, String) - +Constructor for class org.apache.jmeter.gui.action.RawTextSearcher +
Constructor +
rconfigure(HashTree, String, File, String) - +Method in interface org.apache.jmeter.engine.RemoteJMeterEngine +
  +
rconfigure(HashTree, String, File, String) - +Method in class org.apache.jmeter.engine.RemoteJMeterEngineImpl +
Adds a feature to the ThreadGroup attribute of the RemoteJMeterEngineImpl + object. +
RE_USE_CONNECTION - +Static variable in class org.apache.jmeter.protocol.tcp.sampler.TCPSampler +
  +
RE_USE_CONNECTION_DEFAULT - +Static variable in class org.apache.jmeter.protocol.tcp.sampler.TCPSampler +
  +
read(InputStream) - +Method in class org.apache.jmeter.protocol.tcp.sampler.BinaryTCPClientImpl +
Reads data until the defined EOM byte is reached. +
read(InputStream) - +Method in class org.apache.jmeter.protocol.tcp.sampler.LengthPrefixedBinaryTCPClientImpl +
+
read(InputStream) - +Method in interface org.apache.jmeter.protocol.tcp.sampler.TCPClient +
  +
read(InputStream) - +Method in class org.apache.jmeter.protocol.tcp.sampler.TCPClientImpl +
Reads data until the defined EOL byte is reached. +
read() - +Method in class org.apache.jmeter.util.SlowInputStream +
  +
read(byte[], int, int) - +Method in class org.apache.jmeter.util.SlowInputStream +
  +
read(InputStream, byte[], int, int) - +Static method in class org.apache.jorphan.util.JOrphanUtils +
Read as much as possible into buffer. +
READER - +Variable in class org.apache.jmeter.protocol.http.util.accesslog.TCLogParser +
  +
ReadException - Exception in org.apache.jmeter.protocol.tcp.sampler
Exception that contains partial response (Text read until exception occured)
ReadException() - +Constructor for exception org.apache.jmeter.protocol.tcp.sampler.ReadException +
Deprecated. For use by test code only (serialisation tests) +
ReadException(String, Throwable, String) - +Constructor for exception org.apache.jmeter.protocol.tcp.sampler.ReadException +
Constructor +
readFile(String, SampleResult) - +Method in class org.apache.jmeter.save.converters.SampleResultConverter +
  +
readFunctors - +Variable in class org.apache.jorphan.gui.AbstractTreeTableModel +
  +
readLine(String) - +Method in class org.apache.jmeter.services.FileServer +
Get the next line of the named file, recycle by default. +
readLine(String, boolean) - +Method in class org.apache.jmeter.services.FileServer +
Get the next line of the named file, first line is name to false +
readLine(String, boolean, boolean) - +Method in class org.apache.jmeter.services.FileServer +
Get the next line of the named file. +
readResolve() - +Method in class org.apache.jmeter.control.GenericController +
  +
readResolve() - +Method in class org.apache.jmeter.control.ThroughputController +
  +
readResolve() - +Method in class org.apache.jmeter.control.TransactionController +
  +
readResolve() - +Method in class org.apache.jmeter.protocol.http.modifier.URLRewritingModifier +
  +
readResolve() - +Method in class org.apache.jmeter.util.BeanShellTestElement +
  +
readResponse(SampleResult, InputStream, int) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPAbstractImpl +
Read response from the input stream, converting to MD5 digest if the + useMD5 property is set. +
readResponse(SampleResult, BufferedInputStream, int) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPAbstractImpl +
Read response from the input stream, converting to MD5 digest if the + useMD5 property is set. +
readResponse(HttpURLConnection, SampleResult) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPJavaImpl +
Reads the response from the URL connection. +
readResponse(SampleResult, InputStream, int) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
Read response from the input stream, converting to MD5 digest if the useMD5 property is set. +
RECEIVE_RSC - +Static variable in class org.apache.jmeter.protocol.jms.control.gui.JMSSubscriberGui +
  +
Receiver - Class in org.apache.jmeter.protocol.jms.sampler
Receiver of pseudo-synchronous reply messages.
RECEIVER_BCC - +Static variable in class org.apache.jmeter.protocol.smtp.sampler.SmtpSampler +
  +
RECEIVER_CC - +Static variable in class org.apache.jmeter.protocol.smtp.sampler.SmtpSampler +
  +
RECEIVER_TO - +Static variable in class org.apache.jmeter.protocol.smtp.sampler.SmtpSampler +
  +
ReceiveSubscriber - Class in org.apache.jmeter.protocol.jms.client
Generic MessageConsumer class, which has two possible strategies.
ReceiveSubscriber(boolean, String, String, String, String, String, String, String, boolean, String, String) - +Constructor for class org.apache.jmeter.protocol.jms.client.ReceiveSubscriber +
Constructor takes the necessary JNDI related parameters to create a + connection and prepare to begin receiving messages. +
ReceiveSubscriber(int, boolean, String, String, String, String, String, String, String, boolean, String, String) - +Constructor for class org.apache.jmeter.protocol.jms.client.ReceiveSubscriber +
Constructor takes the necessary JNDI related parameters to create a + connection and create an onMessageListener to prepare to begin receiving + messages. +
RecordController - Class in org.apache.jmeter.protocol.http.control.gui
 
RecordController() - +Constructor for class org.apache.jmeter.protocol.http.control.gui.RecordController +
  +
RecordingController - Class in org.apache.jmeter.protocol.http.control
 
RecordingController() - +Constructor for class org.apache.jmeter.protocol.http.control.RecordingController +
  +
recordStats(TestElement) - +Method in class org.apache.jmeter.reporters.ResultCollector +
recordStats is used to save statistics generated by visualizers +
recoverRunningVersion() - +Method in class org.apache.jmeter.protocol.http.control.CookieManager +
Tells the test element to return to the state it was in when + setRunningVersion(true) was called. +
recoverRunningVersion() - +Method in class org.apache.jmeter.testelement.AbstractTestElement +
Tells the test element to return to the state it was in when + setRunningVersion(true) was called. +
recoverRunningVersion(TestElement) - +Method in class org.apache.jmeter.testelement.property.BooleanProperty +
Tell the property to revert to the state at the time + setRunningVersion(true) was called. +
recoverRunningVersion(TestElement) - +Method in class org.apache.jmeter.testelement.property.CollectionProperty +
Tell the property to revert to the state at the time + setRunningVersion(true) was called. +
recoverRunningVersion(TestElement) - +Method in class org.apache.jmeter.testelement.property.DoubleProperty +
Tell the property to revert to the state at the time + setRunningVersion(true) was called. +
recoverRunningVersion(TestElement) - +Method in class org.apache.jmeter.testelement.property.FloatProperty +
Tell the property to revert to the state at the time + setRunningVersion(true) was called. +
recoverRunningVersion(TestElement) - +Method in class org.apache.jmeter.testelement.property.FunctionProperty +
  +
recoverRunningVersion(TestElement) - +Method in class org.apache.jmeter.testelement.property.IntegerProperty +
Tell the property to revert to the state at the time + setRunningVersion(true) was called. +
recoverRunningVersion(TestElement) - +Method in interface org.apache.jmeter.testelement.property.JMeterProperty +
Tell the property to revert to the state at the time + setRunningVersion(true) was called. +
recoverRunningVersion(TestElement) - +Method in class org.apache.jmeter.testelement.property.LongProperty +
Tell the property to revert to the state at the time + setRunningVersion(true) was called. +
recoverRunningVersion(TestElement) - +Method in class org.apache.jmeter.testelement.property.MapProperty +
Tell the property to revert to the state at the time + setRunningVersion(true) was called. +
recoverRunningVersion(TestElement) - +Method in class org.apache.jmeter.testelement.property.NullProperty +
  +
recoverRunningVersion(TestElement) - +Method in class org.apache.jmeter.testelement.property.ObjectProperty +
Tell the property to revert to the state at the time + setRunningVersion(true) was called. +
recoverRunningVersion(TestElement) - +Method in class org.apache.jmeter.testelement.property.StringProperty +
Tell the property to revert to the state at the time + setRunningVersion(true) was called. +
recoverRunningVersion(TestElement) - +Method in class org.apache.jmeter.testelement.property.TestElementProperty +
Tell the property to revert to the state at the time + setRunningVersion(true) was called. +
recoverRunningVersion() - +Method in interface org.apache.jmeter.testelement.TestElement +
Tells the test element to return to the state it was in when + setRunningVersion(true) was called. +
recoverRunningVersion() - +Method in class org.apache.jmeter.threads.SamplePackage +
Recover each member of SamplePackage to the state before the call of setRunningVersion(true) +
recoverRunningVersionOfSubElements(TestElement) - +Method in class org.apache.jmeter.testelement.property.MultiProperty +
  +
REDIRECT_COLOR - +Static variable in class org.apache.jmeter.visualizers.SamplerResultTab +
  +
REDIRECT_COLOR - +Static variable in class org.apache.jmeter.visualizers.ViewResultsFullVisualizer +
  +
REDO - +Static variable in class org.apache.jmeter.gui.action.ActionNames +
  +
refreshPeriod - +Variable in class org.apache.jmeter.visualizers.SplineModel +
  +
REG_EX_PARAM_NAMES_GR_NR - +Static variable in class org.apache.jmeter.protocol.http.modifier.RegExUserParameters +
  +
REG_EX_PARAM_VALUES_GR_NR - +Static variable in class org.apache.jmeter.protocol.http.modifier.RegExUserParameters +
  +
REG_EX_REF_NAME - +Static variable in class org.apache.jmeter.protocol.http.modifier.RegExUserParameters +
  +
REGEX - +Static variable in class org.apache.jmeter.assertions.SubstitutionElement +
  +
RegexExtractor - Class in org.apache.jmeter.extractor
 
RegexExtractor() - +Constructor for class org.apache.jmeter.extractor.RegexExtractor +
  +
RegexExtractorGui - Class in org.apache.jmeter.extractor.gui
Regular Expression Extractor Post-Processor GUI
RegexExtractorGui() - +Constructor for class org.apache.jmeter.extractor.gui.RegexExtractorGui +
  +
RegexFunction - Class in org.apache.jmeter.functions
Implements regular expression parsing of sample results and variables
RegexFunction() - +Constructor for class org.apache.jmeter.functions.RegexFunction +
  +
RegexpSearcher - Class in org.apache.jmeter.gui.action
Regexp search implementation
RegexpSearcher(boolean, String) - +Constructor for class org.apache.jmeter.gui.action.RegexpSearcher +
Constructor +
RegExUserParameters - Class in org.apache.jmeter.protocol.http.modifier
This component allows you to specify reference name of a regular expression that extracts names and values of HTTP request parameters.
RegExUserParameters() - +Constructor for class org.apache.jmeter.protocol.http.modifier.RegExUserParameters +
  +
RegExUserParametersGui - Class in org.apache.jmeter.protocol.http.modifier.gui
GUI for RegExUserParameters
RegExUserParametersGui() - +Constructor for class org.apache.jmeter.protocol.http.modifier.gui.RegExUserParametersGui +
  +
register(TestStateListener) - +Static method in class org.apache.jmeter.engine.StandardJMeterEngine +
  +
register(Stoppable) - +Method in class org.apache.jmeter.gui.GuiPackage +
Register process to stop on reload +
registerAsListener() - +Method in class org.apache.jmeter.gui.GuiPackage +
Register as listener of: + - UndoHistory + - Locale Changes +
registerDisabledIcon(String, ImageIcon) - +Static method in class org.apache.jmeter.gui.GUIFactory +
Register an icon so that it can later be retrieved via + GUIFactory.getIcon(Class). +
registerGUI(String, Class<?>, Class<?>) - +Static method in class org.apache.jmeter.gui.GUIFactory +
Register a GUI class so that it can later be retrieved via + GUIFactory.getGUI(Class). +
registerHistoryListener(UndoHistory.HistoryListener) - +Method in class org.apache.jmeter.gui.UndoHistory +
Register HistoryListener +
registerIcon(String, ImageIcon) - +Static method in class org.apache.jmeter.gui.GUIFactory +
Register an icon so that it can later be retrieved via + GUIFactory.getIcon(Class). +
reInitialize() - +Method in class org.apache.jmeter.control.CriticalSectionController +
Called after execution of last child of the controller We release lock +
reInitialize() - +Method in class org.apache.jmeter.control.ForeachController +
Resets the controller (called after execution of last child of controller): + + resetCurrent() (i.e. current=0) + increment iteration count + sets first=true + recoverRunningVersion() to set the controller back to the initial state + +
reInitialize() - +Method in class org.apache.jmeter.control.GenericController +
Resets the controller (called after execution of last child of controller): + + resetCurrent() (i.e. current=0) + increment iteration count + sets first=true + recoverRunningVersion() to set the controller back to the initial state + +
reInitialize() - +Method in class org.apache.jmeter.control.InterleaveControl +
Resets the controller (called after execution of last child of controller): + + resetCurrent() (i.e. current=0) + increment iteration count + sets first=true + recoverRunningVersion() to set the controller back to the initial state + +
reInitialize() - +Method in class org.apache.jmeter.control.LoopController +
Resets the controller (called after execution of last child of controller): + + resetCurrent() (i.e. current=0) + increment iteration count + sets first=true + recoverRunningVersion() to set the controller back to the initial state + +
reInitialize() - +Method in class org.apache.jmeter.control.RandomOrderController +
  +
reInitialize() - +Method in class org.apache.jmeter.control.RunTime +
  +
reInitializeSubController() - +Method in class org.apache.jmeter.control.GenericController +
Deprecated. replaced by GeneriController#initializeSubControllers +
REMOTE_EXIT - +Static variable in class org.apache.jmeter.gui.action.ActionNames +
  +
REMOTE_EXIT_ALL - +Static variable in class org.apache.jmeter.gui.action.ActionNames +
  +
REMOTE_FILENAME - +Static variable in class org.apache.jmeter.protocol.ftp.sampler.FTPSampler +
  +
REMOTE_SHUT - +Static variable in class org.apache.jmeter.gui.action.ActionNames +
  +
REMOTE_SHUT_ALL - +Static variable in class org.apache.jmeter.gui.action.ActionNames +
  +
REMOTE_SHUT_ALL - +Static variable in class org.apache.jmeter.gui.action.KeyStrokes +
  +
REMOTE_START - +Static variable in class org.apache.jmeter.gui.action.ActionNames +
  +
REMOTE_START_ALL - +Static variable in class org.apache.jmeter.gui.action.ActionNames +
  +
REMOTE_START_ALL - +Static variable in class org.apache.jmeter.gui.action.KeyStrokes +
  +
REMOTE_STOP - +Static variable in class org.apache.jmeter.gui.action.ActionNames +
  +
REMOTE_STOP_ALL - +Static variable in class org.apache.jmeter.gui.action.ActionNames +
  +
REMOTE_STOP_ALL - +Static variable in class org.apache.jmeter.gui.action.KeyStrokes +
  +
Remoteable - Interface in org.apache.jmeter.samplers
Marker interface used by ConvertListeners to determine which test elements to wrap + so that the results are processed by the client rather than the server
REMOTEADDR - +Static variable in class org.apache.jmeter.monitor.parser.Constants +
  +
RemoteJMeterEngine - Interface in org.apache.jmeter.engine
This is the interface for the RMI server engine, i.e.
RemoteJMeterEngineImpl - Class in org.apache.jmeter.engine
This is the JMeter server main code.
RemoteListenerWrapper - Class in org.apache.jmeter.samplers
Lars-Erik Helander provided the idea (and original implementation) for the + caching functionality (sampleStore).
RemoteListenerWrapper(RemoteSampleListener) - +Constructor for class org.apache.jmeter.samplers.RemoteListenerWrapper +
  +
RemoteListenerWrapper() - +Constructor for class org.apache.jmeter.samplers.RemoteListenerWrapper +
  +
RemoteSampleListener - Interface in org.apache.jmeter.samplers
Allows notification on events occurring during the sampling process.
RemoteSampleListenerImpl - Class in org.apache.jmeter.samplers
Implementation of remote sampler listener, also supports TestStateListener
RemoteSampleListenerImpl(Object) - +Constructor for class org.apache.jmeter.samplers.RemoteSampleListenerImpl +
  +
RemoteSampleListenerWrapper - Class in org.apache.jmeter.samplers
 
RemoteSampleListenerWrapper(RemoteSampleListener) - +Constructor for class org.apache.jmeter.samplers.RemoteSampleListenerWrapper +
  +
RemoteSampleListenerWrapper() - +Constructor for class org.apache.jmeter.samplers.RemoteSampleListenerWrapper +
  +
RemoteStart - Class in org.apache.jmeter.gui.action
 
RemoteStart() - +Constructor for class org.apache.jmeter.gui.action.RemoteStart +
  +
RemoteTestListenerWrapper - Class in org.apache.jmeter.samplers
 
RemoteTestListenerWrapper() - +Constructor for class org.apache.jmeter.samplers.RemoteTestListenerWrapper +
  +
RemoteTestListenerWrapper(RemoteSampleListener) - +Constructor for class org.apache.jmeter.samplers.RemoteTestListenerWrapper +
  +
RemoteThreadsLifeCycleListener - Interface in org.apache.jmeter.threads
Interface notified when number of active threads changes
RemoteThreadsListener - Interface in org.apache.jmeter.threads
RMI Interface that allows notification of remote start/end of threads
RemoteThreadsListenerImpl - Class in org.apache.jmeter.threads
RMI Implementation, client side code (ie executed on Controller)
RemoteThreadsListenerImpl() - +Constructor for class org.apache.jmeter.threads.RemoteThreadsListenerImpl +
  +
RemoteThreadsListenerTestElement - Class in org.apache.jmeter.threads
Empty implementation only used to be able to do replacement by ConvertListeners
RemoteThreadsListenerTestElement() - +Constructor for class org.apache.jmeter.threads.RemoteThreadsListenerTestElement +
  +
RemoteThreadsListenerWrapper - Class in org.apache.jmeter.threads
server side wrapper, used to notify RMI client
RemoteThreadsListenerWrapper(RemoteThreadsListener) - +Constructor for class org.apache.jmeter.threads.RemoteThreadsListenerWrapper +
  +
RemoteThreadsListenerWrapper() - +Constructor for class org.apache.jmeter.threads.RemoteThreadsListenerWrapper +
  +
REMOVE - +Static variable in class org.apache.jmeter.gui.action.ActionNames +
  +
REMOVE - +Static variable in class org.apache.jmeter.gui.action.KeyStrokes +
  +
Remove - Class in org.apache.jmeter.gui.action
Implements the Remove menu item.
Remove() - +Constructor for class org.apache.jmeter.gui.action.Remove +
Constructor for the Remove object +
remove(int) - +Method in class org.apache.jmeter.protocol.http.control.AuthManager +
Remove an authentication record. +
remove(int) - +Method in class org.apache.jmeter.protocol.http.control.CookieManager +
Remove a cookie. +
remove(int) - +Method in class org.apache.jmeter.protocol.http.control.HeaderManager +
Remove a header. +
remove(String) - +Method in class org.apache.jmeter.testelement.property.CollectionProperty +
  +
remove(int) - +Method in class org.apache.jmeter.testelement.property.CollectionProperty +
  +
remove() - +Method in interface org.apache.jmeter.testelement.property.PropertyIterator +
  +
remove() - +Method in class org.apache.jmeter.testelement.property.PropertyIteratorImpl +
+
remove(String) - +Method in class org.apache.jmeter.threads.JMeterVariables +
Remove a variable. +
remove(Object) - +Method in class org.apache.jorphan.collections.HashTree +
Removes the entire branch specified by the given key. +
remove(Object) - +Method in class org.apache.jorphan.collections.ListedHashTree +
Removes the entire branch specified by the given key. +
removeAllArguments() - +Method in class org.apache.jmeter.config.Arguments +
Remove all arguments from the list. +
removeAllArguments() - +Method in class org.apache.jmeter.protocol.ldap.config.gui.LDAPArguments +
Remove all arguments from the list. +
removeAllHTTPFileArgs() - +Method in class org.apache.jmeter.protocol.http.util.HTTPFileArgs +
Remove all files from the list. +
removeAllJmsPropertys() - +Method in class org.apache.jmeter.protocol.jms.sampler.JMSProperties +
Remove all JmsProperties from the list. +
removeArgument(int) - +Method in class org.apache.jmeter.config.Arguments +
Remove the specified argument from the list. +
removeArgument(Argument) - +Method in class org.apache.jmeter.config.Arguments +
Remove the specified argument from the list. +
removeArgument(String) - +Method in class org.apache.jmeter.config.Arguments +
Remove the argument with the specified name. +
removeArgument(int) - +Method in class org.apache.jmeter.protocol.ldap.config.gui.LDAPArguments +
Remove the specified argument from the list. +
removeArgument(LDAPArgument) - +Method in class org.apache.jmeter.protocol.ldap.config.gui.LDAPArguments +
Remove the specified argument from the list. +
removeArgument(String) - +Method in class org.apache.jmeter.protocol.ldap.config.gui.LDAPArguments +
Remove the argument with the specified name. +
removeArguments() - +Method in class org.apache.jmeter.protocol.java.config.JavaConfig +
Removes all of the arguments associated with this JavaConfig object. +
removeAssertionResults() - +Method in class org.apache.jmeter.samplers.SampleResult +
Allow custom SampleSenders to drop unwanted assertionResults +
removeChangeListener(ChangeListener) - +Method in class org.apache.jorphan.gui.JLabeledChoice +
Removes a change listener. +
removeChangeListener(ChangeListener) - +Method in class org.apache.jorphan.gui.JLabeledTextArea +
Removes a change listener. +
removeChangeListener(ChangeListener) - +Method in class org.apache.jorphan.gui.JLabeledTextField +
Removes a change listener. +
removeColumn(int) - +Method in class org.apache.jmeter.gui.util.PowerTableModel +
  +
removeColumn(int) - +Method in class org.apache.jorphan.collections.Data +
  +
removeCurrentElement() - +Method in class org.apache.jmeter.control.GenericController +
  +
removedSelectedNode() - +Method in class org.apache.jmeter.gui.tree.JMeterTreeListener +
  +
removeHandshakeCompletedListener(HandshakeCompletedListener) - +Method in class org.apache.jmeter.util.SlowSSLSocket +
  +
removeHeaderNamed(String) - +Method in class org.apache.jmeter.protocol.http.control.HeaderManager +
Remove from Headers the header named name +
removeHTTPFileArg(int) - +Method in class org.apache.jmeter.protocol.http.util.HTTPFileArgs +
Remove the specified file from the list. +
removeHTTPFileArg(HTTPFileArg) - +Method in class org.apache.jmeter.protocol.http.util.HTTPFileArgs +
Remove the specified file from the list. +
removeHTTPFileArg(String) - +Method in class org.apache.jmeter.protocol.http.util.HTTPFileArgs +
Remove the file with the specified path. +
removeIterationListener(LoopIterationListener) - +Method in interface org.apache.jmeter.control.Controller +
Unregister IterationListener +
removeIterationListener(LoopIterationListener) - +Method in class org.apache.jmeter.control.GenericController +
Remove listener +
removeIterationListener(LoopIterationListener) - +Method in class org.apache.jmeter.threads.AbstractThreadGroup +
Unregister IterationListener +
removeJmsProperty(int) - +Method in class org.apache.jmeter.protocol.jms.sampler.JMSProperties +
Remove the specified argument from the list. +
removeJmsProperty(JMSProperty) - +Method in class org.apache.jmeter.protocol.jms.sampler.JMSProperties +
Remove the specified argument from the list. +
removeJmsProperty(String) - +Method in class org.apache.jmeter.protocol.jms.sampler.JMSProperties +
Remove the argument with the specified name. +
removeLayoutComponent(Component) - +Method in class org.apache.jorphan.gui.layout.VerticalLayout +
Not used by this class. +
removeLocaleChangeListener(LocaleChangeListener) - +Static method in class org.apache.jmeter.util.JMeterUtils +
  +
removeNode(TestElement) - +Method in class org.apache.jmeter.gui.GuiPackage +
Remove a test element from the tree. +
removeNodeFromParent(JMeterTreeNode) - +Method in class org.apache.jmeter.gui.tree.JMeterTreeModel +
  +
removePostActionListener(Class<?>, ActionListener) - +Method in class org.apache.jmeter.gui.action.ActionRouter +
Allows an ActionListener to be removed from receiving notifications of a + command being executed after the command has executed. +
removePreActionListener(Class<?>, ActionListener) - +Method in class org.apache.jmeter.gui.action.ActionRouter +
Allows an ActionListener to be removed from receiving notifications of a + command being executed prior to the actual execution of the command. +
removePrefix(String) - +Static method in class org.apache.jorphan.logging.LoggingManager +
Removes the standard prefix, i.e. +
removeProperty(String) - +Method in class org.apache.jmeter.testelement.AbstractTestElement +
Remove property stored under the key +
removeProperty(String) - +Method in interface org.apache.jmeter.testelement.TestElement +
Remove property stored under the key +
removePropertyChangeListener(PropertyChangeListener) - +Method in class org.apache.jmeter.testbeans.gui.FileEditor +
+
removeRow(int) - +Method in class org.apache.jmeter.gui.util.PowerTableModel +
  +
removeRow() - +Method in class org.apache.jorphan.collections.Data +
Removes the current row. +
removeRow(int) - +Method in class org.apache.jorphan.collections.Data +
  +
removeRow(int) - +Method in class org.apache.jorphan.gui.ObjectTableModel +
+
removeSlashDotDot(String) - +Static method in class org.apache.jmeter.protocol.http.util.ConversionUtils +
collapses absolute or relative URLs containing '/..' converting + http://host/path1/.. +
removeSubResults() - +Method in class org.apache.jmeter.samplers.SampleResult +
Allow custom SampleSenders to drop unwanted subResults +
removeTableModelListener(TableModelListener) - +Method in class org.apache.jorphan.gui.AbstractTreeTableModel +
+
removeUpdate(DocumentEvent) - +Method in class org.apache.jmeter.config.gui.RowDetailDialog +
  +
removeUpdate(DocumentEvent) - +Method in class org.apache.jmeter.visualizers.SearchTextExtension +
  +
RENAME - +Static variable in class org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler +
  +
renameTo(Folder) - +Method in class org.apache.jmeter.protocol.mail.sampler.MailFileFolder +
  +
RenderAsCssJQuery - Class in org.apache.jmeter.visualizers
Implement ResultsRender for CSS/JQuery tester
RenderAsCssJQuery() - +Constructor for class org.apache.jmeter.visualizers.RenderAsCssJQuery +
  +
RenderAsDocument - Class in org.apache.jmeter.visualizers
 
RenderAsDocument() - +Constructor for class org.apache.jmeter.visualizers.RenderAsDocument +
  +
RenderAsHTML - Class in org.apache.jmeter.visualizers
 
RenderAsHTML() - +Constructor for class org.apache.jmeter.visualizers.RenderAsHTML +
  +
RenderAsHTMLWithEmbedded - Class in org.apache.jmeter.visualizers
 
RenderAsHTMLWithEmbedded() - +Constructor for class org.apache.jmeter.visualizers.RenderAsHTMLWithEmbedded +
  +
RenderAsJSON - Class in org.apache.jmeter.visualizers
 
RenderAsJSON() - +Constructor for class org.apache.jmeter.visualizers.RenderAsJSON +
  +
RenderAsRegexp - Class in org.apache.jmeter.visualizers
Implement ResultsRender for Regexp tester
RenderAsRegexp() - +Constructor for class org.apache.jmeter.visualizers.RenderAsRegexp +
  +
RenderAsText - Class in org.apache.jmeter.visualizers
 
RenderAsText() - +Constructor for class org.apache.jmeter.visualizers.RenderAsText +
  +
RenderAsXML - Class in org.apache.jmeter.visualizers
 
RenderAsXML() - +Constructor for class org.apache.jmeter.visualizers.RenderAsXML +
  +
RenderAsXPath - Class in org.apache.jmeter.visualizers
Implement ResultsRender for XPath tester
RenderAsXPath() - +Constructor for class org.apache.jmeter.visualizers.RenderAsXPath +
  +
RendererUtils - Class in org.apache.jorphan.gui
Utility class for Renderers
renderImage(SampleResult) - +Method in class org.apache.jmeter.visualizers.RenderAsCssJQuery +
+
renderImage(SampleResult) - +Method in class org.apache.jmeter.visualizers.RenderAsRegexp +
+
renderImage(SampleResult) - +Method in class org.apache.jmeter.visualizers.RenderAsXPath +
+
renderImage(SampleResult) - +Method in interface org.apache.jmeter.visualizers.ResultRenderer +
  +
renderImage(SampleResult) - +Method in class org.apache.jmeter.visualizers.SamplerResultTab +
  +
renderResult(SampleResult) - +Method in class org.apache.jmeter.visualizers.RenderAsCssJQuery +
+
renderResult(SampleResult) - +Method in class org.apache.jmeter.visualizers.RenderAsDocument +
+
renderResult(SampleResult) - +Method in class org.apache.jmeter.visualizers.RenderAsHTML +
+
renderResult(SampleResult) - +Method in class org.apache.jmeter.visualizers.RenderAsJSON +
+
renderResult(SampleResult) - +Method in class org.apache.jmeter.visualizers.RenderAsRegexp +
+
renderResult(SampleResult) - +Method in class org.apache.jmeter.visualizers.RenderAsText +
+
renderResult(SampleResult) - +Method in class org.apache.jmeter.visualizers.RenderAsXML +
+
renderResult(SampleResult) - +Method in class org.apache.jmeter.visualizers.RenderAsXPath +
+
renderResult(SampleResult) - +Method in interface org.apache.jmeter.visualizers.ResultRenderer +
  +
ReplaceableController - Interface in org.apache.jmeter.control
This interface represents a controller that gets replaced during the + compilation phase of test execution in an arbitrary way.
replaceAllChars(String, char, String) - +Static method in class org.apache.jorphan.util.JOrphanUtils +
Version of String.replaceAll() for JDK1.3 + See below for another version which replaces strings rather than chars +
replaceContext(JMeterContext) - +Static method in class org.apache.jmeter.threads.JMeterContextService +
Replace Thread Context by the parameter. +
replaceExtension(String) - +Method in class org.apache.jmeter.protocol.http.util.accesslog.LogFilter +
Method uses indexOf to replace the old extension with the new extension. +
replaceFirst(String, String, String) - +Static method in class org.apache.jorphan.util.JOrphanUtils +
Simple-minded String.replace() for JDK1.3 Should probably be recoded... +
ReplaceFunctionsWithStrings - Class in org.apache.jmeter.engine.util
Transforms strings into variable references (in spite of the name, which + suggests the opposite!)
ReplaceFunctionsWithStrings(CompoundVariable, Map<String, String>) - +Constructor for class org.apache.jmeter.engine.util.ReplaceFunctionsWithStrings +
  +
ReplaceFunctionsWithStrings(CompoundVariable, Map<String, String>, boolean) - +Constructor for class org.apache.jmeter.engine.util.ReplaceFunctionsWithStrings +
  +
replaceHeader(String, String) - +Method in class org.apache.jorphan.collections.Data +
Replaces the given header name with a new header name. +
replaceKey(Object, Object) - +Method in class org.apache.jorphan.collections.HashTree +
Finds the given current key, and replaces it with the given new key. +
replaceKey(Object, Object) - +Method in class org.apache.jorphan.collections.ListedHashTree +
Finds the given current key, and replaces it with the given new key. +
ReplaceStringWithFunctions - Class in org.apache.jmeter.engine.util
Replaces a String containing functions with their Function properties equivalent, example: + ${__time()}_${__threadNum()}_${__machineName()} will become a FunctionProperty of + a CompoundVariable containing 3 functions
ReplaceStringWithFunctions(CompoundVariable, Map<String, String>) - +Constructor for class org.apache.jmeter.engine.util.ReplaceStringWithFunctions +
  +
replaceValues(TestElement) - +Method in class org.apache.jmeter.engine.util.ValueReplacer +
Replaces TestElement StringProperties containing functions with their Function properties equivalent, example: + ${__time()}_${__threadNum()}_${__machineName()} will become a FunctionProperty of + a CompoundVariable containing 3 functions +
REPORT - +Static variable in interface org.apache.jmeter.protocol.http.util.HTTPConstantsInterface +
  +
reportErrors() - +Method in class org.apache.jmeter.assertions.XPathAssertion +
  +
reportErrors() - +Method in class org.apache.jmeter.extractor.XPathExtractor +
  +
reportErrorToUser(String) - +Static method in class org.apache.jmeter.util.JMeterUtils +
Report an error through a dialog box. +
reportErrorToUser(String, String) - +Static method in class org.apache.jmeter.util.JMeterUtils +
Report an error through a dialog box. +
REQUEST - +Static variable in class org.apache.jmeter.protocol.tcp.sampler.TCPSampler +
  +
REQUEST_VIEW_COMMAND - +Static variable in class org.apache.jmeter.visualizers.SamplerResultTab +
  +
REQUESTBYTESRECEIVED - +Static variable in class org.apache.jmeter.monitor.parser.Constants +
  +
REQUESTBYTESSENT - +Static variable in class org.apache.jmeter.monitor.parser.Constants +
  +
requestConnection(HttpRoute, Object) - +Method in class org.apache.jmeter.protocol.http.sampler.MeasuringConnectionManager +
  +
REQUESTCOUNT - +Static variable in class org.apache.jmeter.monitor.parser.Constants +
  +
requestFocus(Component) - +Static method in class org.apache.jmeter.gui.util.FocusRequester +
  +
requestHeaders(StringBuilder, Message) - +Static method in class org.apache.jmeter.protocol.jms.Utils +
  +
RequestInfo - Interface in org.apache.jmeter.monitor.model
 
REQUESTINFO - +Static variable in class org.apache.jmeter.monitor.parser.Constants +
  +
RequestInfoImpl - Class in org.apache.jmeter.monitor.model
 
RequestInfoImpl() - +Constructor for class org.apache.jmeter.monitor.model.RequestInfoImpl +
  +
RequestPanel - Class in org.apache.jmeter.visualizers
Manipulate all classes which implements request view panel interface + and return a super panel with a bottom tab list of this classes
RequestPanel() - +Constructor for class org.apache.jmeter.visualizers.RequestPanel +
Find and instanciate all class that extend RequestView + and Create Request Panel +
REQUESTPROCESSINGTIME - +Static variable in class org.apache.jmeter.monitor.parser.Constants +
  +
RequestView - Interface in org.apache.jmeter.visualizers
Interface for request panel in View Results Tree + All classes which implements this interface is display + on bottom tab in request panel
RequestViewHTTP - Class in org.apache.jmeter.protocol.http.visualizers
Specializer panel to view a HTTP request parsed
RequestViewHTTP() - +Constructor for class org.apache.jmeter.protocol.http.visualizers.RequestViewHTTP +
Pane to view HTTP request sample in view results tree +
RequestViewRaw - Class in org.apache.jmeter.visualizers
(historical) Panel to view request data
RequestViewRaw() - +Constructor for class org.apache.jmeter.visualizers.RequestViewRaw +
  +
RES_KEY_PFX - +Static variable in class org.apache.jmeter.util.JMeterUtils +
  +
reserveFile(String) - +Method in class org.apache.jmeter.services.FileServer +
Creates an association between a filename and a File inputOutputObject, + and stores it for later use - unless it is already stored. +
reserveFile(String, String) - +Method in class org.apache.jmeter.services.FileServer +
Creates an association between a filename and a File inputOutputObject, + and stores it for later use - unless it is already stored. +
reserveFile(String, String, String) - +Method in class org.apache.jmeter.services.FileServer +
Creates an association between a filename and a File inputOutputObject, + and stores it for later use - unless it is already stored. +
reserveFile(String, String, String, boolean) - +Method in class org.apache.jmeter.services.FileServer +
Creates an association between a filename and a File inputOutputObject, + and stores it for later use - unless it is already stored. +
reset() - +Method in class org.apache.jmeter.engine.ClientJMeterEngine +
+
reset() - +Method in interface org.apache.jmeter.engine.JMeterEngine +
  +
reset() - +Method in class org.apache.jmeter.engine.StandardJMeterEngine +
  +
reset() - +Method in class org.apache.jmeter.gui.action.template.TemplateManager +
Resets the template Map by re-reading the template files. +
reset() - +Method in interface org.apache.jmeter.protocol.http.util.accesslog.Filter +
Tell the filter when the parsing has reached the end of the log file and + is about to begin again. +
reset() - +Method in interface org.apache.jmeter.protocol.http.util.accesslog.Generator +
The purpose of the reset is so Samplers can explicitly call reset to + create a new instance of HTTPSampler. +
reset() - +Method in class org.apache.jmeter.protocol.http.util.accesslog.LogFilter +
Tell the filter when the parsing has reached the end of the log file and + is about to begin again. +
reset() - +Method in class org.apache.jmeter.protocol.http.util.accesslog.SessionFilter +
Tell the filter when the parsing has reached the end of the log file and + is about to begin again. +
reset() - +Method in class org.apache.jmeter.protocol.http.util.accesslog.StandardGenerator +
Reset the HTTPSampler to make sure it is a new instance. +
reset() - +Method in class org.apache.jmeter.util.BeanShellInterpreter +
Resets the BeanShell interpreter. +
reset() - +Static method in class org.apache.jmeter.util.SSLManager +
Resets the SSLManager so that we can create a new one with a new keystore +
reset() - +Method in class org.apache.jorphan.collections.Data +
Resets the current position of the data set to just before the first + element. +
RESET_GUI - +Static variable in class org.apache.jmeter.gui.action.ActionNames +
  +
RESET_INTERPRETER - +Static variable in class org.apache.jmeter.assertions.BeanShellAssertion +
  +
RESET_INTERPRETER - +Static variable in class org.apache.jmeter.protocol.java.sampler.BeanShellSampler +
  +
resetBase() - +Method in class org.apache.jmeter.services.FileServer +
Resets the current base to FileServer.DEFAULT_BASE. +
resetButtons(String[], String) - +Method in class org.apache.jmeter.gui.util.JLabeledRadioI18N +
Method is responsible for removing current JRadioButtons of ButtonGroup and + add creating the JRadioButtons and adding them to + the ButtonGroup. +
resetContext() - +Method in class org.apache.jmeter.util.JsseSSLManager +
Resets the SSLContext if using per-thread contexts. +
resetCurrent() - +Method in class org.apache.jmeter.control.GenericController +
  +
resetCurrent() - +Method in class org.apache.jmeter.control.RandomController +
  +
resetForTimeInterval() - +Method in class org.apache.jmeter.visualizers.backend.SamplerMetric +
Reset metric except for percentile related data +
resetForTimeInterval() - +Method in class org.apache.jmeter.visualizers.backend.UserMetric +
Reset metric except for percentile related data +
resetIterCount() - +Method in class org.apache.jmeter.control.GenericController +
  +
resetLoopCount() - +Method in class org.apache.jmeter.control.ForeachController +
  +
resetLoopCount() - +Method in class org.apache.jmeter.control.LoopController +
  +
resetLoopCount() - +Method in class org.apache.jmeter.control.RunTime +
  +
ResetSearchCommand - Class in org.apache.jmeter.gui.action
Reset Search
ResetSearchCommand() - +Constructor for class org.apache.jmeter.gui.action.ResetSearchCommand +
  +
resetValue() - +Method in class org.apache.jmeter.protocol.http.modifier.ParamMask +
This method determines the policy of what value to start (and re-start) + at. +
resolve(String) - +Method in class org.apache.jmeter.protocol.http.control.DNSCacheManager +
Resolves address using system or custom DNS resolver +
resolveBaseRelativeName(String) - +Static method in class org.apache.jmeter.services.FileServer +
Resolve a file name that may be relative to the base directory. +
resolveReplacementSubTree(JMeterTreeNode) - +Method in class org.apache.jmeter.control.IncludeController +
  +
resolveReplacementSubTree(JMeterTreeNode) - +Method in class org.apache.jmeter.control.ModuleController +
Compute the replacement tree. +
resolveReplacementSubTree(JMeterTreeNode) - +Method in interface org.apache.jmeter.control.ReplaceableController +
Compute the replacement tree. +
RESOURCE_BUNDLE - +Static variable in class org.apache.jmeter.testbeans.BeanInfoSupport +
Pointer to the resource bundle, if any (will generally be null) +
RESOURCE_BUNDLE - +Static variable in class org.apache.jmeter.testbeans.gui.GenericTestBeanCustomizer +
Pointer to the resource bundle, if any (will generally be null) +
RESPONSE_TIMEOUT - +Static variable in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
RESPONSE_WAS_NULL - +Static variable in class org.apache.jmeter.assertions.AssertionResult +
  +
ResponseAssertion - Class in org.apache.jmeter.assertions
Test element to handle Response Assertions, @see AssertionGui
ResponseAssertion() - +Constructor for class org.apache.jmeter.assertions.ResponseAssertion +
  +
RespTimeGraphChart - Class in org.apache.jmeter.visualizers
 
RespTimeGraphChart() - +Constructor for class org.apache.jmeter.visualizers.RespTimeGraphChart +
Constructor +
RespTimeGraphChart(LayoutManager) - +Constructor for class org.apache.jmeter.visualizers.RespTimeGraphChart +
Constructor +
RespTimeGraphChart(LayoutManager, boolean) - +Constructor for class org.apache.jmeter.visualizers.RespTimeGraphChart +
Constructor +
RespTimeGraphDataBean - Class in org.apache.jmeter.visualizers
Bean to hold timing information about samples
RespTimeGraphDataBean(long, long, String) - +Constructor for class org.apache.jmeter.visualizers.RespTimeGraphDataBean +
Constructor +
RespTimeGraphLineBean - Class in org.apache.jmeter.visualizers
Bean to represent information about a graph line
RespTimeGraphLineBean(String, Color) - +Constructor for class org.apache.jmeter.visualizers.RespTimeGraphLineBean +
  +
RespTimeGraphVisualizer - Class in org.apache.jmeter.visualizers
 
RespTimeGraphVisualizer() - +Constructor for class org.apache.jmeter.visualizers.RespTimeGraphVisualizer +
  +
RESTART_NEXT_LOOP - +Static variable in class org.apache.jmeter.sampler.TestAction +
  +
restoreSpecialProperties(TestElement, HierarchicalStreamReader) - +Static method in class org.apache.jmeter.save.converters.ConversionHelp +
Restore the special properties: + + TestElement.GUI_CLASS + TestElement.TEST_CLASS + TestElement.NAME + TestElement.ENABLED + +
ResultAction - Class in org.apache.jmeter.reporters
ResultAction - take action based on the status of the last Result
ResultAction() - +Constructor for class org.apache.jmeter.reporters.ResultAction +
  +
ResultActionGui - Class in org.apache.jmeter.reporters.gui
Create a Result Action Test Element
ResultActionGui() - +Constructor for class org.apache.jmeter.reporters.gui.ResultActionGui +
  +
ResultCollector - Class in org.apache.jmeter.reporters
This class handles all saving of samples.
ResultCollector() - +Constructor for class org.apache.jmeter.reporters.ResultCollector +
No-arg constructor. +
ResultCollector(Summariser) - +Constructor for class org.apache.jmeter.reporters.ResultCollector +
Constructor which sets the used Summariser +
RESULTCOLLECTOR_HELPER_OBJECT - +Static variable in class org.apache.jmeter.save.SaveService +
  +
ResultCollectorHelper - Class in org.apache.jmeter.reporters
Helper class to allow TestResultWrapperConverter to send samples + directly to the visualiser if required.
ResultCollectorHelper(ResultCollector, Visualizer) - +Constructor for class org.apache.jmeter.reporters.ResultCollectorHelper +
  +
resultProcessing(boolean, int, HTTPSampleResult) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPAbstractImpl +
Follow redirects and download page resources if appropriate. this works, + but the container stuff here is what's doing it. followRedirects() is + actually doing the work to make sure we have only one container to make + this work more naturally, I think this method - sample() - needs to take + an HTTPSamplerResult container parameter instead of a + boolean:areFollowingRedirect. +
resultProcessing(boolean, int, HTTPSampleResult) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
Follow redirects and download page resources if appropriate. this works, + but the container stuff here is what's doing it. followRedirects() is + actually doing the work to make sure we have only one container to make + this work more naturally, I think this method - sample() - needs to take + an HTTPSamplerResult container parameter instead of a + boolean:areFollowingRedirect. +
ResultRenderer - Interface in org.apache.jmeter.visualizers
Interface to results render
results - +Variable in class org.apache.jmeter.visualizers.SamplerResultTab +
Contains results; contained in resultsPane +
ResultSaver - Class in org.apache.jmeter.reporters
Save Result responseData to a set of files + + + This is mainly intended for validation tests
ResultSaver() - +Constructor for class org.apache.jmeter.reporters.ResultSaver +
  +
ResultSaver(String) - +Constructor for class org.apache.jmeter.reporters.ResultSaver +
  +
ResultSaverGui - Class in org.apache.jmeter.reporters.gui
Create a ResultSaver test element, which saves the sample information in set + of files
ResultSaverGui() - +Constructor for class org.apache.jmeter.reporters.gui.ResultSaverGui +
  +
resultsScrollPane - +Variable in class org.apache.jmeter.visualizers.SamplerResultTab +
Response Data pane +
resultToDelimitedString(SampleEvent) - +Static method in class org.apache.jmeter.save.CSVSaveService +
Convert a result into a string, where the fields of the result are + separated by the default delimiter. +
resultToDelimitedString(SampleEvent, String) - +Static method in class org.apache.jmeter.save.CSVSaveService +
Convert a result into a string, where the fields of the result are + separated by a specified String. +
RETOBJ - +Static variable in class org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler +
  +
RETRIES_DELAY - +Static variable in class org.apache.jmeter.engine.DistributedRunner +
  +
RETRIES_NUMBER - +Static variable in class org.apache.jmeter.engine.DistributedRunner +
  +
retrieveAttributes(HierarchicalStreamReader, UnmarshallingContext, SampleResult) - +Method in class org.apache.jmeter.save.converters.SampleResultConverter +
  +
retrieveItem(HierarchicalStreamReader, UnmarshallingContext, SampleResult, Object) - +Method in class org.apache.jmeter.save.converters.SampleResultConverter +
  +
reverseReplace(TestElement) - +Method in class org.apache.jmeter.engine.util.ValueReplacer +
Transforms strings into variable references +
reverseReplace(TestElement, boolean) - +Method in class org.apache.jmeter.engine.util.ValueReplacer +
Transforms strings into variable references using regexp matching if regexMatch is true +
REVERT_PROJECT - +Static variable in class org.apache.jmeter.gui.action.ActionNames +
  +
RevertProject - Class in org.apache.jmeter.gui.action
Handles the Revert Project command.
RevertProject() - +Constructor for class org.apache.jmeter.gui.action.RevertProject +
  +
rexit() - +Method in interface org.apache.jmeter.engine.RemoteJMeterEngine +
  +
rexit() - +Method in class org.apache.jmeter.engine.RemoteJMeterEngineImpl +
  +
RIGHT - +Static variable in class org.apache.jorphan.gui.layout.VerticalLayout +
The horizontal alignment constant that designates right justification. +
rightAlign(StringBuilder, int) - +Static method in class org.apache.jorphan.util.JOrphanUtils +
Right aligns some text in a StringBuilder N.B. modifies the input buffer +
RightAlignRenderer - Class in org.apache.jorphan.gui
Renders items in a JTable right-aligned
RightAlignRenderer() - +Constructor for class org.apache.jorphan.gui.RightAlignRenderer +
  +
rightSide - +Variable in class org.apache.jmeter.visualizers.SamplerResultTab +
request pane content +
RMETHOD - +Variable in class org.apache.jmeter.protocol.http.util.accesslog.TCLogParser +
protected members * +
ROOT_CACERT_CRT_PFX - +Static variable in class org.apache.jorphan.exec.KeyToolUtils +
  +
ROOTDN - +Static variable in class org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler +
  +
ROOTDN - +Static variable in class org.apache.jmeter.protocol.ldap.sampler.LDAPSampler +
  +
rootNode - +Variable in class org.apache.jorphan.gui.AbstractTreeTableModel +
  +
RowDetailDialog - Class in org.apache.jmeter.config.gui
Show detail of a Row
RowDetailDialog() - +Constructor for class org.apache.jmeter.config.gui.RowDetailDialog +
  +
RowDetailDialog(ObjectTableModel, int) - +Constructor for class org.apache.jmeter.config.gui.RowDetailDialog +
  +
rreset() - +Method in interface org.apache.jmeter.engine.RemoteJMeterEngine +
  +
rreset() - +Method in class org.apache.jmeter.engine.RemoteJMeterEngineImpl +
  +
rrunTest() - +Method in interface org.apache.jmeter.engine.RemoteJMeterEngine +
  +
rrunTest() - +Method in class org.apache.jmeter.engine.RemoteJMeterEngineImpl +
  +
rsetProperties(Properties) - +Method in interface org.apache.jmeter.engine.RemoteJMeterEngine +
  +
rsetProperties(Properties) - +Method in class org.apache.jmeter.engine.RemoteJMeterEngineImpl +
  +
rstopTest(boolean) - +Method in interface org.apache.jmeter.engine.RemoteJMeterEngine +
  +
rstopTest(boolean) - +Method in class org.apache.jmeter.engine.RemoteJMeterEngineImpl +
  +
run() - +Method in class org.apache.jmeter.engine.StandardJMeterEngine +
  +
run() - +Method in class org.apache.jmeter.protocol.http.control.HttpMirrorServer +
Listen on the daemon port and handle incoming requests. +
run() - +Method in class org.apache.jmeter.protocol.http.control.HttpMirrorThread +
Main processing method for the HttpMirror object +
run() - +Method in class org.apache.jmeter.protocol.http.proxy.Daemon +
Listen on the daemon port and handle incoming requests. +
run() - +Method in class org.apache.jmeter.protocol.http.proxy.Proxy +
Main processing method for the Proxy object +
run() - +Method in class org.apache.jmeter.protocol.jms.sampler.Receiver +
  +
run() - +Method in class org.apache.jmeter.threads.JMeterThread +
  +
run() - +Method in class org.apache.jmeter.util.BeanShellServer +
  +
run() - +Method in class org.apache.jmeter.visualizers.backend.graphite.GraphiteBackendListenerClient +
  +
run(List<String>) - +Method in class org.apache.jorphan.exec.SystemCommand +
  +
run(List<String>, List<String>) - +Method in class org.apache.jorphan.exec.SystemCommand +
Pipe the output of one command into another +
RunningSample - Class in org.apache.jmeter.visualizers
+ Running sample data container.
RunningSample(String, int) - +Constructor for class org.apache.jmeter.visualizers.RunningSample +
Use this constructor to create the initial instance +
RunningSample(RunningSample) - +Constructor for class org.apache.jmeter.visualizers.RunningSample +
Copy constructor to create a duplicate of existing instance (without the + disadvantages of clone() +
runSafe(Runnable) - +Static method in class org.apache.jmeter.util.JMeterUtils +
Run the runnable in AWT Thread if current thread is not AWT thread + otherwise runs call SwingUtilities.invokeAndWait(Runnable) +
runTest() - +Method in class org.apache.jmeter.engine.ClientJMeterEngine +
  +
runTest() - +Method in interface org.apache.jmeter.engine.JMeterEngine +
  +
runTest() - +Method in class org.apache.jmeter.engine.StandardJMeterEngine +
  +
runTest(JavaSamplerContext) - +Method in interface org.apache.jmeter.protocol.java.sampler.JavaSamplerClient +
Perform a single sample for each iteration. +
runTest(JavaSamplerContext) - +Method in class org.apache.jmeter.protocol.java.test.JavaTest +
Perform a single sample. +
runTest(JavaSamplerContext) - +Method in class org.apache.jmeter.protocol.java.test.SleepTest +
Perform a single sample. +
RunTime - Class in org.apache.jmeter.control
Runtime Controller that runs its children until configured Runtime(s) is exceeded
RunTime() - +Constructor for class org.apache.jmeter.control.RunTime +
  +
RunTimeGui - Class in org.apache.jmeter.control.gui
The user interface for a controller which specifies that its subcomponents + should be executed some number of seconds in a loop.
RunTimeGui() - +Constructor for class org.apache.jmeter.control.gui.RunTimeGui +
Create a new LoopControlPanel as a standalone component. +
RunTimeGui(boolean) - +Constructor for class org.apache.jmeter.control.gui.RunTimeGui +
Create a new LoopControlPanel as either a standalone or an embedded + component. +
+
+

+S

+
+
sample(Entry) - +Method in class org.apache.jmeter.control.TransactionSampler +
One cannot sample the TransactionSampler directly. +
sample(Entry) - +Method in class org.apache.jmeter.examples.sampler.ExampleSampler +
Obtains statistics about the given Entry, and packages the information + into a SampleResult. +
sample(Entry) - +Method in class org.apache.jmeter.examples.testbeans.example1.Example1 +
  +
sample(Entry) - +Method in class org.apache.jmeter.examples.testbeans.example2.Example2 +
  +
sample(Entry) - +Method in class org.apache.jmeter.examples.testbeans.example3.Example3 +
  +
sample(Entry) - +Method in class org.apache.jmeter.protocol.ftp.sampler.FTPSampler +
  +
sample(Entry) - +Method in class org.apache.jmeter.protocol.http.sampler.AccessLogSampler +
sample(Entry e) simply calls sample(). +
sample(URL, String, boolean, int) - +Method in class org.apache.jmeter.protocol.http.sampler.AjpSampler +
  +
sample(URL, String, boolean, int) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPAbstractImpl +
  +
sample(URL, String, boolean, int) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPFileImpl +
  +
sample(URL, String, boolean, int) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPHC3Impl +
Samples the URL passed in and stores the result in + HTTPSampleResult, following redirects and downloading + page resources as appropriate. +
sample(URL, String, boolean, int) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl +
  +
sample(URL, String, boolean, int) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPJavaImpl +
Samples the URL passed in and stores the result in + HTTPSampleResult, following redirects and downloading + page resources as appropriate. +
sample(URL, String, boolean, int) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSampler +
  +
sample(URL, String, boolean, int) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSampler2 +
  +
sample(Entry) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
Do a sampling and return its results. +
sample() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
Perform a sample, and return the results +
sample(URL, String, boolean, int) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
Samples the URL passed in and stores the result in + HTTPSampleResult, following redirects and downloading + page resources as appropriate. +
sample(URL, String, boolean, int) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy +
Samples the URL passed in and stores the result in + HTTPSampleResult, following redirects and downloading + page resources as appropriate. +
sample(URL, String, boolean, int) - +Method in class org.apache.jmeter.protocol.http.sampler.SoapSampler +
  +
sample(URL, String, boolean, int) - +Method in class org.apache.jmeter.protocol.http.sampler.WebServiceSampler +
  +
sample() - +Method in class org.apache.jmeter.protocol.http.sampler.WebServiceSampler +
Sample the URL using Apache SOAP driver. +
SAMPLE - +Variable in class org.apache.jmeter.protocol.http.util.accesslog.StandardGenerator +
  +
sample(Entry) - +Method in class org.apache.jmeter.protocol.java.sampler.BeanShellSampler +
  +
sample(Entry) - +Method in class org.apache.jmeter.protocol.java.sampler.BSFSampler +
  +
sample(Entry) - +Method in class org.apache.jmeter.protocol.java.sampler.JavaSampler +
Performs a test sample. +
sample(Entry) - +Method in class org.apache.jmeter.protocol.java.sampler.JSR223Sampler +
  +
sample(Entry) - +Method in class org.apache.jmeter.protocol.java.sampler.JUnitSampler +
Obtains statistics about the given Entry, and packages the information + into a SampleResult. +
sample(Entry) - +Method in class org.apache.jmeter.protocol.jdbc.sampler.JDBCSampler +
  +
sample(Entry) - +Method in class org.apache.jmeter.protocol.jms.sampler.BaseJMSSampler +
Obtains statistics about the given Entry, and packages the information + into a SampleResult. +
sample() - +Method in class org.apache.jmeter.protocol.jms.sampler.BaseJMSSampler +
  +
sample(Entry) - +Method in class org.apache.jmeter.protocol.jms.sampler.JMSSampler +
Obtains statistics about the given Entry, and packages the information + into a SampleResult. +
sample() - +Method in class org.apache.jmeter.protocol.jms.sampler.PublisherSampler +
The implementation will publish n messages within a for loop. +
sample() - +Method in class org.apache.jmeter.protocol.jms.sampler.SubscriberSampler +
sample method will check which client it should use and call the + appropriate client specific sample method. +
sample(Entry) - +Method in class org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler +
! +
sample(Entry) - +Method in class org.apache.jmeter.protocol.ldap.sampler.LDAPSampler +
  +
sample(Entry) - +Method in class org.apache.jmeter.protocol.mail.sampler.MailReaderSampler +
Obtains statistics about the given Entry, and packages the information + into a SampleResult. +
sample(Entry) - +Method in class org.apache.jmeter.protocol.mongodb.sampler.MongoScriptSampler +
  +
sample(Entry) - +Method in class org.apache.jmeter.protocol.smtp.sampler.SmtpSampler +
Performs the sample, and returns the result +
sample(Entry) - +Method in class org.apache.jmeter.protocol.system.SystemSampler +
Performs a test sample. +
sample(Entry) - +Method in class org.apache.jmeter.protocol.tcp.sampler.TCPSampler +
  +
sample(Entry) - +Method in class org.apache.jmeter.sampler.DebugSampler +
  +
sample(Entry) - +Method in class org.apache.jmeter.sampler.TestAction +
Obtains statistics about the given Entry, and packages the information + into a SampleResult. +
sample(Entry) - +Method in interface org.apache.jmeter.samplers.Sampler +
Obtains statistics about the given Entry, and packages the information + into a SampleResult. +
Sample - Class in org.apache.jmeter.visualizers
 
Sample(String, long, long, long, long, long, double, long, boolean, long, long) - +Constructor for class org.apache.jmeter.visualizers.Sample +
  +
Sample(String, long, long, long, long, long, double, long, boolean, long, long, int, String) - +Constructor for class org.apache.jmeter.visualizers.Sample +
  +
Sample() - +Constructor for class org.apache.jmeter.visualizers.Sample +
  +
SAMPLE_EVENT_OBJECT - +Static variable in class org.apache.jmeter.save.SaveService +
  +
SAMPLE_VARIABLES - +Static variable in class org.apache.jmeter.samplers.SampleEvent +
The property "sample_variables" is used to define additional variables to be saved +
sampleEnd() - +Method in class org.apache.jmeter.samplers.SampleResult +
Record the end time of a sample and calculate the elapsed time +
SampleEvent - Class in org.apache.jmeter.samplers
Packages information regarding the target of a sample event, such as the + result from that event and the thread group it ran in.
SampleEvent() - +Constructor for class org.apache.jmeter.samplers.SampleEvent +
Constructor used for Unit tests only. +
SampleEvent(SampleResult, String) - +Constructor for class org.apache.jmeter.samplers.SampleEvent +
Creates SampleEvent without saving any variables. +
SampleEvent(SampleResult, String, JMeterVariables) - +Constructor for class org.apache.jmeter.samplers.SampleEvent +
Constructor used for normal samples, saves variable values if any are + defined. +
SampleEvent(SampleResult, String, String) - +Constructor for class org.apache.jmeter.samplers.SampleEvent +
Only intended for use when loading results from a file. +
SampleEvent(SampleResult, String, JMeterVariables, boolean) - +Constructor for class org.apache.jmeter.samplers.SampleEvent +
  +
SampleEventConverter - Class in org.apache.jmeter.save.converters
XStream Converter for the SampleResult class
SampleEventConverter() - +Constructor for class org.apache.jmeter.save.converters.SampleEventConverter +
  +
SampleListener - Interface in org.apache.jmeter.samplers
Allows notification on events occurring during the sampling process.
sampleOccurred(SampleEvent) - +Method in class org.apache.jmeter.control.TransactionController +
  +
sampleOccurred(SampleEvent) - +Method in class org.apache.jmeter.reporters.MailerResultCollector +
When a test result is received, display it and save it. +
sampleOccurred(SampleEvent) - +Method in class org.apache.jmeter.reporters.ResultAction +
Examine the sample(s) and take appropriate action +
sampleOccurred(SampleEvent) - +Method in class org.apache.jmeter.reporters.ResultCollector +
When a test result is received, display it and save it. +
sampleOccurred(SampleEvent) - +Method in class org.apache.jmeter.reporters.ResultSaver +
Saves the sample result (and any sub results) in files +
sampleOccurred(SampleEvent) - +Method in class org.apache.jmeter.reporters.Summariser +
Accumulates the sample in two SampleResult objects - one for running + totals, and the other for deltas. +
sampleOccurred(SampleEvent) - +Method in class org.apache.jmeter.samplers.AsynchSampleSender +
  +
sampleOccurred(SampleEvent) - +Method in class org.apache.jmeter.samplers.BatchSampleSender +
Stores sample events untill either a time or sample threshold is + breached. +
sampleOccurred(SampleEvent) - +Method in class org.apache.jmeter.samplers.DataStrippingSampleSender +
  +
sampleOccurred(SampleEvent) - +Method in class org.apache.jmeter.samplers.DiskStoreSampleSender +
  +
sampleOccurred(SampleEvent) - +Method in class org.apache.jmeter.samplers.HoldSampleSender +
  +
sampleOccurred(SampleEvent) - +Method in class org.apache.jmeter.samplers.RemoteListenerWrapper +
  +
sampleOccurred(SampleEvent) - +Method in interface org.apache.jmeter.samplers.RemoteSampleListener +
A sample has started and stopped. +
sampleOccurred(SampleEvent) - +Method in class org.apache.jmeter.samplers.RemoteSampleListenerImpl +
  +
sampleOccurred(SampleEvent) - +Method in class org.apache.jmeter.samplers.RemoteSampleListenerWrapper +
  +
sampleOccurred(SampleEvent) - +Method in interface org.apache.jmeter.samplers.SampleListener +
A sample has started and stopped. +
sampleOccurred(SampleEvent) - +Method in interface org.apache.jmeter.samplers.SampleSender +
A sample occurred. +
sampleOccurred(SampleEvent) - +Method in class org.apache.jmeter.samplers.StandardSampleSender +
  +
sampleOccurred(SampleEvent) - +Method in class org.apache.jmeter.samplers.StatisticalSampleSender +
Stores sample events until either a time or sample threshold is + breached. +
sampleOccurred(SampleEvent) - +Method in class org.apache.jmeter.visualizers.backend.BackendListener +
  +
sampleOccurred(SampleEvent) - +Method in class org.apache.jmeter.visualizers.BeanShellListener +
  +
sampleOccurred(SampleEvent) - +Method in class org.apache.jmeter.visualizers.BSFListener +
  +
sampleOccurred(SampleEvent) - +Method in class org.apache.jmeter.visualizers.JSR223Listener +
  +
SamplePackage - Class in org.apache.jmeter.threads
Packages methods related to sample handling.
SamplePackage(List<ConfigTestElement>, List<SampleListener>, List<Timer>, List<Assertion>, List<PostProcessor>, List<PreProcessor>, List<Controller>) - +Constructor for class org.apache.jmeter.threads.SamplePackage +
  +
samplePause() - +Method in class org.apache.jmeter.samplers.SampleResult +
Pause a sample +
Sampler - Interface in org.apache.jmeter.samplers
Classes which are able to generate information about an entry should + implement this interface.
SamplerCreator - Interface in org.apache.jmeter.protocol.http.proxy
Factory of sampler
SamplerCreatorFactory - Class in org.apache.jmeter.protocol.http.proxy
SamplerCreator factory
SamplerCreatorFactory() - +Constructor for class org.apache.jmeter.protocol.http.proxy.SamplerCreatorFactory +
  +
SampleResult - Class in org.apache.jmeter.samplers
This is a nice packaging for the various information returned from taking a + sample of an entry.
SampleResult() - +Constructor for class org.apache.jmeter.samplers.SampleResult +
  +
SampleResult(SampleResult) - +Constructor for class org.apache.jmeter.samplers.SampleResult +
Copy constructor. +
SampleResult(long, boolean) - +Constructor for class org.apache.jmeter.samplers.SampleResult +
Create a sample with a specific elapsed time but don't allow the times to + be changed later + + (only used by HTTPSampleResult) +
SampleResult(long, long) - +Constructor for class org.apache.jmeter.samplers.SampleResult +
Allow users to create a sample with specific timestamp and elapsed times + for cloning purposes, but don't allow the times to be changed later + + Currently used by OldSaveService, CSVSaveService and + StatisticalSampleResult +
SampleResultConverter - Class in org.apache.jmeter.save.converters
XStream Converter for the SampleResult class
SampleResultConverter(Mapper) - +Constructor for class org.apache.jmeter.save.converters.SampleResultConverter +
  +
sampleResume() - +Method in class org.apache.jmeter.samplers.SampleResult +
Resume a sample +
SamplerMetric - Class in org.apache.jmeter.visualizers.backend
Sampler metric
SamplerMetric() - +Constructor for class org.apache.jmeter.visualizers.backend.SamplerMetric +
  +
SamplerName - Class in org.apache.jmeter.functions
Function to return the name of the current sampler.
SamplerName() - +Constructor for class org.apache.jmeter.functions.SamplerName +
  +
SamplerResultTab - Class in org.apache.jmeter.visualizers
Right side in View Results Tree
SamplerResultTab() - +Constructor for class org.apache.jmeter.visualizers.SamplerResultTab +
  +
SamplerResultTab.RowResult - Class in org.apache.jmeter.visualizers
For model table
SamplerResultTab.RowResult(String, Object) - +Constructor for class org.apache.jmeter.visualizers.SamplerResultTab.RowResult +
  +
SAMPLERS - +Static variable in class org.apache.jmeter.gui.util.MenuFactory +
  +
SampleSaveConfiguration - Class in org.apache.jmeter.samplers
Holds details of which sample attributes to save.
SampleSaveConfiguration() - +Constructor for class org.apache.jmeter.samplers.SampleSaveConfiguration +
  +
SampleSaveConfiguration(boolean) - +Constructor for class org.apache.jmeter.samplers.SampleSaveConfiguration +
Alternate constructor for use by OldSaveService +
SampleSaveConfigurationConverter - Class in org.apache.jmeter.save.converters
 
SampleSaveConfigurationConverter(Mapper) - +Constructor for class org.apache.jmeter.save.converters.SampleSaveConfigurationConverter +
  +
SampleSender - Interface in org.apache.jmeter.samplers
This interface is used to define the methods that need to be intercepted + by the SampleSender wrapper classes processed by the RemoteListenerWrapper.
SampleSenderFactory - Class in org.apache.jmeter.samplers
 
SampleSenderFactory() - +Constructor for class org.apache.jmeter.samplers.SampleSenderFactory +
  +
sampleStart() - +Method in class org.apache.jmeter.samplers.SampleResult +
Record the start time of a sample +
sampleStarted(SampleEvent) - +Method in class org.apache.jmeter.control.TransactionController +
  +
sampleStarted(SampleEvent) - +Method in class org.apache.jmeter.reporters.ResultAction +
A sample has started. +
sampleStarted(SampleEvent) - +Method in class org.apache.jmeter.reporters.ResultCollector +
  +
sampleStarted(SampleEvent) - +Method in class org.apache.jmeter.reporters.ResultSaver +
A sample has started. +
sampleStarted(SampleEvent) - +Method in class org.apache.jmeter.reporters.Summariser +
A sample has started. +
sampleStarted(SampleEvent) - +Method in class org.apache.jmeter.samplers.RemoteListenerWrapper +
  +
sampleStarted(SampleEvent) - +Method in interface org.apache.jmeter.samplers.RemoteSampleListener +
A sample has started. +
sampleStarted(SampleEvent) - +Method in class org.apache.jmeter.samplers.RemoteSampleListenerImpl +
A sample has started. +
sampleStarted(SampleEvent) - +Method in class org.apache.jmeter.samplers.RemoteSampleListenerWrapper +
  +
sampleStarted(SampleEvent) - +Method in interface org.apache.jmeter.samplers.SampleListener +
A sample has started. +
sampleStarted(SampleEvent) - +Method in class org.apache.jmeter.visualizers.backend.BackendListener +
  +
sampleStarted(SampleEvent) - +Method in class org.apache.jmeter.visualizers.BeanShellListener +
  +
sampleStarted(SampleEvent) - +Method in class org.apache.jmeter.visualizers.BSFListener +
  +
sampleStarted(SampleEvent) - +Method in class org.apache.jmeter.visualizers.JSR223Listener +
  +
sampleStopped(SampleEvent) - +Method in class org.apache.jmeter.control.TransactionController +
  +
sampleStopped(SampleEvent) - +Method in class org.apache.jmeter.reporters.ResultAction +
A sample has stopped. +
sampleStopped(SampleEvent) - +Method in class org.apache.jmeter.reporters.ResultCollector +
  +
sampleStopped(SampleEvent) - +Method in class org.apache.jmeter.reporters.ResultSaver +
A sample has stopped. +
sampleStopped(SampleEvent) - +Method in class org.apache.jmeter.reporters.Summariser +
A sample has stopped. +
sampleStopped(SampleEvent) - +Method in class org.apache.jmeter.samplers.RemoteListenerWrapper +
  +
sampleStopped(SampleEvent) - +Method in interface org.apache.jmeter.samplers.RemoteSampleListener +
A sample has stopped. +
sampleStopped(SampleEvent) - +Method in class org.apache.jmeter.samplers.RemoteSampleListenerImpl +
A sample has stopped. +
sampleStopped(SampleEvent) - +Method in class org.apache.jmeter.samplers.RemoteSampleListenerWrapper +
  +
sampleStopped(SampleEvent) - +Method in interface org.apache.jmeter.samplers.SampleListener +
A sample has stopped. +
sampleStopped(SampleEvent) - +Method in class org.apache.jmeter.visualizers.backend.BackendListener +
  +
sampleStopped(SampleEvent) - +Method in class org.apache.jmeter.visualizers.BeanShellListener +
  +
sampleStopped(SampleEvent) - +Method in class org.apache.jmeter.visualizers.BSFListener +
  +
sampleStopped(SampleEvent) - +Method in class org.apache.jmeter.visualizers.JSR223Listener +
  +
sampleWithParser() - +Method in class org.apache.jmeter.protocol.http.sampler.AccessLogSampler +
sample gets a new HTTPSampler from the generator and calls it's sample() + method. +
SamplingStatCalculator - Class in org.apache.jmeter.visualizers
Aggregate sample data container.
SamplingStatCalculator() - +Constructor for class org.apache.jmeter.visualizers.SamplingStatCalculator +
  +
SamplingStatCalculator(String) - +Constructor for class org.apache.jmeter.visualizers.SamplingStatCalculator +
  +
sanitizeUrl(URL) - +Static method in class org.apache.jmeter.protocol.http.util.ConversionUtils +
Checks a URL and encodes it if necessary, + i.e. if it is not currently correctly encoded. +
SAVE - +Static variable in class org.apache.jmeter.gui.action.ActionNames +
  +
SAVE - +Static variable in class org.apache.jmeter.gui.action.KeyStrokes +
  +
Save - Class in org.apache.jmeter.gui.action
Save the current test plan; implements: + Save + Save TestPlan As + Save (Selection) As
Save() - +Constructor for class org.apache.jmeter.gui.action.Save +
Constructor for the Save object. +
save(String) - +Method in class org.apache.jmeter.protocol.http.control.AuthManager +
Save the authentication data to a file. +
save(String) - +Method in class org.apache.jmeter.protocol.http.control.CookieManager +
Save the static cookie data to a file. +
save(String) - +Method in class org.apache.jmeter.protocol.http.control.HeaderManager +
Save the header data to a file. +
save() - +Method in interface org.apache.jmeter.protocol.http.util.accesslog.Generator +
If the generator is converting the logs to a .jmx file, save should be + called. +
save() - +Method in class org.apache.jmeter.protocol.http.util.accesslog.StandardGenerator +
save must be called to write the jmx file, otherwise it will not be + saved. +
SAVE_ALL_AS - +Static variable in class org.apache.jmeter.gui.action.ActionNames +
  +
SAVE_ALL_AS - +Static variable in class org.apache.jmeter.gui.action.KeyStrokes +
  +
SAVE_ALL_ASSERTIONS - +Static variable in class org.apache.jmeter.samplers.SampleSaveConfiguration +
  +
SAVE_AS - +Static variable in class org.apache.jmeter.gui.action.ActionNames +
  +
SAVE_AS_TEST_FRAGMENT - +Static variable in class org.apache.jmeter.gui.action.ActionNames +
  +
SAVE_BUTTON - +Static variable in class org.apache.jmeter.gui.util.ButtonPanel +
  +
SAVE_FIRST_ASSERTION - +Static variable in class org.apache.jmeter.samplers.SampleSaveConfiguration +
  +
SAVE_GRAPHICS - +Static variable in class org.apache.jmeter.gui.action.ActionNames +
  +
SAVE_GRAPHICS - +Static variable in class org.apache.jmeter.gui.action.KeyStrokes +
  +
SAVE_GRAPHICS_ALL - +Static variable in class org.apache.jmeter.gui.action.ActionNames +
  +
SAVE_GRAPHICS_ALL - +Static variable in class org.apache.jmeter.gui.action.KeyStrokes +
  +
SAVE_NO_ASSERTIONS - +Static variable in class org.apache.jmeter.samplers.SampleSaveConfiguration +
  +
SAVE_RESPONSE - +Static variable in class org.apache.jmeter.protocol.ftp.sampler.FTPSampler +
  +
saveAssertionResultsFailureMessage() - +Method in class org.apache.jmeter.samplers.SampleSaveConfiguration +
  +
saveAssertions() - +Method in class org.apache.jmeter.samplers.SampleSaveConfiguration +
  +
saveAssertions(HierarchicalStreamWriter, MarshallingContext, SampleResult, SampleSaveConfiguration) - +Method in class org.apache.jmeter.save.converters.SampleResultConverter +
Save assertion results from the sample result into the stream +
saveAsXml() - +Method in class org.apache.jmeter.samplers.SampleSaveConfiguration +
  +
saveBytes() - +Method in class org.apache.jmeter.samplers.SampleSaveConfiguration +
  +
saveCode() - +Method in class org.apache.jmeter.samplers.SampleSaveConfiguration +
  +
saveConnectionCookies(HttpMethod, URL, CookieManager) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPHC3Impl +
From the HttpMethod, store all the "set-cookie" key-pair + values in the cookieManager of the UrlConfig. +
saveConnectionCookies(HttpMethod, URL, CookieManager) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSampler2 +
  +
saveConnectTime() - +Method in class org.apache.jmeter.samplers.SampleSaveConfiguration +
  +
saveCSVStats(List<?>, FileWriter) - +Static method in class org.apache.jmeter.save.CSVSaveService +
Method will save aggregate statistics as CSV. +
saveCSVStats(List<?>, FileWriter, String[]) - +Static method in class org.apache.jmeter.save.CSVSaveService +
Method will save aggregate statistics as CSV. +
saveCSVStats(DefaultTableModel, FileWriter) - +Static method in class org.apache.jmeter.save.CSVSaveService +
Method saves aggregate statistics (with header names) as CSV from a table + model. +
saveCSVStats(DefaultTableModel, FileWriter, boolean) - +Static method in class org.apache.jmeter.save.CSVSaveService +
Method saves aggregate statistics as CSV from a table model. +
saveDataType() - +Method in class org.apache.jmeter.samplers.SampleSaveConfiguration +
  +
saveDetails(URLConnection, HTTPSampleResult) - +Method in class org.apache.jmeter.protocol.http.control.CacheManager +
Save the Last-Modified, Etag, and Expires headers if the result is cacheable. +
saveDetails(HttpMethod, HTTPSampleResult) - +Method in class org.apache.jmeter.protocol.http.control.CacheManager +
Save the Last-Modified, Etag, and Expires headers if the result is + cacheable. +
saveDetails(HttpResponse, HTTPSampleResult) - +Method in class org.apache.jmeter.protocol.http.control.CacheManager +
Save the Last-Modified, Etag, and Expires headers if the result is + cacheable. +
saveElement(Object, OutputStream) - +Static method in class org.apache.jmeter.save.SaveService +
  +
saveEncoding() - +Method in class org.apache.jmeter.samplers.SampleSaveConfiguration +
  +
saveFieldNames() - +Method in class org.apache.jmeter.samplers.SampleSaveConfiguration +
  +
saveFileName() - +Method in class org.apache.jmeter.samplers.SampleSaveConfiguration +
  +
SaveGraphics - Class in org.apache.jmeter.gui.action
SaveGraphics action is meant to be a generic reusable Action.
SaveGraphics() - +Constructor for class org.apache.jmeter.gui.action.SaveGraphics +
Constructor for the Save object. +
SaveGraphicsService - Class in org.apache.jmeter.save
Class is responsible for taking a component and saving it as a JPEG, PNG or + TIFF.
SaveGraphicsService() - +Constructor for class org.apache.jmeter.save.SaveGraphicsService +
  +
saveHostname() - +Method in class org.apache.jmeter.samplers.SampleSaveConfiguration +
  +
saveIdleTime() - +Method in class org.apache.jmeter.samplers.SampleSaveConfiguration +
  +
saveJComponent(String, int, JComponent) - +Method in class org.apache.jmeter.save.SaveGraphicsService +
Method will save the JComponent as an image. +
saveLabel() - +Method in class org.apache.jmeter.samplers.SampleSaveConfiguration +
  +
saveLatency() - +Method in class org.apache.jmeter.samplers.SampleSaveConfiguration +
  +
saveMessage() - +Method in class org.apache.jmeter.samplers.SampleSaveConfiguration +
  +
savePNGWithBatik(String, BufferedImage) - +Method in class org.apache.jmeter.save.SaveGraphicsService +
Use Batik to save a PNG of the graph +
SavePropertyDialog - Class in org.apache.jmeter.gui
Generates Configure pop-up dialogue for Listeners from all methods in SampleSaveConfiguration + with the signature "boolean saveXXX()".
SavePropertyDialog() - +Constructor for class org.apache.jmeter.gui.SavePropertyDialog +
  +
SavePropertyDialog(Frame, String, boolean, SampleSaveConfiguration) - +Constructor for class org.apache.jmeter.gui.SavePropertyDialog +
  +
saveRequestHeaders() - +Method in class org.apache.jmeter.samplers.SampleSaveConfiguration +
  +
saveRequestHeaders(HierarchicalStreamWriter, MarshallingContext, SampleResult, SampleSaveConfiguration) - +Method in class org.apache.jmeter.save.converters.SampleResultConverter +
Save request headers from the sample result into the stream +
saveResponseData(SampleResult) - +Method in class org.apache.jmeter.samplers.SampleSaveConfiguration +
  +
saveResponseData() - +Method in class org.apache.jmeter.samplers.SampleSaveConfiguration +
  +
saveResponseData(HierarchicalStreamWriter, MarshallingContext, SampleResult, SampleSaveConfiguration) - +Method in class org.apache.jmeter.save.converters.SampleResultConverter +
Save the response from the sample result into the stream +
saveResponseHeaders() - +Method in class org.apache.jmeter.samplers.SampleSaveConfiguration +
  +
saveResponseHeaders(HierarchicalStreamWriter, MarshallingContext, SampleResult, SampleSaveConfiguration) - +Method in class org.apache.jmeter.save.converters.SampleResultConverter +
Save response headers from sample result into the stream +
saveSampleCount() - +Method in class org.apache.jmeter.samplers.SampleSaveConfiguration +
  +
saveSamplerData(SampleResult) - +Method in class org.apache.jmeter.samplers.SampleSaveConfiguration +
  +
saveSamplerData() - +Method in class org.apache.jmeter.samplers.SampleSaveConfiguration +
  +
saveSamplerData(HierarchicalStreamWriter, MarshallingContext, SampleResult, SampleSaveConfiguration) - +Method in class org.apache.jmeter.save.converters.SampleResultConverter +
Save the data of the sample result to a stream +
saveSampleResult(SampleEvent, Writer) - +Static method in class org.apache.jmeter.save.SaveService +
Save a sampleResult to an XML output file using XStream. +
saveScopeSettings(AbstractScopedTestElement) - +Method in class org.apache.jmeter.gui.AbstractScopedJMeterGuiComponent +
Save the scope settings in the test element. +
SaveService - Class in org.apache.jmeter.save
Handles setting up XStream serialisation.
SaveService() - +Constructor for class org.apache.jmeter.save.SaveService +
  +
saveSpecialProperties(TestElement, HierarchicalStreamWriter) - +Static method in class org.apache.jmeter.save.converters.ConversionHelp +
Save the special properties: + + TestElement.GUI_CLASS + TestElement.TEST_CLASS + TestElement.NAME + TestElement.ENABLED + +
saveSubresults() - +Method in class org.apache.jmeter.samplers.SampleSaveConfiguration +
  +
saveSubResults(HierarchicalStreamWriter, MarshallingContext, SampleResult, SampleSaveConfiguration) - +Method in class org.apache.jmeter.save.converters.SampleResultConverter +
Save sub results from sample result into the stream +
saveSuccess() - +Method in class org.apache.jmeter.samplers.SampleSaveConfiguration +
  +
saveTestElement(TestElement, Writer) - +Static method in class org.apache.jmeter.save.SaveService +
  +
saveThreadCounts() - +Method in class org.apache.jmeter.samplers.SampleSaveConfiguration +
  +
saveThreadName() - +Method in class org.apache.jmeter.samplers.SampleSaveConfiguration +
  +
saveTIFFWithBatik(String, BufferedImage) - +Method in class org.apache.jmeter.save.SaveGraphicsService +
Use Batik to save a TIFF file of the graph +
saveTime() - +Method in class org.apache.jmeter.samplers.SampleSaveConfiguration +
  +
saveTimestamp() - +Method in class org.apache.jmeter.samplers.SampleSaveConfiguration +
  +
saveTree(HashTree, OutputStream) - +Static method in class org.apache.jmeter.save.SaveService +
  +
saveUrl() - +Method in class org.apache.jmeter.samplers.SampleSaveConfiguration +
  +
SBIND - +Static variable in class org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler +
  +
SCHEDULER - +Static variable in class org.apache.jmeter.threads.ThreadGroup +
Whether scheduler is being used +
SCOPE - +Static variable in class org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler +
  +
ScopePanel - Class in org.apache.jmeter.util
Scope panel so users can choose whether + to apply the test element to the parent sample, the child samples or both.
ScopePanel() - +Constructor for class org.apache.jmeter.util.ScopePanel +
  +
ScopePanel(boolean) - +Constructor for class org.apache.jmeter.util.ScopePanel +
  +
ScopePanel(boolean, boolean, boolean) - +Constructor for class org.apache.jmeter.util.ScopePanel +
  +
SCRIPT - +Static variable in class org.apache.jmeter.assertions.BeanShellAssertion +
  +
SCRIPT - +Static variable in class org.apache.jmeter.protocol.java.sampler.BeanShellSampler +
  +
SCRIPT - +Static variable in class org.apache.jmeter.protocol.mongodb.sampler.MongoScriptSampler +
  +
ScriptingBeanInfoSupport - Class in org.apache.jmeter.util
Parent class to define common GUI parameters for BSF and JSR223 test elements
ScriptingBeanInfoSupport(Class<? extends TestBean>, String[]) - +Constructor for class org.apache.jmeter.util.ScriptingBeanInfoSupport +
  +
ScriptingBeanInfoSupport(Class<? extends TestBean>, String[], ResourceBundle) - +Constructor for class org.apache.jmeter.util.ScriptingBeanInfoSupport +
  +
ScriptingTestElement - Class in org.apache.jmeter.util
Common parent class for the BSFTestElement and JSR223TestElement scripting test elements.
ScriptingTestElement() - +Constructor for class org.apache.jmeter.util.ScriptingTestElement +
  +
scriptLanguage - +Variable in class org.apache.jmeter.util.ScriptingTestElement +
  +
ScriptWrapperConverter - Class in org.apache.jmeter.save
Handles XStream conversion of Test Scripts
ScriptWrapperConverter(Mapper) - +Constructor for class org.apache.jmeter.save.ScriptWrapperConverter +
  +
search(List<String>) - +Method in class org.apache.jmeter.gui.action.RawTextSearcher +
Implements the search +
search(List<String>) - +Method in class org.apache.jmeter.gui.action.RegexpSearcher +
Implements the search +
search(List<String>) - +Method in interface org.apache.jmeter.gui.action.Searcher +
Implements the search +
SEARCH - +Static variable in class org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler +
  +
search(Object) - +Method in class org.apache.jorphan.collections.HashTree +
Searches the HashTree structure for the given key. +
SEARCH_RESET - +Static variable in class org.apache.jmeter.gui.action.ActionNames +
  +
SEARCH_TREE - +Static variable in class org.apache.jmeter.gui.action.ActionNames +
  +
SEARCH_TREE - +Static variable in class org.apache.jmeter.gui.action.KeyStrokes +
  +
Searchable - Interface in org.apache.jmeter.gui
Interface for nodes that are searchable.
SEARCHBASE - +Static variable in class org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler +
  +
SEARCHBASE - +Static variable in class org.apache.jmeter.protocol.ldap.sampler.LDAPSampler +
  +
SearchByClass<T> - Class in org.apache.jorphan.collections
Useful for finding all nodes in the tree that represent objects of a + particular type.
SearchByClass(Class<T>) - +Constructor for class org.apache.jorphan.collections.SearchByClass +
Creates an instance of SearchByClass, and sets the Class to be searched + for. +
Searcher - Interface in org.apache.jmeter.gui.action
Search algorithm
SEARCHFILTER - +Static variable in class org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler +
  +
SEARCHFILTER - +Static variable in class org.apache.jmeter.protocol.ldap.sampler.LDAPSampler +
  +
searchTest(String, String) - +Method in class org.apache.jmeter.protocol.ldap.sampler.LdapClient +
Filter the data in the ldap directory for the given search base. +
searchTest(DirContext, String, String, int, long, int, String[], boolean, boolean) - +Static method in class org.apache.jmeter.protocol.ldap.sampler.LdapExtClient +
Filter the data in the ldap directory for the given search base +
searchTextExtension - +Variable in class org.apache.jmeter.visualizers.SamplerResultTab +
  +
SearchTextExtension - Class in org.apache.jmeter.visualizers
 
SearchTextExtension() - +Constructor for class org.apache.jmeter.visualizers.SearchTextExtension +
  +
SearchTreeCommand - Class in org.apache.jmeter.gui.action
Search nodes for a text + TODO Enhance search dialog to select kind of nodes ....
SearchTreeCommand() - +Constructor for class org.apache.jmeter.gui.action.SearchTreeCommand +
  +
SearchTreeDialog - Class in org.apache.jmeter.gui.action
FIXME Why is searchTF not getting focus correctly after having been setVisible(false) once
SearchTreeDialog() - +Constructor for class org.apache.jmeter.gui.action.SearchTreeDialog +
  +
SECURE - +Static variable in class org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler +
  +
SecuritySettingsPanel - Class in org.apache.jmeter.protocol.smtp.sampler.gui
 
SecuritySettingsPanel() - +Constructor for class org.apache.jmeter.protocol.smtp.sampler.gui.SecuritySettingsPanel +
  +
selectNodeList(Document, String) - +Static method in class org.apache.jmeter.util.XPathUtil +
Extract NodeList using expression +
SelectTemplatesDialog - Class in org.apache.jmeter.gui.action
Dialog used for Templates selection
SelectTemplatesDialog() - +Constructor for class org.apache.jmeter.gui.action.SelectTemplatesDialog +
  +
selJComboBoxItem(Properties, JComboBox, Vector<?>, String) - +Static method in class org.apache.jmeter.util.JMeterUtils +
Sets the selection of the JComboBox to the Object 'name' from the list in + namVec. +
SEND_SOAP_ACTION - +Static variable in class org.apache.jmeter.protocol.http.sampler.SoapSampler +
  +
sendAndReceive(Message, int, int, long) - +Method in class org.apache.jmeter.protocol.jms.sampler.FixedQueueExecutor +
Sends and receives a message. +
sendAndReceive(Message, int, int, long) - +Method in interface org.apache.jmeter.protocol.jms.sampler.QueueExecutor +
Sends and receives a message. +
sendAndReceive(Message, int, int, long) - +Method in class org.apache.jmeter.protocol.jms.sampler.TemporaryQueueExecutor +
Sends and receives a message. +
sendEntityData(HttpEntityEnclosingRequestBase) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl +
Creates the entity data to be sent. +
sendMail(String, List<String>, String, String, String) - +Method in class org.apache.jmeter.reporters.MailerModel +
Sends a mail with the given parameters using SMTP. +
sendMail(String, List<String>, String, String, String, String, String, String, MailerModel.MailAuthType, boolean) - +Method in class org.apache.jmeter.reporters.MailerModel +
Sends a mail with the given parameters using SMTP. +
SendMailCommand - Class in org.apache.jmeter.protocol.smtp.sampler.protocol
This class performs all tasks necessary to send a message (build message, + prepare connection, send message).
SendMailCommand() - +Constructor for class org.apache.jmeter.protocol.smtp.sampler.protocol.SendMailCommand +
Standard-Constructor +
sendMetrics() - +Method in class org.apache.jmeter.visualizers.backend.graphite.GraphiteBackendListenerClient +
Send metrics to Graphite +
sendPostData(HttpPost) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl +
  +
sendPostData(URLConnection) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPJavaImpl +
Send POST data from Entry to the open connection. +
sendPostData(URLConnection, HTTPSamplerBase) - +Method in class org.apache.jmeter.protocol.http.sampler.PostWriter +
Send POST data from Entry to the open connection. +
sendTestMail() - +Method in class org.apache.jmeter.reporters.MailerModel +
Send a Test Mail to check configuration +
sendToVisualizer(SampleResult) - +Method in class org.apache.jmeter.reporters.ResultCollector +
  +
sendUrgentData(int) - +Method in class org.apache.jmeter.util.SlowSSLSocket +
  +
SERIES_SELECTION - +Static variable in class org.apache.jmeter.visualizers.RespTimeGraphVisualizer +
  +
SERIES_SELECTION_CASE_SENSITIVE - +Static variable in class org.apache.jmeter.visualizers.RespTimeGraphVisualizer +
  +
SERIES_SELECTION_MATCH_LABEL - +Static variable in class org.apache.jmeter.visualizers.RespTimeGraphVisualizer +
  +
SERIES_SELECTION_REGEXP - +Static variable in class org.apache.jmeter.visualizers.RespTimeGraphVisualizer +
  +
SERVER - +Static variable in class org.apache.jmeter.protocol.ftp.sampler.FTPSampler +
  +
SERVER - +Static variable in class org.apache.jmeter.protocol.smtp.sampler.SmtpSampler +
  +
SERVER - +Static variable in class org.apache.jmeter.protocol.tcp.sampler.TCPSampler +
  +
SERVER_CONNECTION_TIMEOUT - +Static variable in class org.apache.jmeter.protocol.smtp.sampler.SmtpSampler +
  +
SERVER_ERROR_COLOR - +Static variable in class org.apache.jmeter.visualizers.SamplerResultTab +
  +
SERVER_ERROR_COLOR - +Static variable in class org.apache.jmeter.visualizers.ViewResultsFullVisualizer +
  +
SERVER_PORT - +Static variable in class org.apache.jmeter.protocol.smtp.sampler.SmtpSampler +
  +
SERVER_TIMEOUT - +Static variable in class org.apache.jmeter.protocol.smtp.sampler.SmtpSampler +
  +
serverName() - +Method in class org.apache.jmeter.protocol.http.proxy.HttpRequestHdr +
Find the //server.name from an url. +
SERVERNAME - +Static variable in class org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler +
  +
SERVERNAME - +Static variable in class org.apache.jmeter.protocol.ldap.sampler.LDAPSampler +
  +
ServerPanel - Class in org.apache.jmeter.gui
Common server panel implementation for use with HTTP, TCP etc samplers
ServerPanel() - +Constructor for class org.apache.jmeter.gui.ServerPanel +
create the target server panel. +
ServerPanel - Class in org.apache.jmeter.visualizers
The purpose of ServerPanel is to display an unique server and its current + status.
ServerPanel(MonitorModel) - +Constructor for class org.apache.jmeter.visualizers.ServerPanel +
Creates a new server panel for a monitored server +
ServerPanel() - +Constructor for class org.apache.jmeter.visualizers.ServerPanel +
Deprecated. Only for use in unit testing +
serverPort() - +Method in class org.apache.jmeter.protocol.http.proxy.HttpRequestHdr +
Find the :PORT from http://server.ect:PORT/some/file.xxx +
SERVERS - +Static variable in class org.apache.jmeter.protocol.http.control.DNSCacheManager +
  +
SessionFilter - Class in org.apache.jmeter.protocol.http.util.accesslog
Provides Session Filtering for the AccessLog Sampler.
SessionFilter() - +Constructor for class org.apache.jmeter.protocol.http.util.accesslog.SessionFilter +
  +
set(int, String, String, String, String, String, AuthManager.Mechanism) - +Method in class org.apache.jmeter.protocol.http.control.AuthManager +
Update an authentication record. +
set(int, String) - +Method in class org.apache.jmeter.testelement.property.CollectionProperty +
  +
set(int, JMeterProperty) - +Method in class org.apache.jmeter.testelement.property.CollectionProperty +
  +
set(String, Object) - +Method in class org.apache.jmeter.util.BeanShellInterpreter +
  +
set(String, boolean) - +Method in class org.apache.jmeter.util.BeanShellInterpreter +
  +
set(Object, Object) - +Method in class org.apache.jorphan.collections.HashTree +
Sets a key and it's value in the HashTree. +
set(Object, HashTree) - +Method in class org.apache.jorphan.collections.HashTree +
Sets a key into the current tree and assigns it a HashTree as its + subtree. +
set(Object, Object[]) - +Method in class org.apache.jorphan.collections.HashTree +
Sets a key and its values in the HashTree. +
set(Object, Collection<?>) - +Method in class org.apache.jorphan.collections.HashTree +
Sets a key and its values in the HashTree. +
set(Object[], Object[]) - +Method in class org.apache.jorphan.collections.HashTree +
Sets a series of keys into the HashTree. +
set(Object[], Collection<?>) - +Method in class org.apache.jorphan.collections.HashTree +
Sets a series of keys into the HashTree. +
set(Collection<?>, Object[]) - +Method in class org.apache.jorphan.collections.HashTree +
Sets a series of keys into the HashTree. +
set(Collection<?>) - +Method in class org.apache.jorphan.collections.HashTree +
Sets the nodes of the current tree to be the objects of the given + collection. +
set(Collection<?>, Collection<?>) - +Method in class org.apache.jorphan.collections.HashTree +
Sets a series of keys into the HashTree. +
set(Object, Object) - +Method in class org.apache.jorphan.collections.ListedHashTree +
Sets a key and it's value in the HashTree. +
set(Object, HashTree) - +Method in class org.apache.jorphan.collections.ListedHashTree +
Sets a key into the current tree and assigns it a HashTree as its + subtree. +
set(Object, Object[]) - +Method in class org.apache.jorphan.collections.ListedHashTree +
Sets a key and its values in the HashTree. +
set(Object, Collection<?>) - +Method in class org.apache.jorphan.collections.ListedHashTree +
Sets a key and its values in the HashTree. +
setAction(int) - +Method in class org.apache.jmeter.sampler.TestAction +
  +
setActionHandler(ActionListener) - +Method in class org.apache.jmeter.gui.tree.JMeterTreeListener +
Sets the ActionHandler attribute of the JMeterTreeListener object. +
setAllowedMD5Hex(String) - +Method in class org.apache.jmeter.assertions.MD5HexAssertion +
  +
setAllowedSize(String) - +Method in class org.apache.jmeter.assertions.SizeAssertion +
Set the size that shall be asserted. +
setAllowedSize(long) - +Method in class org.apache.jmeter.assertions.SizeAssertion +
Set the size that should be used in the assertion +
setAllThreads(int) - +Method in class org.apache.jmeter.samplers.SampleResult +
  +
setAlwaysEncoded(boolean) - +Method in class org.apache.jmeter.protocol.http.util.HTTPArgument +
  +
setAppendError(boolean) - +Method in class org.apache.jmeter.protocol.java.sampler.JUnitSampler +
Set whether to append errors or not. +
setAppendException(boolean) - +Method in class org.apache.jmeter.protocol.java.sampler.JUnitSampler +
Set whether to append exceptions or not. +
setArgumentName(String) - +Method in class org.apache.jmeter.protocol.http.modifier.URLRewritingModifier +
  +
setArguments(List<Argument>) - +Method in class org.apache.jmeter.config.Arguments +
Set the list of arguments. +
setArguments(Arguments) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
setArguments(Arguments) - +Method in class org.apache.jmeter.protocol.java.config.JavaConfig +
Set all of the arguments for this JavaConfig object. +
setArguments(Arguments) - +Method in class org.apache.jmeter.protocol.java.sampler.JavaSampler +
Set the arguments (parameters) for the JavaSamplerClient to be executed + with. +
setArguments(Arguments) - +Method in class org.apache.jmeter.protocol.jms.sampler.JMSSampler +
  +
setArguments(List<Object>) - +Method in class org.apache.jmeter.protocol.ldap.config.gui.LDAPArguments +
Set the list of arguments. +
setArguments(Arguments) - +Method in class org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler +
Sets the Arguments attribute of the LdapConfig object This will collect + values from the table for user defined test case +
setArguments(Arguments) - +Method in class org.apache.jmeter.protocol.ldap.sampler.LDAPSampler +
Sets the Arguments attribute of the LdapConfig object. +
setArguments(Arguments) - +Method in class org.apache.jmeter.protocol.system.SystemSampler +
Set the arguments (parameters) for the JavaSamplerClient to be executed + with. +
setArguments(Arguments) - +Method in class org.apache.jmeter.visualizers.backend.BackendListener +
Set the arguments (parameters) for the BackendListenerClient to be executed + with. +
setAssertionResultsFailureMessage(boolean) - +Method in class org.apache.jmeter.samplers.SampleSaveConfiguration +
  +
setAssertions(boolean) - +Method in class org.apache.jmeter.protocol.http.proxy.ProxyControl +
  +
setAssertions(boolean) - +Method in class org.apache.jmeter.samplers.SampleSaveConfiguration +
  +
setAssumeSuccess(boolean) - +Method in class org.apache.jmeter.assertions.ResponseAssertion +
  +
setAsText(String) - +Method in class org.apache.jmeter.testbeans.gui.BooleanPropertyEditor +
  +
setAsText(String) - +Method in class org.apache.jmeter.testbeans.gui.FileEditor +
+
setAsText(String) - +Method in class org.apache.jmeter.testbeans.gui.IntegerPropertyEditor +
  +
setAsText(String) - +Method in class org.apache.jmeter.testbeans.gui.LongPropertyEditor +
  +
setAsText(String) - +Method in class org.apache.jmeter.testbeans.gui.PasswordEditor +
  +
setAsText(String) - +Method in class org.apache.jmeter.testbeans.gui.TableEditor +
  +
setAsText(String) - +Method in class org.apache.jmeter.testbeans.gui.TextAreaEditor +
+
setAsXml(boolean) - +Method in class org.apache.jmeter.samplers.SampleSaveConfiguration +
  +
setAttachments(String) - +Method in class org.apache.jmeter.protocol.smtp.sampler.gui.SmtpPanel +
Sets path of file to be attached in e-mail in textfield +
setAttachments(List<File>) - +Method in class org.apache.jmeter.protocol.smtp.sampler.protocol.SendMailCommand +
Adds attachments to current message +
setAttribute(String) - +Method in class org.apache.jmeter.extractor.HtmlExtractor +
  +
setAttributes(HierarchicalStreamWriter, MarshallingContext, SampleResult, SampleSaveConfiguration) - +Method in class org.apache.jmeter.save.converters.SampleResultConverter +
Save attributes of the sample result to the stream +
setAttrs(String) - +Method in class org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler +
Sets the attributes of the LdapConfig object +
setAuthManager(AuthManager) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
setAutocommit(boolean) - +Method in class org.apache.jmeter.protocol.jdbc.config.DataSourceElement +
  +
setAutoConnectRetry(boolean) - +Method in class org.apache.jmeter.protocol.mongodb.config.MongoSourceElement +
  +
setAutoRedirects(boolean) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
setBackColor(Color) - +Method in class org.apache.jmeter.visualizers.BarGraph +
  +
setBackgroundColor(Color) - +Method in class org.apache.jmeter.visualizers.RenderAsCssJQuery +
+
setBackgroundColor(Color) - +Method in class org.apache.jmeter.visualizers.RenderAsRegexp +
+
setBackgroundColor(Color) - +Method in class org.apache.jmeter.visualizers.RenderAsXPath +
+
setBackgroundColor(Color) - +Method in interface org.apache.jmeter.visualizers.ResultRenderer +
  +
setBackgroundColor(Color) - +Method in class org.apache.jmeter.visualizers.SamplerResultTab +
  +
setBase(File) - +Method in class org.apache.jmeter.services.FileServer +
Sets the current base directory for relative file names. +
setBasedir(String) - +Method in class org.apache.jmeter.services.FileServer +
Sets the current base directory for relative file names from the provided path. +
setBasedir(String) - +Method in class org.apache.jmeter.testelement.TestPlan +
  +
setBaseEntryDN(String) - +Method in class org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler +
Sets the Base Entry DN attribute of the LDAPSampler object +
setBaseEntryDN(String) - +Method in class org.apache.jmeter.protocol.ldap.sampler.LDAPSampler +
Sets the Base Entry DN attribute of the LDAPSampler object. +
setBaseForScript(File) - +Method in class org.apache.jmeter.services.FileServer +
Sets the current base directory for relative file names from the provided script file. +
setBody(String) - +Method in class org.apache.jmeter.protocol.smtp.sampler.gui.SmtpPanel +
Sets message body, i.e. main-mime-part of message in textfield +
setBodySize(int) - +Method in class org.apache.jmeter.samplers.SampleResult +
  +
setBottomFixedCount(int) - +Method in class org.apache.jorphan.gui.MenuScroller +
Sets the number of items to fix at the bottom of the menu or popup menu. +
setBufferSize(int) - +Method in class org.apache.jmeter.visualizers.MonitorAccumModel +
  +
setBytes(int) - +Method in class org.apache.jmeter.samplers.SampleResult +
In the event the sampler does want to pass back the actual contents, we + still want to calculate the throughput. +
setBytes(boolean) - +Method in class org.apache.jmeter.samplers.SampleSaveConfiguration +
  +
setBytesReceived(long) - +Method in interface org.apache.jmeter.monitor.model.RequestInfo +
  +
setBytesReceived(long) - +Method in class org.apache.jmeter.monitor.model.RequestInfoImpl +
  +
setBytesSent(long) - +Method in interface org.apache.jmeter.monitor.model.RequestInfo +
  +
setBytesSent(long) - +Method in class org.apache.jmeter.monitor.model.RequestInfoImpl +
  +
setCacheKey(String) - +Method in class org.apache.jmeter.util.JSR223TestElement +
  +
setCacheManager(CacheManager) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
setCalcMode(int) - +Method in class org.apache.jmeter.timers.ConstantThroughputTimer +
  +
setCaptureHttpHeaders(boolean) - +Method in class org.apache.jmeter.protocol.http.proxy.ProxyControl +
  +
setCharset(String) - +Method in class org.apache.jmeter.protocol.tcp.sampler.AbstractTCPClient +
  +
setCheckQuery(String) - +Method in class org.apache.jmeter.protocol.jdbc.config.DataSourceElement +
  +
setCheckReturnCode(boolean) - +Method in class org.apache.jmeter.protocol.system.SystemSampler +
  +
setChkBox(JCheckBox) - +Method in class org.apache.jmeter.visualizers.BarGraph +
  +
setClassname(String) - +Method in class org.apache.jmeter.protocol.java.config.JavaConfig +
Sets the class name attribute of the JavaConfig object. +
setClassname(String) - +Method in class org.apache.jmeter.protocol.java.sampler.JavaSampler +
Sets the Classname attribute of the JavaConfig object +
setClassname(String) - +Method in class org.apache.jmeter.protocol.java.sampler.JUnitSampler +
Sets the Classname attribute of the JavaConfig object +
setClassname(String) - +Method in class org.apache.jmeter.protocol.tcp.sampler.TCPSampler +
  +
setClassname(String) - +Method in class org.apache.jmeter.visualizers.backend.BackendListener +
Sets the Classname of the BackendListenerClient object +
setClearEachIteration(boolean) - +Method in class org.apache.jmeter.protocol.http.control.AuthManager +
  +
setClearEachIteration(boolean) - +Method in class org.apache.jmeter.protocol.http.control.CacheManager +
  +
setClearEachIteration(boolean) - +Method in class org.apache.jmeter.protocol.http.control.CookieManager +
  +
setClearEachIteration(boolean) - +Method in class org.apache.jmeter.protocol.http.control.DNSCacheManager +
Clean DNS cache each iteration +
setClickCountToStart(int) - +Method in class org.apache.jmeter.gui.util.TextAreaTableCellEditor +
Specifies the number of clicks needed to start editing. +
setClientCertAliasVarName(String) - +Method in class org.apache.jmeter.config.KeystoreConfig +
  +
setClientChoice(String) - +Method in class org.apache.jmeter.protocol.jms.sampler.SubscriberSampler +
Set the client choice. +
setClientID(String) - +Method in class org.apache.jmeter.protocol.jms.sampler.SubscriberSampler +
  +
setCloseConnection(String) - +Method in class org.apache.jmeter.protocol.tcp.sampler.TCPSampler +
  +
setCode(boolean) - +Method in class org.apache.jmeter.samplers.SampleSaveConfiguration +
  +
setCollection(Collection<?>) - +Method in class org.apache.jmeter.testelement.property.CollectionProperty +
  +
setColor(Color[]) - +Method in class org.apache.jmeter.visualizers.AxisGraph +
  +
setColor(Color[]) - +Method in class org.apache.jmeter.visualizers.RespTimeGraphChart +
  +
setColumnData(int, List<?>) - +Method in class org.apache.jmeter.gui.util.PowerTableModel +
  +
setColumnData(String, Object) - +Method in class org.apache.jorphan.collections.Data +
Sets the data for every row in the column. +
setColumnData(int, List<?>) - +Method in class org.apache.jorphan.collections.Data +
  +
setColumnValue(String, Object) - +Method in class org.apache.jorphan.collections.Data +
Sets the value in the Data set at the current row, using a column name to + find the column in which to insert the new value. +
setCommand(String) - +Method in class org.apache.jmeter.protocol.system.SystemSampler +
Sets the Command attribute of the JavaConfig object +
setComment(String) - +Method in class org.apache.jmeter.gui.AbstractJMeterGuiComponent +
Provides a default implementation for setting the comment property. +
setComment(String) - +Method in class org.apache.jmeter.testelement.AbstractTestElement +
  +
setComment(String) - +Method in interface org.apache.jmeter.testelement.TestElement +
Associates a comment with this element +
setCompareContent(boolean) - +Method in class org.apache.jmeter.assertions.CompareAssertion +
  +
setCompareTime(long) - +Method in class org.apache.jmeter.assertions.CompareAssertion +
  +
setCompOper(int) - +Method in class org.apache.jmeter.assertions.SizeAssertion +
Set the operator used for the assertion. +
setConcurrentDwn(boolean) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
setConcurrentPool(String) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
setCondition(String) - +Method in class org.apache.jmeter.control.IfController +
Condition Accessor - this is gonna be like ${count} < 10 +
setCondition(String) - +Method in class org.apache.jmeter.control.WhileController +
  +
setConfigChoice(String) - +Method in class org.apache.jmeter.protocol.jms.sampler.PublisherSampler +
set the source of the message +
setConnection(String) - +Method in class org.apache.jmeter.protocol.mongodb.config.MongoSourceElement +
  +
setConnectionAge(String) - +Method in class org.apache.jmeter.protocol.jdbc.config.DataSourceElement +
  +
setConnectionCookie(HttpRequest, URL, CookieManager) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl +
Extracts all the required cookies for that particular URL request and + sets them in the HttpMethod passed in. +
setConnectionFactory(String) - +Method in class org.apache.jmeter.protocol.jms.sampler.BaseJMSSampler +
set the connection factory for +
setConnectionHeaders(HttpRequestBase, URL, HeaderManager, CacheManager) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl +
Extracts all the required non-cookie headers for that particular URL request and + sets them in the HttpMethod passed in +
setConnectionsPerHost(int) - +Method in class org.apache.jmeter.protocol.mongodb.config.MongoSourceElement +
  +
setConnectionTimeout(String) - +Method in class org.apache.jmeter.protocol.smtp.sampler.gui.SmtpPanel +
Sets connection timeout (ms) for SMTP connection +
setConnectionTimeOut(String) - +Method in class org.apache.jmeter.protocol.smtp.sampler.protocol.SendMailCommand +
  +
setConnectorPrefix(String) - +Method in interface org.apache.jmeter.monitor.model.Status +
  +
setConnectorPrefix(String) - +Method in class org.apache.jmeter.monitor.model.StatusImpl +
  +
setConnectTime(long) - +Method in class org.apache.jmeter.samplers.SampleResult +
This is only intended for use by SampleResultConverter! +
setConnectTime(boolean) - +Method in class org.apache.jmeter.samplers.SampleSaveConfiguration +
  +
setConnectTimeout(String) - +Method in class org.apache.jmeter.gui.ServerPanel +
  +
setConnectTimeout(String) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
setConnectTimeout(int) - +Method in class org.apache.jmeter.protocol.mongodb.config.MongoSourceElement +
  +
setConnectTimeout(String) - +Method in class org.apache.jmeter.protocol.tcp.sampler.TCPSampler +
  +
setConnTimeOut(String) - +Method in class org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler +
  +
setConstructorString(String) - +Method in class org.apache.jmeter.protocol.java.sampler.JUnitSampler +
Set the string label used to create an instance of the + test with the string constructor. +
setContent(String) - +Method in class org.apache.jmeter.protocol.jms.sampler.JMSSampler +
  +
setContentEncoding(String) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
Sets the value of the encoding to be used for the content. +
setContentType(String) - +Method in class org.apache.jmeter.samplers.SampleResult +
Stores the content-type string, e.g. +
setContentTypeExclude(String) - +Method in class org.apache.jmeter.protocol.http.proxy.ProxyControl +
  +
setContentTypeInclude(String) - +Method in class org.apache.jmeter.protocol.http.proxy.ProxyControl +
  +
setContext(HttpURLConnection) - +Method in class org.apache.jmeter.util.JsseSSLManager +
Sets the Context attribute of the JsseSSLManager object +
setContext(HttpURLConnection) - +Method in class org.apache.jmeter.util.SSLManager +
  +
setContextProvider(String) - +Method in class org.apache.jmeter.protocol.jms.sampler.JMSSampler +
  +
setContinueForever(boolean) - +Method in class org.apache.jmeter.control.LoopController +
Determines whether the loop will return any samples if it is rerun. +
setContinueOnInsertError(boolean) - +Method in class org.apache.jmeter.protocol.mongodb.config.MongoSourceElement +
  +
setCookieManager(CookieManager) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
setCookiePolicy(String) - +Method in class org.apache.jmeter.protocol.http.control.CookieManager +
  +
setCookies(String) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSampleResult +
  +
setCopiedNodes(JMeterTreeNode[]) - +Static method in class org.apache.jmeter.gui.action.Copy +
  +
setCountlim(String) - +Method in class org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler +
Sets the size limit attribute of the LDAPSampler object +
setCpuLoad(int) - +Method in class org.apache.jmeter.visualizers.MonitorStats +
  +
setCreateOneInstancePerSample(boolean) - +Method in class org.apache.jmeter.protocol.java.sampler.JUnitSampler +
  +
setCurrentElement(TestElement) - +Method in class org.apache.jmeter.control.GenericController +
Empty implementation - does nothing. +
setCurrentElement(TestElement) - +Method in class org.apache.jmeter.control.InterleaveControl +
Empty implementation - does nothing. +
setCurrentPos(int) - +Method in class org.apache.jorphan.collections.Data +
Sets the current pos. +
setCurrentQueryString(String) - +Method in interface org.apache.jmeter.monitor.model.Worker +
  +
setCurrentQueryString(String) - +Method in class org.apache.jmeter.monitor.model.WorkerImpl +
  +
setCurrentSampler(Sampler) - +Method in class org.apache.jmeter.threads.JMeterContext +
  +
setCurrentThreadCount(int) - +Method in interface org.apache.jmeter.monitor.model.ThreadInfo +
  +
setCurrentThreadCount(int) - +Method in class org.apache.jmeter.monitor.model.ThreadInfoImpl +
  +
setCurrentThreadsBusy(int) - +Method in interface org.apache.jmeter.monitor.model.ThreadInfo +
  +
setCurrentThreadsBusy(int) - +Method in class org.apache.jmeter.monitor.model.ThreadInfoImpl +
  +
setCurrentUri(String) - +Method in interface org.apache.jmeter.monitor.model.Worker +
  +
setCurrentUri(String) - +Method in class org.apache.jmeter.monitor.model.WorkerImpl +
  +
setCustomResolver(boolean) - +Method in class org.apache.jmeter.protocol.http.control.DNSCacheManager +
  +
setData(double[][]) - +Method in class org.apache.jmeter.visualizers.AxisGraph +
Expects null array when no data not empty array +
setData(double[][]) - +Method in class org.apache.jmeter.visualizers.LineGraph +
  +
setData(double[][]) - +Method in class org.apache.jmeter.visualizers.RespTimeGraphChart +
  +
setData(String[], String) - +Method in class org.apache.jorphan.collections.Data +
Use this method to set the entire data set. +
setDatabase(String) - +Method in class org.apache.jmeter.protocol.mongodb.sampler.MongoScriptSampler +
  +
setDataEncoding(String) - +Method in class org.apache.jmeter.samplers.SampleResult +
Sets the dataEncoding. +
setDataSource(String) - +Method in class org.apache.jmeter.protocol.jdbc.AbstractJDBCTestElement +
  +
setDataSource(String) - +Method in class org.apache.jmeter.protocol.jdbc.config.DataSourceElement +
  +
setDataType(String) - +Method in class org.apache.jmeter.samplers.SampleResult +
  +
setDataType(boolean) - +Method in class org.apache.jmeter.samplers.SampleSaveConfiguration +
  +
setDate(Date) - +Method in class org.apache.jmeter.gui.util.JDateField +
Set the date to the Date mask control. +
setDbUrl(String) - +Method in class org.apache.jmeter.protocol.jdbc.config.DataSourceElement +
  +
setDecodeParameterValues(boolean) - +Method in class org.apache.jmeter.protocol.http.util.accesslog.TCLogParser +
by default decode is set to true. if the parameters shouldn't be + decoded, call the method with false +
setDefaultDelimiter() - +Method in class org.apache.jmeter.samplers.SampleSaveConfiguration +
  +
setDefaultRequestHeaders(HttpMethod) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPHC3Impl +
Set any default request headers to include +
setDefaultRequestHeaders(HttpRequest) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl +
Set any default request headers to include +
setDefaultTimeStampFormat() - +Method in class org.apache.jmeter.samplers.SampleSaveConfiguration +
  +
setDefaultValue(String) - +Method in class org.apache.jmeter.extractor.HtmlExtractor +
Sets the value of the variable if no matches are found +
setDefaultValue(String) - +Method in class org.apache.jmeter.extractor.RegexExtractor +
Sets the value of the variable if no matches are found +
setDefaultValue(String) - +Method in class org.apache.jmeter.extractor.XPathExtractor +
  +
setDefaultValues() - +Method in class org.apache.jmeter.assertions.gui.XMLConfPanel +
  +
setDefaultValues() - +Method in class org.apache.jmeter.assertions.gui.XPathPanel +
Set default values on this component +
setDelay(long) - +Method in class org.apache.jmeter.threads.ThreadGroup +
Set the startup delay +
setDelay(String) - +Method in class org.apache.jmeter.timers.ConstantTimer +
Set the delay for this timer. +
setDeleteMessages(boolean) - +Method in class org.apache.jmeter.protocol.mail.sampler.MailReaderSampler +
  +
setDelimiter(String) - +Method in class org.apache.jmeter.config.CSVDataSet +
  +
setDelimiter(String) - +Method in class org.apache.jmeter.samplers.SampleSaveConfiguration +
  +
setDeref(String) - +Method in class org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler +
Sets the deref attribute of the LDAPSampler object +
setDescription(String) - +Method in class org.apache.jmeter.config.Argument +
Sets the Description attribute of the Argument. +
setDescription(String) - +Method in class org.apache.jmeter.gui.action.template.Template +
  +
setDescriptor(PropertyDescriptor) - +Method in class org.apache.jmeter.testbeans.gui.TableEditor +
For the table editor, the CLASSNAME attribute must simply be the name of the class of object it will hold + where each row holds one object. +
setDescriptor(PropertyDescriptor) - +Method in interface org.apache.jmeter.testbeans.gui.TestBeanPropertyEditor +
  +
setDestination(String) - +Method in class org.apache.jmeter.protocol.jms.sampler.BaseJMSSampler +
set the destination (topic or queue name) +
setDestinationStatic(boolean) - +Method in class org.apache.jmeter.protocol.jms.sampler.BaseJMSSampler +
if the sampler should use a static destination, call the method with true +
setDirectory(String) - +Method in class org.apache.jmeter.protocol.system.SystemSampler +
Set the working directory to use for system commands +
setDirty(boolean) - +Method in class org.apache.jmeter.gui.GuiPackage +
The dirty property is a flag that indicates whether there are parts of + JMeter's test tree that the user has not saved since last modification. +
setDisplayJMeterProperties(boolean) - +Method in class org.apache.jmeter.extractor.DebugPostProcessor +
  +
setDisplayJMeterProperties(boolean) - +Method in class org.apache.jmeter.sampler.DebugSampler +
  +
setDisplayJMeterVariables(boolean) - +Method in class org.apache.jmeter.extractor.DebugPostProcessor +
  +
setDisplayJMeterVariables(boolean) - +Method in class org.apache.jmeter.sampler.DebugSampler +
  +
setDisplaySamplerProperties(boolean) - +Method in class org.apache.jmeter.extractor.DebugPostProcessor +
  +
setDisplaySystemProperties(boolean) - +Method in class org.apache.jmeter.extractor.DebugPostProcessor +
  +
setDisplaySystemProperties(boolean) - +Method in class org.apache.jmeter.sampler.DebugSampler +
  +
setDNSResolver(DNSCacheManager) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
setDoBrowserCompatibleMultipart(boolean) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
setDoctype(String) - +Method in class org.apache.jmeter.assertions.HTMLAssertion +
Sets the doctype setting +
setDocumentLocator(Locator) - +Method in class org.apache.jmeter.protocol.http.modifier.UserParameterXMLContentHandler +
  +
setDocumentModel(Document) - +Method in class org.apache.jorphan.gui.JLabeledTextArea +
  +
setDomain(String) - +Method in class org.apache.jmeter.protocol.http.control.Authorization +
  +
setDomain(String) - +Method in class org.apache.jmeter.protocol.http.control.Cookie +
set the domain for this object. +
setDomain(String) - +Method in class org.apache.jmeter.protocol.http.sampler.AccessLogSampler +
  +
setDomain(String) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
setDomainSpecified(boolean) - +Method in class org.apache.jmeter.protocol.http.control.Cookie +
  +
setDoMultipartPost(boolean) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
setDone(boolean) - +Method in class org.apache.jmeter.control.GenericController +
  +
setDone(boolean) - +Method in class org.apache.jmeter.control.LoopController +
  +
setDoNotSetUpTearDown(boolean) - +Method in class org.apache.jmeter.protocol.java.sampler.JUnitSampler +
set the setup/teardown option +
setDownloadDTDs(boolean) - +Method in class org.apache.jmeter.assertions.XPathAssertion +
  +
setDownloadDTDs(boolean) - +Method in class org.apache.jmeter.extractor.XPathExtractor +
  +
setDriver(String) - +Method in class org.apache.jmeter.protocol.jdbc.config.DataSourceElement +
  +
setDurableSubscriptionId(String) - +Method in class org.apache.jmeter.protocol.jms.sampler.SubscriberSampler +
  +
setDuration(String) - +Method in class org.apache.jmeter.sampler.TestAction +
  +
setDuration(long) - +Method in class org.apache.jmeter.threads.ThreadGroup +
Set the desired duration of the thread group test run +
setEditable(boolean) - +Method in class org.apache.jorphan.gui.JLabeledChoice +
  +
setEditAddEnabled(boolean) - +Method in class org.apache.jmeter.gui.MainFrame +
Specify whether or not the Edit|Add menu item should be enabled. +
setEditAddEnabled(boolean) - +Method in class org.apache.jmeter.gui.util.JMeterMenuBar +
  +
setEditAddMenu(JMenu) - +Method in class org.apache.jmeter.gui.MainFrame +
Set the menu that should be used for the Edit|Add menu. +
setEditAddMenu(JMenu) - +Method in class org.apache.jmeter.gui.util.JMeterMenuBar +
  +
setEditEnabled(boolean) - +Method in class org.apache.jmeter.gui.MainFrame +
Specify whether or not the Edit menu item should be enabled. +
setEditEnabled(boolean) - +Method in class org.apache.jmeter.gui.util.JMeterMenuBar +
  +
setEditMenu(JPopupMenu) - +Method in class org.apache.jmeter.gui.MainFrame +
Set the menu that should be used for the Edit menu. +
setEditMenu(JPopupMenu) - +Method in class org.apache.jmeter.gui.util.JMeterMenuBar +
  +
setElement(TestElement) - +Method in class org.apache.jmeter.testelement.property.TestElementProperty +
  +
setEmbeddedUrlRE(String) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
setEmlMessage(String) - +Method in class org.apache.jmeter.protocol.smtp.sampler.gui.SmtpPanel +
Set path to eml message to be sent +
setEmlMessage(String) - +Method in class org.apache.jmeter.protocol.smtp.sampler.protocol.SendMailCommand +
Sets eml-message to be sent +
setEnabled(boolean) - +Method in class org.apache.jmeter.gui.AbstractJMeterGuiComponent +
Provides a default implementation for the enabled property. +
setEnabled(boolean) - +Method in interface org.apache.jmeter.gui.JMeterGUIComponent +
Set whether this component is enabled. +
setEnabled(boolean) - +Method in class org.apache.jmeter.gui.tree.JMeterTreeNode +
  +
setEnabled(boolean) - +Method in class org.apache.jmeter.gui.util.JMeterMenuBar +
+
setEnabled(JMenu) - +Static method in class org.apache.jmeter.gui.util.MenuFactory +
  +
setEnabled(boolean) - +Method in class org.apache.jmeter.testelement.AbstractTestElement +
  +
setEnabled(boolean) - +Method in interface org.apache.jmeter.testelement.TestElement +
Set the enabled status of the test element +
setEnabled(boolean) - +Method in class org.apache.jorphan.gui.JLabeledTextArea +
+
setEnabled(boolean) - +Method in class org.apache.jorphan.gui.JLabeledTextField +
+
setEnabledCipherSuites(String[]) - +Method in class org.apache.jmeter.util.SlowSSLSocket +
  +
setEnableDebug(boolean) - +Method in class org.apache.jmeter.protocol.smtp.sampler.gui.SmtpPanel +
  +
setEnableDebug(boolean) - +Method in class org.apache.jmeter.protocol.smtp.sampler.protocol.SendMailCommand +
  +
setEnabledProtocols(String[]) - +Method in class org.apache.jmeter.util.SlowSSLSocket +
  +
setEnableSessionCreation(boolean) - +Method in class org.apache.jmeter.util.SlowSSLSocket +
  +
setEncode(boolean) - +Method in class org.apache.jmeter.protocol.http.modifier.URLRewritingModifier +
  +
setEncoding(boolean) - +Method in class org.apache.jmeter.samplers.SampleSaveConfiguration +
  +
setEncoding(String) - +Method in class org.apache.jorphan.io.TextFile +
  +
setEncodingAndType(String) - +Method in class org.apache.jmeter.samplers.SampleResult +
Extract and save the DataEncoding and DataType from the parameter provided. +
setEnd(long) - +Method in class org.apache.jmeter.modifiers.CounterConfig +
  +
setEnd(String) - +Method in class org.apache.jmeter.modifiers.CounterConfig +
  +
setEndIndex(String) - +Method in class org.apache.jmeter.config.KeystoreConfig +
  +
setEndIndex(String) - +Method in class org.apache.jmeter.control.ForeachController +
  +
setEndTime(long) - +Method in class org.apache.jmeter.samplers.SampleResult +
  +
setEndTime(long) - +Method in class org.apache.jmeter.threads.JMeterThread +
Set the EndTime for this Thread. +
setEndTime(long) - +Method in class org.apache.jmeter.threads.ThreadGroup +
Set the EndTime value. +
setEndWindow(Container) - +Method in class org.apache.jmeter.gui.tree.JMeterTreeListener +
Sets the EndWindow attribute of the JMeterTreeListener object. +
setEnforceStartTLS(boolean) - +Method in class org.apache.jmeter.protocol.smtp.sampler.gui.SecuritySettingsPanel +
Enforces StartTLS to secure the SMTP-connection (checkbox) +
setEnforceStartTLS(boolean) - +Method in class org.apache.jmeter.protocol.smtp.sampler.protocol.SendMailCommand +
Instructs object to enforce StartTLS and not to fallback to plain + SMTP-connection - to be called by SmtpSampler-object +
setEngine(StandardJMeterEngine) - +Method in class org.apache.jmeter.threads.JMeterContext +
  +
setEngine(StandardJMeterEngine) - +Method in class org.apache.jmeter.threads.JMeterThread +
Save the engine instance for access to the stop methods +
setEnvironmentVariables(Arguments) - +Method in class org.apache.jmeter.protocol.system.SystemSampler +
  +
setEolByte(int) - +Method in class org.apache.jmeter.protocol.tcp.sampler.AbstractTCPClient +
Set the end-of-line/end-of-message byte. +
setEolByte(int) - +Method in class org.apache.jmeter.protocol.tcp.sampler.LengthPrefixedBinaryTCPClientImpl +
Set the end-of-line/end-of-message byte. +
setEolByte(int) - +Method in interface org.apache.jmeter.protocol.tcp.sampler.TCPClient +
Set the end-of-line/end-of-message byte. +
setEolByte(String) - +Method in class org.apache.jmeter.protocol.tcp.sampler.TCPSampler +
  +
setError(boolean) - +Method in class org.apache.jmeter.assertions.AssertionResult +
Set the flag indicating whether or not an error occurred. +
setError(String) - +Method in class org.apache.jmeter.protocol.java.sampler.JUnitSampler +
provide a descriptive error for the test method. +
setErrorAction(int) - +Method in class org.apache.jmeter.testelement.OnErrorTestElement +
  +
setErrorCode(String) - +Method in class org.apache.jmeter.protocol.java.sampler.JUnitSampler +
Provide an unique error code for when the test + does not pass the assert test. +
setErrorCount(long) - +Method in interface org.apache.jmeter.monitor.model.RequestInfo +
  +
setErrorCount(long) - +Method in class org.apache.jmeter.monitor.model.RequestInfoImpl +
  +
setErrorCount(int) - +Method in class org.apache.jmeter.samplers.SampleResult +
  +
setErrorCount(int) - +Method in class org.apache.jmeter.samplers.StatisticalSampleResult +
  +
setErrorLogging(boolean) - +Method in class org.apache.jmeter.reporters.ResultCollector +
Sets error logging flag +
setErrorsOnly(boolean) - +Method in class org.apache.jmeter.assertions.HTMLAssertion +
Sets if errors should be tracked only +
setErrorThreshold(long) - +Method in class org.apache.jmeter.assertions.HTMLAssertion +
Sets the threshold on error level +
setEvaluateAll(boolean) - +Method in class org.apache.jmeter.control.IfController +
  +
setExcludeList(Collection<String>) - +Method in class org.apache.jmeter.protocol.http.proxy.ProxyControl +
  +
setExcludeListInProxyControl(ProxyControl) - +Method in class org.apache.jmeter.protocol.http.proxy.gui.ProxyControlGui +
  +
setExpectedReturnCode(int) - +Method in class org.apache.jmeter.protocol.system.SystemSampler +
  +
setExpiration(String) - +Method in class org.apache.jmeter.protocol.jms.sampler.JMSSampler +
  +
setExpiration(String) - +Method in class org.apache.jmeter.protocol.jms.sampler.PublisherSampler +
  +
setExpires(long) - +Method in class org.apache.jmeter.protocol.http.control.Cookie +
set the expiry time for the cookie +
setExpression(String) - +Method in class org.apache.jmeter.extractor.HtmlExtractor +
  +
setExtendedFrameTitle(String) - +Method in class org.apache.jmeter.gui.MainFrame +
  +
setExtractor(String) - +Method in class org.apache.jmeter.extractor.HtmlExtractor +
Set the extractor. +
setFailure(boolean) - +Method in class org.apache.jmeter.assertions.AssertionResult +
Set the flag indicating whether or not a failure occurred. +
setFailure(String) - +Method in class org.apache.jmeter.protocol.java.sampler.JUnitSampler +
set the failure message +
setFailureCode(String) - +Method in class org.apache.jmeter.protocol.java.sampler.JUnitSampler +
Provide some unique code to denote a type of failure +
setFailureLimit(String) - +Method in class org.apache.jmeter.reporters.MailerModel +
  +
setFailureMessage(String) - +Method in class org.apache.jmeter.assertions.AssertionResult +
Set the failure message giving more details about a failure or error. +
setFailureSubject(String) - +Method in class org.apache.jmeter.reporters.MailerModel +
  +
setFieldName(String) - +Method in class org.apache.jmeter.protocol.http.modifier.ParamMask +
  +
setFieldNames(boolean) - +Method in class org.apache.jmeter.samplers.SampleSaveConfiguration +
  +
setFile(String) - +Method in class org.apache.jmeter.visualizers.gui.AbstractVisualizer +
Sets the filename which results will be saved to. +
setFileEncoding(String) - +Method in class org.apache.jmeter.config.CSVDataSet +
  +
setFileLoadEnabled(boolean) - +Method in class org.apache.jmeter.gui.MainFrame +
Specify whether or not the File|Load menu item should be enabled. +
setFileLoadEnabled(boolean) - +Method in class org.apache.jmeter.gui.util.JMeterMenuBar +
  +
setFilename(String) - +Method in class org.apache.jmeter.assertions.HTMLAssertion +
Sets the name of the tidy output file +
setFilename(String) - +Method in class org.apache.jmeter.config.CSVDataSet +
  +
setFileName(String) - +Method in class org.apache.jmeter.gui.action.template.Template +
  +
setFilename(String) - +Method in class org.apache.jmeter.gui.util.FilePanelEntry +
Sets the filename attribute of the FilePanel object. +
setFilename(String) - +Method in class org.apache.jmeter.protocol.tcp.sampler.TCPSampler +
  +
setFilename(String) - +Method in class org.apache.jmeter.reporters.ResultCollector +
Sets the filename attribute of the ResultCollector object. +
setFileName(boolean) - +Method in class org.apache.jmeter.samplers.SampleSaveConfiguration +
  +
setFilename(String) - +Method in class org.apache.jmeter.util.BeanShellTestElement +
  +
setFilename(String) - +Method in class org.apache.jmeter.util.ScriptingTestElement +
  +
setFileRevertEnabled(boolean) - +Method in class org.apache.jmeter.gui.MainFrame +
Specify whether or not the File|Revert item should be enabled. +
setFileRevertEnabled(boolean) - +Method in class org.apache.jmeter.gui.util.JMeterMenuBar +
  +
setFiles(String[]) - +Method in class org.apache.jmeter.gui.util.FileListPanel +
  +
setFileSaveEnabled(boolean) - +Method in class org.apache.jmeter.gui.MainFrame +
Specify whether or not the File|Save menu item should be enabled. +
setFileSaveEnabled(boolean) - +Method in class org.apache.jmeter.gui.util.JMeterMenuBar +
  +
setFilter(Filter) - +Method in interface org.apache.jmeter.protocol.http.util.accesslog.LogParser +
We allow for filters, so that users can simply point to an Access log + without having to clean it up. +
setFilter(Filter) - +Method in class org.apache.jmeter.protocol.http.util.accesslog.TCLogParser +
Use the filter to include/exclude files in the access logs. +
setFilterClassName(String) - +Method in class org.apache.jmeter.protocol.http.sampler.AccessLogSampler +
  +
setFilterString(String) - +Method in class org.apache.jmeter.protocol.java.sampler.JUnitSampler +
set the filter string in comma separated format +
setFirst(boolean) - +Method in class org.apache.jmeter.control.GenericController +
If b is true, it means first is reset which means Controller has executed all its children +
setFolder(String) - +Method in class org.apache.jmeter.protocol.mail.sampler.MailReaderSampler +
  +
setFollowRedirects(boolean) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
setForeColor(Color) - +Method in class org.apache.jmeter.visualizers.AxisGraph +
  +
setFormat(String) - +Method in class org.apache.jmeter.modifiers.CounterConfig +
  +
setFormatter(DateFormat) - +Method in class org.apache.jmeter.samplers.SampleSaveConfiguration +
Only intended for use by OldSaveService (and test cases) +
setFragment(boolean) - +Method in class org.apache.jmeter.extractor.XPathExtractor +
Should we return fragment as text, rather than text of fragment? +
setFree(long) - +Method in interface org.apache.jmeter.monitor.model.Memory +
  +
setFree(long) - +Method in class org.apache.jmeter.monitor.model.MemoryImpl +
  +
setFromAddress(String) - +Method in class org.apache.jmeter.reporters.MailerModel +
  +
setFsync(boolean) - +Method in class org.apache.jmeter.protocol.mongodb.config.MongoSourceElement +
  +
setFunctionalMode(boolean) - +Method in class org.apache.jmeter.testelement.TestPlan +
  +
setGroupingMode(int) - +Method in class org.apache.jmeter.protocol.http.proxy.ProxyControl +
  +
setGroupSize(int) - +Method in class org.apache.jmeter.timers.SyncTimer +
  +
setGroupThreads(int) - +Method in class org.apache.jmeter.samplers.SampleResult +
  +
setHeader(String) - +Method in class org.apache.jmeter.protocol.http.util.HTTPFileArg +
Sets the body header for the HTTPFileArg object. +
setHeaderFields(CollectionProperty) - +Method in class org.apache.jmeter.protocol.smtp.sampler.gui.SmtpPanel +
  +
setHeaderFields(CollectionProperty) - +Method in class org.apache.jmeter.protocol.smtp.sampler.protocol.SendMailCommand +
Sets headers for current message +
setHeaderManager(HeaderManager) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
setHeaderOnly(boolean) - +Method in class org.apache.jmeter.protocol.mail.sampler.MailReaderSampler +
  +
setHeaders(URL, HttpMethod) - +Method in class org.apache.jmeter.protocol.http.control.CacheManager +
Check the cache, and if there is a match, set the headers: + + If-Modified-Since + If-None-Match + + Commons HttpClient version +
setHeaders(URL, HttpRequestBase) - +Method in class org.apache.jmeter.protocol.http.control.CacheManager +
Check the cache, and if there is a match, set the headers: + + If-Modified-Since + If-None-Match + + Apache HttpClient version. +
setHeaders(HttpURLConnection, URL) - +Method in class org.apache.jmeter.protocol.http.control.CacheManager +
Check the cache, and if there is a match, set the headers: + + If-Modified-Since + If-None-Match + +
setHeaders(URLConnection, HTTPSamplerBase) - +Method in class org.apache.jmeter.protocol.http.sampler.PostWriter +
  +
setHeaders(URLConnection, HTTPSamplerBase) - +Method in class org.apache.jmeter.protocol.http.sampler.PutWriter +
  +
setHeaders(String[]) - +Method in class org.apache.jorphan.collections.Data +
Sets the headers for the data set. +
setHeadersSize(int) - +Method in class org.apache.jmeter.samplers.SampleResult +
Set the headers size in bytes +
setHealth(boolean) - +Method in class org.apache.jmeter.visualizers.MonitorGraph +
  +
setHealth(int) - +Method in class org.apache.jmeter.visualizers.MonitorStats +
  +
setHeight(int) - +Method in class org.apache.jmeter.visualizers.AxisGraph +
  +
setHeight(int) - +Method in class org.apache.jmeter.visualizers.LineGraph +
  +
setHeight(int) - +Method in class org.apache.jmeter.visualizers.RespTimeGraphChart +
  +
setHost(String) - +Method in interface org.apache.jmeter.protocol.http.util.accesslog.Generator +
The host is the name of the server. +
setHost(String) - +Method in class org.apache.jmeter.protocol.http.util.accesslog.StandardGenerator +
The host is the name of the server. +
setHost(String) - +Method in class org.apache.jmeter.visualizers.backend.graphite.SocketConnectionInfos +
  +
setHost(String) - +Method in class org.apache.jmeter.visualizers.MonitorStats +
  +
setHostname(boolean) - +Method in class org.apache.jmeter.samplers.SampleSaveConfiguration +
  +
setHTML() - +Method in class org.apache.jmeter.assertions.HTMLAssertion +
Enables html validation mode +
setHTTPFileArgs(List<HTTPFileArg>) - +Method in class org.apache.jmeter.protocol.http.util.HTTPFileArgs +
Set the list of files. +
setHTTPFiles(HTTPFileArg[]) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
Saves the list of files. +
setHTTPMethod(String) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSampleResult +
  +
setIcon(String) - +Method in class org.apache.jmeter.testbeans.BeanInfoSupport +
Set the bean's 16x16 colour icon. +
setIdleTime(long) - +Method in class org.apache.jmeter.samplers.SampleResult +
Set idle time pause. +
setIdleTime(boolean) - +Method in class org.apache.jmeter.samplers.SampleSaveConfiguration +
  +
setImageParser(boolean) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
setImageParsing(boolean) - +Method in class org.apache.jmeter.protocol.http.sampler.AccessLogSampler +
  +
setImplementation(String) - +Method in class org.apache.jmeter.protocol.http.control.CookieManager +
  +
setImplementation(String) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
setIncludeList(Collection<String>) - +Method in class org.apache.jmeter.protocol.http.proxy.ProxyControl +
  +
setIncludeListInProxyControl(ProxyControl) - +Method in class org.apache.jmeter.protocol.http.proxy.gui.ProxyControlGui +
  +
setIncludePath(String) - +Method in class org.apache.jmeter.control.IncludeController +
In the event an user wants to include an external JMX test plan + the GUI would call this. +
setIncludeTimers(boolean) - +Method in class org.apache.jmeter.control.TransactionController +
Whether to include timers and pre/post processor time in overall sample. +
setIncludeTimestamp(boolean) - +Method in class org.apache.jmeter.protocol.smtp.sampler.gui.SmtpPanel +
Set timestamp to be included in the message-subject (checkbox) +
setIncrement(long) - +Method in class org.apache.jmeter.modifiers.CounterConfig +
  +
setIncrement(String) - +Method in class org.apache.jmeter.modifiers.CounterConfig +
  +
setIncrement(long) - +Method in class org.apache.jmeter.protocol.http.modifier.ParamMask +
Sets the number by which the parameter value is incremented between + loops. +
setIncrYAxisScale(int) - +Method in class org.apache.jmeter.visualizers.RespTimeGraphChart +
  +
setIndeterminate() - +Method in class org.apache.jmeter.gui.util.TristateCheckBox +
  +
setInitialContext(JMeterContext) - +Method in class org.apache.jmeter.threads.JMeterThread +
  +
setInitialContextFactory(String) - +Method in class org.apache.jmeter.protocol.jms.sampler.JMSSampler +
  +
setInitialDelay(int) - +Method in class org.apache.jmeter.threads.JMeterThread +
Set rampup delay for JMeterThread Thread +
setInitialText(String) - +Method in class org.apache.jmeter.gui.util.JSyntaxTextArea +
Sets initial text resetting undo history +
setInputFile(String) - +Method in class org.apache.jmeter.protocol.jms.sampler.PublisherSampler +
set the input file for the publisher +
setInputVal(String) - +Method in class org.apache.jmeter.control.ForeachController +
  +
setInterval(int) - +Method in class org.apache.jorphan.gui.MenuScroller +
Sets the scroll interval in milliseconds +
setInVersion(String) - +Static method in class org.apache.jmeter.save.converters.ConversionHelp +
  +
setIpSource(String) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
set IP source to use - does not apply to Java HTTP implementation currently +
setIpSourceType(int) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
set IP/address source type to use +
setIsOneway(boolean) - +Method in class org.apache.jmeter.protocol.jms.sampler.JMSSampler +
  +
setIsPerUser(boolean) - +Method in class org.apache.jmeter.modifiers.CounterConfig +
  +
setIssuerDn(String) - +Method in class org.apache.jmeter.assertions.SMIMEAssertionTestElement +
  +
setIterations(String) - +Method in class org.apache.jmeter.protocol.jms.sampler.BaseJMSSampler +
set the number of iterations the sampler should aggregate +
setJMeterHome(String) - +Static method in class org.apache.jmeter.util.JMeterUtils +
  +
setJMSProperties(JMSProperties) - +Method in class org.apache.jmeter.protocol.jms.sampler.JMSSampler +
  +
setJMSProperties(JMSProperties) - +Method in class org.apache.jmeter.protocol.jms.sampler.PublisherSampler +
  +
setJMSSelector(String) - +Method in class org.apache.jmeter.protocol.jms.sampler.JMSSampler +
  +
setJmsSelector(String) - +Method in class org.apache.jmeter.protocol.jms.sampler.SubscriberSampler +
  +
setJNDIIntialContextFactory(String) - +Method in class org.apache.jmeter.protocol.jms.sampler.BaseJMSSampler +
set the initial context factory +
setJNDIProperties(Arguments) - +Method in class org.apache.jmeter.protocol.jms.sampler.JMSSampler +
  +
setJTree(JTree) - +Method in class org.apache.jmeter.gui.tree.JMeterTreeListener +
Sets the JTree attribute of the JMeterTreeListener object. +
setJunit4(boolean) - +Method in class org.apache.jmeter.protocol.java.sampler.JUnitSampler +
Set whether to use JUnit4 style or not. +
setJvm(Jvm) - +Method in interface org.apache.jmeter.monitor.model.Status +
  +
setJvm(Jvm) - +Method in class org.apache.jmeter.monitor.model.StatusImpl +
+
setKeepAlive(boolean) - +Method in class org.apache.jmeter.protocol.jdbc.config.DataSourceElement +
  +
setKeepAlive(boolean) - +Method in class org.apache.jmeter.util.SlowSSLSocket +
  +
setKey(String) - +Method in class org.apache.jmeter.visualizers.SamplerResultTab.RowResult +
  +
setLabel(String) - +Method in class org.apache.jmeter.gui.util.JLabeledRadioI18N +
Set the group label from the resource name. +
setLabel(String) - +Method in interface org.apache.jmeter.protocol.http.util.accesslog.Generator +
This is the label for the request, which is used in the logs and results. +
setLabel(String) - +Method in class org.apache.jmeter.protocol.http.util.accesslog.StandardGenerator +
This is the label for the request, which is used in the logs and results. +
setLabel(boolean) - +Method in class org.apache.jmeter.samplers.SampleSaveConfiguration +
  +
setLabel(String) - +Method in class org.apache.jmeter.visualizers.BarGraph +
  +
setLabel(String) - +Method in class org.apache.jmeter.visualizers.RespTimeGraphLineBean +
  +
setLabel(String) - +Method in class org.apache.jorphan.gui.JLabeledChoice +
Set the text displayed in the label. +
setLabel(String) - +Method in interface org.apache.jorphan.gui.JLabeledField +
  +
setLabel(String) - +Method in class org.apache.jorphan.gui.JLabeledTextArea +
Set the text displayed in the label. +
setLabel(String) - +Method in class org.apache.jorphan.gui.JLabeledTextField +
Set the text displayed in the label. +
setLanguage(String) - +Method in class org.apache.jmeter.gui.util.JSyntaxTextArea +
Sets the language of the text area. +
setLastJFCDirectory(String) - +Static method in class org.apache.jmeter.gui.util.FileDialoger +
  +
setLastSelectedTab(int) - +Method in class org.apache.jmeter.visualizers.RenderAsCssJQuery +
+
setLastSelectedTab(int) - +Method in class org.apache.jmeter.visualizers.RenderAsRegexp +
+
setLastSelectedTab(int) - +Method in class org.apache.jmeter.visualizers.RenderAsXPath +
+
setLastSelectedTab(int) - +Method in interface org.apache.jmeter.visualizers.ResultRenderer +
  +
setLastSelectedTab(int) - +Method in class org.apache.jmeter.visualizers.SamplerResultTab +
  +
setLatency(long) - +Method in class org.apache.jmeter.samplers.SampleResult +
This is only intended for use by SampleResultConverter! +
setLatency(boolean) - +Method in class org.apache.jmeter.samplers.SampleSaveConfiguration +
  +
setLDAPArguments(LDAPArguments) - +Method in class org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler +
Sets the Arguments attribute of the LdapConfig object This will collect + values from the table for user defined test case +
setLegendFont(Font) - +Method in class org.apache.jmeter.visualizers.AxisGraph +
  +
setLegendFont(Font) - +Method in class org.apache.jmeter.visualizers.RespTimeGraphChart +
  +
setLegendLabels(String[]) - +Method in class org.apache.jmeter.visualizers.AxisGraph +
  +
setLegendLabels(String[]) - +Method in class org.apache.jmeter.visualizers.RespTimeGraphChart +
  +
setLegendPlacement(int) - +Method in class org.apache.jmeter.visualizers.AxisGraph +
  +
setLegendPlacement(int) - +Method in class org.apache.jmeter.visualizers.RespTimeGraphChart +
  +
setLine(String[]) - +Method in class org.apache.jorphan.collections.Data +
Sets a row of data using an array of strings as input. +
setLine(String[], String) - +Method in class org.apache.jorphan.collections.Data +
Sets a row of data using an array of strings as input. +
setLineColor(Color) - +Method in class org.apache.jmeter.visualizers.RespTimeGraphLineBean +
  +
setListener(Visualizer) - +Method in class org.apache.jmeter.reporters.AbstractListenerElement +
  +
setListener(GraphListener) - +Method in class org.apache.jmeter.visualizers.SplineModel +
  +
setLoad(boolean) - +Method in class org.apache.jmeter.visualizers.MonitorGraph +
  +
setLoad(int) - +Method in class org.apache.jmeter.visualizers.MonitorStats +
  +
setLocale(Locale) - +Static method in class org.apache.jmeter.util.JMeterUtils +
Changes the current locale: re-reads resource strings and notifies + listeners. +
setLocalTestStarted(boolean) - +Method in class org.apache.jmeter.gui.util.JMeterToolBar +
Change state of buttons on local test +
setLockName(String) - +Method in class org.apache.jmeter.control.CriticalSectionController +
Condition Accessor - this is gonna be any string value +
setLogFile(String) - +Method in class org.apache.jmeter.protocol.http.sampler.AccessLogSampler +
Set the path where XML messages are stored for random selection. +
setLoggerPanel(LoggerPanel) - +Method in class org.apache.jmeter.gui.GuiPackage +
  +
setLoggingLevels(Properties) - +Static method in class org.apache.jorphan.logging.LoggingManager +
Handle LOG_PRIORITY.category=priority and LOG_FILE.category=file_name + properties. +
setLogin(String) - +Method in class org.apache.jmeter.reporters.MailerModel +
  +
setLoops(int) - +Method in class org.apache.jmeter.control.LoopController +
  +
setLoops(String) - +Method in class org.apache.jmeter.control.LoopController +
  +
setLowerBound(long) - +Method in class org.apache.jmeter.protocol.http.modifier.ParamMask +
Sets the lowest possible value that the long portion of + the parameter value may be. +
setMailAuthType(String) - +Method in class org.apache.jmeter.reporters.MailerModel +
  +
setMailBody(String) - +Method in class org.apache.jmeter.protocol.smtp.sampler.protocol.SendMailCommand +
Set the mail body. +
setMailFrom(String) - +Method in class org.apache.jmeter.protocol.smtp.sampler.gui.SmtpPanel +
Sets sender-address of e-mail in textfield +
setMailReplyTo(String) - +Method in class org.apache.jmeter.protocol.smtp.sampler.gui.SmtpPanel +
  +
setMainFrame(MainFrame) - +Method in class org.apache.jmeter.gui.GuiPackage +
Set the main JMeter frame. +
setMainPanel(JComponent) - +Method in class org.apache.jmeter.gui.MainFrame +
  +
setMaintainSession(boolean) - +Method in class org.apache.jmeter.protocol.http.sampler.WebServiceSampler +
Set the maintain session option. +
setMainToolbar(JToolBar) - +Method in class org.apache.jmeter.gui.GuiPackage +
Set the main JMeter toolbar. +
setMap(Map<?, ?>) - +Method in class org.apache.jmeter.testelement.property.MapProperty +
  +
setMarkedBySearch(boolean) - +Method in class org.apache.jmeter.gui.tree.JMeterTreeNode +
Tag Node as result of a search +
setMatchNumber(int) - +Method in class org.apache.jmeter.extractor.HtmlExtractor +
Set which Match to use. +
setMatchNumber(String) - +Method in class org.apache.jmeter.extractor.HtmlExtractor +
  +
setMatchNumber(int) - +Method in class org.apache.jmeter.extractor.RegexExtractor +
Set which Match to use. +
setMatchNumber(String) - +Method in class org.apache.jmeter.extractor.RegexExtractor +
  +
setMax(long) - +Method in interface org.apache.jmeter.monitor.model.Memory +
  +
setMax(long) - +Method in class org.apache.jmeter.monitor.model.MemoryImpl +
  +
setMaxAutoConnectRetryTime(long) - +Method in class org.apache.jmeter.protocol.mongodb.config.MongoSourceElement +
  +
setMaximumValue(String) - +Method in class org.apache.jmeter.config.RandomVariableConfig +
  +
setMaxIterations(int) - +Method in class org.apache.jmeter.visualizers.Spline3 +
  +
setMaxLength(int) - +Method in class org.apache.jmeter.visualizers.AxisGraph +
  +
setMaxPoolSize(String) - +Method in class org.apache.jmeter.protocol.http.control.HttpMirrorControl +
  +
setMaxQueueSize(String) - +Method in class org.apache.jmeter.protocol.http.control.HttpMirrorControl +
  +
setMaxSize(int) - +Method in class org.apache.jmeter.protocol.http.control.CacheManager +
  +
setMaxSpareThreads(int) - +Method in interface org.apache.jmeter.monitor.model.ThreadInfo +
  +
setMaxSpareThreads(int) - +Method in class org.apache.jmeter.monitor.model.ThreadInfoImpl +
  +
setMaxThreads(int) - +Method in interface org.apache.jmeter.monitor.model.ThreadInfo +
  +
setMaxThreads(int) - +Method in class org.apache.jmeter.monitor.model.ThreadInfoImpl +
  +
setMaxThroughput(int) - +Method in class org.apache.jmeter.control.ThroughputController +
  +
setMaxThroughput(String) - +Method in class org.apache.jmeter.control.ThroughputController +
  +
setMaxTime(int) - +Method in interface org.apache.jmeter.monitor.model.RequestInfo +
  +
setMaxTime(int) - +Method in class org.apache.jmeter.monitor.model.RequestInfoImpl +
  +
setMaxWaitTime(int) - +Method in class org.apache.jmeter.protocol.mongodb.config.MongoSourceElement +
  +
setMaxYAxisScale(int) - +Method in class org.apache.jmeter.visualizers.AxisGraph +
  +
setMaxYAxisScale(int) - +Method in class org.apache.jmeter.visualizers.RespTimeGraphChart +
  +
setMD5(boolean) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
setMechanism(AuthManager.Mechanism) - +Method in class org.apache.jmeter.protocol.http.control.Authorization +
  +
setMem(boolean) - +Method in class org.apache.jmeter.visualizers.MonitorGraph +
  +
setMemLoad(int) - +Method in class org.apache.jmeter.visualizers.MonitorStats +
  +
setMemory(Memory) - +Method in interface org.apache.jmeter.monitor.model.Jvm +
  +
setMemory(Memory) - +Method in class org.apache.jmeter.monitor.model.JvmImpl +
+
setMemoryCache(boolean) - +Method in class org.apache.jmeter.protocol.http.sampler.WebServiceSampler +
Set the memory cache. +
setMenuItemLoggerPanel(JCheckBoxMenuItem) - +Method in class org.apache.jmeter.gui.GuiPackage +
Set the menu item LoggerPanel. +
setMenuItemToolbar(JCheckBoxMenuItem) - +Method in class org.apache.jmeter.gui.GuiPackage +
Set the menu item toolbar. +
setMessage(boolean) - +Method in class org.apache.jmeter.samplers.SampleSaveConfiguration +
  +
setMessageChoice(String) - +Method in class org.apache.jmeter.protocol.jms.sampler.PublisherSampler +
set the type of the message +
setMessageSizeStatistic(boolean) - +Method in class org.apache.jmeter.protocol.smtp.sampler.gui.SmtpPanel +
Set message size to be calculated and included in sample result + (checkbox) +
setMetaData(String) - +Method in class org.apache.jmeter.config.Argument +
Sets the Meta Data attribute of the Argument. +
setMetaData(String) - +Method in class org.apache.jmeter.protocol.ldap.config.gui.LDAPArgument +
Sets the Meta Data attribute of the Argument. +
setMethod(String) - +Method in interface org.apache.jmeter.monitor.model.Worker +
  +
setMethod(String) - +Method in class org.apache.jmeter.monitor.model.WorkerImpl +
  +
setMethod(String) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
setMethod(String) - +Method in interface org.apache.jmeter.protocol.http.util.accesslog.Generator +
The method is the HTTP request method. +
setMethod(String) - +Method in class org.apache.jmeter.protocol.http.util.accesslog.StandardGenerator +
The method is the HTTP request method. +
setMethod(String) - +Method in class org.apache.jmeter.protocol.java.sampler.JUnitSampler +
Method should add the JUnit testXXX method to the list at + the end, since the sequence matters. +
setMimeType(String) - +Method in class org.apache.jmeter.protocol.http.util.HTTPFileArg +
Set the mimetype of the File. +
setMinimumValue(String) - +Method in class org.apache.jmeter.config.RandomVariableConfig +
  +
setMinSpareThreads(int) - +Method in interface org.apache.jmeter.monitor.model.ThreadInfo +
  +
setMinSpareThreads(int) - +Method in class org.apache.jmeter.monitor.model.ThreadInfoImpl +
  +
setModel(JMeterTreeModel) - +Method in class org.apache.jmeter.gui.tree.JMeterTreeListener +
Set the JMeterTreeModel for this listener +
setModel(ButtonModel) - +Method in class org.apache.jmeter.gui.util.TristateCheckBox +
  +
setModel(ResultCollector) - +Method in class org.apache.jmeter.visualizers.gui.AbstractVisualizer +
Provides extending classes the opportunity to set the ResultCollector + model for the Visualizer. +
setMonitor(String) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
setMonitor(boolean) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
setMonitor(boolean) - +Method in class org.apache.jmeter.samplers.SampleResult +
When a Sampler is working as a monitor +
setMybool(boolean) - +Method in class org.apache.jmeter.examples.testbeans.example3.Example3 +
  +
setMyBoolean1(Boolean) - +Method in class org.apache.jmeter.examples.testbeans.example3.Example3 +
  +
setMyBoolean2(Boolean) - +Method in class org.apache.jmeter.examples.testbeans.example3.Example3 +
  +
setMyFile1(File) - +Method in class org.apache.jmeter.examples.testbeans.example3.Example3 +
  +
setMyFile2(String) - +Method in class org.apache.jmeter.examples.testbeans.example3.Example3 +
  +
setMyInt(int) - +Method in class org.apache.jmeter.examples.testbeans.example3.Example3 +
  +
setMyInteger1(Integer) - +Method in class org.apache.jmeter.examples.testbeans.example3.Example3 +
  +
setMyInteger2(Integer) - +Method in class org.apache.jmeter.examples.testbeans.example3.Example3 +
  +
setMylong(long) - +Method in class org.apache.jmeter.examples.testbeans.example3.Example3 +
  +
setMyLong1(Long) - +Method in class org.apache.jmeter.examples.testbeans.example3.Example3 +
  +
setMyLong2(Long) - +Method in class org.apache.jmeter.examples.testbeans.example3.Example3 +
  +
setMyString1(String) - +Method in class org.apache.jmeter.examples.testbeans.example3.Example3 +
  +
setMyString2(String) - +Method in class org.apache.jmeter.examples.testbeans.example3.Example3 +
  +
setMyStringProperty(String) - +Method in class org.apache.jmeter.examples.testbeans.example1.Example1 +
  +
setMyStringProperty(String) - +Method in class org.apache.jmeter.examples.testbeans.example2.Example2 +
  +
setName(String) - +Method in class org.apache.jmeter.config.Argument +
Set the name of the Argument. +
setName(String) - +Method in class org.apache.jmeter.engine.util.SimpleVariable +
  +
setName(String) - +Method in class org.apache.jmeter.gui.AbstractJMeterGuiComponent +
Provides a default implementation for setting the name property. +
setName(String) - +Method in class org.apache.jmeter.gui.action.template.Template +
  +
setName(String) - +Method in interface org.apache.jmeter.gui.JMeterGUIComponent +
Sets the name of the JMeter GUI Component. +
setName(String) - +Method in class org.apache.jmeter.gui.NamePanel +
Sets the name of the JMeter GUI Component. +
setName(String) - +Method in class org.apache.jmeter.gui.tree.JMeterTreeNode +
+
setName(String) - +Method in interface org.apache.jmeter.gui.tree.NamedTreeNode +
  +
setName(String) - +Method in interface org.apache.jmeter.monitor.model.Connector +
  +
setName(String) - +Method in class org.apache.jmeter.monitor.model.ConnectorImpl +
  +
setName(String) - +Method in class org.apache.jmeter.protocol.http.control.Header +
Set the name for this object. +
setName(String) - +Method in class org.apache.jmeter.protocol.http.util.accesslog.NVPair +
Set the name +
setName(String) - +Method in class org.apache.jmeter.protocol.http.util.HTTPArgument +
Sets the Name attribute of the Argument object. +
setName(String) - +Method in class org.apache.jmeter.protocol.jms.sampler.JMSProperty +
Set the name of the JmsProperty. +
setName(String) - +Method in class org.apache.jmeter.protocol.ldap.config.gui.LDAPArgument +
Set the name of the Argument. +
setName(String) - +Method in class org.apache.jmeter.testelement.AbstractTestElement +
  +
setName(String) - +Method in class org.apache.jmeter.testelement.property.AbstractProperty +
Set the property name. +
setName(String) - +Method in interface org.apache.jmeter.testelement.property.JMeterProperty +
Set the property name. +
setName(String) - +Method in interface org.apache.jmeter.testelement.TestElement +
  +
setName(String) - +Method in class org.apache.jmeter.visualizers.SplineModel +
  +
setNames(Collection<?>) - +Method in class org.apache.jmeter.modifiers.UserParameters +
The list of names of the variables to hold values. +
setNames(CollectionProperty) - +Method in class org.apache.jmeter.modifiers.UserParameters +
The list of names of the variables to hold values. +
setNamespace(boolean) - +Method in class org.apache.jmeter.assertions.XPathAssertion +
Set whether this is namespace aware +
setNameSpace(boolean) - +Method in class org.apache.jmeter.extractor.XPathExtractor +
  +
setNeedClientAuth(boolean) - +Method in class org.apache.jmeter.util.SlowSSLSocket +
  +
setNegated(boolean) - +Method in class org.apache.jmeter.assertions.gui.XPathPanel +
Set this to true, if you want success when the xpath does not match. +
setNegated(boolean) - +Method in class org.apache.jmeter.assertions.XPathAssertion +
  +
setNonPersistent(boolean) - +Method in class org.apache.jmeter.protocol.jms.sampler.JMSSampler +
  +
setNotifyChildSamplerListenerOfFilteredSamplers(boolean) - +Method in class org.apache.jmeter.protocol.http.proxy.ProxyControl +
  +
setNotSigned(boolean) - +Method in class org.apache.jmeter.assertions.SMIMEAssertionTestElement +
  +
setNumberValue(Number) - +Method in class org.apache.jmeter.testelement.property.DoubleProperty +
Set the value of the property with a Number object. +
setNumberValue(String) - +Method in class org.apache.jmeter.testelement.property.DoubleProperty +
Set the value of the property with a String object. +
setNumberValue(Number) - +Method in class org.apache.jmeter.testelement.property.FloatProperty +
Set the value of the property with a Number object. +
setNumberValue(String) - +Method in class org.apache.jmeter.testelement.property.FloatProperty +
Set the value of the property with a String object. +
setNumberValue(Number) - +Method in class org.apache.jmeter.testelement.property.IntegerProperty +
Set the value of the property with a Number object. +
setNumberValue(String) - +Method in class org.apache.jmeter.testelement.property.IntegerProperty +
Set the value of the property with a String object. +
setNumberValue(Number) - +Method in class org.apache.jmeter.testelement.property.LongProperty +
Set the value of the property with a Number object. +
setNumberValue(String) - +Method in class org.apache.jmeter.testelement.property.LongProperty +
Set the value of the property with a String object. +
setNumberValue(Number) - +Method in class org.apache.jmeter.testelement.property.NumberProperty +
Set the value of the property with a Number object. +
setNumberValue(String) - +Method in class org.apache.jmeter.testelement.property.NumberProperty +
Set the value of the property with a String object. +
setNumMessages(int) - +Method in class org.apache.jmeter.protocol.mail.sampler.MailReaderSampler +
  +
setNumMessages(String) - +Method in class org.apache.jmeter.protocol.mail.sampler.MailReaderSampler +
  +
setNumThreads(int) - +Method in class org.apache.jmeter.threads.AbstractThreadGroup +
Set the total number of threads to start +
setObject(Object) - +Method in class org.apache.jmeter.testbeans.gui.GenericTestBeanCustomizer +
+
setObjectValue(Object) - +Method in class org.apache.jmeter.testelement.property.BooleanProperty +
  +
setObjectValue(Object) - +Method in class org.apache.jmeter.testelement.property.CollectionProperty +
+
setObjectValue(Object) - +Method in class org.apache.jmeter.testelement.property.FunctionProperty +
  +
setObjectValue(Object) - +Method in interface org.apache.jmeter.testelement.property.JMeterProperty +
  +
setObjectValue(Object) - +Method in class org.apache.jmeter.testelement.property.MapProperty +
+
setObjectValue(Object) - +Method in class org.apache.jmeter.testelement.property.NullProperty +
  +
setObjectValue(Object) - +Method in class org.apache.jmeter.testelement.property.NumberProperty +
  +
setObjectValue(Object) - +Method in class org.apache.jmeter.testelement.property.ObjectProperty +
+
setObjectValue(Object) - +Method in class org.apache.jmeter.testelement.property.StringProperty +
+
setObjectValue(Object) - +Method in class org.apache.jmeter.testelement.property.TestElementProperty +
+
setOnErrorStartNextLoop(boolean) - +Method in class org.apache.jmeter.threads.JMeterThread +
Should Thread start next loop on Sampler error? +
setOnErrorStopTest(boolean) - +Method in class org.apache.jmeter.threads.JMeterThread +
Should Test stop on sampler error? +
setOnErrorStopTestNow(boolean) - +Method in class org.apache.jmeter.threads.JMeterThread +
Should Test stop abruptly on sampler error? +
setOnErrorStopThread(boolean) - +Method in class org.apache.jmeter.threads.JMeterThread +
Should Thread stop on Sampler error? +
setOOBInline(boolean) - +Method in class org.apache.jmeter.util.SlowSSLSocket +
  +
setOpcode(String) - +Method in class org.apache.jmeter.protocol.ldap.config.gui.LDAPArgument +
Sets the opcode of the Argument. +
setOutlinesBarFlag(boolean) - +Method in class org.apache.jmeter.visualizers.AxisGraph +
  +
setOutputFormat(String) - +Method in class org.apache.jmeter.config.RandomVariableConfig +
  +
setOutVersion(String) - +Static method in class org.apache.jmeter.save.converters.ConversionHelp +
  +
setParameters(String) - +Method in class org.apache.jmeter.engine.util.CompoundVariable +
  +
setParameters(Collection<CompoundVariable>) - +Method in class org.apache.jmeter.engine.util.CompoundVariable +
A collection of the parameters used to configure your function. +
setParameters(Collection<CompoundVariable>) - +Method in class org.apache.jmeter.functions.AbstractFunction +
Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1) +
setParameters(Collection<CompoundVariable>) - +Method in class org.apache.jmeter.functions.BeanShell +
Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1) +
setParameters(Collection<CompoundVariable>) - +Method in class org.apache.jmeter.functions.CharFunction +
Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1) +
setParameters(Collection<CompoundVariable>) - +Method in class org.apache.jmeter.functions.CSVRead +
Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1) +
setParameters(Collection<CompoundVariable>) - +Method in class org.apache.jmeter.functions.EscapeHtml +
Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1) +
setParameters(Collection<CompoundVariable>) - +Method in class org.apache.jmeter.functions.EscapeOroRegexpChars +
Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1) +
setParameters(Collection<CompoundVariable>) - +Method in class org.apache.jmeter.functions.EvalFunction +
Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1) +
setParameters(Collection<CompoundVariable>) - +Method in class org.apache.jmeter.functions.EvalVarFunction +
Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1) +
setParameters(Collection<CompoundVariable>) - +Method in class org.apache.jmeter.functions.FileToString +
Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1) +
setParameters(Collection<CompoundVariable>) - +Method in interface org.apache.jmeter.functions.Function +
A collection of the parameters used to configure your function. +
setParameters(Collection<CompoundVariable>) - +Method in class org.apache.jmeter.functions.IntSum +
Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1) +
setParameters(Collection<CompoundVariable>) - +Method in class org.apache.jmeter.functions.IterationCounter +
Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1) +
setParameters(Collection<CompoundVariable>) - +Method in class org.apache.jmeter.functions.JavaScript +
Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1) +
setParameters(Collection<CompoundVariable>) - +Method in class org.apache.jmeter.functions.Jexl2Function +
Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1) +
setParameters(Collection<CompoundVariable>) - +Method in class org.apache.jmeter.functions.JexlFunction +
Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1) +
setParameters(Collection<CompoundVariable>) - +Method in class org.apache.jmeter.functions.LogFunction +
Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1) +
setParameters(Collection<CompoundVariable>) - +Method in class org.apache.jmeter.functions.LogFunction2 +
Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1) +
setParameters(Collection<CompoundVariable>) - +Method in class org.apache.jmeter.functions.LongSum +
Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1) +
setParameters(Collection<CompoundVariable>) - +Method in class org.apache.jmeter.functions.Property +
Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1) +
setParameters(Collection<CompoundVariable>) - +Method in class org.apache.jmeter.functions.Property2 +
Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1) +
setParameters(Collection<CompoundVariable>) - +Method in class org.apache.jmeter.functions.Random +
Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1) +
setParameters(Collection<CompoundVariable>) - +Method in class org.apache.jmeter.functions.RandomString +
Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1) +
setParameters(Collection<CompoundVariable>) - +Method in class org.apache.jmeter.functions.RegexFunction +
Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1) +
setParameters(Collection<CompoundVariable>) - +Method in class org.apache.jmeter.functions.SamplerName +
Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1) +
setParameters(Collection<CompoundVariable>) - +Method in class org.apache.jmeter.functions.SetProperty +
Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1) +
setParameters(Collection<CompoundVariable>) - +Method in class org.apache.jmeter.functions.SplitFunction +
Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1) +
setParameters(Collection<CompoundVariable>) - +Method in class org.apache.jmeter.functions.StringFromFile +
Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1) +
setParameters(Collection<CompoundVariable>) - +Method in class org.apache.jmeter.functions.TestPlanName +
Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1) +
setParameters(Collection<CompoundVariable>) - +Method in class org.apache.jmeter.functions.ThreadNumber +
Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1) +
setParameters(Collection<CompoundVariable>) - +Method in class org.apache.jmeter.functions.TimeFunction +
Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1) +
setParameters(Collection<CompoundVariable>) - +Method in class org.apache.jmeter.functions.UnEscape +
Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1) +
setParameters(Collection<CompoundVariable>) - +Method in class org.apache.jmeter.functions.UnEscapeHtml +
Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1) +
setParameters(Collection<CompoundVariable>) - +Method in class org.apache.jmeter.functions.UrlDecode +
Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1) +
setParameters(Collection<CompoundVariable>) - +Method in class org.apache.jmeter.functions.UrlEncode +
Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1) +
setParameters(Collection<CompoundVariable>) - +Method in class org.apache.jmeter.functions.Uuid +
  +
setParameters(Collection<CompoundVariable>) - +Method in class org.apache.jmeter.functions.Variable +
Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1) +
setParameters(Collection<CompoundVariable>) - +Method in class org.apache.jmeter.functions.XPath +
Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1) +
setParameters(String) - +Method in class org.apache.jmeter.util.BeanShellTestElement +
  +
setParameters(String) - +Method in class org.apache.jmeter.util.ScriptingTestElement +
  +
setParamName(String) - +Method in class org.apache.jmeter.protocol.http.util.HTTPFileArg +
Set the http parameter name of the File. +
setParams(NVPair[]) - +Method in interface org.apache.jmeter.protocol.http.util.accesslog.Generator +
Set the request parameters +
setParams(NVPair[]) - +Method in class org.apache.jmeter.protocol.http.util.accesslog.StandardGenerator +
Set the request parameters +
setParent(boolean) - +Method in class org.apache.jmeter.control.TransactionController +
  +
setParent(File) - +Method in class org.apache.jmeter.gui.action.template.Template +
  +
setParent(SampleResult) - +Method in class org.apache.jmeter.samplers.SampleResult +
  +
setParseFlag(String) - +Method in class org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler +
  +
setParserClassName(String) - +Method in class org.apache.jmeter.protocol.http.sampler.AccessLogSampler +
it's kinda obvious, but we state it anyways. +
setPass(String) - +Method in class org.apache.jmeter.protocol.http.control.Authorization +
  +
setPassword(String) - +Method in class org.apache.jmeter.config.LoginConfig +
Sets the Password attribute of the LoginConfig object. +
setPassword(String) - +Method in class org.apache.jmeter.protocol.jdbc.config.DataSourceElement +
  +
setPassword(String) - +Method in class org.apache.jmeter.protocol.jms.sampler.BaseJMSSampler +
Set the password to login to the jms server +
setPassword(String) - +Method in class org.apache.jmeter.protocol.mail.sampler.MailReaderSampler +
  +
setPassword(String) - +Method in class org.apache.jmeter.protocol.mongodb.sampler.MongoScriptSampler +
  +
setPassword(String) - +Method in class org.apache.jmeter.protocol.smtp.sampler.gui.SmtpPanel +
  +
setPassword(String) - +Method in class org.apache.jmeter.protocol.smtp.sampler.protocol.SendMailCommand +
Sets password to authenticate at the mailserver - to be called by + SmtpSampler-object +
setPassword(String) - +Method in class org.apache.jmeter.reporters.MailerModel +
  +
setPath(String) - +Method in class org.apache.jmeter.protocol.http.control.Cookie +
set the path for this object. +
setPath(String) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
Sets the Path attribute of the UrlConfig object Also calls parseArguments + to extract and store any query arguments +
setPath(String, String) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
Sets the PATH property; if the request is a GET or DELETE (and the path + does not start with http[s]://) it also calls HTTPSamplerBase.parseArguments(String, String) + to extract and store any query arguments. +
setPath(String) - +Method in interface org.apache.jmeter.protocol.http.util.accesslog.Generator +
The path is the web page you want to test. +
setPath(String) - +Method in class org.apache.jmeter.protocol.http.util.accesslog.StandardGenerator +
The path is the web page you want to test. +
setPath(String) - +Method in class org.apache.jmeter.protocol.http.util.HTTPFileArg +
Set the path of the File. +
setPathExtension(boolean) - +Method in class org.apache.jmeter.protocol.http.modifier.URLRewritingModifier +
  +
setPathExtensionNoEquals(boolean) - +Method in class org.apache.jmeter.protocol.http.modifier.URLRewritingModifier +
  +
setPathExtensionNoQuestionmark(boolean) - +Method in class org.apache.jmeter.protocol.http.modifier.URLRewritingModifier +
  +
setPathSpecified(boolean) - +Method in class org.apache.jmeter.protocol.http.control.Cookie +
  +
setPercentThroughput(float) - +Method in class org.apache.jmeter.control.ThroughputController +
  +
setPercentThroughput(String) - +Method in class org.apache.jmeter.control.ThroughputController +
  +
setPerIteration(boolean) - +Method in class org.apache.jmeter.modifiers.UserParameters +
  +
setPerThread(boolean) - +Method in class org.apache.jmeter.config.RandomVariableConfig +
  +
setPerThread(boolean) - +Method in class org.apache.jmeter.control.ThroughputController +
  +
setPlainBody(boolean) - +Method in class org.apache.jmeter.protocol.smtp.sampler.gui.SmtpPanel +
Sets the property that defines if the body should be plain (i.e. not multipart/mixed) +
setPlainBody(boolean) - +Method in class org.apache.jmeter.protocol.smtp.sampler.protocol.SendMailCommand +
Set whether to send a plain body (i.e. not multipart/mixed) +
setPointShape(Shape) - +Method in class org.apache.jmeter.visualizers.RespTimeGraphChart +
  +
setPoolMax(String) - +Method in class org.apache.jmeter.protocol.jdbc.config.DataSourceElement +
  +
setPort(String) - +Method in class org.apache.jmeter.gui.ServerPanel +
  +
setPort(String) - +Method in class org.apache.jmeter.protocol.ftp.sampler.FTPSampler +
  +
setPort(int) - +Method in class org.apache.jmeter.protocol.http.control.HttpMirrorControl +
  +
setPort(String) - +Method in class org.apache.jmeter.protocol.http.control.HttpMirrorControl +
  +
setPort(int) - +Method in class org.apache.jmeter.protocol.http.proxy.ProxyControl +
  +
setPort(String) - +Method in class org.apache.jmeter.protocol.http.proxy.ProxyControl +
  +
setPort(int) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
setPort(int) - +Method in interface org.apache.jmeter.protocol.http.util.accesslog.Generator +
The default port for HTTP is 80, but not all servers run on that port. +
setPort(int) - +Method in class org.apache.jmeter.protocol.http.util.accesslog.StandardGenerator +
The default port for HTTP is 80, but not all servers run on that port. +
setPort(String) - +Method in class org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler +
Sets the Port attribute of the ServerConfig object +
setPort(String) - +Method in class org.apache.jmeter.protocol.ldap.sampler.LDAPSampler +
Sets the Port attribute of the ServerConfig object. +
setPort(String) - +Method in class org.apache.jmeter.protocol.mail.sampler.MailReaderSampler +
  +
setPort(String) - +Method in class org.apache.jmeter.protocol.smtp.sampler.gui.SmtpPanel +
Sets port of mail-server +
setPort(String) - +Method in class org.apache.jmeter.protocol.tcp.sampler.TCPSampler +
  +
setPort(int) - +Method in class org.apache.jmeter.visualizers.backend.graphite.SocketConnectionInfos +
  +
setPort(String) - +Method in class org.apache.jmeter.visualizers.MonitorStats +
  +
setPortString(String) - +Method in class org.apache.jmeter.protocol.http.sampler.AccessLogSampler +
  +
setPostBodyRaw(boolean) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
setPostHeaders(URLConnection) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPJavaImpl +
Set request headers in preparation to opening a connection. +
setPostHeaders(PostMethod) - +Method in class org.apache.jmeter.protocol.http.sampler.SoapSampler +
  +
setPrecision(float) - +Method in class org.apache.jmeter.visualizers.Spline3 +
  +
setPrefix(String) - +Method in class org.apache.jmeter.protocol.http.modifier.ParamMask +
Sets the prefix for the long value. +
setPrefix(String) - +Method in class org.apache.jmeter.visualizers.MonitorAccumModel +
  +
setPreload(String) - +Method in class org.apache.jmeter.config.KeystoreConfig +
  +
setPreviousResult(SampleResult) - +Method in class org.apache.jmeter.threads.JMeterContext +
  +
setPriority(String) - +Method in class org.apache.jmeter.protocol.jms.sampler.JMSSampler +
  +
setPriority(String) - +Method in class org.apache.jmeter.protocol.jms.sampler.PublisherSampler +
  +
setPriority(String, String) - +Static method in class org.apache.jorphan.logging.LoggingManager +
Set the logging priority for a category. +
setPriority(Priority, String) - +Static method in class org.apache.jorphan.logging.LoggingManager +
Set the logging priority for a category. +
setPriority(String) - +Static method in class org.apache.jorphan.logging.LoggingManager +
  +
setPriority(Priority) - +Static method in class org.apache.jorphan.logging.LoggingManager +
Set the default logging priority. +
setPriorityFullName(String, String) - +Static method in class org.apache.jorphan.logging.LoggingManager +
Set the logging priority for a category. +
setProcessingTime(int) - +Method in interface org.apache.jmeter.monitor.model.RequestInfo +
  +
setProcessingTime(int) - +Method in class org.apache.jmeter.monitor.model.RequestInfoImpl +
  +
setProjectFileLoaded(String) - +Method in class org.apache.jmeter.gui.MainFrame +
Specify the project file that was just loaded +
setProjectFileLoaded(String) - +Method in class org.apache.jmeter.gui.util.JMeterMenuBar +
  +
setProperties(Properties) - +Method in class org.apache.jmeter.engine.ClientJMeterEngine +
+
setProperties(Properties) - +Method in interface org.apache.jmeter.engine.JMeterEngine +
  +
setProperties(Properties) - +Method in class org.apache.jmeter.engine.StandardJMeterEngine +
  +
setProperties(List<JMSProperty>) - +Method in class org.apache.jmeter.protocol.jms.sampler.JMSProperties +
Set the list of JmsProperties. +
setProperty(JMeterProperty) - +Method in class org.apache.jmeter.config.CSVDataSet +
Override the setProperty method in order to convert + the original String shareMode property. +
SetProperty - Class in org.apache.jmeter.functions
Function to set a JMeter property + + Parameters: - property name - value + + Usage: + + Set the property value in the appropriate GUI by using the string: + ${__setProperty(propname,propvalue[,returnvalue?])}
SetProperty() - +Constructor for class org.apache.jmeter.functions.SetProperty +
  +
setProperty(JMeterProperty) - +Method in class org.apache.jmeter.testelement.AbstractTestElement +
  +
setProperty(String, String) - +Method in class org.apache.jmeter.testelement.AbstractTestElement +
  +
setProperty(String, String, String) - +Method in class org.apache.jmeter.testelement.AbstractTestElement +
Create a String property - but only if it is not the default. +
setProperty(String, boolean) - +Method in class org.apache.jmeter.testelement.AbstractTestElement +
  +
setProperty(String, boolean, boolean) - +Method in class org.apache.jmeter.testelement.AbstractTestElement +
Create a boolean property - but only if it is not the default. +
setProperty(String, int) - +Method in class org.apache.jmeter.testelement.AbstractTestElement +
  +
setProperty(String, int, int) - +Method in class org.apache.jmeter.testelement.AbstractTestElement +
Create an int property - but only if it is not the default. +
setProperty(String, long) - +Method in class org.apache.jmeter.testelement.AbstractTestElement +
  +
setProperty(String, long, long) - +Method in class org.apache.jmeter.testelement.AbstractTestElement +
Create a long property - but only if it is not the default. +
setProperty(String, String) - +Method in interface org.apache.jmeter.testelement.TestElement +
  +
setProperty(String, String, String) - +Method in interface org.apache.jmeter.testelement.TestElement +
  +
setProperty(String, boolean) - +Method in interface org.apache.jmeter.testelement.TestElement +
  +
setProperty(String, boolean, boolean) - +Method in interface org.apache.jmeter.testelement.TestElement +
  +
setProperty(String, int) - +Method in interface org.apache.jmeter.testelement.TestElement +
  +
setProperty(String, int, int) - +Method in interface org.apache.jmeter.testelement.TestElement +
  +
setProperty(String, long) - +Method in interface org.apache.jmeter.testelement.TestElement +
  +
setProperty(String, long, long) - +Method in interface org.apache.jmeter.testelement.TestElement +
  +
setProperty(JMeterProperty) - +Method in interface org.apache.jmeter.testelement.TestElement +
Sets and overwrites a property in the TestElement. +
setProperty(JMeterProperty) - +Method in class org.apache.jmeter.timers.ConstantThroughputTimer +
Override the setProperty method in order to convert + the original String calcMode property. +
setProperty(String, String) - +Static method in class org.apache.jmeter.util.JMeterUtils +
Set a String value +
setPropertyFromTristate(TestElement, String) - +Method in class org.apache.jmeter.gui.util.TristateCheckBox +
Sets a boolean property from a tristate checkbox. +
setProtocol(String) - +Method in interface org.apache.jmeter.monitor.model.Worker +
  +
setProtocol(String) - +Method in class org.apache.jmeter.monitor.model.WorkerImpl +
  +
setProtocol(String) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
setProtocol(String) - +Method in class org.apache.jmeter.visualizers.MonitorStats +
  +
setProvider(Provider) - +Method in class org.apache.jmeter.util.JsseSSLManager +
Sets the Provider attribute of the JsseSSLManager object +
setProvider(Provider) - +Method in class org.apache.jmeter.util.SSLManager +
Default implementation of setting the Provider +
setProviderUrl(String) - +Method in class org.apache.jmeter.protocol.jms.sampler.BaseJMSSampler +
set the provider user for jndi +
setProxyHost(String) - +Method in class org.apache.jmeter.protocol.http.sampler.WebServiceSampler +
Set the proxy hostname +
setProxyPort(String) - +Method in class org.apache.jmeter.protocol.http.sampler.WebServiceSampler +
Set the proxy port +
setQuery(String) - +Method in class org.apache.jmeter.protocol.jdbc.AbstractJDBCTestElement +
  +
setQueryArguments(String) - +Method in class org.apache.jmeter.protocol.jdbc.AbstractJDBCTestElement +
  +
setQueryArgumentsTypes(String) - +Method in class org.apache.jmeter.protocol.jdbc.AbstractJDBCTestElement +
  +
setQueryString(String) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSampleResult +
Save the query string +
setQueryString(String) - +Method in interface org.apache.jmeter.protocol.http.util.accesslog.Generator +
Set the querystring for the request if the method is GET. +
setQueryString(String) - +Method in class org.apache.jmeter.protocol.http.util.accesslog.StandardGenerator +
Set the querystring for the request if the method is GET. +
setQueryTimeout(String) - +Method in class org.apache.jmeter.protocol.jdbc.AbstractJDBCTestElement +
  +
setQueryType(String) - +Method in class org.apache.jmeter.protocol.jdbc.AbstractJDBCTestElement +
  +
setQueueConnectionFactory(String) - +Method in class org.apache.jmeter.protocol.jms.sampler.JMSSampler +
  +
setQueueSize(String) - +Method in class org.apache.jmeter.visualizers.backend.BackendListener +
Sets the queue size +
setQuiet(boolean) - +Method in class org.apache.jmeter.assertions.XPathAssertion +
  +
setQuiet(boolean) - +Method in class org.apache.jmeter.extractor.XPathExtractor +
  +
setQuotedData(boolean) - +Method in class org.apache.jmeter.config.CSVDataSet +
  +
setRampUp(int) - +Method in class org.apache.jmeter.threads.ThreadGroup +
Set the ramp-up value. +
setRandomPath(String) - +Method in class org.apache.jmeter.protocol.jms.sampler.PublisherSampler +
set the random path for the messages +
setRandomSeed(String) - +Method in class org.apache.jmeter.config.RandomVariableConfig +
  +
setRange(double) - +Method in class org.apache.jmeter.timers.ConstantTimer +
Set the range (not used for this timer). +
setRange(double) - +Method in class org.apache.jmeter.timers.RandomTimer +
Set the range value. +
setRange(String) - +Method in class org.apache.jmeter.timers.RandomTimer +
  +
setReadResponse(boolean) - +Method in class org.apache.jmeter.protocol.http.sampler.WebServiceSampler +
Set whether the sampler should read the response or not. +
setReadResponse(String) - +Method in class org.apache.jmeter.protocol.jms.sampler.BaseJMSSampler +
set whether the sampler should read the response or not +
setRealm(String) - +Method in class org.apache.jmeter.protocol.http.control.Authorization +
  +
setReceiveBufferSize(int) - +Method in class org.apache.jmeter.util.SlowSSLSocket +
  +
setReceiveQueue(String) - +Method in class org.apache.jmeter.protocol.jms.sampler.JMSSampler +
  +
setReceiverBCC(String) - +Method in class org.apache.jmeter.protocol.smtp.sampler.gui.SmtpPanel +
Sets receiver in textfield "bcc" +
setReceiverBCC(List<InternetAddress>) - +Method in class org.apache.jmeter.protocol.smtp.sampler.protocol.SendMailCommand +
Sets receivers of current message ("bcc") - to be called by + SmtpSampler-object +
setReceiverCC(String) - +Method in class org.apache.jmeter.protocol.smtp.sampler.gui.SmtpPanel +
Sets receiver in textfield "cc" +
setReceiverCC(List<InternetAddress>) - +Method in class org.apache.jmeter.protocol.smtp.sampler.protocol.SendMailCommand +
Sets receivers of current message ("cc") - to be called by + SmtpSampler-object +
setReceiverTo(String) - +Method in class org.apache.jmeter.protocol.smtp.sampler.gui.SmtpPanel +
Sets receiver in textfield "to" +
setReceiverTo(List<InternetAddress>) - +Method in class org.apache.jmeter.protocol.smtp.sampler.protocol.SendMailCommand +
Sets receivers of current message ("to") - to be called by + SmtpSampler-object +
setRecycle(boolean) - +Method in class org.apache.jmeter.config.CSVDataSet +
  +
setRedirectLocation(String) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSampleResult +
  +
setRefName(String) - +Method in class org.apache.jmeter.extractor.HtmlExtractor +
  +
setRefName(String) - +Method in class org.apache.jmeter.extractor.RegexExtractor +
Set the prefix name of the variable to be used to store the regex matches +
setRefName(String) - +Method in class org.apache.jmeter.extractor.XPathExtractor +
  +
setRegex(String) - +Method in class org.apache.jmeter.assertions.SubstitutionElement +
  +
setRegex(String) - +Method in class org.apache.jmeter.extractor.RegexExtractor +
Set the regex to be used +
setRegexMatch(boolean) - +Method in class org.apache.jmeter.protocol.http.proxy.ProxyControl +
  +
setRegExParamNamesGrNr(String) - +Method in class org.apache.jmeter.protocol.http.modifier.RegExUserParameters +
  +
setRegExParamValuesGrNr(String) - +Method in class org.apache.jmeter.protocol.http.modifier.RegExUserParameters +
  +
setRegExRefName(String) - +Method in class org.apache.jmeter.protocol.http.modifier.RegExUserParameters +
  +
setRemoteAddr(String) - +Method in interface org.apache.jmeter.monitor.model.Worker +
  +
setRemoteAddr(String) - +Method in class org.apache.jmeter.monitor.model.WorkerImpl +
  +
setRemoteTestStarted(boolean) - +Method in class org.apache.jmeter.gui.util.JMeterToolBar +
Change state of buttons on remote test +
setReplaceExtension(String, String) - +Method in interface org.apache.jmeter.protocol.http.util.accesslog.Filter +
  +
setReplaceExtension(String, String) - +Method in class org.apache.jmeter.protocol.http.util.accesslog.LogFilter +
The method will replace the file extension with the new one. +
setReplaceExtension(String, String) - +Method in class org.apache.jmeter.protocol.http.util.accesslog.SessionFilter +
+
setReplyTo(List<InternetAddress>) - +Method in class org.apache.jmeter.protocol.smtp.sampler.protocol.SendMailCommand +
  +
setReportErrors(boolean) - +Method in class org.apache.jmeter.assertions.XPathAssertion +
  +
setReportErrors(boolean) - +Method in class org.apache.jmeter.extractor.XPathExtractor +
  +
setRequestBytesReceived(long) - +Method in interface org.apache.jmeter.monitor.model.Worker +
  +
setRequestBytesReceived(long) - +Method in class org.apache.jmeter.monitor.model.WorkerImpl +
  +
setRequestBytesSent(long) - +Method in interface org.apache.jmeter.monitor.model.Worker +
  +
setRequestBytesSent(long) - +Method in class org.apache.jmeter.monitor.model.WorkerImpl +
  +
setRequestCount(long) - +Method in interface org.apache.jmeter.monitor.model.RequestInfo +
  +
setRequestCount(long) - +Method in class org.apache.jmeter.monitor.model.RequestInfoImpl +
  +
setRequestData(String) - +Method in class org.apache.jmeter.protocol.tcp.sampler.TCPSampler +
  +
setRequestHeaders(String) - +Method in class org.apache.jmeter.samplers.SampleResult +
  +
setRequestHeaders(boolean) - +Method in class org.apache.jmeter.samplers.SampleSaveConfiguration +
  +
setRequestInfo(RequestInfo) - +Method in interface org.apache.jmeter.monitor.model.Connector +
  +
setRequestInfo(RequestInfo) - +Method in class org.apache.jmeter.monitor.model.ConnectorImpl +
  +
setRequestProcessingTime(int) - +Method in interface org.apache.jmeter.monitor.model.Worker +
  +
setRequestProcessingTime(int) - +Method in class org.apache.jmeter.monitor.model.WorkerImpl +
  +
setResetInterpreter(boolean) - +Method in class org.apache.jmeter.util.BeanShellTestElement +
  +
setResetOnThreadGroupIteration(boolean) - +Method in class org.apache.jmeter.modifiers.CounterConfig +
  +
setResponseCode(String) - +Method in class org.apache.jmeter.samplers.SampleResult +
  +
setResponseCodeOK() - +Method in class org.apache.jmeter.samplers.SampleResult +
Set response code to OK, i.e. "200" +
setResponseData(byte[]) - +Method in class org.apache.jmeter.samplers.SampleResult +
Sets the responseData attribute of the SampleResult object. +
setResponseData(String) - +Method in class org.apache.jmeter.samplers.SampleResult +
Deprecated. - only intended for use from BeanShell code +
setResponseData(String, String) - +Method in class org.apache.jmeter.samplers.SampleResult +
Sets the encoding and responseData attributes of the SampleResult object. +
setResponseData(boolean) - +Method in class org.apache.jmeter.samplers.SampleSaveConfiguration +
  +
setResponseHeaders(String) - +Method in class org.apache.jmeter.samplers.SampleResult +
  +
setResponseHeaders(boolean) - +Method in class org.apache.jmeter.samplers.SampleSaveConfiguration +
  +
setResponseMessage(String) - +Method in class org.apache.jmeter.samplers.SampleResult +
  +
setResponseMessageOK() - +Method in class org.apache.jmeter.samplers.SampleResult +
  +
setResponseNoContent() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSampleResult +
  +
setResponseOK() - +Method in class org.apache.jmeter.samplers.SampleResult +
Set result statuses OK - shorthand method to set: + + ResponseCode + ResponseMessage + Successful status + +
setResponseTimeout(String) - +Method in class org.apache.jmeter.gui.ServerPanel +
  +
setResponseTimeout(String) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
setRestartNextLoop(boolean) - +Method in class org.apache.jmeter.threads.JMeterContext +
if set to true a restart of the loop will occurs +
setResultFileName(String) - +Method in class org.apache.jmeter.samplers.SampleResult +
  +
setResultForFailure(String) - +Method in class org.apache.jmeter.assertions.AssertionResult +
Convenience method for setting up failed results +
setResultForNull() - +Method in class org.apache.jmeter.assertions.AssertionResult +
Convenience method for setting up results where the response was null +
setResults(JEditorPane) - +Method in class org.apache.jmeter.visualizers.SearchTextExtension +
  +
setResultSetHandler(String) - +Method in class org.apache.jmeter.protocol.jdbc.AbstractJDBCTestElement +
  +
setResultVariable(String) - +Method in class org.apache.jmeter.protocol.jdbc.AbstractJDBCTestElement +
  +
setRetobj(String) - +Method in class org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler +
Sets the return objects attribute of the LDAPSampler object +
setReturnVal(String) - +Method in class org.apache.jmeter.control.ForeachController +
  +
setReuseAddress(boolean) - +Method in class org.apache.jmeter.util.SlowSSLSocket +
  +
setRightSide(JTabbedPane) - +Method in class org.apache.jmeter.visualizers.RenderAsCssJQuery +
+
setRightSide(JTabbedPane) - +Method in class org.apache.jmeter.visualizers.RenderAsRegexp +
+
setRightSide(JTabbedPane) - +Method in class org.apache.jmeter.visualizers.RenderAsXPath +
+
setRightSide(JTabbedPane) - +Method in interface org.apache.jmeter.visualizers.ResultRenderer +
  +
setRightSide(JTabbedPane) - +Method in class org.apache.jmeter.visualizers.SamplerResultTab +
  +
setRootdn(String) - +Method in class org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler +
Sets the Rootdn attribute of the LDAPSampler object +
setRootdn(String) - +Method in class org.apache.jmeter.protocol.ldap.sampler.LDAPSampler +
Sets the Rootdn attribute of the LDAPSampler object. +
setRows(Iterable<?>) - +Method in class org.apache.jorphan.gui.ObjectTableModel +
  +
setRowValues(int, Object[]) - +Method in class org.apache.jmeter.gui.util.PowerTableModel +
  +
setRunning(boolean, String) - +Method in class org.apache.jmeter.gui.util.JMeterMenuBar +
  +
setRunningVersion(boolean) - +Method in class org.apache.jmeter.protocol.http.control.CookieManager +
Sets the runningVersion. +
setRunningVersion(boolean) - +Method in class org.apache.jmeter.testelement.AbstractTestElement +
Sets the runningVersion. +
setRunningVersion(boolean) - +Method in class org.apache.jmeter.testelement.property.AbstractProperty +
Make the property a running version or turn it off as the running + version. +
setRunningVersion(boolean) - +Method in class org.apache.jmeter.testelement.property.BooleanProperty +
Make the property a running version or turn it off as the running + version. +
setRunningVersion(boolean) - +Method in class org.apache.jmeter.testelement.property.CollectionProperty +
Make the property a running version or turn it off as the running + version. +
setRunningVersion(boolean) - +Method in class org.apache.jmeter.testelement.property.DoubleProperty +
Make the property a running version or turn it off as the running + version. +
setRunningVersion(boolean) - +Method in class org.apache.jmeter.testelement.property.FloatProperty +
Make the property a running version or turn it off as the running + version. +
setRunningVersion(boolean) - +Method in class org.apache.jmeter.testelement.property.IntegerProperty +
Make the property a running version or turn it off as the running + version. +
setRunningVersion(boolean) - +Method in interface org.apache.jmeter.testelement.property.JMeterProperty +
Make the property a running version or turn it off as the running + version. +
setRunningVersion(boolean) - +Method in class org.apache.jmeter.testelement.property.LongProperty +
Make the property a running version or turn it off as the running + version. +
setRunningVersion(boolean) - +Method in class org.apache.jmeter.testelement.property.MapProperty +
Make the property a running version or turn it off as the running + version. +
setRunningVersion(boolean) - +Method in class org.apache.jmeter.testelement.property.MultiProperty +
  +
setRunningVersion(boolean) - +Method in class org.apache.jmeter.testelement.property.ObjectProperty +
Make the property a running version or turn it off as the running + version. +
setRunningVersion(boolean) - +Method in class org.apache.jmeter.testelement.property.StringProperty +
  +
setRunningVersion(boolean) - +Method in class org.apache.jmeter.testelement.property.TestElementProperty +
Make the property a running version or turn it off as the running + version. +
setRunningVersion(boolean) - +Method in interface org.apache.jmeter.testelement.TestElement +
Make the test element the running version, or make it no longer the + running version. +
setRunningVersion(boolean) - +Method in class org.apache.jmeter.threads.SamplePackage +
Make the SamplePackage the running version, or make it no longer the + running version. +
setRuntime(long) - +Method in class org.apache.jmeter.control.RunTime +
  +
setRuntime(String) - +Method in class org.apache.jmeter.control.RunTime +
  +
setSafe(boolean) - +Method in class org.apache.jmeter.protocol.mongodb.config.MongoSourceElement +
  +
setSample(SampleResult) - +Method in class org.apache.jmeter.protocol.http.sampler.MeasuringConnectionManager +
  +
setSampleCount(int) - +Method in class org.apache.jmeter.samplers.SampleResult +
The statistical sample sender aggregates several samples to save on + transmission costs. +
setSampleCount(boolean) - +Method in class org.apache.jmeter.samplers.SampleSaveConfiguration +
  +
setSampleLabel(String) - +Method in class org.apache.jmeter.samplers.SampleResult +
  +
setSampler(Sampler) - +Method in class org.apache.jmeter.threads.SamplePackage +
  +
setSamplerClass(Class<?>) - +Method in class org.apache.jmeter.samplers.Entry +
  +
setSamplerController(LoopController) - +Method in class org.apache.jmeter.threads.AbstractThreadGroup +
Set the sampler controller. +
setSamplerData(String) - +Method in class org.apache.jmeter.samplers.SampleResult +
  +
setSamplerData(boolean) - +Method in class org.apache.jmeter.samplers.SampleSaveConfiguration +
  +
setSamplerDownloadImages(boolean) - +Method in class org.apache.jmeter.protocol.http.proxy.ProxyControl +
  +
setSampleResults(Collection<SampleResult>) - +Method in class org.apache.jmeter.save.ListenerResultWrapper +
  +
setSampleResults(Collection<SampleResult>) - +Method in class org.apache.jmeter.save.TestResultWrapper +
  +
setSamplerFollowRedirects(boolean) - +Method in class org.apache.jmeter.protocol.http.proxy.ProxyControl +
  +
setSamplerLabel(String) - +Method in class org.apache.jmeter.visualizers.RespTimeGraphDataBean +
  +
setSamplerRedirectAutomatically(boolean) - +Method in class org.apache.jmeter.protocol.http.proxy.ProxyControl +
  +
setSamplerResult(Object) - +Method in class org.apache.jmeter.protocol.http.visualizers.RequestViewHTTP +
  +
setSamplerResult(Object) - +Method in class org.apache.jmeter.visualizers.RenderAsCssJQuery +
+
setSamplerResult(Object) - +Method in class org.apache.jmeter.visualizers.RenderAsRegexp +
+
setSamplerResult(Object) - +Method in class org.apache.jmeter.visualizers.RenderAsXPath +
+
setSamplerResult(SampleResult) - +Method in class org.apache.jmeter.visualizers.RequestPanel +
Put SamplerResult in all request view +
setSamplerResult(Object) - +Method in interface org.apache.jmeter.visualizers.RequestView +
Put the result bean to display in panel +
setSamplerResult(Object) - +Method in class org.apache.jmeter.visualizers.RequestViewRaw +
  +
setSamplerResult(Object) - +Method in interface org.apache.jmeter.visualizers.ResultRenderer +
  +
setSamplerResult(Object) - +Method in class org.apache.jmeter.visualizers.SamplerResultTab +
  +
setSamplersList(String) - +Method in class org.apache.jmeter.visualizers.backend.graphite.GraphiteBackendListenerClient +
  +
setSamplerTypeName(int) - +Method in class org.apache.jmeter.protocol.http.proxy.ProxyControl +
Deprecated.  +
setSamplerTypeName(String) - +Method in class org.apache.jmeter.protocol.http.proxy.ProxyControl +
  +
setSamplingStarted(boolean) - +Method in class org.apache.jmeter.threads.JMeterContext +
  +
setSaveConfig(SampleSaveConfiguration) - +Method in class org.apache.jmeter.gui.SavePropertyDialog +
  +
setSaveConfig(SampleSaveConfiguration) - +Method in class org.apache.jmeter.reporters.ResultCollector +
  +
setSaveConfig(SampleSaveConfiguration) - +Method in class org.apache.jmeter.samplers.SampleResult +
  +
setSavedClient(HttpClient) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSampler2 +
  +
setSaveWorkBench(boolean) - +Method in class org.apache.jmeter.testelement.WorkBench +
  +
setScheduled(boolean) - +Method in class org.apache.jmeter.threads.JMeterThread +
Enable the scheduler for this JMeterThread. +
setScheduler(boolean) - +Method in class org.apache.jmeter.threads.ThreadGroup +
Set whether scheduler is being used +
setScope(String) - +Method in class org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler +
Sets the search scope attribute of the LDAPSampler object +
setScopeAll() - +Method in class org.apache.jmeter.testelement.AbstractScopedTestElement +
  +
setScopeAll() - +Method in class org.apache.jmeter.util.ScopePanel +
  +
setScopeAll(boolean) - +Method in class org.apache.jmeter.util.ScopePanel +
  +
setScopeChildren() - +Method in class org.apache.jmeter.testelement.AbstractScopedTestElement +
  +
setScopeChildren() - +Method in class org.apache.jmeter.util.ScopePanel +
  +
setScopeChildren(boolean) - +Method in class org.apache.jmeter.util.ScopePanel +
  +
setScopeParent() - +Method in class org.apache.jmeter.testelement.AbstractScopedTestElement +
  +
setScopeParent() - +Method in class org.apache.jmeter.util.ScopePanel +
  +
setScopeParent(boolean) - +Method in class org.apache.jmeter.util.ScopePanel +
  +
setScopeVariable(String) - +Method in class org.apache.jmeter.testelement.AbstractScopedTestElement +
  +
setScopeVariable(String) - +Method in class org.apache.jmeter.util.ScopePanel +
  +
setScript(String) - +Method in class org.apache.jmeter.protocol.mongodb.sampler.MongoScriptSampler +
  +
setScript(String) - +Method in class org.apache.jmeter.util.BeanShellTestElement +
Set the script (TestBean version). +
setScript(String) - +Method in class org.apache.jmeter.util.ScriptingTestElement +
Set the script (TestBean version). +
setScriptLanguage(String) - +Method in class org.apache.jmeter.util.BSFTestElement +
  +
setScriptLanguage(String) - +Method in class org.apache.jmeter.util.JSR223TestElement +
  +
setScriptName(String) - +Method in class org.apache.jmeter.services.FileServer +
  +
setScrollCount(int) - +Method in class org.apache.jorphan.gui.MenuScroller +
Sets the number of items in the scrolling portion of the menu. +
setScrollerFor(JMenu) - +Static method in class org.apache.jorphan.gui.MenuScroller +
Registers a menu to be scrolled with the default number of items to + display at a time and the default scrolling interval. +
setScrollerFor(JPopupMenu) - +Static method in class org.apache.jorphan.gui.MenuScroller +
Registers a popup menu to be scrolled with the default number of items to + display at a time and the default scrolling interval. +
setScrollerFor(JMenu, int) - +Static method in class org.apache.jorphan.gui.MenuScroller +
Registers a menu to be scrolled with the default number of items to + display at a time and the specified scrolling interval. +
setScrollerFor(JPopupMenu, int) - +Static method in class org.apache.jorphan.gui.MenuScroller +
Registers a popup menu to be scrolled with the default number of items to + display at a time and the specified scrolling interval. +
setScrollerFor(JMenu, int, int) - +Static method in class org.apache.jorphan.gui.MenuScroller +
Registers a menu to be scrolled, with the specified number of items to + display at a time and the specified scrolling interval. +
setScrollerFor(JPopupMenu, int, int) - +Static method in class org.apache.jorphan.gui.MenuScroller +
Registers a popup menu to be scrolled, with the specified number of items + to display at a time and the specified scrolling interval. +
setScrollerFor(JMenu, int, int, int, int) - +Static method in class org.apache.jorphan.gui.MenuScroller +
Registers a menu to be scrolled, with the specified number of items to + display in the scrolling region, the specified scrolling interval, and + the specified numbers of items fixed at the top and bottom of the menu. +
setScrollerFor(JPopupMenu, int, int, int, int) - +Static method in class org.apache.jorphan.gui.MenuScroller +
Registers a popup menu to be scrolled, with the specified number of items + to display in the scrolling region, the specified scrolling interval, and + the specified numbers of items fixed at the top and bottom of the popup + menu. +
setSecure(boolean) - +Method in class org.apache.jmeter.protocol.http.control.Cookie +
set the secure for this object. +
setSecure(String) - +Method in class org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler +
  +
setSecuritySettingsPanel(SecuritySettingsPanel) - +Method in class org.apache.jmeter.protocol.smtp.sampler.gui.SmtpPanel +
  +
setSeed(long) - +Method in class org.apache.jmeter.util.ThreadLocalRandom +
Throws UnsupportedOperationException. +
setSelectedIndex(int) - +Method in class org.apache.jorphan.gui.JLabeledChoice +
  +
setSelectedNode(JMeterTreeNode) - +Method in class org.apache.jmeter.control.ModuleController +
Sets the (@link JMeterTreeNode) which represents the controller which + this object is pointing to. +
setSelection(String) - +Method in class org.apache.jmeter.control.SwitchController +
  +
setSendBufferSize(int) - +Method in class org.apache.jmeter.util.SlowSSLSocket +
  +
setSender(String) - +Method in class org.apache.jmeter.protocol.smtp.sampler.protocol.SendMailCommand +
Sets the sender-address for the current message - to be called by + SmtpSampler-object +
setSendQueue(String) - +Method in class org.apache.jmeter.protocol.jms.sampler.JMSSampler +
  +
setSendSOAPAction(boolean) - +Method in class org.apache.jmeter.protocol.http.sampler.SoapSampler +
  +
setSeparator(String) - +Method in class org.apache.jmeter.protocol.jms.sampler.SubscriberSampler +
Separator for sampler results +
setSerialized(boolean) - +Method in class org.apache.jmeter.testelement.TestPlan +
  +
setServer(String) - +Method in class org.apache.jmeter.gui.ServerPanel +
  +
setServer(String) - +Method in class org.apache.jmeter.protocol.ftp.sampler.FTPSampler +
  +
setServer(String) - +Method in class org.apache.jmeter.protocol.mail.sampler.MailReaderSampler +
  +
setServer(String) - +Method in class org.apache.jmeter.protocol.smtp.sampler.gui.SmtpPanel +
Sets mail-server to be used to send message in textfield +
setServer(String) - +Method in class org.apache.jmeter.protocol.tcp.sampler.TCPSampler +
  +
setServername(String) - +Method in class org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler +
Sets the Servername attribute of the ServerConfig object +
setServername(String) - +Method in class org.apache.jmeter.protocol.ldap.sampler.LDAPSampler +
Sets the Servername attribute of the ServerConfig object. +
setServerType(String) - +Method in class org.apache.jmeter.protocol.mail.sampler.MailReaderSampler +
Sets the type of protocol to use when talking with the remote mail + server. +
setShareMode(String) - +Method in class org.apache.jmeter.config.CSVDataSet +
  +
setShouldCache(boolean) - +Method in class org.apache.jmeter.protocol.http.modifier.URLRewritingModifier +
  +
setShowGrouping(boolean) - +Method in class org.apache.jmeter.visualizers.AxisGraph +
  +
setShowGrouping(boolean) - +Method in class org.apache.jmeter.visualizers.RespTimeGraphChart +
  +
setShowNegated(boolean) - +Method in class org.apache.jmeter.assertions.gui.XPathPanel +
  +
setShowWarnings(boolean) - +Method in class org.apache.jmeter.assertions.XPathAssertion +
  +
setShowWarnings(boolean) - +Method in class org.apache.jmeter.extractor.XPathExtractor +
  +
setSignerCertFile(String) - +Method in class org.apache.jmeter.assertions.SMIMEAssertionTestElement +
  +
setSignerCheckByFile(boolean) - +Method in class org.apache.jmeter.assertions.SMIMEAssertionTestElement +
  +
setSignerCheckConstraints(boolean) - +Method in class org.apache.jmeter.assertions.SMIMEAssertionTestElement +
  +
setSignerDn(String) - +Method in class org.apache.jmeter.assertions.SMIMEAssertionTestElement +
  +
setSignerEmail(String) - +Method in class org.apache.jmeter.assertions.SMIMEAssertionTestElement +
  +
setSignerNoCheck(boolean) - +Method in class org.apache.jmeter.assertions.SMIMEAssertionTestElement +
  +
setSignerSerial(String) - +Method in class org.apache.jmeter.assertions.SMIMEAssertionTestElement +
  +
setSkipNext(boolean) - +Method in class org.apache.jmeter.control.InterleaveControl +
  +
setSmtpHost(String) - +Method in class org.apache.jmeter.reporters.MailerModel +
  +
setSmtpPort(String) - +Method in class org.apache.jmeter.protocol.smtp.sampler.protocol.SendMailCommand +
Sets port to be used for SMTP-connection (standard 25 or 465) - to be + called by SmtpSampler-object +
setSmtpPort(String) - +Method in class org.apache.jmeter.reporters.MailerModel +
  +
setSmtpServer(String) - +Method in class org.apache.jmeter.protocol.smtp.sampler.protocol.SendMailCommand +
Sets FQDN or IP of SMTP-server to be used to send message - to be called + by SmtpSampler-object +
setSOAPAction(String) - +Method in class org.apache.jmeter.protocol.http.sampler.SoapSampler +
  +
setSoapAction(String) - +Method in class org.apache.jmeter.protocol.http.sampler.WebServiceSampler +
Set the soap action which should be in the form of an URN. +
setSOAPHeader(Object) - +Method in class org.apache.jmeter.protocol.http.control.HeaderManager +
Set the SOAPHeader with the SOAPHTTPConnection object. +
setSocketKeepAlive(boolean) - +Method in class org.apache.jmeter.protocol.mongodb.config.MongoSourceElement +
  +
setSocketTimeout(int) - +Method in class org.apache.jmeter.protocol.mongodb.config.MongoSourceElement +
  +
setSoLinger(String) - +Method in class org.apache.jmeter.protocol.tcp.sampler.TCPSampler +
  +
setSoLinger(boolean, int) - +Method in class org.apache.jmeter.util.SlowSSLSocket +
  +
setSoTimeout(int) - +Method in class org.apache.jmeter.util.SlowSSLSocket +
  +
setSource(String) - +Method in class org.apache.jmeter.protocol.mongodb.config.MongoSourceElement +
  +
setSource(String) - +Method in class org.apache.jmeter.protocol.mongodb.sampler.MongoScriptSampler +
  +
setSourceFile(String) - +Method in interface org.apache.jmeter.protocol.http.util.accesslog.LogParser +
The method is provided to make it easy to dynamically create new classes + using Class.newInstance(). +
setSourceFile(String) - +Method in class org.apache.jmeter.protocol.http.util.accesslog.TCLogParser +
Sets the source file. +
setSourceLogs(String) - +Method in interface org.apache.jmeter.protocol.http.util.accesslog.Generator +
The source logs is the location where the access log resides. +
setSourceLogs(String) - +Method in class org.apache.jmeter.protocol.http.util.accesslog.StandardGenerator +
The source logs is the location where the access log resides. +
setSpecificMessagePosition(String) - +Method in class org.apache.jmeter.assertions.SMIMEAssertionTestElement +
  +
setSslDomains(String) - +Method in class org.apache.jmeter.protocol.http.proxy.ProxyControl +
  +
setStage(String) - +Method in interface org.apache.jmeter.monitor.model.Worker +
  +
setStage(String) - +Method in class org.apache.jmeter.monitor.model.WorkerImpl +
  +
setStampAndTime(long, long) - +Method in class org.apache.jmeter.samplers.SampleResult +
For use by SaveService only. +
setStart(long) - +Method in class org.apache.jmeter.modifiers.CounterConfig +
  +
setStart(String) - +Method in class org.apache.jmeter.modifiers.CounterConfig +
  +
setStartIndex(String) - +Method in class org.apache.jmeter.config.KeystoreConfig +
  +
setStartIndex(String) - +Method in class org.apache.jmeter.control.ForeachController +
  +
setStartNextThreadLoop(boolean) - +Method in class org.apache.jmeter.samplers.SampleResult +
  +
setStartTime(long) - +Method in class org.apache.jmeter.samplers.SampleResult +
  +
setStartTime(long) - +Method in class org.apache.jmeter.threads.JMeterThread +
Set the StartTime for this Thread. +
setStartTime(long) - +Method in class org.apache.jmeter.threads.ThreadGroup +
Set the absolute StartTime value. +
setStartTime(long) - +Method in class org.apache.jmeter.visualizers.RespTimeGraphDataBean +
  +
setState(int) - +Method in class org.apache.jmeter.assertions.gui.SizeAssertionGui +
Set the state of the radio Button. +
setStdErr(PrintStream) - +Method in class org.apache.jmeter.engine.DistributedRunner +
  +
setStderr(String) - +Method in class org.apache.jmeter.protocol.system.SystemSampler +
  +
setStdin(String) - +Method in class org.apache.jmeter.protocol.system.SystemSampler +
  +
setStdout(PrintStream) - +Method in class org.apache.jmeter.engine.DistributedRunner +
  +
setStdout(String) - +Method in class org.apache.jmeter.protocol.system.SystemSampler +
  +
setStopBetweenSamples(boolean) - +Method in class org.apache.jmeter.protocol.jms.sampler.SubscriberSampler +
  +
setStopTest(boolean) - +Method in class org.apache.jmeter.samplers.SampleResult +
  +
setStopTestNow(boolean) - +Method in class org.apache.jmeter.samplers.SampleResult +
  +
setStopThread(boolean) - +Method in class org.apache.jmeter.config.CSVDataSet +
  +
setStopThread(boolean) - +Method in class org.apache.jmeter.samplers.SampleResult +
  +
setStoreMimeMessage(boolean) - +Method in class org.apache.jmeter.protocol.mail.sampler.MailReaderSampler +
  +
setStringsToSkip(Collection<SubstitutionElement>) - +Method in class org.apache.jmeter.assertions.CompareAssertion +
  +
setStrokeWidth(float) - +Method in class org.apache.jmeter.visualizers.RespTimeGraphChart +
  +
setStyle(int) - +Method in class org.apache.jmeter.control.InterleaveControl +
  +
setStyle(int) - +Method in class org.apache.jmeter.control.ThroughputController +
  +
setSubject(String) - +Method in class org.apache.jmeter.protocol.smtp.sampler.gui.SmtpPanel +
Sets subject of the e-mail in textfield +
setSubject(String) - +Method in class org.apache.jmeter.protocol.smtp.sampler.protocol.SendMailCommand +
Sets subject for current message - called by SmtpSampler-object +
setSubresults(boolean) - +Method in class org.apache.jmeter.samplers.SampleSaveConfiguration +
  +
setSubSampler(Sampler) - +Method in class org.apache.jmeter.control.TransactionSampler +
  +
setSubstitute(String) - +Method in class org.apache.jmeter.assertions.SubstitutionElement +
  +
setSuccess(String) - +Method in class org.apache.jmeter.protocol.java.sampler.JUnitSampler +
set the success message +
setSuccess(boolean) - +Method in class org.apache.jmeter.samplers.SampleSaveConfiguration +
  +
setSuccessCode(String) - +Method in class org.apache.jmeter.protocol.java.sampler.JUnitSampler +
Set the success code. +
setSuccessful(boolean) - +Method in class org.apache.jmeter.samplers.SampleResult +
Sets the successful attribute of the SampleResult object. +
setSuccessLimit(String) - +Method in class org.apache.jmeter.reporters.MailerModel +
  +
setSuccessOnlyLogging(boolean) - +Method in class org.apache.jmeter.reporters.ResultCollector +
Sets the flag whether only successful samples should be logged +
setSuccessSubject(String) - +Method in class org.apache.jmeter.reporters.MailerModel +
  +
setSuffix(String) - +Method in class org.apache.jmeter.protocol.http.modifier.ParamMask +
Sets the suffix for the long value. +
setSuppressSubject(boolean) - +Method in class org.apache.jmeter.protocol.smtp.sampler.gui.SmtpPanel +
Sets the property that defines if the subject header should be suppressed +
setSynchronousMode(boolean) - +Method in class org.apache.jmeter.protocol.smtp.sampler.protocol.SendMailCommand +
Sets the use of synchronous-mode (i.e. time for delivery, ... is + measured) - to be called by SmtpSampler-object +
setTarget(JMeterTreeNode) - +Method in class org.apache.jmeter.protocol.http.proxy.ProxyControl +
Sets the target node where the samples generated by the proxy have to be + stored. +
setTarget(Object) - +Method in interface org.apache.jmeter.protocol.http.util.accesslog.Generator +
The target can be either a java.io.File or a Sampler. +
setTarget(Object) - +Method in class org.apache.jmeter.protocol.http.util.accesslog.StandardGenerator +
The target can be either a java.io.File or a Sampler. +
setTarget(int) - +Method in class org.apache.jmeter.sampler.TestAction +
  +
setTarget(LogTarget, String) - +Static method in class org.apache.jorphan.logging.LoggingManager +
Set the logging target for a category. +
setTcpNoDelay(boolean) - +Method in class org.apache.jmeter.util.SlowSSLSocket +
  +
setTearDownOnShutdown(boolean) - +Method in class org.apache.jmeter.testelement.TestPlan +
  +
setTemplate(String) - +Method in class org.apache.jmeter.extractor.RegexExtractor +
  +
setTemporary(JMeterProperty) - +Method in class org.apache.jmeter.testelement.AbstractTestElement +
Indicate that the given property should be only a temporary property in + the TestElement +
setTemporary(JMeterProperty) - +Method in interface org.apache.jmeter.testelement.TestElement +
Indicate that the given property should be only a temporary property in + the TestElement +
setTest(String) - +Method in class org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler +
Sets the Test attribute of the LdapConfig object +
setTest(String) - +Method in class org.apache.jmeter.protocol.ldap.sampler.LDAPSampler +
Sets the Test attribute of the LdapConfig object. +
setTestFieldNetworkSize() - +Method in class org.apache.jmeter.assertions.SizeAssertion +
  +
setTestFieldResponseBody() - +Method in class org.apache.jmeter.assertions.SizeAssertion +
  +
setTestFieldResponseCode() - +Method in class org.apache.jmeter.assertions.ResponseAssertion +
  +
setTestFieldResponseCode() - +Method in class org.apache.jmeter.assertions.SizeAssertion +
  +
setTestFieldResponseData() - +Method in class org.apache.jmeter.assertions.ResponseAssertion +
  +
setTestFieldResponseDataAsDocument() - +Method in class org.apache.jmeter.assertions.ResponseAssertion +
  +
setTestFieldResponseHeaders() - +Method in class org.apache.jmeter.assertions.ResponseAssertion +
  +
setTestFieldResponseHeaders() - +Method in class org.apache.jmeter.assertions.SizeAssertion +
  +
setTestFieldResponseMessage() - +Method in class org.apache.jmeter.assertions.ResponseAssertion +
  +
setTestFieldResponseMessage() - +Method in class org.apache.jmeter.assertions.SizeAssertion +
  +
setTestFieldURL() - +Method in class org.apache.jmeter.assertions.ResponseAssertion +
  +
setTestPlan(boolean) - +Method in class org.apache.jmeter.gui.action.template.Template +
  +
setTestPlanClasspath(String) - +Method in class org.apache.jmeter.testelement.TestPlan +
Set the classpath for the test plan. +
setTestPlanClasspathArray(String[]) - +Method in class org.apache.jmeter.testelement.TestPlan +
  +
setTestPlanFile(String) - +Method in class org.apache.jmeter.gui.GuiPackage +
Sets the filepath of the current test plan. +
setTestStartTime(long) - +Method in class org.apache.jmeter.save.ListenerResultWrapper +
  +
setTestStartTime(long) - +Method in class org.apache.jmeter.save.TestResultWrapper +
  +
setText(String) - +Method in class org.apache.jmeter.gui.CommentPanel +
  +
setText(String) - +Method in class org.apache.jmeter.gui.util.JLabeledRadioI18N +
The implementation will iterate through the radio buttons and find the + match. +
setText(String) - +Method in class org.apache.jorphan.gui.JLabeledChoice +
Set the text displayed in the Text Field. +
setText(String) - +Method in interface org.apache.jorphan.gui.JLabeledField +
  +
setText(String) - +Method in class org.apache.jorphan.gui.JLabeledTextArea +
Set the text displayed in the Text Field. +
setText(String) - +Method in class org.apache.jorphan.gui.JLabeledTextField +
Set the text displayed in the Text Field. +
setText(String) - +Method in class org.apache.jorphan.io.TextFile +
Create the file with the given string as content -- or replace it's + content with the given string if the file already existed. +
setTextBox(String) - +Method in class org.apache.jmeter.gui.util.TextBoxDialoger +
  +
setTextMessage(String) - +Method in class org.apache.jmeter.protocol.jms.sampler.PublisherSampler +
set the text for the message +
setThread(JMeterThread) - +Method in class org.apache.jmeter.threads.JMeterContext +
  +
setThread(boolean) - +Method in class org.apache.jmeter.visualizers.MonitorGraph +
  +
setThreadContext(JMeterContext) - +Method in class org.apache.jmeter.testelement.AbstractTestElement +
  +
setThreadContext(JMeterContext) - +Method in interface org.apache.jmeter.testelement.TestElement +
  +
setThreadCounts(boolean) - +Method in class org.apache.jmeter.samplers.SampleSaveConfiguration +
  +
setThreadGroup(AbstractThreadGroup) - +Method in class org.apache.jmeter.threads.JMeterContext +
  +
setThreadGroup(AbstractThreadGroup) - +Method in class org.apache.jmeter.threads.JMeterThread +
  +
setThreadInfo(ThreadInfo) - +Method in interface org.apache.jmeter.monitor.model.Connector +
  +
setThreadInfo(ThreadInfo) - +Method in class org.apache.jmeter.monitor.model.ConnectorImpl +
  +
setThreadLists(Collection<?>) - +Method in class org.apache.jmeter.modifiers.UserParameters +
The thread list is a list of lists. +
setThreadLists(CollectionProperty) - +Method in class org.apache.jmeter.modifiers.UserParameters +
The thread list is a list of lists. +
setThreadLoad(int) - +Method in class org.apache.jmeter.visualizers.MonitorStats +
  +
setThreadName(String) - +Method in class org.apache.jmeter.samplers.SampleResult +
  +
setThreadName(boolean) - +Method in class org.apache.jmeter.samplers.SampleSaveConfiguration +
  +
setThreadName(String) - +Method in class org.apache.jmeter.testelement.AbstractTestElement +
  +
setThreadName(String) - +Method in interface org.apache.jmeter.testelement.TestElement +
  +
setThreadName(String) - +Method in class org.apache.jmeter.threads.JMeterThread +
  +
setThreadNum(int) - +Method in class org.apache.jmeter.threads.JMeterContext +
Sets the threadNum. +
setThreadNum(int) - +Method in class org.apache.jmeter.threads.JMeterThread +
Sets the threadNum. +
setThreadsAllowedToBlockForConnectionMultiplier(int) - +Method in class org.apache.jmeter.protocol.mongodb.config.MongoSourceElement +
  +
setThroughput(double) - +Method in class org.apache.jmeter.timers.ConstantThroughputTimer +
Sets the desired throughput. +
setTime(boolean) - +Method in class org.apache.jmeter.samplers.SampleSaveConfiguration +
  +
setTime(long) - +Method in class org.apache.jmeter.visualizers.RespTimeGraphDataBean +
  +
setTimelim(String) - +Method in class org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler +
Sets the time limit attribute of the LDAPSampler object +
setTimeout(String) - +Method in class org.apache.jmeter.protocol.http.sampler.WebServiceSampler +
  +
setTimeout(String) - +Method in class org.apache.jmeter.protocol.jdbc.config.DataSourceElement +
  +
setTimeout(String) - +Method in class org.apache.jmeter.protocol.jms.sampler.JMSSampler +
  +
setTimeout(String) - +Method in class org.apache.jmeter.protocol.jms.sampler.SubscriberSampler +
  +
setTimeout(String) - +Method in class org.apache.jmeter.protocol.smtp.sampler.gui.SmtpPanel +
Sets timeout (ms) for SMTP connection +
setTimeOut(String) - +Method in class org.apache.jmeter.protocol.smtp.sampler.protocol.SendMailCommand +
  +
setTimeout(String) - +Method in class org.apache.jmeter.protocol.tcp.sampler.TCPSampler +
  +
setTimeoutInMs(long) - +Method in class org.apache.jmeter.timers.SyncTimer +
  +
setTimeStamp(long) - +Method in class org.apache.jmeter.samplers.SampleResult +
This is only intended for use by SampleResultConverter! +
setTimestamp(boolean) - +Method in class org.apache.jmeter.samplers.SampleSaveConfiguration +
  +
setTimeStamp(long) - +Method in class org.apache.jmeter.visualizers.MonitorStats +
  +
setTimout(long) - +Method in class org.apache.jmeter.protocol.system.SystemSampler +
  +
setTitle(String) - +Method in class org.apache.jmeter.visualizers.AxisGraph +
  +
setTitle(String) - +Method in class org.apache.jmeter.visualizers.LineGraph +
  +
setTitle(String) - +Method in class org.apache.jmeter.visualizers.RespTimeGraphChart +
  +
setTitleFont(Font) - +Method in class org.apache.jmeter.visualizers.AxisGraph +
  +
setTitleFont(Font) - +Method in class org.apache.jmeter.visualizers.RespTimeGraphChart +
  +
setToAddress(String) - +Method in class org.apache.jmeter.reporters.MailerModel +
  +
setToContainsType() - +Method in class org.apache.jmeter.assertions.ResponseAssertion +
  +
setToDefaultMaxIterations() - +Method in class org.apache.jmeter.visualizers.Spline3 +
  +
setToDefaultPrecision() - +Method in class org.apache.jmeter.visualizers.Spline3 +
  +
setToEqualsType() - +Method in class org.apache.jmeter.assertions.ResponseAssertion +
  +
setTolerant(boolean) - +Method in class org.apache.jmeter.assertions.XPathAssertion +
Set tolerant mode if required +
setTolerant(boolean) - +Method in class org.apache.jmeter.extractor.XPathExtractor +
  +
setToMatchType() - +Method in class org.apache.jmeter.assertions.ResponseAssertion +
  +
setToNotType() - +Method in class org.apache.jmeter.assertions.ResponseAssertion +
  +
setToolTipText(String) - +Method in class org.apache.jorphan.gui.JLabeledChoice +
Registers the text to display in a tool tip. +
setToolTipText(String) - +Method in class org.apache.jorphan.gui.JLabeledTextArea +
Registers the text to display in a tool tip. +
setToolTipText(String) - +Method in class org.apache.jorphan.gui.JLabeledTextField +
Registers the text to display in a tool tip. +
setTopFixedCount(int) - +Method in class org.apache.jorphan.gui.MenuScroller +
Sets the number of items to fix at the top of the menu or popup menu. +
setToSubstringType() - +Method in class org.apache.jmeter.assertions.ResponseAssertion +
  +
setTotal(long) - +Method in interface org.apache.jmeter.monitor.model.Memory +
  +
setTotal(long) - +Method in class org.apache.jmeter.monitor.model.MemoryImpl +
  +
setTrafficClass(int) - +Method in class org.apache.jmeter.util.SlowSSLSocket +
  +
setTransactionDone() - +Method in class org.apache.jmeter.control.TransactionSampler +
  +
setTransactionIsolation(String) - +Method in class org.apache.jmeter.protocol.jdbc.config.DataSourceElement +
  +
setTransferData(JMeterTreeNode[]) - +Method in class org.apache.jmeter.util.JMeterTreeNodeTransferable +
  +
setTrimInterval(String) - +Method in class org.apache.jmeter.protocol.jdbc.config.DataSourceElement +
  +
setTristateFromProperty(TestElement, String) - +Method in class org.apache.jmeter.gui.util.TristateCheckBox +
Set state depending on property +
setTrustAllCerts(boolean) - +Method in class org.apache.jmeter.protocol.smtp.sampler.gui.SecuritySettingsPanel +
Enforces JMeter to trust all certificates, no matter what CA is issuer + (checkbox) +
setTrustAllCerts(boolean) - +Method in class org.apache.jmeter.protocol.smtp.sampler.protocol.SendMailCommand +
Determines if SMTP-sampler should trust all certificates, no matter what + CA - to be called by SmtpSampler-object +
setTrustStoreToUse(String) - +Method in class org.apache.jmeter.protocol.smtp.sampler.gui.SecuritySettingsPanel +
Set the path to local (pre-installed) truststore to be used to avoid + SSL-connection-exceptions +
setTrustStoreToUse(String) - +Method in class org.apache.jmeter.protocol.smtp.sampler.protocol.SendMailCommand +
Sets the path to the local truststore to be used for SSL / StartTLS - to + be called by SmtpSampler-object +
setType(String) - +Method in class org.apache.jmeter.protocol.jms.sampler.JMSProperty +
Sets the Meta Data attribute of the JmsProperty. +
setup() - +Static method in class org.apache.jmeter.protocol.http.util.LoopbackHttpClientSocketFactory +
Convenience method to set up the necessary HttpClient protocol and URL handler. +
setupConnection(URL, HttpMethodBase, HTTPSampleResult) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPHC3Impl +
Returns an HttpConnection fully ready to attempt + connection. +
setupConnection(URL, String, HTTPSampleResult) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPJavaImpl +
Returns an HttpURLConnection fully ready to attempt + connection. +
setupConnection(URL, HttpMethodBase, HTTPSampleResult) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSampler2 +
  +
setupCredentials(HttpClient, URL, CredentialsProvider, String) - +Method in class org.apache.jmeter.protocol.http.control.AuthManager +
Configure credentials and auth scheme on client if an authorization is + available for url +
setupGuiClasses() - +Method in class org.apache.jmeter.testbeans.gui.TestBeanGUI +
Setup GUI class +
setUpperBound(long) - +Method in class org.apache.jmeter.protocol.http.modifier.ParamMask +
Sets the highest possible value that the long portion of + the parameter value may be. +
setupRequest(URL, HttpRequestBase, HTTPSampleResult) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl +
Setup following elements on httpRequest: + + ConnRoutePNames.LOCAL_ADDRESS enabling IP-SPOOFING + Socket and connection timeout + Redirect handling + Keep Alive header or Connection Close + Calls setConnectionHeaders to setup headers + Calls setConnectionCookie to setup Cookie + +
setupTabPane() - +Method in class org.apache.jmeter.visualizers.RenderAsCssJQuery +
+
setupTabPane() - +Method in class org.apache.jmeter.visualizers.RenderAsRegexp +
+
setupTabPane() - +Method in class org.apache.jmeter.visualizers.RenderAsXPath +
+
setupTabPane() - +Method in interface org.apache.jmeter.visualizers.ResultRenderer +
  +
setupTabPane() - +Method in class org.apache.jmeter.visualizers.SamplerResultTab +
  +
setupTest(JavaSamplerContext) - +Method in class org.apache.jmeter.protocol.java.sampler.AbstractJavaSamplerClient +
  +
setupTest(JavaSamplerContext) - +Method in interface org.apache.jmeter.protocol.java.sampler.JavaSamplerClient +
Do any initialization required by this client. +
setupTest(JavaSamplerContext) - +Method in class org.apache.jmeter.protocol.java.test.JavaTest +
Do any initialization required by this client. +
setupTest(JavaSamplerContext) - +Method in class org.apache.jmeter.protocol.java.test.SleepTest +
Do any initialization required by this client. +
setupTest() - +Method in class org.apache.jmeter.protocol.tcp.sampler.AbstractTCPClient +
Versions of JMeter after 2.3.2 invoke this method when the thread starts. +
setupTest() - +Method in interface org.apache.jmeter.protocol.tcp.sampler.TCPClient +
Versions of JMeter after 2.3.2 invoke this method when the thread starts. +
setupTest(BackendListenerContext) - +Method in class org.apache.jmeter.visualizers.backend.AbstractBackendListenerClient +
  +
setupTest(BackendListenerContext) - +Method in interface org.apache.jmeter.visualizers.backend.BackendListenerClient +
Do any initialization required by this client. +
setupTest(BackendListenerContext) - +Method in class org.apache.jmeter.visualizers.backend.graphite.GraphiteBackendListenerClient +
  +
SetupThreadGroup - Class in org.apache.jmeter.threads
SetupThreadGroup.java is a special type of ThreadGroup that can be used for + setting up of a test before the bulk of the test executes later.
SetupThreadGroup() - +Constructor for class org.apache.jmeter.threads.SetupThreadGroup +
  +
SetupThreadGroupGui - Class in org.apache.jmeter.threads.gui
 
SetupThreadGroupGui() - +Constructor for class org.apache.jmeter.threads.gui.SetupThreadGroupGui +
  +
setURL(String) - +Method in class org.apache.jmeter.protocol.http.control.Authorization +
  +
setURL(URL) - +Method in class org.apache.jmeter.samplers.SampleResult +
  +
setUrl(boolean) - +Method in class org.apache.jmeter.samplers.SampleSaveConfiguration +
  +
setURLData(String) - +Method in class org.apache.jmeter.protocol.http.sampler.SoapSampler +
  +
setUseAuth(boolean) - +Method in class org.apache.jmeter.protocol.jms.sampler.BaseJMSSampler +
Set whether authentication is required for JNDI +
setUseAuth(boolean) - +Method in class org.apache.jmeter.protocol.smtp.sampler.gui.SmtpPanel +
Set whether mail server needs auth. +
setUseAuthentication(boolean) - +Method in class org.apache.jmeter.protocol.smtp.sampler.protocol.SendMailCommand +
Sets if authentication should be used to access the mailserver - to be + called by SmtpSampler-object +
setUseClientMode(boolean) - +Method in class org.apache.jmeter.util.SlowSSLSocket +
  +
setUseEmlMessage(boolean) - +Method in class org.apache.jmeter.protocol.smtp.sampler.gui.SmtpPanel +
Set the use of an .eml-message instead of the content of message-text + area +
setUseEmlMessage(boolean) - +Method in class org.apache.jmeter.protocol.smtp.sampler.protocol.SendMailCommand +
  +
setUseEquals(boolean) - +Method in class org.apache.jmeter.protocol.http.util.HTTPArgument +
  +
setUseExpires(boolean) - +Method in class org.apache.jmeter.protocol.http.control.CacheManager +
  +
setUseExpression(boolean) - +Method in class org.apache.jmeter.control.IfController +
  +
setUseField(String) - +Method in class org.apache.jmeter.extractor.RegexExtractor +
  +
setUseJNDIProperties(String) - +Method in class org.apache.jmeter.protocol.jms.sampler.BaseJMSSampler +
if the sampler should use jndi.properties file, call the method with the string "true" +
setUseKeepAlive(boolean) - +Method in class org.apache.jmeter.protocol.http.proxy.ProxyControl +
  +
setUseKeepAlive(boolean) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPAbstractImpl +
Invokes HTTPSamplerBase.setUseKeepAlive(boolean) +
setUseKeepAlive(boolean) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
setUseLocalTrustStore(boolean) - +Method in class org.apache.jmeter.protocol.smtp.sampler.gui.SecuritySettingsPanel +
Set the use of a local (pre-installed) truststore to avoid + SSL-connection-exceptions (checkbox) +
setUseLocalTrustStore(boolean) - +Method in class org.apache.jmeter.protocol.smtp.sampler.protocol.SendMailCommand +
Assigns the object to use a local truststore for SSL / StartTLS - to be + called by SmtpSampler-object +
setUseNonPersistentDelivery(boolean) - +Method in class org.apache.jmeter.protocol.jms.sampler.PublisherSampler +
  +
setUseNoSecurity(boolean) - +Method in class org.apache.jmeter.protocol.smtp.sampler.gui.SecuritySettingsPanel +
  +
setUseParsedFile(boolean) - +Method in class org.apache.jmeter.protocol.http.util.accesslog.TCLogParser +
Calls this method to set whether or not to use the path in the log. +
setUseProxy(boolean) - +Method in class org.apache.jmeter.protocol.http.sampler.WebServiceSampler +
Set whether or not to use a proxy +
setUser(String) - +Method in class org.apache.jmeter.protocol.http.control.Authorization +
  +
setUserDefinedTest(boolean) - +Method in class org.apache.jmeter.protocol.ldap.sampler.LDAPSampler +
Sets the UserDefinedTest attribute of the LDAPSampler object. +
setUserDefinedVariables(Map<String, String>) - +Method in class org.apache.jmeter.engine.util.ValueReplacer +
Set this ValueReplacer's variable map +
setUserDefinedVariables(Arguments) - +Method in class org.apache.jmeter.testelement.TestPlan +
  +
setUserDN(String) - +Method in class org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler +
Sets the username attribute of the LDAP object +
setUseReqMsgIdAsCorrelId(boolean) - +Method in class org.apache.jmeter.protocol.jms.sampler.JMSSampler +
  +
setUseResMsgIdAsCorrelId(boolean) - +Method in class org.apache.jmeter.protocol.jms.sampler.JMSSampler +
  +
setUsername(String) - +Method in class org.apache.jmeter.config.LoginConfig +
Sets the Username attribute of the LoginConfig object. +
setUsername(String) - +Method in class org.apache.jmeter.protocol.jdbc.config.DataSourceElement +
  +
setUsername(String) - +Method in class org.apache.jmeter.protocol.jms.sampler.BaseJMSSampler +
set the username to login into the jms server if needed +
setUserName(String) - +Method in class org.apache.jmeter.protocol.mail.sampler.MailReaderSampler +
  +
setUsername(String) - +Method in class org.apache.jmeter.protocol.mongodb.sampler.MongoScriptSampler +
  +
setUsername(String) - +Method in class org.apache.jmeter.protocol.smtp.sampler.gui.SmtpPanel +
  +
setUsername(String) - +Method in class org.apache.jmeter.protocol.smtp.sampler.protocol.SendMailCommand +
Sets username to authenticate at the mailserver - to be called by + SmtpSampler-object +
setUserPw(String) - +Method in class org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler +
Sets the password attribute of the LDAP object +
setUseSeparator(boolean) - +Method in class org.apache.jmeter.control.ForeachController +
  +
setUseSSL(boolean) - +Method in class org.apache.jmeter.protocol.smtp.sampler.gui.SecuritySettingsPanel +
Sets SSL to be used to secure the SMTP-connection (checkbox) +
setUseSSL(boolean) - +Method in class org.apache.jmeter.protocol.smtp.sampler.protocol.SendMailCommand +
Sets SSL to secure the delivery channel for the message - to be called by + SmtpSampler-object +
setUseStartTLS(boolean) - +Method in class org.apache.jmeter.protocol.smtp.sampler.gui.SecuritySettingsPanel +
Sets StartTLS to be used to secure the SMTP-connection (checkbox) +
setUseStartTLS(boolean) - +Method in class org.apache.jmeter.protocol.smtp.sampler.protocol.SendMailCommand +
Sets StartTLS to secure the delivery channel for the message - to be + called by SmtpSampler-object +
setValidating(boolean) - +Method in class org.apache.jmeter.assertions.XPathAssertion +
Set use validation +
setValidating(boolean) - +Method in class org.apache.jmeter.extractor.XPathExtractor +
  +
setValue(String) - +Method in class org.apache.jmeter.config.Argument +
Sets the value of the Argument. +
setValue(Object) - +Method in class org.apache.jmeter.gui.util.TextAreaTableCellEditor.EditorDelegate +
Sets the value of this cell. +
setValue(String) - +Method in class org.apache.jmeter.protocol.http.control.Cookie +
set the value for this object. +
setValue(String) - +Method in class org.apache.jmeter.protocol.http.control.Header +
Set the value for this object. +
setValue(long) - +Method in class org.apache.jmeter.protocol.http.modifier.ParamMask +
Set the current value of the long portion of the parameter + value to replace. +
setValue(String) - +Method in class org.apache.jmeter.protocol.http.util.accesslog.NVPair +
Set the value +
setValue(String) - +Method in class org.apache.jmeter.protocol.jms.sampler.JMSProperty +
Sets the value of the JmsProperty. +
setValue(String) - +Method in class org.apache.jmeter.protocol.ldap.config.gui.LDAPArgument +
Sets the value of the Argument. +
setValue(Object) - +Method in class org.apache.jmeter.testbeans.gui.BooleanPropertyEditor +
  +
setValue(Object) - +Method in class org.apache.jmeter.testbeans.gui.FileEditor +
+
setValue(Object) - +Method in class org.apache.jmeter.testbeans.gui.IntegerPropertyEditor +
  +
setValue(Object) - +Method in class org.apache.jmeter.testbeans.gui.LongPropertyEditor +
  +
setValue(Object) - +Method in class org.apache.jmeter.testbeans.gui.PasswordEditor +
  +
setValue(Object) - +Method in class org.apache.jmeter.testbeans.gui.TableEditor +
  +
setValue(Object) - +Method in class org.apache.jmeter.testbeans.gui.TextAreaEditor +
+
setValue(float) - +Method in class org.apache.jmeter.testelement.property.DoubleProperty +
  +
setValue(float) - +Method in class org.apache.jmeter.testelement.property.FloatProperty +
  +
setValue(int) - +Method in class org.apache.jmeter.testelement.property.IntegerProperty +
  +
setValue(int) - +Method in class org.apache.jmeter.testelement.property.LongProperty +
  +
setValue(String) - +Method in class org.apache.jmeter.testelement.property.StringProperty +
Sets the value. +
setValue(Object) - +Method in class org.apache.jmeter.visualizers.SamplerResultTab.RowResult +
  +
setValue(Object) - +Method in class org.apache.jorphan.gui.NumberRenderer +
  +
setValue(Object) - +Method in class org.apache.jorphan.gui.RateRenderer +
  +
setValueAt(Object, int, int) - +Method in class org.apache.jmeter.gui.util.PowerTableModel +
Sets the ValueAt attribute of the Arguments object. +
setValueAt(Object, Object, int) - +Method in class org.apache.jorphan.gui.AbstractTreeTableModel +
the method is similar to isCellEditable(int,int). +
setValueAt(Object, int, int) - +Method in class org.apache.jorphan.gui.AbstractTreeTableModel +
+
setValueAt(Object, int, int) - +Method in class org.apache.jorphan.gui.ObjectTableModel +
+
setValueAt(Object, Object, int) - +Method in interface org.apache.jorphan.gui.TreeTableModel +
the method is similar to isCellEditable(int,int). +
setValueFont(Font) - +Method in class org.apache.jmeter.visualizers.AxisGraph +
  +
setValueOrientation(boolean) - +Method in class org.apache.jmeter.visualizers.AxisGraph +
  +
setValues(String[]) - +Method in class org.apache.jorphan.gui.JLabeledChoice +
  +
setVarCount(int) - +Method in class org.apache.jmeter.samplers.SampleSaveConfiguration +
  +
setVariableName(String) - +Method in class org.apache.jmeter.config.RandomVariableConfig +
  +
setVariableNames(String) - +Method in class org.apache.jmeter.config.CSVDataSet +
  +
setVariableNames(String) - +Method in class org.apache.jmeter.protocol.jdbc.AbstractJDBCTestElement +
  +
setVariables(JMeterVariables) - +Method in class org.apache.jmeter.threads.JMeterContext +
  +
setVarName(String) - +Method in class org.apache.jmeter.modifiers.CounterConfig +
  +
setVerifySignature(boolean) - +Method in class org.apache.jmeter.assertions.SMIMEAssertionTestElement +
  +
setVersion(int) - +Method in class org.apache.jmeter.protocol.http.control.Cookie +
  +
setVersion(String) - +Method in class org.apache.jmeter.save.ListenerResultWrapper +
  +
setVersion(String) - +Method in class org.apache.jmeter.save.TestResultWrapper +
  +
setVirtualHost(String) - +Method in interface org.apache.jmeter.monitor.model.Worker +
  +
setVirtualHost(String) - +Method in class org.apache.jmeter.monitor.model.WorkerImpl +
  +
setWaitForJournaling(boolean) - +Method in class org.apache.jmeter.protocol.mongodb.config.MongoSourceElement +
  +
setWantClientAuth(boolean) - +Method in class org.apache.jmeter.util.SlowSSLSocket +
  +
setWarningThreshold(long) - +Method in class org.apache.jmeter.assertions.HTMLAssertion +
Sets the threshold on warning level +
setWhitespace(boolean) - +Method in class org.apache.jmeter.assertions.XPathAssertion +
Set whether to ignore element whitespace +
setWhitespace(boolean) - +Method in class org.apache.jmeter.extractor.XPathExtractor +
  +
setWidth(int) - +Method in class org.apache.jmeter.visualizers.AxisGraph +
  +
setWidth(int) - +Method in class org.apache.jmeter.visualizers.LineGraph +
  +
setWidth(int) - +Method in class org.apache.jmeter.visualizers.RespTimeGraphChart +
  +
setWorkers(Workers) - +Method in interface org.apache.jmeter.monitor.model.Connector +
  +
setWorkers(Workers) - +Method in class org.apache.jmeter.monitor.model.ConnectorImpl +
  +
setWriteOperationNumberOfServers(int) - +Method in class org.apache.jmeter.protocol.mongodb.config.MongoSourceElement +
  +
setWriteOperationTimeout(int) - +Method in class org.apache.jmeter.protocol.mongodb.config.MongoSourceElement +
  +
setWsdlURL(String) - +Method in class org.apache.jmeter.protocol.http.sampler.WebServiceSampler +
  +
setXAxisLabels(String[]) - +Method in class org.apache.jmeter.visualizers.AxisGraph +
Expects null array when no labels not empty array +
setXAxisLabels(String[]) - +Method in class org.apache.jmeter.visualizers.LineGraph +
  +
setXAxisLabels(String[]) - +Method in class org.apache.jmeter.visualizers.RespTimeGraphChart +
  +
setXAxisTitle(String) - +Method in class org.apache.jmeter.visualizers.AxisGraph +
  +
setXAxisTitle(String) - +Method in class org.apache.jmeter.visualizers.LineGraph +
  +
setXAxisTitle(String) - +Method in class org.apache.jmeter.visualizers.RespTimeGraphChart +
  +
setXHTML() - +Method in class org.apache.jmeter.assertions.HTMLAssertion +
Enables xhtml validation mode +
setXML() - +Method in class org.apache.jmeter.assertions.HTMLAssertion +
Enables xml validation mode +
setXmlData(String) - +Method in class org.apache.jmeter.protocol.http.sampler.SoapSampler +
  +
setXmlData(String) - +Method in class org.apache.jmeter.protocol.http.sampler.WebServiceSampler +
Set the XML data. +
setXmlFile(String) - +Method in class org.apache.jmeter.protocol.http.sampler.SoapSampler +
it's kinda obvious, but we state it anyways. +
setXmlFile(String) - +Method in class org.apache.jmeter.protocol.http.sampler.WebServiceSampler +
it's kinda obvious, but we state it anyways. +
setXmlPathLoc(String) - +Method in class org.apache.jmeter.protocol.http.sampler.WebServiceSampler +
Set the path where XML messages are stored for random selection. +
setXPath(String) - +Method in class org.apache.jmeter.assertions.gui.XPathPanel +
Set the string that will be used in the xpath evaluation +
setXPathQuery(String) - +Method in class org.apache.jmeter.extractor.XPathExtractor +
  +
setXPathString(String) - +Method in class org.apache.jmeter.assertions.XPathAssertion +
Set the XPath String this will be used as an xpath +
setXsdFileName(String) - +Method in class org.apache.jmeter.assertions.XMLSchemaAssertion +
  +
setYAxisLabels(String) - +Method in class org.apache.jmeter.visualizers.AxisGraph +
  +
setYAxisLabels(String[]) - +Method in class org.apache.jmeter.visualizers.LineGraph +
  +
setYAxisLabels(String) - +Method in class org.apache.jmeter.visualizers.RespTimeGraphChart +
  +
setYAxisTitle(String) - +Method in class org.apache.jmeter.visualizers.AxisGraph +
  +
setYAxisTitle(String) - +Method in class org.apache.jmeter.visualizers.LineGraph +
  +
setYAxisTitle(String) - +Method in class org.apache.jmeter.visualizers.RespTimeGraphChart +
  +
shape_counter - +Variable in class org.apache.jmeter.visualizers.LineGraph +
  +
SharedCustomizer - Interface in org.apache.jmeter.testbeans.gui
Tagging interface to mark a customizer class as shareable among elements of + the same type.
SharedTCLogParser - Class in org.apache.jmeter.protocol.http.util.accesslog
 
SharedTCLogParser() - +Constructor for class org.apache.jmeter.protocol.http.util.accesslog.SharedTCLogParser +
  +
SharedTCLogParser(String) - +Constructor for class org.apache.jmeter.protocol.http.util.accesslog.SharedTCLogParser +
  +
shouldCache() - +Method in class org.apache.jmeter.protocol.http.modifier.URLRewritingModifier +
  +
shouldSelectCell(EventObject) - +Method in class org.apache.jmeter.gui.util.TextAreaTableCellEditor.EditorDelegate +
Returns true to indicate that the editing cell may be selected. +
shouldSelectCell(EventObject) - +Method in class org.apache.jmeter.gui.util.TextAreaTableCellEditor +
Forwards the message from the CellEditor to the + delegate. +
SHOW_INCOMING_SAMPLES - +Variable in class org.apache.jmeter.visualizers.SplineModel +
  +
showErrorMessage(String, String) - +Static method in class org.apache.jmeter.gui.GuiPackage +
  +
showGrouping - +Variable in class org.apache.jmeter.visualizers.AxisGraph +
  +
showGrouping - +Variable in class org.apache.jmeter.visualizers.RespTimeGraphChart +
  +
showInfoMessage(String, String) - +Static method in class org.apache.jmeter.gui.GuiPackage +
  +
showMessage(String, String, int) - +Static method in class org.apache.jmeter.gui.GuiPackage +
  +
showPanel() - +Method in class org.apache.jmeter.reporters.FileReporter +
Show main panel with length, graph, and stats. +
showRenderedResponse(String, SampleResult) - +Method in class org.apache.jmeter.visualizers.RenderAsHTML +
  +
showRenderedResponse(String, SampleResult, boolean) - +Method in class org.apache.jmeter.visualizers.RenderAsHTML +
  +
showRenderedResponse(String, SampleResult) - +Method in class org.apache.jmeter.visualizers.RenderAsHTMLWithEmbedded +
+
showScopeSettings(AbstractScopedTestElement) - +Method in class org.apache.jmeter.gui.AbstractScopedJMeterGuiComponent +
Show the scope settings from the test element. +
showScopeSettings(AbstractScopedTestElement, boolean) - +Method in class org.apache.jmeter.gui.AbstractScopedJMeterGuiComponent +
Show the scope settings from the test element with variable scope +
showStoppingMessage(String) - +Method in class org.apache.jmeter.gui.MainFrame +
Show a dialog indicating that JMeter threads are stopping on a particular + host. +
showWarningMessage(String, String) - +Static method in class org.apache.jmeter.gui.GuiPackage +
  +
showWarnings() - +Method in class org.apache.jmeter.assertions.XPathAssertion +
  +
showWarnings() - +Method in class org.apache.jmeter.extractor.XPathExtractor +
  +
shutdown(List<String>) - +Method in class org.apache.jmeter.engine.DistributedRunner +
  +
ShutdownClient - Class in org.apache.jmeter.util
Simple utility to send a shutdown message to a non-GUI instance of JMeter
ShutdownClient() - +Constructor for class org.apache.jmeter.util.ShutdownClient +
  +
shutdownInput() - +Method in class org.apache.jmeter.util.SlowSSLSocket +
  +
shutdownOutput() - +Method in class org.apache.jmeter.util.SlowSSLSocket +
  +
SimpleConfigGui - Class in org.apache.jmeter.config.gui
Default config gui for Configuration Element.
SimpleConfigGui() - +Constructor for class org.apache.jmeter.config.gui.SimpleConfigGui +
Create a new standalone SimpleConfigGui. +
SimpleConfigGui(boolean) - +Constructor for class org.apache.jmeter.config.gui.SimpleConfigGui +
Create a new SimpleConfigGui as either a standalone or an embedded + component. +
SimpleDataWriter - Class in org.apache.jmeter.visualizers
This listener can record results to a file but not to the UI.
SimpleDataWriter() - +Constructor for class org.apache.jmeter.visualizers.SimpleDataWriter +
Create the SimpleDataWriter. +
SimpleVariable - Class in org.apache.jmeter.engine.util
 
SimpleVariable(String) - +Constructor for class org.apache.jmeter.engine.util.SimpleVariable +
  +
SimpleVariable() - +Constructor for class org.apache.jmeter.engine.util.SimpleVariable +
  +
size() - +Method in class org.apache.jmeter.functions.XPathFileContainer +
  +
size() - +Method in class org.apache.jmeter.protocol.http.control.HeaderManager +
Return the number of headers. +
size() - +Method in class org.apache.jmeter.testelement.property.CollectionProperty +
  +
size() - +Method in class org.apache.jorphan.collections.Data +
Gets the number of rows in the Data object. +
size() - +Method in class org.apache.jorphan.collections.HashTree +
Returns the number of top-level entries in the HashTree. +
SizeAssertion - Class in org.apache.jmeter.assertions
Checks if the results of a Sample matches a particular size.
SizeAssertion() - +Constructor for class org.apache.jmeter.assertions.SizeAssertion +
  +
SizeAssertionGui - Class in org.apache.jmeter.assertions.gui
GUI for SizeAssertion
SizeAssertionGui() - +Constructor for class org.apache.jmeter.assertions.gui.SizeAssertionGui +
Simple Constructor which initializes the gui component +
sizeColumns(JTable) - +Method in class org.apache.jmeter.config.gui.ArgumentsPanel +
Resize the table columns to appropriate widths. +
sizeColumns(JTable) - +Method in class org.apache.jmeter.protocol.http.gui.HTTPArgumentsPanel +
  +
SKIP_AUTO_NUMBER - +Static variable in class org.apache.jmeter.reporters.ResultSaver +
  +
SKIP_SUFFIX - +Static variable in class org.apache.jmeter.reporters.ResultSaver +
  +
skippedEntity(String) - +Method in class org.apache.jmeter.protocol.http.modifier.UserParameterXMLContentHandler +
  +
SleepTest - Class in org.apache.jmeter.protocol.java.test
The SleepTest class is a simple example class for a JMeter + Java protocol client.
SleepTest() - +Constructor for class org.apache.jmeter.protocol.java.test.SleepTest +
Default constructor for SleepTest. +
SlowHC4SocketFactory - Class in org.apache.jmeter.protocol.http.util
Apache HttpClient protocol factory to generate "slow" sockets for emulating dial-up modems
SlowHC4SocketFactory(int) - +Constructor for class org.apache.jmeter.protocol.http.util.SlowHC4SocketFactory +
Create a factory +
SlowHC4SSLSocketFactory - Class in org.apache.jmeter.protocol.http.util
Apache HttpClient protocol factory to generate "slow" SSL sockets for emulating dial-up modems
SlowHC4SSLSocketFactory(int) - +Constructor for class org.apache.jmeter.protocol.http.util.SlowHC4SSLSocketFactory +
Create a factory +
SlowHttpClientSocketFactory - Class in org.apache.jmeter.protocol.http.util
Commons HttpClient protocol factory to generate "slow" sockets for emulating dial-up modems
SlowHttpClientSocketFactory(int) - +Constructor for class org.apache.jmeter.protocol.http.util.SlowHttpClientSocketFactory +
  +
SlowInputStream - Class in org.apache.jmeter.util
InputStream wrapper to emulate a slow device, e.g. modem
SlowInputStream(InputStream, int) - +Constructor for class org.apache.jmeter.util.SlowInputStream +
Wraps the input stream to emulate a slow device +
SlowOutputStream - Class in org.apache.jmeter.util
OutputStream filter to emulate a slow device, e.g. modem
SlowOutputStream(OutputStream, int) - +Constructor for class org.apache.jmeter.util.SlowOutputStream +
Create wrapped Output Stream toe emulate the requested CPS. +
SlowSocket - Class in org.apache.jmeter.util
"Slow" (non-SSL) socket implementation to emulate dial-up modems etc
SlowSocket(int, String, int, InetAddress, int, int) - +Constructor for class org.apache.jmeter.util.SlowSocket +
  +
SlowSocket(int, String, int, InetAddress, int) - +Constructor for class org.apache.jmeter.util.SlowSocket +
  +
SlowSocket(int, String, int) - +Constructor for class org.apache.jmeter.util.SlowSocket +
  +
SlowSocket(int) - +Constructor for class org.apache.jmeter.util.SlowSocket +
Added for use by SlowHC4SocketFactory. +
SlowSSLSocket - Class in org.apache.jmeter.util
"Slow" SSLsocket implementation to emulate dial-up modems etc + + WARNING: the class relies on overriding all superclass methods in order to apply them to the input socket.
SlowSSLSocket(SSLSocket, int) - +Constructor for class org.apache.jmeter.util.SlowSSLSocket +
Wrap an SSLSocket with slow input and output streams +
SMIMEAssertionGui - Class in org.apache.jmeter.assertions.gui
 
SMIMEAssertionGui() - +Constructor for class org.apache.jmeter.assertions.gui.SMIMEAssertionGui +
  +
SMIMEAssertionTestElement - Class in org.apache.jmeter.assertions
 
SMIMEAssertionTestElement() - +Constructor for class org.apache.jmeter.assertions.SMIMEAssertionTestElement +
  +
SmtpPanel - Class in org.apache.jmeter.protocol.smtp.sampler.gui
Class to build gui-components for SMTP-sampler.
SmtpPanel() - +Constructor for class org.apache.jmeter.protocol.smtp.sampler.gui.SmtpPanel +
Creates new form SmtpPanel, standard constructer. +
SmtpSampler - Class in org.apache.jmeter.protocol.smtp.sampler
Sampler-Class for JMeter - builds, starts and interprets the results of the + sampler.
SmtpSampler() - +Constructor for class org.apache.jmeter.protocol.smtp.sampler.SmtpSampler +
  +
SmtpSamplerGui - Class in org.apache.jmeter.protocol.smtp.sampler.gui
Class to build superstructure-gui for SMTP-panel, sets/gets value for a JMeter's testElement-object (i.e. also for save/load-purposes).
SmtpSamplerGui() - +Constructor for class org.apache.jmeter.protocol.smtp.sampler.gui.SmtpSamplerGui +
Creates new SmtpSamplerGui, standard constructer. +
SO_LINGER - +Static variable in class org.apache.jmeter.protocol.tcp.sampler.TCPSampler +
  +
SO_TIMEOUT - +Static variable in class org.apache.jmeter.protocol.http.sampler.HTTPHCAbstractImpl +
  +
SOAP_ACTION - +Static variable in class org.apache.jmeter.protocol.http.sampler.SoapSampler +
  +
SoapSampler - Class in org.apache.jmeter.protocol.http.sampler
Commons HTTPClient based soap sampler
SoapSampler() - +Constructor for class org.apache.jmeter.protocol.http.sampler.SoapSampler +
  +
SoapSamplerGui - Class in org.apache.jmeter.protocol.http.control.gui
 
SoapSamplerGui() - +Constructor for class org.apache.jmeter.protocol.http.control.gui.SoapSamplerGui +
  +
SocketConnectionInfos - Class in org.apache.jmeter.visualizers.backend.graphite
Bean to embed host/port to Graphite
SocketConnectionInfos(String, int) - +Constructor for class org.apache.jmeter.visualizers.backend.graphite.SocketConnectionInfos +
  +
SocketOutputStream - Class in org.apache.jmeter.visualizers.backend.graphite
Convenience class for writing bytes to a Socket.
SocketOutputStream(InetSocketAddress) - +Constructor for class org.apache.jmeter.visualizers.backend.graphite.SocketOutputStream +
  +
SocketOutputStream(Socket) - +Constructor for class org.apache.jmeter.visualizers.backend.graphite.SocketOutputStream +
  +
SocketOutputStreamPoolFactory - Class in org.apache.jmeter.visualizers.backend.graphite
Pool Factory of SocketOutputStream
SocketOutputStreamPoolFactory(int, int) - +Constructor for class org.apache.jmeter.visualizers.backend.graphite.SocketOutputStreamPoolFactory +
  +
sort(String, boolean) - +Method in class org.apache.jorphan.collections.Data +
Sorts the data using a given row as the sorting criteria. +
SortedHashTree - Class in org.apache.jorphan.collections
SortedHashTree is a different implementation of the HashTree + collection class.
SortedHashTree() - +Constructor for class org.apache.jorphan.collections.SortedHashTree +
  +
SortedHashTree(Comparator<? super Object>) - +Constructor for class org.apache.jorphan.collections.SortedHashTree +
  +
SortedHashTree(Object) - +Constructor for class org.apache.jorphan.collections.SortedHashTree +
  +
SortedHashTree(Object, Comparator<? super Object>) - +Constructor for class org.apache.jorphan.collections.SortedHashTree +
  +
SortedHashTree(Collection<?>) - +Constructor for class org.apache.jorphan.collections.SortedHashTree +
  +
SortedHashTree(Collection<?>, Comparator<? super Object>) - +Constructor for class org.apache.jorphan.collections.SortedHashTree +
  +
SortedHashTree(Object[]) - +Constructor for class org.apache.jorphan.collections.SortedHashTree +
  +
SortedHashTree(Object[], Comparator<? super Object>) - +Constructor for class org.apache.jorphan.collections.SortedHashTree +
  +
SOURCE - +Variable in class org.apache.jmeter.protocol.http.util.accesslog.TCLogParser +
  +
SOURCE - +Static variable in class org.apache.jmeter.protocol.mongodb.sampler.MongoScriptSampler +
  +
source(String) - +Method in class org.apache.jmeter.util.BeanShellInterpreter +
  +
Spline3 - Class in org.apache.jmeter.visualizers
This class implements the representation of an interpolated Spline curve.
Spline3(float[]) - +Constructor for class org.apache.jmeter.visualizers.Spline3 +
Creates a new Spline curve by calculating the coefficients of each part + of the curve, i.e. by resolving the equation system implied by the + interpolation condition on every interval. +
SplineModel - Class in org.apache.jmeter.visualizers
 
SplineModel() - +Constructor for class org.apache.jmeter.visualizers.SplineModel +
  +
SplineVisualizer - Class in org.apache.jmeter.visualizers
This class implements a statistical analyser that takes samples to process a + Spline interpolated curve.
SplineVisualizer() - +Constructor for class org.apache.jmeter.visualizers.SplineVisualizer +
  +
SplineVisualizer.SplineGraph - Class in org.apache.jmeter.visualizers
Component showing a Spline curve.
SplineVisualizer.SplineGraph() - +Constructor for class org.apache.jmeter.visualizers.SplineVisualizer.SplineGraph +
  +
split(String, String, boolean) - +Static method in class org.apache.jorphan.util.JOrphanUtils +
This is _almost_ equivalent to the String.split method in JDK 1.4. +
split(String, String) - +Static method in class org.apache.jorphan.util.JOrphanUtils +
  +
split(String, String, String) - +Static method in class org.apache.jorphan.util.JOrphanUtils +
Takes a String and a tokenizer character string, and returns a new array of + strings of the string split by the tokenizer character(s). +
SplitFunction - Class in org.apache.jmeter.functions
Function to split a string into variables + + Parameters: + + String to split + Variable name prefix + String to split on (optional, default is comma) + + + Returns: the input string + + Also sets the variables: + + VARNAME - the input string + VARNAME_n - number of fields found + VARNAME_1..n - fields +
SplitFunction() - +Constructor for class org.apache.jmeter.functions.SplitFunction +
  +
SSL_MANAGER - +Static variable in class org.apache.jmeter.gui.action.ActionNames +
  +
SSL_MANAGER - +Static variable in class org.apache.jmeter.gui.action.KeyStrokes +
  +
SSL_TRUST_ALL_CERTS - +Static variable in class org.apache.jmeter.protocol.smtp.sampler.gui.SecuritySettingsPanel +
  +
SSLManager - Class in org.apache.jmeter.util
The SSLManager handles the KeyStore information for JMeter.
SSLManager() - +Constructor for class org.apache.jmeter.util.SSLManager +
Protected Constructor to remove the possibility of directly instantiating + this object. +
SSLManagerCommand - Class in org.apache.jmeter.gui.action
SSL Manager Command.
SSLManagerCommand() - +Constructor for class org.apache.jmeter.gui.action.SSLManagerCommand +
  +
STAGE - +Static variable in class org.apache.jmeter.monitor.parser.Constants +
  +
StandardGenerator - Class in org.apache.jmeter.protocol.http.util.accesslog
Description:
+
+ StandardGenerator will be the default generator used to pre-process logs.
StandardGenerator() - +Constructor for class org.apache.jmeter.protocol.http.util.accesslog.StandardGenerator +
The constructor is used by GUI and samplers to generate request objects. +
StandardGenerator(String) - +Constructor for class org.apache.jmeter.protocol.http.util.accesslog.StandardGenerator +
  +
StandardJMeterEngine - Class in org.apache.jmeter.engine
Runs JMeter tests, either directly for local GUI and non-GUI invocations, + or started by RemoteJMeterEngineImpl when running in server mode.
StandardJMeterEngine() - +Constructor for class org.apache.jmeter.engine.StandardJMeterEngine +
  +
StandardJMeterEngine(String) - +Constructor for class org.apache.jmeter.engine.StandardJMeterEngine +
  +
StandardSampleSender - Class in org.apache.jmeter.samplers
Default behaviour for remote testing.
StandardSampleSender() - +Constructor for class org.apache.jmeter.samplers.StandardSampleSender +
Deprecated. only for use by test code +
start(List<String>) - +Method in class org.apache.jmeter.engine.DistributedRunner +
Starts a remote testing engines +
start() - +Method in class org.apache.jmeter.engine.DistributedRunner +
Start all engines that were previously initiated +
Start - Class in org.apache.jmeter.gui.action
 
Start() - +Constructor for class org.apache.jmeter.gui.action.Start +
Constructor for the Start object. +
start(String[]) - +Method in class org.apache.jmeter.JMeter +
Takes the command line arguments and uses them to determine how to + startup JMeter. +
start() - +Method in class org.apache.jmeter.protocol.jms.client.ReceiveSubscriber +
Calls Connection.start() to begin receiving inbound messages. +
start(int, ListenerNotifier, ListedHashTree, StandardJMeterEngine) - +Method in class org.apache.jmeter.threads.AbstractThreadGroup +
  +
start(int, ListenerNotifier, ListedHashTree, StandardJMeterEngine) - +Method in class org.apache.jmeter.threads.ThreadGroup +
  +
START_TIME - +Static variable in class org.apache.jmeter.threads.ThreadGroup +
Scheduler absolute start time +
startCellEditing(EventObject) - +Method in class org.apache.jmeter.gui.util.TextAreaTableCellEditor.EditorDelegate +
Returns true to indicate that editing has begun. +
startDocument() - +Method in class org.apache.jmeter.monitor.parser.MonitorHandler +
  +
startDocument() - +Method in class org.apache.jmeter.protocol.http.modifier.UserParameterXMLContentHandler +
  +
startedThreads - +Variable in class org.apache.jmeter.threads.JMeterContextService.ThreadCounts +
  +
startElement(String, String, String, Attributes) - +Method in class org.apache.jmeter.monitor.parser.MonitorHandler +
Receive notification of the start of an element. +
startElement(String, String, String, Attributes) - +Method in class org.apache.jmeter.protocol.http.modifier.UserParameterXMLContentHandler +
  +
startHandshake() - +Method in class org.apache.jmeter.util.SlowSSLSocket +
  +
startHttpMirror() - +Method in class org.apache.jmeter.protocol.http.control.HttpMirrorControl +
  +
startNextLoop() - +Method in class org.apache.jmeter.control.LoopController +
Start next iteration +
startNextLoop() - +Method in class org.apache.jmeter.threads.AbstractThreadGroup +
Start next iteration after an error +
startPrefixMapping(String, String) - +Method in class org.apache.jmeter.protocol.http.modifier.UserParameterXMLContentHandler +
  +
startProperty(JMeterProperty) - +Method in interface org.apache.jmeter.testelement.TestElementTraverser +
Notification that a property is starting. +
startProxy() - +Method in class org.apache.jmeter.protocol.http.proxy.ProxyControl +
  +
startServer(int) - +Static method in class org.apache.jmeter.engine.RemoteJMeterEngineImpl +
  +
startsWith(byte[], byte[], int) - +Static method in class org.apache.jorphan.util.JOrphanUtils +
Check if a byte array starts with the given byte array. +
startTest() - +Static method in class org.apache.jmeter.threads.JMeterContextService +
Method is called by the JMeterEngine class when a test run is started. +
startTestElement(TestElement) - +Method in interface org.apache.jmeter.testelement.TestElementTraverser +
Notification that a new test element is about to be traversed. +
StatCalculator<T extends Number & Comparable<? super T>> - Class in org.apache.jorphan.math
This class serves as a way to calculate the median, max, min etc. of a list of values.
StatCalculator(T, T, T) - +Constructor for class org.apache.jorphan.math.StatCalculator +
This constructor is used to set up particular values for the generic class instance. +
StatCalculatorInteger - Class in org.apache.jorphan.math
StatCalculator for Integer values
StatCalculatorInteger() - +Constructor for class org.apache.jorphan.math.StatCalculatorInteger +
  +
StatCalculatorLong - Class in org.apache.jorphan.math
StatCalculator for Long values
StatCalculatorLong() - +Constructor for class org.apache.jorphan.math.StatCalculatorLong +
  +
stateChanged(ChangeEvent) - +Method in class org.apache.jmeter.functions.gui.FunctionHelper +
  +
stateChanged(ChangeEvent) - +Method in class org.apache.jmeter.gui.action.SelectTemplatesDialog +
  +
stateChanged(ChangeEvent) - +Method in class org.apache.jmeter.protocol.http.config.gui.UrlConfigGui +
  +
stateChanged(ChangeEvent) - +Method in class org.apache.jmeter.protocol.java.control.gui.JUnitTestSamplerGui +
the current implementation checks to see if the source + of the event is the filterpkg field. +
stateChanged(ChangeEvent) - +Method in class org.apache.jmeter.protocol.jms.control.gui.JMSPublisherGui +
When a widget state changes, it will notify this class so we can + enable/disable the correct items. +
stateChanged(ChangeEvent) - +Method in class org.apache.jmeter.protocol.jms.control.gui.JMSSubscriberGui +
When the state of a widget changes, it will notify the gui. the method + then enables or disables certain parameters. +
stateChanged(ChangeEvent) - +Method in class org.apache.jmeter.visualizers.gui.AbstractVisualizer +
Invoked when the target of the listener has changed its state. +
stateChanged(ChangeEvent) - +Method in class org.apache.jmeter.visualizers.MailerVisualizer +
Invoked when the target of the listener has changed its state. +
StatGraphProperties - Class in org.apache.jmeter.visualizers
 
StatGraphProperties() - +Constructor for class org.apache.jmeter.visualizers.StatGraphProperties +
  +
StatGraphVisualizer - Class in org.apache.jmeter.visualizers
Aggregrate Table-Based Reporting Visualizer for JMeter.
StatGraphVisualizer() - +Constructor for class org.apache.jmeter.visualizers.StatGraphVisualizer +
  +
staticConfig() - +Static method in class org.apache.jmeter.samplers.SampleSaveConfiguration +
  +
StatisticalSampleResult - Class in org.apache.jmeter.samplers
Aggregates sample results for use by the Statistical remote batch mode.
StatisticalSampleResult() - +Constructor for class org.apache.jmeter.samplers.StatisticalSampleResult +
  +
StatisticalSampleResult(long, long) - +Constructor for class org.apache.jmeter.samplers.StatisticalSampleResult +
Deprecated. Needs to be replaced when multiple sample results are sorted out +
StatisticalSampleResult(SampleResult) - +Constructor for class org.apache.jmeter.samplers.StatisticalSampleResult +
Create a statistical sample result from an ordinary sample result. +
StatisticalSampleResult(SampleResult, boolean) - +Constructor for class org.apache.jmeter.samplers.StatisticalSampleResult +
Deprecated. no longer necessary; use StatisticalSampleResult.StatisticalSampleResult(SampleResult) instead +
StatisticalSampleSender - Class in org.apache.jmeter.samplers
Implements batch reporting for remote testing.
StatisticalSampleSender() - +Constructor for class org.apache.jmeter.samplers.StatisticalSampleSender +
Deprecated. only for use by test code +
Stats - Class in org.apache.jmeter.monitor.util
Description: + + Stats is responsible for calculating the load and health of a given server.
Stats() - +Constructor for class org.apache.jmeter.monitor.util.Stats +
  +
Status - Interface in org.apache.jmeter.monitor.model
 
STATUS - +Static variable in class org.apache.jmeter.monitor.parser.Constants +
  +
StatusImpl - Class in org.apache.jmeter.monitor.model
 
StatusImpl() - +Constructor for class org.apache.jmeter.monitor.model.StatusImpl +
  +
StatVisualizer - Class in org.apache.jmeter.visualizers
Aggregrate Table-Based Reporting Visualizer for JMeter.
StatVisualizer() - +Constructor for class org.apache.jmeter.visualizers.StatVisualizer +
  +
stop(List<String>) - +Method in class org.apache.jmeter.engine.DistributedRunner +
  +
stop() - +Method in class org.apache.jmeter.engine.DistributedRunner +
Stop all engines that were previously initiated +
stop() - +Method in class org.apache.jmeter.protocol.jms.client.ReceiveSubscriber +
Calls Connection.stop() to stop receiving inbound messages. +
STOP - +Static variable in class org.apache.jmeter.sampler.TestAction +
  +
stop() - +Method in class org.apache.jmeter.threads.AbstractThreadGroup +
  +
stop() - +Method in class org.apache.jmeter.threads.JMeterThread +
  +
stop() - +Method in class org.apache.jmeter.threads.ThreadGroup +
For each thread, invoke: + + JMeterThread.stop() - set stop flag + +
STOP_NOW - +Static variable in class org.apache.jmeter.sampler.TestAction +
  +
STOP_THREAD - +Static variable in class org.apache.jmeter.gui.action.ActionNames +
  +
stopCellEditing() - +Method in class org.apache.jmeter.gui.util.TextAreaTableCellEditor.EditorDelegate +
Stops editing and returns true to indicate that editing has stopped. +
stopCellEditing() - +Method in class org.apache.jmeter.gui.util.TextAreaTableCellEditor +
Forwards the message from the CellEditor to the + delegate. +
stopEngine() - +Static method in class org.apache.jmeter.engine.StandardJMeterEngine +
  +
stopEngineNow() - +Static method in class org.apache.jmeter.engine.StandardJMeterEngine +
  +
stopHttpMirror() - +Method in class org.apache.jmeter.protocol.http.control.HttpMirrorControl +
  +
Stoppable - Interface in org.apache.jmeter.gui
Interface that identifies processes to stop on close or load of new project files
stopProxy() - +Method in class org.apache.jmeter.protocol.http.proxy.ProxyControl +
  +
stopServer() - +Method in interface org.apache.jmeter.gui.Stoppable +
Stop server +
stopServer() - +Method in class org.apache.jmeter.protocol.http.control.HttpMirrorServer +
  +
stopServer() - +Method in class org.apache.jmeter.protocol.http.proxy.Daemon +
Stop the proxy daemon. +
StopStoppables - Class in org.apache.jmeter.gui.action
Stops stopables (Proxy, Mirror)
StopStoppables() - +Constructor for class org.apache.jmeter.gui.action.StopStoppables +
  +
stopTableEditing() - +Method in class org.apache.jmeter.config.gui.ArgumentsPanel +
Stop any editing that is currently being done on the table. +
stopTableEditing() - +Method in class org.apache.jmeter.config.gui.SimpleConfigGui +
Stop any editing that is currently being done on the table. +
stopTableEditing() - +Method in class org.apache.jmeter.protocol.http.gui.HTTPFileArgsPanel +
Stop any editing that is currently being done on the table. +
stopTableEditing(JTable) - +Static method in class org.apache.jorphan.gui.GuiUtils +
Stop any editing that is currently being done on the table. +
stopTest(boolean) - +Method in class org.apache.jmeter.engine.ClientJMeterEngine +
+
stopTest(boolean) - +Method in interface org.apache.jmeter.engine.JMeterEngine +
  +
stopTest() - +Method in class org.apache.jmeter.engine.StandardJMeterEngine +
  +
stopTest(boolean) - +Method in class org.apache.jmeter.engine.StandardJMeterEngine +
  +
stopThread(String) - +Static method in class org.apache.jmeter.engine.StandardJMeterEngine +
  +
stopThread(String, boolean) - +Method in class org.apache.jmeter.threads.AbstractThreadGroup +
  +
stopThread(String, boolean) - +Method in class org.apache.jmeter.threads.ThreadGroup +
Stop thread called threadName: + + stop JMeter thread + interrupt JMeter thread + interrupt underlying thread + +
stopThreadNow(String) - +Static method in class org.apache.jmeter.engine.StandardJMeterEngine +
  +
storeSubResult(SampleResult) - +Method in class org.apache.jmeter.samplers.SampleResult +
Add a subresult read from a results file. +
StringFromFile - Class in org.apache.jmeter.functions
StringFromFile Function to read a String from a text file.
StringFromFile() - +Constructor for class org.apache.jmeter.functions.StringFromFile +
  +
StringProperty - Class in org.apache.jmeter.testelement.property
 
StringProperty(String, String) - +Constructor for class org.apache.jmeter.testelement.property.StringProperty +
  +
StringProperty() - +Constructor for class org.apache.jmeter.testelement.property.StringProperty +
  +
StringPropertyConverter - Class in org.apache.jmeter.save.converters
 
StringPropertyConverter() - +Constructor for class org.apache.jmeter.save.converters.StringPropertyConverter +
  +
StringUtilities - Class in org.apache.jmeter.util
 
stripFile(String, TestElement) - +Method in class org.apache.jmeter.protocol.http.util.accesslog.TCLogParser +
Tokenize the URL into two tokens. +
strokeWidth - +Variable in class org.apache.jmeter.visualizers.RespTimeGraphChart +
  +
strokeWidth - +Static variable in class org.apache.jmeter.visualizers.StatGraphProperties +
  +
STYLESHEET - +Static variable in class org.apache.jmeter.protocol.http.parser.HTMLParser +
  +
SUB_TREE_LOADED - +Static variable in class org.apache.jmeter.gui.action.ActionNames +
  +
SUB_TREE_MERGED - +Static variable in class org.apache.jmeter.gui.action.ActionNames +
  +
SUB_TREE_SAVED - +Static variable in class org.apache.jmeter.gui.action.ActionNames +
  +
subControllersAndSamplers - +Variable in class org.apache.jmeter.control.GenericController +
  +
SUBJECT - +Static variable in class org.apache.jmeter.protocol.smtp.sampler.SmtpSampler +
  +
SubscriberSampler - Class in org.apache.jmeter.protocol.jms.sampler
This class implements the JMS Subscriber sampler.
SubscriberSampler() - +Constructor for class org.apache.jmeter.protocol.jms.sampler.SubscriberSampler +
  +
SUBSTITUTE - +Static variable in class org.apache.jmeter.assertions.SubstitutionElement +
  +
substitute(String, String, String) - +Static method in class org.apache.jmeter.util.StringUtilities +
Replace all patterns in a String +
substitute(String, String, String) - +Static method in class org.apache.jorphan.util.JOrphanUtils +
Replace all patterns in a String +
SubstitutionElement - Class in org.apache.jmeter.assertions
 
SubstitutionElement() - +Constructor for class org.apache.jmeter.assertions.SubstitutionElement +
  +
subtractNode() - +Method in class org.apache.jmeter.engine.ConvertListeners +
Indicates traversal has moved up a step, and the visitor should remove + the top node from its stack structure. +
subtractNode() - +Method in class org.apache.jmeter.engine.PreCompiler +
Indicates traversal has moved up a step, and the visitor should remove + the top node from its stack structure. +
subtractNode() - +Method in class org.apache.jmeter.engine.TreeCloner +
  +
subtractNode() - +Method in class org.apache.jmeter.engine.TurnElementsOn +
Indicates traversal has moved up a step, and the visitor should remove + the top node from its stack structure. +
subtractNode() - +Method in class org.apache.jmeter.gui.action.CheckDirty +
Indicates traversal has moved up a step, and the visitor should remove + the top node from it's stack structure. +
subtractNode() - +Method in class org.apache.jmeter.threads.FindTestElementsUpToRootTraverser +
Indicates traversal has moved up a step, and the visitor should remove + the top node from its stack structure. +
subtractNode() - +Method in class org.apache.jmeter.threads.TestCompiler +
Indicates traversal has moved up a step, and the visitor should remove + the top node from its stack structure. +
subtractNode() - +Method in interface org.apache.jorphan.collections.HashTreeTraverser +
Indicates traversal has moved up a step, and the visitor should remove + the top node from its stack structure. +
subtractNode() - +Method in class org.apache.jorphan.collections.SearchByClass +
Indicates traversal has moved up a step, and the visitor should remove + the top node from its stack structure. +
SUCCESS_ONLY - +Static variable in class org.apache.jmeter.reporters.ResultSaver +
  +
Summariser - Class in org.apache.jmeter.reporters
Generate a summary of the test run so far to the log file and/or standard + output.
Summariser() - +Constructor for class org.apache.jmeter.reporters.Summariser +
  +
Summariser(String) - +Constructor for class org.apache.jmeter.reporters.Summariser +
Constructor for use during startup (intended for non-GUI use) +
SummariserGui - Class in org.apache.jmeter.reporters.gui
Create a summariser test element GUI.
SummariserGui() - +Constructor for class org.apache.jmeter.reporters.gui.SummariserGui +
  +
SummaryReport - Class in org.apache.jmeter.visualizers
Simpler (lower memory) version of Aggregate Report (StatVisualizer).
SummaryReport() - +Constructor for class org.apache.jmeter.visualizers.SummaryReport +
  +
SUPPORTS_HOST_CERT - +Static variable in class org.apache.jorphan.exec.KeyToolUtils +
Does this class support generation of host certificates? +
supportsCustomEditor() - +Method in class org.apache.jmeter.testbeans.gui.FileEditor +
  +
supportsCustomEditor() - +Method in class org.apache.jmeter.testbeans.gui.PasswordEditor +
  +
supportsCustomEditor() - +Method in class org.apache.jmeter.testbeans.gui.TableEditor +
  +
supportsCustomEditor() - +Method in class org.apache.jmeter.testbeans.gui.TextAreaEditor +
+
SUPPRESS_SUBJECT - +Static variable in class org.apache.jmeter.protocol.smtp.sampler.SmtpSampler +
  +
SwitchController - Class in org.apache.jmeter.control
+ Implements a controller which selects at most one of its children + based on the condition value, which may be a number or a string.
SwitchController() - +Constructor for class org.apache.jmeter.control.SwitchController +
  +
SwitchControllerGui - Class in org.apache.jmeter.control.gui
 
SwitchControllerGui() - +Constructor for class org.apache.jmeter.control.gui.SwitchControllerGui +
  +
SynchronousTransportListener - Class in org.apache.jmeter.protocol.smtp.sampler.protocol
This class implements a listener for SMTP events and a monitor for all + threads sending mail.
SynchronousTransportListener() - +Constructor for class org.apache.jmeter.protocol.smtp.sampler.protocol.SynchronousTransportListener +
Creates a new instance of SynchronousTransportListener +
SyncTimer - Class in org.apache.jmeter.timers
The purpose of the SyncTimer is to block threads until X number of threads + have been blocked, and then they are all released at once.
SyncTimer() - +Constructor for class org.apache.jmeter.timers.SyncTimer +
  +
SyncTimerBeanInfo - Class in org.apache.jmeter.timers
 
SyncTimerBeanInfo() - +Constructor for class org.apache.jmeter.timers.SyncTimerBeanInfo +
  +
SYSTEM_LAF - +Static variable in class org.apache.jmeter.gui.util.JMeterMenuBar +
  +
SystemCommand - Class in org.apache.jorphan.exec
Utility class for invoking native system applications
SystemCommand(File, Map<String, String>) - +Constructor for class org.apache.jorphan.exec.SystemCommand +
  +
SystemCommand(File, long, int, Map<String, String>, String, String, String) - +Constructor for class org.apache.jorphan.exec.SystemCommand +
  +
SystemCommand(File, long, int, Map<String, String>, InputStream, OutputStream, OutputStream) - +Constructor for class org.apache.jorphan.exec.SystemCommand +
  +
SystemSampler - Class in org.apache.jmeter.protocol.system
A sampler for executing a System function.
SystemSampler() - +Constructor for class org.apache.jmeter.protocol.system.SystemSampler +
Create a SystemSampler. +
SystemSamplerGui - Class in org.apache.jmeter.protocol.system.gui
GUI for SystemSampler
SystemSamplerGui() - +Constructor for class org.apache.jmeter.protocol.system.gui.SystemSamplerGui +
Constructor for JavaTestSamplerGui +
+
+

+T

+
+
tableChanged(TableModelEvent) - +Method in class org.apache.jmeter.testbeans.gui.TableEditor +
  +
TableEditor - Class in org.apache.jmeter.testbeans.gui
Table editor for TestBean GUI properties.
TableEditor() - +Constructor for class org.apache.jmeter.testbeans.gui.TableEditor +
  +
tableModel - +Variable in class org.apache.jmeter.config.gui.ArgumentsPanel +
The model for the arguments table. +
tableModel - +Variable in class org.apache.jmeter.visualizers.PropertyControlGui +
The model for the arguments table. +
TableSample - Class in org.apache.jmeter.visualizers
Class to hold data for the TableVisualiser.
TableSample() - +Constructor for class org.apache.jmeter.visualizers.TableSample +
Deprecated. for unit test code only +
TableSample(long, int, long, String, String, long, boolean, long, long, long) - +Constructor for class org.apache.jmeter.visualizers.TableSample +
  +
TableVisualizer - Class in org.apache.jmeter.visualizers
This class implements a statistical analyser that calculates both the average + and the standard deviation of the sampling process.
TableVisualizer() - +Constructor for class org.apache.jmeter.visualizers.TableVisualizer +
Constructor for the TableVisualizer object. +
TableVisualizer.SampleSuccessFunctor - Class in org.apache.jmeter.visualizers
 
TableVisualizer.SampleSuccessFunctor(String) - +Constructor for class org.apache.jmeter.visualizers.TableVisualizer.SampleSuccessFunctor +
  +
tag(String, String) - +Method in class org.apache.jorphan.util.XMLBuffer +
Add a complete tag with content. +
tag(String, StringBuilder) - +Method in class org.apache.jorphan.util.XMLBuffer +
Add a complete tag with content. +
TAG_APPLET - +Static variable in class org.apache.jmeter.protocol.http.parser.HTMLParser +
  +
TAG_BASE - +Static variable in class org.apache.jmeter.protocol.http.parser.HTMLParser +
  +
TAG_BGSOUND - +Static variable in class org.apache.jmeter.protocol.http.parser.HTMLParser +
  +
TAG_BODY - +Static variable in class org.apache.jmeter.protocol.http.parser.HTMLParser +
  +
TAG_COOKIES - +Static variable in class org.apache.jmeter.save.converters.SampleResultConverter +
  +
TAG_EMBED - +Static variable in class org.apache.jmeter.protocol.http.parser.HTMLParser +
  +
TAG_FRAME - +Static variable in class org.apache.jmeter.protocol.http.parser.HTMLParser +
  +
TAG_IFRAME - +Static variable in class org.apache.jmeter.protocol.http.parser.HTMLParser +
  +
TAG_IMAGE - +Static variable in class org.apache.jmeter.protocol.http.parser.HTMLParser +
  +
TAG_INPUT - +Static variable in class org.apache.jmeter.protocol.http.parser.HTMLParser +
  +
TAG_LINK - +Static variable in class org.apache.jmeter.protocol.http.parser.HTMLParser +
  +
TAG_METHOD - +Static variable in class org.apache.jmeter.save.converters.SampleResultConverter +
  +
TAG_OBJECT - +Static variable in class org.apache.jmeter.protocol.http.parser.HTMLParser +
  +
TAG_QUERY_STRING - +Static variable in class org.apache.jmeter.save.converters.SampleResultConverter +
  +
TAG_REDIRECT_LOCATION - +Static variable in class org.apache.jmeter.save.converters.SampleResultConverter +
  +
TAG_REQUEST_HEADER - +Static variable in class org.apache.jmeter.save.converters.SampleResultConverter +
  +
TAG_RESPONSE_DATA - +Static variable in class org.apache.jmeter.save.converters.SampleResultConverter +
  +
TAG_RESPONSE_FILE - +Static variable in class org.apache.jmeter.save.converters.SampleResultConverter +
  +
TAG_RESPONSE_HEADER - +Static variable in class org.apache.jmeter.save.converters.SampleResultConverter +
  +
TAG_SAMPLER_DATA - +Static variable in class org.apache.jmeter.save.converters.SampleResultConverter +
  +
TAG_SCRIPT - +Static variable in class org.apache.jmeter.protocol.http.parser.HTMLParser +
  +
TAGS - +Static variable in class org.apache.jmeter.testbeans.BeanInfoSupport +
  +
TAGS - +Static variable in class org.apache.jmeter.testbeans.gui.GenericTestBeanCustomizer +
Array of permissible values. +
TCLogParser - Class in org.apache.jmeter.protocol.http.util.accesslog
Description:
+
+ Currently the parser only handles GET/POST requests.
TCLogParser() - +Constructor for class org.apache.jmeter.protocol.http.util.accesslog.TCLogParser +
  +
TCLogParser(String) - +Constructor for class org.apache.jmeter.protocol.http.util.accesslog.TCLogParser +
  +
TCPClient - Interface in org.apache.jmeter.protocol.tcp.sampler
Interface required by TCPSampler for TCPClient implementations.
tcpClient - +Variable in class org.apache.jmeter.protocol.tcp.sampler.TCPClientDecorator +
  +
TCPClientDecorator - Class in org.apache.jmeter.protocol.tcp.sampler
 
TCPClientDecorator(TCPClient) - +Constructor for class org.apache.jmeter.protocol.tcp.sampler.TCPClientDecorator +
  +
TCPClientImpl - Class in org.apache.jmeter.protocol.tcp.sampler
Sample TCPClient implementation.
TCPClientImpl() - +Constructor for class org.apache.jmeter.protocol.tcp.sampler.TCPClientImpl +
  +
TCPConfigGui - Class in org.apache.jmeter.protocol.tcp.config.gui
 
TCPConfigGui() - +Constructor for class org.apache.jmeter.protocol.tcp.config.gui.TCPConfigGui +
  +
TCPConfigGui(boolean) - +Constructor for class org.apache.jmeter.protocol.tcp.config.gui.TCPConfigGui +
  +
TCPSampler - Class in org.apache.jmeter.protocol.tcp.sampler
A sampler which understands Tcp requests.
TCPSampler() - +Constructor for class org.apache.jmeter.protocol.tcp.sampler.TCPSampler +
  +
TCPSamplerGui - Class in org.apache.jmeter.protocol.tcp.control.gui
 
TCPSamplerGui() - +Constructor for class org.apache.jmeter.protocol.tcp.control.gui.TCPSamplerGui +
  +
teardownTest(JavaSamplerContext) - +Method in class org.apache.jmeter.protocol.java.sampler.AbstractJavaSamplerClient +
  +
teardownTest(JavaSamplerContext) - +Method in interface org.apache.jmeter.protocol.java.sampler.JavaSamplerClient +
Do any clean-up required by this test at the end of a test run. +
teardownTest() - +Method in class org.apache.jmeter.protocol.tcp.sampler.AbstractTCPClient +
Versions of JMeter after 2.3.2 invoke this method when the thread ends. +
teardownTest() - +Method in interface org.apache.jmeter.protocol.tcp.sampler.TCPClient +
Versions of JMeter after 2.3.2 invoke this method when the thread ends. +
teardownTest(BackendListenerContext) - +Method in class org.apache.jmeter.visualizers.backend.AbstractBackendListenerClient +
  +
teardownTest(BackendListenerContext) - +Method in interface org.apache.jmeter.visualizers.backend.BackendListenerClient +
Do any clean-up required at the end of a test run. +
teardownTest(BackendListenerContext) - +Method in class org.apache.jmeter.visualizers.backend.graphite.GraphiteBackendListenerClient +
  +
tellThreadsToStop() - +Method in class org.apache.jmeter.threads.AbstractThreadGroup +
  +
tellThreadsToStop() - +Method in class org.apache.jmeter.threads.ThreadGroup +
For each thread, invoke: + + JMeterThread.stop() - set stop flag + JMeterThread.interrupt() - interrupt sampler + Thread.interrupt() - interrupt JVM thread + +
Template - Class in org.apache.jmeter.gui.action.template
Template Bean
Template() - +Constructor for class org.apache.jmeter.gui.action.template.Template +
  +
TemplateManager - Class in org.apache.jmeter.gui.action.template
Manages Test Plan templates
TEMPLATES - +Static variable in class org.apache.jmeter.gui.action.ActionNames +
  +
TemplatesCommand - Class in org.apache.jmeter.gui.action
Open Templates
TemplatesCommand() - +Constructor for class org.apache.jmeter.gui.action.TemplatesCommand +
  +
TemporaryQueueExecutor - Class in org.apache.jmeter.protocol.jms.sampler
Request/reply executor with a temporary reply queue.
TemporaryQueueExecutor(QueueSession, Queue) - +Constructor for class org.apache.jmeter.protocol.jms.sampler.TemporaryQueueExecutor +
Constructor. +
TEST - +Static variable in class org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler +
  +
TEST - +Static variable in class org.apache.jmeter.protocol.ldap.sampler.LDAPSampler +
  +
TEST - +Static variable in class org.apache.jmeter.sampler.TestAction +
  +
TEST_CLASS - +Static variable in interface org.apache.jmeter.testelement.TestElement +
  +
TEST_CLASS_NAME - +Static variable in class org.apache.jmeter.save.SaveService +
  +
TestAction - Class in org.apache.jmeter.sampler
Dummy Sampler used to pause or stop a thread or the test; + intended for use in Conditional Controllers.
TestAction() - +Constructor for class org.apache.jmeter.sampler.TestAction +
  +
TestActionGui - Class in org.apache.jmeter.sampler.gui
 
TestActionGui() - +Constructor for class org.apache.jmeter.sampler.gui.TestActionGui +
  +
TestBean - Interface in org.apache.jmeter.testbeans
Marker interface to tell JMeter to make a Test Bean Gui for the class.
TestBeanBeanInfo - Class in org.apache.jmeter.testbeans
This is the BeanInfo object for the TestBean class.
TestBeanBeanInfo() - +Constructor for class org.apache.jmeter.testbeans.TestBeanBeanInfo +
  +
TestBeanGUI - Class in org.apache.jmeter.testbeans.gui
JMeter GUI element editing for TestBean elements.
TestBeanGUI() - +Constructor for class org.apache.jmeter.testbeans.gui.TestBeanGUI +
Deprecated. Dummy for JUnit test purposes only +
TestBeanGUI(Class<?>) - +Constructor for class org.apache.jmeter.testbeans.gui.TestBeanGUI +
  +
TestBeanHelper - Class in org.apache.jmeter.testbeans
This is an experimental class.
TestBeanHelper() - +Constructor for class org.apache.jmeter.testbeans.TestBeanHelper +
  +
TestBeanPropertyEditor - Interface in org.apache.jmeter.testbeans.gui
 
TestCloneable - Interface in org.apache.jmeter.testelement
 
TestCompiler - Class in org.apache.jmeter.threads
HashTreeTraverser implementation that traverses the Test Tree to build: + + A map with key Sampler and as value the associated SamplePackage + A map with key TransactionController and as value the associated SamplePackage +
TestCompiler(HashTree) - +Constructor for class org.apache.jmeter.threads.TestCompiler +
  +
TestCompilerHelper - Interface in org.apache.jmeter.threads
Bug 53796 - TestCompiler uses static Set which can grow huge + + This interface is a means to allow the pair data to be saved with the parent + instance, thus allowing it to be garbage collected when the thread completes.
testElement - +Variable in class org.apache.jmeter.protocol.http.sampler.HTTPAbstractImpl +
  +
TestElement - Interface in org.apache.jmeter.testelement
 
TestElementConverter - Class in org.apache.jmeter.save.converters
 
TestElementConverter(Mapper) - +Constructor for class org.apache.jmeter.save.converters.TestElementConverter +
  +
TestElementProperty - Class in org.apache.jmeter.testelement.property
 
TestElementProperty(String, TestElement) - +Constructor for class org.apache.jmeter.testelement.property.TestElementProperty +
  +
TestElementProperty() - +Constructor for class org.apache.jmeter.testelement.property.TestElementProperty +
  +
TestElementPropertyConverter - Class in org.apache.jmeter.save.converters
 
TestElementPropertyConverter(Mapper) - +Constructor for class org.apache.jmeter.save.converters.TestElementPropertyConverter +
  +
TestElementTraverser - Interface in org.apache.jmeter.testelement
For traversing Test Elements, which contain property that can be other test + elements, strings, collections, maps, objects
testEnded() - +Method in class org.apache.jmeter.config.KeystoreConfig +
  +
testEnded(String) - +Method in class org.apache.jmeter.config.KeystoreConfig +
  +
testEnded() - +Method in class org.apache.jmeter.control.CriticalSectionController +
  +
testEnded(String) - +Method in class org.apache.jmeter.control.CriticalSectionController +
  +
testEnded() - +Method in class org.apache.jmeter.control.ThroughputController +
  +
testEnded(String) - +Method in class org.apache.jmeter.control.ThroughputController +
  +
testEnded() - +Method in class org.apache.jmeter.functions.StringFromFile +
+ Called once for all threads after the end of a test. +
testEnded(String) - +Method in class org.apache.jmeter.functions.StringFromFile +
+ Called once for all threads after the end of a test. +
testEnded() - +Method in class org.apache.jmeter.gui.MainFrame +
Called when a test is ended on the local system. +
testEnded(String) - +Method in class org.apache.jmeter.gui.MainFrame +
Called when a test is ended on the remote system. +
testEnded() - +Method in class org.apache.jmeter.protocol.http.control.AuthManager +
+ Called once for all threads after the end of a test. +
testEnded(String) - +Method in class org.apache.jmeter.protocol.http.control.AuthManager +
+ Called once for all threads after the end of a test. +
testEnded() - +Method in class org.apache.jmeter.protocol.http.control.CacheManager +
  +
testEnded(String) - +Method in class org.apache.jmeter.protocol.http.control.CacheManager +
  +
testEnded() - +Method in class org.apache.jmeter.protocol.http.control.CookieManager +
+ Called once for all threads after the end of a test. +
testEnded(String) - +Method in class org.apache.jmeter.protocol.http.control.CookieManager +
+ Called once for all threads after the end of a test. +
testEnded() - +Method in class org.apache.jmeter.protocol.http.modifier.ParamModifier +
  +
testEnded(String) - +Method in class org.apache.jmeter.protocol.http.modifier.ParamModifier +
  +
testEnded() - +Method in class org.apache.jmeter.protocol.http.sampler.AccessLogSampler +
+ Called once for all threads after the end of a test. +
testEnded() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
+ Called once for all threads after the end of a test. +
testEnded(String) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
+ Called once for all threads after the end of a test. +
testEnded() - +Method in class org.apache.jmeter.protocol.http.sampler.WebServiceSampler +
  +
testEnded(String) - +Method in class org.apache.jmeter.protocol.http.sampler.WebServiceSampler +
  +
testEnded() - +Method in class org.apache.jmeter.protocol.java.sampler.JavaSampler +
Method called at the end of the test. +
testEnded(String) - +Method in class org.apache.jmeter.protocol.java.sampler.JavaSampler +
  +
testEnded() - +Method in class org.apache.jmeter.protocol.jdbc.AbstractJDBCTestElement +
+ Called once for all threads after the end of a test. +
testEnded(String) - +Method in class org.apache.jmeter.protocol.jdbc.AbstractJDBCTestElement +
+ Called once for all threads after the end of a test. +
testEnded() - +Method in class org.apache.jmeter.protocol.jdbc.config.DataSourceElement +
  +
testEnded(String) - +Method in class org.apache.jmeter.protocol.jdbc.config.DataSourceElement +
  +
testEnded(String) - +Method in class org.apache.jmeter.protocol.jms.sampler.PublisherSampler +
the implementation calls testEnded() without any parameters. +
testEnded() - +Method in class org.apache.jmeter.protocol.jms.sampler.PublisherSampler +
endTest cleans up the client +
testEnded() - +Method in class org.apache.jmeter.protocol.jms.sampler.SubscriberSampler +
+ Called once for all threads after the end of a test. +
testEnded(String) - +Method in class org.apache.jmeter.protocol.jms.sampler.SubscriberSampler +
+ Called once for all threads after the end of a test. +
testEnded() - +Method in class org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler +
  +
testEnded(String) - +Method in class org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler +
  +
testEnded() - +Method in class org.apache.jmeter.protocol.mongodb.config.MongoSourceElement +
  +
testEnded(String) - +Method in class org.apache.jmeter.protocol.mongodb.config.MongoSourceElement +
  +
testEnded(String) - +Method in class org.apache.jmeter.reporters.ResultCollector +
  +
testEnded() - +Method in class org.apache.jmeter.reporters.ResultCollector +
  +
testEnded() - +Method in class org.apache.jmeter.reporters.Summariser +
+ Called once for all threads after the end of a test. +
testEnded(String) - +Method in class org.apache.jmeter.reporters.Summariser +
Called from a different thread as testStarted() but using the same instance. +
testEnded() - +Method in class org.apache.jmeter.samplers.AbstractSampleSender +
  +
testEnded(String) - +Method in class org.apache.jmeter.samplers.AsynchSampleSender +
  +
testEnded(String) - +Method in class org.apache.jmeter.samplers.BatchSampleSender +
Checks if any sample events are still present in the sampleStore and + sends them to the listener. +
testEnded(String) - +Method in class org.apache.jmeter.samplers.DataStrippingSampleSender +
  +
testEnded(String) - +Method in class org.apache.jmeter.samplers.DiskStoreSampleSender +
  +
testEnded(String) - +Method in class org.apache.jmeter.samplers.HoldSampleSender +
  +
testEnded() - +Method in class org.apache.jmeter.samplers.RemoteListenerWrapper +
  +
testEnded(String) - +Method in class org.apache.jmeter.samplers.RemoteListenerWrapper +
  +
testEnded() - +Method in interface org.apache.jmeter.samplers.RemoteSampleListener +
  +
testEnded(String) - +Method in interface org.apache.jmeter.samplers.RemoteSampleListener +
  +
testEnded() - +Method in class org.apache.jmeter.samplers.RemoteSampleListenerImpl +
  +
testEnded(String) - +Method in class org.apache.jmeter.samplers.RemoteSampleListenerImpl +
  +
testEnded() - +Method in class org.apache.jmeter.samplers.RemoteTestListenerWrapper +
  +
testEnded(String) - +Method in class org.apache.jmeter.samplers.RemoteTestListenerWrapper +
  +
testEnded() - +Method in interface org.apache.jmeter.samplers.SampleSender +
The test ended (probably not used; client-server mode needs a host) +
testEnded(String) - +Method in interface org.apache.jmeter.samplers.SampleSender +
The test ended. +
testEnded(String) - +Method in class org.apache.jmeter.samplers.StandardSampleSender +
  +
testEnded(String) - +Method in class org.apache.jmeter.samplers.StatisticalSampleSender +
Checks if any sample events are still present in the sampleStore and + sends them to the listener. +
testEnded() - +Method in class org.apache.jmeter.testelement.TestPlan +
+ Called once for all threads after the end of a test. +
testEnded(String) - +Method in class org.apache.jmeter.testelement.TestPlan +
+ Called once for all threads after the end of a test. +
testEnded() - +Method in interface org.apache.jmeter.testelement.TestStateListener +
+ Called once for all threads after the end of a test. +
testEnded(String) - +Method in interface org.apache.jmeter.testelement.TestStateListener +
+ Called once for all threads after the end of a test. +
testEnded() - +Method in class org.apache.jmeter.timers.ConstantThroughputTimer +
+ Called once for all threads after the end of a test. +
testEnded(String) - +Method in class org.apache.jmeter.timers.ConstantThroughputTimer +
+ Called once for all threads after the end of a test. +
testEnded() - +Method in class org.apache.jmeter.timers.SyncTimer +
+ Called once for all threads after the end of a test. +
testEnded(String) - +Method in class org.apache.jmeter.timers.SyncTimer +
Reset timerCounter +
testEnded() - +Method in class org.apache.jmeter.util.BeanShellTestElement +
  +
testEnded(String) - +Method in class org.apache.jmeter.util.BeanShellTestElement +
  +
testEnded() - +Method in class org.apache.jmeter.util.JSR223TestElement +
  +
testEnded(String) - +Method in class org.apache.jmeter.util.JSR223TestElement +
  +
testEnded(String) - +Method in class org.apache.jmeter.visualizers.backend.BackendListener +
Method called at the end of the test. +
testEnded() - +Method in class org.apache.jmeter.visualizers.backend.BackendListener +
Implements TestStateListener.testEnded(String) +
testField(String, String) - +Method in class org.apache.jmeter.gui.action.RawTextSearcher +
Returns true if searchedTextLowerCase is in value +
TestFragmentController - Class in org.apache.jmeter.control
 
TestFragmentController() - +Constructor for class org.apache.jmeter.control.TestFragmentController +
  +
TestFragmentControllerGui - Class in org.apache.jmeter.control.gui
This defines a simple Test Fragment GUI that can be used instead of a Thread Group + to allow for a non-execution part of the Test Plan that can be saved and referenced + by a Module or Include Controller.
TestFragmentControllerGui() - +Constructor for class org.apache.jmeter.control.gui.TestFragmentControllerGui +
  +
testFunctors() - +Static method in class org.apache.jmeter.config.gui.ArgumentsPanel +
  +
testFunctors() - +Static method in class org.apache.jmeter.protocol.http.gui.HTTPArgumentsPanel +
  +
testFunctors() - +Static method in class org.apache.jmeter.protocol.http.gui.HTTPFileArgsPanel +
  +
testFunctors() - +Static method in class org.apache.jmeter.protocol.ldap.config.gui.LDAPArgumentsPanel +
  +
testFunctors() - +Static method in class org.apache.jmeter.visualizers.StatGraphVisualizer +
  +
testFunctors() - +Static method in class org.apache.jmeter.visualizers.StatVisualizer +
Deprecated. - only for use in testing +
testFunctors() - +Static method in class org.apache.jmeter.visualizers.SummaryReport +
Deprecated. - only for use in testing +
testFunctors() - +Static method in class org.apache.jmeter.visualizers.TableVisualizer +
  +
TestIterationListener - Interface in org.apache.jmeter.testelement
 
testIterationStart(LoopIterationEvent) - +Method in class org.apache.jmeter.protocol.http.control.AuthManager +
Each time through a Thread Group's test script, an iteration event is + fired for each thread. +
testIterationStart(LoopIterationEvent) - +Method in class org.apache.jmeter.protocol.http.control.CacheManager +
  +
testIterationStart(LoopIterationEvent) - +Method in class org.apache.jmeter.protocol.http.control.CookieManager +
Each time through a Thread Group's test script, an iteration event is + fired for each thread. +
testIterationStart(LoopIterationEvent) - +Method in class org.apache.jmeter.protocol.http.control.DNSCacheManager +
Each time through a Thread Group's test script, an iteration event is + fired for each thread. +
testIterationStart(LoopIterationEvent) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSampler2 +
  +
testIterationStart(LoopIterationEvent) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
testIterationStart(LoopIterationEvent) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy +
  +
testIterationStart(LoopIterationEvent) - +Method in interface org.apache.jmeter.testelement.TestIterationListener +
Each time through a Thread Group's test script, an iteration event is + fired for each thread. +
TestListener - Interface in org.apache.jmeter.testelement
Deprecated. since 2.8, please use TestStateListener and/or TestIterationListener
TESTLOG_FORMAT - +Static variable in class org.apache.jmeter.save.SaveService +
  +
TestPlan - Class in org.apache.jmeter.testelement
 
TestPlan() - +Constructor for class org.apache.jmeter.testelement.TestPlan +
  +
TestPlan(String) - +Constructor for class org.apache.jmeter.testelement.TestPlan +
  +
TESTPLAN_FORMAT - +Static variable in class org.apache.jmeter.save.SaveService +
  +
TestPlanGui - Class in org.apache.jmeter.control.gui
JMeter GUI component representing the test plan which will be executed when + the test is run.
TestPlanGui() - +Constructor for class org.apache.jmeter.control.gui.TestPlanGui +
Create a new TestPlanGui. +
TestPlanName - Class in org.apache.jmeter.functions
Returns Test Plan name
TestPlanName() - +Constructor for class org.apache.jmeter.functions.TestPlanName +
No-arg constructor. +
TestResultWrapper - Class in org.apache.jmeter.save
 
TestResultWrapper() - +Constructor for class org.apache.jmeter.save.TestResultWrapper +
  +
TestResultWrapperConverter - Class in org.apache.jmeter.save.converters
XStream Class to convert TestResultWrapper
TestResultWrapperConverter(Mapper) - +Constructor for class org.apache.jmeter.save.converters.TestResultWrapperConverter +
  +
testStarted() - +Method in class org.apache.jmeter.config.KeystoreConfig +
  +
testStarted(String) - +Method in class org.apache.jmeter.config.KeystoreConfig +
  +
testStarted() - +Method in class org.apache.jmeter.control.CriticalSectionController +
  +
testStarted(String) - +Method in class org.apache.jmeter.control.CriticalSectionController +
  +
testStarted() - +Method in class org.apache.jmeter.control.ThroughputController +
  +
testStarted(String) - +Method in class org.apache.jmeter.control.ThroughputController +
  +
testStarted() - +Method in class org.apache.jmeter.functions.StringFromFile +
+ Called just before the start of the test from the main engine thread. +
testStarted(String) - +Method in class org.apache.jmeter.functions.StringFromFile +
+ Called just before the start of the test from the main engine thread. +
testStarted() - +Method in class org.apache.jmeter.gui.MainFrame +
Called when a test is started on the local system. +
testStarted(String) - +Method in class org.apache.jmeter.gui.MainFrame +
Called when a test is started on a specific host. +
testStarted() - +Method in class org.apache.jmeter.protocol.http.control.AuthManager +
+ Called just before the start of the test from the main engine thread. +
testStarted(String) - +Method in class org.apache.jmeter.protocol.http.control.AuthManager +
+ Called just before the start of the test from the main engine thread. +
testStarted() - +Method in class org.apache.jmeter.protocol.http.control.CacheManager +
  +
testStarted(String) - +Method in class org.apache.jmeter.protocol.http.control.CacheManager +
  +
testStarted() - +Method in class org.apache.jmeter.protocol.http.control.CookieManager +
+ Called just before the start of the test from the main engine thread. +
testStarted(String) - +Method in class org.apache.jmeter.protocol.http.control.CookieManager +
+ Called just before the start of the test from the main engine thread. +
testStarted() - +Method in class org.apache.jmeter.protocol.http.modifier.ParamModifier +
  +
testStarted(String) - +Method in class org.apache.jmeter.protocol.http.modifier.ParamModifier +
  +
testStarted() - +Method in class org.apache.jmeter.protocol.http.sampler.AccessLogSampler +
+ Called just before the start of the test from the main engine thread. +
testStarted() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
+ Called just before the start of the test from the main engine thread. +
testStarted(String) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
+ Called just before the start of the test from the main engine thread. +
testStarted() - +Method in class org.apache.jmeter.protocol.java.sampler.JavaSampler +
  +
testStarted(String) - +Method in class org.apache.jmeter.protocol.java.sampler.JavaSampler +
  +
testStarted() - +Method in class org.apache.jmeter.protocol.jdbc.AbstractJDBCTestElement +
+ Called just before the start of the test from the main engine thread. +
testStarted(String) - +Method in class org.apache.jmeter.protocol.jdbc.AbstractJDBCTestElement +
+ Called just before the start of the test from the main engine thread. +
testStarted() - +Method in class org.apache.jmeter.protocol.jdbc.config.DataSourceElement +
  +
testStarted(String) - +Method in class org.apache.jmeter.protocol.jdbc.config.DataSourceElement +
  +
testStarted(String) - +Method in class org.apache.jmeter.protocol.jms.sampler.PublisherSampler +
the implementation calls testStarted() without any parameters. +
testStarted() - +Method in class org.apache.jmeter.protocol.jms.sampler.PublisherSampler +
  +
testStarted() - +Method in class org.apache.jmeter.protocol.jms.sampler.SubscriberSampler +
+ Called just before the start of the test from the main engine thread. +
testStarted(String) - +Method in class org.apache.jmeter.protocol.jms.sampler.SubscriberSampler +
+ Called just before the start of the test from the main engine thread. +
testStarted() - +Method in class org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler +
  +
testStarted(String) - +Method in class org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler +
  +
testStarted() - +Method in class org.apache.jmeter.protocol.mongodb.config.MongoSourceElement +
  +
testStarted(String) - +Method in class org.apache.jmeter.protocol.mongodb.config.MongoSourceElement +
  +
testStarted(String) - +Method in class org.apache.jmeter.reporters.ResultCollector +
  +
testStarted() - +Method in class org.apache.jmeter.reporters.ResultCollector +
  +
testStarted() - +Method in class org.apache.jmeter.reporters.Summariser +
+ Called just before the start of the test from the main engine thread. +
testStarted(String) - +Method in class org.apache.jmeter.reporters.Summariser +
Called once for each Summariser in the test plan. +
testStarted() - +Method in class org.apache.jmeter.samplers.RemoteListenerWrapper +
  +
testStarted(String) - +Method in class org.apache.jmeter.samplers.RemoteListenerWrapper +
  +
testStarted() - +Method in interface org.apache.jmeter.samplers.RemoteSampleListener +
  +
testStarted(String) - +Method in interface org.apache.jmeter.samplers.RemoteSampleListener +
  +
testStarted() - +Method in class org.apache.jmeter.samplers.RemoteSampleListenerImpl +
  +
testStarted(String) - +Method in class org.apache.jmeter.samplers.RemoteSampleListenerImpl +
  +
testStarted() - +Method in class org.apache.jmeter.samplers.RemoteTestListenerWrapper +
  +
testStarted(String) - +Method in class org.apache.jmeter.samplers.RemoteTestListenerWrapper +
  +
testStarted() - +Method in class org.apache.jmeter.testelement.TestPlan +
+ Called just before the start of the test from the main engine thread. +
testStarted(String) - +Method in class org.apache.jmeter.testelement.TestPlan +
+ Called just before the start of the test from the main engine thread. +
testStarted() - +Method in interface org.apache.jmeter.testelement.TestStateListener +
+ Called just before the start of the test from the main engine thread. +
testStarted(String) - +Method in interface org.apache.jmeter.testelement.TestStateListener +
+ Called just before the start of the test from the main engine thread. +
testStarted() - +Method in class org.apache.jmeter.timers.ConstantThroughputTimer +
Get the timer ready to compute delays for a new test. +
testStarted(String) - +Method in class org.apache.jmeter.timers.ConstantThroughputTimer +
+ Called just before the start of the test from the main engine thread. +
testStarted() - +Method in class org.apache.jmeter.timers.SyncTimer +
+ Called just before the start of the test from the main engine thread. +
testStarted(String) - +Method in class org.apache.jmeter.timers.SyncTimer +
Reset timerCounter +
testStarted() - +Method in class org.apache.jmeter.util.BeanShellTestElement +
  +
testStarted(String) - +Method in class org.apache.jmeter.util.BeanShellTestElement +
  +
testStarted() - +Method in class org.apache.jmeter.util.JSR223TestElement +
  +
testStarted(String) - +Method in class org.apache.jmeter.util.JSR223TestElement +
  +
testStarted() - +Method in class org.apache.jmeter.visualizers.backend.BackendListener +
Implements TestStateListener.testStarted() +
testStarted(String) - +Method in class org.apache.jmeter.visualizers.backend.BackendListener +
Implements TestStateListener.testStarted(String) +
TestStateListener - Interface in org.apache.jmeter.testelement
 
TEXT - +Static variable in class org.apache.jmeter.samplers.SampleResult +
Data type value indicating that the response data is text. +
TEXT_COMMAND - +Static variable in class org.apache.jmeter.visualizers.SamplerResultTab +
  +
TEXT_LANGUAGE - +Static variable in class org.apache.jmeter.testbeans.BeanInfoSupport +
TextEditor property +
TEXT_LANGUAGE - +Static variable in class org.apache.jmeter.testbeans.gui.GenericTestBeanCustomizer +
TextEditor property +
TEXT_MSG_RSC - +Static variable in class org.apache.jmeter.protocol.jms.control.gui.JMSPublisherGui +
Create a TextMessage +
TextAreaCellRenderer - Class in org.apache.jmeter.gui.util
 
TextAreaCellRenderer() - +Constructor for class org.apache.jmeter.gui.util.TextAreaCellRenderer +
  +
TextAreaEditor - Class in org.apache.jmeter.testbeans.gui
 
TextAreaEditor() - +Constructor for class org.apache.jmeter.testbeans.gui.TextAreaEditor +
  +
TextAreaEditor(Object) - +Constructor for class org.apache.jmeter.testbeans.gui.TextAreaEditor +
  +
TextAreaEditor(PropertyDescriptor) - +Constructor for class org.apache.jmeter.testbeans.gui.TextAreaEditor +
Construct a TextAreaEditor using the properties of a given + PropertyDescriptor +
TextAreaTableCellEditor - Class in org.apache.jmeter.gui.util
 
TextAreaTableCellEditor() - +Constructor for class org.apache.jmeter.gui.util.TextAreaTableCellEditor +
Constructs a TableCellEditor that uses a text field. +
TextAreaTableCellEditor.EditorDelegate - Class in org.apache.jmeter.gui.util
The protected EditorDelegate class.
TextAreaTableCellEditor.EditorDelegate() - +Constructor for class org.apache.jmeter.gui.util.TextAreaTableCellEditor.EditorDelegate +
  +
TextBoxDialoger - Class in org.apache.jmeter.gui.util
Dialog text box to display some text in a box
TextBoxDialoger() - +Constructor for class org.apache.jmeter.gui.util.TextBoxDialoger +
Dialog text box +
TextBoxDialoger(String) - +Constructor for class org.apache.jmeter.gui.util.TextBoxDialoger +
Dialog text box +
TextBoxDialoger(String, boolean) - +Constructor for class org.apache.jmeter.gui.util.TextBoxDialoger +
Dialog text box +
TextBoxDialoger.TextBoxDoubleClick - Class in org.apache.jmeter.gui.util
Class to display a dialog box and cell's content + when double click on a table's cell
TextBoxDialoger.TextBoxDoubleClick(JTable) - +Constructor for class org.apache.jmeter.gui.util.TextBoxDialoger.TextBoxDoubleClick +
  +
TextBoxDialoger.TextBoxDoubleClickPressed - Class in org.apache.jmeter.gui.util
Class to edit in a dialog box the cell's content + when double (pressed) click on a table's cell which is editable
TextBoxDialoger.TextBoxDoubleClickPressed(JTable) - +Constructor for class org.apache.jmeter.gui.util.TextBoxDialoger.TextBoxDoubleClickPressed +
  +
TextFile - Class in org.apache.jorphan.io
Utility class to handle text files as a single lump of text.
TextFile(File, String) - +Constructor for class org.apache.jorphan.io.TextFile +
Create a TextFile object to handle the named file with the given + encoding. +
TextFile(File) - +Constructor for class org.apache.jorphan.io.TextFile +
Create a TextFile object to handle the named file with the platform + default encoding. +
TextFile(String) - +Constructor for class org.apache.jorphan.io.TextFile +
Create a TextFile object to handle the named file with the platform + default encoding. +
TextFile(String, String) - +Constructor for class org.apache.jorphan.io.TextFile +
Create a TextFile object to handle the named file with the given + encoding. +
THREAD - +Static variable in class org.apache.jmeter.sampler.TestAction +
  +
THREAD_VALUES - +Static variable in class org.apache.jmeter.modifiers.UserParameters +
  +
threadFinished() - +Method in class org.apache.jmeter.assertions.XMLAssertion +
  +
threadFinished() - +Method in class org.apache.jmeter.control.CriticalSectionController +
  +
threadFinished() - +Method in class org.apache.jmeter.functions.Jexl2Function +
  +
threadFinished() - +Method in class org.apache.jmeter.protocol.http.sampler.AccessLogSampler +
Called for each thread after all samples have been processed. +
threadFinished() - +Method in class org.apache.jmeter.protocol.http.sampler.AjpSampler +
  +
threadFinished() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPAbstractImpl +
  +
threadFinished() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPHC3Impl +
  +
threadFinished() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl +
  +
threadFinished() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
threadFinished() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy +
  +
threadFinished() - +Method in class org.apache.jmeter.protocol.http.util.accesslog.SessionFilter +
Called for each thread after all samples have been processed. +
threadFinished() - +Method in class org.apache.jmeter.protocol.java.sampler.JUnitSampler +
  +
threadFinished() - +Method in class org.apache.jmeter.protocol.jms.sampler.JMSSampler +
Called for each thread after all samples have been processed. +
threadFinished() - +Method in class org.apache.jmeter.protocol.jms.sampler.SubscriberSampler +
Close subscriber. +
threadFinished(boolean) - +Method in class org.apache.jmeter.protocol.jms.sampler.SubscriberSampler +
  +
threadFinished() - +Method in class org.apache.jmeter.protocol.tcp.sampler.TCPSampler +
Called for each thread after all samples have been processed. +
threadFinished() - +Method in interface org.apache.jmeter.testelement.ThreadListener +
Called for each thread after all samples have been processed. +
threadFinished(JMeterThread) - +Method in interface org.apache.jmeter.threads.JMeterThreadMonitor +
  +
threadFinished() - +Method in interface org.apache.jmeter.threads.RemoteThreadsListener +
  +
threadFinished() - +Method in class org.apache.jmeter.threads.RemoteThreadsListenerImpl +
  +
threadFinished() - +Method in class org.apache.jmeter.threads.RemoteThreadsListenerTestElement +
  +
threadFinished() - +Method in class org.apache.jmeter.threads.RemoteThreadsListenerWrapper +
  +
threadFinished(JMeterThread) - +Method in class org.apache.jmeter.threads.ThreadGroup +
Called by JMeterThread when it finishes +
threadFinished() - +Method in class org.apache.jmeter.timers.SyncTimer +
  +
threadFinished() - +Method in class org.apache.jmeter.util.BeanShellTestElement +
  +
ThreadGroup - Class in org.apache.jmeter.threads
ThreadGroup holds the settings for a JMeter thread group.
ThreadGroup() - +Constructor for class org.apache.jmeter.threads.ThreadGroup +
No-arg constructor. +
ThreadGroupGui - Class in org.apache.jmeter.threads.gui
 
ThreadGroupGui() - +Constructor for class org.apache.jmeter.threads.gui.ThreadGroupGui +
  +
ThreadGroupGui(boolean) - +Constructor for class org.apache.jmeter.threads.gui.ThreadGroupGui +
  +
ThreadInfo - Interface in org.apache.jmeter.monitor.model
 
THREADINFO - +Static variable in class org.apache.jmeter.monitor.parser.Constants +
  +
ThreadInfoImpl - Class in org.apache.jmeter.monitor.model
 
ThreadInfoImpl() - +Constructor for class org.apache.jmeter.monitor.model.ThreadInfoImpl +
  +
ThreadListener - Interface in org.apache.jmeter.testelement
Allow threads to perform startup and closedown if necessary
ThreadLocalRandom - Class in org.apache.jmeter.util
A random number generator isolated to the current thread.
ThreadNumber - Class in org.apache.jmeter.functions
Function to return the current thread number.
ThreadNumber() - +Constructor for class org.apache.jmeter.functions.ThreadNumber +
  +
threadNumberDecreased(int) - +Method in interface org.apache.jmeter.threads.RemoteThreadsLifeCycleListener +
  +
threadNumberIncreased(int) - +Method in interface org.apache.jmeter.threads.RemoteThreadsLifeCycleListener +
  +
THREADS - +Static variable in class org.apache.jmeter.gui.util.MenuFactory +
  +
threadStarted() - +Method in class org.apache.jmeter.assertions.XMLAssertion +
  +
threadStarted() - +Method in class org.apache.jmeter.control.CriticalSectionController +
  +
threadStarted() - +Method in class org.apache.jmeter.functions.Jexl2Function +
  +
threadStarted() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
threadStarted() - +Method in class org.apache.jmeter.protocol.http.util.accesslog.SessionFilter +
Called for each thread before starting sampling. +
threadStarted() - +Method in class org.apache.jmeter.protocol.java.sampler.JUnitSampler +
Set up all variables that don't change between samples. +
threadStarted() - +Method in class org.apache.jmeter.protocol.jms.sampler.JMSSampler +
  +
threadStarted() - +Method in class org.apache.jmeter.protocol.jms.sampler.SubscriberSampler +
Initialise the thread-local variables. +
threadStarted(boolean) - +Method in class org.apache.jmeter.protocol.jms.sampler.SubscriberSampler +
  +
threadStarted() - +Method in class org.apache.jmeter.protocol.tcp.sampler.TCPSampler +
  +
threadStarted() - +Method in interface org.apache.jmeter.testelement.ThreadListener +
Called for each thread before starting sampling. +
threadStarted() - +Method in interface org.apache.jmeter.threads.RemoteThreadsListener +
  +
threadStarted() - +Method in class org.apache.jmeter.threads.RemoteThreadsListenerImpl +
  +
threadStarted() - +Method in class org.apache.jmeter.threads.RemoteThreadsListenerTestElement +
  +
threadStarted() - +Method in class org.apache.jmeter.threads.RemoteThreadsListenerWrapper +
  +
threadStarted() - +Method in class org.apache.jmeter.timers.SyncTimer +
  +
threadStarted() - +Method in class org.apache.jmeter.util.BeanShellTestElement +
  +
ThroughputController - Class in org.apache.jmeter.control
This class represents a controller that can control the number of times that + it is executed, either by the total number of times the user wants the + controller executed (BYNUMBER) or by the percentage of time it is called + (BYPERCENT) + + The current implementation executes the first N samples (BYNUMBER) + or the last N% of samples (BYPERCENT).
ThroughputController() - +Constructor for class org.apache.jmeter.control.ThroughputController +
  +
ThroughputControllerGui - Class in org.apache.jmeter.control.gui
 
ThroughputControllerGui() - +Constructor for class org.apache.jmeter.control.gui.ThroughputControllerGui +
  +
TidyException - Exception in org.apache.jmeter.util
Class for reporting errors when running Tidy.
TidyException() - +Constructor for exception org.apache.jmeter.util.TidyException +
  +
TidyException(int, int) - +Constructor for exception org.apache.jmeter.util.TidyException +
  +
tidyRMI(Logger) - +Static method in class org.apache.jmeter.engine.ClientJMeterEngine +
Tidy up RMI access to allow JMeter client to exit. +
TIFF - +Static variable in class org.apache.jmeter.save.SaveGraphicsService +
  +
TIFF_EXTENSION - +Static variable in class org.apache.jmeter.save.SaveGraphicsService +
  +
TimeFunction - Class in org.apache.jmeter.functions
__time() function - returns the current time in milliseconds
TimeFunction() - +Constructor for class org.apache.jmeter.functions.TimeFunction +
  +
TIMELIM - +Static variable in class org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler +
  +
TIMEOUT - +Static variable in class org.apache.jmeter.protocol.tcp.sampler.TCPSampler +
  +
TIMEOUT_CONNECT - +Static variable in class org.apache.jmeter.protocol.tcp.sampler.TCPSampler +
  +
Timer - Interface in org.apache.jmeter.timers
This interface defines those methods that must be implemented by timer + plugins.
TIMERS - +Static variable in class org.apache.jmeter.gui.util.MenuFactory +
  +
title - +Variable in class org.apache.jmeter.visualizers.AxisGraph +
  +
title - +Variable in class org.apache.jmeter.visualizers.LineGraph +
  +
title - +Variable in class org.apache.jmeter.visualizers.RespTimeGraphChart +
  +
titleFont - +Variable in class org.apache.jmeter.visualizers.AxisGraph +
  +
titleFont - +Variable in class org.apache.jmeter.visualizers.RespTimeGraphChart +
  +
toBasicHeader() - +Method in class org.apache.jmeter.protocol.http.control.Authorization +
  +
TOGGLE - +Static variable in class org.apache.jmeter.gui.action.ActionNames +
  +
TOGGLE - +Static variable in class org.apache.jmeter.gui.action.KeyStrokes +
  +
tokenize(String, String) - +Method in class org.apache.jmeter.protocol.http.util.accesslog.TCLogParser +
Parses the line using java.util.StringTokenizer. +
TOOLBAR - +Static variable in class org.apache.jmeter.gui.action.ActionNames +
  +
ToolBar - Class in org.apache.jmeter.gui.action
Hide / unhide toolbar.
ToolBar() - +Constructor for class org.apache.jmeter.gui.action.ToolBar +
Constructor for object. +
TOOLBAR_ICON_SIZE - +Static variable in class org.apache.jmeter.gui.util.JMeterToolBar +
  +
TOP - +Static variable in class org.apache.jorphan.gui.layout.VerticalLayout +
The anchoring constant that designates anchoring to the top of the + display area. +
toServerAddresses(String) - +Static method in class org.apache.jmeter.protocol.mongodb.mongo.MongoUtils +
  +
toString() - +Method in class org.apache.jmeter.assertions.AssertionResult +
  +
toString() - +Method in class org.apache.jmeter.config.Argument +
  +
toString() - +Method in class org.apache.jmeter.config.Arguments +
Create a string representation of the arguments. +
toString() - +Method in class org.apache.jmeter.config.LoginConfig +
  +
toString() - +Method in class org.apache.jmeter.control.gui.TreeNodeWrapper +
} +
toString() - +Method in class org.apache.jmeter.engine.util.SimpleVariable +
  +
toString() - +Method in class org.apache.jmeter.protocol.http.control.Authorization +
  +
toString() - +Method in class org.apache.jmeter.protocol.http.control.Cookie +
creates a string representation of this cookie +
toString() - +Method in class org.apache.jmeter.protocol.http.control.Header +
Creates a string representation of this header. +
toString() - +Method in class org.apache.jmeter.protocol.http.control.KerberosManager +
  +
toString() - +Method in class org.apache.jmeter.protocol.http.modifier.ParamMask +
For debugging purposes. +
toString() - +Method in class org.apache.jmeter.protocol.http.parser.URLString +
+
toString() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
toString() - +Method in class org.apache.jmeter.protocol.http.util.HTTPFileArg +
returns path, param name, mime type information of + HTTPFileArg object. +
toString() - +Method in class org.apache.jmeter.protocol.http.util.HTTPFileArgs +
Create a string representation of the files. +
toString() - +Method in class org.apache.jmeter.protocol.jdbc.AbstractJDBCTestElement +
  +
toString() - +Method in class org.apache.jmeter.protocol.jms.sampler.JMSProperties +
Create a string representation of the JmsProperties. +
toString() - +Method in class org.apache.jmeter.protocol.jms.sampler.JMSProperty +
  +
toString() - +Method in class org.apache.jmeter.protocol.jms.sampler.JMSSampler +
  +
toString() - +Method in class org.apache.jmeter.protocol.ldap.config.gui.LDAPArguments +
Create a string representation of the arguments. +
toString() - +Method in class org.apache.jmeter.protocol.mail.sampler.MailReaderSampler +
  +
toString() - +Method in class org.apache.jmeter.reporters.MailerModel +
Returns a String-representation of this object. +
toString() - +Method in class org.apache.jmeter.samplers.SampleResult +
Returns the display name. +
toString() - +Method in class org.apache.jmeter.testelement.property.AbstractProperty +
Provides the string representation of the property. +
toString() - +Method in enum org.apache.jmeter.timers.ConstantThroughputTimer.Mode +
  +
toString() - +Method in class org.apache.jmeter.timers.ConstantThroughputTimer +
Provide a description of this timer class. +
toString() - +Method in class org.apache.jmeter.timers.ConstantTimer +
Provide a description of this timer class. +
toString() - +Method in class org.apache.jmeter.timers.GaussianRandomTimer +
  +
toString() - +Method in class org.apache.jmeter.timers.PoissonRandomTimer +
Provide a description of this timer class. +
toString() - +Method in class org.apache.jmeter.timers.UniformRandomTimer +
  +
toString() - +Method in class org.apache.jmeter.util.SlowSSLSocket +
  +
toString() - +Method in class org.apache.jmeter.visualizers.backend.graphite.SocketOutputStream +
  +
toString() - +Method in class org.apache.jmeter.visualizers.DistributionGraphVisualizer +
  +
toString() - +Method in class org.apache.jmeter.visualizers.GraphVisualizer +
  +
toString() - +Method in class org.apache.jmeter.visualizers.MailerVisualizer +
  +
toString() - +Method in class org.apache.jmeter.visualizers.MonitorModel +
Method is used by DefaultMutableTreeNode to get the label for the node. +
toString() - +Method in class org.apache.jmeter.visualizers.RenderAsCssJQuery +
+
toString() - +Method in class org.apache.jmeter.visualizers.RenderAsDocument +
+
toString() - +Method in class org.apache.jmeter.visualizers.RenderAsHTML +
+
toString() - +Method in class org.apache.jmeter.visualizers.RenderAsHTMLWithEmbedded +
+
toString() - +Method in class org.apache.jmeter.visualizers.RenderAsJSON +
+
toString() - +Method in class org.apache.jmeter.visualizers.RenderAsRegexp +
+
toString() - +Method in class org.apache.jmeter.visualizers.RenderAsText +
+
toString() - +Method in class org.apache.jmeter.visualizers.RenderAsXML +
+
toString() - +Method in class org.apache.jmeter.visualizers.RenderAsXPath +
+
toString() - +Method in interface org.apache.jmeter.visualizers.ResultRenderer +
  +
toString() - +Method in class org.apache.jmeter.visualizers.RunningSample +
For debugging purposes, mainly. +
toString() - +Method in class org.apache.jmeter.visualizers.SamplingStatCalculator +
For debugging purposes, only. +
toString() - +Method in class org.apache.jmeter.visualizers.SplineVisualizer +
  +
toString() - +Method in class org.apache.jmeter.visualizers.TableVisualizer +
  +
toString() - +Method in class org.apache.jorphan.collections.Data +
  +
toString() - +Method in class org.apache.jorphan.collections.HashTree +
Generate a printable representation of the tree. +
toString() - +Method in class org.apache.jorphan.gui.layout.VerticalLayout +
  +
toString() - +Method in class org.apache.jorphan.reflect.Functor +
  +
toString() - +Method in class org.apache.jorphan.util.XMLBuffer +
Convert the buffer to a string, closing any open tags +
TRACE - +Static variable in interface org.apache.jmeter.protocol.http.util.HTTPConstantsInterface +
  +
TransactionController - Class in org.apache.jmeter.control
Transaction Controller to measure transaction times + + There are two different modes for the controller: + - generate additional total sample after nested samples (as in JMeter 2.2) + - generate parent sampler containing the nested samples
TransactionController() - +Constructor for class org.apache.jmeter.control.TransactionController +
Creates a Transaction Controller +
TransactionControllerGui - Class in org.apache.jmeter.control.gui
A Transaction controller component.
TransactionControllerGui() - +Constructor for class org.apache.jmeter.control.gui.TransactionControllerGui +
Create a new TransactionControllerGui instance. +
TransactionSampler - Class in org.apache.jmeter.control
Transaction Sampler class to measure transaction times + (not exposed a a GUI class, as it is only used internally by TransactionController in Generate Parent sample mode)
TransactionSampler() - +Constructor for class org.apache.jmeter.control.TransactionSampler +
Deprecated. only for use by test code +
TransactionSampler(TransactionController, String) - +Constructor for class org.apache.jmeter.control.TransactionSampler +
  +
TRANSFER_ENCODING - +Static variable in interface org.apache.jmeter.protocol.http.util.HTTPConstantsInterface +
  +
transformValue(JMeterProperty) - +Method in class org.apache.jmeter.engine.util.ReplaceFunctionsWithStrings +
  +
transformValue(JMeterProperty) - +Method in class org.apache.jmeter.engine.util.ReplaceStringWithFunctions +
  +
transformValue(JMeterProperty) - +Method in class org.apache.jmeter.engine.util.UndoVariableReplacement +
  +
traverse(TestElementTraverser) - +Method in class org.apache.jmeter.testelement.AbstractTestElement +
  +
traverse(TestElementTraverser) - +Method in interface org.apache.jmeter.testelement.TestElement +
Convenient way to traverse a test element. +
traverse(HashTreeTraverser) - +Method in class org.apache.jorphan.collections.HashTree +
Allows any implementation of the HashTreeTraverser interface to easily + traverse (depth-first) all the nodes of the HashTree. +
traverseCollection(CollectionProperty, TestElementTraverser) - +Method in class org.apache.jmeter.testelement.AbstractTestElement +
  +
traverseMap(MapProperty, TestElementTraverser) - +Method in class org.apache.jmeter.testelement.AbstractTestElement +
  +
traverseProperty(TestElementTraverser, JMeterProperty) - +Method in class org.apache.jmeter.testelement.AbstractTestElement +
  +
TreeCloner - Class in org.apache.jmeter.engine
Clones the test tree, skipping test elements that implement NoThreadClone by default.
TreeCloner() - +Constructor for class org.apache.jmeter.engine.TreeCloner +
Clone the test tree, honouring NoThreadClone markers. +
TreeCloner(boolean) - +Constructor for class org.apache.jmeter.engine.TreeCloner +
Clone the test tree. +
TreeClonerNoTimer - Class in org.apache.jmeter.engine
Clones the test tree, skipping test elements that implement Timer by default.
TreeClonerNoTimer() - +Constructor for class org.apache.jmeter.engine.TreeClonerNoTimer +
  +
TreeClonerNoTimer(boolean) - +Constructor for class org.apache.jmeter.engine.TreeClonerNoTimer +
  +
TreeNodeRenderer - Class in org.apache.jmeter.visualizers
Tree cell renderer used by ComparisonVisualizer.
TreeNodeRenderer() - +Constructor for class org.apache.jmeter.visualizers.TreeNodeRenderer +
  +
treeNodesChanged(TreeModelEvent) - +Method in class org.apache.jmeter.gui.UndoHistory +
Record the changes in the node as the undo step +
treeNodesInserted(TreeModelEvent) - +Method in class org.apache.jmeter.gui.UndoHistory +
Record adding nodes as the undo step +
treeNodesRemoved(TreeModelEvent) - +Method in class org.apache.jmeter.gui.UndoHistory +
Record deleting nodes as the undo step +
TreeNodeWrapper - Class in org.apache.jmeter.control.gui
Used in JComboBoxes to reference JMeterTreeNodes
TreeNodeWrapper(JMeterTreeNode, String) - +Constructor for class org.apache.jmeter.control.gui.TreeNodeWrapper +
  +
treeStructureChanged(TreeModelEvent) - +Method in class org.apache.jmeter.gui.UndoHistory +
Record some other change +
TreeTableModel - Interface in org.apache.jorphan.gui
This is a basic interface for TreeTableModel that extends TableModel.
triggerEndOfLoop() - +Method in interface org.apache.jmeter.control.Controller +
Trigger end of loop condition on controller (used by Start Next Loop feature) +
triggerEndOfLoop() - +Method in class org.apache.jmeter.control.ForeachController +
Trigger end of loop condition on controller (used by Start Next Loop feature) +
triggerEndOfLoop() - +Method in class org.apache.jmeter.control.GenericController +
Trigger end of loop condition on controller (used by Start Next Loop feature) +
triggerEndOfLoop() - +Method in class org.apache.jmeter.control.IfController +
Trigger end of loop condition on controller (used by Start Next Loop feature) +
triggerEndOfLoop() - +Method in class org.apache.jmeter.control.LoopController +
Trigger end of loop condition on controller (used by Start Next Loop feature) +
triggerEndOfLoop() - +Method in class org.apache.jmeter.control.RunTime +
Trigger end of loop condition on controller (used by Start Next Loop feature) +
triggerEndOfLoop() - +Method in class org.apache.jmeter.control.TransactionController +
  +
triggerEndOfLoop() - +Method in class org.apache.jmeter.control.WhileController +
Trigger end of loop condition on controller (used by Start Next Loop feature) +
triggerEndOfLoop() - +Method in class org.apache.jmeter.threads.AbstractThreadGroup +
NOOP +
trim(String, String) - +Static method in class org.apache.jorphan.util.JOrphanUtils +
Trim a string by the tokens provided. +
TristateCheckBox - Class in org.apache.jmeter.gui.util
 
TristateCheckBox() - +Constructor for class org.apache.jmeter.gui.util.TristateCheckBox +
  +
TristateCheckBox(String) - +Constructor for class org.apache.jmeter.gui.util.TristateCheckBox +
  +
TristateCheckBox(String, boolean) - +Constructor for class org.apache.jmeter.gui.util.TristateCheckBox +
  +
TristateCheckBox(String, Icon, TristateState) - +Constructor for class org.apache.jmeter.gui.util.TristateCheckBox +
  +
TristateState - Enum in org.apache.jmeter.gui.util
 
TrustAllSSLSocketFactory - Class in org.apache.jmeter.protocol.smtp.sampler.protocol
This class can be used as a SocketFactory with SSL-connections.
TrustAllSSLSocketFactory() - +Constructor for class org.apache.jmeter.protocol.smtp.sampler.protocol.TrustAllSSLSocketFactory +
Standard constructor +
TRUSTSTORE_TO_USE - +Static variable in class org.apache.jmeter.protocol.smtp.sampler.gui.SecuritySettingsPanel +
  +
TurnElementsOn - Class in org.apache.jmeter.engine
Invokes setRunningVersion(true) for all matched nodes
TurnElementsOn() - +Constructor for class org.apache.jmeter.engine.TurnElementsOn +
  +
TypeEditor - Enum in org.apache.jmeter.testbeans.gui
Allow direct specification of property editors.
+
+

+U

+
+
UDP_PORT_DEFAULT - +Static variable in class org.apache.jmeter.JMeter +
  +
UNBIND - +Static variable in class org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler +
  +
uncompile() - +Method in class org.apache.jmeter.visualizers.SplineModel +
  +
undeclareBean(BSFDeclaredBean) - +Method in class org.apache.jmeter.util.BSFJavaScriptEngine +
  +
UNDO - +Static variable in class org.apache.jmeter.gui.action.ActionNames +
  +
UndoCommand - Class in org.apache.jmeter.gui.action
Menu command to serve Undo/Redo
UndoCommand() - +Constructor for class org.apache.jmeter.gui.action.UndoCommand +
  +
UndoHistory - Class in org.apache.jmeter.gui
This class serves storing Test Tree state and navigating through it + to give the undo/redo ability for test plan changes
UndoHistory() - +Constructor for class org.apache.jmeter.gui.UndoHistory +
  +
UndoHistory.HistoryListener - Interface in org.apache.jmeter.gui
Interface to be implemented by components interested in UndoHistory
UndoHistoryItem - Class in org.apache.jmeter.gui
Undo history item
UndoHistoryItem() - +Constructor for class org.apache.jmeter.gui.UndoHistoryItem +
Deprecated. DO NOT USE +
UndoHistoryItem(HashTree, String) - +Constructor for class org.apache.jmeter.gui.UndoHistoryItem +
  +
undoReverseReplace(TestElement) - +Method in class org.apache.jmeter.engine.util.ValueReplacer +
Replaces ${key} by value extracted from variables if any +
UndoVariableReplacement - Class in org.apache.jmeter.engine.util
Replaces ${key} by value extracted from + JMeterVariables if any
UndoVariableReplacement(CompoundVariable, Map<String, String>) - +Constructor for class org.apache.jmeter.engine.util.UndoVariableReplacement +
  +
UnEscape - Class in org.apache.jmeter.functions
Function to unescape any Java literals found in the String.
UnEscape() - +Constructor for class org.apache.jmeter.functions.UnEscape +
  +
UnEscapeHtml - Class in org.apache.jmeter.functions
Function to unescape a string containing entity escapes + to a string containing the actual Unicode characters corresponding to the escapes.
UnEscapeHtml() - +Constructor for class org.apache.jmeter.functions.UnEscapeHtml +
  +
UniformRandomTimer - Class in org.apache.jmeter.timers
This class implements those methods needed by RandomTimer to be instantiable + and implements a random delay with an average value and a uniformly + distributed variation.
UniformRandomTimer() - +Constructor for class org.apache.jmeter.timers.UniformRandomTimer +
  +
UniformRandomTimerGui - Class in org.apache.jmeter.timers.gui
Implementation of a uniform random timer.
UniformRandomTimerGui() - +Constructor for class org.apache.jmeter.timers.gui.UniformRandomTimerGui +
No-arg constructor. +
UnitTestManager - Interface in org.apache.jorphan.test
Implement this interface to work with the AllTests class.
UNLOCK - +Static variable in interface org.apache.jmeter.protocol.http.util.HTTPConstantsInterface +
  +
unmarshal(HierarchicalStreamReader, UnmarshallingContext) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBaseConverter +
Override TestElementConverter; convert HTTPSamplerBase to merge + the two means of providing file names into a single list. +
unmarshal(HierarchicalStreamReader, UnmarshallingContext) - +Method in class org.apache.jmeter.protocol.http.util.HTTPResultConverter +
+
unmarshal(HierarchicalStreamReader, UnmarshallingContext) - +Method in class org.apache.jmeter.save.converters.BooleanPropertyConverter +
+
unmarshal(HierarchicalStreamReader, UnmarshallingContext) - +Method in class org.apache.jmeter.save.converters.HashTreeConverter +
+
unmarshal(HierarchicalStreamReader, UnmarshallingContext) - +Method in class org.apache.jmeter.save.converters.IntegerPropertyConverter +
+
unmarshal(HierarchicalStreamReader, UnmarshallingContext) - +Method in class org.apache.jmeter.save.converters.LongPropertyConverter +
+
unmarshal(HierarchicalStreamReader, UnmarshallingContext) - +Method in class org.apache.jmeter.save.converters.MultiPropertyConverter +
+
unmarshal(HierarchicalStreamReader, UnmarshallingContext) - +Method in class org.apache.jmeter.save.converters.SampleEventConverter +
+
unmarshal(HierarchicalStreamReader, UnmarshallingContext) - +Method in class org.apache.jmeter.save.converters.SampleResultConverter +
+
unmarshal(HierarchicalStreamReader, UnmarshallingContext) - +Method in class org.apache.jmeter.save.converters.SampleSaveConfigurationConverter +
+
unmarshal(HierarchicalStreamReader, UnmarshallingContext) - +Method in class org.apache.jmeter.save.converters.StringPropertyConverter +
+
unmarshal(HierarchicalStreamReader, UnmarshallingContext) - +Method in class org.apache.jmeter.save.converters.TestElementConverter +
+
unmarshal(HierarchicalStreamReader, UnmarshallingContext) - +Method in class org.apache.jmeter.save.converters.TestElementPropertyConverter +
+
unmarshal(HierarchicalStreamReader, UnmarshallingContext) - +Method in class org.apache.jmeter.save.converters.TestResultWrapperConverter +
Read test results from JTL files and pass them to the visualiser directly. +
unmarshal(HierarchicalStreamReader, UnmarshallingContext) - +Method in class org.apache.jmeter.save.ScriptWrapperConverter +
+
unregister(Stoppable) - +Method in class org.apache.jmeter.gui.GuiPackage +
Unregister stoppable +
unsetNotType() - +Method in class org.apache.jmeter.assertions.ResponseAssertion +
  +
UnsharedComponent - Interface in org.apache.jmeter.gui
Marker interface indicating that an instance of a component cannot be shared.
UNSPECIFIED_PORT - +Static variable in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
A number to indicate that the port has not been set. +
UNSPECIFIED_PORT_AS_STRING - +Static variable in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
unsplit(Object[], Object) - +Static method in class org.apache.jmeter.util.JMeterUtils +
Takes an array of strings and a tokenizer character, and returns a string + of all the strings concatenated with the tokenizer string in between each + one. +
unsplit(Object[], Object, String) - +Static method in class org.apache.jmeter.util.JMeterUtils +
Takes an array of strings and a tokenizer character, and returns a string + of all the strings concatenated with the tokenizer string in between each + one. +
updateCounts() - +Method in class org.apache.jmeter.gui.MainFrame +
  +
updateCurrentGui() - +Method in class org.apache.jmeter.gui.GuiPackage +
Update the GUI for the currently selected node. +
updateCurrentNode() - +Method in class org.apache.jmeter.gui.GuiPackage +
This method should be called in order for GuiPackage to change the + current node. +
updateGui(RunningSample) - +Method in interface org.apache.jmeter.visualizers.AccumListener +
  +
updateGui() - +Method in class org.apache.jmeter.visualizers.DistributionGraphVisualizer +
  +
updateGui(Sample) - +Method in class org.apache.jmeter.visualizers.DistributionGraphVisualizer +
  +
updateGui(Sample) - +Method in class org.apache.jmeter.visualizers.Graph +
  +
updateGui(Sample) - +Method in interface org.apache.jmeter.visualizers.GraphListener +
  +
updateGui() - +Method in interface org.apache.jmeter.visualizers.GraphListener +
  +
updateGui(Sample) - +Method in class org.apache.jmeter.visualizers.GraphVisualizer +
  +
updateGui(MonitorModel) - +Method in class org.apache.jmeter.visualizers.MonitorGraph +
The method will first check to see if the graph is visible. +
updateGui() - +Method in class org.apache.jmeter.visualizers.MonitorGraph +
updateGui() will call repaint +
updateGui(MonitorModel) - +Method in interface org.apache.jmeter.visualizers.MonitorGuiListener +
  +
updateGui() - +Method in interface org.apache.jmeter.visualizers.MonitorGuiListener +
  +
updateGui() - +Method in class org.apache.jmeter.visualizers.MonitorHealthVisualizer +
  +
updateGui(Sample) - +Method in class org.apache.jmeter.visualizers.MonitorHealthVisualizer +
  +
updateGui(MonitorModel) - +Method in class org.apache.jmeter.visualizers.ServerPanel +
Method will update the ServerPanel's health, load, and timestamp. +
updateGui() - +Method in class org.apache.jmeter.visualizers.ServerPanel +
update the gui +
updateGui(Sample) - +Method in class org.apache.jmeter.visualizers.SplineVisualizer +
  +
updateGui() - +Method in class org.apache.jmeter.visualizers.SplineVisualizer +
  +
updateLoader(URL[]) - +Static method in class org.apache.jmeter.DynamicClassLoader +
  +
updateRecentFileMenuItems(List<JComponent>, String) - +Static method in class org.apache.jmeter.gui.action.LoadRecentProject +
Update the content and visibility of the menu items for recent files +
updateSampleResultForResourceInCache(HTTPSampleResult) - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPAbstractImpl +
Update HTTPSampleResult for a resource in cache +
updateTextFields(SampleResult) - +Method in class org.apache.jmeter.visualizers.TableVisualizer +
  +
updateUndoRedoIcons(boolean, boolean) - +Method in class org.apache.jmeter.gui.MainFrame +
Update Undo/Redo icons state +
updateUndoRedoIcons(boolean, boolean) - +Method in class org.apache.jmeter.gui.util.JMeterToolBar +
Change state of buttons after undo or redo +
UPLOAD_FILE - +Static variable in class org.apache.jmeter.protocol.ftp.sampler.FTPSampler +
  +
URL - +Static variable in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
URL_ARGUMENT_ENCODING - +Static variable in class org.apache.jmeter.protocol.http.util.EncoderCache +
The encoding which should be usd for URLs, according to HTTP specification +
URL_DATA - +Static variable in class org.apache.jmeter.protocol.http.sampler.SoapSampler +
  +
URL_PATH - +Variable in class org.apache.jmeter.protocol.http.util.accesslog.TCLogParser +
The path to the access log file +
URL_UNSPECIFIED_PORT - +Static variable in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
If the port is not present in a URL, getPort() returns -1 +
URL_UNSPECIFIED_PORT_AS_STRING - +Static variable in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
URLCollection - Class in org.apache.jmeter.protocol.http.parser
Collection class designed for handling URLs + + Before a URL is added to the collection, it is wrapped in a URLString class.
URLCollection(Collection<URLString>) - +Constructor for class org.apache.jmeter.protocol.http.parser.URLCollection +
Creates a new URLCollection from an existing Collection +
UrlConfigGui - Class in org.apache.jmeter.protocol.http.config.gui
Basic URL / HTTP Request configuration: + + host and port + connect and response timeouts + path, method, encoding, parameters + redirects and keepalive +
UrlConfigGui() - +Constructor for class org.apache.jmeter.protocol.http.config.gui.UrlConfigGui +
Constructor which is setup to show HTTP implementation, raw body pane and + sampler fields. +
UrlConfigGui(boolean) - +Constructor for class org.apache.jmeter.protocol.http.config.gui.UrlConfigGui +
Constructor which is setup to show HTTP implementation and raw body pane. +
UrlConfigGui(boolean, boolean, boolean) - +Constructor for class org.apache.jmeter.protocol.http.config.gui.UrlConfigGui +
  +
UrlDecode - Class in org.apache.jmeter.functions
Function to decode a application/x-www-form-urlencoded string.
UrlDecode() - +Constructor for class org.apache.jmeter.functions.UrlDecode +
  +
UrlEncode - Class in org.apache.jmeter.functions
Function to encode a string to a application/x-www-form-urlencoded string.
UrlEncode() - +Constructor for class org.apache.jmeter.functions.UrlEncode +
  +
URLRewritingModifier - Class in org.apache.jmeter.protocol.http.modifier
 
URLRewritingModifier() - +Constructor for class org.apache.jmeter.protocol.http.modifier.URLRewritingModifier +
  +
URLRewritingModifierGui - Class in org.apache.jmeter.protocol.http.modifier.gui
 
URLRewritingModifierGui() - +Constructor for class org.apache.jmeter.protocol.http.modifier.gui.URLRewritingModifierGui +
  +
URLString - Class in org.apache.jmeter.protocol.http.parser
Helper class to allow URLs to be stored in Collections without incurring the + cost of the hostname lookup performed by the URL methods equals() and + hashCode() URL is a final class, so cannot be extended ...
URLString(URL) - +Constructor for class org.apache.jmeter.protocol.http.parser.URLString +
  +
USE_AUTH - +Static variable in class org.apache.jmeter.protocol.smtp.sampler.SmtpSampler +
  +
USE_BODY - +Static variable in class org.apache.jmeter.extractor.RegexExtractor +
  +
USE_BODY_AS_DOCUMENT - +Static variable in class org.apache.jmeter.extractor.RegexExtractor +
  +
USE_BODY_UNESCAPED - +Static variable in class org.apache.jmeter.extractor.RegexExtractor +
  +
USE_CACHED_SSL_CONTEXT - +Static variable in class org.apache.jmeter.protocol.http.sampler.HTTPHCAbstractImpl +
  +
USE_CODE - +Static variable in class org.apache.jmeter.extractor.RegexExtractor +
  +
USE_EML - +Static variable in class org.apache.jmeter.protocol.smtp.sampler.SmtpSampler +
  +
USE_EXPIRES - +Static variable in class org.apache.jmeter.protocol.http.control.CacheManager +
  +
USE_FILE_RSC - +Static variable in class org.apache.jmeter.protocol.jms.control.gui.JMSPublisherGui +
Take source from the named file +
USE_HDRS - +Static variable in class org.apache.jmeter.extractor.RegexExtractor +
  +
USE_KEEPALIVE - +Static variable in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
USE_LOCAL_TRUSTSTORE - +Static variable in class org.apache.jmeter.protocol.smtp.sampler.gui.SecuritySettingsPanel +
  +
USE_LOOPBACK - +Static variable in class org.apache.jmeter.protocol.http.sampler.HTTPHCAbstractImpl +
  +
USE_MESSAGE - +Static variable in class org.apache.jmeter.extractor.RegexExtractor +
  +
USE_RANDOM_RSC - +Static variable in class org.apache.jmeter.protocol.jms.control.gui.JMSPublisherGui +
Take source from a random file +
USE_REQUEST_HDRS - +Static variable in class org.apache.jmeter.extractor.RegexExtractor +
  +
USE_SSL - +Static variable in class org.apache.jmeter.protocol.smtp.sampler.gui.SecuritySettingsPanel +
  +
USE_STARTTLS - +Static variable in class org.apache.jmeter.protocol.smtp.sampler.gui.SecuritySettingsPanel +
  +
USE_SUB_CONTROLLERS - +Static variable in class org.apache.jmeter.control.InterleaveControl +
  +
USE_URL - +Static variable in class org.apache.jmeter.extractor.RegexExtractor +
  +
useBody() - +Method in class org.apache.jmeter.extractor.RegexExtractor +
  +
useBodyAsDocument() - +Method in class org.apache.jmeter.extractor.RegexExtractor +
  +
useCode() - +Method in class org.apache.jmeter.extractor.RegexExtractor +
  +
useEolByte - +Variable in class org.apache.jmeter.protocol.tcp.sampler.AbstractTCPClient +
  +
USEFILE - +Variable in class org.apache.jmeter.protocol.http.util.accesslog.LogFilter +
  +
useFILE - +Variable in class org.apache.jmeter.protocol.http.util.accesslog.TCLogParser +
  +
useHeaders() - +Method in class org.apache.jmeter.extractor.RegexExtractor +
  +
useMD5() - +Method in class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase +
  +
useMessage() - +Method in class org.apache.jmeter.extractor.RegexExtractor +
  +
useNameSpace() - +Method in class org.apache.jmeter.extractor.XPathExtractor +
  +
USER_DEFINED - +Static variable in class org.apache.jmeter.protocol.ldap.sampler.LDAPSampler +
  +
USER_DEFINED_COLORS_PROPERTY_FILE - +Static variable in class org.apache.jmeter.visualizers.utils.Colors +
  +
USER_DEFINED_TOOLBAR_PROPERTY_FILE - +Static variable in class org.apache.jmeter.gui.util.JMeterToolBar +
  +
USERDN - +Static variable in class org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler +
  +
useRequestHeaders() - +Method in class org.apache.jmeter.extractor.RegexExtractor +
  +
UserMetric - Class in org.apache.jmeter.visualizers.backend
User metric
UserMetric() - +Constructor for class org.apache.jmeter.visualizers.backend.UserMetric +
  +
USERNAME - +Static variable in class org.apache.jmeter.config.ConfigTestElement +
  +
USERNAME - +Static variable in class org.apache.jmeter.protocol.mongodb.sampler.MongoScriptSampler +
  +
USERNAME - +Static variable in class org.apache.jmeter.protocol.smtp.sampler.SmtpSampler +
  +
UserParameters - Class in org.apache.jmeter.modifiers
 
UserParameters() - +Constructor for class org.apache.jmeter.modifiers.UserParameters +
  +
UserParametersGui - Class in org.apache.jmeter.modifiers.gui
 
UserParametersGui() - +Constructor for class org.apache.jmeter.modifiers.gui.UserParametersGui +
  +
UserParameterXMLContentHandler - Class in org.apache.jmeter.protocol.http.modifier
The handler used to read in XML parameter data.
UserParameterXMLContentHandler() - +Constructor for class org.apache.jmeter.protocol.http.modifier.UserParameterXMLContentHandler +
  +
UserParameterXMLErrorHandler - Class in org.apache.jmeter.protocol.http.modifier
XML Parseing errors for XML parameters file are handled here.
UserParameterXMLErrorHandler() - +Constructor for class org.apache.jmeter.protocol.http.modifier.UserParameterXMLErrorHandler +
  +
UserParameterXMLParser - Class in org.apache.jmeter.protocol.http.modifier
Deprecated. This test element is deprecated. Test plans should use User Parameters instead.
UserParameterXMLParser() - +Constructor for class org.apache.jmeter.protocol.http.modifier.UserParameterXMLParser +
Deprecated.   +
USERPW - +Static variable in class org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler +
  +
UserSequence - Class in org.apache.jmeter.protocol.http.modifier
This module controls the Sequence in which user details are returned.
UserSequence() - +Constructor for class org.apache.jmeter.protocol.http.modifier.UserSequence +
  +
UserSequence(List<Map<String, String>>) - +Constructor for class org.apache.jmeter.protocol.http.modifier.UserSequence +
Load all user and parameter data into the sequence module. +
useUnescapedBody() - +Method in class org.apache.jmeter.extractor.RegexExtractor +
  +
useUrl() - +Method in class org.apache.jmeter.extractor.RegexExtractor +
  +
Utils - Class in org.apache.jmeter.protocol.jms
Utility methods for JMS protocol.
Utils() - +Constructor for class org.apache.jmeter.protocol.jms.Utils +
  +
Uuid - Class in org.apache.jmeter.functions
Function to create a UUID + + Parameters: + - None + + Returns: + - A pseudo random UUID 4
Uuid() - +Constructor for class org.apache.jmeter.functions.Uuid +
  +
+
+

+V

+
+
validateObject(SocketConnectionInfos, PooledObject<SocketOutputStream>) - +Method in class org.apache.jmeter.visualizers.backend.graphite.SocketOutputStreamPoolFactory +
  +
validateXPath(Document, String) - +Static method in class org.apache.jmeter.util.XPathUtil +
Validate xpathString is a valid XPath expression +
validXPath(String, boolean) - +Static method in class org.apache.jmeter.assertions.gui.XPathPanel +
Test whether an XPath is valid. +
VALUE - +Static variable in class org.apache.jmeter.config.Argument +
Name used to store the argument's value. +
value - +Variable in class org.apache.jmeter.gui.util.TextAreaTableCellEditor.EditorDelegate +
The value of this cell. +
VALUE - +Variable in class org.apache.jmeter.protocol.http.util.accesslog.NVPair +
  +
value(float) - +Method in class org.apache.jmeter.visualizers.Spline3 +
Computes a (vertical) Y-axis value of the global curve. +
valueChanged(TreeSelectionEvent) - +Method in class org.apache.jmeter.gui.tree.JMeterTreeListener +
  +
valueChanged(TreeSelectionEvent) - +Method in class org.apache.jmeter.visualizers.MonitorPerformancePanel +
When the user selects a different node in the tree, we get the selected + node. +
valueChanged(TreeSelectionEvent) - +Method in class org.apache.jmeter.visualizers.ViewResultsFullVisualizer +
+
valueFont - +Variable in class org.apache.jmeter.visualizers.AxisGraph +
  +
valueIterator() - +Method in class org.apache.jmeter.testelement.property.MapProperty +
  +
valueOf(String) - +Static method in enum org.apache.jmeter.gui.plugin.MenuCreator.MENU_LOCATION +
Returns the enum constant of this type with the specified name. +
valueOf(String) - +Static method in enum org.apache.jmeter.gui.util.TristateState +
Returns the enum constant of this type with the specified name. +
valueOf(String) - +Static method in enum org.apache.jmeter.protocol.http.control.AuthManager.Mechanism +
Returns the enum constant of this type with the specified name. +
valueOf(String) - +Static method in enum org.apache.jmeter.protocol.http.proxy.ProxyControl.KeystoreMode +
Returns the enum constant of this type with the specified name. +
valueOf(String) - +Static method in enum org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.SourceType +
Returns the enum constant of this type with the specified name. +
valueOf(String) - +Static method in enum org.apache.jmeter.reporters.MailerModel.MailAuthType +
Returns the enum constant of this type with the specified name. +
valueOf(String) - +Static method in enum org.apache.jmeter.testbeans.gui.TypeEditor +
Returns the enum constant of this type with the specified name. +
valueOf(String) - +Static method in enum org.apache.jmeter.timers.ConstantThroughputTimer.Mode +
Returns the enum constant of this type with the specified name. +
valueOrientation - +Variable in class org.apache.jmeter.visualizers.AxisGraph +
  +
ValueReplacer - Class in org.apache.jmeter.engine.util
Perfom replacement of ${variable} references.
ValueReplacer() - +Constructor for class org.apache.jmeter.engine.util.ValueReplacer +
  +
ValueReplacer(TestPlan) - +Constructor for class org.apache.jmeter.engine.util.ValueReplacer +
Constructor which couples the given TestPlan to this by means of the user defined variables +
values() - +Static method in enum org.apache.jmeter.gui.plugin.MenuCreator.MENU_LOCATION +
Returns an array containing the constants of this enum type, in +the order they are declared. +
values() - +Static method in enum org.apache.jmeter.gui.util.TristateState +
Returns an array containing the constants of this enum type, in +the order they are declared. +
values() - +Static method in enum org.apache.jmeter.protocol.http.control.AuthManager.Mechanism +
Returns an array containing the constants of this enum type, in +the order they are declared. +
values() - +Static method in enum org.apache.jmeter.protocol.http.proxy.ProxyControl.KeystoreMode +
Returns an array containing the constants of this enum type, in +the order they are declared. +
values() - +Static method in enum org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.SourceType +
Returns an array containing the constants of this enum type, in +the order they are declared. +
values() - +Static method in enum org.apache.jmeter.reporters.MailerModel.MailAuthType +
Returns an array containing the constants of this enum type, in +the order they are declared. +
values() - +Static method in enum org.apache.jmeter.testbeans.gui.TypeEditor +
Returns an array containing the constants of this enum type, in +the order they are declared. +
values() - +Static method in enum org.apache.jmeter.timers.ConstantThroughputTimer.Mode +
Returns an array containing the constants of this enum type, in +the order they are declared. +
values() - +Method in class org.apache.jorphan.collections.HashTree +
Returns a collection of all the sub-trees of the current tree. +
Variable - Class in org.apache.jmeter.functions
Function to get a JMeter Variable + + Parameters: + - variable name + + Returns: + - the variable value, but if not found + - the variable name itself
Variable() - +Constructor for class org.apache.jmeter.functions.Variable +
  +
VARIABLE_NAME - +Static variable in class org.apache.jmeter.reporters.ResultSaver +
  +
VariablesCollection - Class in org.apache.jmeter.testelement
 
VariablesCollection() - +Constructor for class org.apache.jmeter.testelement.VariablesCollection +
  +
verifyThreadsStopped() - +Method in class org.apache.jmeter.threads.AbstractThreadGroup +
  +
verifyThreadsStopped() - +Method in class org.apache.jmeter.threads.ThreadGroup +
  +
VerticalLayout - Class in org.apache.jorphan.gui.layout
A vertical layout manager similar to java.awt.FlowLayout.
VerticalLayout() - +Constructor for class org.apache.jorphan.gui.layout.VerticalLayout +
Constructs an instance of VerticalLayout with a vertical vgap of 5 + pixels, horizontal centering and anchored to the top of the display area. +
VerticalLayout(int) - +Constructor for class org.apache.jorphan.gui.layout.VerticalLayout +
Constructs a VerticalLayout instance with horizontal centering, anchored + to the top with the specified vgap. +
VerticalLayout(int, int) - +Constructor for class org.apache.jorphan.gui.layout.VerticalLayout +
Constructs a VerticalLayout instance anchored to the top with the + specified vgap and horizontal alignment. +
VerticalLayout(int, int, int) - +Constructor for class org.apache.jorphan.gui.layout.VerticalLayout +
Constructs a VerticalLayout instance with the specified vgap, horizontal + alignment and anchoring +
VerticalPanel - Class in org.apache.jmeter.gui.util
 
VerticalPanel() - +Constructor for class org.apache.jmeter.gui.util.VerticalPanel +
  +
VerticalPanel(Color) - +Constructor for class org.apache.jmeter.gui.util.VerticalPanel +
  +
VerticalPanel(int, float) - +Constructor for class org.apache.jmeter.gui.util.VerticalPanel +
  +
ViewResultsFullVisualizer - Class in org.apache.jmeter.visualizers
Base for ViewResults
ViewResultsFullVisualizer() - +Constructor for class org.apache.jmeter.visualizers.ViewResultsFullVisualizer +
Constructor +
VIRTUALHOST - +Static variable in class org.apache.jmeter.monitor.parser.Constants +
  +
Visualizer - Interface in org.apache.jmeter.visualizers
Implement this method to be a Visualizer for JMeter.
+
+

+W

+
+
W3C_XML_SCHEMA - +Static variable in class org.apache.jmeter.assertions.XMLSchemaAssertion +
  +
waitThreadsStopped() - +Method in class org.apache.jmeter.threads.AbstractThreadGroup +
  +
waitThreadsStopped() - +Method in class org.apache.jmeter.threads.ThreadGroup +
Wait for all Group Threads to stop +
WARNING - +Static variable in class org.apache.jmeter.monitor.util.Stats +
  +
warning(SAXParseException) - +Method in class org.apache.jmeter.protocol.http.modifier.UserParameterXMLErrorHandler +
  +
WARNING_PER - +Static variable in class org.apache.jmeter.monitor.util.Stats +
  +
WARNING_THRESHOLD_KEY - +Static variable in class org.apache.jmeter.assertions.HTMLAssertion +
  +
WebServiceSampler - Class in org.apache.jmeter.protocol.http.sampler
Sampler to handle Web Service requests.
WebServiceSampler() - +Constructor for class org.apache.jmeter.protocol.http.sampler.WebServiceSampler +
  +
WebServiceSamplerGui - Class in org.apache.jmeter.protocol.http.control.gui
This is the GUI for the webservice samplers.
WebServiceSamplerGui() - +Constructor for class org.apache.jmeter.protocol.http.control.gui.WebServiceSamplerGui +
  +
What - Class in org.apache.jmeter.gui.action
Debug class to show details of the currently selected object + Currently shows TestElement and GUI class names + + Also enables/disables debug for the test element.
What() - +Constructor for class org.apache.jmeter.gui.action.What +
  +
WHAT_CLASS - +Static variable in class org.apache.jmeter.gui.action.ActionNames +
  +
WHAT_CLASS - +Static variable in class org.apache.jmeter.gui.action.KeyStrokes +
  +
WhileController - Class in org.apache.jmeter.control
 
WhileController() - +Constructor for class org.apache.jmeter.control.WhileController +
  +
WhileControllerGui - Class in org.apache.jmeter.control.gui
 
WhileControllerGui() - +Constructor for class org.apache.jmeter.control.gui.WhileControllerGui +
Create a new LoopControlPanel as a standalone component. +
width - +Variable in class org.apache.jmeter.visualizers.AxisGraph +
  +
width - +Variable in class org.apache.jmeter.visualizers.LineGraph +
  +
width - +Variable in class org.apache.jmeter.visualizers.RespTimeGraphChart +
  +
WorkBench - Class in org.apache.jmeter.testelement
 
WorkBench() - +Constructor for class org.apache.jmeter.testelement.WorkBench +
  +
WorkBenchGui - Class in org.apache.jmeter.control.gui
JMeter GUI component representing a work bench where users can make + preparations for the test plan.
WorkBenchGui() - +Constructor for class org.apache.jmeter.control.gui.WorkBenchGui +
Create a new WorkbenchGui. +
Worker - Interface in org.apache.jmeter.monitor.model
 
WORKER - +Static variable in class org.apache.jmeter.monitor.parser.Constants +
  +
WorkerImpl - Class in org.apache.jmeter.monitor.model
 
WorkerImpl() - +Constructor for class org.apache.jmeter.monitor.model.WorkerImpl +
  +
Workers - Interface in org.apache.jmeter.monitor.model
 
WORKERS - +Static variable in class org.apache.jmeter.monitor.parser.Constants +
  +
WorkersImpl - Class in org.apache.jmeter.monitor.model
 
WorkersImpl() - +Constructor for class org.apache.jmeter.monitor.model.WorkersImpl +
  +
wrap(SocketOutputStream) - +Method in class org.apache.jmeter.visualizers.backend.graphite.SocketOutputStreamPoolFactory +
  +
write(byte[], int, int) - +Method in class org.apache.jmeter.protocol.smtp.sampler.tools.CounterOutputStream +
+
write(int) - +Method in class org.apache.jmeter.protocol.smtp.sampler.tools.CounterOutputStream +
+
write(OutputStream, String) - +Method in class org.apache.jmeter.protocol.tcp.sampler.BinaryTCPClientImpl +
Input (hex) string is converted to binary and written to the output stream. +
write(OutputStream, InputStream) - +Method in class org.apache.jmeter.protocol.tcp.sampler.BinaryTCPClientImpl +
+
write(OutputStream, String) - +Method in class org.apache.jmeter.protocol.tcp.sampler.LengthPrefixedBinaryTCPClientImpl +
+
write(OutputStream, InputStream) - +Method in class org.apache.jmeter.protocol.tcp.sampler.LengthPrefixedBinaryTCPClientImpl +
+
write(OutputStream, InputStream) - +Method in interface org.apache.jmeter.protocol.tcp.sampler.TCPClient +
  +
write(OutputStream, String) - +Method in interface org.apache.jmeter.protocol.tcp.sampler.TCPClient +
  +
write(OutputStream, String) - +Method in class org.apache.jmeter.protocol.tcp.sampler.TCPClientImpl +
+
write(OutputStream, InputStream) - +Method in class org.apache.jmeter.protocol.tcp.sampler.TCPClientImpl +
+
write(String, String) - +Method in class org.apache.jmeter.services.FileServer +
  +
write(byte[], int, int) - +Method in class org.apache.jmeter.util.SlowOutputStream +
  +
write(int) - +Method in class org.apache.jmeter.util.SlowOutputStream +
  +
write(byte[], OutputStream) - +Static method in class org.apache.jorphan.util.JOrphanUtils +
Write data to an output stream in chunks with a maximum size of 4K. +
writeFunctors - +Variable in class org.apache.jorphan.gui.AbstractTreeTableModel +
  +
WRITER - +Variable in class org.apache.jmeter.protocol.http.util.accesslog.StandardGenerator +
  +
writeString(HierarchicalStreamWriter, String, String) - +Method in class org.apache.jmeter.save.converters.SampleResultConverter +
Write a tag with with a content of value to the + writer +
WSDLException - Exception in org.apache.jmeter.protocol.http.util
Created on: Jun 3, 2003
WSDLException() - +Constructor for exception org.apache.jmeter.protocol.http.util.WSDLException +
  +
WSDLException(String) - +Constructor for exception org.apache.jmeter.protocol.http.util.WSDLException +
  +
WSDLException(Exception) - +Constructor for exception org.apache.jmeter.protocol.http.util.WSDLException +
  +
WSDLHelper - Class in org.apache.jmeter.protocol.http.util
For now I use DOM for WSDLHelper, but it would be more efficient to use JAXB + to generate an object model for WSDL and use it to perform serialization and + deserialization.
WSDLHelper(String) - +Constructor for class org.apache.jmeter.protocol.http.util.WSDLHelper +
Default constructor takes a string URL +
WSDLHelper(String, AuthManager) - +Constructor for class org.apache.jmeter.protocol.http.util.WSDLHelper +
  +
+
+

+X

+
+
XAXIS_TIME_FORMAT - +Static variable in class org.apache.jmeter.visualizers.RespTimeGraphVisualizer +
  +
xAxisLabels - +Variable in class org.apache.jmeter.visualizers.AxisGraph +
  +
xAxisLabels - +Variable in class org.apache.jmeter.visualizers.LineGraph +
  +
xAxisLabels - +Variable in class org.apache.jmeter.visualizers.RespTimeGraphChart +
  +
xAxisTitle - +Variable in class org.apache.jmeter.visualizers.AxisGraph +
  +
xAxisTitle - +Variable in class org.apache.jmeter.visualizers.LineGraph +
  +
xAxisTitle - +Variable in class org.apache.jmeter.visualizers.RespTimeGraphChart +
  +
XML_DATA - +Static variable in class org.apache.jmeter.protocol.http.sampler.SoapSampler +
  +
XML_DATA_FILE - +Static variable in class org.apache.jmeter.protocol.http.sampler.SoapSampler +
  +
XMLAssertion - Class in org.apache.jmeter.assertions
Checks if the result is a well-formed XML content using jdom
XMLAssertion() - +Constructor for class org.apache.jmeter.assertions.XMLAssertion +
  +
XMLAssertionGui - Class in org.apache.jmeter.assertions.gui
 
XMLAssertionGui() - +Constructor for class org.apache.jmeter.assertions.gui.XMLAssertionGui +
The constructor. +
XMLBuffer - Class in org.apache.jorphan.util
Provides XML string building methods.
XMLBuffer() - +Constructor for class org.apache.jorphan.util.XMLBuffer +
  +
XMLConfPanel - Class in org.apache.jmeter.assertions.gui
 
XMLConfPanel() - +Constructor for class org.apache.jmeter.assertions.gui.XMLConfPanel +
  +
XMLDefaultMutableTreeNode - Class in org.apache.jmeter.visualizers
A extended class of DefaultMutableTreeNode except that it also attached XML + node and convert XML document into DefaultMutableTreeNode.
XMLDefaultMutableTreeNode() - +Constructor for class org.apache.jmeter.visualizers.XMLDefaultMutableTreeNode +
Deprecated. only for use by test code +
XMLDefaultMutableTreeNode(Node) - +Constructor for class org.apache.jmeter.visualizers.XMLDefaultMutableTreeNode +
  +
XMLDefaultMutableTreeNode(String, Node) - +Constructor for class org.apache.jmeter.visualizers.XMLDefaultMutableTreeNode +
  +
XMLSchemaAssertion - Class in org.apache.jmeter.assertions
XMLSchemaAssertion.java Validate response against an XML Schema author + Dave Maung
XMLSchemaAssertion() - +Constructor for class org.apache.jmeter.assertions.XMLSchemaAssertion +
  +
XMLSchemaAssertionGUI - Class in org.apache.jmeter.assertions.gui
XMLSchemaAssertionGUI.java author Dave Maung
XMLSchemaAssertionGUI() - +Constructor for class org.apache.jmeter.assertions.gui.XMLSchemaAssertionGUI +
The constructor. +
XPath - Class in org.apache.jmeter.functions
The function represented by this class allows data to be read from XML files.
XPath() - +Constructor for class org.apache.jmeter.functions.XPath +
  +
XPathAssertion - Class in org.apache.jmeter.assertions
Checks if the result is a well-formed XML content and whether it matches an + XPath
XPathAssertion() - +Constructor for class org.apache.jmeter.assertions.XPathAssertion +
  +
XPathAssertionGui - Class in org.apache.jmeter.assertions.gui
 
XPathAssertionGui() - +Constructor for class org.apache.jmeter.assertions.gui.XPathAssertionGui +
  +
XPathExtractor - Class in org.apache.jmeter.extractor
Extracts text from (X)HTML response using XPath query language + Example XPath queries: + + /html/head/title + extracts Title from HTML response + //form[@name='countryForm']//select[@name='country']/option[text()='Czech Republic'])/@value + extracts value attribute of option element that match text 'Czech Republic' + inside of select element with name attribute 'country' inside of + form with name attribute 'countryForm' + //head + extracts the XML fragment for head node.
XPathExtractor() - +Constructor for class org.apache.jmeter.extractor.XPathExtractor +
  +
XPathExtractorGui - Class in org.apache.jmeter.extractor.gui
GUI for XPathExtractor class.
XPathExtractorGui() - +Constructor for class org.apache.jmeter.extractor.gui.XPathExtractorGui +
  +
XPathFileContainer - Class in org.apache.jmeter.functions
File data container for XML files Data is accessible via XPath
XPathFileContainer(String, String) - +Constructor for class org.apache.jmeter.functions.XPathFileContainer +
  +
XPathPanel - Class in org.apache.jmeter.assertions.gui
Gui component for representing a xpath expression
XPathPanel() - +Constructor for class org.apache.jmeter.assertions.gui.XPathPanel +
  +
XPathUtil - Class in org.apache.jmeter.util
This class provides a few utility methods for dealing with XML/XPath.
XSD_FILENAME_KEY - +Static variable in class org.apache.jmeter.assertions.XMLSchemaAssertion +
  +
+
+

+Y

+
+
YAXIS_INCREMENT_SCALE - +Static variable in class org.apache.jmeter.visualizers.RespTimeGraphVisualizer +
  +
YAXIS_NUMBER_GROUPING - +Static variable in class org.apache.jmeter.visualizers.RespTimeGraphVisualizer +
  +
YAXIS_SCALE_MAX_VALUE - +Static variable in class org.apache.jmeter.visualizers.RespTimeGraphVisualizer +
  +
yAxisLabel - +Variable in class org.apache.jmeter.visualizers.AxisGraph +
  +
yAxisLabel - +Variable in class org.apache.jmeter.visualizers.LineGraph +
  +
yAxisLabel - +Variable in class org.apache.jmeter.visualizers.RespTimeGraphChart +
  +
yAxisTitle - +Variable in class org.apache.jmeter.visualizers.AxisGraph +
  +
yAxisTitle - +Variable in class org.apache.jmeter.visualizers.LineGraph +
  +
yAxisTitle - +Variable in class org.apache.jmeter.visualizers.RespTimeGraphChart +
  +
+
+

+_

+
+
_A - +Variable in class org.apache.jmeter.visualizers.Spline3 +
  +
_B - +Variable in class org.apache.jmeter.visualizers.Spline3 +
  +
_coefficients - +Variable in class org.apache.jmeter.visualizers.Spline3 +
  +
_m - +Variable in class org.apache.jmeter.visualizers.Spline3 +
  +
_maxIterations - +Variable in class org.apache.jmeter.visualizers.Spline3 +
  +
_minPrecision - +Variable in class org.apache.jmeter.visualizers.Spline3 +
  +
_n - +Variable in class org.apache.jmeter.visualizers.Spline3 +
  +
_r - +Variable in class org.apache.jmeter.visualizers.Spline3 +
  +
_rS - +Variable in class org.apache.jmeter.visualizers.Spline3 +
  +
+
+A B C D E F G H I J K L M N O P Q R S T U V W X Y _ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/index.html b/docs/api/index.html new file mode 100644 index 00000000000..3a7a650136d --- /dev/null +++ b/docs/api/index.html @@ -0,0 +1,74 @@ + + + + + +Apache JMeter API + + + + + + + + + + + +<H2> +Frame Alert</H2> + +<P> +This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. +<BR> +Link to<A HREF="overview-summary.html">Non-frame version.</A> + + + diff --git a/docs/api/org/apache/jmeter/DynamicClassLoader.html b/docs/api/org/apache/jmeter/DynamicClassLoader.html new file mode 100644 index 00000000000..9ff063a2c48 --- /dev/null +++ b/docs/api/org/apache/jmeter/DynamicClassLoader.html @@ -0,0 +1,343 @@ + + + + + +DynamicClassLoader (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter +
+Class DynamicClassLoader

+
+java.lang.Object
+  extended by java.lang.ClassLoader
+      extended by java.security.SecureClassLoader
+          extended by java.net.URLClassLoader
+              extended by org.apache.jmeter.DynamicClassLoader
+
+
+
+
public class DynamicClassLoader
extends URLClassLoader
+ + +

+This is a basic URL classloader for loading new resources + dynamically. + + It allows public access to the addURL() method. + + It also adds a convenience method to update the current thread classloader +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + +
+Constructor Summary
DynamicClassLoader(URL[] urls) + +
+           
DynamicClassLoader(URL[] urls, + ClassLoader parent) + +
+           
DynamicClassLoader(URL[] urls, + ClassLoader parent, + URLStreamHandlerFactory factory) + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddURL(URL url) + +
+           
+static voidupdateLoader(URL[] urls) + +
+           
+ + + + + + + +
Methods inherited from class java.net.URLClassLoader
definePackage, findClass, findResource, findResources, getPermissions, getURLs, newInstance, newInstance
+ + + + + + + +
Methods inherited from class java.security.SecureClassLoader
defineClass, defineClass
+ + + + + + + +
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findSystemClass, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, loadClass, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+DynamicClassLoader

+
+public DynamicClassLoader(URL[] urls)
+
+
+
+ +

+DynamicClassLoader

+
+public DynamicClassLoader(URL[] urls,
+                          ClassLoader parent)
+
+
+
+ +

+DynamicClassLoader

+
+public DynamicClassLoader(URL[] urls,
+                          ClassLoader parent,
+                          URLStreamHandlerFactory factory)
+
+
+ + + + + + + + +
+Method Detail
+ +

+addURL

+
+public void addURL(URL url)
+
+
+
Overrides:
addURL in class URLClassLoader
+
+
+
+
+
+
+ +

+updateLoader

+
+public static void updateLoader(URL[] urls)
+
+
+
Parameters:
urls - - list of URLs to add to the thread's classloader
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/JMeter.html b/docs/api/org/apache/jmeter/JMeter.html new file mode 100644 index 00000000000..cb3bd336e30 --- /dev/null +++ b/docs/api/org/apache/jmeter/JMeter.html @@ -0,0 +1,447 @@ + + + + + +JMeter (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter +
+Class JMeter

+
+java.lang.Object
+  extended by org.apache.jmeter.JMeter
+
+
+
All Implemented Interfaces:
JMeterPlugin
+
+
+
+
public class JMeter
extends Object
implements JMeterPlugin
+ + +

+Main JMeter class; processes options and starts the GUI, non-GUI or server as appropriate. +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static StringHTTP_PROXY_PASS + +
+           
+static StringHTTP_PROXY_USER + +
+           
+static StringJMETER_NON_GUI + +
+           
+static intUDP_PORT_DEFAULT + +
+           
+  + + + + + + + + + + +
+Constructor Summary
JMeter() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static voidconvertSubTree(HashTree tree) + +
+          Refactored from AbstractAction.java
+ String[][]getIconMappings() + +
+           
+ String[][]getResourceBundles() + +
+           
+static booleanisNonGUI() + +
+          Check if JMeter is running in non-GUI mode.
+ voidstart(String[] args) + +
+          Takes the command line arguments and uses them to determine how to + startup JMeter.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+UDP_PORT_DEFAULT

+
+public static final int UDP_PORT_DEFAULT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+HTTP_PROXY_PASS

+
+public static final String HTTP_PROXY_PASS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+HTTP_PROXY_USER

+
+public static final String HTTP_PROXY_USER
+
+
+
See Also:
Constant Field Values
+
+
+ +

+JMETER_NON_GUI

+
+public static final String JMETER_NON_GUI
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+JMeter

+
+public JMeter()
+
+
+ + + + + + + + +
+Method Detail
+ +

+start

+
+public void start(String[] args)
+
+
Takes the command line arguments and uses them to determine how to + startup JMeter. + + Called reflectively by NewDriver.main(String[]) +

+

+
+
+
+
Parameters:
args - The arguments for JMeter
+
+
+
+ +

+convertSubTree

+
+public static void convertSubTree(HashTree tree)
+
+
Refactored from AbstractAction.java +

+

+
+
+
+
Parameters:
tree - The HashTree to convert
+
+
+
+ +

+getIconMappings

+
+public String[][] getIconMappings()
+
+
+
Specified by:
getIconMappings in interface JMeterPlugin
+
+
+
+
+
+
+ +

+getResourceBundles

+
+public String[][] getResourceBundles()
+
+
+
Specified by:
getResourceBundles in interface JMeterPlugin
+
+
+
+
+
+
+ +

+isNonGUI

+
+public static boolean isNonGUI()
+
+
Check if JMeter is running in non-GUI mode. +

+

+
+
+
+ +
Returns:
true if JMeter is running in non-GUI mode.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/NewDriver.html b/docs/api/org/apache/jmeter/NewDriver.html new file mode 100644 index 00000000000..da2361d4ebc --- /dev/null +++ b/docs/api/org/apache/jmeter/NewDriver.html @@ -0,0 +1,313 @@ + + + + + +NewDriver (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter +
+Class NewDriver

+
+java.lang.Object
+  extended by org.apache.jmeter.NewDriver
+
+
+
+
public final class NewDriver
extends Object
+ + +

+Main class for JMeter - sets up initial classpath and the loader. +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static voidaddPath(String path) + +
+          Add a directory or jar to the loader and system classpaths.
+static voidaddURL(String path) + +
+          Add a URL to the loader classpath only; does not update the system classpath.
+static voidaddURL(URL url) + +
+          Add a URL to the loader classpath only; does not update the system + classpath.
+static StringgetJMeterDir() + +
+          Get the directory where JMeter is installed.
+static voidmain(String[] args) + +
+          The main program which actually runs JMeter.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+addURL

+
+public static void addURL(String path)
+
+
Add a URL to the loader classpath only; does not update the system classpath. +

+

+
Parameters:
path - to be added.
+
+
+
+ +

+addURL

+
+public static void addURL(URL url)
+
+
Add a URL to the loader classpath only; does not update the system + classpath. +

+

+
Parameters:
url - The URL to add to the classpath
+
+
+
+ +

+addPath

+
+public static void addPath(String path)
+                    throws MalformedURLException
+
+
Add a directory or jar to the loader and system classpaths. +

+

+
Parameters:
path - to add to the loader and system classpath +
Throws: +
MalformedURLException - if path can not be transformed to a valid + URL
+
+
+
+ +

+getJMeterDir

+
+public static String getJMeterDir()
+
+
Get the directory where JMeter is installed. This is the absolute path + name. +

+

+ +
Returns:
the directory where JMeter is installed.
+
+
+
+ +

+main

+
+public static void main(String[] args)
+
+
The main program which actually runs JMeter. +

+

+
Parameters:
args - the command line arguments
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/ProxyAuthenticator.html b/docs/api/org/apache/jmeter/ProxyAuthenticator.html new file mode 100644 index 00000000000..0cc5896191d --- /dev/null +++ b/docs/api/org/apache/jmeter/ProxyAuthenticator.html @@ -0,0 +1,302 @@ + + + + + +ProxyAuthenticator (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter +
+Class ProxyAuthenticator

+
+java.lang.Object
+  extended by java.net.Authenticator
+      extended by org.apache.jmeter.ProxyAuthenticator
+
+
+
+
public class ProxyAuthenticator
extends Authenticator
+ + +

+Provides JMeter the ability to use proxy servers that require username and + password. +

+ +

+

+
Version:
+
$Revision: 937726 $
+
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class java.net.Authenticator
Authenticator.RequestorType
+  + + + + + + + + + + + +
+Constructor Summary
ProxyAuthenticator(String userName, + String password) + +
+          Create a ProxyAuthenticator with the specified username and password.
+  + + + + + + + + + + + +
+Method Summary
+protected  PasswordAuthenticationgetPasswordAuthentication() + +
+          Return a PasswordAuthentication instance using the userName and password + specified in the constructor.
+ + + + + + + +
Methods inherited from class java.net.Authenticator
getRequestingHost, getRequestingPort, getRequestingPrompt, getRequestingProtocol, getRequestingScheme, getRequestingSite, getRequestingURL, getRequestorType, requestPasswordAuthentication, requestPasswordAuthentication, requestPasswordAuthentication, setDefault
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ProxyAuthenticator

+
+public ProxyAuthenticator(String userName,
+                          String password)
+
+
Create a ProxyAuthenticator with the specified username and password. +

+

+
Parameters:
userName - the username to authenticate with
password - the password to authenticate with
+
+ + + + + + + + +
+Method Detail
+ +

+getPasswordAuthentication

+
+protected PasswordAuthentication getPasswordAuthentication()
+
+
Return a PasswordAuthentication instance using the userName and password + specified in the constructor. + Only applies to PROXY request types. +

+

+
Overrides:
getPasswordAuthentication in class Authenticator
+
+
+ +
Returns:
a PasswordAuthentication instance to use for authenticating with + the proxy
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/assertions/Assertion.html b/docs/api/org/apache/jmeter/assertions/Assertion.html new file mode 100644 index 00000000000..4f7e1888d31 --- /dev/null +++ b/docs/api/org/apache/jmeter/assertions/Assertion.html @@ -0,0 +1,223 @@ + + + + + +Assertion (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.assertions +
+Interface Assertion

+
+
All Known Implementing Classes:
BeanShellAssertion, BSFAssertion, CompareAssertion, DurationAssertion, HTMLAssertion, JSR223Assertion, MD5HexAssertion, ResponseAssertion, SizeAssertion, SMIMEAssertionTestElement, XMLAssertion, XMLSchemaAssertion, XPathAssertion
+
+
+
+
public interface Assertion
+ + +

+An Assertion checks a SampleResult to determine whether or not it is + successful. The resulting success status can be obtained from a corresponding + Assertion Result. For example, if a web response doesn't contain an expected + expression, it would be considered a failure. +

+ +

+

+
Version:
+
$Revision: 674351 $
+
+
+ +

+ + + + + + + + + + + + +
+Method Summary
+ AssertionResultgetResult(SampleResult response) + +
+          Returns the AssertionResult object encapsulating information about the + success or failure of the assertion.
+  +

+ + + + + + + + +
+Method Detail
+ +

+getResult

+
+AssertionResult getResult(SampleResult response)
+
+
Returns the AssertionResult object encapsulating information about the + success or failure of the assertion. +

+

+
Parameters:
response - the SampleResult containing information about the Sample + (duration, success, etc) +
Returns:
the AssertionResult containing the information about whether the + assertion passed or failed.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/assertions/AssertionResult.html b/docs/api/org/apache/jmeter/assertions/AssertionResult.html new file mode 100644 index 00000000000..84177fb907e --- /dev/null +++ b/docs/api/org/apache/jmeter/assertions/AssertionResult.html @@ -0,0 +1,551 @@ + + + + + +AssertionResult (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.assertions +
+Class AssertionResult

+
+java.lang.Object
+  extended by org.apache.jmeter.assertions.AssertionResult
+
+
+
All Implemented Interfaces:
Serializable
+
+
+
Direct Known Subclasses:
CompareAssertionResult
+
+
+
+
public class AssertionResult
extends Object
implements Serializable
+ + +

+Implements Response Assertion checking. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Field Summary
+static StringRESPONSE_WAS_NULL + +
+           
+  + + + + + + + + + + + + + +
+Constructor Summary
AssertionResult() + +
+          Deprecated. - use the named constructor
AssertionResult(String name) + +
+          Create a new Assertion Result.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetFailureMessage() + +
+          Get the message associated with any failure or error.
+ StringgetName() + +
+          Get the name of the assertion
+ booleanisError() + +
+          Check if an error occurred while checking the assertion.
+ booleanisFailure() + +
+          Check if the assertion failed.
+ voidsetError(boolean e) + +
+          Set the flag indicating whether or not an error occurred.
+ voidsetFailure(boolean f) + +
+          Set the flag indicating whether or not a failure occurred.
+ voidsetFailureMessage(String message) + +
+          Set the failure message giving more details about a failure or error.
+ AssertionResultsetResultForFailure(String message) + +
+          Convenience method for setting up failed results
+ AssertionResultsetResultForNull() + +
+          Convenience method for setting up results where the response was null
+ StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+RESPONSE_WAS_NULL

+
+public static final String RESPONSE_WAS_NULL
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+AssertionResult

+
+@Deprecated
+public AssertionResult()
+
+
Deprecated. - use the named constructor +

+

Create a new Assertion Result. The result will indicate no failure or + error. +

+

+
+ +

+AssertionResult

+
+public AssertionResult(String name)
+
+
Create a new Assertion Result. The result will indicate no failure or + error. +

+

+
Parameters:
name - the name of the assertion
+
+ + + + + + + + +
+Method Detail
+ +

+getName

+
+public String getName()
+
+
Get the name of the assertion +

+

+
+
+
+ +
Returns:
the name of the assertion
+
+
+
+ +

+isFailure

+
+public boolean isFailure()
+
+
Check if the assertion failed. If it failed, the failure message may give + more details about the failure. +

+

+
+
+
+ +
Returns:
true if the assertion failed, false if the sample met the + assertion criteria
+
+
+
+ +

+isError

+
+public boolean isError()
+
+
Check if an error occurred while checking the assertion. If an error + occurred, the failure message may give more details about the error. +

+

+
+
+
+ +
Returns:
true if an error occurred while checking the assertion, false + otherwise.
+
+
+
+ +

+getFailureMessage

+
+public String getFailureMessage()
+
+
Get the message associated with any failure or error. This method may + return null if no message was set. +

+

+
+
+
+ +
Returns:
a failure or error message, or null if no message has been set
+
+
+
+ +

+setError

+
+public void setError(boolean e)
+
+
Set the flag indicating whether or not an error occurred. +

+

+
+
+
+
Parameters:
e - true if an error occurred, false otherwise
+
+
+
+ +

+setFailure

+
+public void setFailure(boolean f)
+
+
Set the flag indicating whether or not a failure occurred. +

+

+
+
+
+
Parameters:
f - true if a failure occurred, false otherwise
+
+
+
+ +

+setFailureMessage

+
+public void setFailureMessage(String message)
+
+
Set the failure message giving more details about a failure or error. +

+

+
+
+
+
Parameters:
message - the message to set
+
+
+
+ +

+setResultForFailure

+
+public AssertionResult setResultForFailure(String message)
+
+
Convenience method for setting up failed results +

+

+
+
+
+
Parameters:
message - the message to set +
Returns:
this
+
+
+
+ +

+setResultForNull

+
+public AssertionResult setResultForNull()
+
+
Convenience method for setting up results where the response was null +

+

+
+
+
+ +
Returns:
assertion result with appropriate fields set up
+
+
+
+ +

+toString

+
+public String toString()
+
+
+
Overrides:
toString in class Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/assertions/BSFAssertion.html b/docs/api/org/apache/jmeter/assertions/BSFAssertion.html new file mode 100644 index 00000000000..0eb1a2e920b --- /dev/null +++ b/docs/api/org/apache/jmeter/assertions/BSFAssertion.html @@ -0,0 +1,321 @@ + + + + + +BSFAssertion (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.assertions +
+Class BSFAssertion

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.util.ScriptingTestElement
+          extended by org.apache.jmeter.util.BSFTestElement
+              extended by org.apache.jmeter.assertions.BSFAssertion
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Assertion, Searchable, TestBean, TestElement
+
+
+
+
public class BSFAssertion
extends BSFTestElement
implements Cloneable, Assertion, TestBean
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.util.ScriptingTestElement
scriptLanguage
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
BSFAssertion() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ AssertionResultgetResult(SampleResult response) + +
+          Returns the AssertionResult object encapsulating information about the + success or failure of the assertion.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.util.BSFTestElement
evalFileOrScript, getManager, getScriptLanguage, initManager, processFileOrScript, setScriptLanguage
+ + + + + + + +
Methods inherited from class org.apache.jmeter.util.ScriptingTestElement
getFilename, getParameters, getScript, setFilename, setParameters, setScript
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+BSFAssertion

+
+public BSFAssertion()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getResult

+
+public AssertionResult getResult(SampleResult response)
+
+
Description copied from interface: Assertion
+
Returns the AssertionResult object encapsulating information about the + success or failure of the assertion. +

+

+
Specified by:
getResult in interface Assertion
+
+
+
Parameters:
response - the SampleResult containing information about the Sample + (duration, success, etc) +
Returns:
the AssertionResult containing the information about whether the + assertion passed or failed.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/assertions/BSFAssertionBeanInfo.html b/docs/api/org/apache/jmeter/assertions/BSFAssertionBeanInfo.html new file mode 100644 index 00000000000..95a041c5289 --- /dev/null +++ b/docs/api/org/apache/jmeter/assertions/BSFAssertionBeanInfo.html @@ -0,0 +1,272 @@ + + + + + +BSFAssertionBeanInfo (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.assertions +
+Class BSFAssertionBeanInfo

+
+java.lang.Object
+  extended by java.beans.SimpleBeanInfo
+      extended by org.apache.jmeter.testbeans.BeanInfoSupport
+          extended by org.apache.jmeter.util.ScriptingBeanInfoSupport
+              extended by org.apache.jmeter.util.BSFBeanInfoSupport
+                  extended by org.apache.jmeter.assertions.BSFAssertionBeanInfo
+
+
+
All Implemented Interfaces:
BeanInfo
+
+
+
+
public class BSFAssertionBeanInfo
extends BSFBeanInfoSupport
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.testbeans.BeanInfoSupport
DEFAULT, MULTILINE, NOT_EXPRESSION, NOT_OTHER, NOT_UNDEFINED, RESOURCE_BUNDLE, TAGS, TEXT_LANGUAGE
+ + + + + + + +
Fields inherited from interface java.beans.BeanInfo
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32
+  + + + + + + + + + + +
+Constructor Summary
BSFAssertionBeanInfo() + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testbeans.BeanInfoSupport
createPropertyGroup, getAdditionalBeanInfo, getBeanDescriptor, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getIcon, getMethodDescriptors, getPropertyDescriptors, property, property, property, setIcon
+ + + + + + + +
Methods inherited from class java.beans.SimpleBeanInfo
loadImage
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+BSFAssertionBeanInfo

+
+public BSFAssertionBeanInfo()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/assertions/BeanShellAssertion.html b/docs/api/org/apache/jmeter/assertions/BeanShellAssertion.html new file mode 100644 index 00000000000..cb9e3f1366e --- /dev/null +++ b/docs/api/org/apache/jmeter/assertions/BeanShellAssertion.html @@ -0,0 +1,520 @@ + + + + + +BeanShellAssertion (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.assertions +
+Class BeanShellAssertion

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.util.BeanShellTestElement
+          extended by org.apache.jmeter.assertions.BeanShellAssertion
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Assertion, Searchable, TestElement, TestStateListener, ThreadListener
+
+
+
+
public class BeanShellAssertion
extends BeanShellTestElement
implements Assertion
+ + +

+An Assertion which understands BeanShell +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static StringFILENAME + +
+           
+static StringINIT_FILE + +
+           
+static StringPARAMETERS + +
+           
+static StringRESET_INTERPRETER + +
+           
+static StringSCRIPT + +
+           
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
BeanShellAssertion() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetFilename() + +
+           
+protected  StringgetInitFileProperty() + +
+           
+ StringgetParameters() + +
+           
+ AssertionResultgetResult(SampleResult response) + +
+          Returns the AssertionResult object encapsulating information about the + success or failure of the assertion.
+ StringgetScript() + +
+          Return the script (TestBean version).
+ booleanisResetInterpreter() + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.util.BeanShellTestElement
clone, getBeanShellInterpreter, processFileOrScript, readResolve, setFilename, setParameters, setResetInterpreter, setScript, testEnded, testEnded, testStarted, testStarted, threadFinished, threadStarted
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+FILENAME

+
+public static final String FILENAME
+
+
+
See Also:
Constant Field Values
+
+
+ +

+SCRIPT

+
+public static final String SCRIPT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PARAMETERS

+
+public static final String PARAMETERS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+RESET_INTERPRETER

+
+public static final String RESET_INTERPRETER
+
+
+
See Also:
Constant Field Values
+
+
+ +

+INIT_FILE

+
+public static final String INIT_FILE
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+BeanShellAssertion

+
+public BeanShellAssertion()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getInitFileProperty

+
+protected String getInitFileProperty()
+
+
+
Specified by:
getInitFileProperty in class BeanShellTestElement
+
+
+
+
+
+
+ +

+getScript

+
+public String getScript()
+
+
Description copied from class: BeanShellTestElement
+
Return the script (TestBean version). + Must be overridden for subclasses that don't implement TestBean + otherwise the clone() method won't work. +

+

+
Overrides:
getScript in class BeanShellTestElement
+
+
+ +
Returns:
the script to execute
+
+
+
+ +

+getFilename

+
+public String getFilename()
+
+
+
Overrides:
getFilename in class BeanShellTestElement
+
+
+
+
+
+
+ +

+getParameters

+
+public String getParameters()
+
+
+
Overrides:
getParameters in class BeanShellTestElement
+
+
+
+
+
+
+ +

+isResetInterpreter

+
+public boolean isResetInterpreter()
+
+
+
Overrides:
isResetInterpreter in class BeanShellTestElement
+
+
+
+
+
+
+ +

+getResult

+
+public AssertionResult getResult(SampleResult response)
+
+
Returns the AssertionResult object encapsulating information about the + success or failure of the assertion. +

+

+
Specified by:
getResult in interface Assertion
+
+
+
Parameters:
response - the SampleResult containing information about the Sample + (duration, success, etc) +
Returns:
the AssertionResult containing the information about whether the + assertion passed or failed.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/assertions/CompareAssertion.html b/docs/api/org/apache/jmeter/assertions/CompareAssertion.html new file mode 100644 index 00000000000..78e71f2a8e9 --- /dev/null +++ b/docs/api/org/apache/jmeter/assertions/CompareAssertion.html @@ -0,0 +1,474 @@ + + + + + +CompareAssertion (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.assertions +
+Class CompareAssertion

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.assertions.CompareAssertion
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Assertion, LoopIterationListener, Searchable, TestBean, TestElement
+
+
+
+
public class CompareAssertion
extends AbstractTestElement
implements Assertion, TestBean, Serializable, LoopIterationListener
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
CompareAssertion() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ longgetCompareTime() + +
+           
+ AssertionResultgetResult(SampleResult response) + +
+          Returns the AssertionResult object encapsulating information about the + success or failure of the assertion.
+ Collection<SubstitutionElement>getStringsToSkip() + +
+           
+ booleanisCompareContent() + +
+           
+ voiditerationEnd(LoopIterationEvent iterEvent) + +
+           
+ voiditerationStart(LoopIterationEvent iterEvent) + +
+          Called when a loop iteration is about to start.
+ voidsetCompareContent(boolean compareContent) + +
+           
+ voidsetCompareTime(long compareTime) + +
+           
+ voidsetStringsToSkip(Collection<SubstitutionElement> stringsToSkip) + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+CompareAssertion

+
+public CompareAssertion()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getResult

+
+public AssertionResult getResult(SampleResult response)
+
+
Description copied from interface: Assertion
+
Returns the AssertionResult object encapsulating information about the + success or failure of the assertion. +

+

+
Specified by:
getResult in interface Assertion
+
+
+
Parameters:
response - the SampleResult containing information about the Sample + (duration, success, etc) +
Returns:
the AssertionResult containing the information about whether the + assertion passed or failed.
+
+
+
+ +

+iterationStart

+
+public void iterationStart(LoopIterationEvent iterEvent)
+
+
Description copied from interface: LoopIterationListener
+
Called when a loop iteration is about to start. +

+

+
Specified by:
iterationStart in interface LoopIterationListener
+
+
+
Parameters:
iterEvent - the event
+
+
+
+ +

+iterationEnd

+
+public void iterationEnd(LoopIterationEvent iterEvent)
+
+
+
+
+
+
+
+
+
+ +

+isCompareContent

+
+public boolean isCompareContent()
+
+
+
+
+
+ +
Returns:
Returns the compareContent.
+
+
+
+ +

+setCompareContent

+
+public void setCompareContent(boolean compareContent)
+
+
+
+
+
+
Parameters:
compareContent - The compareContent to set.
+
+
+
+ +

+getCompareTime

+
+public long getCompareTime()
+
+
+
+
+
+ +
Returns:
Returns the compareTime.
+
+
+
+ +

+setCompareTime

+
+public void setCompareTime(long compareTime)
+
+
+
+
+
+
Parameters:
compareTime - The compareTime to set.
+
+
+
+ +

+getStringsToSkip

+
+public Collection<SubstitutionElement> getStringsToSkip()
+
+
+
+
+
+ +
Returns:
Returns the stringsToSkip.
+
+
+
+ +

+setStringsToSkip

+
+public void setStringsToSkip(Collection<SubstitutionElement> stringsToSkip)
+
+
+
+
+
+
Parameters:
stringsToSkip - The stringsToSkip to set.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/assertions/CompareAssertionBeanInfo.html b/docs/api/org/apache/jmeter/assertions/CompareAssertionBeanInfo.html new file mode 100644 index 00000000000..5250f344edd --- /dev/null +++ b/docs/api/org/apache/jmeter/assertions/CompareAssertionBeanInfo.html @@ -0,0 +1,270 @@ + + + + + +CompareAssertionBeanInfo (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.assertions +
+Class CompareAssertionBeanInfo

+
+java.lang.Object
+  extended by java.beans.SimpleBeanInfo
+      extended by org.apache.jmeter.testbeans.BeanInfoSupport
+          extended by org.apache.jmeter.assertions.CompareAssertionBeanInfo
+
+
+
All Implemented Interfaces:
BeanInfo
+
+
+
+
public class CompareAssertionBeanInfo
extends BeanInfoSupport
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.testbeans.BeanInfoSupport
DEFAULT, MULTILINE, NOT_EXPRESSION, NOT_OTHER, NOT_UNDEFINED, RESOURCE_BUNDLE, TAGS, TEXT_LANGUAGE
+ + + + + + + +
Fields inherited from interface java.beans.BeanInfo
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32
+  + + + + + + + + + + +
+Constructor Summary
CompareAssertionBeanInfo() + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testbeans.BeanInfoSupport
createPropertyGroup, getAdditionalBeanInfo, getBeanDescriptor, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getIcon, getMethodDescriptors, getPropertyDescriptors, property, property, property, setIcon
+ + + + + + + +
Methods inherited from class java.beans.SimpleBeanInfo
loadImage
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+CompareAssertionBeanInfo

+
+public CompareAssertionBeanInfo()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/assertions/CompareAssertionResult.html b/docs/api/org/apache/jmeter/assertions/CompareAssertionResult.html new file mode 100644 index 00000000000..81b654dda52 --- /dev/null +++ b/docs/api/org/apache/jmeter/assertions/CompareAssertionResult.html @@ -0,0 +1,357 @@ + + + + + +CompareAssertionResult (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.assertions +
+Class CompareAssertionResult

+
+java.lang.Object
+  extended by org.apache.jmeter.assertions.AssertionResult
+      extended by org.apache.jmeter.assertions.CompareAssertionResult
+
+
+
All Implemented Interfaces:
Serializable
+
+
+
+
public class CompareAssertionResult
extends AssertionResult
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.assertions.AssertionResult
RESPONSE_WAS_NULL
+  + + + + + + + + + + + + + +
+Constructor Summary
CompareAssertionResult() + +
+          Deprecated. Use the other ctor
CompareAssertionResult(String name) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddToBaseResult(String resultData) + +
+           
+ voidaddToSecondaryResult(String resultData) + +
+           
+ StringgetBaseResult() + +
+           
+ StringgetSecondaryResult() + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.assertions.AssertionResult
getFailureMessage, getName, isError, isFailure, setError, setFailure, setFailureMessage, setResultForFailure, setResultForNull, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+CompareAssertionResult

+
+@Deprecated
+public CompareAssertionResult()
+
+
Deprecated. Use the other ctor +

+

For testing only +

+

+
+ +

+CompareAssertionResult

+
+public CompareAssertionResult(String name)
+
+
+ + + + + + + + +
+Method Detail
+ +

+addToBaseResult

+
+public void addToBaseResult(String resultData)
+
+
+
+
+
+
+ +

+addToSecondaryResult

+
+public void addToSecondaryResult(String resultData)
+
+
+
+
+
+
+ +

+getBaseResult

+
+public String getBaseResult()
+
+
+
+
+
+
+ +

+getSecondaryResult

+
+public String getSecondaryResult()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/assertions/DurationAssertion.html b/docs/api/org/apache/jmeter/assertions/DurationAssertion.html new file mode 100644 index 00000000000..efda0998317 --- /dev/null +++ b/docs/api/org/apache/jmeter/assertions/DurationAssertion.html @@ -0,0 +1,346 @@ + + + + + +DurationAssertion (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.assertions +
+Class DurationAssertion

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.testelement.AbstractScopedTestElement
+          extended by org.apache.jmeter.testelement.AbstractScopedAssertion
+              extended by org.apache.jmeter.assertions.DurationAssertion
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Assertion, Searchable, TestElement
+
+
+
+
public class DurationAssertion
extends AbstractScopedAssertion
implements Serializable, Assertion
+ + +

+Checks if an Sample is sampled within a specified time-frame. If the duration + is larger than the timeframe the Assertion is considered a failure. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Field Summary
+static StringDURATION_KEY + +
+          Key for storing assertion-informations in the jmx-file.
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
DurationAssertion() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ AssertionResultgetResult(SampleResult response) + +
+          Returns the result of the Assertion.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractScopedAssertion
getScopeName
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractScopedTestElement
fetchScope, getSampleList, getVariableName, isScopeAll, isScopeChildren, isScopeParent, isScopeVariable, isScopeVariable, setScopeAll, setScopeChildren, setScopeParent, setScopeVariable
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+DURATION_KEY

+
+public static final String DURATION_KEY
+
+
Key for storing assertion-informations in the jmx-file. +

+

+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+DurationAssertion

+
+public DurationAssertion()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getResult

+
+public AssertionResult getResult(SampleResult response)
+
+
Returns the result of the Assertion. Here it checks wether the Sample + took to long to be considered successful. If so an AssertionResult + containing a FailureMessage will be returned. Otherwise the returned + AssertionResult will reflect the success of the Sample. +

+

+
Specified by:
getResult in interface Assertion
+
+
+
Parameters:
response - the SampleResult containing information about the Sample + (duration, success, etc) +
Returns:
the AssertionResult containing the information about whether the + assertion passed or failed.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/assertions/HTMLAssertion.html b/docs/api/org/apache/jmeter/assertions/HTMLAssertion.html new file mode 100644 index 00000000000..e9e420392d1 --- /dev/null +++ b/docs/api/org/apache/jmeter/assertions/HTMLAssertion.html @@ -0,0 +1,828 @@ + + + + + +HTMLAssertion (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.assertions +
+Class HTMLAssertion

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.assertions.HTMLAssertion
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Assertion, Searchable, TestElement
+
+
+
+
public class HTMLAssertion
extends AbstractTestElement
implements Serializable, Assertion
+ + +

+Assertion to validate the response of a Sample with Tidy. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static StringDEFAULT_DOCTYPE + +
+           
+static StringDOCTYPE_KEY + +
+           
+static StringERROR_THRESHOLD_KEY + +
+           
+static StringERRORS_ONLY_KEY + +
+           
+static StringFILENAME_KEY + +
+           
+static StringFORMAT_KEY + +
+           
+static StringWARNING_THRESHOLD_KEY + +
+           
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
HTMLAssertion() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetDoctype() + +
+          Gets the doctype
+ longgetErrorThreshold() + +
+          Gets the threshold setting for errors
+ StringgetFilename() + +
+          Sets the name of the file where tidy writes the output to
+ AssertionResultgetResult(SampleResult inResponse) + +
+          Returns the result of the Assertion.
+ longgetWarningThreshold() + +
+          Gets the threshold setting for warnings
+ booleanisErrorsOnly() + +
+          Check if errors will be reported only
+ booleanisHTML() + +
+          Check if html validation mode is set
+ booleanisXHTML() + +
+          Check if xhtml validation mode is set
+ booleanisXML() + +
+          Check if xml validation mode is set
+ voidsetDoctype(String inDoctype) + +
+          Sets the doctype setting
+ voidsetErrorsOnly(boolean inErrorsOnly) + +
+          Sets if errors should be tracked only
+ voidsetErrorThreshold(long inErrorThreshold) + +
+          Sets the threshold on error level
+ voidsetFilename(String inName) + +
+          Sets the name of the tidy output file
+ voidsetHTML() + +
+          Enables html validation mode
+ voidsetWarningThreshold(long inWarningThreshold) + +
+          Sets the threshold on warning level
+ voidsetXHTML() + +
+          Enables xhtml validation mode
+ voidsetXML() + +
+          Enables xml validation mode
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+DEFAULT_DOCTYPE

+
+public static final String DEFAULT_DOCTYPE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DOCTYPE_KEY

+
+public static final String DOCTYPE_KEY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+ERRORS_ONLY_KEY

+
+public static final String ERRORS_ONLY_KEY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+ERROR_THRESHOLD_KEY

+
+public static final String ERROR_THRESHOLD_KEY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+WARNING_THRESHOLD_KEY

+
+public static final String WARNING_THRESHOLD_KEY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+FORMAT_KEY

+
+public static final String FORMAT_KEY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+FILENAME_KEY

+
+public static final String FILENAME_KEY
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+HTMLAssertion

+
+public HTMLAssertion()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getResult

+
+public AssertionResult getResult(SampleResult inResponse)
+
+
Returns the result of the Assertion. If so an AssertionResult containing + a FailureMessage will be returned. Otherwise the returned AssertionResult + will reflect the success of the Sample. +

+

+
Specified by:
getResult in interface Assertion
+
+
+
Parameters:
inResponse - the SampleResult containing information about the Sample + (duration, success, etc) +
Returns:
the AssertionResult containing the information about whether the + assertion passed or failed.
+
+
+
+ +

+getDoctype

+
+public String getDoctype()
+
+
Gets the doctype +

+

+
+
+
+ +
Returns:
the documemt type
+
+
+
+ +

+isErrorsOnly

+
+public boolean isErrorsOnly()
+
+
Check if errors will be reported only +

+

+
+
+
+ +
Returns:
boolean - report errors only?
+
+
+
+ +

+getErrorThreshold

+
+public long getErrorThreshold()
+
+
Gets the threshold setting for errors +

+

+
+
+
+ +
Returns:
long error threshold
+
+
+
+ +

+getWarningThreshold

+
+public long getWarningThreshold()
+
+
Gets the threshold setting for warnings +

+

+
+
+
+ +
Returns:
long warning threshold
+
+
+
+ +

+setDoctype

+
+public void setDoctype(String inDoctype)
+
+
Sets the doctype setting +

+

+
+
+
+
Parameters:
inDoctype - The doctype to be set. If doctype is + null or a blank string, DEFAULT_DOCTYPE will be + used
+
+
+
+ +

+setErrorsOnly

+
+public void setErrorsOnly(boolean inErrorsOnly)
+
+
Sets if errors should be tracked only +

+

+
+
+
+
Parameters:
inErrorsOnly - Flag whether only errors should be tracked
+
+
+
+ +

+setErrorThreshold

+
+public void setErrorThreshold(long inErrorThreshold)
+
+
Sets the threshold on error level +

+

+
+
+
+
Parameters:
inErrorThreshold - The max number of parse errors which are to be tolerated +
Throws: +
IllegalArgumentException - if inErrorThreshold is less or equals zero
+
+
+
+ +

+setWarningThreshold

+
+public void setWarningThreshold(long inWarningThreshold)
+
+
Sets the threshold on warning level +

+

+
+
+
+
Parameters:
inWarningThreshold - The max number of warnings which are to be tolerated +
Throws: +
IllegalArgumentException - if inWarningThreshold is less or equal zero
+
+
+
+ +

+setHTML

+
+public void setHTML()
+
+
Enables html validation mode +

+

+
+
+
+
+
+
+
+ +

+isHTML

+
+public boolean isHTML()
+
+
Check if html validation mode is set +

+

+
+
+
+ +
Returns:
boolean
+
+
+
+ +

+setXHTML

+
+public void setXHTML()
+
+
Enables xhtml validation mode +

+

+
+
+
+
+
+
+
+ +

+isXHTML

+
+public boolean isXHTML()
+
+
Check if xhtml validation mode is set +

+

+
+
+
+ +
Returns:
boolean
+
+
+
+ +

+setXML

+
+public void setXML()
+
+
Enables xml validation mode +

+

+
+
+
+
+
+
+
+ +

+isXML

+
+public boolean isXML()
+
+
Check if xml validation mode is set +

+

+
+
+
+ +
Returns:
boolean
+
+
+
+ +

+getFilename

+
+public String getFilename()
+
+
Sets the name of the file where tidy writes the output to +

+

+
+
+
+ +
Returns:
name of file
+
+
+
+ +

+setFilename

+
+public void setFilename(String inName)
+
+
Sets the name of the tidy output file +

+

+
+
+
+
Parameters:
inName - The name of the file tidy will put its output to
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/assertions/JSR223Assertion.html b/docs/api/org/apache/jmeter/assertions/JSR223Assertion.html new file mode 100644 index 00000000000..66687bec1b9 --- /dev/null +++ b/docs/api/org/apache/jmeter/assertions/JSR223Assertion.html @@ -0,0 +1,321 @@ + + + + + +JSR223Assertion (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.assertions +
+Class JSR223Assertion

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.util.ScriptingTestElement
+          extended by org.apache.jmeter.util.JSR223TestElement
+              extended by org.apache.jmeter.assertions.JSR223Assertion
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Assertion, Searchable, TestBean, TestElement, TestStateListener
+
+
+
+
public class JSR223Assertion
extends JSR223TestElement
implements Cloneable, Assertion, TestBean
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.util.ScriptingTestElement
scriptLanguage
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
JSR223Assertion() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ AssertionResultgetResult(SampleResult response) + +
+          Returns the AssertionResult object encapsulating information about the + success or failure of the assertion.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.util.JSR223TestElement
getCacheKey, getInstance, getScriptEngine, getScriptLanguage, populateBindings, processFileOrScript, setCacheKey, setScriptLanguage, testEnded, testEnded, testStarted, testStarted
+ + + + + + + +
Methods inherited from class org.apache.jmeter.util.ScriptingTestElement
getFilename, getParameters, getScript, setFilename, setParameters, setScript
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+JSR223Assertion

+
+public JSR223Assertion()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getResult

+
+public AssertionResult getResult(SampleResult response)
+
+
Description copied from interface: Assertion
+
Returns the AssertionResult object encapsulating information about the + success or failure of the assertion. +

+

+
Specified by:
getResult in interface Assertion
+
+
+
Parameters:
response - the SampleResult containing information about the Sample + (duration, success, etc) +
Returns:
the AssertionResult containing the information about whether the + assertion passed or failed.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/assertions/JSR223AssertionBeanInfo.html b/docs/api/org/apache/jmeter/assertions/JSR223AssertionBeanInfo.html new file mode 100644 index 00000000000..ab547438105 --- /dev/null +++ b/docs/api/org/apache/jmeter/assertions/JSR223AssertionBeanInfo.html @@ -0,0 +1,281 @@ + + + + + +JSR223AssertionBeanInfo (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.assertions +
+Class JSR223AssertionBeanInfo

+
+java.lang.Object
+  extended by java.beans.SimpleBeanInfo
+      extended by org.apache.jmeter.testbeans.BeanInfoSupport
+          extended by org.apache.jmeter.util.ScriptingBeanInfoSupport
+              extended by org.apache.jmeter.util.JSR223BeanInfoSupport
+                  extended by org.apache.jmeter.assertions.JSR223AssertionBeanInfo
+
+
+
All Implemented Interfaces:
BeanInfo
+
+
+
+
public class JSR223AssertionBeanInfo
extends JSR223BeanInfoSupport
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.util.JSR223BeanInfoSupport
LANGUAGE_NAMES
+ + + + + + + +
Fields inherited from class org.apache.jmeter.testbeans.BeanInfoSupport
DEFAULT, MULTILINE, NOT_EXPRESSION, NOT_OTHER, NOT_UNDEFINED, RESOURCE_BUNDLE, TAGS, TEXT_LANGUAGE
+ + + + + + + +
Fields inherited from interface java.beans.BeanInfo
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32
+  + + + + + + + + + + +
+Constructor Summary
JSR223AssertionBeanInfo() + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testbeans.BeanInfoSupport
createPropertyGroup, getAdditionalBeanInfo, getBeanDescriptor, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getIcon, getMethodDescriptors, getPropertyDescriptors, property, property, property, setIcon
+ + + + + + + +
Methods inherited from class java.beans.SimpleBeanInfo
loadImage
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+JSR223AssertionBeanInfo

+
+public JSR223AssertionBeanInfo()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/assertions/MD5HexAssertion.html b/docs/api/org/apache/jmeter/assertions/MD5HexAssertion.html new file mode 100644 index 00000000000..b7b6fbc770b --- /dev/null +++ b/docs/api/org/apache/jmeter/assertions/MD5HexAssertion.html @@ -0,0 +1,336 @@ + + + + + +MD5HexAssertion (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.assertions +
+Class MD5HexAssertion

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.assertions.MD5HexAssertion
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Assertion, Searchable, TestElement
+
+
+
+
public class MD5HexAssertion
extends AbstractTestElement
implements Serializable, Assertion
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
MD5HexAssertion() + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetAllowedMD5Hex() + +
+           
+ AssertionResultgetResult(SampleResult response) + +
+          Returns the AssertionResult object encapsulating information about the + success or failure of the assertion.
+ voidsetAllowedMD5Hex(String hex) + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+MD5HexAssertion

+
+public MD5HexAssertion()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getResult

+
+public AssertionResult getResult(SampleResult response)
+
+
Description copied from interface: Assertion
+
Returns the AssertionResult object encapsulating information about the + success or failure of the assertion. +

+

+
Specified by:
getResult in interface Assertion
+
+
+
Parameters:
response - the SampleResult containing information about the Sample + (duration, success, etc) +
Returns:
the AssertionResult containing the information about whether the + assertion passed or failed.
+
+
+
+ +

+setAllowedMD5Hex

+
+public void setAllowedMD5Hex(String hex)
+
+
+
+
+
+
+
+
+
+ +

+getAllowedMD5Hex

+
+public String getAllowedMD5Hex()
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/assertions/ResponseAssertion.html b/docs/api/org/apache/jmeter/assertions/ResponseAssertion.html new file mode 100644 index 00000000000..86fa8530f17 --- /dev/null +++ b/docs/api/org/apache/jmeter/assertions/ResponseAssertion.html @@ -0,0 +1,1010 @@ + + + + + +ResponseAssertion (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.assertions +
+Class ResponseAssertion

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.testelement.AbstractScopedTestElement
+          extended by org.apache.jmeter.testelement.AbstractScopedAssertion
+              extended by org.apache.jmeter.assertions.ResponseAssertion
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Assertion, Searchable, TestElement
+
+
+
+
public class ResponseAssertion
extends AbstractScopedAssertion
implements Serializable, Assertion
+ + +

+Test element to handle Response Assertions, @see AssertionGui +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
ResponseAssertion() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddTestString(String testString) + +
+           
+ voidclear() + +
+          Clear the TestElement of all data.
+ voidclearTestStrings() + +
+           
+ booleangetAssumeSuccess() + +
+           
+ AssertionResultgetResult(SampleResult response) + +
+          Returns the AssertionResult object encapsulating information about the + success or failure of the assertion.
+ StringgetTestField() + +
+          !
+ CollectionPropertygetTestStrings() + +
+          !
+ intgetTestType() + +
+          !
+ booleanisContainsType() + +
+           
+ booleanisEqualsType() + +
+           
+ booleanisMatchType() + +
+           
+ booleanisNotType() + +
+           
+ booleanisSubstringType() + +
+           
+ booleanisTestFieldResponseCode() + +
+           
+ booleanisTestFieldResponseData() + +
+           
+ booleanisTestFieldResponseDataAsDocument() + +
+           
+ booleanisTestFieldResponseHeaders() + +
+           
+ booleanisTestFieldResponseMessage() + +
+           
+ booleanisTestFieldURL() + +
+           
+ voidsetAssumeSuccess(boolean b) + +
+           
+ voidsetTestFieldResponseCode() + +
+           
+ voidsetTestFieldResponseData() + +
+           
+ voidsetTestFieldResponseDataAsDocument() + +
+           
+ voidsetTestFieldResponseHeaders() + +
+           
+ voidsetTestFieldResponseMessage() + +
+           
+ voidsetTestFieldURL() + +
+           
+ voidsetToContainsType() + +
+           
+ voidsetToEqualsType() + +
+           
+ voidsetToMatchType() + +
+           
+ voidsetToNotType() + +
+           
+ voidsetToSubstringType() + +
+           
+ voidunsetNotType() + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractScopedAssertion
getScopeName
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractScopedTestElement
fetchScope, getSampleList, getVariableName, isScopeAll, isScopeChildren, isScopeParent, isScopeVariable, isScopeVariable, setScopeAll, setScopeChildren, setScopeParent, setScopeVariable
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ResponseAssertion

+
+public ResponseAssertion()
+
+
+ + + + + + + + +
+Method Detail
+ +

+clear

+
+public void clear()
+
+
Description copied from class: AbstractTestElement
+
Clear the TestElement of all data. +

+

+
Specified by:
clear in interface TestElement
Overrides:
clear in class AbstractTestElement
+
+
+
+
+
+
+ +

+setTestFieldURL

+
+public void setTestFieldURL()
+
+
+
+
+
+
+
+
+
+ +

+setTestFieldResponseCode

+
+public void setTestFieldResponseCode()
+
+
+
+
+
+
+
+
+
+ +

+setTestFieldResponseData

+
+public void setTestFieldResponseData()
+
+
+
+
+
+
+
+
+
+ +

+setTestFieldResponseDataAsDocument

+
+public void setTestFieldResponseDataAsDocument()
+
+
+
+
+
+
+
+
+
+ +

+setTestFieldResponseMessage

+
+public void setTestFieldResponseMessage()
+
+
+
+
+
+
+
+
+
+ +

+setTestFieldResponseHeaders

+
+public void setTestFieldResponseHeaders()
+
+
+
+
+
+
+
+
+
+ +

+isTestFieldURL

+
+public boolean isTestFieldURL()
+
+
+
+
+
+
+
+
+
+ +

+isTestFieldResponseCode

+
+public boolean isTestFieldResponseCode()
+
+
+
+
+
+
+
+
+
+ +

+isTestFieldResponseData

+
+public boolean isTestFieldResponseData()
+
+
+
+
+
+
+
+
+
+ +

+isTestFieldResponseDataAsDocument

+
+public boolean isTestFieldResponseDataAsDocument()
+
+
+
+
+
+
+
+
+
+ +

+isTestFieldResponseMessage

+
+public boolean isTestFieldResponseMessage()
+
+
+
+
+
+
+
+
+
+ +

+isTestFieldResponseHeaders

+
+public boolean isTestFieldResponseHeaders()
+
+
+
+
+
+
+
+
+
+ +

+addTestString

+
+public void addTestString(String testString)
+
+
+
+
+
+
+
+
+
+ +

+clearTestStrings

+
+public void clearTestStrings()
+
+
+
+
+
+
+
+
+
+ +

+getResult

+
+public AssertionResult getResult(SampleResult response)
+
+
Description copied from interface: Assertion
+
Returns the AssertionResult object encapsulating information about the + success or failure of the assertion. +

+

+
Specified by:
getResult in interface Assertion
+
+
+
Parameters:
response - the SampleResult containing information about the Sample + (duration, success, etc) +
Returns:
the AssertionResult containing the information about whether the + assertion passed or failed.
+
+
+
+ +

+getTestField

+
+public String getTestField()
+
+
!ToDoo (Method description) +

+

+
+
+
+ +
Returns:
!ToDo (Return description)
+
+
+
+ +

+getTestType

+
+public int getTestType()
+
+
!ToDoo (Method description) +

+

+
+
+
+ +
Returns:
!ToDo (Return description)
+
+
+
+ +

+getTestStrings

+
+public CollectionProperty getTestStrings()
+
+
!ToDoo (Method description) +

+

+
+
+
+ +
Returns:
!ToDo (Return description)
+
+
+
+ +

+isEqualsType

+
+public boolean isEqualsType()
+
+
+
+
+
+
+
+
+
+ +

+isSubstringType

+
+public boolean isSubstringType()
+
+
+
+
+
+
+
+
+
+ +

+isContainsType

+
+public boolean isContainsType()
+
+
+
+
+
+
+
+
+
+ +

+isMatchType

+
+public boolean isMatchType()
+
+
+
+
+
+
+
+
+
+ +

+isNotType

+
+public boolean isNotType()
+
+
+
+
+
+
+
+
+
+ +

+setToContainsType

+
+public void setToContainsType()
+
+
+
+
+
+
+
+
+
+ +

+setToMatchType

+
+public void setToMatchType()
+
+
+
+
+
+
+
+
+
+ +

+setToEqualsType

+
+public void setToEqualsType()
+
+
+
+
+
+
+
+
+
+ +

+setToSubstringType

+
+public void setToSubstringType()
+
+
+
+
+
+
+
+
+
+ +

+setToNotType

+
+public void setToNotType()
+
+
+
+
+
+
+
+
+
+ +

+unsetNotType

+
+public void unsetNotType()
+
+
+
+
+
+
+
+
+
+ +

+getAssumeSuccess

+
+public boolean getAssumeSuccess()
+
+
+
+
+
+
+
+
+
+ +

+setAssumeSuccess

+
+public void setAssumeSuccess(boolean b)
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/assertions/SMIMEAssertionTestElement.html b/docs/api/org/apache/jmeter/assertions/SMIMEAssertionTestElement.html new file mode 100644 index 00000000000..e7c0d8dc3c4 --- /dev/null +++ b/docs/api/org/apache/jmeter/assertions/SMIMEAssertionTestElement.html @@ -0,0 +1,798 @@ + + + + + +SMIMEAssertionTestElement (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.assertions +
+Class SMIMEAssertionTestElement

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.assertions.SMIMEAssertionTestElement
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Assertion, Searchable, TestElement
+
+
+
+
public class SMIMEAssertionTestElement
extends AbstractTestElement
implements Serializable, Assertion
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
SMIMEAssertionTestElement() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetIssuerDn() + +
+           
+ AssertionResultgetResult(SampleResult response) + +
+          Returns the AssertionResult object encapsulating information about the + success or failure of the assertion.
+ StringgetSignerCertFile() + +
+           
+ StringgetSignerDn() + +
+           
+ StringgetSignerEmail() + +
+           
+ StringgetSignerSerial() + +
+           
+ StringgetSpecificMessagePosition() + +
+           
+ intgetSpecificMessagePositionAsInt() + +
+           
+ booleanisNotSigned() + +
+           
+ booleanisSignerCheckByFile() + +
+           
+ booleanisSignerCheckConstraints() + +
+           
+ booleanisSignerNoCheck() + +
+           
+ booleanisVerifySignature() + +
+           
+ voidsetIssuerDn(String issuertDn) + +
+           
+ voidsetNotSigned(boolean notSigned) + +
+           
+ voidsetSignerCertFile(String signerCertFile) + +
+           
+ voidsetSignerCheckByFile(boolean signerCheckByFile) + +
+           
+ voidsetSignerCheckConstraints(boolean signerCheckConstraints) + +
+           
+ voidsetSignerDn(String signerDn) + +
+           
+ voidsetSignerEmail(String signerEmail) + +
+           
+ voidsetSignerNoCheck(boolean signerNoCheck) + +
+           
+ voidsetSignerSerial(String signerSerial) + +
+           
+ voidsetSpecificMessagePosition(String position) + +
+           
+ voidsetVerifySignature(boolean verifySignature) + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SMIMEAssertionTestElement

+
+public SMIMEAssertionTestElement()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getResult

+
+public AssertionResult getResult(SampleResult response)
+
+
Description copied from interface: Assertion
+
Returns the AssertionResult object encapsulating information about the + success or failure of the assertion. +

+

+
Specified by:
getResult in interface Assertion
+
+
+
Parameters:
response - the SampleResult containing information about the Sample + (duration, success, etc) +
Returns:
the AssertionResult containing the information about whether the + assertion passed or failed.
+
+
+
+ +

+isVerifySignature

+
+public boolean isVerifySignature()
+
+
+
+
+
+
+
+
+
+ +

+setVerifySignature

+
+public void setVerifySignature(boolean verifySignature)
+
+
+
+
+
+
+
+
+
+ +

+getIssuerDn

+
+public String getIssuerDn()
+
+
+
+
+
+
+
+
+
+ +

+setIssuerDn

+
+public void setIssuerDn(String issuertDn)
+
+
+
+
+
+
+
+
+
+ +

+isSignerCheckByFile

+
+public boolean isSignerCheckByFile()
+
+
+
+
+
+
+
+
+
+ +

+setSignerCheckByFile

+
+public void setSignerCheckByFile(boolean signerCheckByFile)
+
+
+
+
+
+
+
+
+
+ +

+isSignerCheckConstraints

+
+public boolean isSignerCheckConstraints()
+
+
+
+
+
+
+
+
+
+ +

+setSignerCheckConstraints

+
+public void setSignerCheckConstraints(boolean signerCheckConstraints)
+
+
+
+
+
+
+
+
+
+ +

+isSignerNoCheck

+
+public boolean isSignerNoCheck()
+
+
+
+
+
+
+
+
+
+ +

+setSignerNoCheck

+
+public void setSignerNoCheck(boolean signerNoCheck)
+
+
+
+
+
+
+
+
+
+ +

+getSignerCertFile

+
+public String getSignerCertFile()
+
+
+
+
+
+
+
+
+
+ +

+setSignerCertFile

+
+public void setSignerCertFile(String signerCertFile)
+
+
+
+
+
+
+
+
+
+ +

+getSignerDn

+
+public String getSignerDn()
+
+
+
+
+
+
+
+
+
+ +

+setSignerDn

+
+public void setSignerDn(String signerDn)
+
+
+
+
+
+
+
+
+
+ +

+getSignerSerial

+
+public String getSignerSerial()
+
+
+
+
+
+
+
+
+
+ +

+setSignerSerial

+
+public void setSignerSerial(String signerSerial)
+
+
+
+
+
+
+
+
+
+ +

+getSignerEmail

+
+public String getSignerEmail()
+
+
+
+
+
+
+
+
+
+ +

+setSignerEmail

+
+public void setSignerEmail(String signerEmail)
+
+
+
+
+
+
+
+
+
+ +

+isNotSigned

+
+public boolean isNotSigned()
+
+
+
+
+
+
+
+
+
+ +

+setNotSigned

+
+public void setNotSigned(boolean notSigned)
+
+
+
+
+
+
+
+
+
+ +

+getSpecificMessagePosition

+
+public String getSpecificMessagePosition()
+
+
+
+
+
+
+
+
+
+ +

+getSpecificMessagePositionAsInt

+
+public int getSpecificMessagePositionAsInt()
+
+
+
+
+
+
+
+
+
+ +

+setSpecificMessagePosition

+
+public void setSpecificMessagePosition(String position)
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/assertions/SizeAssertion.html b/docs/api/org/apache/jmeter/assertions/SizeAssertion.html new file mode 100644 index 00000000000..cf5b9b6a28d --- /dev/null +++ b/docs/api/org/apache/jmeter/assertions/SizeAssertion.html @@ -0,0 +1,811 @@ + + + + + +SizeAssertion (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.assertions +
+Class SizeAssertion

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.testelement.AbstractScopedTestElement
+          extended by org.apache.jmeter.testelement.AbstractScopedAssertion
+              extended by org.apache.jmeter.assertions.SizeAssertion
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Assertion, Searchable, TestElement
+
+
+
+
public class SizeAssertion
extends AbstractScopedAssertion
implements Serializable, Assertion
+ + +

+Checks if the results of a Sample matches a particular size. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static intEQUAL + +
+           
+static intGREATERTHAN + +
+           
+static intGREATERTHANEQUAL + +
+           
+static intLESSTHAN + +
+           
+static intLESSTHANEQUAL + +
+           
+static intNOTEQUAL + +
+           
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
SizeAssertion() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetAllowedSize() + +
+          Returns the size in bytes to be asserted.
+ intgetCompOper() + +
+          Returns the operator to be asserted.
+ AssertionResultgetResult(SampleResult response) + +
+          Returns the result of the Assertion.
+ StringgetTestField() + +
+           
+ booleanisTestFieldNetworkSize() + +
+           
+ booleanisTestFieldResponseBody() + +
+           
+ booleanisTestFieldResponseCode() + +
+           
+ booleanisTestFieldResponseHeaders() + +
+           
+ booleanisTestFieldResponseMessage() + +
+           
+ voidsetAllowedSize(long size) + +
+          Set the size that should be used in the assertion
+ voidsetAllowedSize(String size) + +
+          Set the size that shall be asserted.
+ voidsetCompOper(int operator) + +
+          Set the operator used for the assertion.
+ voidsetTestFieldNetworkSize() + +
+           
+ voidsetTestFieldResponseBody() + +
+           
+ voidsetTestFieldResponseCode() + +
+           
+ voidsetTestFieldResponseHeaders() + +
+           
+ voidsetTestFieldResponseMessage() + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractScopedAssertion
getScopeName
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractScopedTestElement
fetchScope, getSampleList, getVariableName, isScopeAll, isScopeChildren, isScopeParent, isScopeVariable, isScopeVariable, setScopeAll, setScopeChildren, setScopeParent, setScopeVariable
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+EQUAL

+
+public static final int EQUAL
+
+
+
See Also:
Constant Field Values
+
+
+ +

+NOTEQUAL

+
+public static final int NOTEQUAL
+
+
+
See Also:
Constant Field Values
+
+
+ +

+GREATERTHAN

+
+public static final int GREATERTHAN
+
+
+
See Also:
Constant Field Values
+
+
+ +

+LESSTHAN

+
+public static final int LESSTHAN
+
+
+
See Also:
Constant Field Values
+
+
+ +

+GREATERTHANEQUAL

+
+public static final int GREATERTHANEQUAL
+
+
+
See Also:
Constant Field Values
+
+
+ +

+LESSTHANEQUAL

+
+public static final int LESSTHANEQUAL
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+SizeAssertion

+
+public SizeAssertion()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getResult

+
+public AssertionResult getResult(SampleResult response)
+
+
Returns the result of the Assertion. + Here it checks the Sample responseData length. +

+

+
Specified by:
getResult in interface Assertion
+
+
+
Parameters:
response - the SampleResult containing information about the Sample + (duration, success, etc) +
Returns:
the AssertionResult containing the information about whether the + assertion passed or failed.
+
+
+
+ +

+getAllowedSize

+
+public String getAllowedSize()
+
+
Returns the size in bytes to be asserted. +

+

+
+
+
+ +
Returns:
The allowed size
+
+
+
+ +

+setCompOper

+
+public void setCompOper(int operator)
+
+
Set the operator used for the assertion. Has to be one of +
+
EQUAL
1
+
NOTEQUAL
2
+
GREATERTHAN
3
+
LESSTHAN
4
+
GREATERTHANEQUAL
5
+
LESSTHANEQUAL
6
+
+

+

+
+
+
+
Parameters:
operator - The operator to be used in the assertion
+
+
+
+ +

+getCompOper

+
+public int getCompOper()
+
+
Returns the operator to be asserted. +
+
EQUAL
1
+
NOTEQUAL
2
+
GREATERTHAN
3
+
LESSTHAN
4
+
GREATERTHANEQUAL
5
+
LESSTHANEQUAL
6
+
+

+

+
+
+
+ +
Returns:
The operator used for the assertion
+
+
+
+ +

+setAllowedSize

+
+public void setAllowedSize(String size)
+
+
Set the size that shall be asserted. +

+

+
+
+
+
Parameters:
size - a number of bytes.
+
+
+
+ +

+setAllowedSize

+
+public void setAllowedSize(long size)
+
+
Set the size that should be used in the assertion +

+

+
+
+
+
Parameters:
size - The number of bytes
+
+
+
+ +

+setTestFieldNetworkSize

+
+public void setTestFieldNetworkSize()
+
+
+
+
+
+
+
+
+
+ +

+setTestFieldResponseHeaders

+
+public void setTestFieldResponseHeaders()
+
+
+
+
+
+
+
+
+
+ +

+setTestFieldResponseBody

+
+public void setTestFieldResponseBody()
+
+
+
+
+
+
+
+
+
+ +

+setTestFieldResponseCode

+
+public void setTestFieldResponseCode()
+
+
+
+
+
+
+
+
+
+ +

+setTestFieldResponseMessage

+
+public void setTestFieldResponseMessage()
+
+
+
+
+
+
+
+
+
+ +

+getTestField

+
+public String getTestField()
+
+
+
+
+
+
+
+
+
+ +

+isTestFieldNetworkSize

+
+public boolean isTestFieldNetworkSize()
+
+
+
+
+
+
+
+
+
+ +

+isTestFieldResponseHeaders

+
+public boolean isTestFieldResponseHeaders()
+
+
+
+
+
+
+
+
+
+ +

+isTestFieldResponseBody

+
+public boolean isTestFieldResponseBody()
+
+
+
+
+
+
+
+
+
+ +

+isTestFieldResponseCode

+
+public boolean isTestFieldResponseCode()
+
+
+
+
+
+
+
+
+
+ +

+isTestFieldResponseMessage

+
+public boolean isTestFieldResponseMessage()
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/assertions/SubstitutionElement.html b/docs/api/org/apache/jmeter/assertions/SubstitutionElement.html new file mode 100644 index 00000000000..73afcf174b2 --- /dev/null +++ b/docs/api/org/apache/jmeter/assertions/SubstitutionElement.html @@ -0,0 +1,383 @@ + + + + + +SubstitutionElement (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.assertions +
+Class SubstitutionElement

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.assertions.SubstitutionElement
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Searchable, TestElement
+
+
+
+
public class SubstitutionElement
extends AbstractTestElement
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + +
+Field Summary
+static StringREGEX + +
+           
+static StringSUBSTITUTE + +
+           
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
SubstitutionElement() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetRegex() + +
+           
+ StringgetSubstitute() + +
+           
+ voidsetRegex(String regex) + +
+           
+ voidsetSubstitute(String sub) + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+REGEX

+
+public static final String REGEX
+
+
+
See Also:
Constant Field Values
+
+
+ +

+SUBSTITUTE

+
+public static final String SUBSTITUTE
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+SubstitutionElement

+
+public SubstitutionElement()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getRegex

+
+public String getRegex()
+
+
+
+
+
+
+ +

+setRegex

+
+public void setRegex(String regex)
+
+
+
+
+
+
+ +

+getSubstitute

+
+public String getSubstitute()
+
+
+
+
+
+
+ +

+setSubstitute

+
+public void setSubstitute(String sub)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/assertions/XMLAssertion.html b/docs/api/org/apache/jmeter/assertions/XMLAssertion.html new file mode 100644 index 00000000000..fbe35c3a8b0 --- /dev/null +++ b/docs/api/org/apache/jmeter/assertions/XMLAssertion.html @@ -0,0 +1,348 @@ + + + + + +XMLAssertion (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.assertions +
+Class XMLAssertion

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.assertions.XMLAssertion
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Assertion, Searchable, TestElement, ThreadListener
+
+
+
+
public class XMLAssertion
extends AbstractTestElement
implements Serializable, Assertion, ThreadListener
+ + +

+Checks if the result is a well-formed XML content using jdom +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
XMLAssertion() + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ AssertionResultgetResult(SampleResult response) + +
+          Returns the result of the Assertion.
+ voidthreadFinished() + +
+          Called for each thread after all samples have been processed.
+ voidthreadStarted() + +
+          Called for each thread before starting sampling.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+XMLAssertion

+
+public XMLAssertion()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getResult

+
+public AssertionResult getResult(SampleResult response)
+
+
Returns the result of the Assertion. Here it checks wether the Sample + took to long to be considered successful. If so an AssertionResult + containing a FailureMessage will be returned. Otherwise the returned + AssertionResult will reflect the success of the Sample. +

+

+
Specified by:
getResult in interface Assertion
+
+
+
Parameters:
response - the SampleResult containing information about the Sample + (duration, success, etc) +
Returns:
the AssertionResult containing the information about whether the + assertion passed or failed.
+
+
+
+ +

+threadStarted

+
+public void threadStarted()
+
+
Description copied from interface: ThreadListener
+
Called for each thread before starting sampling. + WARNING: this is called before any Config test elements are processed, + so any properties they define will not have been merged in yet. +

+

+
Specified by:
threadStarted in interface ThreadListener
+
+
+
See Also:
JMeterThread.threadStarted()
+
+
+
+ +

+threadFinished

+
+public void threadFinished()
+
+
Description copied from interface: ThreadListener
+
Called for each thread after all samples have been processed. +

+

+
Specified by:
threadFinished in interface ThreadListener
+
+
+
See Also:
JMeterThread.threadFinished(org.apache.jmeter.engine.event.LoopIterationListener)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/assertions/XMLSchemaAssertion.html b/docs/api/org/apache/jmeter/assertions/XMLSchemaAssertion.html new file mode 100644 index 00000000000..808ba90170b --- /dev/null +++ b/docs/api/org/apache/jmeter/assertions/XMLSchemaAssertion.html @@ -0,0 +1,440 @@ + + + + + +XMLSchemaAssertion (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.assertions +
+Class XMLSchemaAssertion

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.assertions.XMLSchemaAssertion
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Assertion, Searchable, TestElement
+
+
+
+
public class XMLSchemaAssertion
extends AbstractTestElement
implements Serializable, Assertion
+ + +

+XMLSchemaAssertion.java Validate response against an XML Schema author + Dave Maung +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static StringFILE_NAME_IS_REQUIRED + +
+           
+static StringJAXP_SCHEMA_LANGUAGE + +
+           
+static StringJAXP_SCHEMA_SOURCE + +
+           
+static StringW3C_XML_SCHEMA + +
+           
+static StringXSD_FILENAME_KEY + +
+           
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
XMLSchemaAssertion() + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ AssertionResultgetResult(SampleResult response) + +
+          getResult
+ StringgetXsdFileName() + +
+           
+ voidsetXsdFileName(String xmlSchemaFileName) + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+FILE_NAME_IS_REQUIRED

+
+public static final String FILE_NAME_IS_REQUIRED
+
+
+
See Also:
Constant Field Values
+
+
+ +

+JAXP_SCHEMA_LANGUAGE

+
+public static final String JAXP_SCHEMA_LANGUAGE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+W3C_XML_SCHEMA

+
+public static final String W3C_XML_SCHEMA
+
+
+
See Also:
Constant Field Values
+
+
+ +

+JAXP_SCHEMA_SOURCE

+
+public static final String JAXP_SCHEMA_SOURCE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+XSD_FILENAME_KEY

+
+public static final String XSD_FILENAME_KEY
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+XMLSchemaAssertion

+
+public XMLSchemaAssertion()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getResult

+
+public AssertionResult getResult(SampleResult response)
+
+
getResult +

+

+
Specified by:
getResult in interface Assertion
+
+
+
Parameters:
response - the SampleResult containing information about the Sample + (duration, success, etc) +
Returns:
the AssertionResult containing the information about whether the + assertion passed or failed.
+
+
+
+ +

+setXsdFileName

+
+public void setXsdFileName(String xmlSchemaFileName)
+                    throws IllegalArgumentException
+
+
+
+
+
+ +
Throws: +
IllegalArgumentException
+
+
+
+ +

+getXsdFileName

+
+public String getXsdFileName()
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/assertions/XPathAssertion.html b/docs/api/org/apache/jmeter/assertions/XPathAssertion.html new file mode 100644 index 00000000000..ea39abced9d --- /dev/null +++ b/docs/api/org/apache/jmeter/assertions/XPathAssertion.html @@ -0,0 +1,811 @@ + + + + + +XPathAssertion (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.assertions +
+Class XPathAssertion

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.testelement.AbstractScopedTestElement
+          extended by org.apache.jmeter.testelement.AbstractScopedAssertion
+              extended by org.apache.jmeter.assertions.XPathAssertion
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Assertion, Searchable, TestElement
+
+
+
+
public class XPathAssertion
extends AbstractScopedAssertion
implements Serializable, Assertion
+ + +

+Checks if the result is a well-formed XML content and whether it matches an + XPath +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Field Summary
+static StringDEFAULT_XPATH + +
+           
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
XPathAssertion() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ AssertionResultgetResult(SampleResult response) + +
+          Returns the result of the Assertion.
+ StringgetXPathString() + +
+          Get The XPath String that will be used in matching the document
+ booleanisDownloadDTDs() + +
+           
+ booleanisNamespace() + +
+          Is this namespace aware?
+ booleanisNegated() + +
+          Negate the XPath test, that is return true if something is not found.
+ booleanisQuiet() + +
+           
+ booleanisTolerant() + +
+          Is this using tolerant mode?
+ booleanisValidating() + +
+          Is this validating
+ booleanisWhitespace() + +
+          Is this whitepsace ignored.
+ booleanreportErrors() + +
+           
+ voidsetDownloadDTDs(boolean val) + +
+           
+ voidsetNamespace(boolean namespace) + +
+          Set whether this is namespace aware
+ voidsetNegated(boolean negate) + +
+           
+ voidsetQuiet(boolean val) + +
+           
+ voidsetReportErrors(boolean val) + +
+           
+ voidsetShowWarnings(boolean val) + +
+           
+ voidsetTolerant(boolean tolerant) + +
+          Set tolerant mode if required
+ voidsetValidating(boolean validate) + +
+          Set use validation
+ voidsetWhitespace(boolean whitespace) + +
+          Set whether to ignore element whitespace
+ voidsetXPathString(String xpath) + +
+          Set the XPath String this will be used as an xpath
+ booleanshowWarnings() + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractScopedAssertion
getScopeName
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractScopedTestElement
fetchScope, getSampleList, getVariableName, isScopeAll, isScopeChildren, isScopeParent, isScopeVariable, isScopeVariable, setScopeAll, setScopeChildren, setScopeParent, setScopeVariable
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+DEFAULT_XPATH

+
+public static final String DEFAULT_XPATH
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+XPathAssertion

+
+public XPathAssertion()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getResult

+
+public AssertionResult getResult(SampleResult response)
+
+
Returns the result of the Assertion. Checks if the result is well-formed + XML, and that the XPath expression is matched (or not, as the case may + be) +

+

+
Specified by:
getResult in interface Assertion
+
+
+
Parameters:
response - the SampleResult containing information about the Sample + (duration, success, etc) +
Returns:
the AssertionResult containing the information about whether the + assertion passed or failed.
+
+
+
+ +

+getXPathString

+
+public String getXPathString()
+
+
Get The XPath String that will be used in matching the document +

+

+
+
+
+ +
Returns:
String xpath String
+
+
+
+ +

+setXPathString

+
+public void setXPathString(String xpath)
+
+
Set the XPath String this will be used as an xpath +

+

+
+
+
+
Parameters:
xpath - String
+
+
+
+ +

+setWhitespace

+
+public void setWhitespace(boolean whitespace)
+
+
Set whether to ignore element whitespace +

+

+
+
+
+
Parameters:
whitespace - Flag whether whitespace elements should be ignored
+
+
+
+ +

+setValidating

+
+public void setValidating(boolean validate)
+
+
Set use validation +

+

+
+
+
+
Parameters:
validate - Flag whether validation should be used
+
+
+
+ +

+setNamespace

+
+public void setNamespace(boolean namespace)
+
+
Set whether this is namespace aware +

+

+
+
+
+
Parameters:
namespace - Flag whether namespace should be used
+
+
+
+ +

+setTolerant

+
+public void setTolerant(boolean tolerant)
+
+
Set tolerant mode if required +

+

+
+
+
+
Parameters:
tolerant - true/false
+
+
+
+ +

+setNegated

+
+public void setNegated(boolean negate)
+
+
+
+
+
+
+
+
+
+ +

+isWhitespace

+
+public boolean isWhitespace()
+
+
Is this whitepsace ignored. +

+

+
+
+
+ +
Returns:
boolean
+
+
+
+ +

+isValidating

+
+public boolean isValidating()
+
+
Is this validating +

+

+
+
+
+ +
Returns:
boolean
+
+
+
+ +

+isNamespace

+
+public boolean isNamespace()
+
+
Is this namespace aware? +

+

+
+
+
+ +
Returns:
boolean
+
+
+
+ +

+isTolerant

+
+public boolean isTolerant()
+
+
Is this using tolerant mode? +

+

+
+
+
+ +
Returns:
boolean
+
+
+
+ +

+isNegated

+
+public boolean isNegated()
+
+
Negate the XPath test, that is return true if something is not found. +

+

+
+
+
+ +
Returns:
boolean negated
+
+
+
+ +

+setReportErrors

+
+public void setReportErrors(boolean val)
+
+
+
+
+
+
+
+
+
+ +

+reportErrors

+
+public boolean reportErrors()
+
+
+
+
+
+
+
+
+
+ +

+setShowWarnings

+
+public void setShowWarnings(boolean val)
+
+
+
+
+
+
+
+
+
+ +

+showWarnings

+
+public boolean showWarnings()
+
+
+
+
+
+
+
+
+
+ +

+setQuiet

+
+public void setQuiet(boolean val)
+
+
+
+
+
+
+
+
+
+ +

+isQuiet

+
+public boolean isQuiet()
+
+
+
+
+
+
+
+
+
+ +

+setDownloadDTDs

+
+public void setDownloadDTDs(boolean val)
+
+
+
+
+
+
+
+
+
+ +

+isDownloadDTDs

+
+public boolean isDownloadDTDs()
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/assertions/gui/AbstractAssertionGui.html b/docs/api/org/apache/jmeter/assertions/gui/AbstractAssertionGui.html new file mode 100644 index 00000000000..0b814d214b2 --- /dev/null +++ b/docs/api/org/apache/jmeter/assertions/gui/AbstractAssertionGui.html @@ -0,0 +1,436 @@ + + + + + +AbstractAssertionGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.assertions.gui +
+Class AbstractAssertionGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.gui.AbstractScopedJMeterGuiComponent
+                          extended by org.apache.jmeter.assertions.gui.AbstractAssertionGui
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
Direct Known Subclasses:
AssertionGui, BeanShellAssertionGui, DurationAssertionGui, HTMLAssertionGui, MD5HexAssertionGUI, SizeAssertionGui, SMIMEAssertionGui, XMLAssertionGui, XMLSchemaAssertionGUI, XPathAssertionGui
+
+
+
+
public abstract class AbstractAssertionGui
extends AbstractScopedJMeterGuiComponent
+ + +

+This is the base class for JMeter GUI components which manage assertions. + + Assertions which can be applied to different scopes (parent, children or both) + need to use the createScopePanel() to add the panel to the GUI, and they also + need to use saveScopeSettings() and showScopeSettings() to keep the test element + and GUI in synch. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
AbstractAssertionGui() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ Collection<String>getMenuCategories() + +
+          This is the list of menu categories this gui component will be available + under.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractScopedJMeterGuiComponent
clearGui, createPopupMenu, createScopePanel, createScopePanel, createScopePanel, saveScopeSettings, showScopeSettings, showScopeSettings
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configure, configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.gui.JMeterGUIComponent
createTestElement, getLabelResource, modifyTestElement
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+AbstractAssertionGui

+
+public AbstractAssertionGui()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getMenuCategories

+
+public Collection<String> getMenuCategories()
+
+
This is the list of menu categories this gui component will be available + under. This implementation returns + MenuFactory.ASSERTIONS, which is + appropriate for most assertion components. +

+

+ +
Returns:
a Collection of Strings, where each element is one of the + constants defined in MenuFactory
See Also:
MenuFactory
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/assertions/gui/AssertionGui.html b/docs/api/org/apache/jmeter/assertions/gui/AssertionGui.html new file mode 100644 index 00000000000..9711e1f451e --- /dev/null +++ b/docs/api/org/apache/jmeter/assertions/gui/AssertionGui.html @@ -0,0 +1,541 @@ + + + + + +AssertionGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.assertions.gui +
+Class AssertionGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.gui.AbstractScopedJMeterGuiComponent
+                          extended by org.apache.jmeter.assertions.gui.AbstractAssertionGui
+                              extended by org.apache.jmeter.assertions.gui.AssertionGui
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
+
public class AssertionGui
extends AbstractAssertionGui
+ + +

+GUI interface for a ResponseAssertion. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
AssertionGui() + +
+          Create a new AssertionGui panel.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclearGui() + +
+          Implements JMeterGUIComponent.clearGui
+ voidconfigure(TestElement el) + +
+          A newly created component can be initialized with the contents of a Test + Element object by calling this method.
+ TestElementcreateTestElement() + +
+          JMeter test components are separated into a model and a GUI + representation.
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ voidmodifyTestElement(TestElement el) + +
+          GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.assertions.gui.AbstractAssertionGui
getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractScopedJMeterGuiComponent
createPopupMenu, createScopePanel, createScopePanel, createScopePanel, saveScopeSettings, showScopeSettings, showScopeSettings
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+AssertionGui

+
+public AssertionGui()
+
+
Create a new AssertionGui panel. +

+

+ + + + + + + + +
+Method Detail
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+ +
Returns:
the resource name
+
+
+
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
Description copied from interface: JMeterGUIComponent
+
JMeter test components are separated into a model and a GUI + representation. The model holds the data and the GUI displays it. The GUI + class is responsible for knowing how to create and initialize with data + the model class that it knows how to display, and this method is called + when new test elements are created. +

+

+ +
Returns:
the Test Element object that the GUI component represents.
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement el)
+
+
Description copied from interface: JMeterGUIComponent
+
GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components. This method should + overwrite whatever data is currently in the TestElement as it is called + after a user has filled out the form elements in the gui with new + information. +

+

+
Parameters:
el - the TestElement to modify
+
+
+
+ +

+clearGui

+
+public void clearGui()
+
+
Implements JMeterGUIComponent.clearGui +

+

+
Specified by:
clearGui in interface ClearGui
Overrides:
clearGui in class AbstractScopedJMeterGuiComponent
+
+
+
+
+
+
+ +

+configure

+
+public void configure(TestElement el)
+
+
A newly created component can be initialized with the contents of a Test + Element object by calling this method. The component is responsible for + querying the Test Element object for the relevant information to display + in its GUI. +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class AbstractJMeterGuiComponent
+
+
+
Parameters:
el - the TestElement to configure
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/assertions/gui/BeanShellAssertionGui.html b/docs/api/org/apache/jmeter/assertions/gui/BeanShellAssertionGui.html new file mode 100644 index 00000000000..7bfdd77319f --- /dev/null +++ b/docs/api/org/apache/jmeter/assertions/gui/BeanShellAssertionGui.html @@ -0,0 +1,540 @@ + + + + + +BeanShellAssertionGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.assertions.gui +
+Class BeanShellAssertionGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.gui.AbstractScopedJMeterGuiComponent
+                          extended by org.apache.jmeter.assertions.gui.AbstractAssertionGui
+                              extended by org.apache.jmeter.assertions.gui.BeanShellAssertionGui
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
+
public class BeanShellAssertionGui
extends AbstractAssertionGui
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
BeanShellAssertionGui() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclearGui() + +
+          Provides a default implementation that resets the name field to the value of + getStaticLabel(), reset comment and sets enabled to true.
+ voidconfigure(TestElement element) + +
+          A newly created gui component can be initialized with the contents of a + Test Element object by calling this method.
+ TestElementcreateTestElement() + +
+          JMeter test components are separated into a model and a GUI + representation.
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ voidmodifyTestElement(TestElement te) + +
+          Modifies a given TestElement to mirror the data in the gui components.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.assertions.gui.AbstractAssertionGui
getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractScopedJMeterGuiComponent
createPopupMenu, createScopePanel, createScopePanel, createScopePanel, saveScopeSettings, showScopeSettings, showScopeSettings
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+BeanShellAssertionGui

+
+public BeanShellAssertionGui()
+
+
+ + + + + + + + +
+Method Detail
+ +

+configure

+
+public void configure(TestElement element)
+
+
Description copied from class: AbstractJMeterGuiComponent
+
A newly created gui component can be initialized with the contents of a + Test Element object by calling this method. The component is responsible + for querying the Test Element object for the relevant information to + display in its GUI. +

+ AbstractJMeterGuiComponent provides a partial implementation of this + method, setting the name of the component and its enabled status. + Subclasses should override this method, performing their own + configuration as needed, but also calling this super-implementation. +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class AbstractJMeterGuiComponent
+
+
+
Parameters:
element - the TestElement to configure
+
+
+
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
Description copied from interface: JMeterGUIComponent
+
JMeter test components are separated into a model and a GUI + representation. The model holds the data and the GUI displays it. The GUI + class is responsible for knowing how to create and initialize with data + the model class that it knows how to display, and this method is called + when new test elements are created. +

+

+ +
Returns:
the Test Element object that the GUI component represents.
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement te)
+
+
Modifies a given TestElement to mirror the data in the gui components. +

+

+
Parameters:
te - the TestElement to modify
See Also:
JMeterGUIComponent.modifyTestElement(TestElement)
+
+
+
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+ +
Returns:
the resource name
+
+
+
+ +

+clearGui

+
+public void clearGui()
+
+
Description copied from class: AbstractJMeterGuiComponent
+
Provides a default implementation that resets the name field to the value of + getStaticLabel(), reset comment and sets enabled to true. Your GUI may need more things + cleared, in which case you should override, clear the extra fields, and + still call super.clearGui(). +

+

+
Specified by:
clearGui in interface ClearGui
Overrides:
clearGui in class AbstractScopedJMeterGuiComponent
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/assertions/gui/DurationAssertionGui.html b/docs/api/org/apache/jmeter/assertions/gui/DurationAssertionGui.html new file mode 100644 index 00000000000..64b0ca8cd62 --- /dev/null +++ b/docs/api/org/apache/jmeter/assertions/gui/DurationAssertionGui.html @@ -0,0 +1,558 @@ + + + + + +DurationAssertionGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.assertions.gui +
+Class DurationAssertionGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.gui.AbstractScopedJMeterGuiComponent
+                          extended by org.apache.jmeter.assertions.gui.AbstractAssertionGui
+                              extended by org.apache.jmeter.assertions.gui.DurationAssertionGui
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
+
public class DurationAssertionGui
extends AbstractAssertionGui
+ + +

+GUI for DurationAssertion +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
DurationAssertionGui() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclearGui() + +
+          Implements JMeterGUIComponent.clearGui
+ voidconfigure(TestElement el) + +
+          A newly created gui component can be initialized with the contents of a + Test Element object by calling this method.
+ TestElementcreateTestElement() + +
+          JMeter test components are separated into a model and a GUI + representation.
+ StringgetDurationAttributesTitle() + +
+           
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ voidmodifyTestElement(TestElement el) + +
+          Modifies a given TestElement to mirror the data in the gui components.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.assertions.gui.AbstractAssertionGui
getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractScopedJMeterGuiComponent
createPopupMenu, createScopePanel, createScopePanel, createScopePanel, saveScopeSettings, showScopeSettings, showScopeSettings
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+DurationAssertionGui

+
+public DurationAssertionGui()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+ +
Returns:
the resource name
+
+
+
+ +

+getDurationAttributesTitle

+
+public String getDurationAttributesTitle()
+
+
+
+
+
+
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
Description copied from interface: JMeterGUIComponent
+
JMeter test components are separated into a model and a GUI + representation. The model holds the data and the GUI displays it. The GUI + class is responsible for knowing how to create and initialize with data + the model class that it knows how to display, and this method is called + when new test elements are created. +

+

+ +
Returns:
the Test Element object that the GUI component represents.
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement el)
+
+
Modifies a given TestElement to mirror the data in the gui components. +

+

+
Parameters:
el - the TestElement to modify
See Also:
JMeterGUIComponent.modifyTestElement(TestElement)
+
+
+
+ +

+clearGui

+
+public void clearGui()
+
+
Implements JMeterGUIComponent.clearGui +

+

+
Specified by:
clearGui in interface ClearGui
Overrides:
clearGui in class AbstractScopedJMeterGuiComponent
+
+
+
+
+
+
+ +

+configure

+
+public void configure(TestElement el)
+
+
Description copied from class: AbstractJMeterGuiComponent
+
A newly created gui component can be initialized with the contents of a + Test Element object by calling this method. The component is responsible + for querying the Test Element object for the relevant information to + display in its GUI. +

+ AbstractJMeterGuiComponent provides a partial implementation of this + method, setting the name of the component and its enabled status. + Subclasses should override this method, performing their own + configuration as needed, but also calling this super-implementation. +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class AbstractJMeterGuiComponent
+
+
+
Parameters:
el - the TestElement to configure
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/assertions/gui/HTMLAssertionGui.html b/docs/api/org/apache/jmeter/assertions/gui/HTMLAssertionGui.html new file mode 100644 index 00000000000..495f874b60b --- /dev/null +++ b/docs/api/org/apache/jmeter/assertions/gui/HTMLAssertionGui.html @@ -0,0 +1,685 @@ + + + + + +HTMLAssertionGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.assertions.gui +
+Class HTMLAssertionGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.gui.AbstractScopedJMeterGuiComponent
+                          extended by org.apache.jmeter.assertions.gui.AbstractAssertionGui
+                              extended by org.apache.jmeter.assertions.gui.HTMLAssertionGui
+
+
+
All Implemented Interfaces:
ActionListener, KeyListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
+
public class HTMLAssertionGui
extends AbstractAssertionGui
implements KeyListener, ActionListener
+ + +

+GUI for HTMLAssertion +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
HTMLAssertionGui() + +
+          The constructor.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidactionPerformed(ActionEvent e) + +
+          This method is called from erros-only checkbox
+ voidclearGui() + +
+          Implements JMeterGUIComponent.clearGui + Provides a default implementation that resets the name field to the value of + getStaticLabel(), reset comment and sets enabled to true.
+ voidconfigure(TestElement inElement) + +
+          Configures the associated test element.
+ TestElementcreateTestElement() + +
+          JMeter test components are separated into a model and a GUI + representation.
+ voidfocusGained(FocusEvent e) + +
+          Method gets called when one of the threshold fields gains focus
+ voidfocusLost(FocusEvent inEvent) + +
+          This method is called if one of the threshold field looses the focus
+ StringgetLabelResource() + +
+          Returns the label to be shown within the JTree-Component.
+ voidkeyPressed(KeyEvent e) + +
+           
+ voidkeyReleased(KeyEvent e) + +
+           
+ voidkeyTyped(KeyEvent e) + +
+           
+ voidmodifyTestElement(TestElement inElement) + +
+          Modifies a given TestElement to mirror the data in the gui components.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.assertions.gui.AbstractAssertionGui
getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractScopedJMeterGuiComponent
createPopupMenu, createScopePanel, createScopePanel, createScopePanel, saveScopeSettings, showScopeSettings, showScopeSettings
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+HTMLAssertionGui

+
+public HTMLAssertionGui()
+
+
The constructor. +

+

+ + + + + + + + +
+Method Detail
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Returns the label to be shown within the JTree-Component. +

+

+
Specified by:
getLabelResource in interface JMeterGUIComponent
+
+
+ +
Returns:
the resource name
+
+
+
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
Description copied from interface: JMeterGUIComponent
+
JMeter test components are separated into a model and a GUI + representation. The model holds the data and the GUI displays it. The GUI + class is responsible for knowing how to create and initialize with data + the model class that it knows how to display, and this method is called + when new test elements are created. +

+

+
Specified by:
createTestElement in interface JMeterGUIComponent
+
+
+ +
Returns:
the Test Element object that the GUI component represents.
See Also:
JMeterGUIComponent.createTestElement()
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement inElement)
+
+
Modifies a given TestElement to mirror the data in the gui components. +

+

+
Specified by:
modifyTestElement in interface JMeterGUIComponent
+
+
+
Parameters:
inElement - the TestElement to modify
See Also:
JMeterGUIComponent.modifyTestElement(TestElement)
+
+
+
+ +

+clearGui

+
+public void clearGui()
+
+
Implements JMeterGUIComponent.clearGui + Provides a default implementation that resets the name field to the value of + getStaticLabel(), reset comment and sets enabled to true. Your GUI may need more things + cleared, in which case you should override, clear the extra fields, and + still call super.clearGui(). +

+

+
Specified by:
clearGui in interface ClearGui
Overrides:
clearGui in class AbstractScopedJMeterGuiComponent
+
+
+
+
+
+
+ +

+configure

+
+public void configure(TestElement inElement)
+
+
Configures the associated test element. + A newly created gui component can be initialized with the contents of a + Test Element object by calling this method. The component is responsible + for querying the Test Element object for the relevant information to + display in its GUI. +

+ AbstractJMeterGuiComponent provides a partial implementation of this + method, setting the name of the component and its enabled status. + Subclasses should override this method, performing their own + configuration as needed, but also calling this super-implementation. +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class AbstractJMeterGuiComponent
+
+
+
Parameters:
inElement - the TestElement to configure
+
+
+
+ +

+focusLost

+
+public void focusLost(FocusEvent inEvent)
+
+
This method is called if one of the threshold field looses the focus +

+

+
+
+
+
Parameters:
inEvent - The FocusEvent with detailed information about the focus loss
+
+
+
+ +

+focusGained

+
+public void focusGained(FocusEvent e)
+
+
Method gets called when one of the threshold fields gains focus +

+

+
+
+
+
Parameters:
e - The FocusEvent with detailed information about the focus gain
See Also:
FocusListener.focusGained(java.awt.event.FocusEvent)
+
+
+
+ +

+actionPerformed

+
+public void actionPerformed(ActionEvent e)
+
+
This method is called from erros-only checkbox +

+

+
Specified by:
actionPerformed in interface ActionListener
+
+
+
See Also:
ActionListener.actionPerformed(java.awt.event.ActionEvent)
+
+
+
+ +

+keyPressed

+
+public void keyPressed(KeyEvent e)
+
+
+
Specified by:
keyPressed in interface KeyListener
+
+
+
+
+
+
+ +

+keyReleased

+
+public void keyReleased(KeyEvent e)
+
+
+
Specified by:
keyReleased in interface KeyListener
+
+
+
+
+
+
+ +

+keyTyped

+
+public void keyTyped(KeyEvent e)
+
+
+
Specified by:
keyTyped in interface KeyListener
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/assertions/gui/MD5HexAssertionGUI.html b/docs/api/org/apache/jmeter/assertions/gui/MD5HexAssertionGUI.html new file mode 100644 index 00000000000..30d66adfc39 --- /dev/null +++ b/docs/api/org/apache/jmeter/assertions/gui/MD5HexAssertionGUI.html @@ -0,0 +1,541 @@ + + + + + +MD5HexAssertionGUI (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.assertions.gui +
+Class MD5HexAssertionGUI

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.gui.AbstractScopedJMeterGuiComponent
+                          extended by org.apache.jmeter.assertions.gui.AbstractAssertionGui
+                              extended by org.apache.jmeter.assertions.gui.MD5HexAssertionGUI
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
+
public class MD5HexAssertionGUI
extends AbstractAssertionGui
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
MD5HexAssertionGUI() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclearGui() + +
+          Implements JMeterGUIComponent.clearGui
+ voidconfigure(TestElement el) + +
+          A newly created gui component can be initialized with the contents of a + Test Element object by calling this method.
+ TestElementcreateTestElement() + +
+          JMeter test components are separated into a model and a GUI + representation.
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ voidmodifyTestElement(TestElement element) + +
+          GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.assertions.gui.AbstractAssertionGui
getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractScopedJMeterGuiComponent
createPopupMenu, createScopePanel, createScopePanel, createScopePanel, saveScopeSettings, showScopeSettings, showScopeSettings
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+MD5HexAssertionGUI

+
+public MD5HexAssertionGUI()
+
+
+ + + + + + + + +
+Method Detail
+ +

+configure

+
+public void configure(TestElement el)
+
+
Description copied from class: AbstractJMeterGuiComponent
+
A newly created gui component can be initialized with the contents of a + Test Element object by calling this method. The component is responsible + for querying the Test Element object for the relevant information to + display in its GUI. +

+ AbstractJMeterGuiComponent provides a partial implementation of this + method, setting the name of the component and its enabled status. + Subclasses should override this method, performing their own + configuration as needed, but also calling this super-implementation. +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class AbstractJMeterGuiComponent
+
+
+
Parameters:
el - the TestElement to configure
+
+
+
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+ +
Returns:
the resource name
+
+
+
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
Description copied from interface: JMeterGUIComponent
+
JMeter test components are separated into a model and a GUI + representation. The model holds the data and the GUI displays it. The GUI + class is responsible for knowing how to create and initialize with data + the model class that it knows how to display, and this method is called + when new test elements are created. +

+

+ +
Returns:
the Test Element object that the GUI component represents.
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement element)
+
+
Description copied from interface: JMeterGUIComponent
+
GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components. This method should + overwrite whatever data is currently in the TestElement as it is called + after a user has filled out the form elements in the gui with new + information. +

+

+
Parameters:
element - the TestElement to modify
+
+
+
+ +

+clearGui

+
+public void clearGui()
+
+
Implements JMeterGUIComponent.clearGui +

+

+
Specified by:
clearGui in interface ClearGui
Overrides:
clearGui in class AbstractScopedJMeterGuiComponent
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/assertions/gui/SMIMEAssertionGui.html b/docs/api/org/apache/jmeter/assertions/gui/SMIMEAssertionGui.html new file mode 100644 index 00000000000..59e43ff8cdc --- /dev/null +++ b/docs/api/org/apache/jmeter/assertions/gui/SMIMEAssertionGui.html @@ -0,0 +1,545 @@ + + + + + +SMIMEAssertionGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.assertions.gui +
+Class SMIMEAssertionGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.gui.AbstractScopedJMeterGuiComponent
+                          extended by org.apache.jmeter.assertions.gui.AbstractAssertionGui
+                              extended by org.apache.jmeter.assertions.gui.SMIMEAssertionGui
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
+
public class SMIMEAssertionGui
extends AbstractAssertionGui
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
SMIMEAssertionGui() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclearGui() + +
+          Provides a default implementation that resets the name field to the value of + getStaticLabel(), reset comment and sets enabled to true.
+ voidconfigure(TestElement el) + +
+          A newly created gui component can be initialized with the contents of a + Test Element object by calling this method.
+ TestElementcreateTestElement() + +
+          JMeter test components are separated into a model and a GUI + representation.
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ voidmodifyTestElement(TestElement el) + +
+          GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.assertions.gui.AbstractAssertionGui
getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractScopedJMeterGuiComponent
createPopupMenu, createScopePanel, createScopePanel, createScopePanel, saveScopeSettings, showScopeSettings, showScopeSettings
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SMIMEAssertionGui

+
+public SMIMEAssertionGui()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+ +
Returns:
the resource name
+
+
+
+ +

+clearGui

+
+public void clearGui()
+
+
Provides a default implementation that resets the name field to the value of + getStaticLabel(), reset comment and sets enabled to true. Your GUI may need more things + cleared, in which case you should override, clear the extra fields, and + still call super.clearGui(). +

+

+
Specified by:
clearGui in interface ClearGui
Overrides:
clearGui in class AbstractScopedJMeterGuiComponent
+
+
+
+
+
+
+ +

+configure

+
+public void configure(TestElement el)
+
+
Description copied from class: AbstractJMeterGuiComponent
+
A newly created gui component can be initialized with the contents of a + Test Element object by calling this method. The component is responsible + for querying the Test Element object for the relevant information to + display in its GUI. +

+ AbstractJMeterGuiComponent provides a partial implementation of this + method, setting the name of the component and its enabled status. + Subclasses should override this method, performing their own + configuration as needed, but also calling this super-implementation. +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class AbstractJMeterGuiComponent
+
+
+
Parameters:
el - the TestElement to configure
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement el)
+
+
Description copied from interface: JMeterGUIComponent
+
GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components. This method should + overwrite whatever data is currently in the TestElement as it is called + after a user has filled out the form elements in the gui with new + information. +

+

+
Parameters:
el - the TestElement to modify
+
+
+
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
Description copied from interface: JMeterGUIComponent
+
JMeter test components are separated into a model and a GUI + representation. The model holds the data and the GUI displays it. The GUI + class is responsible for knowing how to create and initialize with data + the model class that it knows how to display, and this method is called + when new test elements are created. +

+

+ +
Returns:
the Test Element object that the GUI component represents.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/assertions/gui/SizeAssertionGui.html b/docs/api/org/apache/jmeter/assertions/gui/SizeAssertionGui.html new file mode 100644 index 00000000000..47d0e97dc59 --- /dev/null +++ b/docs/api/org/apache/jmeter/assertions/gui/SizeAssertionGui.html @@ -0,0 +1,651 @@ + + + + + +SizeAssertionGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.assertions.gui +
+Class SizeAssertionGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.gui.AbstractScopedJMeterGuiComponent
+                          extended by org.apache.jmeter.assertions.gui.AbstractAssertionGui
+                              extended by org.apache.jmeter.assertions.gui.SizeAssertionGui
+
+
+
All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
+
public class SizeAssertionGui
extends AbstractAssertionGui
implements ActionListener
+ + +

+GUI for SizeAssertion +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
SizeAssertionGui() + +
+          Simple Constructor which initializes the gui component
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidactionPerformed(ActionEvent e) + +
+           
+ voidclearGui() + +
+          Implements JMeterGUIComponent.clearGui
+ voidconfigure(TestElement el) + +
+          A newly created gui component can be initialized with the contents of a + Test Element object by calling this method.
+ TestElementcreateTestElement() + +
+          JMeter test components are separated into a model and a GUI + representation.
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ intgetState() + +
+          Get the state of the radio Button + + Possible states are + + SizeAssertion.EQUAL + SizeAssertion.NOTEQUAL + SizeAssertion.GREATERTHAN + SizeAssertion.LESSTHAN + SizeAssertion.GREATERTHANEQUAL + SizeAssertion.LESSTHANEQUAL +
+ voidmodifyTestElement(TestElement el) + +
+          Modifies a given TestElement to mirror the data in the gui components.
+ voidsetState(int state) + +
+          Set the state of the radio Button.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.assertions.gui.AbstractAssertionGui
getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractScopedJMeterGuiComponent
createPopupMenu, createScopePanel, createScopePanel, createScopePanel, saveScopeSettings, showScopeSettings, showScopeSettings
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SizeAssertionGui

+
+public SizeAssertionGui()
+
+
Simple Constructor which initializes the gui component +

+

+ + + + + + + + +
+Method Detail
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+
Specified by:
getLabelResource in interface JMeterGUIComponent
+
+
+ +
Returns:
the resource name
+
+
+
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
Description copied from interface: JMeterGUIComponent
+
JMeter test components are separated into a model and a GUI + representation. The model holds the data and the GUI displays it. The GUI + class is responsible for knowing how to create and initialize with data + the model class that it knows how to display, and this method is called + when new test elements are created. +

+

+
Specified by:
createTestElement in interface JMeterGUIComponent
+
+
+ +
Returns:
the Test Element object that the GUI component represents.
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement el)
+
+
Modifies a given TestElement to mirror the data in the gui components. +

+

+
Specified by:
modifyTestElement in interface JMeterGUIComponent
+
+
+
Parameters:
el - the TestElement to modify
See Also:
JMeterGUIComponent.modifyTestElement(TestElement)
+
+
+
+ +

+clearGui

+
+public void clearGui()
+
+
Implements JMeterGUIComponent.clearGui +

+

+
Specified by:
clearGui in interface ClearGui
Overrides:
clearGui in class AbstractScopedJMeterGuiComponent
+
+
+
+
+
+
+ +

+configure

+
+public void configure(TestElement el)
+
+
Description copied from class: AbstractJMeterGuiComponent
+
A newly created gui component can be initialized with the contents of a + Test Element object by calling this method. The component is responsible + for querying the Test Element object for the relevant information to + display in its GUI. +

+ AbstractJMeterGuiComponent provides a partial implementation of this + method, setting the name of the component and its enabled status. + Subclasses should override this method, performing their own + configuration as needed, but also calling this super-implementation. +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class AbstractJMeterGuiComponent
+
+
+
Parameters:
el - the TestElement to configure
+
+
+
+ +

+setState

+
+public void setState(int state)
+
+
Set the state of the radio Button. +

+ Allowed states are +

+

+

+
+
+
+
Parameters:
state - One of the allowed states
+
+
+
+ +

+getState

+
+public int getState()
+
+
Get the state of the radio Button +

+ Possible states are +

+

+

+
+
+
+ +
Returns:
The current state of the radio Button
+
+
+
+ +

+actionPerformed

+
+public void actionPerformed(ActionEvent e)
+
+
+
Specified by:
actionPerformed in interface ActionListener
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/assertions/gui/XMLAssertionGui.html b/docs/api/org/apache/jmeter/assertions/gui/XMLAssertionGui.html new file mode 100644 index 00000000000..18f554aaceb --- /dev/null +++ b/docs/api/org/apache/jmeter/assertions/gui/XMLAssertionGui.html @@ -0,0 +1,471 @@ + + + + + +XMLAssertionGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.assertions.gui +
+Class XMLAssertionGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.gui.AbstractScopedJMeterGuiComponent
+                          extended by org.apache.jmeter.assertions.gui.AbstractAssertionGui
+                              extended by org.apache.jmeter.assertions.gui.XMLAssertionGui
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
+
public class XMLAssertionGui
extends AbstractAssertionGui
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
XMLAssertionGui() + +
+          The constructor.
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ TestElementcreateTestElement() + +
+          JMeter test components are separated into a model and a GUI + representation.
+ StringgetLabelResource() + +
+          Returns the label to be shown within the JTree-Component.
+ voidmodifyTestElement(TestElement el) + +
+          Modifies a given TestElement to mirror the data in the gui components.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.assertions.gui.AbstractAssertionGui
getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractScopedJMeterGuiComponent
clearGui, createPopupMenu, createScopePanel, createScopePanel, createScopePanel, saveScopeSettings, showScopeSettings, showScopeSettings
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configure, configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+XMLAssertionGui

+
+public XMLAssertionGui()
+
+
The constructor. +

+

+ + + + + + + + +
+Method Detail
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Returns the label to be shown within the JTree-Component. +

+

+ +
Returns:
the resource name
+
+
+
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
Description copied from interface: JMeterGUIComponent
+
JMeter test components are separated into a model and a GUI + representation. The model holds the data and the GUI displays it. The GUI + class is responsible for knowing how to create and initialize with data + the model class that it knows how to display, and this method is called + when new test elements are created. +

+

+ +
Returns:
the Test Element object that the GUI component represents.
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement el)
+
+
Modifies a given TestElement to mirror the data in the gui components. +

+

+
Parameters:
el - the TestElement to modify
See Also:
JMeterGUIComponent.modifyTestElement(TestElement)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/assertions/gui/XMLConfPanel.html b/docs/api/org/apache/jmeter/assertions/gui/XMLConfPanel.html new file mode 100644 index 00000000000..c5b1b89befa --- /dev/null +++ b/docs/api/org/apache/jmeter/assertions/gui/XMLConfPanel.html @@ -0,0 +1,454 @@ + + + + + +XMLConfPanel (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.assertions.gui +
+Class XMLConfPanel

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.assertions.gui.XMLConfPanel
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible
+
+
+
+
public class XMLConfPanel
extends JPanel
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
XMLConfPanel() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidconfigure(XPathAssertion assertion) + +
+           
+ voidconfigure(XPathExtractor assertion) + +
+           
+ voidmodifyTestElement(XPathAssertion assertion) + +
+           
+ voidmodifyTestElement(XPathExtractor assertion) + +
+           
+ voidsetDefaultValues() + +
+           
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+XMLConfPanel

+
+public XMLConfPanel()
+
+
+ + + + + + + + +
+Method Detail
+ +

+setDefaultValues

+
+public void setDefaultValues()
+
+
+
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(XPathAssertion assertion)
+
+
+
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(XPathExtractor assertion)
+
+
+
+
+
+
+ +

+configure

+
+public void configure(XPathAssertion assertion)
+
+
+
+
+
+
+ +

+configure

+
+public void configure(XPathExtractor assertion)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/assertions/gui/XMLSchemaAssertionGUI.html b/docs/api/org/apache/jmeter/assertions/gui/XMLSchemaAssertionGUI.html new file mode 100644 index 00000000000..5d871b81c40 --- /dev/null +++ b/docs/api/org/apache/jmeter/assertions/gui/XMLSchemaAssertionGUI.html @@ -0,0 +1,518 @@ + + + + + +XMLSchemaAssertionGUI (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.assertions.gui +
+Class XMLSchemaAssertionGUI

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.gui.AbstractScopedJMeterGuiComponent
+                          extended by org.apache.jmeter.assertions.gui.AbstractAssertionGui
+                              extended by org.apache.jmeter.assertions.gui.XMLSchemaAssertionGUI
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
+
public class XMLSchemaAssertionGUI
extends AbstractAssertionGui
+ + +

+XMLSchemaAssertionGUI.java author Dave Maung +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
XMLSchemaAssertionGUI() + +
+          The constructor.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclearGui() + +
+          Implements JMeterGUIComponent.clearGui
+ voidconfigure(TestElement el) + +
+          Configures the GUI from the associated test element.
+ TestElementcreateTestElement() + +
+          create Test Element
+ StringgetLabelResource() + +
+          Returns the label to be shown within the JTree-Component.
+ voidmodifyTestElement(TestElement inElement) + +
+          Modifies a given TestElement to mirror the data in the gui components.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.assertions.gui.AbstractAssertionGui
getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractScopedJMeterGuiComponent
createPopupMenu, createScopePanel, createScopePanel, createScopePanel, saveScopeSettings, showScopeSettings, showScopeSettings
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+XMLSchemaAssertionGUI

+
+public XMLSchemaAssertionGUI()
+
+
The constructor. +

+

+ + + + + + + + +
+Method Detail
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Returns the label to be shown within the JTree-Component. +

+

+ +
Returns:
the resource name
+
+
+
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
create Test Element +

+

+ +
Returns:
the Test Element object that the GUI component represents.
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement inElement)
+
+
Modifies a given TestElement to mirror the data in the gui components. +

+

+
Parameters:
inElement - the TestElement to modify
See Also:
JMeterGUIComponent.modifyTestElement(TestElement)
+
+
+
+ +

+clearGui

+
+public void clearGui()
+
+
Implements JMeterGUIComponent.clearGui +

+

+
Specified by:
clearGui in interface ClearGui
Overrides:
clearGui in class AbstractScopedJMeterGuiComponent
+
+
+
+
+
+
+ +

+configure

+
+public void configure(TestElement el)
+
+
Configures the GUI from the associated test element. +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class AbstractJMeterGuiComponent
+
+
+
Parameters:
el - - + the test element (should be XMLSchemaAssertion)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/assertions/gui/XPathAssertionGui.html b/docs/api/org/apache/jmeter/assertions/gui/XPathAssertionGui.html new file mode 100644 index 00000000000..c3a2cc4da8c --- /dev/null +++ b/docs/api/org/apache/jmeter/assertions/gui/XPathAssertionGui.html @@ -0,0 +1,540 @@ + + + + + +XPathAssertionGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.assertions.gui +
+Class XPathAssertionGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.gui.AbstractScopedJMeterGuiComponent
+                          extended by org.apache.jmeter.assertions.gui.AbstractAssertionGui
+                              extended by org.apache.jmeter.assertions.gui.XPathAssertionGui
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
+
public class XPathAssertionGui
extends AbstractAssertionGui
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
XPathAssertionGui() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclearGui() + +
+          Implements JMeterGUIComponent.clearGui
+ voidconfigure(TestElement el) + +
+          A newly created gui component can be initialized with the contents of a + Test Element object by calling this method.
+ TestElementcreateTestElement() + +
+          Create test element
+ StringgetLabelResource() + +
+          Returns the label to be shown within the JTree-Component.
+ StringgetXPathAttributesTitle() + +
+           
+ voidmodifyTestElement(TestElement el) + +
+          Modifies a given TestElement to mirror the data in the gui components.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.assertions.gui.AbstractAssertionGui
getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractScopedJMeterGuiComponent
createPopupMenu, createScopePanel, createScopePanel, createScopePanel, saveScopeSettings, showScopeSettings, showScopeSettings
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+XPathAssertionGui

+
+public XPathAssertionGui()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Returns the label to be shown within the JTree-Component. +

+

+ +
Returns:
the resource name
+
+
+
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
Create test element +

+

+ +
Returns:
the Test Element object that the GUI component represents.
+
+
+
+ +

+getXPathAttributesTitle

+
+public String getXPathAttributesTitle()
+
+
+
+
+
+
+ +

+configure

+
+public void configure(TestElement el)
+
+
Description copied from class: AbstractJMeterGuiComponent
+
A newly created gui component can be initialized with the contents of a + Test Element object by calling this method. The component is responsible + for querying the Test Element object for the relevant information to + display in its GUI. +

+ AbstractJMeterGuiComponent provides a partial implementation of this + method, setting the name of the component and its enabled status. + Subclasses should override this method, performing their own + configuration as needed, but also calling this super-implementation. +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class AbstractJMeterGuiComponent
+
+
+
Parameters:
el - the TestElement to configure
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement el)
+
+
Modifies a given TestElement to mirror the data in the gui components. +

+

+
Parameters:
el - the TestElement to modify
See Also:
JMeterGUIComponent.modifyTestElement(TestElement)
+
+
+
+ +

+clearGui

+
+public void clearGui()
+
+
Implements JMeterGUIComponent.clearGui +

+

+
Specified by:
clearGui in interface ClearGui
Overrides:
clearGui in class AbstractScopedJMeterGuiComponent
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/assertions/gui/XPathPanel.html b/docs/api/org/apache/jmeter/assertions/gui/XPathPanel.html new file mode 100644 index 00000000000..3f8f37bffac --- /dev/null +++ b/docs/api/org/apache/jmeter/assertions/gui/XPathPanel.html @@ -0,0 +1,602 @@ + + + + + +XPathPanel (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.assertions.gui +
+Class XPathPanel

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.assertions.gui.XPathPanel
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible
+
+
+
+
public class XPathPanel
extends JPanel
+ + +

+Gui component for representing a xpath expression +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
XPathPanel() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ JButtongetCheckXPathButton() + +
+          Check XPath button
+ JCheckBoxgetNegatedCheckBox() + +
+          Negated chechbox
+ StringgetXPath() + +
+          Get the XPath String
+ JSyntaxTextAreagetXPathField() + +
+          Returns the current JSyntaxTextArea for the xpath expression, or + creates a new one, if none is found.
+ booleanisNegated() + +
+          Does this negate the xpath results
+ booleanisShowNegated() + +
+           
+ voidsetDefaultValues() + +
+          Set default values on this component
+ voidsetNegated(boolean negated) + +
+          Set this to true, if you want success when the xpath does not match.
+ voidsetShowNegated(boolean showNegate) + +
+           
+ voidsetXPath(String xpath) + +
+          Set the string that will be used in the xpath evaluation
+static booleanvalidXPath(String xpathString, + boolean showDialog) + +
+          Test whether an XPath is valid.
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+XPathPanel

+
+public XPathPanel()
+
+
+ + + + + + + + +
+Method Detail
+ +

+setDefaultValues

+
+public void setDefaultValues()
+
+
Set default values on this component +

+

+
+
+
+
+ +

+getXPath

+
+public String getXPath()
+
+
Get the XPath String +

+

+ +
Returns:
String
+
+
+
+ +

+setXPath

+
+public void setXPath(String xpath)
+
+
Set the string that will be used in the xpath evaluation +

+

+
Parameters:
xpath - The string representing the xpath expression
+
+
+
+ +

+isNegated

+
+public boolean isNegated()
+
+
Does this negate the xpath results +

+

+ +
Returns:
boolean
+
+
+
+ +

+setNegated

+
+public void setNegated(boolean negated)
+
+
Set this to true, if you want success when the xpath does not match. +

+

+
Parameters:
negated - Flag whether xpath match should be negated
+
+
+
+ +

+getNegatedCheckBox

+
+public JCheckBox getNegatedCheckBox()
+
+
Negated chechbox +

+

+ +
Returns:
JCheckBox
+
+
+
+ +

+getCheckXPathButton

+
+public JButton getCheckXPathButton()
+
+
Check XPath button +

+

+ +
Returns:
JButton
+
+
+
+ +

+getXPathField

+
+public JSyntaxTextArea getXPathField()
+
+
Returns the current JSyntaxTextArea for the xpath expression, or + creates a new one, if none is found. +

+

+ +
Returns:
JSyntaxTextArea for the xpath expression
+
+
+
+ +

+isShowNegated

+
+public boolean isShowNegated()
+
+
+ +
Returns:
Returns the showNegate.
+
+
+
+ +

+setShowNegated

+
+public void setShowNegated(boolean showNegate)
+
+
+
Parameters:
showNegate - The showNegate to set.
+
+
+
+ +

+validXPath

+
+public static boolean validXPath(String xpathString,
+                                 boolean showDialog)
+
+
Test whether an XPath is valid. It seems the Xalan has no easy way to + check, so this creates a dummy test document, then tries to evaluate the xpath against it. +

+

+
Parameters:
xpathString - XPath String to validate
showDialog - weather to show a dialog +
Returns:
returns true if valid, valse otherwise.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/assertions/gui/package-frame.html b/docs/api/org/apache/jmeter/assertions/gui/package-frame.html new file mode 100644 index 00000000000..2f6f25cca1d --- /dev/null +++ b/docs/api/org/apache/jmeter/assertions/gui/package-frame.html @@ -0,0 +1,54 @@ + + + + + +org.apache.jmeter.assertions.gui (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.assertions.gui + + + + +
+Classes  + +
+AbstractAssertionGui +
+AssertionGui +
+BeanShellAssertionGui +
+DurationAssertionGui +
+HTMLAssertionGui +
+MD5HexAssertionGUI +
+SizeAssertionGui +
+SMIMEAssertionGui +
+XMLAssertionGui +
+XMLConfPanel +
+XMLSchemaAssertionGUI +
+XPathAssertionGui +
+XPathPanel
+ + + + diff --git a/docs/api/org/apache/jmeter/assertions/gui/package-summary.html b/docs/api/org/apache/jmeter/assertions/gui/package-summary.html new file mode 100644 index 00000000000..3c8c02fdffb --- /dev/null +++ b/docs/api/org/apache/jmeter/assertions/gui/package-summary.html @@ -0,0 +1,201 @@ + + + + + +org.apache.jmeter.assertions.gui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.assertions.gui +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
AbstractAssertionGuiThis is the base class for JMeter GUI components which manage assertions.
AssertionGuiGUI interface for a ResponseAssertion.
BeanShellAssertionGui 
DurationAssertionGuiGUI for DurationAssertion
HTMLAssertionGuiGUI for HTMLAssertion
MD5HexAssertionGUI 
SizeAssertionGuiGUI for SizeAssertion
SMIMEAssertionGui 
XMLAssertionGui 
XMLConfPanel 
XMLSchemaAssertionGUIXMLSchemaAssertionGUI.java author Dave Maung
XPathAssertionGui 
XPathPanelGui component for representing a xpath expression
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/assertions/gui/package-tree.html b/docs/api/org/apache/jmeter/assertions/gui/package-tree.html new file mode 100644 index 00000000000..a1f03d8134e --- /dev/null +++ b/docs/api/org/apache/jmeter/assertions/gui/package-tree.html @@ -0,0 +1,169 @@ + + + + + +org.apache.jmeter.assertions.gui Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.assertions.gui +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/assertions/package-frame.html b/docs/api/org/apache/jmeter/assertions/package-frame.html new file mode 100644 index 00000000000..f8101b6f146 --- /dev/null +++ b/docs/api/org/apache/jmeter/assertions/package-frame.html @@ -0,0 +1,77 @@ + + + + + +org.apache.jmeter.assertions (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.assertions + + + + +
+Interfaces  + +
+Assertion
+ + + + + + +
+Classes  + +
+AssertionResult +
+BeanShellAssertion +
+BSFAssertion +
+BSFAssertionBeanInfo +
+CompareAssertion +
+CompareAssertionBeanInfo +
+CompareAssertionResult +
+DurationAssertion +
+HTMLAssertion +
+JSR223Assertion +
+JSR223AssertionBeanInfo +
+MD5HexAssertion +
+ResponseAssertion +
+SizeAssertion +
+SMIMEAssertionTestElement +
+SubstitutionElement +
+XMLAssertion +
+XMLSchemaAssertion +
+XPathAssertion
+ + + + diff --git a/docs/api/org/apache/jmeter/assertions/package-summary.html b/docs/api/org/apache/jmeter/assertions/package-summary.html new file mode 100644 index 00000000000..77c5d49cc74 --- /dev/null +++ b/docs/api/org/apache/jmeter/assertions/package-summary.html @@ -0,0 +1,268 @@ + + + + + +org.apache.jmeter.assertions (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.assertions +

+Assertions + Methods to be implemented + getResult(SampleResult) + Calling sequence + When the test plan is prepared for running, one instance of the class is created for each occurrence + of an assertion in each thread. +

+See: +
+          Description +

+ + + + + + + + + +
+Interface Summary
AssertionAn Assertion checks a SampleResult to determine whether or not it is + successful.
+  + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
AssertionResultImplements Response Assertion checking.
BeanShellAssertionAn Assertion which understands BeanShell
BSFAssertion 
BSFAssertionBeanInfo 
CompareAssertion 
CompareAssertionBeanInfo 
CompareAssertionResult 
DurationAssertionChecks if an Sample is sampled within a specified time-frame.
HTMLAssertionAssertion to validate the response of a Sample with Tidy.
JSR223Assertion 
JSR223AssertionBeanInfo 
MD5HexAssertion 
ResponseAssertionTest element to handle Response Assertions, @see AssertionGui
SizeAssertionChecks if the results of a Sample matches a particular size.
SMIMEAssertionTestElement 
SubstitutionElement 
XMLAssertionChecks if the result is a well-formed XML content using jdom
XMLSchemaAssertionXMLSchemaAssertion.java Validate response against an XML Schema author + Dave Maung
XPathAssertionChecks if the result is a well-formed XML content and whether it matches an + XPath
+  + +

+

+Package org.apache.jmeter.assertions Description +

+ +

+

Assertions

+

Methods to be implemented

+ getResult(SampleResult) +

Calling sequence

+

When the test plan is prepared for running, one instance of the class is created for each occurrence + of an assertion in each thread.

+

Assertions are called from the same thread as the sampler

+

+ +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/assertions/package-tree.html b/docs/api/org/apache/jmeter/assertions/package-tree.html new file mode 100644 index 00000000000..e8e164d5c31 --- /dev/null +++ b/docs/api/org/apache/jmeter/assertions/package-tree.html @@ -0,0 +1,199 @@ + + + + + +org.apache.jmeter.assertions Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.assertions +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/config/Argument.html b/docs/api/org/apache/jmeter/config/Argument.html new file mode 100644 index 00000000000..fa61b8959f9 --- /dev/null +++ b/docs/api/org/apache/jmeter/config/Argument.html @@ -0,0 +1,672 @@ + + + + + +Argument (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.config +
+Class Argument

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.config.Argument
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Searchable, TestElement
+
+
+
Direct Known Subclasses:
HTTPArgument
+
+
+
+
public class Argument
extends AbstractTestElement
implements Serializable
+ + +

+Class representing an argument. Each argument consists of a name/value pair, + as well as (optional) metadata. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static StringARG_NAME + +
+          Name used to store the argument's name.
+static StringDESCRIPTION + +
+          Name used to store the argument's description.
+static StringMETADATA + +
+          Name used to store the argument's metadata.
+static StringVALUE + +
+          Name used to store the argument's value.
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + + + + + + + + + + +
+Constructor Summary
Argument() + +
+          Create a new Argument without a name, value, or metadata.
Argument(String name, + String value) + +
+          Create a new Argument with the specified name and value, and no metadata.
Argument(String name, + String value, + String metadata) + +
+          Create a new Argument with the specified name, value, and metadata.
Argument(String name, + String value, + String metadata, + String description) + +
+          Create a new Argument with the specified name, value, and metadata.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetDescription() + +
+          Gets the Meta Data attribute of the Argument.
+ StringgetMetaData() + +
+          Gets the Meta Data attribute of the Argument.
+ StringgetName() + +
+          Get the name of the Argument.
+ StringgetValue() + +
+          Gets the value of the Argument object.
+ booleanisSkippable(String parameterName) + +
+          Is this parameter skippable, i.e. empty/blank string + or it looks like an unrecognised variable.
+ voidsetDescription(String description) + +
+          Sets the Description attribute of the Argument.
+ voidsetMetaData(String newMetaData) + +
+          Sets the Meta Data attribute of the Argument.
+ voidsetName(String newName) + +
+          Set the name of the Argument.
+ voidsetValue(String newValue) + +
+          Sets the value of the Argument.
+ StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+ARG_NAME

+
+public static final String ARG_NAME
+
+
Name used to store the argument's name. +

+

+
See Also:
Constant Field Values
+
+
+ +

+VALUE

+
+public static final String VALUE
+
+
Name used to store the argument's value. +

+

+
See Also:
Constant Field Values
+
+
+ +

+DESCRIPTION

+
+public static final String DESCRIPTION
+
+
Name used to store the argument's description. +

+

+
See Also:
Constant Field Values
+
+
+ +

+METADATA

+
+public static final String METADATA
+
+
Name used to store the argument's metadata. +

+

+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+Argument

+
+public Argument()
+
+
Create a new Argument without a name, value, or metadata. +

+

+
+ +

+Argument

+
+public Argument(String name,
+                String value)
+
+
Create a new Argument with the specified name and value, and no metadata. +

+

+
Parameters:
name - the argument name
value - the argument value
+
+
+ +

+Argument

+
+public Argument(String name,
+                String value,
+                String metadata)
+
+
Create a new Argument with the specified name, value, and metadata. +

+

+
Parameters:
name - the argument name
value - the argument value
metadata - the argument metadata
+
+
+ +

+Argument

+
+public Argument(String name,
+                String value,
+                String metadata,
+                String description)
+
+
Create a new Argument with the specified name, value, and metadata. +

+

+
Parameters:
name - the argument name
value - the argument value
metadata - the argument metadata
description - the argument description
+
+ + + + + + + + +
+Method Detail
+ +

+setName

+
+public void setName(String newName)
+
+
Set the name of the Argument. +

+

+
Specified by:
setName in interface TestElement
Overrides:
setName in class AbstractTestElement
+
+
+
Parameters:
newName - the new name
+
+
+
+ +

+getName

+
+public String getName()
+
+
Get the name of the Argument. +

+

+
Specified by:
getName in interface TestElement
Overrides:
getName in class AbstractTestElement
+
+
+ +
Returns:
the attribute's name
+
+
+
+ +

+setValue

+
+public void setValue(String newValue)
+
+
Sets the value of the Argument. +

+

+
+
+
+
Parameters:
newValue - the new value
+
+
+
+ +

+getValue

+
+public String getValue()
+
+
Gets the value of the Argument object. +

+

+
+
+
+ +
Returns:
the attribute's value
+
+
+
+ +

+setDescription

+
+public void setDescription(String description)
+
+
Sets the Description attribute of the Argument. +

+

+
+
+
+
Parameters:
description - the new description
+
+
+
+ +

+getDescription

+
+public String getDescription()
+
+
Gets the Meta Data attribute of the Argument. +

+

+
+
+
+ +
Returns:
the MetaData value
+
+
+
+ +

+setMetaData

+
+public void setMetaData(String newMetaData)
+
+
Sets the Meta Data attribute of the Argument. +

+

+
+
+
+
Parameters:
newMetaData - the new metadata
+
+
+
+ +

+getMetaData

+
+public String getMetaData()
+
+
Gets the Meta Data attribute of the Argument. +

+

+
+
+
+ +
Returns:
the MetaData value
+
+
+
+ +

+toString

+
+public String toString()
+
+
+
Overrides:
toString in class Object
+
+
+
+
+
+
+ +

+isSkippable

+
+public boolean isSkippable(String parameterName)
+
+
Is this parameter skippable, i.e. empty/blank string + or it looks like an unrecognised variable. +

+

+
+
+
+
Parameters:
parameterName - - parameter name +
Returns:
true if parameter should be skipped
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/config/Arguments.html b/docs/api/org/apache/jmeter/config/Arguments.html new file mode 100644 index 00000000000..69de057cdb1 --- /dev/null +++ b/docs/api/org/apache/jmeter/config/Arguments.html @@ -0,0 +1,724 @@ + + + + + +Arguments (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.config +
+Class Arguments

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.config.ConfigTestElement
+          extended by org.apache.jmeter.config.Arguments
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, ConfigElement, Searchable, TestElement
+
+
+
+
public class Arguments
extends ConfigTestElement
implements Serializable
+ + +

+A set of Argument objects. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Field Summary
+static StringARGUMENTS + +
+          The name of the property used to store the arguments.
+ + + + + + + +
Fields inherited from class org.apache.jmeter.config.ConfigTestElement
PASSWORD, USERNAME
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
Arguments() + +
+          Create a new Arguments object with no arguments.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddArgument(Argument arg) + +
+          Add a new argument.
+ voidaddArgument(String name, + String value) + +
+          Add a new argument with the given name and value.
+ voidaddArgument(String name, + String value, + String metadata) + +
+          Add a new argument with the given name, value, and metadata.
+ voidaddEmptyArgument() + +
+          Add a new empty argument to the list.
+ voidclear() + +
+          Clear the arguments.
+ ArgumentgetArgument(int row) + +
+          Get a single argument.
+ intgetArgumentCount() + +
+          Get the number of arguments in the list.
+ CollectionPropertygetArguments() + +
+          Get the arguments.
+ Map<String,String>getArgumentsAsMap() + +
+          Get the arguments as a Map.
+ PropertyIteratoriterator() + +
+          Get a PropertyIterator of the arguments.
+ voidremoveAllArguments() + +
+          Remove all arguments from the list.
+ voidremoveArgument(Argument arg) + +
+          Remove the specified argument from the list.
+ voidremoveArgument(int row) + +
+          Remove the specified argument from the list.
+ voidremoveArgument(String argName) + +
+          Remove the argument with the specified name.
+ voidsetArguments(List<Argument> arguments) + +
+          Set the list of arguments.
+ StringtoString() + +
+          Create a string representation of the arguments.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.config.ConfigTestElement
addConfigElement, addTestElement, expectsModification
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, canRemove, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.config.ConfigElement
clone
+  +

+ + + + + + + + +
+Field Detail
+ +

+ARGUMENTS

+
+public static final String ARGUMENTS
+
+
The name of the property used to store the arguments. +

+

+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+Arguments

+
+public Arguments()
+
+
Create a new Arguments object with no arguments. +

+

+ + + + + + + + +
+Method Detail
+ +

+getArguments

+
+public CollectionProperty getArguments()
+
+
Get the arguments. +

+

+
+
+
+ +
Returns:
the arguments
+
+
+
+ +

+clear

+
+public void clear()
+
+
Clear the arguments. +

+

+
Specified by:
clear in interface TestElement
Overrides:
clear in class AbstractTestElement
+
+
+
+
+
+
+ +

+setArguments

+
+public void setArguments(List<Argument> arguments)
+
+
Set the list of arguments. Any existing arguments will be lost. +

+

+
+
+
+
Parameters:
arguments - the new arguments
+
+
+
+ +

+getArgumentsAsMap

+
+public Map<String,String> getArgumentsAsMap()
+
+
Get the arguments as a Map. Each argument name is used as the key, and + its value as the value. +

+

+
+
+
+ +
Returns:
a new Map with String keys and values containing the arguments
+
+
+
+ +

+addArgument

+
+public void addArgument(String name,
+                        String value)
+
+
Add a new argument with the given name and value. +

+

+
+
+
+
Parameters:
name - the name of the argument
value - the value of the argument
+
+
+
+ +

+addArgument

+
+public void addArgument(Argument arg)
+
+
Add a new argument. +

+

+
+
+
+
Parameters:
arg - the new argument
+
+
+
+ +

+addArgument

+
+public void addArgument(String name,
+                        String value,
+                        String metadata)
+
+
Add a new argument with the given name, value, and metadata. +

+

+
+
+
+
Parameters:
name - the name of the argument
value - the value of the argument
metadata - the metadata for the argument
+
+
+
+ +

+iterator

+
+public PropertyIterator iterator()
+
+
Get a PropertyIterator of the arguments. +

+

+
+
+
+ +
Returns:
an iteration of the arguments
+
+
+
+ +

+toString

+
+public String toString()
+
+
Create a string representation of the arguments. +

+

+
Overrides:
toString in class Object
+
+
+ +
Returns:
the string representation of the arguments
+
+
+
+ +

+removeArgument

+
+public void removeArgument(int row)
+
+
Remove the specified argument from the list. +

+

+
+
+
+
Parameters:
row - the index of the argument to remove
+
+
+
+ +

+removeArgument

+
+public void removeArgument(Argument arg)
+
+
Remove the specified argument from the list. +

+

+
+
+
+
Parameters:
arg - the argument to remove
+
+
+
+ +

+removeArgument

+
+public void removeArgument(String argName)
+
+
Remove the argument with the specified name. +

+

+
+
+
+
Parameters:
argName - the name of the argument to remove
+
+
+
+ +

+removeAllArguments

+
+public void removeAllArguments()
+
+
Remove all arguments from the list. +

+

+
+
+
+
+
+
+
+ +

+addEmptyArgument

+
+public void addEmptyArgument()
+
+
Add a new empty argument to the list. The new argument will have the + empty string as its name and value, and null metadata. +

+

+
+
+
+
+
+
+
+ +

+getArgumentCount

+
+public int getArgumentCount()
+
+
Get the number of arguments in the list. +

+

+
+
+
+ +
Returns:
the number of arguments
+
+
+
+ +

+getArgument

+
+public Argument getArgument(int row)
+
+
Get a single argument. +

+

+
+
+
+
Parameters:
row - the index of the argument to return. +
Returns:
the argument at the specified index, or null if no argument + exists at that index.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/config/CSVDataSet.html b/docs/api/org/apache/jmeter/config/CSVDataSet.html new file mode 100644 index 00000000000..cc5c2d730f1 --- /dev/null +++ b/docs/api/org/apache/jmeter/config/CSVDataSet.html @@ -0,0 +1,728 @@ + + + + + +CSVDataSet (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.config +
+Class CSVDataSet

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.config.ConfigTestElement
+          extended by org.apache.jmeter.config.CSVDataSet
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, ConfigElement, LoopIterationListener, NoConfigMerge, Searchable, TestBean, TestElement
+
+
+
+
public class CSVDataSet
extends ConfigTestElement
implements TestBean, LoopIterationListener, NoConfigMerge
+ + +

+Read lines from a file and split int variables. + + The iterationStart() method is used to set up each set of values. + + By default, the same file is shared between all threads + (and other thread groups, if they use the same file name). + + The shareMode can be set to: +

    +
  • All threads - default, as described above
  • +
  • Current thread group
  • +
  • Current thread
  • +
  • Identifier - all threads sharing the same identifier
  • +
+ + The class uses the FileServer alias mechanism to provide the different share modes. + For all threads, the file alias is set to the file name. + Otherwise, a suffix is appended to the filename to make it unique within the required context. + For current thread group, the thread group identityHashcode is used; + for individual threads, the thread hashcode is used as the suffix. + Or the user can provide their own suffix, in which case the file is shared between all + threads with the same suffix. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.config.ConfigTestElement
PASSWORD, USERNAME
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
CSVDataSet() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetDelimiter() + +
+           
+ StringgetFileEncoding() + +
+           
+ StringgetFilename() + +
+           
+ booleangetQuotedData() + +
+           
+ booleangetRecycle() + +
+           
+ StringgetShareMode() + +
+           
+ booleangetStopThread() + +
+           
+ StringgetVariableNames() + +
+           
+ voiditerationStart(LoopIterationEvent iterEvent) + +
+          Called when a loop iteration is about to start.
+ voidsetDelimiter(String delimiter) + +
+           
+ voidsetFileEncoding(String fileEncoding) + +
+           
+ voidsetFilename(String filename) + +
+           
+ voidsetProperty(JMeterProperty property) + +
+          Override the setProperty method in order to convert + the original String shareMode property.
+ voidsetQuotedData(boolean quoted) + +
+           
+ voidsetRecycle(boolean recycle) + +
+           
+ voidsetShareMode(String value) + +
+           
+ voidsetStopThread(boolean value) + +
+           
+ voidsetVariableNames(String variableNames) + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.config.ConfigTestElement
addConfigElement, addTestElement, expectsModification
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.config.ConfigElement
clone
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+CSVDataSet

+
+public CSVDataSet()
+
+
+ + + + + + + + +
+Method Detail
+ +

+setProperty

+
+public void setProperty(JMeterProperty property)
+
+
Override the setProperty method in order to convert + the original String shareMode property. + This used the locale-dependent display value, so caused + problems when the language was changed. + If the "shareMode" value matches a resource value then it is converted + into the resource key. + To reduce the need to look up resources, we only attempt to + convert values with spaces in them, as these are almost certainly + not variables (and they are definitely not resource keys). +

+

+
Specified by:
setProperty in interface TestElement
Overrides:
setProperty in class AbstractTestElement
+
+
+
Parameters:
property - the property to be set
+
+
+
+ +

+iterationStart

+
+public void iterationStart(LoopIterationEvent iterEvent)
+
+
Description copied from interface: LoopIterationListener
+
Called when a loop iteration is about to start. +

+

+
Specified by:
iterationStart in interface LoopIterationListener
+
+
+
Parameters:
iterEvent - the event
+
+
+
+ +

+getFilename

+
+public String getFilename()
+
+
+
+
+
+ +
Returns:
Returns the filename.
+
+
+
+ +

+setFilename

+
+public void setFilename(String filename)
+
+
+
+
+
+
Parameters:
filename - The filename to set.
+
+
+
+ +

+getFileEncoding

+
+public String getFileEncoding()
+
+
+
+
+
+ +
Returns:
Returns the file encoding.
+
+
+
+ +

+setFileEncoding

+
+public void setFileEncoding(String fileEncoding)
+
+
+
+
+
+
Parameters:
fileEncoding - The fileEncoding to set.
+
+
+
+ +

+getVariableNames

+
+public String getVariableNames()
+
+
+
+
+
+ +
Returns:
Returns the variableNames.
+
+
+
+ +

+setVariableNames

+
+public void setVariableNames(String variableNames)
+
+
+
+
+
+
Parameters:
variableNames - The variableNames to set.
+
+
+
+ +

+getDelimiter

+
+public String getDelimiter()
+
+
+
+
+
+
+
+
+
+ +

+setDelimiter

+
+public void setDelimiter(String delimiter)
+
+
+
+
+
+
+
+
+
+ +

+getQuotedData

+
+public boolean getQuotedData()
+
+
+
+
+
+
+
+
+
+ +

+setQuotedData

+
+public void setQuotedData(boolean quoted)
+
+
+
+
+
+
+
+
+
+ +

+getRecycle

+
+public boolean getRecycle()
+
+
+
+
+
+
+
+
+
+ +

+setRecycle

+
+public void setRecycle(boolean recycle)
+
+
+
+
+
+
+
+
+
+ +

+getStopThread

+
+public boolean getStopThread()
+
+
+
+
+
+
+
+
+
+ +

+setStopThread

+
+public void setStopThread(boolean value)
+
+
+
+
+
+
+
+
+
+ +

+getShareMode

+
+public String getShareMode()
+
+
+
+
+
+
+
+
+
+ +

+setShareMode

+
+public void setShareMode(String value)
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/config/CSVDataSetBeanInfo.html b/docs/api/org/apache/jmeter/config/CSVDataSetBeanInfo.html new file mode 100644 index 00000000000..d6aeafc8724 --- /dev/null +++ b/docs/api/org/apache/jmeter/config/CSVDataSetBeanInfo.html @@ -0,0 +1,298 @@ + + + + + +CSVDataSetBeanInfo (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.config +
+Class CSVDataSetBeanInfo

+
+java.lang.Object
+  extended by java.beans.SimpleBeanInfo
+      extended by org.apache.jmeter.testbeans.BeanInfoSupport
+          extended by org.apache.jmeter.config.CSVDataSetBeanInfo
+
+
+
All Implemented Interfaces:
BeanInfo
+
+
+
+
public class CSVDataSetBeanInfo
extends BeanInfoSupport
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.testbeans.BeanInfoSupport
DEFAULT, MULTILINE, NOT_EXPRESSION, NOT_OTHER, NOT_UNDEFINED, RESOURCE_BUNDLE, TAGS, TEXT_LANGUAGE
+ + + + + + + +
Fields inherited from interface java.beans.BeanInfo
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32
+  + + + + + + + + + + +
+Constructor Summary
CSVDataSetBeanInfo() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static intgetShareModeAsInt(String mode) + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testbeans.BeanInfoSupport
createPropertyGroup, getAdditionalBeanInfo, getBeanDescriptor, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getIcon, getMethodDescriptors, getPropertyDescriptors, property, property, property, setIcon
+ + + + + + + +
Methods inherited from class java.beans.SimpleBeanInfo
loadImage
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+CSVDataSetBeanInfo

+
+public CSVDataSetBeanInfo()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getShareModeAsInt

+
+public static int getShareModeAsInt(String mode)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/config/ConfigElement.html b/docs/api/org/apache/jmeter/config/ConfigElement.html new file mode 100644 index 00000000000..4182e6af1f5 --- /dev/null +++ b/docs/api/org/apache/jmeter/config/ConfigElement.html @@ -0,0 +1,275 @@ + + + + + +ConfigElement (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.config +
+Interface ConfigElement

+
+
All Superinterfaces:
Cloneable
+
+
+
All Known Implementing Classes:
Arguments, AuthManager, CacheManager, ConfigTestElement, CookieManager, CSVDataSet, DataSourceElement, DNSCacheManager, HeaderManager, HTTPFileArgs, JavaConfig, KeystoreConfig, LDAPArguments, LoginConfig, MongoSourceElement, RandomVariableConfig
+
+
+
+
public interface ConfigElement
extends Cloneable
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddConfigElement(ConfigElement config) + +
+          Add a configuration element to this one.
+ Objectclone() + +
+           
+ booleanexpectsModification() + +
+          If your config element expects to be modified in the process of a test + run, and you want those modifications to carry over from sample to sample + (as in a cookie manager - you want to save all cookies that get set + throughout the test), then return true for this method.
+  +

+ + + + + + + + +
+Method Detail
+ +

+addConfigElement

+
+void addConfigElement(ConfigElement config)
+
+
Add a configuration element to this one. This allows config elements to + combine and give a "layered" effect. For example, + HTTPConfigElements have properties for domain, path, method, and + parameters. If element A has everything filled in, but null for domain, + and element B is added, which has only domain filled in, then after + adding B to A, A will have the domain from B. If A already had a domain, + then the correct behavior is for A to ignore the addition of element B. +

+

+
+
+
+
Parameters:
config - the element to be added to this ConfigElement
+
+
+
+ +

+expectsModification

+
+boolean expectsModification()
+
+
If your config element expects to be modified in the process of a test + run, and you want those modifications to carry over from sample to sample + (as in a cookie manager - you want to save all cookies that get set + throughout the test), then return true for this method. Your config + element will not be cloned for each sample. If your config elements are + more static in nature, return false. If in doubt, return false. +

+

+
+
+
+ +
Returns:
true if the element expects to be modified over the course of a + test run
+
+
+
+ +

+clone

+
+Object clone()
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/config/ConfigTestElement.html b/docs/api/org/apache/jmeter/config/ConfigTestElement.html new file mode 100644 index 00000000000..5e8edacdaf1 --- /dev/null +++ b/docs/api/org/apache/jmeter/config/ConfigTestElement.html @@ -0,0 +1,408 @@ + + + + + +ConfigTestElement (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.config +
+Class ConfigTestElement

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.config.ConfigTestElement
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, ConfigElement, Searchable, TestElement
+
+
+
Direct Known Subclasses:
Arguments, AuthManager, CacheManager, CookieManager, CSVDataSet, DNSCacheManager, HeaderManager, HTTPFileArgs, JavaConfig, KeystoreConfig, LDAPArguments, LoginConfig, MongoSourceElement, RandomVariableConfig
+
+
+
+
public class ConfigTestElement
extends AbstractTestElement
implements Serializable, ConfigElement
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + +
+Field Summary
+static StringPASSWORD + +
+           
+static StringUSERNAME + +
+           
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
ConfigTestElement() + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddConfigElement(ConfigElement config) + +
+          Add a configuration element to this one.
+ voidaddTestElement(TestElement parm1) + +
+          
+ booleanexpectsModification() + +
+          If your config element expects to be modified in the process of a test + run, and you want those modifications to carry over from sample to sample + (as in a cookie manager - you want to save all cookies that get set + throughout the test), then return true for this method.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.config.ConfigElement
clone
+  +

+ + + + + + + + +
+Field Detail
+ +

+USERNAME

+
+public static final String USERNAME
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PASSWORD

+
+public static final String PASSWORD
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+ConfigTestElement

+
+public ConfigTestElement()
+
+
+ + + + + + + + +
+Method Detail
+ +

+addTestElement

+
+public void addTestElement(TestElement parm1)
+
+
Description copied from class: AbstractTestElement
+
+

+

+
Specified by:
addTestElement in interface TestElement
Overrides:
addTestElement in class AbstractTestElement
+
+
+
+
+
+
+ +

+addConfigElement

+
+public void addConfigElement(ConfigElement config)
+
+
Add a configuration element to this one. This allows config elements to + combine and give a "layered" effect. For example, + HTTPConfigElements have properties for domain, path, method, and + parameters. If element A has everything filled in, but null for domain, + and element B is added, which has only domain filled in, then after + adding B to A, A will have the domain from B. If A already had a domain, + then the correct behavior is for A to ignore the addition of element B. +

+

+
Specified by:
addConfigElement in interface ConfigElement
+
+
+
Parameters:
config - the element to be added to this ConfigElement
+
+
+
+ +

+expectsModification

+
+public boolean expectsModification()
+
+
If your config element expects to be modified in the process of a test + run, and you want those modifications to carry over from sample to sample + (as in a cookie manager - you want to save all cookies that get set + throughout the test), then return true for this method. Your config + element will not be cloned for each sample. If your config elements are + more static in nature, return false. If in doubt, return false. +

+

+
Specified by:
expectsModification in interface ConfigElement
+
+
+ +
Returns:
true if the element expects to be modified over the course of a + test run
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/config/KeystoreConfig.html b/docs/api/org/apache/jmeter/config/KeystoreConfig.html new file mode 100644 index 00000000000..bd1d2fef4c3 --- /dev/null +++ b/docs/api/org/apache/jmeter/config/KeystoreConfig.html @@ -0,0 +1,624 @@ + + + + + +KeystoreConfig (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.config +
+Class KeystoreConfig

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.config.ConfigTestElement
+          extended by org.apache.jmeter.config.KeystoreConfig
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, ConfigElement, Searchable, TestBean, TestElement, TestStateListener
+
+
+
+
public class KeystoreConfig
extends ConfigTestElement
implements TestBean, TestStateListener
+ + +

+Configure Keystore +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.config.ConfigTestElement
PASSWORD, USERNAME
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
KeystoreConfig() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetClientCertAliasVarName() + +
+           
+ StringgetEndIndex() + +
+           
+ StringgetPreload() + +
+           
+ StringgetStartIndex() + +
+           
+ voidsetClientCertAliasVarName(String clientCertAliasVarName) + +
+           
+ voidsetEndIndex(String endIndex) + +
+           
+ voidsetPreload(String preload) + +
+           
+ voidsetStartIndex(String startIndex) + +
+           
+ voidtestEnded() + +
+           + Called once for all threads after the end of a test.
+ voidtestEnded(String host) + +
+           + Called once for all threads after the end of a test.
+ voidtestStarted() + +
+           + Called just before the start of the test from the main engine thread.
+ voidtestStarted(String host) + +
+           + Called just before the start of the test from the main engine thread.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.config.ConfigTestElement
addConfigElement, addTestElement, expectsModification
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.config.ConfigElement
clone
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+KeystoreConfig

+
+public KeystoreConfig()
+
+
+ + + + + + + + +
+Method Detail
+ +

+testEnded

+
+public void testEnded()
+
+
Description copied from interface: TestStateListener
+

+ Called once for all threads after the end of a test. + + This will use the same element instances as at the start of the test. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testEnded in interface TestStateListener
+
+
+
See Also:
StandardJMeterEngine.stopTest()
+
+
+
+ +

+testEnded

+
+public void testEnded(String host)
+
+
Description copied from interface: TestStateListener
+

+ Called once for all threads after the end of a test. + + This will use the same element instances as at the start of the test. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testEnded in interface TestStateListener
+
+
+
Parameters:
host - name of host
See Also:
StandardJMeterEngine.stopTest()
+
+
+
+ +

+testStarted

+
+public void testStarted()
+
+
Description copied from interface: TestStateListener
+

+ Called just before the start of the test from the main engine thread. + + This is before the test elements are cloned. + + Note that not all the test + variables will have been set up at this point. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testStarted in interface TestStateListener
+
+
+
See Also:
StandardJMeterEngine.run()
+
+
+
+ +

+testStarted

+
+public void testStarted(String host)
+
+
Description copied from interface: TestStateListener
+

+ Called just before the start of the test from the main engine thread. + + This is before the test elements are cloned. + + Note that not all the test + variables will have been set up at this point. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testStarted in interface TestStateListener
+
+
+
Parameters:
host - name of host
See Also:
StandardJMeterEngine.run()
+
+
+
+ +

+getEndIndex

+
+public String getEndIndex()
+
+
+
+
+
+ +
Returns:
the endIndex
+
+
+
+ +

+setEndIndex

+
+public void setEndIndex(String endIndex)
+
+
+
+
+
+
Parameters:
endIndex - the endIndex to set
+
+
+
+ +

+getStartIndex

+
+public String getStartIndex()
+
+
+
+
+
+ +
Returns:
the startIndex
+
+
+
+ +

+setStartIndex

+
+public void setStartIndex(String startIndex)
+
+
+
+
+
+
Parameters:
startIndex - the startIndex to set
+
+
+
+ +

+getPreload

+
+public String getPreload()
+
+
+
+
+
+ +
Returns:
the preload
+
+
+
+ +

+setPreload

+
+public void setPreload(String preload)
+
+
+
+
+
+
Parameters:
preload - the preload to set
+
+
+
+ +

+getClientCertAliasVarName

+
+public String getClientCertAliasVarName()
+
+
+
+
+
+ +
Returns:
the clientCertAliasVarName
+
+
+
+ +

+setClientCertAliasVarName

+
+public void setClientCertAliasVarName(String clientCertAliasVarName)
+
+
+
+
+
+
Parameters:
clientCertAliasVarName - the clientCertAliasVarName to set
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/config/KeystoreConfigBeanInfo.html b/docs/api/org/apache/jmeter/config/KeystoreConfigBeanInfo.html new file mode 100644 index 00000000000..a75055ed5ff --- /dev/null +++ b/docs/api/org/apache/jmeter/config/KeystoreConfigBeanInfo.html @@ -0,0 +1,276 @@ + + + + + +KeystoreConfigBeanInfo (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.config +
+Class KeystoreConfigBeanInfo

+
+java.lang.Object
+  extended by java.beans.SimpleBeanInfo
+      extended by org.apache.jmeter.testbeans.BeanInfoSupport
+          extended by org.apache.jmeter.config.KeystoreConfigBeanInfo
+
+
+
All Implemented Interfaces:
BeanInfo
+
+
+
+
public class KeystoreConfigBeanInfo
extends BeanInfoSupport
+ + +

+Keystore Configuration BeanInfo +

+ +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.testbeans.BeanInfoSupport
DEFAULT, MULTILINE, NOT_EXPRESSION, NOT_OTHER, NOT_UNDEFINED, RESOURCE_BUNDLE, TAGS, TEXT_LANGUAGE
+ + + + + + + +
Fields inherited from interface java.beans.BeanInfo
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32
+  + + + + + + + + + + +
+Constructor Summary
KeystoreConfigBeanInfo() + +
+          Constructor
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testbeans.BeanInfoSupport
createPropertyGroup, getAdditionalBeanInfo, getBeanDescriptor, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getIcon, getMethodDescriptors, getPropertyDescriptors, property, property, property, setIcon
+ + + + + + + +
Methods inherited from class java.beans.SimpleBeanInfo
loadImage
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+KeystoreConfigBeanInfo

+
+public KeystoreConfigBeanInfo()
+
+
Constructor +

+

+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/config/LoginConfig.html b/docs/api/org/apache/jmeter/config/LoginConfig.html new file mode 100644 index 00000000000..a85bb865ce5 --- /dev/null +++ b/docs/api/org/apache/jmeter/config/LoginConfig.html @@ -0,0 +1,412 @@ + + + + + +LoginConfig (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.config +
+Class LoginConfig

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.config.ConfigTestElement
+          extended by org.apache.jmeter.config.LoginConfig
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, ConfigElement, Searchable, TestElement
+
+
+
+
public class LoginConfig
extends ConfigTestElement
implements Serializable
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.config.ConfigTestElement
PASSWORD, USERNAME
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
LoginConfig() + +
+          Constructor for the LoginConfig object.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetPassword() + +
+          Gets the Password attribute of the LoginConfig object.
+ StringgetUsername() + +
+          Gets the Username attribute of the LoginConfig object.
+ voidsetPassword(String password) + +
+          Sets the Password attribute of the LoginConfig object.
+ voidsetUsername(String username) + +
+          Sets the Username attribute of the LoginConfig object.
+ StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.config.ConfigTestElement
addConfigElement, addTestElement, expectsModification
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.config.ConfigElement
clone
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+LoginConfig

+
+public LoginConfig()
+
+
Constructor for the LoginConfig object. +

+

+ + + + + + + + +
+Method Detail
+ +

+setUsername

+
+public void setUsername(String username)
+
+
Sets the Username attribute of the LoginConfig object. +

+

+
+
+
+
Parameters:
username - the new Username value
+
+
+
+ +

+setPassword

+
+public void setPassword(String password)
+
+
Sets the Password attribute of the LoginConfig object. +

+

+
+
+
+
Parameters:
password - the new Password value
+
+
+
+ +

+getUsername

+
+public String getUsername()
+
+
Gets the Username attribute of the LoginConfig object. +

+

+
+
+
+ +
Returns:
the Username value
+
+
+
+ +

+getPassword

+
+public String getPassword()
+
+
Gets the Password attribute of the LoginConfig object. +

+

+
+
+
+ +
Returns:
the Password value
+
+
+
+ +

+toString

+
+public String toString()
+
+
+
Overrides:
toString in class Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/config/RandomVariableConfig.html b/docs/api/org/apache/jmeter/config/RandomVariableConfig.html new file mode 100644 index 00000000000..202feab6781 --- /dev/null +++ b/docs/api/org/apache/jmeter/config/RandomVariableConfig.html @@ -0,0 +1,584 @@ + + + + + +RandomVariableConfig (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.config +
+Class RandomVariableConfig

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.config.ConfigTestElement
+          extended by org.apache.jmeter.config.RandomVariableConfig
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, ConfigElement, LoopIterationListener, NoConfigMerge, NoThreadClone, Searchable, TestBean, TestElement
+
+
+
+
public class RandomVariableConfig
extends ConfigTestElement
implements TestBean, LoopIterationListener, NoThreadClone, NoConfigMerge
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.config.ConfigTestElement
PASSWORD, USERNAME
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
RandomVariableConfig() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetMaximumValue() + +
+           
+ StringgetMinimumValue() + +
+           
+ StringgetOutputFormat() + +
+           
+ booleangetPerThread() + +
+           
+ StringgetRandomSeed() + +
+           
+ StringgetVariableName() + +
+           
+ voiditerationStart(LoopIterationEvent iterEvent) + +
+          Called when a loop iteration is about to start.
+ voidsetMaximumValue(String maxvalue) + +
+           
+ voidsetMinimumValue(String minValue) + +
+           
+ voidsetOutputFormat(String outputFormat) + +
+           
+ voidsetPerThread(boolean perThread) + +
+           
+ voidsetRandomSeed(String randomSeed) + +
+           
+ voidsetVariableName(String variableName) + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.config.ConfigTestElement
addConfigElement, addTestElement, expectsModification
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.config.ConfigElement
clone
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+RandomVariableConfig

+
+public RandomVariableConfig()
+
+
+ + + + + + + + +
+Method Detail
+ +

+iterationStart

+
+public void iterationStart(LoopIterationEvent iterEvent)
+
+
Called when a loop iteration is about to start. +

+

+
Specified by:
iterationStart in interface LoopIterationListener
+
+
+
Parameters:
iterEvent - the event
+
+
+
+ +

+getMinimumValue

+
+public String getMinimumValue()
+
+
+
+
+
+ +
Returns:
the minValue
+
+
+
+ +

+setMinimumValue

+
+public void setMinimumValue(String minValue)
+
+
+
+
+
+
Parameters:
minValue - the minValue to set
+
+
+
+ +

+getMaximumValue

+
+public String getMaximumValue()
+
+
+
+
+
+ +
Returns:
the maxvalue
+
+
+
+ +

+setMaximumValue

+
+public void setMaximumValue(String maxvalue)
+
+
+
+
+
+
Parameters:
maxvalue - the maxvalue to set
+
+
+
+ +

+getVariableName

+
+public String getVariableName()
+
+
+
+
+
+ +
Returns:
the variableName
+
+
+
+ +

+setVariableName

+
+public void setVariableName(String variableName)
+
+
+
+
+
+
Parameters:
variableName - the variableName to set
+
+
+
+ +

+getRandomSeed

+
+public String getRandomSeed()
+
+
+
+
+
+ +
Returns:
the randomSeed
+
+
+
+ +

+setRandomSeed

+
+public void setRandomSeed(String randomSeed)
+
+
+
+
+
+
Parameters:
randomSeed - the randomSeed to set
+
+
+
+ +

+getPerThread

+
+public boolean getPerThread()
+
+
+
+
+
+ +
Returns:
the perThread
+
+
+
+ +

+setPerThread

+
+public void setPerThread(boolean perThread)
+
+
+
+
+
+
Parameters:
perThread - the perThread to set
+
+
+
+ +

+getOutputFormat

+
+public String getOutputFormat()
+
+
+
+
+
+ +
Returns:
the outputFormat
+
+
+
+ +

+setOutputFormat

+
+public void setOutputFormat(String outputFormat)
+
+
+
+
+
+
Parameters:
outputFormat - the outputFormat to set
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/config/RandomVariableConfigBeanInfo.html b/docs/api/org/apache/jmeter/config/RandomVariableConfigBeanInfo.html new file mode 100644 index 00000000000..bc5bd8ab136 --- /dev/null +++ b/docs/api/org/apache/jmeter/config/RandomVariableConfigBeanInfo.html @@ -0,0 +1,270 @@ + + + + + +RandomVariableConfigBeanInfo (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.config +
+Class RandomVariableConfigBeanInfo

+
+java.lang.Object
+  extended by java.beans.SimpleBeanInfo
+      extended by org.apache.jmeter.testbeans.BeanInfoSupport
+          extended by org.apache.jmeter.config.RandomVariableConfigBeanInfo
+
+
+
All Implemented Interfaces:
BeanInfo
+
+
+
+
public class RandomVariableConfigBeanInfo
extends BeanInfoSupport
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.testbeans.BeanInfoSupport
DEFAULT, MULTILINE, NOT_EXPRESSION, NOT_OTHER, NOT_UNDEFINED, RESOURCE_BUNDLE, TAGS, TEXT_LANGUAGE
+ + + + + + + +
Fields inherited from interface java.beans.BeanInfo
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32
+  + + + + + + + + + + +
+Constructor Summary
RandomVariableConfigBeanInfo() + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testbeans.BeanInfoSupport
createPropertyGroup, getAdditionalBeanInfo, getBeanDescriptor, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getIcon, getMethodDescriptors, getPropertyDescriptors, property, property, property, setIcon
+ + + + + + + +
Methods inherited from class java.beans.SimpleBeanInfo
loadImage
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+RandomVariableConfigBeanInfo

+
+public RandomVariableConfigBeanInfo()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/config/gui/AbstractConfigGui.html b/docs/api/org/apache/jmeter/config/gui/AbstractConfigGui.html new file mode 100644 index 00000000000..cbf464781fb --- /dev/null +++ b/docs/api/org/apache/jmeter/config/gui/AbstractConfigGui.html @@ -0,0 +1,453 @@ + + + + + +AbstractConfigGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.config.gui +
+Class AbstractConfigGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.config.gui.AbstractConfigGui
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
Direct Known Subclasses:
ArgumentsPanel, AuthPanel, CacheManagerGui, CookiePanel, CounterConfigGui, DNSCachePanel, FtpConfigGui, HeaderPanel, HttpDefaultsGui, JavaConfigGui, LDAPArgumentsPanel, LdapConfigGui, LdapExtConfigGui, LoginConfigGui, PropertyControlGui, SimpleConfigGui, TCPConfigGui
+
+
+
+
public abstract class AbstractConfigGui
extends AbstractJMeterGuiComponent
+ + +

+This is the base class for JMeter GUI components which provide configuration + for some other component. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
AbstractConfigGui() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ JPopupMenucreatePopupMenu() + +
+          When a user right-clicks on the component in the test tree, or selects + the edit menu when the component is selected, the component will be asked + to return a JPopupMenu that provides all the options available to the + user from this component.
+ Collection<String>getMenuCategories() + +
+          This is the list of menu categories this gui component will be available + under.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
clearGui, configure, configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.gui.JMeterGUIComponent
createTestElement, getLabelResource, modifyTestElement
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+AbstractConfigGui

+
+public AbstractConfigGui()
+
+
+ + + + + + + + +
+Method Detail
+ +

+createPopupMenu

+
+public JPopupMenu createPopupMenu()
+
+
When a user right-clicks on the component in the test tree, or selects + the edit menu when the component is selected, the component will be asked + to return a JPopupMenu that provides all the options available to the + user from this component. +

+ This implementation returns menu items appropriate for most configuration + components. +

+

+ +
Returns:
a JPopupMenu appropriate for the component.
+
+
+
+ +

+getMenuCategories

+
+public Collection<String> getMenuCategories()
+
+
This is the list of menu categories this gui component will be available + under. This implementation returns + MenuFactory.CONFIG_ELEMENTS, which is + appropriate for most configuration components. +

+

+ +
Returns:
a Collection of Strings, where each element is one of the + constants defined in MenuFactory
See Also:
MenuFactory
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/config/gui/ArgumentsPanel.html b/docs/api/org/apache/jmeter/config/gui/ArgumentsPanel.html new file mode 100644 index 00000000000..0136cea9d73 --- /dev/null +++ b/docs/api/org/apache/jmeter/config/gui/ArgumentsPanel.html @@ -0,0 +1,1166 @@ + + + + + +ArgumentsPanel (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.config.gui +
+Class ArgumentsPanel

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.config.gui.AbstractConfigGui
+                          extended by org.apache.jmeter.config.gui.ArgumentsPanel
+
+
+
All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
Direct Known Subclasses:
HTTPArgumentsPanel
+
+
+
+
public class ArgumentsPanel
extends AbstractConfigGui
implements ActionListener
+ + +

+A GUI panel allowing the user to enter name-value argument pairs. These + arguments (or parameters) are usually used to provide configuration values + for some other component. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static StringCOLUMN_RESOURCE_NAMES_0 + +
+           
+static StringCOLUMN_RESOURCE_NAMES_1 + +
+           
+static StringCOLUMN_RESOURCE_NAMES_2 + +
+           
+protected  ObjectTableModeltableModel + +
+          The model for the arguments table.
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + + + + + + + + + + + + + + + + +
+Constructor Summary
ArgumentsPanel() + +
+          Create a new ArgumentsPanel as a standalone component.
ArgumentsPanel(String label) + +
+          Create a new ArgumentsPanel as an embedded component, using the specified + title.
ArgumentsPanel(String label, + boolean enableUpDown) + +
+          Create a new ArgumentsPanel as an embedded component, using the specified + title.
ArgumentsPanel(String label, + Color bkg) + +
+          Create a new ArgumentsPanel with a border and color background
ArgumentsPanel(String label, + Color bkg, + boolean enableUpDown, + boolean standalone) + +
+          Create a new ArgumentsPanel with a border and color background
ArgumentsPanel(String label, + Color bkg, + boolean enableUpDown, + boolean standalone, + ObjectTableModel model) + +
+          Create a new ArgumentsPanel with a border and color background
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidactionPerformed(ActionEvent e) + +
+          Invoked when an action occurs.
+protected  voidaddArgument() + +
+          Add a new argument row to the table.
+protected  voidaddFromClipboard() + +
+          Add values from the clipboard
+protected  voidcheckDeleteStatus() + +
+          Enable or disable the delete button depending on whether or not there is + a row to be deleted.
+ voidclear() + +
+          Clear all rows from the table.
+ voidclearGui() + +
+          Provides a default implementation that resets the name field to the value of + getStaticLabel(), reset comment and sets enabled to true.
+ voidconfigure(TestElement el) + +
+          A newly created component can be initialized with the contents of a Test + Element object by calling this method.
+ TestElementcreateTestElement() + +
+          JMeter test components are separated into a model and a GUI + representation.
+protected  voiddeleteArgument() + +
+          Remove the currently selected argument from the table.
+protected  JButtongetAddButton() + +
+          Get the button used to add rows to the table.
+protected  JButtongetDeleteButton() + +
+          Get the button used to delete rows from the table.
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ Collection<String>getMenuCategories() + +
+          This is the list of menu categories this gui component will be available + under.
+protected  JTablegetTable() + +
+          Get the table used to enter arguments.
+protected  JLabelgetTableLabel() + +
+          Get the title label for this component.
+protected  voidinitializeTableModel() + +
+          Initialize the table model used for the arguments table.
+protected  ComponentmakeLabelPanel() + +
+          Create a panel containing the title label for the table.
+protected  ArgumentmakeNewArgument() + +
+          Create a new Argument object.
+ voidmodifyTestElement(TestElement args) + +
+          GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components.
+protected  voidsizeColumns(JTable _table) + +
+          Resize the table columns to appropriate widths.
+protected  voidstopTableEditing() + +
+          Stop any editing that is currently being done on the table.
+static booleantestFunctors() + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.config.gui.AbstractConfigGui
createPopupMenu
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+tableModel

+
+protected transient ObjectTableModel tableModel
+
+
The model for the arguments table. +

+

+
+
+
+ +

+COLUMN_RESOURCE_NAMES_0

+
+public static final String COLUMN_RESOURCE_NAMES_0
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLUMN_RESOURCE_NAMES_1

+
+public static final String COLUMN_RESOURCE_NAMES_1
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLUMN_RESOURCE_NAMES_2

+
+public static final String COLUMN_RESOURCE_NAMES_2
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+ArgumentsPanel

+
+public ArgumentsPanel()
+
+
Create a new ArgumentsPanel as a standalone component. +

+

+
+ +

+ArgumentsPanel

+
+public ArgumentsPanel(String label)
+
+
Create a new ArgumentsPanel as an embedded component, using the specified + title. +

+

+
Parameters:
label - the title for the component.
+
+
+ +

+ArgumentsPanel

+
+public ArgumentsPanel(String label,
+                      boolean enableUpDown)
+
+
Create a new ArgumentsPanel as an embedded component, using the specified + title. +

+

+
Parameters:
label - the title for the component.
enableUpDown - Add up/down buttons
+
+
+ +

+ArgumentsPanel

+
+public ArgumentsPanel(String label,
+                      Color bkg)
+
+
Create a new ArgumentsPanel with a border and color background +

+

+
Parameters:
label - text for label
bkg - background colour
+
+
+ +

+ArgumentsPanel

+
+public ArgumentsPanel(String label,
+                      Color bkg,
+                      boolean enableUpDown,
+                      boolean standalone)
+
+
Create a new ArgumentsPanel with a border and color background +

+

+
Parameters:
label - text for label
bkg - background colour
enableUpDown - Add up/down buttons
standalone - is standalone
+
+
+ +

+ArgumentsPanel

+
+public ArgumentsPanel(String label,
+                      Color bkg,
+                      boolean enableUpDown,
+                      boolean standalone,
+                      ObjectTableModel model)
+
+
Create a new ArgumentsPanel with a border and color background +

+

+
Parameters:
label - text for label
bkg - background colour
enableUpDown - Add up/down buttons
standalone - is standalone
model - the table model to use
+
+ + + + + + + + +
+Method Detail
+ +

+getMenuCategories

+
+public Collection<String> getMenuCategories()
+
+
This is the list of menu categories this gui component will be available + under. +

+

+
Specified by:
getMenuCategories in interface JMeterGUIComponent
Overrides:
getMenuCategories in class AbstractConfigGui
+
+
+ +
Returns:
a Collection of Strings, where each element is one of the + constants defined in MenuFactory
See Also:
MenuFactory
+
+
+
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+
Specified by:
getLabelResource in interface JMeterGUIComponent
+
+
+ +
Returns:
the resource name
+
+
+
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
Description copied from interface: JMeterGUIComponent
+
JMeter test components are separated into a model and a GUI + representation. The model holds the data and the GUI displays it. The GUI + class is responsible for knowing how to create and initialize with data + the model class that it knows how to display, and this method is called + when new test elements are created. +

+

+
Specified by:
createTestElement in interface JMeterGUIComponent
+
+
+ +
Returns:
the Test Element object that the GUI component represents.
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement args)
+
+
Description copied from interface: JMeterGUIComponent
+
GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components. This method should + overwrite whatever data is currently in the TestElement as it is called + after a user has filled out the form elements in the gui with new + information. +

+

+
Specified by:
modifyTestElement in interface JMeterGUIComponent
+
+
+
Parameters:
args - the TestElement to modify
+
+
+
+ +

+configure

+
+public void configure(TestElement el)
+
+
A newly created component can be initialized with the contents of a Test + Element object by calling this method. The component is responsible for + querying the Test Element object for the relevant information to display + in its GUI. +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class AbstractJMeterGuiComponent
+
+
+
Parameters:
el - the TestElement to configure
+
+
+
+ +

+getTable

+
+protected JTable getTable()
+
+
Get the table used to enter arguments. +

+

+
+
+
+ +
Returns:
the table used to enter arguments
+
+
+
+ +

+getTableLabel

+
+protected JLabel getTableLabel()
+
+
Get the title label for this component. +

+

+
+
+
+ +
Returns:
the title label displayed with the table
+
+
+
+ +

+getDeleteButton

+
+protected JButton getDeleteButton()
+
+
Get the button used to delete rows from the table. +

+

+
+
+
+ +
Returns:
the button used to delete rows from the table
+
+
+
+ +

+getAddButton

+
+protected JButton getAddButton()
+
+
Get the button used to add rows to the table. +

+

+
+
+
+ +
Returns:
the button used to add rows to the table
+
+
+
+ +

+checkDeleteStatus

+
+protected void checkDeleteStatus()
+
+
Enable or disable the delete button depending on whether or not there is + a row to be deleted. +

+

+
+
+
+
+
+
+
+ +

+clearGui

+
+public void clearGui()
+
+
Description copied from class: AbstractJMeterGuiComponent
+
Provides a default implementation that resets the name field to the value of + getStaticLabel(), reset comment and sets enabled to true. Your GUI may need more things + cleared, in which case you should override, clear the extra fields, and + still call super.clearGui(). +

+

+
Specified by:
clearGui in interface ClearGui
Overrides:
clearGui in class AbstractJMeterGuiComponent
+
+
+
+
+
+
+ +

+clear

+
+public void clear()
+
+
Clear all rows from the table. T.Elanjchezhiyan(chezhiyan@siptech.co.in) +

+

+
+
+
+
+
+
+
+ +

+actionPerformed

+
+public void actionPerformed(ActionEvent e)
+
+
Invoked when an action occurs. This implementation supports the add and + delete buttons. +

+

+
Specified by:
actionPerformed in interface ActionListener
+
+
+
Parameters:
e - the event that has occurred
+
+
+
+ +

+deleteArgument

+
+protected void deleteArgument()
+
+
Remove the currently selected argument from the table. +

+

+
+
+
+
+
+
+
+ +

+addArgument

+
+protected void addArgument()
+
+
Add a new argument row to the table. +

+

+
+
+
+
+
+
+
+ +

+addFromClipboard

+
+protected void addFromClipboard()
+
+
Add values from the clipboard +

+

+
+
+
+
+
+
+
+ +

+makeNewArgument

+
+protected Argument makeNewArgument()
+
+
Create a new Argument object. +

+

+
+
+
+ +
Returns:
a new Argument object
+
+
+
+ +

+stopTableEditing

+
+protected void stopTableEditing()
+
+
Stop any editing that is currently being done on the table. This will + save any changes that have already been made. + Needed for subclasses +

+

+
+
+
+
+
+
+
+ +

+initializeTableModel

+
+protected void initializeTableModel()
+
+
Initialize the table model used for the arguments table. +

+

+
+
+
+
+
+
+
+ +

+testFunctors

+
+public static boolean testFunctors()
+
+
+
+
+
+
+
+
+
+ +

+sizeColumns

+
+protected void sizeColumns(JTable _table)
+
+
Resize the table columns to appropriate widths. +

+

+
+
+
+
Parameters:
_table - the table to resize columns for
+
+
+
+ +

+makeLabelPanel

+
+protected Component makeLabelPanel()
+
+
Create a panel containing the title label for the table. +

+

+
+
+
+ +
Returns:
a panel containing the title label
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/config/gui/LoginConfigGui.html b/docs/api/org/apache/jmeter/config/gui/LoginConfigGui.html new file mode 100644 index 00000000000..07febd26a8c --- /dev/null +++ b/docs/api/org/apache/jmeter/config/gui/LoginConfigGui.html @@ -0,0 +1,555 @@ + + + + + +LoginConfigGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.config.gui +
+Class LoginConfigGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.config.gui.AbstractConfigGui
+                          extended by org.apache.jmeter.config.gui.LoginConfigGui
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
+
public class LoginConfigGui
extends AbstractConfigGui
+ + +

+A GUI component allowing the user to enter a username and password for a + login. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + + + + +
+Constructor Summary
LoginConfigGui() + +
+          Create a new LoginConfigGui as a standalone component.
LoginConfigGui(boolean displayName) + +
+          Create a new LoginConfigGui as either a standalone or an embedded + component.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclearGui() + +
+          Implements JMeterGUIComponent.clearGui
+ voidconfigure(TestElement element) + +
+          A newly created component can be initialized with the contents of a Test + Element object by calling this method.
+ TestElementcreateTestElement() + +
+          JMeter test components are separated into a model and a GUI + representation.
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ voidmodifyTestElement(TestElement element) + +
+          GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.config.gui.AbstractConfigGui
createPopupMenu, getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+LoginConfigGui

+
+public LoginConfigGui()
+
+
Create a new LoginConfigGui as a standalone component. +

+

+
+ +

+LoginConfigGui

+
+public LoginConfigGui(boolean displayName)
+
+
Create a new LoginConfigGui as either a standalone or an embedded + component. +

+

+
Parameters:
displayName - indicates whether or not this component should display its + name. If true, this is a standalone component. If false, this + component is intended to be used as a subpanel for another + component.
+
+ + + + + + + + +
+Method Detail
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+ +
Returns:
the resource name
+
+
+
+ +

+configure

+
+public void configure(TestElement element)
+
+
A newly created component can be initialized with the contents of a Test + Element object by calling this method. The component is responsible for + querying the Test Element object for the relevant information to display + in its GUI. +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class AbstractJMeterGuiComponent
+
+
+
Parameters:
element - the TestElement to configure
+
+
+
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
Description copied from interface: JMeterGUIComponent
+
JMeter test components are separated into a model and a GUI + representation. The model holds the data and the GUI displays it. The GUI + class is responsible for knowing how to create and initialize with data + the model class that it knows how to display, and this method is called + when new test elements are created. +

+

+ +
Returns:
the Test Element object that the GUI component represents.
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement element)
+
+
Description copied from interface: JMeterGUIComponent
+
GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components. This method should + overwrite whatever data is currently in the TestElement as it is called + after a user has filled out the form elements in the gui with new + information. +

+

+
Parameters:
element - the TestElement to modify
+
+
+
+ +

+clearGui

+
+public void clearGui()
+
+
Implements JMeterGUIComponent.clearGui +

+

+
Specified by:
clearGui in interface ClearGui
Overrides:
clearGui in class AbstractJMeterGuiComponent
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/config/gui/ObsoleteGui.html b/docs/api/org/apache/jmeter/config/gui/ObsoleteGui.html new file mode 100644 index 00000000000..d68e6f8a98b --- /dev/null +++ b/docs/api/org/apache/jmeter/config/gui/ObsoleteGui.html @@ -0,0 +1,528 @@ + + + + + +ObsoleteGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.config.gui +
+Class ObsoleteGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.config.gui.ObsoleteGui
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
+
public class ObsoleteGui
extends AbstractJMeterGuiComponent
+ + +

+Default config gui for Configuration Element. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
ObsoleteGui() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ JPopupMenucreatePopupMenu() + +
+          When a user right-clicks on the component in the test tree, or selects + the edit menu when the component is selected, the component will be asked + to return a JPopupMenu that provides all the options available to the + user from this component.
+ TestElementcreateTestElement() + +
+          JMeter test components are separated into a model and a GUI + representation.
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ Collection<String>getMenuCategories() + +
+          This is the list of add menu categories this gui component will be + available under.
+ voidmodifyTestElement(TestElement element) + +
+          GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
clearGui, configure, configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ObsoleteGui

+
+public ObsoleteGui()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+ +
Returns:
the resource name
+
+
+
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
Description copied from interface: JMeterGUIComponent
+
JMeter test components are separated into a model and a GUI + representation. The model holds the data and the GUI displays it. The GUI + class is responsible for knowing how to create and initialize with data + the model class that it knows how to display, and this method is called + when new test elements are created. +

+

+ +
Returns:
the Test Element object that the GUI component represents.
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement element)
+
+
Description copied from interface: JMeterGUIComponent
+
GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components. This method should + overwrite whatever data is currently in the TestElement as it is called + after a user has filled out the form elements in the gui with new + information. +

+

+
Parameters:
element - the TestElement to modify
+
+
+
+ +

+createPopupMenu

+
+public JPopupMenu createPopupMenu()
+
+
Description copied from interface: JMeterGUIComponent
+
When a user right-clicks on the component in the test tree, or selects + the edit menu when the component is selected, the component will be asked + to return a JPopupMenu that provides all the options available to the + user from this component. +

+

+ +
Returns:
a JPopupMenu appropriate for the component.
+
+
+
+ +

+getMenuCategories

+
+public Collection<String> getMenuCategories()
+
+
Description copied from interface: JMeterGUIComponent
+
This is the list of add menu categories this gui component will be + available under. For instance, if this represents a Controller, then the + MenuFactory.CONTROLLERS category should be in the returned collection. + When a user right-clicks on a tree element and looks through the "add" + menu, which category your GUI component shows up in is determined by + which categories are returned by this method. Most GUI's belong to only + one category, but it is possible for a component to exist in multiple + categories. +

+

+ +
Returns:
a Collection of Strings, where each element is one of the + constants defined in MenuFactory
See Also:
MenuFactory
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/config/gui/RowDetailDialog.html b/docs/api/org/apache/jmeter/config/gui/RowDetailDialog.html new file mode 100644 index 00000000000..28e0bd622c0 --- /dev/null +++ b/docs/api/org/apache/jmeter/config/gui/RowDetailDialog.html @@ -0,0 +1,553 @@ + + + + + +RowDetailDialog (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.config.gui +
+Class RowDetailDialog

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by java.awt.Window
+              extended by java.awt.Dialog
+                  extended by javax.swing.JDialog
+                      extended by org.apache.jmeter.config.gui.RowDetailDialog
+
+
+
All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, DocumentListener, RootPaneContainer, WindowConstants
+
+
+
+
public class RowDetailDialog
extends JDialog
implements ActionListener, DocumentListener
+ + +

+Show detail of a Row +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JDialog
JDialog.AccessibleJDialog
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Dialog
Dialog.AccessibleAWTDialog, Dialog.ModalExclusionType, Dialog.ModalityType
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Window
Window.AccessibleAWTWindow
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class javax.swing.JDialog
accessibleContext, rootPane, rootPaneCheckingEnabled
+ + + + + + + +
Fields inherited from class java.awt.Dialog
DEFAULT_MODALITY_TYPE
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface javax.swing.WindowConstants
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSE
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + + + + +
+Constructor Summary
RowDetailDialog() + +
+           
RowDetailDialog(ObjectTableModel tableModel, + int selectedRow) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidactionPerformed(ActionEvent e) + +
+          Do search
+ voidchangedUpdate(DocumentEvent e) + +
+           
+protected  JRootPanecreateRootPane() + +
+           
+protected  voiddoUpdate(ActionEvent actionEvent) + +
+          Update model values
+ voidinsertUpdate(DocumentEvent e) + +
+           
+ voidremoveUpdate(DocumentEvent e) + +
+           
+ + + + + + + +
Methods inherited from class javax.swing.JDialog
addImpl, dialogInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, update
+ + + + + + + +
Methods inherited from class java.awt.Dialog
addNotify, getModalityType, getTitle, hide, isModal, isResizable, isUndecorated, setModal, setModalityType, setResizable, setTitle, setUndecorated, setVisible, show, toBack
+ + + + + + + +
Methods inherited from class java.awt.Window
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOwnedWindows, getOwner, getOwnerlessWindows, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isShowing, pack, paint, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeNotify, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImage, setIconImages, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, toFront
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resize, resize, setBackground, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+RowDetailDialog

+
+public RowDetailDialog()
+
+
+
+ +

+RowDetailDialog

+
+public RowDetailDialog(ObjectTableModel tableModel,
+                       int selectedRow)
+
+
+ + + + + + + + +
+Method Detail
+ +

+createRootPane

+
+protected JRootPane createRootPane()
+
+
+
Overrides:
createRootPane in class JDialog
+
+
+
+
+
+
+ +

+actionPerformed

+
+public void actionPerformed(ActionEvent e)
+
+
Do search +

+

+
Specified by:
actionPerformed in interface ActionListener
+
+
+
Parameters:
e - ActionEvent
+
+
+
+ +

+doUpdate

+
+protected void doUpdate(ActionEvent actionEvent)
+
+
Update model values +

+

+
+
+
+
Parameters:
actionEvent - the event that led to this call
+
+
+
+ +

+insertUpdate

+
+public void insertUpdate(DocumentEvent e)
+
+
+
Specified by:
insertUpdate in interface DocumentListener
+
+
+
+
+
+
+ +

+removeUpdate

+
+public void removeUpdate(DocumentEvent e)
+
+
+
Specified by:
removeUpdate in interface DocumentListener
+
+
+
+
+
+
+ +

+changedUpdate

+
+public void changedUpdate(DocumentEvent e)
+
+
+
Specified by:
changedUpdate in interface DocumentListener
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/config/gui/SimpleConfigGui.html b/docs/api/org/apache/jmeter/config/gui/SimpleConfigGui.html new file mode 100644 index 00000000000..9a83e203fea --- /dev/null +++ b/docs/api/org/apache/jmeter/config/gui/SimpleConfigGui.html @@ -0,0 +1,662 @@ + + + + + +SimpleConfigGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.config.gui +
+Class SimpleConfigGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.config.gui.AbstractConfigGui
+                          extended by org.apache.jmeter.config.gui.SimpleConfigGui
+
+
+
All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
+
public class SimpleConfigGui
extends AbstractConfigGui
implements ActionListener
+ + +

+Default config gui for Configuration Element. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + + + + +
+Constructor Summary
SimpleConfigGui() + +
+          Create a new standalone SimpleConfigGui.
SimpleConfigGui(boolean displayName) + +
+          Create a new SimpleConfigGui as either a standalone or an embedded + component.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidactionPerformed(ActionEvent e) + +
+          Invoked when an action occurs.
+protected  voidaddArgument() + +
+          Add a new argument row to the table.
+protected  voidcheckDeleteStatus() + +
+          Enable or disable the delete button depending on whether or not there is + a row to be deleted.
+ voidconfigure(TestElement el) + +
+          A newly created component can be initialized with the contents of a Test + Element object by calling this method.
+ TestElementcreateTestElement() + +
+          JMeter test components are separated into a model and a GUI + representation.
+protected  voiddeleteArgument() + +
+          Remove the currently selected argument from the table.
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ voidmodifyTestElement(TestElement el) + +
+          Get all of the values from the GUI component and set them in the + TestElement.
+protected  voidstopTableEditing() + +
+          Stop any editing that is currently being done on the table.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.config.gui.AbstractConfigGui
createPopupMenu, getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
clearGui, configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SimpleConfigGui

+
+public SimpleConfigGui()
+
+
Create a new standalone SimpleConfigGui. +

+

+
+ +

+SimpleConfigGui

+
+public SimpleConfigGui(boolean displayName)
+
+
Create a new SimpleConfigGui as either a standalone or an embedded + component. +

+

+
Parameters:
displayName - indicates whether or not this component should display its + name. If true, this is a standalone component. If false, this + component is intended to be used as a subpanel for another + component.
+
+ + + + + + + + +
+Method Detail
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+
Specified by:
getLabelResource in interface JMeterGUIComponent
+
+
+ +
Returns:
the resource name
+
+
+
+ +

+configure

+
+public void configure(TestElement el)
+
+
A newly created component can be initialized with the contents of a Test + Element object by calling this method. The component is responsible for + querying the Test Element object for the relevant information to display + in its GUI. +

+ This implementation retrieves all key/value pairs from the TestElement + object and sets these values in the GUI. +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class AbstractJMeterGuiComponent
+
+
+
Parameters:
el - the TestElement to configure
+
+
+
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
Description copied from interface: JMeterGUIComponent
+
JMeter test components are separated into a model and a GUI + representation. The model holds the data and the GUI displays it. The GUI + class is responsible for knowing how to create and initialize with data + the model class that it knows how to display, and this method is called + when new test elements are created. +

+

+
Specified by:
createTestElement in interface JMeterGUIComponent
+
+
+ +
Returns:
the Test Element object that the GUI component represents.
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement el)
+
+
Get all of the values from the GUI component and set them in the + TestElement. +

+

+
Specified by:
modifyTestElement in interface JMeterGUIComponent
+
+
+
Parameters:
el - the TestElement to modify
+
+
+
+ +

+actionPerformed

+
+public void actionPerformed(ActionEvent e)
+
+
Invoked when an action occurs. This implementation supports the add and + delete buttons. +

+

+
Specified by:
actionPerformed in interface ActionListener
+
+
+
Parameters:
e - the event that has occurred
+
+
+
+ +

+checkDeleteStatus

+
+protected void checkDeleteStatus()
+
+
Enable or disable the delete button depending on whether or not there is + a row to be deleted. +

+

+
+
+
+
+
+
+
+ +

+addArgument

+
+protected void addArgument()
+
+
Add a new argument row to the table. +

+

+
+
+
+
+
+
+
+ +

+stopTableEditing

+
+protected void stopTableEditing()
+
+
Stop any editing that is currently being done on the table. This will + save any changes that have already been made. +

+

+
+
+
+
+
+
+
+ +

+deleteArgument

+
+protected void deleteArgument()
+
+
Remove the currently selected argument from the table. +

+

+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/config/gui/package-frame.html b/docs/api/org/apache/jmeter/config/gui/package-frame.html new file mode 100644 index 00000000000..1c25a206433 --- /dev/null +++ b/docs/api/org/apache/jmeter/config/gui/package-frame.html @@ -0,0 +1,40 @@ + + + + + +org.apache.jmeter.config.gui (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.config.gui + + + + +
+Classes  + +
+AbstractConfigGui +
+ArgumentsPanel +
+LoginConfigGui +
+ObsoleteGui +
+RowDetailDialog +
+SimpleConfigGui
+ + + + diff --git a/docs/api/org/apache/jmeter/config/gui/package-summary.html b/docs/api/org/apache/jmeter/config/gui/package-summary.html new file mode 100644 index 00000000000..b664c7ffc6d --- /dev/null +++ b/docs/api/org/apache/jmeter/config/gui/package-summary.html @@ -0,0 +1,175 @@ + + + + + +org.apache.jmeter.config.gui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.config.gui +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
AbstractConfigGuiThis is the base class for JMeter GUI components which provide configuration + for some other component.
ArgumentsPanelA GUI panel allowing the user to enter name-value argument pairs.
LoginConfigGuiA GUI component allowing the user to enter a username and password for a + login.
ObsoleteGuiDefault config gui for Configuration Element.
RowDetailDialogShow detail of a Row
SimpleConfigGuiDefault config gui for Configuration Element.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/config/gui/package-tree.html b/docs/api/org/apache/jmeter/config/gui/package-tree.html new file mode 100644 index 00000000000..29aa1e3470d --- /dev/null +++ b/docs/api/org/apache/jmeter/config/gui/package-tree.html @@ -0,0 +1,176 @@ + + + + + +org.apache.jmeter.config.gui Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.config.gui +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/config/package-frame.html b/docs/api/org/apache/jmeter/config/package-frame.html new file mode 100644 index 00000000000..efca7384f8f --- /dev/null +++ b/docs/api/org/apache/jmeter/config/package-frame.html @@ -0,0 +1,59 @@ + + + + + +org.apache.jmeter.config (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.config + + + + +
+Interfaces  + +
+ConfigElement
+ + + + + + +
+Classes  + +
+Argument +
+Arguments +
+ConfigTestElement +
+CSVDataSet +
+CSVDataSetBeanInfo +
+KeystoreConfig +
+KeystoreConfigBeanInfo +
+LoginConfig +
+RandomVariableConfig +
+RandomVariableConfigBeanInfo
+ + + + diff --git a/docs/api/org/apache/jmeter/config/package-summary.html b/docs/api/org/apache/jmeter/config/package-summary.html new file mode 100644 index 00000000000..dc36b73ca9b --- /dev/null +++ b/docs/api/org/apache/jmeter/config/package-summary.html @@ -0,0 +1,203 @@ + + + + + +org.apache.jmeter.config (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.config +

+ + + + + + + + + +
+Interface Summary
ConfigElement 
+  + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
ArgumentClass representing an argument.
ArgumentsA set of Argument objects.
ConfigTestElement 
CSVDataSetRead lines from a file and split int variables.
CSVDataSetBeanInfo 
KeystoreConfigConfigure Keystore
KeystoreConfigBeanInfoKeystore Configuration BeanInfo
LoginConfig 
RandomVariableConfig 
RandomVariableConfigBeanInfo 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/config/package-tree.html b/docs/api/org/apache/jmeter/config/package-tree.html new file mode 100644 index 00000000000..9ea5926adb3 --- /dev/null +++ b/docs/api/org/apache/jmeter/config/package-tree.html @@ -0,0 +1,173 @@ + + + + + +org.apache.jmeter.config Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.config +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/control/Controller.html b/docs/api/org/apache/jmeter/control/Controller.html new file mode 100644 index 00000000000..ee9072d7cf9 --- /dev/null +++ b/docs/api/org/apache/jmeter/control/Controller.html @@ -0,0 +1,375 @@ + + + + + +Controller (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.control +
+Interface Controller

+
+
All Superinterfaces:
Cloneable, TestElement
+
+
+
All Known Implementing Classes:
AbstractThreadGroup, CriticalSectionController, ForeachController, GenericController, IfController, IncludeController, InterleaveControl, LoopController, ModuleController, OnceOnlyController, PostThreadGroup, ProxyControl, RandomController, RandomOrderController, RecordingController, RunTime, SetupThreadGroup, SwitchController, TestFragmentController, ThreadGroup, ThroughputController, TransactionController, WhileController
+
+
+
+
public interface Controller
extends TestElement
+ + +

+This interface is used by JMeterThread in the following manner: +

+ while (running && (sampler = controller.next()) != null) +

+ +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddIterationListener(LoopIterationListener listener) + +
+          Controllers have to notify listeners of when they begin an iteration + through their sub-elements.
+ voidinitialize() + +
+          Called to initialize a controller at the beginning of a test iteration.
+ booleanisDone() + +
+          Indicates whether the Controller is done delivering Samplers for the rest + of the test.
+ Samplernext() + +
+          Delivers the next Sampler or null
+ voidremoveIterationListener(LoopIterationListener iterationListener) + +
+          Unregister IterationListener
+ voidtriggerEndOfLoop() + +
+          Trigger end of loop condition on controller (used by Start Next Loop feature)
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.testelement.TestElement
addTestElement, canRemove, clear, clearTestElementChildren, clone, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse
+  +

+ + + + + + + + +
+Method Detail
+ +

+next

+
+Sampler next()
+
+
Delivers the next Sampler or null +

+

+
+
+
+ +
Returns:
org.apache.jmeter.samplers.Sampler or null
+
+
+
+ +

+isDone

+
+boolean isDone()
+
+
Indicates whether the Controller is done delivering Samplers for the rest + of the test. + + When the top-level controller returns true to JMeterThread, + the thread is complete. +

+

+
+
+
+ +
Returns:
boolean
+
+
+
+ +

+addIterationListener

+
+void addIterationListener(LoopIterationListener listener)
+
+
Controllers have to notify listeners of when they begin an iteration + through their sub-elements. +

+

+
+
+
+
Parameters:
listener - The LoopIterationListener to add
+
+
+
+ +

+initialize

+
+void initialize()
+
+
Called to initialize a controller at the beginning of a test iteration. +

+

+
+
+
+
+
+
+
+ +

+removeIterationListener

+
+void removeIterationListener(LoopIterationListener iterationListener)
+
+
Unregister IterationListener +

+

+
+
+
+
Parameters:
iterationListener - LoopIterationListener
+
+
+
+ +

+triggerEndOfLoop

+
+void triggerEndOfLoop()
+
+
Trigger end of loop condition on controller (used by Start Next Loop feature) +

+

+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/control/CriticalSectionController.html b/docs/api/org/apache/jmeter/control/CriticalSectionController.html new file mode 100644 index 00000000000..242dd0ac37d --- /dev/null +++ b/docs/api/org/apache/jmeter/control/CriticalSectionController.html @@ -0,0 +1,661 @@ + + + + + +CriticalSectionController (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.control +
+Class CriticalSectionController

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.control.GenericController
+          extended by org.apache.jmeter.control.CriticalSectionController
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Controller, Searchable, TestElement, TestStateListener, ThreadListener, TestCompilerHelper
+
+
+
+
public class CriticalSectionController
extends GenericController
implements ThreadListener, TestStateListener
+ + +

+This is a Critical Section Controller; it will execute the set of statements + (samplers/controllers, etc) under named lock. +

+ In a programming world - this is equivalent of : + +

+ try {
+          named_lock.lock();
+          statements ....
+ } finally {
+          named_lock.unlock();
+ }
+ 
+ + In JMeter you may have : + +
+ Thread-Group (set to loop a number of times or indefinitely,
+    ... Samplers ... (e.g. Counter )
+    ... Other Controllers ....
+    ... CriticalSectionController ( lock name like "foobar" )
+       ... statements to perform when lock acquired
+       ...
+    ... Other Controllers /Samplers }
+ 
+

+ +

+

+
Since:
+
2.12
+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.control.GenericController
current, subControllersAndSamplers
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + + + + +
+Constructor Summary
CriticalSectionController() + +
+          constructor
CriticalSectionController(String name) + +
+          constructor
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetLockName() + +
+           
+ Samplernext() + +
+           + Determines the next sampler to be processed.
+protected  voidreInitialize() + +
+          Called after execution of last child of the controller We release lock
+ voidsetLockName(String name) + +
+          Condition Accessor - this is gonna be any string value
+ voidtestEnded() + +
+           + Called once for all threads after the end of a test.
+ voidtestEnded(String host) + +
+           + Called once for all threads after the end of a test.
+ voidtestStarted() + +
+           + Called just before the start of the test from the main engine thread.
+ voidtestStarted(String host) + +
+           + Called just before the start of the test from the main engine thread.
+ voidthreadFinished() + +
+          Called for each thread after all samples have been processed.
+ voidthreadStarted() + +
+          Called for each thread before starting sampling.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.control.GenericController
addIterationListener, addTestElement, addTestElementOnce, currentReturnedNull, fireIterationStart, fireIterEvents, getCurrentElement, getIterCount, getSubControllers, incrementCurrent, incrementIterCount, initialize, initializeSubControllers, isDone, isFirst, nextIsAController, nextIsASampler, nextIsNull, readResolve, reInitializeSubController, removeCurrentElement, removeIterationListener, resetCurrent, resetIterCount, setCurrentElement, setDone, setFirst, triggerEndOfLoop
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.testelement.TestElement
canRemove, clear, clearTestElementChildren, clone, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+CriticalSectionController

+
+public CriticalSectionController()
+
+
constructor +

+

+
+ +

+CriticalSectionController

+
+public CriticalSectionController(String name)
+
+
constructor +

+

+
Parameters:
name - The name of this controller
+
+ + + + + + + + +
+Method Detail
+ +

+setLockName

+
+public void setLockName(String name)
+
+
Condition Accessor - this is gonna be any string value +

+

+
+
+
+
Parameters:
name - The name of the lock for this controller
+
+
+
+ +

+getLockName

+
+public String getLockName()
+
+
+
+
+
+ +
Returns:
String lock name
+
+
+
+ +

+next

+
+public Sampler next()
+
+
Description copied from class: GenericController
+

+ Determines the next sampler to be processed. +

+ +

+ If GenericController.isDone() is true, returns null. +

+ +

+ Gets the list element using current pointer. + If this is null, calls GenericController.nextIsNull(). +

+ +

+ If the list element is a Sampler, calls GenericController.nextIsASampler(Sampler), + otherwise calls GenericController.nextIsAController(Controller) +

+ +

+ If any of the called methods throws NextIsNullException, returns null, + otherwise the value obtained above is returned. +

+

+

+
Specified by:
next in interface Controller
Overrides:
next in class GenericController
+
+
+ +
Returns:
the next sampler or null
See Also:
Controller.next()
+
+
+
+ +

+reInitialize

+
+protected void reInitialize()
+
+
Called after execution of last child of the controller We release lock +

+

+
Overrides:
reInitialize in class GenericController
+
+
+
See Also:
GenericController.reInitialize()
+
+
+
+ +

+threadStarted

+
+public void threadStarted()
+
+
Description copied from interface: ThreadListener
+
Called for each thread before starting sampling. + WARNING: this is called before any Config test elements are processed, + so any properties they define will not have been merged in yet. +

+

+
Specified by:
threadStarted in interface ThreadListener
+
+
+
See Also:
JMeterThread.threadStarted()
+
+
+
+ +

+threadFinished

+
+public void threadFinished()
+
+
Description copied from interface: ThreadListener
+
Called for each thread after all samples have been processed. +

+

+
Specified by:
threadFinished in interface ThreadListener
+
+
+
See Also:
JMeterThread.threadFinished(org.apache.jmeter.engine.event.LoopIterationListener)
+
+
+
+ +

+testStarted

+
+public void testStarted()
+
+
Description copied from interface: TestStateListener
+

+ Called just before the start of the test from the main engine thread. + + This is before the test elements are cloned. + + Note that not all the test + variables will have been set up at this point. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testStarted in interface TestStateListener
+
+
+
See Also:
StandardJMeterEngine.run()
+
+
+
+ +

+testStarted

+
+public void testStarted(String host)
+
+
Description copied from interface: TestStateListener
+

+ Called just before the start of the test from the main engine thread. + + This is before the test elements are cloned. + + Note that not all the test + variables will have been set up at this point. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testStarted in interface TestStateListener
+
+
+
Parameters:
host - name of host
See Also:
StandardJMeterEngine.run()
+
+
+
+ +

+testEnded

+
+public void testEnded()
+
+
Description copied from interface: TestStateListener
+

+ Called once for all threads after the end of a test. + + This will use the same element instances as at the start of the test. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testEnded in interface TestStateListener
+
+
+
See Also:
StandardJMeterEngine.stopTest()
+
+
+
+ +

+testEnded

+
+public void testEnded(String host)
+
+
Description copied from interface: TestStateListener
+

+ Called once for all threads after the end of a test. + + This will use the same element instances as at the start of the test. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testEnded in interface TestStateListener
+
+
+
Parameters:
host - name of host
See Also:
StandardJMeterEngine.stopTest()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/control/ForeachController.html b/docs/api/org/apache/jmeter/control/ForeachController.html new file mode 100644 index 00000000000..114c3a80076 --- /dev/null +++ b/docs/api/org/apache/jmeter/control/ForeachController.html @@ -0,0 +1,778 @@ + + + + + +ForeachController (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.control +
+Class ForeachController

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.control.GenericController
+          extended by org.apache.jmeter.control.ForeachController
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Controller, Searchable, TestElement, TestCompilerHelper
+
+
+
+
public class ForeachController
extends GenericController
implements Serializable
+ + +

+ForeachController that iterates over a list of variables named XXXX_NN stored in JMeterVariables + where NN is a number starting from 1 to number of occurences. + This list of variable is usually set by PostProcessor (Regexp PostProcessor or HtmlExtractor) + Iteration can take the full list or only a subset (configured through indexes) +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.control.GenericController
current, subControllersAndSamplers
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
ForeachController() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetEndIndexAsString() + +
+           
+ StringgetInputValString() + +
+           
+protected  intgetIterCount() + +
+          
+ StringgetReturnValString() + +
+           
+ StringgetStartIndexAsString() + +
+           
+ booleangetUseSeparator() + +
+           
+protected  voidincrementLoopCount() + +
+           
+ voidinitialize() + +
+          Reset loopCount to Start index
+ booleanisDone() + +
+          Indicates whether the Controller is done delivering Samplers for the rest + of the test.
+ Samplernext() + +
+           + Determines the next sampler to be processed.
+protected  SamplernextIsNull() + +
+          Called by GenericController.next() when GenericController.getCurrentElement() returns null.
+protected  voidreInitialize() + +
+          Resets the controller (called after execution of last child of controller): + + resetCurrent() (i.e. current=0) + increment iteration count + sets first=true + recoverRunningVersion() to set the controller back to the initial state +
+protected  voidresetLoopCount() + +
+           
+ voidsetEndIndex(String endIndex) + +
+           
+ voidsetInputVal(String inputValue) + +
+           
+ voidsetReturnVal(String inputValue) + +
+           
+ voidsetStartIndex(String startIndex) + +
+           
+ voidsetUseSeparator(boolean b) + +
+           
+ voidtriggerEndOfLoop() + +
+          Trigger end of loop condition on controller (used by Start Next Loop feature)
+ + + + + + + +
Methods inherited from class org.apache.jmeter.control.GenericController
addIterationListener, addTestElement, addTestElementOnce, currentReturnedNull, fireIterationStart, fireIterEvents, getCurrentElement, getSubControllers, incrementCurrent, incrementIterCount, initializeSubControllers, isFirst, nextIsAController, nextIsASampler, readResolve, reInitializeSubController, removeCurrentElement, removeIterationListener, resetCurrent, resetIterCount, setCurrentElement, setDone, setFirst
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.testelement.TestElement
canRemove, clear, clearTestElementChildren, clone, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ForeachController

+
+public ForeachController()
+
+
+ + + + + + + + +
+Method Detail
+ +

+setStartIndex

+
+public void setStartIndex(String startIndex)
+
+
+
+
+
+
Parameters:
startIndex - Start index of loop
+
+
+
+ +

+getStartIndexAsString

+
+public String getStartIndexAsString()
+
+
+
+
+
+ +
Returns:
start index of loop as String
+
+
+
+ +

+setEndIndex

+
+public void setEndIndex(String endIndex)
+
+
+
+
+
+
Parameters:
endIndex - End index of loop
+
+
+
+ +

+getEndIndexAsString

+
+public String getEndIndexAsString()
+
+
+
+
+
+ +
Returns:
end index of loop
+
+
+
+ +

+setInputVal

+
+public void setInputVal(String inputValue)
+
+
+
+
+
+
+
+
+
+ +

+getInputValString

+
+public String getInputValString()
+
+
+
+
+
+
+
+
+
+ +

+setReturnVal

+
+public void setReturnVal(String inputValue)
+
+
+
+
+
+
+
+
+
+ +

+getReturnValString

+
+public String getReturnValString()
+
+
+
+
+
+
+
+
+
+ +

+setUseSeparator

+
+public void setUseSeparator(boolean b)
+
+
+
+
+
+
+
+
+
+ +

+getUseSeparator

+
+public boolean getUseSeparator()
+
+
+
+
+
+
+
+
+
+ +

+isDone

+
+public boolean isDone()
+
+
Indicates whether the Controller is done delivering Samplers for the rest + of the test. + + When the top-level controller returns true to JMeterThread, + the thread is complete. +

+

+
Specified by:
isDone in interface Controller
Overrides:
isDone in class GenericController
+
+
+ +
Returns:
boolean
See Also:
Controller.isDone()
+
+
+
+ +

+next

+
+public Sampler next()
+
+
Description copied from class: GenericController
+

+ Determines the next sampler to be processed. +

+ +

+ If GenericController.isDone() is true, returns null. +

+ +

+ Gets the list element using current pointer. + If this is null, calls GenericController.nextIsNull(). +

+ +

+ If the list element is a Sampler, calls GenericController.nextIsASampler(Sampler), + otherwise calls GenericController.nextIsAController(Controller) +

+ +

+ If any of the called methods throws NextIsNullException, returns null, + otherwise the value obtained above is returned. +

+

+

+
Specified by:
next in interface Controller
Overrides:
next in class GenericController
+
+
+ +
Returns:
the next sampler or null
+
+
+
+ +

+nextIsNull

+
+protected Sampler nextIsNull()
+                      throws NextIsNullException
+
+
Called by GenericController.next() when GenericController.getCurrentElement() returns null. + Reinitialises the controller. +

+

+
Overrides:
nextIsNull in class GenericController
+
+
+ +
Returns:
null (always, for this class) +
Throws: +
NextIsNullException - when the end of the list has already been reached
+
+
+
+ +

+incrementLoopCount

+
+protected void incrementLoopCount()
+
+
+
+
+
+
+
+
+
+ +

+resetLoopCount

+
+protected void resetLoopCount()
+
+
+
+
+
+
+
+
+
+ +

+getIterCount

+
+protected int getIterCount()
+
+
+

+

+
Overrides:
getIterCount in class GenericController
+
+
+
+
+
+
+ +

+reInitialize

+
+protected void reInitialize()
+
+
Resets the controller (called after execution of last child of controller): +
    +
  • resetCurrent() (i.e. current=0)
  • +
  • increment iteration count
  • +
  • sets first=true
  • +
  • recoverRunningVersion() to set the controller back to the initial state
  • +
+

+

+
Overrides:
reInitialize in class GenericController
+
+
+
+
+
+
+ +

+triggerEndOfLoop

+
+public void triggerEndOfLoop()
+
+
Trigger end of loop condition on controller (used by Start Next Loop feature) +

+

+
Specified by:
triggerEndOfLoop in interface Controller
Overrides:
triggerEndOfLoop in class GenericController
+
+
+
+
+
+
+ +

+initialize

+
+public void initialize()
+
+
Reset loopCount to Start index +

+

+
Specified by:
initialize in interface Controller
Overrides:
initialize in class GenericController
+
+
+
See Also:
GenericController.initialize()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/control/GenericController.html b/docs/api/org/apache/jmeter/control/GenericController.html new file mode 100644 index 00000000000..03547d1251f --- /dev/null +++ b/docs/api/org/apache/jmeter/control/GenericController.html @@ -0,0 +1,1130 @@ + + + + + +GenericController (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.control +
+Class GenericController

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.control.GenericController
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Controller, Searchable, TestElement, TestCompilerHelper
+
+
+
Direct Known Subclasses:
CriticalSectionController, ForeachController, IfController, IncludeController, InterleaveControl, LoopController, ModuleController, OnceOnlyController, ProxyControl, RandomOrderController, RecordingController, RunTime, SwitchController, TestFragmentController, ThroughputController, TransactionController, WhileController
+
+
+
+
public class GenericController
extends AbstractTestElement
implements Controller, Serializable, TestCompilerHelper
+ + +

+

+ This class is the basis for all the controllers. + It also implements SimpleController. +

+

+ The main entry point is next(), which is called by by JMeterThread as follows: +

+

+ while (running && (sampler = controller.next()) != null) +

+

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + +
+Field Summary
+protected  intcurrent + +
+          Index of current sub controller or sampler
+protected  List<TestElement>subControllersAndSamplers + +
+           
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
GenericController() + +
+          Creates a Generic Controller
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddIterationListener(LoopIterationListener lis) + +
+          Controllers have to notify listeners of when they begin an iteration + through their sub-elements.
+ voidaddTestElement(TestElement child) + +
+          
+ booleanaddTestElementOnce(TestElement child) + +
+          Add child test element only if it has not already been added.
+protected  voidcurrentReturnedNull(Controller c) + +
+          If the controller is done, remove it from the list, + otherwise increment to next entry in list.
+protected  voidfireIterationStart() + +
+           
+protected  voidfireIterEvents() + +
+           
+protected  TestElementgetCurrentElement() + +
+           + Gets the element indicated by the current index, if one exists, + from the subControllersAndSamplers list.
+protected  intgetIterCount() + +
+           
+protected  List<TestElement>getSubControllers() + +
+          Gets the SubControllers attribute of the GenericController object
+protected  voidincrementCurrent() + +
+          Increments the current pointer; called by currentReturnedNull to move the + controller on to its next child.
+protected  voidincrementIterCount() + +
+           
+ voidinitialize() + +
+          Called to initialize a controller at the beginning of a test iteration.
+protected  voidinitializeSubControllers() + +
+          (re)Initializes sub controllers + See Bug 50032
+ booleanisDone() + +
+          Indicates whether the Controller is done delivering Samplers for the rest + of the test.
+protected  booleanisFirst() + +
+           
+ Samplernext() + +
+           + Determines the next sampler to be processed.
+protected  SamplernextIsAController(Controller controller) + +
+          Called by next() if the element is a Controller, and returns the + next sampler from the controller.
+protected  SamplernextIsASampler(Sampler element) + +
+          Increment the current pointer and return the element.
+protected  SamplernextIsNull() + +
+          Called by next() when getCurrentElement() returns null.
+protected  ObjectreadResolve() + +
+           
+protected  voidreInitialize() + +
+          Resets the controller (called after execution of last child of controller): + + resetCurrent() (i.e. current=0) + increment iteration count + sets first=true + recoverRunningVersion() to set the controller back to the initial state +
+protected  voidreInitializeSubController() + +
+          Deprecated. replaced by GeneriController#initializeSubControllers
+protected  voidremoveCurrentElement() + +
+           
+ voidremoveIterationListener(LoopIterationListener iterationListener) + +
+          Remove listener
+protected  voidresetCurrent() + +
+           
+protected  voidresetIterCount() + +
+           
+protected  voidsetCurrentElement(TestElement currentElement) + +
+          Empty implementation - does nothing.
+protected  voidsetDone(boolean done) + +
+           
+ voidsetFirst(boolean b) + +
+          If b is true, it means first is reset which means Controller has executed all its children
+ voidtriggerEndOfLoop() + +
+          Trigger end of loop condition on controller (used by Start Next Loop feature)
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.testelement.TestElement
canRemove, clear, clearTestElementChildren, clone, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse
+  +

+ + + + + + + + +
+Field Detail
+ +

+subControllersAndSamplers

+
+protected transient List<TestElement> subControllersAndSamplers
+
+
+
+
+
+ +

+current

+
+protected transient int current
+
+
Index of current sub controller or sampler +

+

+
+
+ + + + + + + + +
+Constructor Detail
+ +

+GenericController

+
+public GenericController()
+
+
Creates a Generic Controller +

+

+ + + + + + + + +
+Method Detail
+ +

+initialize

+
+public void initialize()
+
+
Description copied from interface: Controller
+
Called to initialize a controller at the beginning of a test iteration. +

+

+
Specified by:
initialize in interface Controller
+
+
+
+
+
+
+ +

+initializeSubControllers

+
+protected void initializeSubControllers()
+
+
(re)Initializes sub controllers + See Bug 50032 +

+

+
+
+
+
+
+
+
+ +

+reInitialize

+
+protected void reInitialize()
+
+
Resets the controller (called after execution of last child of controller): +
    +
  • resetCurrent() (i.e. current=0)
  • +
  • increment iteration count
  • +
  • sets first=true
  • +
  • recoverRunningVersion() to set the controller back to the initial state
  • +
+

+

+
+
+
+
+
+
+
+ +

+next

+
+public Sampler next()
+
+

+ Determines the next sampler to be processed. +

+ +

+ If isDone() is true, returns null. +

+ +

+ Gets the list element using current pointer. + If this is null, calls nextIsNull(). +

+ +

+ If the list element is a Sampler, calls nextIsASampler(Sampler), + otherwise calls nextIsAController(Controller) +

+ +

+ If any of the called methods throws NextIsNullException, returns null, + otherwise the value obtained above is returned. +

+

+

+
Specified by:
next in interface Controller
+
+
+ +
Returns:
the next sampler or null
+
+
+
+ +

+isDone

+
+public boolean isDone()
+
+
Description copied from interface: Controller
+
Indicates whether the Controller is done delivering Samplers for the rest + of the test. + + When the top-level controller returns true to JMeterThread, + the thread is complete. +

+

+
Specified by:
isDone in interface Controller
+
+
+ +
Returns:
boolean
See Also:
Controller.isDone()
+
+
+
+ +

+setDone

+
+protected void setDone(boolean done)
+
+
+
+
+
+
+
+
+
+ +

+isFirst

+
+protected boolean isFirst()
+
+
+
+
+
+ +
Returns:
true if it's the controller is returning the first of its children
+
+
+
+ +

+setFirst

+
+public void setFirst(boolean b)
+
+
If b is true, it means first is reset which means Controller has executed all its children +

+

+
+
+
+
Parameters:
b - The flag, whether first is reseted
+
+
+
+ +

+nextIsAController

+
+protected Sampler nextIsAController(Controller controller)
+                             throws NextIsNullException
+
+
Called by next() if the element is a Controller, and returns the + next sampler from the controller. If this is null, then + updates the current pointer and makes recursive call to next(). +

+

+
+
+
+
Parameters:
controller - the current next element +
Returns:
the next sampler +
Throws: +
NextIsNullException - when the end of the list has already been reached
+
+
+
+ +

+nextIsASampler

+
+protected Sampler nextIsASampler(Sampler element)
+                          throws NextIsNullException
+
+
Increment the current pointer and return the element. Called by + next() if the element is a sampler. (May be overriden by + sub-classes). +

+

+
+
+
+
Parameters:
element - the current next element +
Returns:
input element +
Throws: +
NextIsNullException - when the end of the list has already been reached
+
+
+
+ +

+nextIsNull

+
+protected Sampler nextIsNull()
+                      throws NextIsNullException
+
+
Called by next() when getCurrentElement() returns null. + Reinitialises the controller. +

+

+
+
+
+ +
Returns:
null (always, for this class) +
Throws: +
NextIsNullException - when the end of the list has already been reached
+
+
+
+ +

+triggerEndOfLoop

+
+public void triggerEndOfLoop()
+
+
Trigger end of loop condition on controller (used by Start Next Loop feature) +

+

+
Specified by:
triggerEndOfLoop in interface Controller
+
+
+
+
+
+
+ +

+reInitializeSubController

+
+protected void reInitializeSubController()
+
+
Deprecated. replaced by GeneriController#initializeSubControllers +

+

Called to re-initialize a index of controller's elements (Bug 50032) +

+

+
+
+
+
+
+
+
+ +

+currentReturnedNull

+
+protected void currentReturnedNull(Controller c)
+
+
If the controller is done, remove it from the list, + otherwise increment to next entry in list. +

+

+
+
+
+
Parameters:
c - controller
+
+
+
+ +

+getSubControllers

+
+protected List<TestElement> getSubControllers()
+
+
Gets the SubControllers attribute of the GenericController object +

+

+
+
+
+ +
Returns:
the SubControllers value
+
+
+
+ +

+setCurrentElement

+
+protected void setCurrentElement(TestElement currentElement)
+                          throws NextIsNullException
+
+
Empty implementation - does nothing. +

+

+
+
+
+
Parameters:
currentElement - the current element +
Throws: +
NextIsNullException - when the list has been completed already
+
+
+
+ +

+getCurrentElement

+
+protected TestElement getCurrentElement()
+                                 throws NextIsNullException
+
+

+ Gets the element indicated by the current index, if one exists, + from the subControllersAndSamplers list. +

+

+ If the subControllersAndSamplers list is empty, + then set done = true, and throw NextIsNullException. +

+

+

+
+
+
+ +
Returns:
the current element - or null if current index too large +
Throws: +
NextIsNullException - if list is empty
+
+
+
+ +

+removeCurrentElement

+
+protected void removeCurrentElement()
+
+
+
+
+
+
+
+
+
+ +

+incrementCurrent

+
+protected void incrementCurrent()
+
+
Increments the current pointer; called by currentReturnedNull to move the + controller on to its next child. +

+

+
+
+
+
+
+
+
+ +

+resetCurrent

+
+protected void resetCurrent()
+
+
+
+
+
+
+
+
+
+ +

+addTestElement

+
+public void addTestElement(TestElement child)
+
+
Description copied from class: AbstractTestElement
+
+

+

+
Specified by:
addTestElement in interface TestElement
Overrides:
addTestElement in class AbstractTestElement
+
+
+
+
+
+
+ +

+addTestElementOnce

+
+public final boolean addTestElementOnce(TestElement child)
+
+
Add child test element only if it has not already been added. +

+ Only for use by TestCompiler. +

+

+
Specified by:
addTestElementOnce in interface TestCompilerHelper
+
+
+
Parameters:
child - the TestElement to be added +
Returns:
true if the child was added
+
+
+
+ +

+addIterationListener

+
+public void addIterationListener(LoopIterationListener lis)
+
+
Description copied from interface: Controller
+
Controllers have to notify listeners of when they begin an iteration + through their sub-elements. +

+

+
Specified by:
addIterationListener in interface Controller
+
+
+
Parameters:
lis - The LoopIterationListener to add
+
+
+
+ +

+removeIterationListener

+
+public void removeIterationListener(LoopIterationListener iterationListener)
+
+
Remove listener +

+

+
Specified by:
removeIterationListener in interface Controller
+
+
+
Parameters:
iterationListener - LoopIterationListener
+
+
+
+ +

+fireIterEvents

+
+protected void fireIterEvents()
+
+
+
+
+
+
+
+
+
+ +

+fireIterationStart

+
+protected void fireIterationStart()
+
+
+
+
+
+
+
+
+
+ +

+getIterCount

+
+protected int getIterCount()
+
+
+
+
+
+
+
+
+
+ +

+incrementIterCount

+
+protected void incrementIterCount()
+
+
+
+
+
+
+
+
+
+ +

+resetIterCount

+
+protected void resetIterCount()
+
+
+
+
+
+
+
+
+
+ +

+readResolve

+
+protected Object readResolve()
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/control/IfController.html b/docs/api/org/apache/jmeter/control/IfController.html new file mode 100644 index 00000000000..f2707eb530c --- /dev/null +++ b/docs/api/org/apache/jmeter/control/IfController.html @@ -0,0 +1,568 @@ + + + + + +IfController (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.control +
+Class IfController

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.control.GenericController
+          extended by org.apache.jmeter.control.IfController
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Controller, Searchable, TestElement, TestCompilerHelper
+
+
+
+
public class IfController
extends GenericController
implements Serializable
+ + +

+This is a Conditional Controller; it will execute the set of statements + (samplers/controllers, etc) while the 'condition' is true. +

+ In a programming world - this is equivalent of : +

+ if (condition) {
+          statements ....
+          }
+ 
+ In JMeter you may have : +
 
+ Thread-Group (set to loop a number of times or indefinitely,
+    ... Samplers ... (e.g. Counter )
+    ... Other Controllers ....
+    ... IfController ( condition set to something like - ${counter} < 10)
+       ... statements to perform if condition is true
+       ...
+    ... Other Controllers /Samplers }
+ 
+

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.control.GenericController
current, subControllersAndSamplers
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + + + + +
+Constructor Summary
IfController() + +
+          constructor
IfController(String condition) + +
+          constructor
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetCondition() + +
+          Condition Accessor - this is gonna be like ${count} < 10
+ booleanisDone() + +
+          This is overriding the parent method.
+ booleanisEvaluateAll() + +
+           
+ booleanisUseExpression() + +
+           
+ Samplernext() + +
+           + Determines the next sampler to be processed.
+ voidsetCondition(String condition) + +
+          Condition Accessor - this is gonna be like ${count} < 10
+ voidsetEvaluateAll(boolean b) + +
+           
+ voidsetUseExpression(boolean selected) + +
+           
+ voidtriggerEndOfLoop() + +
+          Trigger end of loop condition on controller (used by Start Next Loop feature)
+ + + + + + + +
Methods inherited from class org.apache.jmeter.control.GenericController
addIterationListener, addTestElement, addTestElementOnce, currentReturnedNull, fireIterationStart, fireIterEvents, getCurrentElement, getIterCount, getSubControllers, incrementCurrent, incrementIterCount, initialize, initializeSubControllers, isFirst, nextIsAController, nextIsASampler, nextIsNull, readResolve, reInitialize, reInitializeSubController, removeCurrentElement, removeIterationListener, resetCurrent, resetIterCount, setCurrentElement, setDone, setFirst
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.testelement.TestElement
canRemove, clear, clearTestElementChildren, clone, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+IfController

+
+public IfController()
+
+
constructor +

+

+
+ +

+IfController

+
+public IfController(String condition)
+
+
constructor +

+

+
Parameters:
condition - The condition for this controller
+
+ + + + + + + + +
+Method Detail
+ +

+setCondition

+
+public void setCondition(String condition)
+
+
Condition Accessor - this is gonna be like ${count} < 10 +

+

+
+
+
+
Parameters:
condition - The condition for this controller
+
+
+
+ +

+getCondition

+
+public String getCondition()
+
+
Condition Accessor - this is gonna be like ${count} < 10 +

+

+
+
+
+ +
Returns:
the condition associated with this controller
+
+
+
+ +

+isDone

+
+public boolean isDone()
+
+
This is overriding the parent method. IsDone indicates whether the + termination condition is reached. I.e. if the condition evaluates to + False - then isDone() returns TRUE +

+

+
Specified by:
isDone in interface Controller
Overrides:
isDone in class GenericController
+
+
+ +
Returns:
boolean
See Also:
Controller.isDone()
+
+
+
+ +

+next

+
+public Sampler next()
+
+
Description copied from class: GenericController
+

+ Determines the next sampler to be processed. +

+ +

+ If GenericController.isDone() is true, returns null. +

+ +

+ Gets the list element using current pointer. + If this is null, calls GenericController.nextIsNull(). +

+ +

+ If the list element is a Sampler, calls GenericController.nextIsASampler(Sampler), + otherwise calls GenericController.nextIsAController(Controller) +

+ +

+ If any of the called methods throws NextIsNullException, returns null, + otherwise the value obtained above is returned. +

+

+

+
Specified by:
next in interface Controller
Overrides:
next in class GenericController
+
+
+ +
Returns:
the next sampler or null
See Also:
Controller.next()
+
+
+
+ +

+triggerEndOfLoop

+
+public void triggerEndOfLoop()
+
+
Trigger end of loop condition on controller (used by Start Next Loop feature) +

+

+
Specified by:
triggerEndOfLoop in interface Controller
Overrides:
triggerEndOfLoop in class GenericController
+
+
+
+
+
+
+ +

+isEvaluateAll

+
+public boolean isEvaluateAll()
+
+
+
+
+
+
+
+
+
+ +

+setEvaluateAll

+
+public void setEvaluateAll(boolean b)
+
+
+
+
+
+
+
+
+
+ +

+isUseExpression

+
+public boolean isUseExpression()
+
+
+
+
+
+
+
+
+
+ +

+setUseExpression

+
+public void setUseExpression(boolean selected)
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/control/IncludeController.html b/docs/api/org/apache/jmeter/control/IncludeController.html new file mode 100644 index 00000000000..b510fae732b --- /dev/null +++ b/docs/api/org/apache/jmeter/control/IncludeController.html @@ -0,0 +1,466 @@ + + + + + +IncludeController (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.control +
+Class IncludeController

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.control.GenericController
+          extended by org.apache.jmeter.control.IncludeController
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Controller, ReplaceableController, Searchable, TestElement, TestCompilerHelper
+
+
+
+
public class IncludeController
extends GenericController
implements ReplaceableController
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.control.GenericController
current, subControllersAndSamplers
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
IncludeController() + +
+          No-arg constructor
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Objectclone() + +
+           
+ StringgetIncludePath() + +
+          return the JMX file path.
+ TestElementgetReplacementElement() + +
+           
+ HashTreegetReplacementSubTree() + +
+          The way ReplaceableController works is clone is called first, + followed by replace(HashTree) and finally getReplacement().
+protected  HashTreeloadIncludedElements() + +
+          load the included elements using SaveService
+ voidresolveReplacementSubTree(JMeterTreeNode context) + +
+          Compute the replacement tree.
+ voidsetIncludePath(String jmxfile) + +
+          In the event an user wants to include an external JMX test plan + the GUI would call this.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.control.GenericController
addIterationListener, addTestElement, addTestElementOnce, currentReturnedNull, fireIterationStart, fireIterEvents, getCurrentElement, getIterCount, getSubControllers, incrementCurrent, incrementIterCount, initialize, initializeSubControllers, isDone, isFirst, next, nextIsAController, nextIsASampler, nextIsNull, readResolve, reInitialize, reInitializeSubController, removeCurrentElement, removeIterationListener, resetCurrent, resetIterCount, setCurrentElement, setDone, setFirst, triggerEndOfLoop
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, canRemove, clear, clearTemporary, clearTestElementChildren, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.testelement.TestElement
canRemove, clear, clearTestElementChildren, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+IncludeController

+
+public IncludeController()
+
+
No-arg constructor +

+

+
See Also:
Object.Object()
+
+ + + + + + + + +
+Method Detail
+ +

+clone

+
+public Object clone()
+
+
+
Specified by:
clone in interface TestElement
Overrides:
clone in class AbstractTestElement
+
+
+
+
+
+
+ +

+setIncludePath

+
+public void setIncludePath(String jmxfile)
+
+
In the event an user wants to include an external JMX test plan + the GUI would call this. +

+

+
+
+
+
Parameters:
jmxfile - The path to the JMX test plan to include
+
+
+
+ +

+getIncludePath

+
+public String getIncludePath()
+
+
return the JMX file path. +

+

+
+
+
+ +
Returns:
the JMX file path
+
+
+
+ +

+getReplacementSubTree

+
+public HashTree getReplacementSubTree()
+
+
The way ReplaceableController works is clone is called first, + followed by replace(HashTree) and finally getReplacement(). +

+

+
Specified by:
getReplacementSubTree in interface ReplaceableController
+
+
+ +
Returns:
The replaced sub tree
See Also:
HashTree
+
+
+
+ +

+getReplacementElement

+
+public TestElement getReplacementElement()
+
+
+
+
+
+
+
+
+
+ +

+resolveReplacementSubTree

+
+public void resolveReplacementSubTree(JMeterTreeNode context)
+
+
Description copied from interface: ReplaceableController
+
Compute the replacement tree. +

+

+
Specified by:
resolveReplacementSubTree in interface ReplaceableController
+
+
+
Parameters:
context - the starting point of the replacement
+
+
+
+ +

+loadIncludedElements

+
+protected HashTree loadIncludedElements()
+
+
load the included elements using SaveService +

+

+
+
+
+ +
Returns:
tree with loaded elements
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/control/InterleaveControl.html b/docs/api/org/apache/jmeter/control/InterleaveControl.html new file mode 100644 index 00000000000..f8c21835401 --- /dev/null +++ b/docs/api/org/apache/jmeter/control/InterleaveControl.html @@ -0,0 +1,684 @@ + + + + + +InterleaveControl (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.control +
+Class InterleaveControl

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.control.GenericController
+          extended by org.apache.jmeter.control.InterleaveControl
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Controller, Searchable, TestElement, TestCompilerHelper
+
+
+
Direct Known Subclasses:
RandomController
+
+
+
+
public class InterleaveControl
extends GenericController
implements Serializable
+ + +

+Alternate among each of the children controllers or samplers for each loop iteration +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + +
+Field Summary
+static intIGNORE_SUB_CONTROLLERS + +
+           
+static intUSE_SUB_CONTROLLERS + +
+           
+ + + + + + + +
Fields inherited from class org.apache.jmeter.control.GenericController
current, subControllersAndSamplers
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
InterleaveControl() + +
+          Constructor for the InterleaveControl object
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+protected  voidcurrentReturnedNull(Controller c) + +
+          If the controller is done, remove it from the list, + otherwise increment to next entry in list.
+ intgetStyle() + +
+           
+protected  voidincrementCurrent() + +
+          Increments the current pointer; called by currentReturnedNull to move the + controller on to its next child.
+protected  booleanisSkipNext() + +
+           
+ Samplernext() + +
+           + Determines the next sampler to be processed.
+protected  SamplernextIsAController(Controller controller) + +
+          Called by GenericController.next() if the element is a Controller, and returns the + next sampler from the controller.
+protected  SamplernextIsASampler(Sampler element) + +
+          Increment the current pointer and return the element.
+protected  SamplernextIsNull() + +
+          If the current is null, reset and continue searching.
+ voidreInitialize() + +
+          Resets the controller (called after execution of last child of controller): + + resetCurrent() (i.e. current=0) + increment iteration count + sets first=true + recoverRunningVersion() to set the controller back to the initial state +
+protected  voidsetCurrentElement(TestElement currentElement) + +
+          Empty implementation - does nothing.
+protected  voidsetSkipNext(boolean skipNext) + +
+           
+ voidsetStyle(int style) + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.control.GenericController
addIterationListener, addTestElement, addTestElementOnce, fireIterationStart, fireIterEvents, getCurrentElement, getIterCount, getSubControllers, incrementIterCount, initialize, initializeSubControllers, isDone, isFirst, readResolve, reInitializeSubController, removeCurrentElement, removeIterationListener, resetCurrent, resetIterCount, setDone, setFirst, triggerEndOfLoop
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.testelement.TestElement
canRemove, clear, clearTestElementChildren, clone, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse
+  +

+ + + + + + + + +
+Field Detail
+ +

+IGNORE_SUB_CONTROLLERS

+
+public static final int IGNORE_SUB_CONTROLLERS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+USE_SUB_CONTROLLERS

+
+public static final int USE_SUB_CONTROLLERS
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+InterleaveControl

+
+public InterleaveControl()
+
+
Constructor for the InterleaveControl object +

+

+ + + + + + + + +
+Method Detail
+ +

+reInitialize

+
+public void reInitialize()
+
+
Resets the controller (called after execution of last child of controller): +
    +
  • resetCurrent() (i.e. current=0)
  • +
  • increment iteration count
  • +
  • sets first=true
  • +
  • recoverRunningVersion() to set the controller back to the initial state
  • +
+

+

+
Overrides:
reInitialize in class GenericController
+
+
+
+
+
+
+ +

+setStyle

+
+public void setStyle(int style)
+
+
+
+
+
+
+
+
+
+ +

+getStyle

+
+public int getStyle()
+
+
+
+
+
+
+
+
+
+ +

+next

+
+public Sampler next()
+
+

+ Determines the next sampler to be processed. +

+ +

+ If GenericController.isDone() is true, returns null. +

+ +

+ Gets the list element using current pointer. + If this is null, calls GenericController.nextIsNull(). +

+ +

+ If the list element is a Sampler, calls GenericController.nextIsASampler(Sampler), + otherwise calls GenericController.nextIsAController(Controller) +

+ +

+ If any of the called methods throws NextIsNullException, returns null, + otherwise the value obtained above is returned. +

+

+

+
Specified by:
next in interface Controller
Overrides:
next in class GenericController
+
+
+ +
Returns:
the next sampler or null
+
+
+
+ +

+nextIsAController

+
+protected Sampler nextIsAController(Controller controller)
+                             throws NextIsNullException
+
+
Called by GenericController.next() if the element is a Controller, and returns the + next sampler from the controller. If this is null, then + updates the current pointer and makes recursive call to GenericController.next(). +

+

+
Overrides:
nextIsAController in class GenericController
+
+
+
Parameters:
controller - the current next element +
Returns:
the next sampler +
Throws: +
NextIsNullException - when the end of the list has already been reached
+
+
+
+ +

+nextIsASampler

+
+protected Sampler nextIsASampler(Sampler element)
+                          throws NextIsNullException
+
+
Increment the current pointer and return the element. Called by + GenericController.next() if the element is a sampler. (May be overriden by + sub-classes). +

+

+
Overrides:
nextIsASampler in class GenericController
+
+
+
Parameters:
element - the current next element +
Returns:
input element +
Throws: +
NextIsNullException - when the end of the list has already been reached
+
+
+
+ +

+nextIsNull

+
+protected Sampler nextIsNull()
+
+
If the current is null, reset and continue searching. The searchStart + attribute will break us off when we start a repeat. +

+ Called by GenericController.next() when GenericController.getCurrentElement() returns null. + Reinitialises the controller. +

+

+
Overrides:
nextIsNull in class GenericController
+
+
+ +
Returns:
null (always, for this class)
+
+
+
+ +

+setCurrentElement

+
+protected void setCurrentElement(TestElement currentElement)
+                          throws NextIsNullException
+
+
Empty implementation - does nothing. +

+

+
Overrides:
setCurrentElement in class GenericController
+
+
+
Parameters:
currentElement - the current element +
Throws: +
NextIsNullException - when the list has been completed already
+
+
+
+ +

+currentReturnedNull

+
+protected void currentReturnedNull(Controller c)
+
+
If the controller is done, remove it from the list, + otherwise increment to next entry in list. +

+

+
Overrides:
currentReturnedNull in class GenericController
+
+
+
Parameters:
c - controller
+
+
+
+ +

+isSkipNext

+
+protected boolean isSkipNext()
+
+
+
+
+
+
+
+
+
+ +

+setSkipNext

+
+protected void setSkipNext(boolean skipNext)
+
+
+
+
+
+
+
+
+
+ +

+incrementCurrent

+
+protected void incrementCurrent()
+
+
Increments the current pointer; called by currentReturnedNull to move the + controller on to its next child. +

+

+
Overrides:
incrementCurrent in class GenericController
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/control/LoopController.html b/docs/api/org/apache/jmeter/control/LoopController.html new file mode 100644 index 00000000000..c40701bc2b6 --- /dev/null +++ b/docs/api/org/apache/jmeter/control/LoopController.html @@ -0,0 +1,701 @@ + + + + + +LoopController (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.control +
+Class LoopController

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.control.GenericController
+          extended by org.apache.jmeter.control.LoopController
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Controller, Searchable, TestElement, TestCompilerHelper
+
+
+
+
public class LoopController
extends GenericController
implements Serializable
+ + +

+Class that implements the Loop Controller, ie iterate infinitely or a configured number of times +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + +
+Field Summary
+static intINFINITE_LOOP_COUNT + +
+           
+static StringLOOPS + +
+           
+ + + + + + + +
Fields inherited from class org.apache.jmeter.control.GenericController
current, subControllersAndSamplers
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
LoopController() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+protected  intgetIterCount() + +
+          
+ intgetLoops() + +
+           
+ StringgetLoopString() + +
+           
+protected  voidincrementLoopCount() + +
+           
+ Samplernext() + +
+           + Determines the next sampler to be processed.
+protected  SamplernextIsNull() + +
+          Called by GenericController.next() when GenericController.getCurrentElement() returns null.
+protected  voidreInitialize() + +
+          Resets the controller (called after execution of last child of controller): + + resetCurrent() (i.e. current=0) + increment iteration count + sets first=true + recoverRunningVersion() to set the controller back to the initial state +
+protected  voidresetLoopCount() + +
+           
+ voidsetContinueForever(boolean forever) + +
+          Determines whether the loop will return any samples if it is rerun.
+protected  voidsetDone(boolean done) + +
+           
+ voidsetLoops(int loops) + +
+           
+ voidsetLoops(String loopValue) + +
+           
+ voidstartNextLoop() + +
+          Start next iteration
+ voidtriggerEndOfLoop() + +
+          Trigger end of loop condition on controller (used by Start Next Loop feature)
+ + + + + + + +
Methods inherited from class org.apache.jmeter.control.GenericController
addIterationListener, addTestElement, addTestElementOnce, currentReturnedNull, fireIterationStart, fireIterEvents, getCurrentElement, getSubControllers, incrementCurrent, incrementIterCount, initialize, initializeSubControllers, isDone, isFirst, nextIsAController, nextIsASampler, readResolve, reInitializeSubController, removeCurrentElement, removeIterationListener, resetCurrent, resetIterCount, setCurrentElement, setFirst
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.testelement.TestElement
canRemove, clear, clearTestElementChildren, clone, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse
+  +

+ + + + + + + + +
+Field Detail
+ +

+INFINITE_LOOP_COUNT

+
+public static final int INFINITE_LOOP_COUNT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+LOOPS

+
+public static final String LOOPS
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+LoopController

+
+public LoopController()
+
+
+ + + + + + + + +
+Method Detail
+ +

+setLoops

+
+public void setLoops(int loops)
+
+
+
+
+
+
+
+
+
+ +

+setLoops

+
+public void setLoops(String loopValue)
+
+
+
+
+
+
+
+
+
+ +

+getLoops

+
+public int getLoops()
+
+
+
+
+
+
+
+
+
+ +

+getLoopString

+
+public String getLoopString()
+
+
+
+
+
+
+
+
+
+ +

+setContinueForever

+
+public void setContinueForever(boolean forever)
+
+
Determines whether the loop will return any samples if it is rerun. +

+

+
+
+
+
Parameters:
forever - true if the loop must be reset after ending a run
+
+
+
+ +

+next

+
+public Sampler next()
+
+

+ Determines the next sampler to be processed. +

+ +

+ If GenericController.isDone() is true, returns null. +

+ +

+ Gets the list element using current pointer. + If this is null, calls GenericController.nextIsNull(). +

+ +

+ If the list element is a Sampler, calls GenericController.nextIsASampler(Sampler), + otherwise calls GenericController.nextIsAController(Controller) +

+ +

+ If any of the called methods throws NextIsNullException, returns null, + otherwise the value obtained above is returned. +

+

+

+
Specified by:
next in interface Controller
Overrides:
next in class GenericController
+
+
+ +
Returns:
the next sampler or null
+
+
+
+ +

+setDone

+
+protected void setDone(boolean done)
+
+
+
Overrides:
setDone in class GenericController
+
+
+
+
+
+
+ +

+nextIsNull

+
+protected Sampler nextIsNull()
+                      throws NextIsNullException
+
+
Called by GenericController.next() when GenericController.getCurrentElement() returns null. + Reinitialises the controller. +

+

+
Overrides:
nextIsNull in class GenericController
+
+
+ +
Returns:
null (always, for this class) +
Throws: +
NextIsNullException - when the end of the list has already been reached
+
+
+
+ +

+triggerEndOfLoop

+
+public void triggerEndOfLoop()
+
+
Trigger end of loop condition on controller (used by Start Next Loop feature) +

+

+
Specified by:
triggerEndOfLoop in interface Controller
Overrides:
triggerEndOfLoop in class GenericController
+
+
+
+
+
+
+ +

+incrementLoopCount

+
+protected void incrementLoopCount()
+
+
+
+
+
+
+
+
+
+ +

+resetLoopCount

+
+protected void resetLoopCount()
+
+
+
+
+
+
+
+
+
+ +

+getIterCount

+
+protected int getIterCount()
+
+
+

+

+
Overrides:
getIterCount in class GenericController
+
+
+
+
+
+
+ +

+reInitialize

+
+protected void reInitialize()
+
+
Resets the controller (called after execution of last child of controller): +
    +
  • resetCurrent() (i.e. current=0)
  • +
  • increment iteration count
  • +
  • sets first=true
  • +
  • recoverRunningVersion() to set the controller back to the initial state
  • +
+

+

+
Overrides:
reInitialize in class GenericController
+
+
+
+
+
+
+ +

+startNextLoop

+
+public void startNextLoop()
+
+
Start next iteration +

+

+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/control/ModuleController.html b/docs/api/org/apache/jmeter/control/ModuleController.html new file mode 100644 index 00000000000..2138cd6fafd --- /dev/null +++ b/docs/api/org/apache/jmeter/control/ModuleController.html @@ -0,0 +1,456 @@ + + + + + +ModuleController (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.control +
+Class ModuleController

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.control.GenericController
+          extended by org.apache.jmeter.control.ModuleController
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Controller, ReplaceableController, Searchable, TestElement, TestCompilerHelper
+
+
+
+
public class ModuleController
extends GenericController
implements ReplaceableController
+ + +

+The goal of ModuleController is to add modularity to JMeter. The general idea + is that web applications consist of small units of functionality (i.e. Logon, + Create Account, Logoff...) which consist of requests that implement the + functionality. These small units of functionality can be stored in + SimpleControllers as modules that can be linked together quickly to form + tests. ModuleController facilitates this by acting as a pointer to any + controller that sits under the WorkBench. The controller and it's subelements + will be substituted in place of the ModuleController at runtime. Config + elements can be attached to the ModuleController to alter the functionality + (which user logs in, which account is created, etc.) of the module. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.control.GenericController
current, subControllersAndSamplers
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
ModuleController() + +
+          No-arg constructor
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Objectclone() + +
+           
+ List<?>getNodePath() + +
+           
+ HashTreegetReplacementSubTree() + +
+          Used to replace the test execution tree (usually by adding the + subelements of the TestElement that is replacing the + ReplaceableController.
+ JMeterTreeNodegetSelectedNode() + +
+          Gets the (@link JMeterTreeNode) for the Controller
+ voidresolveReplacementSubTree(JMeterTreeNode context) + +
+          Compute the replacement tree.
+ voidsetSelectedNode(JMeterTreeNode tn) + +
+          Sets the (@link JMeterTreeNode) which represents the controller which + this object is pointing to.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.control.GenericController
addIterationListener, addTestElement, addTestElementOnce, currentReturnedNull, fireIterationStart, fireIterEvents, getCurrentElement, getIterCount, getSubControllers, incrementCurrent, incrementIterCount, initialize, initializeSubControllers, isDone, isFirst, next, nextIsAController, nextIsASampler, nextIsNull, readResolve, reInitialize, reInitializeSubController, removeCurrentElement, removeIterationListener, resetCurrent, resetIterCount, setCurrentElement, setDone, setFirst, triggerEndOfLoop
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, canRemove, clear, clearTemporary, clearTestElementChildren, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.testelement.TestElement
canRemove, clear, clearTestElementChildren, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ModuleController

+
+public ModuleController()
+
+
No-arg constructor +

+

+
See Also:
Object.Object()
+
+ + + + + + + + +
+Method Detail
+ +

+clone

+
+public Object clone()
+
+
+
Specified by:
clone in interface TestElement
Overrides:
clone in class AbstractTestElement
+
+
+
+
+
+
+ +

+setSelectedNode

+
+public void setSelectedNode(JMeterTreeNode tn)
+
+
Sets the (@link JMeterTreeNode) which represents the controller which + this object is pointing to. Used for building the test case upon + execution. +

+

+
+
+
+
Parameters:
tn - JMeterTreeNode
See Also:
JMeterTreeNode
+
+
+
+ +

+getSelectedNode

+
+public JMeterTreeNode getSelectedNode()
+
+
Gets the (@link JMeterTreeNode) for the Controller +

+

+
+
+
+ +
Returns:
JMeterTreeNode
+
+
+
+ +

+getNodePath

+
+public List<?> getNodePath()
+
+
+
+
+
+
+
+
+
+ +

+resolveReplacementSubTree

+
+public void resolveReplacementSubTree(JMeterTreeNode context)
+
+
Compute the replacement tree. +

+

+
Specified by:
resolveReplacementSubTree in interface ReplaceableController
+
+
+
Parameters:
context - the starting point of the replacement
+
+
+
+ +

+getReplacementSubTree

+
+public HashTree getReplacementSubTree()
+
+
Used to replace the test execution tree (usually by adding the + subelements of the TestElement that is replacing the + ReplaceableController. +

+

+
Specified by:
getReplacementSubTree in interface ReplaceableController
+
+
+ +
Returns:
The replaced sub tree
See Also:
HashTree
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/control/NextIsNullException.html b/docs/api/org/apache/jmeter/control/NextIsNullException.html new file mode 100644 index 00000000000..84c904e4f5e --- /dev/null +++ b/docs/api/org/apache/jmeter/control/NextIsNullException.html @@ -0,0 +1,284 @@ + + + + + +NextIsNullException (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.control +
+Class NextIsNullException

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by org.apache.jmeter.control.NextIsNullException
+
+
+
All Implemented Interfaces:
Serializable
+
+
+
+
public class NextIsNullException
extends Exception
+ + +

+Used by the Generic and Interleave controllers to signal the end of their samples +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + + +
+Constructor Summary
NextIsNullException() + +
+           
NextIsNullException(String message) + +
+           
NextIsNullException(String message, + Throwable cause) + +
+           
NextIsNullException(Throwable cause) + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+NextIsNullException

+
+public NextIsNullException()
+
+
+
+ +

+NextIsNullException

+
+public NextIsNullException(String message,
+                           Throwable cause)
+
+
+
+ +

+NextIsNullException

+
+public NextIsNullException(String message)
+
+
+
+ +

+NextIsNullException

+
+public NextIsNullException(Throwable cause)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/control/OnceOnlyController.html b/docs/api/org/apache/jmeter/control/OnceOnlyController.html new file mode 100644 index 00000000000..aea2bc83a4c --- /dev/null +++ b/docs/api/org/apache/jmeter/control/OnceOnlyController.html @@ -0,0 +1,351 @@ + + + + + +OnceOnlyController (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.control +
+Class OnceOnlyController

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.control.GenericController
+          extended by org.apache.jmeter.control.OnceOnlyController
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Controller, LoopIterationListener, Searchable, TestElement, TestCompilerHelper
+
+
+
+
public class OnceOnlyController
extends GenericController
implements Serializable, LoopIterationListener
+ + +

+Controller to run its children once per cycle. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.control.GenericController
current, subControllersAndSamplers
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
OnceOnlyController() + +
+          Constructor for the OnceOnlyController object.
+  + + + + + + + + + + + + + + + +
+Method Summary
+ voiditerationStart(LoopIterationEvent event) + +
+          Called when a loop iteration is about to start.
+protected  SamplernextIsNull() + +
+          Called by GenericController.next() when GenericController.getCurrentElement() returns null.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.control.GenericController
addIterationListener, addTestElement, addTestElementOnce, currentReturnedNull, fireIterationStart, fireIterEvents, getCurrentElement, getIterCount, getSubControllers, incrementCurrent, incrementIterCount, initialize, initializeSubControllers, isDone, isFirst, next, nextIsAController, nextIsASampler, readResolve, reInitialize, reInitializeSubController, removeCurrentElement, removeIterationListener, resetCurrent, resetIterCount, setCurrentElement, setDone, setFirst, triggerEndOfLoop
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.testelement.TestElement
canRemove, clear, clearTestElementChildren, clone, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+OnceOnlyController

+
+public OnceOnlyController()
+
+
Constructor for the OnceOnlyController object. +

+

+ + + + + + + + +
+Method Detail
+ +

+iterationStart

+
+public void iterationStart(LoopIterationEvent event)
+
+
Description copied from interface: LoopIterationListener
+
Called when a loop iteration is about to start. +

+

+
Specified by:
iterationStart in interface LoopIterationListener
+
+
+
Parameters:
event - the event
See Also:
LoopIterationListener.iterationStart(LoopIterationEvent)
+
+
+
+ +

+nextIsNull

+
+protected Sampler nextIsNull()
+                      throws NextIsNullException
+
+
Description copied from class: GenericController
+
Called by GenericController.next() when GenericController.getCurrentElement() returns null. + Reinitialises the controller. +

+

+
Overrides:
nextIsNull in class GenericController
+
+
+ +
Returns:
null (always, for this class) +
Throws: +
NextIsNullException - when the end of the list has already been reached
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/control/RandomController.html b/docs/api/org/apache/jmeter/control/RandomController.html new file mode 100644 index 00000000000..c049facd9b2 --- /dev/null +++ b/docs/api/org/apache/jmeter/control/RandomController.html @@ -0,0 +1,362 @@ + + + + + +RandomController (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.control +
+Class RandomController

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.control.GenericController
+          extended by org.apache.jmeter.control.InterleaveControl
+              extended by org.apache.jmeter.control.RandomController
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Controller, Searchable, TestElement, TestCompilerHelper
+
+
+
+
public class RandomController
extends InterleaveControl
implements Serializable
+ + +

+Controller that rans randomly one of it's children on each iteration +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.control.InterleaveControl
IGNORE_SUB_CONTROLLERS, USE_SUB_CONTROLLERS
+ + + + + + + +
Fields inherited from class org.apache.jmeter.control.GenericController
current, subControllersAndSamplers
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
RandomController() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+protected  voidincrementCurrent() + +
+          Increments the current pointer; called by currentReturnedNull to move the + controller on to its next child.
+protected  voidresetCurrent() + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.control.InterleaveControl
currentReturnedNull, getStyle, isSkipNext, next, nextIsAController, nextIsASampler, nextIsNull, reInitialize, setCurrentElement, setSkipNext, setStyle
+ + + + + + + +
Methods inherited from class org.apache.jmeter.control.GenericController
addIterationListener, addTestElement, addTestElementOnce, fireIterationStart, fireIterEvents, getCurrentElement, getIterCount, getSubControllers, incrementIterCount, initialize, initializeSubControllers, isDone, isFirst, readResolve, reInitializeSubController, removeCurrentElement, removeIterationListener, resetIterCount, setDone, setFirst, triggerEndOfLoop
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.testelement.TestElement
canRemove, clear, clearTestElementChildren, clone, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+RandomController

+
+public RandomController()
+
+
+ + + + + + + + +
+Method Detail
+ +

+resetCurrent

+
+protected void resetCurrent()
+
+
+
Overrides:
resetCurrent in class GenericController
+
+
+
See Also:
GenericController.resetCurrent()
+
+
+
+ +

+incrementCurrent

+
+protected void incrementCurrent()
+
+
Description copied from class: InterleaveControl
+
Increments the current pointer; called by currentReturnedNull to move the + controller on to its next child. +

+

+
Overrides:
incrementCurrent in class InterleaveControl
+
+
+
See Also:
GenericController.incrementCurrent()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/control/RandomOrderController.html b/docs/api/org/apache/jmeter/control/RandomOrderController.html new file mode 100644 index 00000000000..4d712c16705 --- /dev/null +++ b/docs/api/org/apache/jmeter/control/RandomOrderController.html @@ -0,0 +1,358 @@ + + + + + +RandomOrderController (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.control +
+Class RandomOrderController

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.control.GenericController
+          extended by org.apache.jmeter.control.RandomOrderController
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Controller, Searchable, TestElement, TestCompilerHelper
+
+
+
+
public class RandomOrderController
extends GenericController
implements Serializable
+ + +

+A controller that runs its children each at most once, but in a random order. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.control.GenericController
current, subControllersAndSamplers
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
RandomOrderController() + +
+          Create a new RandomOrderController.
+  + + + + + + + + + + + + + + + +
+Method Summary
+ voidinitialize() + +
+          Called to initialize a controller at the beginning of a test iteration.
+protected  voidreInitialize() + +
+          Resets the controller (called after execution of last child of controller): + + resetCurrent() (i.e. current=0) + increment iteration count + sets first=true + recoverRunningVersion() to set the controller back to the initial state +
+ + + + + + + +
Methods inherited from class org.apache.jmeter.control.GenericController
addIterationListener, addTestElement, addTestElementOnce, currentReturnedNull, fireIterationStart, fireIterEvents, getCurrentElement, getIterCount, getSubControllers, incrementCurrent, incrementIterCount, initializeSubControllers, isDone, isFirst, next, nextIsAController, nextIsASampler, nextIsNull, readResolve, reInitializeSubController, removeCurrentElement, removeIterationListener, resetCurrent, resetIterCount, setCurrentElement, setDone, setFirst, triggerEndOfLoop
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.testelement.TestElement
canRemove, clear, clearTestElementChildren, clone, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+RandomOrderController

+
+public RandomOrderController()
+
+
Create a new RandomOrderController. +

+

+ + + + + + + + +
+Method Detail
+ +

+initialize

+
+public void initialize()
+
+
Description copied from interface: Controller
+
Called to initialize a controller at the beginning of a test iteration. +

+

+
Specified by:
initialize in interface Controller
Overrides:
initialize in class GenericController
+
+
+
See Also:
GenericController.initialize()
+
+
+
+ +

+reInitialize

+
+protected void reInitialize()
+
+
Description copied from class: GenericController
+
Resets the controller (called after execution of last child of controller): +
    +
  • resetCurrent() (i.e. current=0)
  • +
  • increment iteration count
  • +
  • sets first=true
  • +
  • recoverRunningVersion() to set the controller back to the initial state
  • +
+

+

+
Overrides:
reInitialize in class GenericController
+
+
+
See Also:
GenericController.reInitialize()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/control/ReplaceableController.html b/docs/api/org/apache/jmeter/control/ReplaceableController.html new file mode 100644 index 00000000000..fdf08140c77 --- /dev/null +++ b/docs/api/org/apache/jmeter/control/ReplaceableController.html @@ -0,0 +1,238 @@ + + + + + +ReplaceableController (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.control +
+Interface ReplaceableController

+
+
All Known Implementing Classes:
IncludeController, ModuleController
+
+
+
+
public interface ReplaceableController
+ + +

+This interface represents a controller that gets replaced during the + compilation phase of test execution in an arbitrary way. +

+ +

+


+ +

+ + + + + + + + + + + + + + + + +
+Method Summary
+ HashTreegetReplacementSubTree() + +
+          Used to replace the test execution tree (usually by adding the + subelements of the TestElement that is replacing the + ReplaceableController.
+ voidresolveReplacementSubTree(JMeterTreeNode context) + +
+          Compute the replacement tree.
+  +

+ + + + + + + + +
+Method Detail
+ +

+getReplacementSubTree

+
+HashTree getReplacementSubTree()
+
+
Used to replace the test execution tree (usually by adding the + subelements of the TestElement that is replacing the + ReplaceableController. +

+

+ +
Returns:
The replaced sub tree
See Also:
HashTree
+
+
+
+ +

+resolveReplacementSubTree

+
+void resolveReplacementSubTree(JMeterTreeNode context)
+
+
Compute the replacement tree. +

+

+
Parameters:
context - the starting point of the replacement
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/control/RunTime.html b/docs/api/org/apache/jmeter/control/RunTime.html new file mode 100644 index 00000000000..45857c80b98 --- /dev/null +++ b/docs/api/org/apache/jmeter/control/RunTime.html @@ -0,0 +1,616 @@ + + + + + +RunTime (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.control +
+Class RunTime

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.control.GenericController
+          extended by org.apache.jmeter.control.RunTime
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Controller, Searchable, TestElement, TestCompilerHelper
+
+
+
+
public class RunTime
extends GenericController
implements Serializable
+ + +

+Runtime Controller that runs its children until configured Runtime(s) is exceeded +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.control.GenericController
current, subControllersAndSamplers
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
RunTime() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+protected  intgetIterCount() + +
+           
+ longgetRuntime() + +
+           
+ StringgetRuntimeString() + +
+           
+protected  voidincrementLoopCount() + +
+           
+ booleanisDone() + +
+          Indicates whether the Controller is done delivering Samplers for the rest + of the test.
+ Samplernext() + +
+           + Determines the next sampler to be processed.
+protected  SamplernextIsNull() + +
+          Called by GenericController.next() when GenericController.getCurrentElement() returns null.
+protected  voidreInitialize() + +
+          Resets the controller (called after execution of last child of controller): + + resetCurrent() (i.e. current=0) + increment iteration count + sets first=true + recoverRunningVersion() to set the controller back to the initial state +
+protected  voidresetLoopCount() + +
+           
+ voidsetRuntime(long seconds) + +
+           
+ voidsetRuntime(String seconds) + +
+           
+ voidtriggerEndOfLoop() + +
+          Trigger end of loop condition on controller (used by Start Next Loop feature)
+ + + + + + + +
Methods inherited from class org.apache.jmeter.control.GenericController
addIterationListener, addTestElement, addTestElementOnce, currentReturnedNull, fireIterationStart, fireIterEvents, getCurrentElement, getSubControllers, incrementCurrent, incrementIterCount, initialize, initializeSubControllers, isFirst, nextIsAController, nextIsASampler, readResolve, reInitializeSubController, removeCurrentElement, removeIterationListener, resetCurrent, resetIterCount, setCurrentElement, setDone, setFirst
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.testelement.TestElement
canRemove, clear, clearTestElementChildren, clone, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+RunTime

+
+public RunTime()
+
+
+ + + + + + + + +
+Method Detail
+ +

+setRuntime

+
+public void setRuntime(long seconds)
+
+
+
+
+
+
+
+
+
+ +

+setRuntime

+
+public void setRuntime(String seconds)
+
+
+
+
+
+
+
+
+
+ +

+getRuntime

+
+public long getRuntime()
+
+
+
+
+
+
+
+
+
+ +

+getRuntimeString

+
+public String getRuntimeString()
+
+
+
+
+
+
+
+
+
+ +

+isDone

+
+public boolean isDone()
+
+
Indicates whether the Controller is done delivering Samplers for the rest + of the test. + + When the top-level controller returns true to JMeterThread, + the thread is complete. +

+

+
Specified by:
isDone in interface Controller
Overrides:
isDone in class GenericController
+
+
+ +
Returns:
boolean
See Also:
Controller.isDone()
+
+
+
+ +

+next

+
+public Sampler next()
+
+
Description copied from class: GenericController
+

+ Determines the next sampler to be processed. +

+ +

+ If GenericController.isDone() is true, returns null. +

+ +

+ Gets the list element using current pointer. + If this is null, calls GenericController.nextIsNull(). +

+ +

+ If the list element is a Sampler, calls GenericController.nextIsASampler(Sampler), + otherwise calls GenericController.nextIsAController(Controller) +

+ +

+ If any of the called methods throws NextIsNullException, returns null, + otherwise the value obtained above is returned. +

+

+

+
Specified by:
next in interface Controller
Overrides:
next in class GenericController
+
+
+ +
Returns:
the next sampler or null
+
+
+
+ +

+nextIsNull

+
+protected Sampler nextIsNull()
+                      throws NextIsNullException
+
+
Called by GenericController.next() when GenericController.getCurrentElement() returns null. + Reinitialises the controller. +

+

+
Overrides:
nextIsNull in class GenericController
+
+
+ +
Returns:
null (always, for this class) +
Throws: +
NextIsNullException - when the end of the list has already been reached
+
+
+
+ +

+incrementLoopCount

+
+protected void incrementLoopCount()
+
+
+
+
+
+
+
+
+
+ +

+resetLoopCount

+
+protected void resetLoopCount()
+
+
+
+
+
+
+
+
+
+ +

+getIterCount

+
+protected int getIterCount()
+
+
+
Overrides:
getIterCount in class GenericController
+
+
+
+
+
+
+ +

+reInitialize

+
+protected void reInitialize()
+
+
Description copied from class: GenericController
+
Resets the controller (called after execution of last child of controller): +
    +
  • resetCurrent() (i.e. current=0)
  • +
  • increment iteration count
  • +
  • sets first=true
  • +
  • recoverRunningVersion() to set the controller back to the initial state
  • +
+

+

+
Overrides:
reInitialize in class GenericController
+
+
+
+
+
+
+ +

+triggerEndOfLoop

+
+public void triggerEndOfLoop()
+
+
Trigger end of loop condition on controller (used by Start Next Loop feature) +

+

+
Specified by:
triggerEndOfLoop in interface Controller
Overrides:
triggerEndOfLoop in class GenericController
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/control/SwitchController.html b/docs/api/org/apache/jmeter/control/SwitchController.html new file mode 100644 index 00000000000..5d36355a004 --- /dev/null +++ b/docs/api/org/apache/jmeter/control/SwitchController.html @@ -0,0 +1,435 @@ + + + + + +SwitchController (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.control +
+Class SwitchController

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.control.GenericController
+          extended by org.apache.jmeter.control.SwitchController
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Controller, Searchable, TestElement, TestCompilerHelper
+
+
+
+
public class SwitchController
extends GenericController
implements Serializable
+ + +

+

+ Implements a controller which selects at most one of its children + based on the condition value, which may be a number or a string. +

+

+ For numeric input, the controller processes the appropriate child, + where the numbering starts from 0. + If the number is out of range, then the first (0th) child is selected. + If the condition is the empty string, then it is assumed to be 0. +

+

+ For non-empty non-numeric input, the child is selected by name. + This may be the name of the controller or a sampler. + If the string does not match any of the names, then the controller + with the name "default" (any case) is processed. + If there is no default entry, then unlike the numeric case, + no child is selected. +

+

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.control.GenericController
current, subControllersAndSamplers
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
SwitchController() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetSelection() + +
+           
+protected  voidincrementCurrent() + +
+          incrementCurrent is called when the current child (whether sampler or controller) + has been processed.
+ Samplernext() + +
+           + Determines the next sampler to be processed.
+ voidsetSelection(String inputValue) + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.control.GenericController
addIterationListener, addTestElement, addTestElementOnce, currentReturnedNull, fireIterationStart, fireIterEvents, getCurrentElement, getIterCount, getSubControllers, incrementIterCount, initialize, initializeSubControllers, isDone, isFirst, nextIsAController, nextIsASampler, nextIsNull, readResolve, reInitialize, reInitializeSubController, removeCurrentElement, removeIterationListener, resetCurrent, resetIterCount, setCurrentElement, setDone, setFirst, triggerEndOfLoop
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.testelement.TestElement
canRemove, clear, clearTestElementChildren, clone, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SwitchController

+
+public SwitchController()
+
+
+ + + + + + + + +
+Method Detail
+ +

+next

+
+public Sampler next()
+
+
Description copied from class: GenericController
+

+ Determines the next sampler to be processed. +

+ +

+ If GenericController.isDone() is true, returns null. +

+ +

+ Gets the list element using current pointer. + If this is null, calls GenericController.nextIsNull(). +

+ +

+ If the list element is a Sampler, calls GenericController.nextIsASampler(Sampler), + otherwise calls GenericController.nextIsAController(Controller) +

+ +

+ If any of the called methods throws NextIsNullException, returns null, + otherwise the value obtained above is returned. +

+

+

+
Specified by:
next in interface Controller
Overrides:
next in class GenericController
+
+
+ +
Returns:
the next sampler or null
+
+
+
+ +

+incrementCurrent

+
+protected void incrementCurrent()
+
+
incrementCurrent is called when the current child (whether sampler or controller) + has been processed. +

+ Setting it to int.max marks the controller as having processed all its + children. Thus the controller processes one child per iteration. +

+ Increments the current pointer; called by currentReturnedNull to move the + controller on to its next child. +

+

+
Overrides:
incrementCurrent in class GenericController
+
+
+
+
+
+
+ +

+setSelection

+
+public void setSelection(String inputValue)
+
+
+
+
+
+
+
+
+
+ +

+getSelection

+
+public String getSelection()
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/control/TestFragmentController.html b/docs/api/org/apache/jmeter/control/TestFragmentController.html new file mode 100644 index 00000000000..16c46922e1a --- /dev/null +++ b/docs/api/org/apache/jmeter/control/TestFragmentController.html @@ -0,0 +1,281 @@ + + + + + +TestFragmentController (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.control +
+Class TestFragmentController

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.control.GenericController
+          extended by org.apache.jmeter.control.TestFragmentController
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Controller, Searchable, TestElement, TestCompilerHelper
+
+
+
+
public class TestFragmentController
extends GenericController
implements Serializable
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.control.GenericController
current, subControllersAndSamplers
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
TestFragmentController() + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class org.apache.jmeter.control.GenericController
addIterationListener, addTestElement, addTestElementOnce, currentReturnedNull, fireIterationStart, fireIterEvents, getCurrentElement, getIterCount, getSubControllers, incrementCurrent, incrementIterCount, initialize, initializeSubControllers, isDone, isFirst, next, nextIsAController, nextIsASampler, nextIsNull, readResolve, reInitialize, reInitializeSubController, removeCurrentElement, removeIterationListener, resetCurrent, resetIterCount, setCurrentElement, setDone, setFirst, triggerEndOfLoop
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.testelement.TestElement
canRemove, clear, clearTestElementChildren, clone, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+TestFragmentController

+
+public TestFragmentController()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/control/ThroughputController.html b/docs/api/org/apache/jmeter/control/ThroughputController.html new file mode 100644 index 00000000000..6e9540661e1 --- /dev/null +++ b/docs/api/org/apache/jmeter/control/ThroughputController.html @@ -0,0 +1,907 @@ + + + + + +ThroughputController (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.control +
+Class ThroughputController

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.control.GenericController
+          extended by org.apache.jmeter.control.ThroughputController
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Controller, LoopIterationListener, Searchable, TestElement, TestStateListener, TestCompilerHelper
+
+
+
+
public class ThroughputController
extends GenericController
implements Serializable, LoopIterationListener, TestStateListener
+ + +

+This class represents a controller that can control the number of times that + it is executed, either by the total number of times the user wants the + controller executed (BYNUMBER) or by the percentage of time it is called + (BYPERCENT) + + The current implementation executes the first N samples (BYNUMBER) + or the last N% of samples (BYPERCENT). +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + +
+Field Summary
+static intBYNUMBER + +
+           
+static intBYPERCENT + +
+           
+ + + + + + + +
Fields inherited from class org.apache.jmeter.control.GenericController
current, subControllersAndSamplers
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
ThroughputController() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Objectclone() + +
+           
+ StringgetMaxThroughput() + +
+           
+protected  intgetMaxThroughputAsInt() + +
+           
+ StringgetPercentThroughput() + +
+           
+protected  floatgetPercentThroughputAsFloat() + +
+           
+ intgetStyle() + +
+           
+ booleanisDone() + +
+          Indicates whether the Controller is done delivering Samplers for the rest + of the test.
+ booleanisPerThread() + +
+           
+ voiditerationStart(LoopIterationEvent iterEvent) + +
+          Called when a loop iteration is about to start.
+ Samplernext() + +
+           + Determines the next sampler to be processed.
+protected  ObjectreadResolve() + +
+           
+ voidsetMaxThroughput(int maxThroughput) + +
+           
+ voidsetMaxThroughput(String maxThroughput) + +
+           
+ voidsetPercentThroughput(float percentThroughput) + +
+           
+ voidsetPercentThroughput(String percentThroughput) + +
+           
+ voidsetPerThread(boolean perThread) + +
+           
+ voidsetStyle(int style) + +
+           
+ voidtestEnded() + +
+           + Called once for all threads after the end of a test.
+ voidtestEnded(String host) + +
+           + Called once for all threads after the end of a test.
+ voidtestStarted() + +
+           + Called just before the start of the test from the main engine thread.
+ voidtestStarted(String host) + +
+           + Called just before the start of the test from the main engine thread.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.control.GenericController
addIterationListener, addTestElement, addTestElementOnce, currentReturnedNull, fireIterationStart, fireIterEvents, getCurrentElement, getIterCount, getSubControllers, incrementCurrent, incrementIterCount, initialize, initializeSubControllers, isFirst, nextIsAController, nextIsASampler, nextIsNull, reInitialize, reInitializeSubController, removeCurrentElement, removeIterationListener, resetCurrent, resetIterCount, setCurrentElement, setDone, setFirst, triggerEndOfLoop
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, canRemove, clear, clearTemporary, clearTestElementChildren, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.testelement.TestElement
canRemove, clear, clearTestElementChildren, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse
+  +

+ + + + + + + + +
+Field Detail
+ +

+BYNUMBER

+
+public static final int BYNUMBER
+
+
+
See Also:
Constant Field Values
+
+
+ +

+BYPERCENT

+
+public static final int BYPERCENT
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+ThroughputController

+
+public ThroughputController()
+
+
+ + + + + + + + +
+Method Detail
+ +

+setStyle

+
+public void setStyle(int style)
+
+
+
+
+
+
+
+
+
+ +

+getStyle

+
+public int getStyle()
+
+
+
+
+
+
+
+
+
+ +

+setPerThread

+
+public void setPerThread(boolean perThread)
+
+
+
+
+
+
+
+
+
+ +

+isPerThread

+
+public boolean isPerThread()
+
+
+
+
+
+
+
+
+
+ +

+setMaxThroughput

+
+public void setMaxThroughput(int maxThroughput)
+
+
+
+
+
+
+
+
+
+ +

+setMaxThroughput

+
+public void setMaxThroughput(String maxThroughput)
+
+
+
+
+
+
+
+
+
+ +

+getMaxThroughput

+
+public String getMaxThroughput()
+
+
+
+
+
+
+
+
+
+ +

+getMaxThroughputAsInt

+
+protected int getMaxThroughputAsInt()
+
+
+
+
+
+
+
+
+
+ +

+setPercentThroughput

+
+public void setPercentThroughput(float percentThroughput)
+
+
+
+
+
+
+
+
+
+ +

+setPercentThroughput

+
+public void setPercentThroughput(String percentThroughput)
+
+
+
+
+
+
+
+
+
+ +

+getPercentThroughput

+
+public String getPercentThroughput()
+
+
+
+
+
+
+
+
+
+ +

+getPercentThroughputAsFloat

+
+protected float getPercentThroughputAsFloat()
+
+
+
+
+
+
+
+
+
+ +

+next

+
+public Sampler next()
+
+
Description copied from class: GenericController
+

+ Determines the next sampler to be processed. +

+ +

+ If GenericController.isDone() is true, returns null. +

+ +

+ Gets the list element using current pointer. + If this is null, calls GenericController.nextIsNull(). +

+ +

+ If the list element is a Sampler, calls GenericController.nextIsASampler(Sampler), + otherwise calls GenericController.nextIsAController(Controller) +

+ +

+ If any of the called methods throws NextIsNullException, returns null, + otherwise the value obtained above is returned. +

+

+

+
Specified by:
next in interface Controller
Overrides:
next in class GenericController
+
+
+ +
Returns:
the next sampler or null
See Also:
Controller.next()
+
+
+
+ +

+isDone

+
+public boolean isDone()
+
+
Description copied from interface: Controller
+
Indicates whether the Controller is done delivering Samplers for the rest + of the test. + + When the top-level controller returns true to JMeterThread, + the thread is complete. +

+

+
Specified by:
isDone in interface Controller
Overrides:
isDone in class GenericController
+
+
+ +
Returns:
boolean
See Also:
Controller.isDone()
+
+
+
+ +

+clone

+
+public Object clone()
+
+
+
Specified by:
clone in interface TestElement
Overrides:
clone in class AbstractTestElement
+
+
+
+
+
+
+ +

+iterationStart

+
+public void iterationStart(LoopIterationEvent iterEvent)
+
+
Description copied from interface: LoopIterationListener
+
Called when a loop iteration is about to start. +

+

+
Specified by:
iterationStart in interface LoopIterationListener
+
+
+
Parameters:
iterEvent - the event
+
+
+
+ +

+testStarted

+
+public void testStarted()
+
+
Description copied from interface: TestStateListener
+

+ Called just before the start of the test from the main engine thread. + + This is before the test elements are cloned. + + Note that not all the test + variables will have been set up at this point. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testStarted in interface TestStateListener
+
+
+
See Also:
StandardJMeterEngine.run()
+
+
+
+ +

+testStarted

+
+public void testStarted(String host)
+
+
Description copied from interface: TestStateListener
+

+ Called just before the start of the test from the main engine thread. + + This is before the test elements are cloned. + + Note that not all the test + variables will have been set up at this point. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testStarted in interface TestStateListener
+
+
+
Parameters:
host - name of host
See Also:
StandardJMeterEngine.run()
+
+
+
+ +

+testEnded

+
+public void testEnded()
+
+
Description copied from interface: TestStateListener
+

+ Called once for all threads after the end of a test. + + This will use the same element instances as at the start of the test. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testEnded in interface TestStateListener
+
+
+
See Also:
StandardJMeterEngine.stopTest()
+
+
+
+ +

+testEnded

+
+public void testEnded(String host)
+
+
Description copied from interface: TestStateListener
+

+ Called once for all threads after the end of a test. + + This will use the same element instances as at the start of the test. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testEnded in interface TestStateListener
+
+
+
Parameters:
host - name of host
See Also:
StandardJMeterEngine.stopTest()
+
+
+
+ +

+readResolve

+
+protected Object readResolve()
+
+
+
Overrides:
readResolve in class GenericController
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/control/TransactionController.html b/docs/api/org/apache/jmeter/control/TransactionController.html new file mode 100644 index 00000000000..10f79e57704 --- /dev/null +++ b/docs/api/org/apache/jmeter/control/TransactionController.html @@ -0,0 +1,628 @@ + + + + + +TransactionController (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.control +
+Class TransactionController

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.control.GenericController
+          extended by org.apache.jmeter.control.TransactionController
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Controller, Searchable, SampleListener, TestElement, TestCompilerHelper
+
+
+
+
public class TransactionController
extends GenericController
implements SampleListener, Controller, Serializable
+ + +

+Transaction Controller to measure transaction times + + There are two different modes for the controller: + - generate additional total sample after nested samples (as in JMeter 2.2) + - generate parent sampler containing the nested samples +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.control.GenericController
current, subControllersAndSamplers
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
TransactionController() + +
+          Creates a Transaction Controller
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleanisIncludeTimers() + +
+          Whether to include timer and pre/post processor time in overall sample.
+ booleanisParent() + +
+           
+ Samplernext() + +
+           + Determines the next sampler to be processed.
+protected  SamplernextIsAController(Controller controller) + +
+          Called by GenericController.next() if the element is a Controller, and returns the + next sampler from the controller.
+protected  voidnotifyListeners() + +
+          Create additional SampleEvent in NON Parent Mode
+protected  ObjectreadResolve() + +
+           
+ voidsampleOccurred(SampleEvent se) + +
+          A sample has started and stopped.
+ voidsampleStarted(SampleEvent e) + +
+          A sample has started.
+ voidsampleStopped(SampleEvent e) + +
+          A sample has stopped.
+ voidsetIncludeTimers(boolean includeTimers) + +
+          Whether to include timers and pre/post processor time in overall sample.
+ voidsetParent(boolean _parent) + +
+           
+ voidtriggerEndOfLoop() + +
+          Trigger end of loop condition on controller (used by Start Next Loop feature)
+ + + + + + + +
Methods inherited from class org.apache.jmeter.control.GenericController
addIterationListener, addTestElement, addTestElementOnce, currentReturnedNull, fireIterationStart, fireIterEvents, getCurrentElement, getIterCount, getSubControllers, incrementCurrent, incrementIterCount, initialize, initializeSubControllers, isDone, isFirst, nextIsASampler, nextIsNull, reInitialize, reInitializeSubController, removeCurrentElement, removeIterationListener, resetCurrent, resetIterCount, setCurrentElement, setDone, setFirst
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.control.Controller
addIterationListener, initialize, isDone, removeIterationListener
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.testelement.TestElement
addTestElement, canRemove, clear, clearTestElementChildren, clone, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+TransactionController

+
+public TransactionController()
+
+
Creates a Transaction Controller +

+

+ + + + + + + + +
+Method Detail
+ +

+readResolve

+
+protected Object readResolve()
+
+
+
Overrides:
readResolve in class GenericController
+
+
+
+
+
+
+ +

+setParent

+
+public void setParent(boolean _parent)
+
+
+
+
+
+
+
+
+
+ +

+isParent

+
+public boolean isParent()
+
+
+
+
+
+
+
+
+
+ +

+next

+
+public Sampler next()
+
+
Description copied from class: GenericController
+

+ Determines the next sampler to be processed. +

+ +

+ If GenericController.isDone() is true, returns null. +

+ +

+ Gets the list element using current pointer. + If this is null, calls GenericController.nextIsNull(). +

+ +

+ If the list element is a Sampler, calls GenericController.nextIsASampler(Sampler), + otherwise calls GenericController.nextIsAController(Controller) +

+ +

+ If any of the called methods throws NextIsNullException, returns null, + otherwise the value obtained above is returned. +

+

+

+
Specified by:
next in interface Controller
Overrides:
next in class GenericController
+
+
+ +
Returns:
the next sampler or null
See Also:
Controller.next()
+
+
+
+ +

+nextIsAController

+
+protected Sampler nextIsAController(Controller controller)
+                             throws NextIsNullException
+
+
Description copied from class: GenericController
+
Called by GenericController.next() if the element is a Controller, and returns the + next sampler from the controller. If this is null, then + updates the current pointer and makes recursive call to GenericController.next(). +

+

+
Overrides:
nextIsAController in class GenericController
+
+
+
Parameters:
controller - the current next element +
Returns:
the next sampler +
Throws: +
NextIsNullException - when the end of the list has already been reached
+
+
+
+ +

+triggerEndOfLoop

+
+public void triggerEndOfLoop()
+
+
Description copied from class: GenericController
+
Trigger end of loop condition on controller (used by Start Next Loop feature) +

+

+
Specified by:
triggerEndOfLoop in interface Controller
Overrides:
triggerEndOfLoop in class GenericController
+
+
+
See Also:
GenericController.triggerEndOfLoop()
+
+
+
+ +

+notifyListeners

+
+protected void notifyListeners()
+
+
Create additional SampleEvent in NON Parent Mode +

+

+
+
+
+
+
+
+
+ +

+sampleOccurred

+
+public void sampleOccurred(SampleEvent se)
+
+
Description copied from interface: SampleListener
+
A sample has started and stopped. +

+

+
Specified by:
sampleOccurred in interface SampleListener
+
+
+
Parameters:
se - the SampleEvent that has occurred
+
+
+
+ +

+sampleStarted

+
+public void sampleStarted(SampleEvent e)
+
+
Description copied from interface: SampleListener
+
A sample has started. +

+

+
Specified by:
sampleStarted in interface SampleListener
+
+
+
Parameters:
e - the SampleEvent that has started
+
+
+
+ +

+sampleStopped

+
+public void sampleStopped(SampleEvent e)
+
+
Description copied from interface: SampleListener
+
A sample has stopped. +

+

+
Specified by:
sampleStopped in interface SampleListener
+
+
+
Parameters:
e - the SampleEvent that has stopped
+
+
+
+ +

+setIncludeTimers

+
+public void setIncludeTimers(boolean includeTimers)
+
+
Whether to include timers and pre/post processor time in overall sample. +

+

+
+
+
+
Parameters:
includeTimers - Flag whether timers and pre/post processor should be included in overall sample
+
+
+
+ +

+isIncludeTimers

+
+public boolean isIncludeTimers()
+
+
Whether to include timer and pre/post processor time in overall sample. +

+

+
+
+
+ +
Returns:
boolean (defaults to true for backwards compatibility)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/control/TransactionSampler.html b/docs/api/org/apache/jmeter/control/TransactionSampler.html new file mode 100644 index 00000000000..bfb3b58e6df --- /dev/null +++ b/docs/api/org/apache/jmeter/control/TransactionSampler.html @@ -0,0 +1,477 @@ + + + + + +TransactionSampler (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.control +
+Class TransactionSampler

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.samplers.AbstractSampler
+          extended by org.apache.jmeter.control.TransactionSampler
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, ConfigMergabilityIndicator, Searchable, Sampler, TestElement
+
+
+
+
public class TransactionSampler
extends AbstractSampler
+ + +

+Transaction Sampler class to measure transaction times + (not exposed a a GUI class, as it is only used internally by TransactionController in Generate Parent sample mode) +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + + + + +
+Constructor Summary
TransactionSampler() + +
+          Deprecated. only for use by test code
TransactionSampler(TransactionController controller, + String name) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddSubSamplerResult(SampleResult res) + +
+           
+ booleanapplies(ConfigTestElement configElement) + +
+          Does configElement apply to Sampler
+ SamplergetSubSampler() + +
+           
+ TransactionControllergetTransactionController() + +
+           
+ SampleResultgetTransactionResult() + +
+           
+ booleanisTransactionDone() + +
+           
+ SampleResultsample(Entry e) + +
+          One cannot sample the TransactionSampler directly.
+protected  voidsetSubSampler(Sampler subSampler) + +
+           
+protected  voidsetTransactionDone() + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.testelement.TestElement
addTestElement, canRemove, clear, clearTestElementChildren, clone, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+TransactionSampler

+
+@Deprecated
+public TransactionSampler()
+
+
Deprecated. only for use by test code +

+

+
+ +

+TransactionSampler

+
+public TransactionSampler(TransactionController controller,
+                          String name)
+
+
+ + + + + + + + +
+Method Detail
+ +

+sample

+
+public SampleResult sample(Entry e)
+
+
One cannot sample the TransactionSampler directly. +

+

+
Parameters:
e - the Entry (TODO seems to be unused) +
Returns:
information about the sample
+
+
+
+ +

+getSubSampler

+
+public Sampler getSubSampler()
+
+
+
+
+
+
+ +

+getTransactionResult

+
+public SampleResult getTransactionResult()
+
+
+
+
+
+
+ +

+getTransactionController

+
+public TransactionController getTransactionController()
+
+
+
+
+
+
+ +

+isTransactionDone

+
+public boolean isTransactionDone()
+
+
+
+
+
+
+ +

+addSubSamplerResult

+
+public void addSubSamplerResult(SampleResult res)
+
+
+
+
+
+
+ +

+setTransactionDone

+
+protected void setTransactionDone()
+
+
+
+
+
+
+ +

+setSubSampler

+
+protected void setSubSampler(Sampler subSampler)
+
+
+
+
+
+
+ +

+applies

+
+public boolean applies(ConfigTestElement configElement)
+
+
Description copied from class: AbstractSampler
+
Does configElement apply to Sampler +

+

+
Specified by:
applies in interface ConfigMergabilityIndicator
Overrides:
applies in class AbstractSampler
+
+
+
Parameters:
configElement - ConfigTestElement +
Returns:
boolean
See Also:
AbstractSampler.applies(org.apache.jmeter.config.ConfigTestElement)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/control/WhileController.html b/docs/api/org/apache/jmeter/control/WhileController.html new file mode 100644 index 00000000000..21ace658caa --- /dev/null +++ b/docs/api/org/apache/jmeter/control/WhileController.html @@ -0,0 +1,440 @@ + + + + + +WhileController (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.control +
+Class WhileController

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.control.GenericController
+          extended by org.apache.jmeter.control.WhileController
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Controller, Searchable, TestElement, TestCompilerHelper
+
+
+
+
public class WhileController
extends GenericController
implements Serializable
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.control.GenericController
current, subControllersAndSamplers
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
WhileController() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetCondition() + +
+           
+ Samplernext() + +
+          This skips controller entirely if the condition is false on first entry.
+protected  SamplernextIsNull() + +
+          Only called at End of Loop + + Called by GenericController.next() when GenericController.getCurrentElement() returns null.
+ voidsetCondition(String string) + +
+           
+ voidtriggerEndOfLoop() + +
+          Trigger end of loop condition on controller (used by Start Next Loop feature)
+ + + + + + + +
Methods inherited from class org.apache.jmeter.control.GenericController
addIterationListener, addTestElement, addTestElementOnce, currentReturnedNull, fireIterationStart, fireIterEvents, getCurrentElement, getIterCount, getSubControllers, incrementCurrent, incrementIterCount, initialize, initializeSubControllers, isDone, isFirst, nextIsAController, nextIsASampler, readResolve, reInitialize, reInitializeSubController, removeCurrentElement, removeIterationListener, resetCurrent, resetIterCount, setCurrentElement, setDone, setFirst
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.testelement.TestElement
canRemove, clear, clearTestElementChildren, clone, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+WhileController

+
+public WhileController()
+
+
+ + + + + + + + +
+Method Detail
+ +

+nextIsNull

+
+protected Sampler nextIsNull()
+                      throws NextIsNullException
+
+
Only called at End of Loop +

+ Called by GenericController.next() when GenericController.getCurrentElement() returns null. + Reinitialises the controller. +

+

+
Overrides:
nextIsNull in class GenericController
+
+
+ +
Returns:
null (always, for this class) +
Throws: +
NextIsNullException - when the end of the list has already been reached
+
+
+
+ +

+triggerEndOfLoop

+
+public void triggerEndOfLoop()
+
+
Trigger end of loop condition on controller (used by Start Next Loop feature) +

+

+
Specified by:
triggerEndOfLoop in interface Controller
Overrides:
triggerEndOfLoop in class GenericController
+
+
+
+
+
+
+ +

+next

+
+public Sampler next()
+
+
This skips controller entirely if the condition is false on first entry. +

+

+ Determines the next sampler to be processed. +

+ +

+ If GenericController.isDone() is true, returns null. +

+ +

+ Gets the list element using current pointer. + If this is null, calls GenericController.nextIsNull(). +

+ +

+ If the list element is a Sampler, calls GenericController.nextIsASampler(Sampler), + otherwise calls GenericController.nextIsAController(Controller) +

+ +

+ If any of the called methods throws NextIsNullException, returns null, + otherwise the value obtained above is returned. +

+

+

+
Specified by:
next in interface Controller
Overrides:
next in class GenericController
+
+
+ +
Returns:
the next sampler or null
+
+
+
+ +

+setCondition

+
+public void setCondition(String string)
+
+
+
+
+
+
Parameters:
string - the condition to save
+
+
+
+ +

+getCondition

+
+public String getCondition()
+
+
+
+
+
+ +
Returns:
the condition
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/control/gui/AbstractControllerGui.html b/docs/api/org/apache/jmeter/control/gui/AbstractControllerGui.html new file mode 100644 index 00000000000..cfb653251ab --- /dev/null +++ b/docs/api/org/apache/jmeter/control/gui/AbstractControllerGui.html @@ -0,0 +1,452 @@ + + + + + +AbstractControllerGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.control.gui +
+Class AbstractControllerGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.control.gui.AbstractControllerGui
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
Direct Known Subclasses:
CriticalSectionControllerGui, ForeachControlPanel, IfControllerPanel, IncludeControllerGui, InterleaveControlGui, LogicControllerGui, LoopControlPanel, ModuleControllerGui, OnceOnlyControllerGui, RandomControlGui, RunTimeGui, SwitchControllerGui, TestFragmentControllerGui, ThroughputControllerGui, TransactionControllerGui, WhileControllerGui
+
+
+
+
public abstract class AbstractControllerGui
extends AbstractJMeterGuiComponent
+ + +

+This is the base class for JMeter GUI components which manage controllers. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
AbstractControllerGui() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ JPopupMenucreatePopupMenu() + +
+          When a user right-clicks on the component in the test tree, or selects + the edit menu when the component is selected, the component will be asked + to return a JPopupMenu that provides all the options available to the + user from this component.
+ Collection<String>getMenuCategories() + +
+          This is the list of menu categories this gui component will be available + under.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
clearGui, configure, configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.gui.JMeterGUIComponent
createTestElement, getLabelResource, modifyTestElement
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+AbstractControllerGui

+
+public AbstractControllerGui()
+
+
+ + + + + + + + +
+Method Detail
+ +

+createPopupMenu

+
+public JPopupMenu createPopupMenu()
+
+
When a user right-clicks on the component in the test tree, or selects + the edit menu when the component is selected, the component will be asked + to return a JPopupMenu that provides all the options available to the + user from this component. +

+ This implementation returns menu items appropriate for most controller + components. +

+

+ +
Returns:
a JPopupMenu appropriate for the component.
+
+
+
+ +

+getMenuCategories

+
+public Collection<String> getMenuCategories()
+
+
This is the list of menu categories this gui component will be available + under. This implementation returns + MenuFactory.CONTROLLERS, which is + appropriate for most controller components. +

+

+ +
Returns:
a Collection of Strings, where each element is one of the + constants defined in MenuFactory
See Also:
MenuFactory
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/control/gui/CriticalSectionControllerGui.html b/docs/api/org/apache/jmeter/control/gui/CriticalSectionControllerGui.html new file mode 100644 index 00000000000..98592f42844 --- /dev/null +++ b/docs/api/org/apache/jmeter/control/gui/CriticalSectionControllerGui.html @@ -0,0 +1,546 @@ + + + + + +CriticalSectionControllerGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.control.gui +
+Class CriticalSectionControllerGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.control.gui.AbstractControllerGui
+                          extended by org.apache.jmeter.control.gui.CriticalSectionControllerGui
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
+
public class CriticalSectionControllerGui
extends AbstractControllerGui
+ + +

+The user interface for a controller which specifies that its subcomponents + should be executed while a condition holds. This component can be used + standalone or embedded into some other component. +

+ +

+

+
Since:
+
2.12
+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + + + + +
+Constructor Summary
CriticalSectionControllerGui() + +
+          Create a new CriticalSection Panel as a standalone component.
CriticalSectionControllerGui(boolean displayName) + +
+          Create a new CriticalSectionPanel as either a standalone or an embedded + component.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclearGui() + +
+          Implements JMeterGUIComponent.clearGui
+ voidconfigure(TestElement element) + +
+          A newly created component can be initialized with the contents of a Test + Element object by calling this method.
+ TestElementcreateTestElement() + +
+          Implements JMeterGUIComponent.createTestElement()
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ voidmodifyTestElement(TestElement controller) + +
+          Implements JMeterGUIComponent.modifyTestElement(TestElement)
+ + + + + + + +
Methods inherited from class org.apache.jmeter.control.gui.AbstractControllerGui
createPopupMenu, getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+CriticalSectionControllerGui

+
+public CriticalSectionControllerGui()
+
+
Create a new CriticalSection Panel as a standalone component. +

+

+
+ +

+CriticalSectionControllerGui

+
+public CriticalSectionControllerGui(boolean displayName)
+
+
Create a new CriticalSectionPanel as either a standalone or an embedded + component. +

+

+
Parameters:
displayName - indicates whether or not this component should display its + name. If true, this is a standalone component. If false, this + component is intended to be used as a subpanel for another + component.
+
+ + + + + + + + +
+Method Detail
+ +

+configure

+
+public void configure(TestElement element)
+
+
A newly created component can be initialized with the contents of a Test + Element object by calling this method. The component is responsible for + querying the Test Element object for the relevant information to display + in its GUI. +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class AbstractJMeterGuiComponent
+
+
+
Parameters:
element - the TestElement to configure
+
+
+
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
Implements JMeterGUIComponent.createTestElement() +

+

+ +
Returns:
the Test Element object that the GUI component represents.
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement controller)
+
+
Implements JMeterGUIComponent.modifyTestElement(TestElement) +

+

+
Parameters:
controller - the TestElement to modify
+
+
+
+ +

+clearGui

+
+public void clearGui()
+
+
Implements JMeterGUIComponent.clearGui +

+

+
Specified by:
clearGui in interface ClearGui
Overrides:
clearGui in class AbstractJMeterGuiComponent
+
+
+
+
+
+
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+ +
Returns:
the resource name
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/control/gui/ForeachControlPanel.html b/docs/api/org/apache/jmeter/control/gui/ForeachControlPanel.html new file mode 100644 index 00000000000..26fc0f3eec3 --- /dev/null +++ b/docs/api/org/apache/jmeter/control/gui/ForeachControlPanel.html @@ -0,0 +1,556 @@ + + + + + +ForeachControlPanel (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.control.gui +
+Class ForeachControlPanel

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.control.gui.AbstractControllerGui
+                          extended by org.apache.jmeter.control.gui.ForeachControlPanel
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
+
public class ForeachControlPanel
extends AbstractControllerGui
+ + +

+The user interface for a foreach controller which specifies that its + subcomponents should be executed some number of times in a loop. This + component can be used standalone or embedded into some other component. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + + + + +
+Constructor Summary
ForeachControlPanel() + +
+          Create a new LoopControlPanel as a standalone component.
ForeachControlPanel(boolean displayName) + +
+          Create a new LoopControlPanel as either a standalone or an embedded + component.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclearGui() + +
+          Implements JMeterGUIComponent.clearGui
+ voidconfigure(TestElement element) + +
+          A newly created component can be initialized with the contents of a Test + Element object by calling this method.
+ TestElementcreateTestElement() + +
+          JMeter test components are separated into a model and a GUI + representation.
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ voidmodifyTestElement(TestElement lc) + +
+          GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.control.gui.AbstractControllerGui
createPopupMenu, getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ForeachControlPanel

+
+public ForeachControlPanel()
+
+
Create a new LoopControlPanel as a standalone component. +

+

+
+ +

+ForeachControlPanel

+
+public ForeachControlPanel(boolean displayName)
+
+
Create a new LoopControlPanel as either a standalone or an embedded + component. +

+

+
Parameters:
displayName - indicates whether or not this component should display its + name. If true, this is a standalone component. If false, this + component is intended to be used as a subpanel for another + component.
+
+ + + + + + + + +
+Method Detail
+ +

+configure

+
+public void configure(TestElement element)
+
+
A newly created component can be initialized with the contents of a Test + Element object by calling this method. The component is responsible for + querying the Test Element object for the relevant information to display + in its GUI. +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class AbstractJMeterGuiComponent
+
+
+
Parameters:
element - the TestElement to configure
+
+
+
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
Description copied from interface: JMeterGUIComponent
+
JMeter test components are separated into a model and a GUI + representation. The model holds the data and the GUI displays it. The GUI + class is responsible for knowing how to create and initialize with data + the model class that it knows how to display, and this method is called + when new test elements are created. +

+

+ +
Returns:
the Test Element object that the GUI component represents.
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement lc)
+
+
Description copied from interface: JMeterGUIComponent
+
GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components. This method should + overwrite whatever data is currently in the TestElement as it is called + after a user has filled out the form elements in the gui with new + information. +

+

+
Parameters:
lc - the TestElement to modify
+
+
+
+ +

+clearGui

+
+public void clearGui()
+
+
Implements JMeterGUIComponent.clearGui +

+

+
Specified by:
clearGui in interface ClearGui
Overrides:
clearGui in class AbstractJMeterGuiComponent
+
+
+
+
+
+
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+ +
Returns:
the resource name
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/control/gui/IfControllerPanel.html b/docs/api/org/apache/jmeter/control/gui/IfControllerPanel.html new file mode 100644 index 00000000000..de137fc66a9 --- /dev/null +++ b/docs/api/org/apache/jmeter/control/gui/IfControllerPanel.html @@ -0,0 +1,544 @@ + + + + + +IfControllerPanel (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.control.gui +
+Class IfControllerPanel

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.control.gui.AbstractControllerGui
+                          extended by org.apache.jmeter.control.gui.IfControllerPanel
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
+
public class IfControllerPanel
extends AbstractControllerGui
+ + +

+The user interface for a controller which specifies that its subcomponents + should be executed while a condition holds. This component can be used + standalone or embedded into some other component. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + + + + +
+Constructor Summary
IfControllerPanel() + +
+          Create a new LoopControlPanel as a standalone component.
IfControllerPanel(boolean displayName) + +
+          Create a new IfControllerPanel as either a standalone or an embedded + component.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclearGui() + +
+          Implements JMeterGUIComponent.clearGui
+ voidconfigure(TestElement element) + +
+          A newly created component can be initialized with the contents of a Test + Element object by calling this method.
+ TestElementcreateTestElement() + +
+          Implements JMeterGUIComponent.createTestElement()
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ voidmodifyTestElement(TestElement controller) + +
+          Implements JMeterGUIComponent.modifyTestElement(TestElement)
+ + + + + + + +
Methods inherited from class org.apache.jmeter.control.gui.AbstractControllerGui
createPopupMenu, getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+IfControllerPanel

+
+public IfControllerPanel()
+
+
Create a new LoopControlPanel as a standalone component. +

+

+
+ +

+IfControllerPanel

+
+public IfControllerPanel(boolean displayName)
+
+
Create a new IfControllerPanel as either a standalone or an embedded + component. +

+

+
Parameters:
displayName - indicates whether or not this component should display its + name. If true, this is a standalone component. If false, this + component is intended to be used as a subpanel for another + component.
+
+ + + + + + + + +
+Method Detail
+ +

+configure

+
+public void configure(TestElement element)
+
+
A newly created component can be initialized with the contents of a Test + Element object by calling this method. The component is responsible for + querying the Test Element object for the relevant information to display + in its GUI. +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class AbstractJMeterGuiComponent
+
+
+
Parameters:
element - the TestElement to configure
+
+
+
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
Implements JMeterGUIComponent.createTestElement() +

+

+ +
Returns:
the Test Element object that the GUI component represents.
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement controller)
+
+
Implements JMeterGUIComponent.modifyTestElement(TestElement) +

+

+
Parameters:
controller - the TestElement to modify
+
+
+
+ +

+clearGui

+
+public void clearGui()
+
+
Implements JMeterGUIComponent.clearGui +

+

+
Specified by:
clearGui in interface ClearGui
Overrides:
clearGui in class AbstractJMeterGuiComponent
+
+
+
+
+
+
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+ +
Returns:
the resource name
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/control/gui/IncludeControllerGui.html b/docs/api/org/apache/jmeter/control/gui/IncludeControllerGui.html new file mode 100644 index 00000000000..aa2caab96cf --- /dev/null +++ b/docs/api/org/apache/jmeter/control/gui/IncludeControllerGui.html @@ -0,0 +1,565 @@ + + + + + +IncludeControllerGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.control.gui +
+Class IncludeControllerGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.control.gui.AbstractControllerGui
+                          extended by org.apache.jmeter.control.gui.IncludeControllerGui
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
+
public class IncludeControllerGui
extends AbstractControllerGui
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
IncludeControllerGui() + +
+          Initializes the gui panel for the ModuleController instance.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclearGui() + +
+          Implements JMeterGUIComponent.clearGui
+ voidconfigure(TestElement el) + +
+          A newly created gui component can be initialized with the contents of a + Test Element object by calling this method.
+ JPopupMenucreatePopupMenu() + +
+          When a user right-clicks on the component in the test tree, or selects + the edit menu when the component is selected, the component will be asked + to return a JPopupMenu that provides all the options available to the + user from this component.
+ TestElementcreateTestElement() + +
+          JMeter test components are separated into a model and a GUI + representation.
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ voidmodifyTestElement(TestElement element) + +
+          GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.control.gui.AbstractControllerGui
getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+IncludeControllerGui

+
+public IncludeControllerGui()
+
+
Initializes the gui panel for the ModuleController instance. +

+

+ + + + + + + + +
+Method Detail
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+ +
Returns:
the resource name
+
+
+
+ +

+configure

+
+public void configure(TestElement el)
+
+
A newly created gui component can be initialized with the contents of a + Test Element object by calling this method. The component is responsible + for querying the Test Element object for the relevant information to + display in its GUI. +

+ AbstractJMeterGuiComponent provides a partial implementation of this + method, setting the name of the component and its enabled status. + Subclasses should override this method, performing their own + configuration as needed, but also calling this super-implementation. +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class AbstractJMeterGuiComponent
+
+
+
Parameters:
el - the TestElement to configure
+
+
+
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
JMeter test components are separated into a model and a GUI + representation. The model holds the data and the GUI displays it. The GUI + class is responsible for knowing how to create and initialize with data + the model class that it knows how to display, and this method is called + when new test elements are created. +

+

+ +
Returns:
the Test Element object that the GUI component represents.
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement element)
+
+
GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components. This method should + overwrite whatever data is currently in the TestElement as it is called + after a user has filled out the form elements in the gui with new + information. +

+

+
Parameters:
element - the TestElement to modify
+
+
+
+ +

+clearGui

+
+public void clearGui()
+
+
Implements JMeterGUIComponent.clearGui +

+

+
Specified by:
clearGui in interface ClearGui
Overrides:
clearGui in class AbstractJMeterGuiComponent
+
+
+
+
+
+
+ +

+createPopupMenu

+
+public JPopupMenu createPopupMenu()
+
+
Description copied from class: AbstractControllerGui
+
When a user right-clicks on the component in the test tree, or selects + the edit menu when the component is selected, the component will be asked + to return a JPopupMenu that provides all the options available to the + user from this component. +

+ This implementation returns menu items appropriate for most controller + components. +

+

+
Specified by:
createPopupMenu in interface JMeterGUIComponent
Overrides:
createPopupMenu in class AbstractControllerGui
+
+
+ +
Returns:
a JPopupMenu appropriate for the component.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/control/gui/InterleaveControlGui.html b/docs/api/org/apache/jmeter/control/gui/InterleaveControlGui.html new file mode 100644 index 00000000000..f1dc275c93e --- /dev/null +++ b/docs/api/org/apache/jmeter/control/gui/InterleaveControlGui.html @@ -0,0 +1,525 @@ + + + + + +InterleaveControlGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.control.gui +
+Class InterleaveControlGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.control.gui.AbstractControllerGui
+                          extended by org.apache.jmeter.control.gui.InterleaveControlGui
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
+
public class InterleaveControlGui
extends AbstractControllerGui
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
InterleaveControlGui() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclearGui() + +
+          Implements JMeterGUIComponent.clearGui
+ voidconfigure(TestElement el) + +
+          A newly created gui component can be initialized with the contents of a + Test Element object by calling this method.
+ TestElementcreateTestElement() + +
+          JMeter test components are separated into a model and a GUI + representation.
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ voidmodifyTestElement(TestElement ic) + +
+          Modifies a given TestElement to mirror the data in the gui components.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.control.gui.AbstractControllerGui
createPopupMenu, getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+InterleaveControlGui

+
+public InterleaveControlGui()
+
+
+ + + + + + + + +
+Method Detail
+ +

+configure

+
+public void configure(TestElement el)
+
+
Description copied from class: AbstractJMeterGuiComponent
+
A newly created gui component can be initialized with the contents of a + Test Element object by calling this method. The component is responsible + for querying the Test Element object for the relevant information to + display in its GUI. +

+ AbstractJMeterGuiComponent provides a partial implementation of this + method, setting the name of the component and its enabled status. + Subclasses should override this method, performing their own + configuration as needed, but also calling this super-implementation. +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class AbstractJMeterGuiComponent
+
+
+
Parameters:
el - the TestElement to configure
+
+
+
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
Description copied from interface: JMeterGUIComponent
+
JMeter test components are separated into a model and a GUI + representation. The model holds the data and the GUI displays it. The GUI + class is responsible for knowing how to create and initialize with data + the model class that it knows how to display, and this method is called + when new test elements are created. +

+

+ +
Returns:
the Test Element object that the GUI component represents.
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement ic)
+
+
Modifies a given TestElement to mirror the data in the gui components. +

+

+
Parameters:
ic - the TestElement to modify
See Also:
JMeterGUIComponent.modifyTestElement(TestElement)
+
+
+
+ +

+clearGui

+
+public void clearGui()
+
+
Implements JMeterGUIComponent.clearGui +

+

+
Specified by:
clearGui in interface ClearGui
Overrides:
clearGui in class AbstractJMeterGuiComponent
+
+
+
+
+
+
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+ +
Returns:
the resource name
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/control/gui/LogicControllerGui.html b/docs/api/org/apache/jmeter/control/gui/LogicControllerGui.html new file mode 100644 index 00000000000..3b88e97946b --- /dev/null +++ b/docs/api/org/apache/jmeter/control/gui/LogicControllerGui.html @@ -0,0 +1,482 @@ + + + + + +LogicControllerGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.control.gui +
+Class LogicControllerGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.control.gui.AbstractControllerGui
+                          extended by org.apache.jmeter.control.gui.LogicControllerGui
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
Direct Known Subclasses:
HttpMirrorControlGui, ProxyControlGui, RandomOrderControllerGui, RecordController
+
+
+
+
public class LogicControllerGui
extends AbstractControllerGui
+ + +

+A generic controller component. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
LogicControllerGui() + +
+          Create a new LogicControllerGui instance.
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ TestElementcreateTestElement() + +
+          JMeter test components are separated into a model and a GUI + representation.
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ voidmodifyTestElement(TestElement el) + +
+          GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.control.gui.AbstractControllerGui
createPopupMenu, getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
clearGui, configure, configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+LogicControllerGui

+
+public LogicControllerGui()
+
+
Create a new LogicControllerGui instance. +

+

+ + + + + + + + +
+Method Detail
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
Description copied from interface: JMeterGUIComponent
+
JMeter test components are separated into a model and a GUI + representation. The model holds the data and the GUI displays it. The GUI + class is responsible for knowing how to create and initialize with data + the model class that it knows how to display, and this method is called + when new test elements are created. +

+

+ +
Returns:
the Test Element object that the GUI component represents.
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement el)
+
+
Description copied from interface: JMeterGUIComponent
+
GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components. This method should + overwrite whatever data is currently in the TestElement as it is called + after a user has filled out the form elements in the gui with new + information. +

+

+
Parameters:
el - the TestElement to modify
+
+
+
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+ +
Returns:
the resource name
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/control/gui/LoopControlPanel.html b/docs/api/org/apache/jmeter/control/gui/LoopControlPanel.html new file mode 100644 index 00000000000..051dd2646d6 --- /dev/null +++ b/docs/api/org/apache/jmeter/control/gui/LoopControlPanel.html @@ -0,0 +1,590 @@ + + + + + +LoopControlPanel (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.control.gui +
+Class LoopControlPanel

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.control.gui.AbstractControllerGui
+                          extended by org.apache.jmeter.control.gui.LoopControlPanel
+
+
+
All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
+
public class LoopControlPanel
extends AbstractControllerGui
implements ActionListener
+ + +

+The user interface for a controller which specifies that its subcomponents + should be executed some number of times in a loop. This component can be used + standalone or embedded into some other component. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + + + + +
+Constructor Summary
LoopControlPanel() + +
+          Create a new LoopControlPanel as a standalone component.
LoopControlPanel(boolean displayName) + +
+          Create a new LoopControlPanel as either a standalone or an embedded + component.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidactionPerformed(ActionEvent event) + +
+          Invoked when an action occurs.
+ voidclearGui() + +
+          Implements JMeterGUIComponent.clearGui
+ voidconfigure(TestElement element) + +
+          A newly created component can be initialized with the contents of a Test + Element object by calling this method.
+ TestElementcreateTestElement() + +
+          JMeter test components are separated into a model and a GUI + representation.
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ voidmodifyTestElement(TestElement lc) + +
+          GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.control.gui.AbstractControllerGui
createPopupMenu, getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+LoopControlPanel

+
+public LoopControlPanel()
+
+
Create a new LoopControlPanel as a standalone component. +

+

+
+ +

+LoopControlPanel

+
+public LoopControlPanel(boolean displayName)
+
+
Create a new LoopControlPanel as either a standalone or an embedded + component. +

+

+
Parameters:
displayName - indicates whether or not this component should display its + name. If true, this is a standalone component. If false, this + component is intended to be used as a subpanel for another + component.
+
+ + + + + + + + +
+Method Detail
+ +

+configure

+
+public void configure(TestElement element)
+
+
A newly created component can be initialized with the contents of a Test + Element object by calling this method. The component is responsible for + querying the Test Element object for the relevant information to display + in its GUI. +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class AbstractJMeterGuiComponent
+
+
+
Parameters:
element - the TestElement to configure
+
+
+
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
Description copied from interface: JMeterGUIComponent
+
JMeter test components are separated into a model and a GUI + representation. The model holds the data and the GUI displays it. The GUI + class is responsible for knowing how to create and initialize with data + the model class that it knows how to display, and this method is called + when new test elements are created. +

+

+
Specified by:
createTestElement in interface JMeterGUIComponent
+
+
+ +
Returns:
the Test Element object that the GUI component represents.
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement lc)
+
+
Description copied from interface: JMeterGUIComponent
+
GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components. This method should + overwrite whatever data is currently in the TestElement as it is called + after a user has filled out the form elements in the gui with new + information. +

+

+
Specified by:
modifyTestElement in interface JMeterGUIComponent
+
+
+
Parameters:
lc - the TestElement to modify
+
+
+
+ +

+clearGui

+
+public void clearGui()
+
+
Implements JMeterGUIComponent.clearGui +

+

+
Specified by:
clearGui in interface ClearGui
Overrides:
clearGui in class AbstractJMeterGuiComponent
+
+
+
+
+
+
+ +

+actionPerformed

+
+public void actionPerformed(ActionEvent event)
+
+
Invoked when an action occurs. This implementation assumes that the + target component is the infinite loops checkbox. +

+

+
Specified by:
actionPerformed in interface ActionListener
+
+
+
Parameters:
event - the event that has occurred
+
+
+
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+
Specified by:
getLabelResource in interface JMeterGUIComponent
+
+
+ +
Returns:
the resource name
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/control/gui/ModuleControllerGui.html b/docs/api/org/apache/jmeter/control/gui/ModuleControllerGui.html new file mode 100644 index 00000000000..00560c46a82 --- /dev/null +++ b/docs/api/org/apache/jmeter/control/gui/ModuleControllerGui.html @@ -0,0 +1,635 @@ + + + + + +ModuleControllerGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.control.gui +
+Class ModuleControllerGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.control.gui.AbstractControllerGui
+                          extended by org.apache.jmeter.control.gui.ModuleControllerGui
+
+
+
All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
+
public class ModuleControllerGui
extends AbstractControllerGui
implements ActionListener
+ + +

+ModuleControllerGui provides UI for configuring ModuleController element. + It contains filtered copy of test plan tree (called Module to run tree) + in which target element can be specified by selecting node. + Allowed types of elements in Module to run tree: + - TestPlan - cannot be referenced + - AbstractThreadGroup - cannot be referenced + - Controller (except ModuleController) + - TestFragmentController +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
ModuleControllerGui() + +
+          Initializes the gui panel for the ModuleController instance.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidactionPerformed(ActionEvent e) + +
+          Implementation of Expand button - moves focus to a test plan tree element referenced by + selected element in Module to run tree
+ voidclearGui() + +
+          Provides a default implementation that resets the name field to the value of + getStaticLabel(), reset comment and sets enabled to true.
+ voidconfigure(TestElement el) + +
+          A newly created gui component can be initialized with the contents of a + Test Element object by calling this method.
+ JPopupMenucreatePopupMenu() + +
+          When a user right-clicks on the component in the test tree, or selects + the edit menu when the component is selected, the component will be asked + to return a JPopupMenu that provides all the options available to the + user from this component.
+ TestElementcreateTestElement() + +
+          JMeter test components are separated into a model and a GUI + representation.
+protected  voidexpandToSelectNode(JMeterTreeNode selected) + +
+           
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ voidmodifyTestElement(TestElement element) + +
+          GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.control.gui.AbstractControllerGui
getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ModuleControllerGui

+
+public ModuleControllerGui()
+
+
Initializes the gui panel for the ModuleController instance. +

+

+ + + + + + + + +
+Method Detail
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead.} +

+

+
Specified by:
getLabelResource in interface JMeterGUIComponent
+
+
+ +
Returns:
the resource name
+
+
+
+ +

+configure

+
+public void configure(TestElement el)
+
+
A newly created gui component can be initialized with the contents of a + Test Element object by calling this method. The component is responsible + for querying the Test Element object for the relevant information to + display in its GUI. +

+ AbstractJMeterGuiComponent provides a partial implementation of this + method, setting the name of the component and its enabled status. + Subclasses should override this method, performing their own + configuration as needed, but also calling this super-implementation.} +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class AbstractJMeterGuiComponent
+
+
+
Parameters:
el - the TestElement to configure
+
+
+
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
JMeter test components are separated into a model and a GUI + representation. The model holds the data and the GUI displays it. The GUI + class is responsible for knowing how to create and initialize with data + the model class that it knows how to display, and this method is called + when new test elements are created.} +

+

+
Specified by:
createTestElement in interface JMeterGUIComponent
+
+
+ +
Returns:
the Test Element object that the GUI component represents.
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement element)
+
+
GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components. This method should + overwrite whatever data is currently in the TestElement as it is called + after a user has filled out the form elements in the gui with new + information.} +

+

+
Specified by:
modifyTestElement in interface JMeterGUIComponent
+
+
+
Parameters:
element - the TestElement to modify
+
+
+
+ +

+clearGui

+
+public void clearGui()
+
+
Provides a default implementation that resets the name field to the value of + getStaticLabel(), reset comment and sets enabled to true. Your GUI may need more things + cleared, in which case you should override, clear the extra fields, and + still call super.clearGui().} +

+

+
Specified by:
clearGui in interface ClearGui
Overrides:
clearGui in class AbstractJMeterGuiComponent
+
+
+
+
+
+
+ +

+createPopupMenu

+
+public JPopupMenu createPopupMenu()
+
+
When a user right-clicks on the component in the test tree, or selects + the edit menu when the component is selected, the component will be asked + to return a JPopupMenu that provides all the options available to the + user from this component. +

+ This implementation returns menu items appropriate for most controller + components.} +

+

+
Specified by:
createPopupMenu in interface JMeterGUIComponent
Overrides:
createPopupMenu in class AbstractControllerGui
+
+
+ +
Returns:
a JPopupMenu appropriate for the component.
+
+
+
+ +

+actionPerformed

+
+public void actionPerformed(ActionEvent e)
+
+
Implementation of Expand button - moves focus to a test plan tree element referenced by + selected element in Module to run tree +

+

+
Specified by:
actionPerformed in interface ActionListener
+
+
+
+
+
+
+ +

+expandToSelectNode

+
+protected void expandToSelectNode(JMeterTreeNode selected)
+
+
+
+
+
+
Parameters:
selected - JMeterTreeNode tree node to expand
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/control/gui/OnceOnlyControllerGui.html b/docs/api/org/apache/jmeter/control/gui/OnceOnlyControllerGui.html new file mode 100644 index 00000000000..41fe8bddfee --- /dev/null +++ b/docs/api/org/apache/jmeter/control/gui/OnceOnlyControllerGui.html @@ -0,0 +1,467 @@ + + + + + +OnceOnlyControllerGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.control.gui +
+Class OnceOnlyControllerGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.control.gui.AbstractControllerGui
+                          extended by org.apache.jmeter.control.gui.OnceOnlyControllerGui
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
+
public class OnceOnlyControllerGui
extends AbstractControllerGui
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
OnceOnlyControllerGui() + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ TestElementcreateTestElement() + +
+          JMeter test components are separated into a model and a GUI + representation.
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ voidmodifyTestElement(TestElement oc) + +
+          Modifies a given TestElement to mirror the data in the gui components.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.control.gui.AbstractControllerGui
createPopupMenu, getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
clearGui, configure, configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+OnceOnlyControllerGui

+
+public OnceOnlyControllerGui()
+
+
+ + + + + + + + +
+Method Detail
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
Description copied from interface: JMeterGUIComponent
+
JMeter test components are separated into a model and a GUI + representation. The model holds the data and the GUI displays it. The GUI + class is responsible for knowing how to create and initialize with data + the model class that it knows how to display, and this method is called + when new test elements are created. +

+

+ +
Returns:
the Test Element object that the GUI component represents.
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement oc)
+
+
Modifies a given TestElement to mirror the data in the gui components. +

+

+
Parameters:
oc - the TestElement to modify
See Also:
JMeterGUIComponent.modifyTestElement(TestElement)
+
+
+
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+ +
Returns:
the resource name
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/control/gui/RandomControlGui.html b/docs/api/org/apache/jmeter/control/gui/RandomControlGui.html new file mode 100644 index 00000000000..d0718d0d6ca --- /dev/null +++ b/docs/api/org/apache/jmeter/control/gui/RandomControlGui.html @@ -0,0 +1,525 @@ + + + + + +RandomControlGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.control.gui +
+Class RandomControlGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.control.gui.AbstractControllerGui
+                          extended by org.apache.jmeter.control.gui.RandomControlGui
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
+
public class RandomControlGui
extends AbstractControllerGui
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
RandomControlGui() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclearGui() + +
+          Implements JMeterGUIComponent.clearGui
+ voidconfigure(TestElement el) + +
+          A newly created gui component can be initialized with the contents of a + Test Element object by calling this method.
+ TestElementcreateTestElement() + +
+          JMeter test components are separated into a model and a GUI + representation.
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ voidmodifyTestElement(TestElement ic) + +
+          Modifies a given TestElement to mirror the data in the gui components.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.control.gui.AbstractControllerGui
createPopupMenu, getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+RandomControlGui

+
+public RandomControlGui()
+
+
+ + + + + + + + +
+Method Detail
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
Description copied from interface: JMeterGUIComponent
+
JMeter test components are separated into a model and a GUI + representation. The model holds the data and the GUI displays it. The GUI + class is responsible for knowing how to create and initialize with data + the model class that it knows how to display, and this method is called + when new test elements are created. +

+

+ +
Returns:
the Test Element object that the GUI component represents.
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement ic)
+
+
Modifies a given TestElement to mirror the data in the gui components. +

+

+
Parameters:
ic - the TestElement to modify
See Also:
JMeterGUIComponent.modifyTestElement(TestElement)
+
+
+
+ +

+clearGui

+
+public void clearGui()
+
+
Implements JMeterGUIComponent.clearGui +

+

+
Specified by:
clearGui in interface ClearGui
Overrides:
clearGui in class AbstractJMeterGuiComponent
+
+
+
+
+
+
+ +

+configure

+
+public void configure(TestElement el)
+
+
Description copied from class: AbstractJMeterGuiComponent
+
A newly created gui component can be initialized with the contents of a + Test Element object by calling this method. The component is responsible + for querying the Test Element object for the relevant information to + display in its GUI. +

+ AbstractJMeterGuiComponent provides a partial implementation of this + method, setting the name of the component and its enabled status. + Subclasses should override this method, performing their own + configuration as needed, but also calling this super-implementation. +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class AbstractJMeterGuiComponent
+
+
+
Parameters:
el - the TestElement to configure
+
+
+
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+ +
Returns:
the resource name
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/control/gui/RandomOrderControllerGui.html b/docs/api/org/apache/jmeter/control/gui/RandomOrderControllerGui.html new file mode 100644 index 00000000000..11c80b87bf6 --- /dev/null +++ b/docs/api/org/apache/jmeter/control/gui/RandomOrderControllerGui.html @@ -0,0 +1,485 @@ + + + + + +RandomOrderControllerGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.control.gui +
+Class RandomOrderControllerGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.control.gui.AbstractControllerGui
+                          extended by org.apache.jmeter.control.gui.LogicControllerGui
+                              extended by org.apache.jmeter.control.gui.RandomOrderControllerGui
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
+
public class RandomOrderControllerGui
extends LogicControllerGui
+ + +

+GUI for RandomOrderController. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
RandomOrderControllerGui() + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ TestElementcreateTestElement() + +
+          JMeter test components are separated into a model and a GUI + representation.
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ voidmodifyTestElement(TestElement ic) + +
+          GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.control.gui.AbstractControllerGui
createPopupMenu, getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
clearGui, configure, configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+RandomOrderControllerGui

+
+public RandomOrderControllerGui()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+
Specified by:
getLabelResource in interface JMeterGUIComponent
Overrides:
getLabelResource in class LogicControllerGui
+
+
+ +
Returns:
the resource name
+
+
+
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
JMeter test components are separated into a model and a GUI + representation. The model holds the data and the GUI displays it. The GUI + class is responsible for knowing how to create and initialize with data + the model class that it knows how to display, and this method is called + when new test elements are created. +

+

+
Specified by:
createTestElement in interface JMeterGUIComponent
Overrides:
createTestElement in class LogicControllerGui
+
+
+ +
Returns:
the Test Element object that the GUI component represents.
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement ic)
+
+
GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components. This method should + overwrite whatever data is currently in the TestElement as it is called + after a user has filled out the form elements in the gui with new + information. +

+

+
Specified by:
modifyTestElement in interface JMeterGUIComponent
Overrides:
modifyTestElement in class LogicControllerGui
+
+
+
Parameters:
ic - the TestElement to modify
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/control/gui/RunTimeGui.html b/docs/api/org/apache/jmeter/control/gui/RunTimeGui.html new file mode 100644 index 00000000000..e27349e6bb7 --- /dev/null +++ b/docs/api/org/apache/jmeter/control/gui/RunTimeGui.html @@ -0,0 +1,590 @@ + + + + + +RunTimeGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.control.gui +
+Class RunTimeGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.control.gui.AbstractControllerGui
+                          extended by org.apache.jmeter.control.gui.RunTimeGui
+
+
+
All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
+
public class RunTimeGui
extends AbstractControllerGui
implements ActionListener
+ + +

+The user interface for a controller which specifies that its subcomponents + should be executed some number of seconds in a loop. This component can be + used standalone or embedded into some other component. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + + + + +
+Constructor Summary
RunTimeGui() + +
+          Create a new LoopControlPanel as a standalone component.
RunTimeGui(boolean displayName) + +
+          Create a new LoopControlPanel as either a standalone or an embedded + component.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidactionPerformed(ActionEvent event) + +
+          Invoked when an action occurs.
+ voidclearGui() + +
+          Implements JMeterGUIComponent.clearGui
+ voidconfigure(TestElement element) + +
+          A newly created component can be initialized with the contents of a Test + Element object by calling this method.
+ TestElementcreateTestElement() + +
+          JMeter test components are separated into a model and a GUI + representation.
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ voidmodifyTestElement(TestElement lc) + +
+          GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.control.gui.AbstractControllerGui
createPopupMenu, getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+RunTimeGui

+
+public RunTimeGui()
+
+
Create a new LoopControlPanel as a standalone component. +

+

+
+ +

+RunTimeGui

+
+public RunTimeGui(boolean displayName)
+
+
Create a new LoopControlPanel as either a standalone or an embedded + component. +

+

+
Parameters:
displayName - indicates whether or not this component should display its + name. If true, this is a standalone component. If false, this + component is intended to be used as a subpanel for another + component.
+
+ + + + + + + + +
+Method Detail
+ +

+configure

+
+public void configure(TestElement element)
+
+
A newly created component can be initialized with the contents of a Test + Element object by calling this method. The component is responsible for + querying the Test Element object for the relevant information to display + in its GUI. +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class AbstractJMeterGuiComponent
+
+
+
Parameters:
element - the TestElement to configure
+
+
+
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
Description copied from interface: JMeterGUIComponent
+
JMeter test components are separated into a model and a GUI + representation. The model holds the data and the GUI displays it. The GUI + class is responsible for knowing how to create and initialize with data + the model class that it knows how to display, and this method is called + when new test elements are created. +

+

+
Specified by:
createTestElement in interface JMeterGUIComponent
+
+
+ +
Returns:
the Test Element object that the GUI component represents.
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement lc)
+
+
Description copied from interface: JMeterGUIComponent
+
GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components. This method should + overwrite whatever data is currently in the TestElement as it is called + after a user has filled out the form elements in the gui with new + information. +

+

+
Specified by:
modifyTestElement in interface JMeterGUIComponent
+
+
+
Parameters:
lc - the TestElement to modify
+
+
+
+ +

+clearGui

+
+public void clearGui()
+
+
Implements JMeterGUIComponent.clearGui +

+

+
Specified by:
clearGui in interface ClearGui
Overrides:
clearGui in class AbstractJMeterGuiComponent
+
+
+
+
+
+
+ +

+actionPerformed

+
+public void actionPerformed(ActionEvent event)
+
+
Invoked when an action occurs. This implementation assumes that the + target component is the infinite seconds checkbox. +

+

+
Specified by:
actionPerformed in interface ActionListener
+
+
+
Parameters:
event - the event that has occurred
+
+
+
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+
Specified by:
getLabelResource in interface JMeterGUIComponent
+
+
+ +
Returns:
the resource name
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/control/gui/SwitchControllerGui.html b/docs/api/org/apache/jmeter/control/gui/SwitchControllerGui.html new file mode 100644 index 00000000000..05ee4978b29 --- /dev/null +++ b/docs/api/org/apache/jmeter/control/gui/SwitchControllerGui.html @@ -0,0 +1,525 @@ + + + + + +SwitchControllerGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.control.gui +
+Class SwitchControllerGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.control.gui.AbstractControllerGui
+                          extended by org.apache.jmeter.control.gui.SwitchControllerGui
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
+
public class SwitchControllerGui
extends AbstractControllerGui
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
SwitchControllerGui() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclearGui() + +
+          Implements JMeterGUIComponent.clearGui
+ voidconfigure(TestElement el) + +
+          A newly created gui component can be initialized with the contents of a + Test Element object by calling this method.
+ TestElementcreateTestElement() + +
+          JMeter test components are separated into a model and a GUI + representation.
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ voidmodifyTestElement(TestElement ic) + +
+          Modifies a given TestElement to mirror the data in the gui components.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.control.gui.AbstractControllerGui
createPopupMenu, getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SwitchControllerGui

+
+public SwitchControllerGui()
+
+
+ + + + + + + + +
+Method Detail
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
Description copied from interface: JMeterGUIComponent
+
JMeter test components are separated into a model and a GUI + representation. The model holds the data and the GUI displays it. The GUI + class is responsible for knowing how to create and initialize with data + the model class that it knows how to display, and this method is called + when new test elements are created. +

+

+ +
Returns:
the Test Element object that the GUI component represents.
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement ic)
+
+
Modifies a given TestElement to mirror the data in the gui components. +

+

+
Parameters:
ic - the TestElement to modify
See Also:
JMeterGUIComponent.modifyTestElement(TestElement)
+
+
+
+ +

+clearGui

+
+public void clearGui()
+
+
Implements JMeterGUIComponent.clearGui +

+

+
Specified by:
clearGui in interface ClearGui
Overrides:
clearGui in class AbstractJMeterGuiComponent
+
+
+
+
+
+
+ +

+configure

+
+public void configure(TestElement el)
+
+
Description copied from class: AbstractJMeterGuiComponent
+
A newly created gui component can be initialized with the contents of a + Test Element object by calling this method. The component is responsible + for querying the Test Element object for the relevant information to + display in its GUI. +

+ AbstractJMeterGuiComponent provides a partial implementation of this + method, setting the name of the component and its enabled status. + Subclasses should override this method, performing their own + configuration as needed, but also calling this super-implementation. +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class AbstractJMeterGuiComponent
+
+
+
Parameters:
el - the TestElement to configure
+
+
+
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+ +
Returns:
the resource name
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/control/gui/TestFragmentControllerGui.html b/docs/api/org/apache/jmeter/control/gui/TestFragmentControllerGui.html new file mode 100644 index 00000000000..079cb5a12da --- /dev/null +++ b/docs/api/org/apache/jmeter/control/gui/TestFragmentControllerGui.html @@ -0,0 +1,493 @@ + + + + + +TestFragmentControllerGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.control.gui +
+Class TestFragmentControllerGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.control.gui.AbstractControllerGui
+                          extended by org.apache.jmeter.control.gui.TestFragmentControllerGui
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
+
public class TestFragmentControllerGui
extends AbstractControllerGui
+ + +

+This defines a simple Test Fragment GUI that can be used instead of a Thread Group + to allow for a non-execution part of the Test Plan that can be saved and referenced + by a Module or Include Controller. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
TestFragmentControllerGui() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ TestElementcreateTestElement() + +
+          Implements JMeterGUIComponent.createTestElement()
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ Collection<String>getMenuCategories() + +
+          Over-ride this so that we add ourselves to the Test Fragment Category instead.
+ voidmodifyTestElement(TestElement controller) + +
+          Implements JMeterGUIComponent.modifyTestElement(TestElement)
+ + + + + + + +
Methods inherited from class org.apache.jmeter.control.gui.AbstractControllerGui
createPopupMenu
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
clearGui, configure, configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+TestFragmentControllerGui

+
+public TestFragmentControllerGui()
+
+
+ + + + + + + + +
+Method Detail
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
Implements JMeterGUIComponent.createTestElement() +

+

+ +
Returns:
the Test Element object that the GUI component represents.
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement controller)
+
+
Implements JMeterGUIComponent.modifyTestElement(TestElement) +

+

+
Parameters:
controller - the TestElement to modify
+
+
+
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+ +
Returns:
the resource name
+
+
+
+ +

+getMenuCategories

+
+public Collection<String> getMenuCategories()
+
+
Over-ride this so that we add ourselves to the Test Fragment Category instead. +

+

+
Specified by:
getMenuCategories in interface JMeterGUIComponent
Overrides:
getMenuCategories in class AbstractControllerGui
+
+
+ +
Returns:
a Collection of Strings, where each element is one of the + constants defined in MenuFactory
See Also:
MenuFactory
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/control/gui/TestPlanGui.html b/docs/api/org/apache/jmeter/control/gui/TestPlanGui.html new file mode 100644 index 00000000000..c5190a7731f --- /dev/null +++ b/docs/api/org/apache/jmeter/control/gui/TestPlanGui.html @@ -0,0 +1,585 @@ + + + + + +TestPlanGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.control.gui +
+Class TestPlanGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.control.gui.TestPlanGui
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
+
public class TestPlanGui
extends AbstractJMeterGuiComponent
+ + +

+JMeter GUI component representing the test plan which will be executed when + the test is run. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
TestPlanGui() + +
+          Create a new TestPlanGui.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclearGui() + +
+          Provides a default implementation that resets the name field to the value of + getStaticLabel(), reset comment and sets enabled to true.
+ voidconfigure(TestElement el) + +
+          A newly created component can be initialized with the contents of a Test + Element object by calling this method.
+ JPopupMenucreatePopupMenu() + +
+          When a user right-clicks on the component in the test tree, or selects + the edit menu when the component is selected, the component will be asked + to return a JPopupMenu that provides all the options available to the + user from this component.
+ TestElementcreateTestElement() + +
+          JMeter test components are separated into a model and a GUI + representation.
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ Collection<String>getMenuCategories() + +
+          This is the list of menu categories this gui component will be available + under.
+ voidmodifyTestElement(TestElement plan) + +
+          GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+TestPlanGui

+
+public TestPlanGui()
+
+
Create a new TestPlanGui. +

+

+ + + + + + + + +
+Method Detail
+ +

+createPopupMenu

+
+public JPopupMenu createPopupMenu()
+
+
When a user right-clicks on the component in the test tree, or selects + the edit menu when the component is selected, the component will be asked + to return a JPopupMenu that provides all the options available to the + user from this component. +

+ The TestPlan will return a popup menu allowing you to add ThreadGroups, + Listeners, Configuration Elements, Assertions, PreProcessors, + PostProcessors, and Timers. +

+

+ +
Returns:
a JPopupMenu appropriate for the component.
+
+
+
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
Description copied from interface: JMeterGUIComponent
+
JMeter test components are separated into a model and a GUI + representation. The model holds the data and the GUI displays it. The GUI + class is responsible for knowing how to create and initialize with data + the model class that it knows how to display, and this method is called + when new test elements are created. +

+

+ +
Returns:
the Test Element object that the GUI component represents.
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement plan)
+
+
Description copied from interface: JMeterGUIComponent
+
GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components. This method should + overwrite whatever data is currently in the TestElement as it is called + after a user has filled out the form elements in the gui with new + information. +

+

+
Parameters:
plan - the TestElement to modify
+
+
+
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+ +
Returns:
the resource name
+
+
+
+ +

+getMenuCategories

+
+public Collection<String> getMenuCategories()
+
+
This is the list of menu categories this gui component will be available + under. This implementation returns null, since the TestPlan appears at + the top level of the tree and cannot be added elsewhere. +

+

+ +
Returns:
a Collection of Strings, where each element is one of the + constants defined in MenuFactory
See Also:
MenuFactory
+
+
+
+ +

+configure

+
+public void configure(TestElement el)
+
+
A newly created component can be initialized with the contents of a Test + Element object by calling this method. The component is responsible for + querying the Test Element object for the relevant information to display + in its GUI. +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class AbstractJMeterGuiComponent
+
+
+
Parameters:
el - the TestElement to configure
+
+
+
+ +

+clearGui

+
+public void clearGui()
+
+
Description copied from class: AbstractJMeterGuiComponent
+
Provides a default implementation that resets the name field to the value of + getStaticLabel(), reset comment and sets enabled to true. Your GUI may need more things + cleared, in which case you should override, clear the extra fields, and + still call super.clearGui(). +

+

+
Specified by:
clearGui in interface ClearGui
Overrides:
clearGui in class AbstractJMeterGuiComponent
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/control/gui/ThroughputControllerGui.html b/docs/api/org/apache/jmeter/control/gui/ThroughputControllerGui.html new file mode 100644 index 00000000000..56116f439e7 --- /dev/null +++ b/docs/api/org/apache/jmeter/control/gui/ThroughputControllerGui.html @@ -0,0 +1,525 @@ + + + + + +ThroughputControllerGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.control.gui +
+Class ThroughputControllerGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.control.gui.AbstractControllerGui
+                          extended by org.apache.jmeter.control.gui.ThroughputControllerGui
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
+
public class ThroughputControllerGui
extends AbstractControllerGui
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
ThroughputControllerGui() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclearGui() + +
+          Implements JMeterGUIComponent.clearGui
+ voidconfigure(TestElement el) + +
+          A newly created gui component can be initialized with the contents of a + Test Element object by calling this method.
+ TestElementcreateTestElement() + +
+          JMeter test components are separated into a model and a GUI + representation.
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ voidmodifyTestElement(TestElement tc) + +
+          Modifies a given TestElement to mirror the data in the gui components.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.control.gui.AbstractControllerGui
createPopupMenu, getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ThroughputControllerGui

+
+public ThroughputControllerGui()
+
+
+ + + + + + + + +
+Method Detail
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
Description copied from interface: JMeterGUIComponent
+
JMeter test components are separated into a model and a GUI + representation. The model holds the data and the GUI displays it. The GUI + class is responsible for knowing how to create and initialize with data + the model class that it knows how to display, and this method is called + when new test elements are created. +

+

+ +
Returns:
the Test Element object that the GUI component represents.
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement tc)
+
+
Modifies a given TestElement to mirror the data in the gui components. +

+

+
Parameters:
tc - the TestElement to modify
See Also:
JMeterGUIComponent.modifyTestElement(TestElement)
+
+
+
+ +

+clearGui

+
+public void clearGui()
+
+
Implements JMeterGUIComponent.clearGui +

+

+
Specified by:
clearGui in interface ClearGui
Overrides:
clearGui in class AbstractJMeterGuiComponent
+
+
+
+
+
+
+ +

+configure

+
+public void configure(TestElement el)
+
+
Description copied from class: AbstractJMeterGuiComponent
+
A newly created gui component can be initialized with the contents of a + Test Element object by calling this method. The component is responsible + for querying the Test Element object for the relevant information to + display in its GUI. +

+ AbstractJMeterGuiComponent provides a partial implementation of this + method, setting the name of the component and its enabled status. + Subclasses should override this method, performing their own + configuration as needed, but also calling this super-implementation. +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class AbstractJMeterGuiComponent
+
+
+
Parameters:
el - the TestElement to configure
+
+
+
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+ +
Returns:
the resource name
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/control/gui/TransactionControllerGui.html b/docs/api/org/apache/jmeter/control/gui/TransactionControllerGui.html new file mode 100644 index 00000000000..08a9c884787 --- /dev/null +++ b/docs/api/org/apache/jmeter/control/gui/TransactionControllerGui.html @@ -0,0 +1,513 @@ + + + + + +TransactionControllerGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.control.gui +
+Class TransactionControllerGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.control.gui.AbstractControllerGui
+                          extended by org.apache.jmeter.control.gui.TransactionControllerGui
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
+
public class TransactionControllerGui
extends AbstractControllerGui
+ + +

+A Transaction controller component. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
TransactionControllerGui() + +
+          Create a new TransactionControllerGui instance.
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidconfigure(TestElement el) + +
+          A newly created gui component can be initialized with the contents of a + Test Element object by calling this method.
+ TestElementcreateTestElement() + +
+          JMeter test components are separated into a model and a GUI + representation.
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ voidmodifyTestElement(TestElement el) + +
+          GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.control.gui.AbstractControllerGui
createPopupMenu, getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
clearGui, configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+TransactionControllerGui

+
+public TransactionControllerGui()
+
+
Create a new TransactionControllerGui instance. +

+

+ + + + + + + + +
+Method Detail
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
Description copied from interface: JMeterGUIComponent
+
JMeter test components are separated into a model and a GUI + representation. The model holds the data and the GUI displays it. The GUI + class is responsible for knowing how to create and initialize with data + the model class that it knows how to display, and this method is called + when new test elements are created. +

+

+ +
Returns:
the Test Element object that the GUI component represents.
+
+
+
+ +

+configure

+
+public void configure(TestElement el)
+
+
Description copied from class: AbstractJMeterGuiComponent
+
A newly created gui component can be initialized with the contents of a + Test Element object by calling this method. The component is responsible + for querying the Test Element object for the relevant information to + display in its GUI. +

+ AbstractJMeterGuiComponent provides a partial implementation of this + method, setting the name of the component and its enabled status. + Subclasses should override this method, performing their own + configuration as needed, but also calling this super-implementation. +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class AbstractJMeterGuiComponent
+
+
+
Parameters:
el - the TestElement to configure
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement el)
+
+
Description copied from interface: JMeterGUIComponent
+
GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components. This method should + overwrite whatever data is currently in the TestElement as it is called + after a user has filled out the form elements in the gui with new + information. +

+

+
Parameters:
el - the TestElement to modify
+
+
+
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+ +
Returns:
the resource name
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/control/gui/TreeNodeWrapper.html b/docs/api/org/apache/jmeter/control/gui/TreeNodeWrapper.html new file mode 100644 index 00000000000..99397520dbf --- /dev/null +++ b/docs/api/org/apache/jmeter/control/gui/TreeNodeWrapper.html @@ -0,0 +1,298 @@ + + + + + +TreeNodeWrapper (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.control.gui +
+Class TreeNodeWrapper

+
+java.lang.Object
+  extended by org.apache.jmeter.control.gui.TreeNodeWrapper
+
+
+
+
public final class TreeNodeWrapper
extends Object
+ + +

+Used in JComboBoxes to reference JMeterTreeNodes +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
TreeNodeWrapper(JMeterTreeNode tn, + String label) + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetLabel() + +
+           
+ JMeterTreeNodegetTreeNode() + +
+           
+ StringtoString() + +
+          }
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+TreeNodeWrapper

+
+public TreeNodeWrapper(JMeterTreeNode tn,
+                       String label)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getTreeNode

+
+public JMeterTreeNode getTreeNode()
+
+
+
+
+
+
+ +

+toString

+
+public String toString()
+
+
} +

+

+
Overrides:
toString in class Object
+
+
+
+
+
+
+ +

+getLabel

+
+public String getLabel()
+
+
+ +
Returns:
the label
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/control/gui/WhileControllerGui.html b/docs/api/org/apache/jmeter/control/gui/WhileControllerGui.html new file mode 100644 index 00000000000..9a0ad9f084a --- /dev/null +++ b/docs/api/org/apache/jmeter/control/gui/WhileControllerGui.html @@ -0,0 +1,515 @@ + + + + + +WhileControllerGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.control.gui +
+Class WhileControllerGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.control.gui.AbstractControllerGui
+                          extended by org.apache.jmeter.control.gui.WhileControllerGui
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
+
public class WhileControllerGui
extends AbstractControllerGui
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
WhileControllerGui() + +
+          Create a new LoopControlPanel as a standalone component.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclearGui() + +
+          Implements JMeterGUIComponent.clearGui
+ voidconfigure(TestElement element) + +
+          A newly created component can be initialized with the contents of a Test + Element object by calling this method.
+ TestElementcreateTestElement() + +
+          Implements JMeterGUIComponent.createTestElement()
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ voidmodifyTestElement(TestElement controller) + +
+          Implements JMeterGUIComponent.modifyTestElement(TestElement)
+ + + + + + + +
Methods inherited from class org.apache.jmeter.control.gui.AbstractControllerGui
createPopupMenu, getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+WhileControllerGui

+
+public WhileControllerGui()
+
+
Create a new LoopControlPanel as a standalone component. +

+

+ + + + + + + + +
+Method Detail
+ +

+configure

+
+public void configure(TestElement element)
+
+
A newly created component can be initialized with the contents of a Test + Element object by calling this method. The component is responsible for + querying the Test Element object for the relevant information to display + in its GUI. +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class AbstractJMeterGuiComponent
+
+
+
Parameters:
element - the TestElement to configure
+
+
+
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
Implements JMeterGUIComponent.createTestElement() +

+

+ +
Returns:
the Test Element object that the GUI component represents.
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement controller)
+
+
Implements JMeterGUIComponent.modifyTestElement(TestElement) +

+

+
Parameters:
controller - the TestElement to modify
+
+
+
+ +

+clearGui

+
+public void clearGui()
+
+
Implements JMeterGUIComponent.clearGui +

+

+
Specified by:
clearGui in interface ClearGui
Overrides:
clearGui in class AbstractJMeterGuiComponent
+
+
+
+
+
+
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+ +
Returns:
the resource name
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/control/gui/WorkBenchGui.html b/docs/api/org/apache/jmeter/control/gui/WorkBenchGui.html new file mode 100644 index 00000000000..f666fead567 --- /dev/null +++ b/docs/api/org/apache/jmeter/control/gui/WorkBenchGui.html @@ -0,0 +1,583 @@ + + + + + +WorkBenchGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.control.gui +
+Class WorkBenchGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.control.gui.WorkBenchGui
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
+
public class WorkBenchGui
extends AbstractJMeterGuiComponent
+ + +

+JMeter GUI component representing a work bench where users can make + preparations for the test plan. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
WorkBenchGui() + +
+          Create a new WorkbenchGui.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclearGui() + +
+          Provides a default implementation that resets the name field to the value of + getStaticLabel(), reset comment and sets enabled to true.
+ voidconfigure(TestElement el) + +
+          A newly created component can be initialized with the contents of a Test + Element object by calling this method.
+ JPopupMenucreatePopupMenu() + +
+          When a user right-clicks on the component in the test tree, or selects + the edit menu when the component is selected, the component will be asked + to return a JPopupMenu that provides all the options available to the + user from this component.
+ TestElementcreateTestElement() + +
+          JMeter test components are separated into a model and a GUI + representation.
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ Collection<String>getMenuCategories() + +
+          This is the list of menu categories this gui component will be available + under.
+ voidmodifyTestElement(TestElement wb) + +
+          GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+WorkBenchGui

+
+public WorkBenchGui()
+
+
Create a new WorkbenchGui. +

+

+ + + + + + + + +
+Method Detail
+ +

+getMenuCategories

+
+public Collection<String> getMenuCategories()
+
+
This is the list of menu categories this gui component will be available + under. This implementation returns null, since the WorkBench appears at + the top level of the tree and cannot be added elsewhere. +

+

+ +
Returns:
a Collection of Strings, where each element is one of the + constants defined in MenuFactory
See Also:
MenuFactory
+
+
+
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
Description copied from interface: JMeterGUIComponent
+
JMeter test components are separated into a model and a GUI + representation. The model holds the data and the GUI displays it. The GUI + class is responsible for knowing how to create and initialize with data + the model class that it knows how to display, and this method is called + when new test elements are created. +

+

+ +
Returns:
the Test Element object that the GUI component represents.
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement wb)
+
+
Description copied from interface: JMeterGUIComponent
+
GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components. This method should + overwrite whatever data is currently in the TestElement as it is called + after a user has filled out the form elements in the gui with new + information. +

+

+
Parameters:
wb - the TestElement to modify
+
+
+
+ +

+configure

+
+public void configure(TestElement el)
+
+
A newly created component can be initialized with the contents of a Test + Element object by calling this method. The component is responsible for + querying the Test Element object for the relevant information to display + in its GUI. +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class AbstractJMeterGuiComponent
+
+
+
Parameters:
el - the TestElement to configure
+
+
+
+ +

+clearGui

+
+public void clearGui()
+
+
Description copied from class: AbstractJMeterGuiComponent
+
Provides a default implementation that resets the name field to the value of + getStaticLabel(), reset comment and sets enabled to true. Your GUI may need more things + cleared, in which case you should override, clear the extra fields, and + still call super.clearGui(). +

+

+
Specified by:
clearGui in interface ClearGui
Overrides:
clearGui in class AbstractJMeterGuiComponent
+
+
+
+
+
+
+ +

+createPopupMenu

+
+public JPopupMenu createPopupMenu()
+
+
When a user right-clicks on the component in the test tree, or selects + the edit menu when the component is selected, the component will be asked + to return a JPopupMenu that provides all the options available to the + user from this component. +

+ The WorkBench returns a popup menu allowing you to add anything. +

+

+ +
Returns:
a JPopupMenu appropriate for the component.
+
+
+
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+ +
Returns:
the resource name
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/control/gui/package-frame.html b/docs/api/org/apache/jmeter/control/gui/package-frame.html new file mode 100644 index 00000000000..f64740ea881 --- /dev/null +++ b/docs/api/org/apache/jmeter/control/gui/package-frame.html @@ -0,0 +1,70 @@ + + + + + +org.apache.jmeter.control.gui (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.control.gui + + + + +
+Classes  + +
+AbstractControllerGui +
+CriticalSectionControllerGui +
+ForeachControlPanel +
+IfControllerPanel +
+IncludeControllerGui +
+InterleaveControlGui +
+LogicControllerGui +
+LoopControlPanel +
+ModuleControllerGui +
+OnceOnlyControllerGui +
+RandomControlGui +
+RandomOrderControllerGui +
+RunTimeGui +
+SwitchControllerGui +
+TestFragmentControllerGui +
+TestPlanGui +
+ThroughputControllerGui +
+TransactionControllerGui +
+TreeNodeWrapper +
+WhileControllerGui +
+WorkBenchGui
+ + + + diff --git a/docs/api/org/apache/jmeter/control/gui/package-summary.html b/docs/api/org/apache/jmeter/control/gui/package-summary.html new file mode 100644 index 00000000000..dff6563f2db --- /dev/null +++ b/docs/api/org/apache/jmeter/control/gui/package-summary.html @@ -0,0 +1,242 @@ + + + + + +org.apache.jmeter.control.gui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.control.gui +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
AbstractControllerGuiThis is the base class for JMeter GUI components which manage controllers.
CriticalSectionControllerGuiThe user interface for a controller which specifies that its subcomponents + should be executed while a condition holds.
ForeachControlPanelThe user interface for a foreach controller which specifies that its + subcomponents should be executed some number of times in a loop.
IfControllerPanelThe user interface for a controller which specifies that its subcomponents + should be executed while a condition holds.
IncludeControllerGui 
InterleaveControlGui 
LogicControllerGuiA generic controller component.
LoopControlPanelThe user interface for a controller which specifies that its subcomponents + should be executed some number of times in a loop.
ModuleControllerGuiModuleControllerGui provides UI for configuring ModuleController element.
OnceOnlyControllerGui 
RandomControlGui 
RandomOrderControllerGuiGUI for RandomOrderController.
RunTimeGuiThe user interface for a controller which specifies that its subcomponents + should be executed some number of seconds in a loop.
SwitchControllerGui 
TestFragmentControllerGuiThis defines a simple Test Fragment GUI that can be used instead of a Thread Group + to allow for a non-execution part of the Test Plan that can be saved and referenced + by a Module or Include Controller.
TestPlanGuiJMeter GUI component representing the test plan which will be executed when + the test is run.
ThroughputControllerGui 
TransactionControllerGuiA Transaction controller component.
TreeNodeWrapperUsed in JComboBoxes to reference JMeterTreeNodes
WhileControllerGui 
WorkBenchGuiJMeter GUI component representing a work bench where users can make + preparations for the test plan.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/control/gui/package-tree.html b/docs/api/org/apache/jmeter/control/gui/package-tree.html new file mode 100644 index 00000000000..2c3d51d13aa --- /dev/null +++ b/docs/api/org/apache/jmeter/control/gui/package-tree.html @@ -0,0 +1,170 @@ + + + + + +org.apache.jmeter.control.gui Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.control.gui +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/control/package-frame.html b/docs/api/org/apache/jmeter/control/package-frame.html new file mode 100644 index 00000000000..278ab1ab79f --- /dev/null +++ b/docs/api/org/apache/jmeter/control/package-frame.html @@ -0,0 +1,88 @@ + + + + + +org.apache.jmeter.control (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.control + + + + +
+Interfaces  + +
+Controller +
+ReplaceableController
+ + + + + + +
+Classes  + +
+CriticalSectionController +
+ForeachController +
+GenericController +
+IfController +
+IncludeController +
+InterleaveControl +
+LoopController +
+ModuleController +
+OnceOnlyController +
+RandomController +
+RandomOrderController +
+RunTime +
+SwitchController +
+TestFragmentController +
+ThroughputController +
+TransactionController +
+TransactionSampler +
+WhileController
+ + + + + + +
+Exceptions  + +
+NextIsNullException
+ + + + diff --git a/docs/api/org/apache/jmeter/control/package-summary.html b/docs/api/org/apache/jmeter/control/package-summary.html new file mode 100644 index 00000000000..04a30045bfa --- /dev/null +++ b/docs/api/org/apache/jmeter/control/package-summary.html @@ -0,0 +1,273 @@ + + + + + +org.apache.jmeter.control (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.control +

+ + + + + + + + + + + + + +
+Interface Summary
ControllerThis interface is used by JMeterThread in the following manner: + + while (running && (sampler = controller.next()) !
ReplaceableControllerThis interface represents a controller that gets replaced during the + compilation phase of test execution in an arbitrary way.
+  + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
CriticalSectionControllerThis is a Critical Section Controller; it will execute the set of statements + (samplers/controllers, etc) under named lock.
ForeachControllerForeachController that iterates over a list of variables named XXXX_NN stored in JMeterVariables + where NN is a number starting from 1 to number of occurences.
GenericController + This class is the basis for all the controllers.
IfControllerThis is a Conditional Controller; it will execute the set of statements + (samplers/controllers, etc) while the 'condition' is true.
IncludeController 
InterleaveControlAlternate among each of the children controllers or samplers for each loop iteration
LoopControllerClass that implements the Loop Controller, ie iterate infinitely or a configured number of times
ModuleControllerThe goal of ModuleController is to add modularity to JMeter.
OnceOnlyControllerController to run its children once per cycle.
RandomControllerController that rans randomly one of it's children on each iteration
RandomOrderControllerA controller that runs its children each at most once, but in a random order.
RunTimeRuntime Controller that runs its children until configured Runtime(s) is exceeded
SwitchController + Implements a controller which selects at most one of its children + based on the condition value, which may be a number or a string.
TestFragmentController 
ThroughputControllerThis class represents a controller that can control the number of times that + it is executed, either by the total number of times the user wants the + controller executed (BYNUMBER) or by the percentage of time it is called + (BYPERCENT) + + The current implementation executes the first N samples (BYNUMBER) + or the last N% of samples (BYPERCENT).
TransactionControllerTransaction Controller to measure transaction times + + There are two different modes for the controller: + - generate additional total sample after nested samples (as in JMeter 2.2) + - generate parent sampler containing the nested samples
TransactionSamplerTransaction Sampler class to measure transaction times + (not exposed a a GUI class, as it is only used internally by TransactionController in Generate Parent sample mode)
WhileController 
+  + +

+ + + + + + + + + +
+Exception Summary
NextIsNullExceptionUsed by the Generic and Interleave controllers to signal the end of their samples
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/control/package-tree.html b/docs/api/org/apache/jmeter/control/package-tree.html new file mode 100644 index 00000000000..40de557c527 --- /dev/null +++ b/docs/api/org/apache/jmeter/control/package-tree.html @@ -0,0 +1,190 @@ + + + + + +org.apache.jmeter.control Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.control +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/engine/ClientJMeterEngine.html b/docs/api/org/apache/jmeter/engine/ClientJMeterEngine.html new file mode 100644 index 00000000000..765b90ce25e --- /dev/null +++ b/docs/api/org/apache/jmeter/engine/ClientJMeterEngine.html @@ -0,0 +1,459 @@ + + + + + +ClientJMeterEngine (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.engine +
+Class ClientJMeterEngine

+
+java.lang.Object
+  extended by org.apache.jmeter.engine.ClientJMeterEngine
+
+
+
All Implemented Interfaces:
JMeterEngine
+
+
+
+
public class ClientJMeterEngine
extends Object
implements JMeterEngine
+ + +

+Class to run remote tests from the client JMeter and collect remote samples +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
ClientJMeterEngine(String host) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidconfigure(HashTree testTree) + +
+          
+ voidexit() + +
+          
+ StringgetHost() + +
+           
+ booleanisActive() + +
+           
+ voidreset() + +
+          
+ voidrunTest() + +
+           
+ voidsetProperties(Properties p) + +
+          
+ voidstopTest(boolean now) + +
+          
+static voidtidyRMI(org.apache.log.Logger logger) + +
+          Tidy up RMI access to allow JMeter client to exit.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ClientJMeterEngine

+
+public ClientJMeterEngine(String host)
+                   throws MalformedURLException,
+                          NotBoundException,
+                          RemoteException
+
+
+ +
Throws: +
MalformedURLException +
NotBoundException +
RemoteException
+
+ + + + + + + + +
+Method Detail
+ +

+configure

+
+public void configure(HashTree testTree)
+
+
+

+

+
Specified by:
configure in interface JMeterEngine
+
+
+
+
+
+
+ +

+stopTest

+
+public void stopTest(boolean now)
+
+
+

+

+
Specified by:
stopTest in interface JMeterEngine
+
+
+
+
+
+
+ +

+reset

+
+public void reset()
+
+
+

+

+
Specified by:
reset in interface JMeterEngine
+
+
+
+
+
+
+ +

+runTest

+
+public void runTest()
+             throws JMeterEngineException
+
+
+
Specified by:
runTest in interface JMeterEngine
+
+
+ +
Throws: +
JMeterEngineException
+
+
+
+ +

+tidyRMI

+
+public static void tidyRMI(org.apache.log.Logger logger)
+
+
Tidy up RMI access to allow JMeter client to exit. + Currently just interrups the "RMI Reaper" thread. +

+

+
+
+
+
Parameters:
logger - where to log the information
+
+
+
+ +

+exit

+
+public void exit()
+
+
+

+

+
Specified by:
exit in interface JMeterEngine
+
+
+
+
+
+
+ +

+setProperties

+
+public void setProperties(Properties p)
+
+
+

+

+
Specified by:
setProperties in interface JMeterEngine
+
+
+
+
+
+
+ +

+isActive

+
+public boolean isActive()
+
+
+
Specified by:
isActive in interface JMeterEngine
+
+
+
+
+
+
+ +

+getHost

+
+public String getHost()
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/engine/ConvertListeners.html b/docs/api/org/apache/jmeter/engine/ConvertListeners.html new file mode 100644 index 00000000000..75757d64bde --- /dev/null +++ b/docs/api/org/apache/jmeter/engine/ConvertListeners.html @@ -0,0 +1,323 @@ + + + + + +ConvertListeners (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.engine +
+Class ConvertListeners

+
+java.lang.Object
+  extended by org.apache.jmeter.engine.ConvertListeners
+
+
+
All Implemented Interfaces:
HashTreeTraverser
+
+
+
+
public class ConvertListeners
extends Object
implements HashTreeTraverser
+ + +

+Converts the Remoteable Test and Sample Listeners in the test tree by wrapping + them with RemoteSampleListeners so that the samples are returned to the client. + + N.B. Does not handle ThreadListeners. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
ConvertListeners() + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddNode(Object node, + HashTree subTree) + +
+          The tree traverses itself depth-first, calling addNode for each object it + encounters as it goes.
+ voidprocessPath() + +
+          Process path is called when a leaf is reached.
+ voidsubtractNode() + +
+          Indicates traversal has moved up a step, and the visitor should remove + the top node from its stack structure.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ConvertListeners

+
+public ConvertListeners()
+
+
+ + + + + + + + +
+Method Detail
+ +

+addNode

+
+public void addNode(Object node,
+                    HashTree subTree)
+
+
The tree traverses itself depth-first, calling addNode for each object it + encounters as it goes. This is a callback method, and should not be + called except by a HashTree during traversal. +

+

+
Specified by:
addNode in interface HashTreeTraverser
+
+
+
Parameters:
node - the node currently encountered
subTree - the HashTree under the node encountered
+
+
+
+ +

+subtractNode

+
+public void subtractNode()
+
+
Indicates traversal has moved up a step, and the visitor should remove + the top node from its stack structure. This is a callback method, and + should not be called except by a HashTree during traversal. +

+

+
Specified by:
subtractNode in interface HashTreeTraverser
+
+
+
+
+
+
+ +

+processPath

+
+public void processPath()
+
+
Process path is called when a leaf is reached. If a visitor wishes to + generate Lists of path elements to each leaf, it should keep a Stack data + structure of nodes passed to it with addNode, and removing top items for + every HashTreeTraverser.subtractNode() call. This is a callback method, and should + not be called except by a HashTree during traversal. +

+

+
Specified by:
processPath in interface HashTreeTraverser
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/engine/DistributedRunner.html b/docs/api/org/apache/jmeter/engine/DistributedRunner.html new file mode 100644 index 00000000000..8dee7f34729 --- /dev/null +++ b/docs/api/org/apache/jmeter/engine/DistributedRunner.html @@ -0,0 +1,531 @@ + + + + + +DistributedRunner (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.engine +
+Class DistributedRunner

+
+java.lang.Object
+  extended by org.apache.jmeter.engine.DistributedRunner
+
+
+
+
public class DistributedRunner
extends Object
+ + +

+This class serves all responsibility of starting and stopping distributed tests. + It was refactored from JMeter and RemoteStart classes to unify retry behavior. +

+ +

+

+
See Also:
JMeter, +RemoteStart
+
+ +

+ + + + + + + + + + + + + + + + + + + +
+Field Summary
+static StringCONTINUE_ON_FAIL + +
+           
+static StringRETRIES_DELAY + +
+           
+static StringRETRIES_NUMBER + +
+           
+  + + + + + + + + + + + + + +
+Constructor Summary
DistributedRunner() + +
+           
DistributedRunner(Properties props) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+protected  JMeterEnginecreateEngine(String address) + +
+          A factory method that might be overridden for unit testing
+ voidexit(List<String> addresses) + +
+           
+ voidinit(List<String> addresses, + HashTree tree) + +
+           
+ voidsetStdErr(PrintStream stdErr) + +
+           
+ voidsetStdout(PrintStream stdout) + +
+           
+ voidshutdown(List<String> addresses) + +
+           
+ voidstart() + +
+          Start all engines that were previously initiated
+ voidstart(List<String> addresses) + +
+          Starts a remote testing engines
+ voidstop() + +
+          Stop all engines that were previously initiated
+ voidstop(List<String> addresses) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+RETRIES_NUMBER

+
+public static final String RETRIES_NUMBER
+
+
+
See Also:
Constant Field Values
+
+
+ +

+RETRIES_DELAY

+
+public static final String RETRIES_DELAY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CONTINUE_ON_FAIL

+
+public static final String CONTINUE_ON_FAIL
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+DistributedRunner

+
+public DistributedRunner()
+
+
+
+ +

+DistributedRunner

+
+public DistributedRunner(Properties props)
+
+
+ + + + + + + + +
+Method Detail
+ +

+init

+
+public void init(List<String> addresses,
+                 HashTree tree)
+
+
+
+
+
+
+ +

+start

+
+public void start(List<String> addresses)
+
+
Starts a remote testing engines +

+

+
Parameters:
addresses - list of the DNS names or IP addresses of the remote testing engines
+
+
+
+ +

+start

+
+public void start()
+
+
Start all engines that were previously initiated +

+

+
+
+
+
+ +

+stop

+
+public void stop(List<String> addresses)
+
+
+
+
+
+
+ +

+stop

+
+public void stop()
+
+
Stop all engines that were previously initiated +

+

+
+
+
+
+ +

+shutdown

+
+public void shutdown(List<String> addresses)
+
+
+
+
+
+
+ +

+exit

+
+public void exit(List<String> addresses)
+
+
+
+
+
+
+ +

+createEngine

+
+protected JMeterEngine createEngine(String address)
+                             throws RemoteException,
+                                    NotBoundException,
+                                    MalformedURLException
+
+
A factory method that might be overridden for unit testing +

+

+
Parameters:
address - address for engine +
Returns:
engine instance +
Throws: +
RemoteException +
NotBoundException +
MalformedURLException
+
+
+
+ +

+setStdout

+
+public void setStdout(PrintStream stdout)
+
+
+
+
+
+
+ +

+setStdErr

+
+public void setStdErr(PrintStream stdErr)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/engine/JMeterEngine.html b/docs/api/org/apache/jmeter/engine/JMeterEngine.html new file mode 100644 index 00000000000..31b9487edf3 --- /dev/null +++ b/docs/api/org/apache/jmeter/engine/JMeterEngine.html @@ -0,0 +1,326 @@ + + + + + +JMeterEngine (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.engine +
+Interface JMeterEngine

+
+
All Known Implementing Classes:
ClientJMeterEngine, StandardJMeterEngine
+
+
+
+
public interface JMeterEngine
+ + +

+This interface is implemented by classes that can run JMeter tests. +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidconfigure(HashTree testPlan) + +
+           
+ voidexit() + +
+           
+ booleanisActive() + +
+           
+ voidreset() + +
+           
+ voidrunTest() + +
+           
+ voidsetProperties(Properties p) + +
+           
+ voidstopTest(boolean now) + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+configure

+
+void configure(HashTree testPlan)
+
+
+
+
+
+
+ +

+runTest

+
+void runTest()
+             throws JMeterEngineException
+
+
+ +
Throws: +
JMeterEngineException
+
+
+
+ +

+stopTest

+
+void stopTest(boolean now)
+
+
+
+
+
+
+ +

+reset

+
+void reset()
+
+
+
+
+
+
+ +

+setProperties

+
+void setProperties(Properties p)
+
+
+
+
+
+
+ +

+exit

+
+void exit()
+
+
+
+
+
+
+ +

+isActive

+
+boolean isActive()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/engine/JMeterEngineException.html b/docs/api/org/apache/jmeter/engine/JMeterEngineException.html new file mode 100644 index 00000000000..537d2ac9cac --- /dev/null +++ b/docs/api/org/apache/jmeter/engine/JMeterEngineException.html @@ -0,0 +1,284 @@ + + + + + +JMeterEngineException (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.engine +
+Class JMeterEngineException

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by org.apache.jmeter.engine.JMeterEngineException
+
+
+
All Implemented Interfaces:
Serializable
+
+
+
+
public class JMeterEngineException
extends Exception
implements Serializable
+ + +

+Exception class for use by JMeterEngine.runTest() and RemoteJMeterEngine.rrunTest() +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + + +
+Constructor Summary
JMeterEngineException() + +
+           
JMeterEngineException(String msg) + +
+           
JMeterEngineException(String msg, + Throwable t) + +
+           
JMeterEngineException(Throwable t) + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+JMeterEngineException

+
+public JMeterEngineException()
+
+
+
+ +

+JMeterEngineException

+
+public JMeterEngineException(String msg)
+
+
+
+ +

+JMeterEngineException

+
+public JMeterEngineException(Throwable t)
+
+
+
+ +

+JMeterEngineException

+
+public JMeterEngineException(String msg,
+                             Throwable t)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/engine/PreCompiler.html b/docs/api/org/apache/jmeter/engine/PreCompiler.html new file mode 100644 index 00000000000..c5c84a69879 --- /dev/null +++ b/docs/api/org/apache/jmeter/engine/PreCompiler.html @@ -0,0 +1,334 @@ + + + + + +PreCompiler (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.engine +
+Class PreCompiler

+
+java.lang.Object
+  extended by org.apache.jmeter.engine.PreCompiler
+
+
+
All Implemented Interfaces:
HashTreeTraverser
+
+
+
+
public class PreCompiler
extends Object
implements HashTreeTraverser
+ + +

+Class to replace function and variable references in the test tree. +

+ +

+


+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
PreCompiler() + +
+           
PreCompiler(boolean remote) + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddNode(Object node, + HashTree subTree) + +
+          The tree traverses itself depth-first, calling addNode for each object it + encounters as it goes.
+ voidprocessPath() + +
+          Process path is called when a leaf is reached.
+ voidsubtractNode() + +
+          Indicates traversal has moved up a step, and the visitor should remove + the top node from its stack structure.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+PreCompiler

+
+public PreCompiler()
+
+
+
+ +

+PreCompiler

+
+public PreCompiler(boolean remote)
+
+
+ + + + + + + + +
+Method Detail
+ +

+addNode

+
+public void addNode(Object node,
+                    HashTree subTree)
+
+
The tree traverses itself depth-first, calling addNode for each object it + encounters as it goes. This is a callback method, and should not be + called except by a HashTree during traversal. +

+

+
Specified by:
addNode in interface HashTreeTraverser
+
+
+
Parameters:
node - the node currently encountered
subTree - the HashTree under the node encountered
+
+
+
+ +

+subtractNode

+
+public void subtractNode()
+
+
Indicates traversal has moved up a step, and the visitor should remove + the top node from its stack structure. This is a callback method, and + should not be called except by a HashTree during traversal. +

+

+
Specified by:
subtractNode in interface HashTreeTraverser
+
+
+
+
+
+
+ +

+processPath

+
+public void processPath()
+
+
Process path is called when a leaf is reached. If a visitor wishes to + generate Lists of path elements to each leaf, it should keep a Stack data + structure of nodes passed to it with addNode, and removing top items for + every HashTreeTraverser.subtractNode() call. This is a callback method, and should + not be called except by a HashTree during traversal. +

+

+
Specified by:
processPath in interface HashTreeTraverser
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/engine/RemoteJMeterEngine.html b/docs/api/org/apache/jmeter/engine/RemoteJMeterEngine.html new file mode 100644 index 00000000000..1ff3bcf462d --- /dev/null +++ b/docs/api/org/apache/jmeter/engine/RemoteJMeterEngine.html @@ -0,0 +1,351 @@ + + + + + +RemoteJMeterEngine (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.engine +
+Interface RemoteJMeterEngine

+
+
All Superinterfaces:
Remote
+
+
+
All Known Implementing Classes:
RemoteJMeterEngineImpl
+
+
+
+
public interface RemoteJMeterEngine
extends Remote
+ + +

+This is the interface for the RMI server engine, i.e. RemoteJMeterEngineImpl +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidrconfigure(HashTree testTree, + String host, + File jmxBase, + String scriptName) + +
+           
+ voidrexit() + +
+           
+ voidrreset() + +
+           
+ voidrrunTest() + +
+           
+ voidrsetProperties(Properties p) + +
+           
+ voidrstopTest(boolean now) + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+rconfigure

+
+void rconfigure(HashTree testTree,
+                String host,
+                File jmxBase,
+                String scriptName)
+                throws RemoteException
+
+
+
+
+
+ +
Throws: +
RemoteException
+
+
+
+ +

+rrunTest

+
+void rrunTest()
+              throws RemoteException,
+                     JMeterEngineException
+
+
+
+
+
+ +
Throws: +
RemoteException +
JMeterEngineException
+
+
+
+ +

+rstopTest

+
+void rstopTest(boolean now)
+               throws RemoteException
+
+
+
+
+
+ +
Throws: +
RemoteException
+
+
+
+ +

+rreset

+
+void rreset()
+            throws RemoteException
+
+
+
+
+
+ +
Throws: +
RemoteException
+
+
+
+ +

+rsetProperties

+
+void rsetProperties(Properties p)
+                    throws RemoteException
+
+
+
+
+
+ +
Throws: +
RemoteException
+
+
+
+ +

+rexit

+
+void rexit()
+           throws RemoteException
+
+
+
+
+
+ +
Throws: +
RemoteException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/engine/RemoteJMeterEngineImpl.html b/docs/api/org/apache/jmeter/engine/RemoteJMeterEngineImpl.html new file mode 100644 index 00000000000..779c18f894e --- /dev/null +++ b/docs/api/org/apache/jmeter/engine/RemoteJMeterEngineImpl.html @@ -0,0 +1,446 @@ + + + + + +RemoteJMeterEngineImpl (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.engine +
+Class RemoteJMeterEngineImpl

+
+java.lang.Object
+  extended by java.rmi.server.RemoteObject
+      extended by java.rmi.server.RemoteServer
+          extended by java.rmi.server.UnicastRemoteObject
+              extended by org.apache.jmeter.engine.RemoteJMeterEngineImpl
+
+
+
All Implemented Interfaces:
Serializable, Remote, RemoteJMeterEngine
+
+
+
+
public final class RemoteJMeterEngineImpl
extends UnicastRemoteObject
implements RemoteJMeterEngine
+ + +

+This is the JMeter server main code. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class java.rmi.server.RemoteObject
ref
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidrconfigure(HashTree testTree, + String host, + File jmxBase, + String scriptName) + +
+          Adds a feature to the ThreadGroup attribute of the RemoteJMeterEngineImpl + object.
+ voidrexit() + +
+           
+ voidrreset() + +
+           
+ voidrrunTest() + +
+           
+ voidrsetProperties(Properties p) + +
+           
+ voidrstopTest(boolean now) + +
+           
+static voidstartServer(int rmiPort) + +
+           
+ + + + + + + +
Methods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, unexportObject
+ + + + + + + +
Methods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLog
+ + + + + + + +
Methods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toString, toStub
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+startServer

+
+public static void startServer(int rmiPort)
+                        throws RemoteException
+
+
+
+
+
+ +
Throws: +
RemoteException
+
+
+
+ +

+rconfigure

+
+public void rconfigure(HashTree testTree,
+                       String host,
+                       File jmxBase,
+                       String scriptName)
+                throws RemoteException
+
+
Adds a feature to the ThreadGroup attribute of the RemoteJMeterEngineImpl + object. +

+

+
Specified by:
rconfigure in interface RemoteJMeterEngine
+
+
+
Parameters:
testTree - the feature to be added to the ThreadGroup attribute +
Throws: +
RemoteException
+
+
+
+ +

+rrunTest

+
+public void rrunTest()
+              throws RemoteException,
+                     JMeterEngineException,
+                     IllegalStateException
+
+
+
Specified by:
rrunTest in interface RemoteJMeterEngine
+
+
+ +
Throws: +
RemoteException +
JMeterEngineException +
IllegalStateException
+
+
+
+ +

+rreset

+
+public void rreset()
+            throws RemoteException,
+                   IllegalStateException
+
+
+
Specified by:
rreset in interface RemoteJMeterEngine
+
+
+ +
Throws: +
RemoteException +
IllegalStateException
+
+
+
+ +

+rstopTest

+
+public void rstopTest(boolean now)
+               throws RemoteException
+
+
+
Specified by:
rstopTest in interface RemoteJMeterEngine
+
+
+ +
Throws: +
RemoteException
+
+
+
+ +

+rexit

+
+public void rexit()
+           throws RemoteException
+
+
+
Specified by:
rexit in interface RemoteJMeterEngine
+
+
+ +
Throws: +
RemoteException
+
+
+
+ +

+rsetProperties

+
+public void rsetProperties(Properties p)
+                    throws RemoteException,
+                           IllegalStateException
+
+
+
Specified by:
rsetProperties in interface RemoteJMeterEngine
+
+
+ +
Throws: +
RemoteException +
IllegalStateException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/engine/StandardJMeterEngine.html b/docs/api/org/apache/jmeter/engine/StandardJMeterEngine.html new file mode 100644 index 00000000000..ab8f6219088 --- /dev/null +++ b/docs/api/org/apache/jmeter/engine/StandardJMeterEngine.html @@ -0,0 +1,584 @@ + + + + + +StandardJMeterEngine (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.engine +
+Class StandardJMeterEngine

+
+java.lang.Object
+  extended by org.apache.jmeter.engine.StandardJMeterEngine
+
+
+
All Implemented Interfaces:
Runnable, JMeterEngine
+
+
+
+
public class StandardJMeterEngine
extends Object
implements JMeterEngine, Runnable
+ + +

+Runs JMeter tests, either directly for local GUI and non-GUI invocations, + or started by RemoteJMeterEngineImpl when running in server mode. +

+ +

+


+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
StandardJMeterEngine() + +
+           
StandardJMeterEngine(String host) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaskThreadsToStop() + +
+           
+ voidconfigure(HashTree testTree) + +
+           
+ voidexit() + +
+           
+ booleanisActive() + +
+           
+static voidregister(TestStateListener tl) + +
+           
+ voidreset() + +
+           
+ voidrun() + +
+           
+ voidrunTest() + +
+           
+ voidsetProperties(Properties p) + +
+           
+static voidstopEngine() + +
+           
+static voidstopEngineNow() + +
+           
+ voidstopTest() + +
+           
+ voidstopTest(boolean now) + +
+           
+static booleanstopThread(String threadName) + +
+           
+static booleanstopThreadNow(String threadName) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+StandardJMeterEngine

+
+public StandardJMeterEngine()
+
+
+
+ +

+StandardJMeterEngine

+
+public StandardJMeterEngine(String host)
+
+
+ + + + + + + + +
+Method Detail
+ +

+stopEngineNow

+
+public static void stopEngineNow()
+
+
+
+
+
+
+
+
+
+ +

+stopEngine

+
+public static void stopEngine()
+
+
+
+
+
+
+
+
+
+ +

+register

+
+public static void register(TestStateListener tl)
+
+
+
+
+
+
+
+
+
+ +

+stopThread

+
+public static boolean stopThread(String threadName)
+
+
+
+
+
+
+
+
+
+ +

+stopThreadNow

+
+public static boolean stopThreadNow(String threadName)
+
+
+
+
+
+
+
+
+
+ +

+configure

+
+public void configure(HashTree testTree)
+
+
+
Specified by:
configure in interface JMeterEngine
+
+
+
+
+
+
+ +

+runTest

+
+public void runTest()
+             throws JMeterEngineException
+
+
+
Specified by:
runTest in interface JMeterEngine
+
+
+ +
Throws: +
JMeterEngineException
+
+
+
+ +

+reset

+
+public void reset()
+
+
+
Specified by:
reset in interface JMeterEngine
+
+
+
+
+
+
+ +

+stopTest

+
+public void stopTest()
+
+
+
+
+
+
+
+
+
+ +

+stopTest

+
+public void stopTest(boolean now)
+
+
+
Specified by:
stopTest in interface JMeterEngine
+
+
+
+
+
+
+ +

+run

+
+public void run()
+
+
+
Specified by:
run in interface Runnable
+
+
+
+
+
+
+ +

+askThreadsToStop

+
+public void askThreadsToStop()
+
+
+
+
+
+
+
+
+
+ +

+exit

+
+public void exit()
+
+
+
Specified by:
exit in interface JMeterEngine
+
+
+
+
+
+
+ +

+setProperties

+
+public void setProperties(Properties p)
+
+
+
Specified by:
setProperties in interface JMeterEngine
+
+
+
+
+
+
+ +

+isActive

+
+public boolean isActive()
+
+
+
Specified by:
isActive in interface JMeterEngine
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/engine/TreeCloner.html b/docs/api/org/apache/jmeter/engine/TreeCloner.html new file mode 100644 index 00000000000..7c267d88424 --- /dev/null +++ b/docs/api/org/apache/jmeter/engine/TreeCloner.html @@ -0,0 +1,390 @@ + + + + + +TreeCloner (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.engine +
+Class TreeCloner

+
+java.lang.Object
+  extended by org.apache.jmeter.engine.TreeCloner
+
+
+
All Implemented Interfaces:
HashTreeTraverser
+
+
+
Direct Known Subclasses:
TreeClonerNoTimer
+
+
+
+
public class TreeCloner
extends Object
implements HashTreeTraverser
+ + +

+Clones the test tree, skipping test elements that implement NoThreadClone by default. +

+ +

+


+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
TreeCloner() + +
+          Clone the test tree, honouring NoThreadClone markers.
TreeCloner(boolean honourNoThreadClone) + +
+          Clone the test tree.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddNode(Object node, + HashTree subTree) + +
+          The tree traverses itself depth-first, calling addNode for each object it + encounters as it goes.
+protected  ObjectaddNodeToTree(Object node) + +
+           
+ ListedHashTreegetClonedTree() + +
+           
+ voidprocessPath() + +
+          Process path is called when a leaf is reached.
+ voidsubtractNode() + +
+          Indicates traversal has moved up a step, and the visitor should remove + the top node from its stack structure.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+TreeCloner

+
+public TreeCloner()
+
+
Clone the test tree, honouring NoThreadClone markers. +

+

+
+ +

+TreeCloner

+
+public TreeCloner(boolean honourNoThreadClone)
+
+
Clone the test tree. +

+

+
Parameters:
honourNoThreadClone - set false to clone NoThreadClone nodes as well
+
+ + + + + + + + +
+Method Detail
+ +

+addNode

+
+public final void addNode(Object node,
+                          HashTree subTree)
+
+
The tree traverses itself depth-first, calling addNode for each object it + encounters as it goes. This is a callback method, and should not be + called except by a HashTree during traversal. +

+

+
Specified by:
addNode in interface HashTreeTraverser
+
+
+
Parameters:
node - the node currently encountered
subTree - the HashTree under the node encountered
+
+
+
+ +

+addNodeToTree

+
+protected Object addNodeToTree(Object node)
+
+
+
+
+
+
Parameters:
node - Node to add to tree or not +
Returns:
Object node (clone or not)
+
+
+
+ +

+subtractNode

+
+public void subtractNode()
+
+
Description copied from interface: HashTreeTraverser
+
Indicates traversal has moved up a step, and the visitor should remove + the top node from its stack structure. This is a callback method, and + should not be called except by a HashTree during traversal. +

+

+
Specified by:
subtractNode in interface HashTreeTraverser
+
+
+
+
+
+
+ +

+getClonedTree

+
+public ListedHashTree getClonedTree()
+
+
+
+
+
+
+
+
+
+ +

+processPath

+
+public void processPath()
+
+
Description copied from interface: HashTreeTraverser
+
Process path is called when a leaf is reached. If a visitor wishes to + generate Lists of path elements to each leaf, it should keep a Stack data + structure of nodes passed to it with addNode, and removing top items for + every HashTreeTraverser.subtractNode() call. This is a callback method, and should + not be called except by a HashTree during traversal. +

+

+
Specified by:
processPath in interface HashTreeTraverser
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/engine/TreeClonerNoTimer.html b/docs/api/org/apache/jmeter/engine/TreeClonerNoTimer.html new file mode 100644 index 00000000000..1d3c9e7a10b --- /dev/null +++ b/docs/api/org/apache/jmeter/engine/TreeClonerNoTimer.html @@ -0,0 +1,285 @@ + + + + + +TreeClonerNoTimer (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.engine +
+Class TreeClonerNoTimer

+
+java.lang.Object
+  extended by org.apache.jmeter.engine.TreeCloner
+      extended by org.apache.jmeter.engine.TreeClonerNoTimer
+
+
+
All Implemented Interfaces:
HashTreeTraverser
+
+
+
+
public class TreeClonerNoTimer
extends TreeCloner
+ + +

+Clones the test tree, skipping test elements that implement Timer by default. +

+ +

+


+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
TreeClonerNoTimer() + +
+           
TreeClonerNoTimer(boolean honourNoThreadClone) + +
+           
+  + + + + + + + + + + + +
+Method Summary
+protected  ObjectaddNodeToTree(Object node) + +
+          Doesn't add Timer to tree
+ + + + + + + +
Methods inherited from class org.apache.jmeter.engine.TreeCloner
addNode, getClonedTree, processPath, subtractNode
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+TreeClonerNoTimer

+
+public TreeClonerNoTimer()
+
+
+
+ +

+TreeClonerNoTimer

+
+public TreeClonerNoTimer(boolean honourNoThreadClone)
+
+
+ + + + + + + + +
+Method Detail
+ +

+addNodeToTree

+
+protected Object addNodeToTree(Object node)
+
+
Doesn't add Timer to tree +

+

+
Overrides:
addNodeToTree in class TreeCloner
+
+
+
Parameters:
node - Node to add to tree or not +
Returns:
Object node (clone or not)
See Also:
TreeCloner.addNodeToTree(java.lang.Object)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/engine/TurnElementsOn.html b/docs/api/org/apache/jmeter/engine/TurnElementsOn.html new file mode 100644 index 00000000000..35116cbfacb --- /dev/null +++ b/docs/api/org/apache/jmeter/engine/TurnElementsOn.html @@ -0,0 +1,320 @@ + + + + + +TurnElementsOn (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.engine +
+Class TurnElementsOn

+
+java.lang.Object
+  extended by org.apache.jmeter.engine.TurnElementsOn
+
+
+
All Implemented Interfaces:
HashTreeTraverser
+
+
+
+
public class TurnElementsOn
extends Object
implements HashTreeTraverser
+ + +

+Invokes setRunningVersion(true) for all matched nodes +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
TurnElementsOn() + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddNode(Object node, + HashTree subTree) + +
+          The tree traverses itself depth-first, calling addNode for each object it + encounters as it goes.
+ voidprocessPath() + +
+          Process path is called when a leaf is reached.
+ voidsubtractNode() + +
+          Indicates traversal has moved up a step, and the visitor should remove + the top node from its stack structure.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+TurnElementsOn

+
+public TurnElementsOn()
+
+
+ + + + + + + + +
+Method Detail
+ +

+addNode

+
+public void addNode(Object node,
+                    HashTree subTree)
+
+
The tree traverses itself depth-first, calling addNode for each object it + encounters as it goes. This is a callback method, and should not be + called except by a HashTree during traversal. +

+

+
Specified by:
addNode in interface HashTreeTraverser
+
+
+
Parameters:
node - the node currently encountered
subTree - the HashTree under the node encountered
+
+
+
+ +

+subtractNode

+
+public void subtractNode()
+
+
Indicates traversal has moved up a step, and the visitor should remove + the top node from its stack structure. This is a callback method, and + should not be called except by a HashTree during traversal. +

+

+
Specified by:
subtractNode in interface HashTreeTraverser
+
+
+
+
+
+
+ +

+processPath

+
+public void processPath()
+
+
Process path is called when a leaf is reached. If a visitor wishes to + generate Lists of path elements to each leaf, it should keep a Stack data + structure of nodes passed to it with addNode, and removing top items for + every HashTreeTraverser.subtractNode() call. This is a callback method, and should + not be called except by a HashTree during traversal. +

+

+
Specified by:
processPath in interface HashTreeTraverser
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/engine/event/LoopIterationEvent.html b/docs/api/org/apache/jmeter/engine/event/LoopIterationEvent.html new file mode 100644 index 00000000000..2fb5ad9b05f --- /dev/null +++ b/docs/api/org/apache/jmeter/engine/event/LoopIterationEvent.html @@ -0,0 +1,280 @@ + + + + + +LoopIterationEvent (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.engine.event +
+Class LoopIterationEvent

+
+java.lang.Object
+  extended by org.apache.jmeter.engine.event.LoopIterationEvent
+
+
+
+
public class LoopIterationEvent
extends Object
+ + +

+An iteration event provides information about the iteration number and the + source of the event. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
LoopIterationEvent(TestElement source, + int iter) + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ intgetIteration() + +
+          Returns the iteration.
+ TestElementgetSource() + +
+          Returns the source.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+LoopIterationEvent

+
+public LoopIterationEvent(TestElement source,
+                          int iter)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getIteration

+
+public int getIteration()
+
+
Returns the iteration. +

+

+ +
Returns:
int
+
+
+
+ +

+getSource

+
+public TestElement getSource()
+
+
Returns the source. +

+

+ +
Returns:
TestElement
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/engine/event/LoopIterationListener.html b/docs/api/org/apache/jmeter/engine/event/LoopIterationListener.html new file mode 100644 index 00000000000..75509478e09 --- /dev/null +++ b/docs/api/org/apache/jmeter/engine/event/LoopIterationListener.html @@ -0,0 +1,211 @@ + + + + + +LoopIterationListener (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.engine.event +
+Interface LoopIterationListener

+
+
All Known Implementing Classes:
CompareAssertion, ConstantTimer, CounterConfig, CSVDataSet, GaussianRandomTimer, OnceOnlyController, PoissonRandomTimer, RandomTimer, RandomVariableConfig, ThroughputController, UniformRandomTimer, UserParameters
+
+
+
+
public interface LoopIterationListener
+ + +

+Allows a class to receive loop iteration start events. +

+ +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+ voiditerationStart(LoopIterationEvent iterEvent) + +
+          Called when a loop iteration is about to start.
+  +

+ + + + + + + + +
+Method Detail
+ +

+iterationStart

+
+void iterationStart(LoopIterationEvent iterEvent)
+
+
Called when a loop iteration is about to start. +

+

+
Parameters:
iterEvent - the event
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/engine/event/package-frame.html b/docs/api/org/apache/jmeter/engine/event/package-frame.html new file mode 100644 index 00000000000..6b08ff25b21 --- /dev/null +++ b/docs/api/org/apache/jmeter/engine/event/package-frame.html @@ -0,0 +1,41 @@ + + + + + +org.apache.jmeter.engine.event (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.engine.event + + + + +
+Interfaces  + +
+LoopIterationListener
+ + + + + + +
+Classes  + +
+LoopIterationEvent
+ + + + diff --git a/docs/api/org/apache/jmeter/engine/event/package-summary.html b/docs/api/org/apache/jmeter/engine/event/package-summary.html new file mode 100644 index 00000000000..9af18db017d --- /dev/null +++ b/docs/api/org/apache/jmeter/engine/event/package-summary.html @@ -0,0 +1,168 @@ + + + + + +org.apache.jmeter.engine.event (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.engine.event +

+ + + + + + + + + +
+Interface Summary
LoopIterationListenerAllows a class to receive loop iteration start events.
+  + +

+ + + + + + + + + +
+Class Summary
LoopIterationEventAn iteration event provides information about the iteration number and the + source of the event.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/engine/event/package-tree.html b/docs/api/org/apache/jmeter/engine/event/package-tree.html new file mode 100644 index 00000000000..66fbcdf261b --- /dev/null +++ b/docs/api/org/apache/jmeter/engine/event/package-tree.html @@ -0,0 +1,154 @@ + + + + + +org.apache.jmeter.engine.event Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.engine.event +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/engine/package-frame.html b/docs/api/org/apache/jmeter/engine/package-frame.html new file mode 100644 index 00000000000..e3783a7ae2f --- /dev/null +++ b/docs/api/org/apache/jmeter/engine/package-frame.html @@ -0,0 +1,70 @@ + + + + + +org.apache.jmeter.engine (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.engine + + + + +
+Interfaces  + +
+JMeterEngine +
+RemoteJMeterEngine
+ + + + + + +
+Classes  + +
+ClientJMeterEngine +
+ConvertListeners +
+DistributedRunner +
+PreCompiler +
+RemoteJMeterEngineImpl +
+StandardJMeterEngine +
+TreeCloner +
+TreeClonerNoTimer +
+TurnElementsOn
+ + + + + + +
+Exceptions  + +
+JMeterEngineException
+ + + + diff --git a/docs/api/org/apache/jmeter/engine/package-summary.html b/docs/api/org/apache/jmeter/engine/package-summary.html new file mode 100644 index 00000000000..afe1160bf37 --- /dev/null +++ b/docs/api/org/apache/jmeter/engine/package-summary.html @@ -0,0 +1,234 @@ + + + + + +org.apache.jmeter.engine (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.engine +

+This package contains the interfaces and classes that are used to run JMeter tests. +

+See: +
+          Description +

+ + + + + + + + + + + + + +
+Interface Summary
JMeterEngineThis interface is implemented by classes that can run JMeter tests.
RemoteJMeterEngineThis is the interface for the RMI server engine, i.e.
+  + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
ClientJMeterEngineClass to run remote tests from the client JMeter and collect remote samples
ConvertListenersConverts the Remoteable Test and Sample Listeners in the test tree by wrapping + them with RemoteSampleListeners so that the samples are returned to the client.
DistributedRunnerThis class serves all responsibility of starting and stopping distributed tests.
PreCompilerClass to replace function and variable references in the test tree.
RemoteJMeterEngineImplThis is the JMeter server main code.
StandardJMeterEngineRuns JMeter tests, either directly for local GUI and non-GUI invocations, + or started by RemoteJMeterEngineImpl when running in server mode.
TreeClonerClones the test tree, skipping test elements that implement NoThreadClone by default.
TreeClonerNoTimerClones the test tree, skipping test elements that implement Timer by default.
TurnElementsOnInvokes setRunningVersion(true) for all matched nodes
+  + +

+ + + + + + + + + +
+Exception Summary
JMeterEngineExceptionException class for use by JMeterEngine.runTest() and RemoteJMeterEngine.rrunTest()
+  + +

+

+Package org.apache.jmeter.engine Description +

+ +

+This package contains the interfaces and classes that are used to run JMeter tests. +

+ +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/engine/package-tree.html b/docs/api/org/apache/jmeter/engine/package-tree.html new file mode 100644 index 00000000000..a4d5ddcab0e --- /dev/null +++ b/docs/api/org/apache/jmeter/engine/package-tree.html @@ -0,0 +1,178 @@ + + + + + +org.apache.jmeter.engine Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.engine +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/engine/util/CompoundVariable.html b/docs/api/org/apache/jmeter/engine/util/CompoundVariable.html new file mode 100644 index 00000000000..cbe93aa25bd --- /dev/null +++ b/docs/api/org/apache/jmeter/engine/util/CompoundVariable.html @@ -0,0 +1,554 @@ + + + + + +CompoundVariable (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.engine.util +
+Class CompoundVariable

+
+java.lang.Object
+  extended by org.apache.jmeter.engine.util.CompoundVariable
+
+
+
All Implemented Interfaces:
Function
+
+
+
+
public class CompoundVariable
extends Object
implements Function
+ + +

+CompoundFunction. +

+ +

+


+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
CompoundVariable() + +
+           
CompoundVariable(String parameters) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclear() + +
+           
+ Stringexecute() + +
+           
+ Stringexecute(SampleResult previousResult, + Sampler currentSampler) + +
+          Given the previous SampleResult and the current Sampler, return a string + to use as a replacement value for the function call.
+ List<String>getArgumentDesc() + +
+          Return a list of strings briefly describing each parameter your function + takes.
+ CompoundVariablegetFunction() + +
+           
+static Class<? extends Function>getFunctionClass(String className) + +
+           
+static String[]getFunctionNames() + +
+           
+ StringgetRawParameters() + +
+          Allows the retrieval of the original String prior to it being compiled.
+ StringgetReferenceKey() + +
+          Return the name of your function.
+ booleanhasFunction() + +
+           
+ voidsetParameters(Collection<CompoundVariable> parameters) + +
+          A collection of the parameters used to configure your function.
+ voidsetParameters(String parameters) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+CompoundVariable

+
+public CompoundVariable()
+
+
+
+ +

+CompoundVariable

+
+public CompoundVariable(String parameters)
+
+
+ + + + + + + + +
+Method Detail
+ +

+execute

+
+public String execute()
+
+
+
+
+
+
+
+
+
+ +

+getRawParameters

+
+public String getRawParameters()
+
+
Allows the retrieval of the original String prior to it being compiled. +

+

+
+
+
+ +
Returns:
String
+
+
+
+ +

+execute

+
+public String execute(SampleResult previousResult,
+                      Sampler currentSampler)
+
+
Given the previous SampleResult and the current Sampler, return a string + to use as a replacement value for the function call. Assume + "setParameter" was previously called. + + This method must be threadsafe - multiple threads will be using the same + object. +

+

+
Specified by:
execute in interface Function
+
+
+
Parameters:
previousResult - The previous SampleResult
currentSampler - The current Sampler +
Returns:
The replacement value, which was generated by the function
+
+
+
+ +

+getFunction

+
+public CompoundVariable getFunction()
+
+
+
+
+
+
+
+
+
+ +

+getArgumentDesc

+
+public List<String> getArgumentDesc()
+
+
Return a list of strings briefly describing each parameter your function + takes. Please use JMeterUtils.getResString(resource_name) to grab a + resource string. Otherwise, your help text will be difficult to + internationalize. + + This list is not optional. If you don't wish to write help, you must at + least return a List containing the correct number of blank strings, one + for each argument. +

+

+
Specified by:
getArgumentDesc in interface Function
+
+
+ +
Returns:
List with brief descriptions for each parameter the function takes
+
+
+
+ +

+clear

+
+public void clear()
+
+
+
+
+
+
+
+
+
+ +

+setParameters

+
+public void setParameters(String parameters)
+                   throws InvalidVariableException
+
+
+
+
+
+ +
Throws: +
InvalidVariableException
+
+
+
+ +

+getFunctionClass

+
+public static Class<? extends Function> getFunctionClass(String className)
+
+
+
+
+
+
+
+
+
+ +

+getFunctionNames

+
+public static String[] getFunctionNames()
+
+
+
+
+
+
+
+
+
+ +

+hasFunction

+
+public boolean hasFunction()
+
+
+
+
+
+
+
+
+
+ +

+getReferenceKey

+
+public String getReferenceKey()
+
+
Return the name of your function. Convention is to prepend "__" to the + name (ie "__regexFunction") +

+

+
Specified by:
getReferenceKey in interface Function
+
+
+ +
Returns:
The name of the funtion
+
+
+
+ +

+setParameters

+
+public void setParameters(Collection<CompoundVariable> parameters)
+                   throws InvalidVariableException
+
+
A collection of the parameters used to configure your function. Each + parameter is a CompoundVariable and can be resolved by calling the + execute() method of the CompoundVariable (which should be done at + execution.) +

+

+
Specified by:
setParameters in interface Function
+
+
+
Parameters:
parameters - The parameters for the function call +
Throws: +
InvalidVariableException - - when the variables for the function call can't be evaluated
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/engine/util/ConfigMergabilityIndicator.html b/docs/api/org/apache/jmeter/engine/util/ConfigMergabilityIndicator.html new file mode 100644 index 00000000000..a055f452d32 --- /dev/null +++ b/docs/api/org/apache/jmeter/engine/util/ConfigMergabilityIndicator.html @@ -0,0 +1,216 @@ + + + + + +ConfigMergabilityIndicator (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.engine.util +
+Interface ConfigMergabilityIndicator

+
+
All Known Implementing Classes:
AbstractSampler, AccessLogSampler, AjpSampler, BaseJMSSampler, BeanShellSampler, BSFSampler, DebugSampler, Example1, Example2, Example3, ExampleSampler, FTPSampler, HTTPSampler, HTTPSampler2, HTTPSamplerBase, HTTPSamplerProxy, JavaSampler, JDBCSampler, JMSSampler, JSR223Sampler, JUnitSampler, LDAPExtSampler, LDAPSampler, MailReaderSampler, MongoScriptSampler, PublisherSampler, SmtpSampler, SoapSampler, SubscriberSampler, SystemSampler, TCPSampler, TestAction, TransactionSampler, WebServiceSampler
+
+
+
+
public interface ConfigMergabilityIndicator
+ + +

+Interface that gives a hint about the merge policy to apply between Samplers and Config elements +

+ +

+

+
Since:
+
2.7
+
See Also:
TestCompiler.configureWithConfigElements(org.apache.jmeter.samplers.Sampler, java.util.List)
+
+ +

+ + + + + + + + + + + + +
+Method Summary
+ booleanapplies(ConfigTestElement configElement) + +
+          Does configElement apply to Sampler
+  +

+ + + + + + + + +
+Method Detail
+ +

+applies

+
+boolean applies(ConfigTestElement configElement)
+
+
Does configElement apply to Sampler +

+

+
Parameters:
configElement - ConfigTestElement +
Returns:
boolean
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/engine/util/NoConfigMerge.html b/docs/api/org/apache/jmeter/engine/util/NoConfigMerge.html new file mode 100644 index 00000000000..787db941d2d --- /dev/null +++ b/docs/api/org/apache/jmeter/engine/util/NoConfigMerge.html @@ -0,0 +1,178 @@ + + + + + +NoConfigMerge (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.engine.util +
+Interface NoConfigMerge

+
+
All Known Implementing Classes:
CSVDataSet, RandomVariableConfig
+
+
+
+
public interface NoConfigMerge
+ + +

+Implement this method-less interface to indicate that this ConfigElement should not be merged. + Otherwise, the default behavior is to merge the element with every sampler in scope. +

+ +

+

+
Since:
+
2.7
+
Version:
+
$Revision: 1396805 $
+
See Also:
TestCompiler.configureSampler(org.apache.jmeter.samplers.Sampler)
+
+ +

+ +

+ +


+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/engine/util/NoThreadClone.html b/docs/api/org/apache/jmeter/engine/util/NoThreadClone.html new file mode 100644 index 00000000000..04ab09a1b57 --- /dev/null +++ b/docs/api/org/apache/jmeter/engine/util/NoThreadClone.html @@ -0,0 +1,177 @@ + + + + + +NoThreadClone (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.engine.util +
+Interface NoThreadClone

+
+
All Known Implementing Classes:
BackendListener, CounterConfig, MailerResultCollector, RandomVariableConfig, RemoteListenerWrapper, RemoteSampleListenerWrapper, RemoteTestListenerWrapper, RemoteThreadsListenerWrapper, ResultCollector, Summariser
+
+
+
+
public interface NoThreadClone
+ + +

+Implement this method-less interface to indicate your test element should not + be cloned for each thread in a test run. Otherwise, the default behavior is + to clone every test element for each thread. +

+ +

+

+
Version:
+
$Revision: 493779 $
+
+
+ +

+ +

+ +


+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/engine/util/ReplaceFunctionsWithStrings.html b/docs/api/org/apache/jmeter/engine/util/ReplaceFunctionsWithStrings.html new file mode 100644 index 00000000000..ecf82d054e5 --- /dev/null +++ b/docs/api/org/apache/jmeter/engine/util/ReplaceFunctionsWithStrings.html @@ -0,0 +1,371 @@ + + + + + +ReplaceFunctionsWithStrings (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.engine.util +
+Class ReplaceFunctionsWithStrings

+
+java.lang.Object
+  extended by org.apache.jmeter.engine.util.ReplaceFunctionsWithStrings
+
+
+
+
public class ReplaceFunctionsWithStrings
extends Object
+ + +

+Transforms strings into variable references (in spite of the name, which + suggests the opposite!) +

+ +

+


+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
ReplaceFunctionsWithStrings(CompoundVariable masterFunction, + Map<String,String> variables) + +
+           
ReplaceFunctionsWithStrings(CompoundVariable masterFunction, + Map<String,String> variables, + boolean regexMatch) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+protected  CompoundVariablegetMasterFunction() + +
+           
+ Map<String,String>getVariables() + +
+           
+ voidsetMasterFunction(CompoundVariable variable) + +
+          Set the master function for the value transformer.
+ voidsetVariables(Map<String,String> map) + +
+          Set the variable names and values used to reverse replace functions with + strings, and undo functions to raw values.
+ JMeterPropertytransformValue(JMeterProperty prop) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ReplaceFunctionsWithStrings

+
+public ReplaceFunctionsWithStrings(CompoundVariable masterFunction,
+                                   Map<String,String> variables)
+
+
+
+ +

+ReplaceFunctionsWithStrings

+
+public ReplaceFunctionsWithStrings(CompoundVariable masterFunction,
+                                   Map<String,String> variables,
+                                   boolean regexMatch)
+
+
+ + + + + + + + +
+Method Detail
+ +

+transformValue

+
+public JMeterProperty transformValue(JMeterProperty prop)
+                              throws InvalidVariableException
+
+
+ +
Throws: +
InvalidVariableException
+
+
+
+ +

+setMasterFunction

+
+public void setMasterFunction(CompoundVariable variable)
+
+
Set the master function for the value transformer. This handles + converting strings to functions. +

+

+
+
+
+
Parameters:
variable - Function to be used for the transformation
+
+
+
+ +

+getMasterFunction

+
+protected CompoundVariable getMasterFunction()
+
+
+
+
+
+
+
+
+
+ +

+getVariables

+
+public Map<String,String> getVariables()
+
+
+
+
+
+
+
+
+
+ +

+setVariables

+
+public void setVariables(Map<String,String> map)
+
+
Set the variable names and values used to reverse replace functions with + strings, and undo functions to raw values. +

+

+
+
+
+
Parameters:
map - Map of names and values to be used for the transformation
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/engine/util/ReplaceStringWithFunctions.html b/docs/api/org/apache/jmeter/engine/util/ReplaceStringWithFunctions.html new file mode 100644 index 00000000000..fd9168c9019 --- /dev/null +++ b/docs/api/org/apache/jmeter/engine/util/ReplaceStringWithFunctions.html @@ -0,0 +1,354 @@ + + + + + +ReplaceStringWithFunctions (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.engine.util +
+Class ReplaceStringWithFunctions

+
+java.lang.Object
+  extended by org.apache.jmeter.engine.util.ReplaceStringWithFunctions
+
+
+
+
public class ReplaceStringWithFunctions
extends Object
+ + +

+Replaces a String containing functions with their Function properties equivalent, example: + ${__time()}_${__threadNum()}_${__machineName()} will become a FunctionProperty of + a CompoundVariable containing 3 functions +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
ReplaceStringWithFunctions(CompoundVariable masterFunction, + Map<String,String> variables) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+protected  CompoundVariablegetMasterFunction() + +
+           
+ Map<String,String>getVariables() + +
+           
+ voidsetMasterFunction(CompoundVariable variable) + +
+          Set the master function for the value transformer.
+ voidsetVariables(Map<String,String> map) + +
+          Set the variable names and values used to reverse replace functions with + strings, and undo functions to raw values.
+ JMeterPropertytransformValue(JMeterProperty prop) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ReplaceStringWithFunctions

+
+public ReplaceStringWithFunctions(CompoundVariable masterFunction,
+                                  Map<String,String> variables)
+
+
+ + + + + + + + +
+Method Detail
+ +

+transformValue

+
+public JMeterProperty transformValue(JMeterProperty prop)
+                              throws InvalidVariableException
+
+
+ +
Throws: +
InvalidVariableException
+
+
+
+ +

+setMasterFunction

+
+public void setMasterFunction(CompoundVariable variable)
+
+
Set the master function for the value transformer. This handles + converting strings to functions. +

+

+
+
+
+
Parameters:
variable - Function to be used for the transformation
+
+
+
+ +

+getMasterFunction

+
+protected CompoundVariable getMasterFunction()
+
+
+
+
+
+
+
+
+
+ +

+getVariables

+
+public Map<String,String> getVariables()
+
+
+
+
+
+
+
+
+
+ +

+setVariables

+
+public void setVariables(Map<String,String> map)
+
+
Set the variable names and values used to reverse replace functions with + strings, and undo functions to raw values. +

+

+
+
+
+
Parameters:
map - Map of names and values to be used for the transformation
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/engine/util/SimpleVariable.html b/docs/api/org/apache/jmeter/engine/util/SimpleVariable.html new file mode 100644 index 00000000000..d5056a3a23b --- /dev/null +++ b/docs/api/org/apache/jmeter/engine/util/SimpleVariable.html @@ -0,0 +1,303 @@ + + + + + +SimpleVariable (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.engine.util +
+Class SimpleVariable

+
+java.lang.Object
+  extended by org.apache.jmeter.engine.util.SimpleVariable
+
+
+
+
public class SimpleVariable
extends Object
+ + +

+


+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
SimpleVariable() + +
+           
SimpleVariable(String name) + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetName() + +
+           
+ voidsetName(String name) + +
+           
+ StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SimpleVariable

+
+public SimpleVariable(String name)
+
+
+
+ +

+SimpleVariable

+
+public SimpleVariable()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getName

+
+public String getName()
+
+
+
+
+
+
+ +

+setName

+
+public void setName(String name)
+
+
+
+
+
+
+ +

+toString

+
+public String toString()
+
+
+
Overrides:
toString in class Object
+
+
+
See Also:
Function.execute(org.apache.jmeter.samplers.SampleResult, org.apache.jmeter.samplers.Sampler)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/engine/util/UndoVariableReplacement.html b/docs/api/org/apache/jmeter/engine/util/UndoVariableReplacement.html new file mode 100644 index 00000000000..ff234b40c0f --- /dev/null +++ b/docs/api/org/apache/jmeter/engine/util/UndoVariableReplacement.html @@ -0,0 +1,353 @@ + + + + + +UndoVariableReplacement (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.engine.util +
+Class UndoVariableReplacement

+
+java.lang.Object
+  extended by org.apache.jmeter.engine.util.UndoVariableReplacement
+
+
+
+
public class UndoVariableReplacement
extends Object
+ + +

+Replaces ${key} by value extracted from + JMeterVariables if any +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
UndoVariableReplacement(CompoundVariable masterFunction, + Map<String,String> variables) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+protected  CompoundVariablegetMasterFunction() + +
+           
+ Map<String,String>getVariables() + +
+           
+ voidsetMasterFunction(CompoundVariable variable) + +
+          Set the master function for the value transformer.
+ voidsetVariables(Map<String,String> map) + +
+          Set the variable names and values used to reverse replace functions with + strings, and undo functions to raw values.
+ JMeterPropertytransformValue(JMeterProperty prop) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+UndoVariableReplacement

+
+public UndoVariableReplacement(CompoundVariable masterFunction,
+                               Map<String,String> variables)
+
+
+ + + + + + + + +
+Method Detail
+ +

+transformValue

+
+public JMeterProperty transformValue(JMeterProperty prop)
+                              throws InvalidVariableException
+
+
+ +
Throws: +
InvalidVariableException
+
+
+
+ +

+setMasterFunction

+
+public void setMasterFunction(CompoundVariable variable)
+
+
Set the master function for the value transformer. This handles + converting strings to functions. +

+

+
+
+
+
Parameters:
variable - Function to be used for the transformation
+
+
+
+ +

+getMasterFunction

+
+protected CompoundVariable getMasterFunction()
+
+
+
+
+
+
+
+
+
+ +

+getVariables

+
+public Map<String,String> getVariables()
+
+
+
+
+
+
+
+
+
+ +

+setVariables

+
+public void setVariables(Map<String,String> map)
+
+
Set the variable names and values used to reverse replace functions with + strings, and undo functions to raw values. +

+

+
+
+
+
Parameters:
map - Map of names and values to be used for the transformation
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/engine/util/ValueReplacer.html b/docs/api/org/apache/jmeter/engine/util/ValueReplacer.html new file mode 100644 index 00000000000..4af4d815273 --- /dev/null +++ b/docs/api/org/apache/jmeter/engine/util/ValueReplacer.html @@ -0,0 +1,422 @@ + + + + + +ValueReplacer (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.engine.util +
+Class ValueReplacer

+
+java.lang.Object
+  extended by org.apache.jmeter.engine.util.ValueReplacer
+
+
+
+
public class ValueReplacer
extends Object
+ + +

+Perfom replacement of ${variable} references. +

+ +

+


+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
ValueReplacer() + +
+           
ValueReplacer(TestPlan tp) + +
+          Constructor which couples the given TestPlan to this by means of the user defined variables
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddVariable(String name, + String value) + +
+          Add a variable to this replacer's variables map
+ voidaddVariables(Map<String,String> vars) + +
+          Add all the given variables to this replacer's variables map.
+ voidreplaceValues(TestElement el) + +
+          Replaces TestElement StringProperties containing functions with their Function properties equivalent, example: + ${__time()}_${__threadNum()}_${__machineName()} will become a FunctionProperty of + a CompoundVariable containing 3 functions
+ voidreverseReplace(TestElement el) + +
+          Transforms strings into variable references
+ voidreverseReplace(TestElement el, + boolean regexMatch) + +
+          Transforms strings into variable references using regexp matching if regexMatch is true
+ voidsetUserDefinedVariables(Map<String,String> variables) + +
+          Set this ValueReplacer's variable map
+ voidundoReverseReplace(TestElement el) + +
+          Replaces ${key} by value extracted from variables if any
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ValueReplacer

+
+public ValueReplacer()
+
+
+
+ +

+ValueReplacer

+
+public ValueReplacer(TestPlan tp)
+
+
Constructor which couples the given TestPlan to this by means of the user defined variables +

+

+
Parameters:
tp - TestPlan from which we will take the user defined variables as variables map
+
+ + + + + + + + +
+Method Detail
+ +

+setUserDefinedVariables

+
+public void setUserDefinedVariables(Map<String,String> variables)
+
+
Set this ValueReplacer's variable map +

+

+
Parameters:
variables - Map which stores the variables
+
+
+
+ +

+replaceValues

+
+public void replaceValues(TestElement el)
+                   throws InvalidVariableException
+
+
Replaces TestElement StringProperties containing functions with their Function properties equivalent, example: + ${__time()}_${__threadNum()}_${__machineName()} will become a FunctionProperty of + a CompoundVariable containing 3 functions +

+

+
Parameters:
el - TestElement in which the values should be replaced +
Throws: +
InvalidVariableException - when transforming of the variables goes awry and + the used transformer throws an InvalidVariableException
+
+
+
+ +

+reverseReplace

+
+public void reverseReplace(TestElement el)
+                    throws InvalidVariableException
+
+
Transforms strings into variable references +

+

+
Parameters:
el - TestElement in which the we will look for strings, that can be replaced by variable references +
Throws: +
InvalidVariableException - when transforming of the strings goes awry and + the used transformer throws an InvalidVariableException
+
+
+
+ +

+reverseReplace

+
+public void reverseReplace(TestElement el,
+                           boolean regexMatch)
+                    throws InvalidVariableException
+
+
Transforms strings into variable references using regexp matching if regexMatch is true +

+

+
Parameters:
el - TestElement in which the we will look for strings, that can be replaced by variable references
regexMatch - when true variable substitution will be done in regexp matching mode +
Throws: +
InvalidVariableException - when transforming of the strings goes awry and + the used transformer throws an InvalidVariableException
+
+
+
+ +

+undoReverseReplace

+
+public void undoReverseReplace(TestElement el)
+                        throws InvalidVariableException
+
+
Replaces ${key} by value extracted from variables if any +

+

+
Parameters:
el - TestElement in which values should be replaced +
Throws: +
InvalidVariableException - when transforming of the variables goes awry and + the used transformer throws an InvalidVariableException
+
+
+
+ +

+addVariable

+
+public void addVariable(String name,
+                        String value)
+
+
Add a variable to this replacer's variables map +

+

+
Parameters:
name - Name of the variable
value - Value of the variable
+
+
+
+ +

+addVariables

+
+public void addVariables(Map<String,String> vars)
+
+
Add all the given variables to this replacer's variables map. +

+

+
Parameters:
vars - A map of variable name-value pairs (String-to-String).
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/engine/util/package-frame.html b/docs/api/org/apache/jmeter/engine/util/package-frame.html new file mode 100644 index 00000000000..7558dd94d32 --- /dev/null +++ b/docs/api/org/apache/jmeter/engine/util/package-frame.html @@ -0,0 +1,55 @@ + + + + + +org.apache.jmeter.engine.util (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.engine.util + + + + +
+Interfaces  + +
+ConfigMergabilityIndicator +
+NoConfigMerge +
+NoThreadClone
+ + + + + + +
+Classes  + +
+CompoundVariable +
+ReplaceFunctionsWithStrings +
+ReplaceStringWithFunctions +
+SimpleVariable +
+UndoVariableReplacement +
+ValueReplacer
+ + + + diff --git a/docs/api/org/apache/jmeter/engine/util/package-summary.html b/docs/api/org/apache/jmeter/engine/util/package-summary.html new file mode 100644 index 00000000000..6d457643e8c --- /dev/null +++ b/docs/api/org/apache/jmeter/engine/util/package-summary.html @@ -0,0 +1,200 @@ + + + + + +org.apache.jmeter.engine.util (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.engine.util +

+ + + + + + + + + + + + + + + + + +
+Interface Summary
ConfigMergabilityIndicatorInterface that gives a hint about the merge policy to apply between Samplers and Config elements
NoConfigMergeImplement this method-less interface to indicate that this ConfigElement should not be merged.
NoThreadCloneImplement this method-less interface to indicate your test element should not + be cloned for each thread in a test run.
+  + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
CompoundVariableCompoundFunction.
ReplaceFunctionsWithStringsTransforms strings into variable references (in spite of the name, which + suggests the opposite!)
ReplaceStringWithFunctionsReplaces a String containing functions with their Function properties equivalent, example: + ${__time()}_${__threadNum()}_${__machineName()} will become a FunctionProperty of + a CompoundVariable containing 3 functions
SimpleVariable 
UndoVariableReplacementReplaces ${key} by value extracted from + JMeterVariables if any
ValueReplacerPerfom replacement of ${variable} references.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/engine/util/package-tree.html b/docs/api/org/apache/jmeter/engine/util/package-tree.html new file mode 100644 index 00000000000..4de57749070 --- /dev/null +++ b/docs/api/org/apache/jmeter/engine/util/package-tree.html @@ -0,0 +1,155 @@ + + + + + +org.apache.jmeter.engine.util Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.engine.util +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/examples/sampler/ExampleSampler.html b/docs/api/org/apache/jmeter/examples/sampler/ExampleSampler.html new file mode 100644 index 00000000000..0d33441f7d2 --- /dev/null +++ b/docs/api/org/apache/jmeter/examples/sampler/ExampleSampler.html @@ -0,0 +1,367 @@ + + + + + +ExampleSampler (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.examples.sampler +
+Class ExampleSampler

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.samplers.AbstractSampler
+          extended by org.apache.jmeter.examples.sampler.ExampleSampler
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, ConfigMergabilityIndicator, Searchable, Sampler, TestElement
+
+
+
+
public class ExampleSampler
extends AbstractSampler
+ + +

+Example Sampler (non-Bean version) + + JMeter creates an instance of a sampler class for every occurrence of the + element in every thread. [some additional copies may be created before the + test run starts] + + Thus each sampler is guaranteed to be called by a single thread - there is no + need to synchronize access to instance variables. + + However, access to class fields must be synchronized. +

+ +

+

+
Version:
+
$Revision: 1595401 $
+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Field Summary
+static StringDATA + +
+           
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
ExampleSampler() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetData() + +
+           
+ SampleResultsample(Entry e) + +
+          Obtains statistics about the given Entry, and packages the information + into a SampleResult.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.samplers.AbstractSampler
applies
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.testelement.TestElement
addTestElement, canRemove, clear, clearTestElementChildren, clone, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse
+  +

+ + + + + + + + +
+Field Detail
+ +

+DATA

+
+public static final String DATA
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+ExampleSampler

+
+public ExampleSampler()
+
+
+ + + + + + + + +
+Method Detail
+ +

+sample

+
+public SampleResult sample(Entry e)
+
+
Obtains statistics about the given Entry, and packages the information + into a SampleResult. +

+

+
Parameters:
e - the Entry (TODO seems to be unused) +
Returns:
information about the sample
+
+
+
+ +

+getData

+
+public String getData()
+
+
+ +
Returns:
the data for the sample
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/examples/sampler/gui/ExampleSamplerGui.html b/docs/api/org/apache/jmeter/examples/sampler/gui/ExampleSamplerGui.html new file mode 100644 index 00000000000..b3a39cfb203 --- /dev/null +++ b/docs/api/org/apache/jmeter/examples/sampler/gui/ExampleSamplerGui.html @@ -0,0 +1,541 @@ + + + + + +ExampleSamplerGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.examples.sampler.gui +
+Class ExampleSamplerGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.samplers.gui.AbstractSamplerGui
+                          extended by org.apache.jmeter.examples.sampler.gui.ExampleSamplerGui
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
+
public class ExampleSamplerGui
extends AbstractSamplerGui
+ + +

+Example Sampler (non-Bean version) + + This class is responsible for ensuring that the Sampler data is kept in step + with the GUI. + + The GUI class is not invoked in non-GUI mode, so it should not perform any + additional setup that a test would need at run-time +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
ExampleSamplerGui() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclearGui() + +
+          Provides a default implementation that resets the name field to the value of + getStaticLabel(), reset comment and sets enabled to true.
+ voidconfigure(TestElement element) + +
+          A newly created gui component can be initialized with the contents of a + Test Element object by calling this method.
+ TestElementcreateTestElement() + +
+          JMeter test components are separated into a model and a GUI + representation.
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ voidmodifyTestElement(TestElement te) + +
+          GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.samplers.gui.AbstractSamplerGui
createPopupMenu, getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ExampleSamplerGui

+
+public ExampleSamplerGui()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+ +
Returns:
the resource name
+
+
+
+ +

+configure

+
+public void configure(TestElement element)
+
+
A newly created gui component can be initialized with the contents of a + Test Element object by calling this method. The component is responsible + for querying the Test Element object for the relevant information to + display in its GUI. +

+ AbstractJMeterGuiComponent provides a partial implementation of this + method, setting the name of the component and its enabled status. + Subclasses should override this method, performing their own + configuration as needed, but also calling this super-implementation. +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class AbstractJMeterGuiComponent
+
+
+
Parameters:
element - the TestElement to configure
+
+
+
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
JMeter test components are separated into a model and a GUI + representation. The model holds the data and the GUI displays it. The GUI + class is responsible for knowing how to create and initialize with data + the model class that it knows how to display, and this method is called + when new test elements are created. +

+

+ +
Returns:
the Test Element object that the GUI component represents.
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement te)
+
+
GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components. This method should + overwrite whatever data is currently in the TestElement as it is called + after a user has filled out the form elements in the gui with new + information. +

+

+
Parameters:
te - the TestElement to modify
+
+
+
+ +

+clearGui

+
+public void clearGui()
+
+
Provides a default implementation that resets the name field to the value of + getStaticLabel(), reset comment and sets enabled to true. Your GUI may need more things + cleared, in which case you should override, clear the extra fields, and + still call super.clearGui(). +

+

+
Specified by:
clearGui in interface ClearGui
Overrides:
clearGui in class AbstractJMeterGuiComponent
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/examples/sampler/gui/package-frame.html b/docs/api/org/apache/jmeter/examples/sampler/gui/package-frame.html new file mode 100644 index 00000000000..eb28b0c2186 --- /dev/null +++ b/docs/api/org/apache/jmeter/examples/sampler/gui/package-frame.html @@ -0,0 +1,30 @@ + + + + + +org.apache.jmeter.examples.sampler.gui (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.examples.sampler.gui + + + + +
+Classes  + +
+ExampleSamplerGui
+ + + + diff --git a/docs/api/org/apache/jmeter/examples/sampler/gui/package-summary.html b/docs/api/org/apache/jmeter/examples/sampler/gui/package-summary.html new file mode 100644 index 00000000000..f7113804927 --- /dev/null +++ b/docs/api/org/apache/jmeter/examples/sampler/gui/package-summary.html @@ -0,0 +1,156 @@ + + + + + +org.apache.jmeter.examples.sampler.gui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.examples.sampler.gui +

+ + + + + + + + + +
+Class Summary
ExampleSamplerGuiExample Sampler (non-Bean version) + + This class is responsible for ensuring that the Sampler data is kept in step + with the GUI.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/examples/sampler/gui/package-tree.html b/docs/api/org/apache/jmeter/examples/sampler/gui/package-tree.html new file mode 100644 index 00000000000..17ed0f0fdaf --- /dev/null +++ b/docs/api/org/apache/jmeter/examples/sampler/gui/package-tree.html @@ -0,0 +1,165 @@ + + + + + +org.apache.jmeter.examples.sampler.gui Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.examples.sampler.gui +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/examples/sampler/package-frame.html b/docs/api/org/apache/jmeter/examples/sampler/package-frame.html new file mode 100644 index 00000000000..334aa4c18d3 --- /dev/null +++ b/docs/api/org/apache/jmeter/examples/sampler/package-frame.html @@ -0,0 +1,30 @@ + + + + + +org.apache.jmeter.examples.sampler (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.examples.sampler + + + + +
+Classes  + +
+ExampleSampler
+ + + + diff --git a/docs/api/org/apache/jmeter/examples/sampler/package-summary.html b/docs/api/org/apache/jmeter/examples/sampler/package-summary.html new file mode 100644 index 00000000000..4df753f2f44 --- /dev/null +++ b/docs/api/org/apache/jmeter/examples/sampler/package-summary.html @@ -0,0 +1,156 @@ + + + + + +org.apache.jmeter.examples.sampler (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.examples.sampler +

+ + + + + + + + + +
+Class Summary
ExampleSamplerExample Sampler (non-Bean version) + + JMeter creates an instance of a sampler class for every occurrence of the + element in every thread.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/examples/sampler/package-tree.html b/docs/api/org/apache/jmeter/examples/sampler/package-tree.html new file mode 100644 index 00000000000..15ea556932d --- /dev/null +++ b/docs/api/org/apache/jmeter/examples/sampler/package-tree.html @@ -0,0 +1,155 @@ + + + + + +org.apache.jmeter.examples.sampler Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.examples.sampler +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/examples/testbeans/example1/Example1.html b/docs/api/org/apache/jmeter/examples/testbeans/example1/Example1.html new file mode 100644 index 00000000000..54e03ee40bd --- /dev/null +++ b/docs/api/org/apache/jmeter/examples/testbeans/example1/Example1.html @@ -0,0 +1,360 @@ + + + + + +Example1 (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.examples.testbeans.example1 +
+Class Example1

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.samplers.AbstractSampler
+          extended by org.apache.jmeter.examples.testbeans.example1.Example1
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, ConfigMergabilityIndicator, Searchable, Sampler, TestBean, TestElement
+
+
+
+
public class Example1
extends AbstractSampler
implements TestBean
+ + +

+This TestBean is just an example about how to write testbeans. The intent is + to demonstrate usage of the TestBean features to podential TestBean + developers. Note that only the class's introspector view matters: the methods + do nothing -- nothing useful, in any case. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
Example1() + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetMyStringProperty() + +
+           
+ SampleResultsample(Entry e) + +
+          Obtains statistics about the given Entry, and packages the information + into a SampleResult.
+ voidsetMyStringProperty(String s) + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.samplers.AbstractSampler
applies
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.testelement.TestElement
addTestElement, canRemove, clear, clearTestElementChildren, clone, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Example1

+
+public Example1()
+
+
+ + + + + + + + +
+Method Detail
+ +

+sample

+
+public SampleResult sample(Entry e)
+
+
Description copied from interface: Sampler
+
Obtains statistics about the given Entry, and packages the information + into a SampleResult. +

+

+
Specified by:
sample in interface Sampler
+
+
+
Parameters:
e - the Entry (TODO seems to be unused) +
Returns:
information about the sample
+
+
+
+ +

+setMyStringProperty

+
+public void setMyStringProperty(String s)
+
+
+
+
+
+
+
+
+
+ +

+getMyStringProperty

+
+public String getMyStringProperty()
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/examples/testbeans/example1/package-frame.html b/docs/api/org/apache/jmeter/examples/testbeans/example1/package-frame.html new file mode 100644 index 00000000000..952910d698b --- /dev/null +++ b/docs/api/org/apache/jmeter/examples/testbeans/example1/package-frame.html @@ -0,0 +1,30 @@ + + + + + +org.apache.jmeter.examples.testbeans.example1 (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.examples.testbeans.example1 + + + + +
+Classes  + +
+Example1
+ + + + diff --git a/docs/api/org/apache/jmeter/examples/testbeans/example1/package-summary.html b/docs/api/org/apache/jmeter/examples/testbeans/example1/package-summary.html new file mode 100644 index 00000000000..4c3863f731a --- /dev/null +++ b/docs/api/org/apache/jmeter/examples/testbeans/example1/package-summary.html @@ -0,0 +1,153 @@ + + + + + +org.apache.jmeter.examples.testbeans.example1 (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.examples.testbeans.example1 +

+ + + + + + + + + +
+Class Summary
Example1This TestBean is just an example about how to write testbeans.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/examples/testbeans/example1/package-tree.html b/docs/api/org/apache/jmeter/examples/testbeans/example1/package-tree.html new file mode 100644 index 00000000000..d5011bdfdcd --- /dev/null +++ b/docs/api/org/apache/jmeter/examples/testbeans/example1/package-tree.html @@ -0,0 +1,156 @@ + + + + + +org.apache.jmeter.examples.testbeans.example1 Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.examples.testbeans.example1 +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/examples/testbeans/example2/Example2.html b/docs/api/org/apache/jmeter/examples/testbeans/example2/Example2.html new file mode 100644 index 00000000000..6e63d9a4b4a --- /dev/null +++ b/docs/api/org/apache/jmeter/examples/testbeans/example2/Example2.html @@ -0,0 +1,360 @@ + + + + + +Example2 (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.examples.testbeans.example2 +
+Class Example2

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.samplers.AbstractSampler
+          extended by org.apache.jmeter.examples.testbeans.example2.Example2
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, ConfigMergabilityIndicator, Searchable, Sampler, TestBean, TestElement
+
+
+
+
public class Example2
extends AbstractSampler
implements TestBean
+ + +

+This TestBean is just an example about how to write testbeans. The intent is + to demonstrate usage of the TestBean features to podential TestBean + developers. Note that only the class's introspector view matters: the methods + do nothing -- nothing useful, in any case. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
Example2() + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetMyStringProperty() + +
+           
+ SampleResultsample(Entry e) + +
+          Obtains statistics about the given Entry, and packages the information + into a SampleResult.
+ voidsetMyStringProperty(String s) + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.samplers.AbstractSampler
applies
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.testelement.TestElement
addTestElement, canRemove, clear, clearTestElementChildren, clone, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Example2

+
+public Example2()
+
+
+ + + + + + + + +
+Method Detail
+ +

+sample

+
+public SampleResult sample(Entry e)
+
+
Description copied from interface: Sampler
+
Obtains statistics about the given Entry, and packages the information + into a SampleResult. +

+

+
Specified by:
sample in interface Sampler
+
+
+
Parameters:
e - the Entry (TODO seems to be unused) +
Returns:
information about the sample
+
+
+
+ +

+setMyStringProperty

+
+public void setMyStringProperty(String s)
+
+
+
+
+
+
+
+
+
+ +

+getMyStringProperty

+
+public String getMyStringProperty()
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/examples/testbeans/example2/Example2BeanInfo.html b/docs/api/org/apache/jmeter/examples/testbeans/example2/Example2BeanInfo.html new file mode 100644 index 00000000000..9e7768b5275 --- /dev/null +++ b/docs/api/org/apache/jmeter/examples/testbeans/example2/Example2BeanInfo.html @@ -0,0 +1,270 @@ + + + + + +Example2BeanInfo (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.examples.testbeans.example2 +
+Class Example2BeanInfo

+
+java.lang.Object
+  extended by java.beans.SimpleBeanInfo
+      extended by org.apache.jmeter.testbeans.BeanInfoSupport
+          extended by org.apache.jmeter.examples.testbeans.example2.Example2BeanInfo
+
+
+
All Implemented Interfaces:
BeanInfo
+
+
+
+
public class Example2BeanInfo
extends BeanInfoSupport
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.testbeans.BeanInfoSupport
DEFAULT, MULTILINE, NOT_EXPRESSION, NOT_OTHER, NOT_UNDEFINED, RESOURCE_BUNDLE, TAGS, TEXT_LANGUAGE
+ + + + + + + +
Fields inherited from interface java.beans.BeanInfo
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32
+  + + + + + + + + + + +
+Constructor Summary
Example2BeanInfo() + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testbeans.BeanInfoSupport
createPropertyGroup, getAdditionalBeanInfo, getBeanDescriptor, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getIcon, getMethodDescriptors, getPropertyDescriptors, property, property, property, setIcon
+ + + + + + + +
Methods inherited from class java.beans.SimpleBeanInfo
loadImage
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Example2BeanInfo

+
+public Example2BeanInfo()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/examples/testbeans/example2/package-frame.html b/docs/api/org/apache/jmeter/examples/testbeans/example2/package-frame.html new file mode 100644 index 00000000000..aef84d76687 --- /dev/null +++ b/docs/api/org/apache/jmeter/examples/testbeans/example2/package-frame.html @@ -0,0 +1,32 @@ + + + + + +org.apache.jmeter.examples.testbeans.example2 (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.examples.testbeans.example2 + + + + +
+Classes  + +
+Example2 +
+Example2BeanInfo
+ + + + diff --git a/docs/api/org/apache/jmeter/examples/testbeans/example2/package-summary.html b/docs/api/org/apache/jmeter/examples/testbeans/example2/package-summary.html new file mode 100644 index 00000000000..c4dab9e435e --- /dev/null +++ b/docs/api/org/apache/jmeter/examples/testbeans/example2/package-summary.html @@ -0,0 +1,157 @@ + + + + + +org.apache.jmeter.examples.testbeans.example2 (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.examples.testbeans.example2 +

+ + + + + + + + + + + + + +
+Class Summary
Example2This TestBean is just an example about how to write testbeans.
Example2BeanInfo 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/examples/testbeans/example2/package-tree.html b/docs/api/org/apache/jmeter/examples/testbeans/example2/package-tree.html new file mode 100644 index 00000000000..efeb28d80ee --- /dev/null +++ b/docs/api/org/apache/jmeter/examples/testbeans/example2/package-tree.html @@ -0,0 +1,161 @@ + + + + + +org.apache.jmeter.examples.testbeans.example2 Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.examples.testbeans.example2 +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/examples/testbeans/example3/Example3.html b/docs/api/org/apache/jmeter/examples/testbeans/example3/Example3.html new file mode 100644 index 00000000000..1ddaf8688d6 --- /dev/null +++ b/docs/api/org/apache/jmeter/examples/testbeans/example3/Example3.html @@ -0,0 +1,885 @@ + + + + + +Example3 (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.examples.testbeans.example3 +
+Class Example3

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.samplers.AbstractSampler
+          extended by org.apache.jmeter.examples.testbeans.example3.Example3
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, ConfigMergabilityIndicator, Searchable, Sampler, TestBean, TestElement
+
+
+
+
public class Example3
extends AbstractSampler
implements TestBean
+ + +

+This TestBean is just an example of the use of different TestBean types. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
Example3() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ BooleangetMyBoolean1() + +
+           
+ BooleangetMyBoolean2() + +
+           
+ FilegetMyFile1() + +
+           
+ StringgetMyFile2() + +
+           
+ intgetMyInt() + +
+           
+ IntegergetMyInteger1() + +
+           
+ IntegergetMyInteger2() + +
+           
+ longgetMylong() + +
+           
+ LonggetMyLong1() + +
+           
+ LonggetMyLong2() + +
+           
+ StringgetMyString1() + +
+           
+ StringgetMyString2() + +
+           
+ booleanisMybool() + +
+           
+ SampleResultsample(Entry ignored) + +
+          Obtains statistics about the given Entry, and packages the information + into a SampleResult.
+ voidsetMybool(boolean mybool) + +
+           
+ voidsetMyBoolean1(Boolean myBoolean1) + +
+           
+ voidsetMyBoolean2(Boolean myBoolean2) + +
+           
+ voidsetMyFile1(File myFile) + +
+           
+ voidsetMyFile2(String myFile) + +
+           
+ voidsetMyInt(int myInt) + +
+           
+ voidsetMyInteger1(Integer myInteger1) + +
+           
+ voidsetMyInteger2(Integer myInteger2) + +
+           
+ voidsetMylong(long mylong) + +
+           
+ voidsetMyLong1(Long myLong1) + +
+           
+ voidsetMyLong2(Long myLong2) + +
+           
+ voidsetMyString1(String myString1) + +
+           
+ voidsetMyString2(String myString2) + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.samplers.AbstractSampler
applies
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.testelement.TestElement
addTestElement, canRemove, clear, clearTestElementChildren, clone, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Example3

+
+public Example3()
+
+
+ + + + + + + + +
+Method Detail
+ +

+sample

+
+public SampleResult sample(Entry ignored)
+
+
Description copied from interface: Sampler
+
Obtains statistics about the given Entry, and packages the information + into a SampleResult. +

+

+
Specified by:
sample in interface Sampler
+
+
+
Parameters:
ignored - the Entry (TODO seems to be unused) +
Returns:
information about the sample
+
+
+
+ +

+isMybool

+
+public boolean isMybool()
+
+
+
+
+
+
+
+
+
+ +

+setMybool

+
+public void setMybool(boolean mybool)
+
+
+
+
+
+
+
+
+
+ +

+getMyBoolean1

+
+public Boolean getMyBoolean1()
+
+
+
+
+
+
+
+
+
+ +

+setMyBoolean1

+
+public void setMyBoolean1(Boolean myBoolean1)
+
+
+
+
+
+
+
+
+
+ +

+getMyBoolean2

+
+public Boolean getMyBoolean2()
+
+
+
+
+
+
+
+
+
+ +

+setMyBoolean2

+
+public void setMyBoolean2(Boolean myBoolean2)
+
+
+
+
+
+
+
+
+
+ +

+getMyInt

+
+public int getMyInt()
+
+
+
+
+
+
+
+
+
+ +

+setMyInt

+
+public void setMyInt(int myInt)
+
+
+
+
+
+
+
+
+
+ +

+getMyInteger1

+
+public Integer getMyInteger1()
+
+
+
+
+
+
+
+
+
+ +

+setMyInteger1

+
+public void setMyInteger1(Integer myInteger1)
+
+
+
+
+
+
+
+
+
+ +

+getMyInteger2

+
+public Integer getMyInteger2()
+
+
+
+
+
+
+
+
+
+ +

+setMyInteger2

+
+public void setMyInteger2(Integer myInteger2)
+
+
+
+
+
+
+
+
+
+ +

+getMylong

+
+public long getMylong()
+
+
+
+
+
+
+
+
+
+ +

+setMylong

+
+public void setMylong(long mylong)
+
+
+
+
+
+
+
+
+
+ +

+getMyLong1

+
+public Long getMyLong1()
+
+
+
+
+
+
+
+
+
+ +

+setMyLong1

+
+public void setMyLong1(Long myLong1)
+
+
+
+
+
+
+
+
+
+ +

+getMyLong2

+
+public Long getMyLong2()
+
+
+
+
+
+
+
+
+
+ +

+setMyLong2

+
+public void setMyLong2(Long myLong2)
+
+
+
+
+
+
+
+
+
+ +

+getMyString1

+
+public String getMyString1()
+
+
+
+
+
+
+
+
+
+ +

+setMyString1

+
+public void setMyString1(String myString1)
+
+
+
+
+
+
+
+
+
+ +

+getMyString2

+
+public String getMyString2()
+
+
+
+
+
+
+
+
+
+ +

+setMyString2

+
+public void setMyString2(String myString2)
+
+
+
+
+
+
+
+
+
+ +

+getMyFile1

+
+public File getMyFile1()
+
+
+
+
+
+
+
+
+
+ +

+setMyFile1

+
+public void setMyFile1(File myFile)
+
+
+
+
+
+
+
+
+
+ +

+getMyFile2

+
+public String getMyFile2()
+
+
+
+
+
+
+
+
+
+ +

+setMyFile2

+
+public void setMyFile2(String myFile)
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/examples/testbeans/example3/Example3BeanInfo.html b/docs/api/org/apache/jmeter/examples/testbeans/example3/Example3BeanInfo.html new file mode 100644 index 00000000000..91178486381 --- /dev/null +++ b/docs/api/org/apache/jmeter/examples/testbeans/example3/Example3BeanInfo.html @@ -0,0 +1,270 @@ + + + + + +Example3BeanInfo (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.examples.testbeans.example3 +
+Class Example3BeanInfo

+
+java.lang.Object
+  extended by java.beans.SimpleBeanInfo
+      extended by org.apache.jmeter.testbeans.BeanInfoSupport
+          extended by org.apache.jmeter.examples.testbeans.example3.Example3BeanInfo
+
+
+
All Implemented Interfaces:
BeanInfo
+
+
+
+
public class Example3BeanInfo
extends BeanInfoSupport
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.testbeans.BeanInfoSupport
DEFAULT, MULTILINE, NOT_EXPRESSION, NOT_OTHER, NOT_UNDEFINED, RESOURCE_BUNDLE, TAGS, TEXT_LANGUAGE
+ + + + + + + +
Fields inherited from interface java.beans.BeanInfo
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32
+  + + + + + + + + + + +
+Constructor Summary
Example3BeanInfo() + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testbeans.BeanInfoSupport
createPropertyGroup, getAdditionalBeanInfo, getBeanDescriptor, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getIcon, getMethodDescriptors, getPropertyDescriptors, property, property, property, setIcon
+ + + + + + + +
Methods inherited from class java.beans.SimpleBeanInfo
loadImage
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Example3BeanInfo

+
+public Example3BeanInfo()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/examples/testbeans/example3/package-frame.html b/docs/api/org/apache/jmeter/examples/testbeans/example3/package-frame.html new file mode 100644 index 00000000000..f02211cba6d --- /dev/null +++ b/docs/api/org/apache/jmeter/examples/testbeans/example3/package-frame.html @@ -0,0 +1,32 @@ + + + + + +org.apache.jmeter.examples.testbeans.example3 (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.examples.testbeans.example3 + + + + +
+Classes  + +
+Example3 +
+Example3BeanInfo
+ + + + diff --git a/docs/api/org/apache/jmeter/examples/testbeans/example3/package-summary.html b/docs/api/org/apache/jmeter/examples/testbeans/example3/package-summary.html new file mode 100644 index 00000000000..db85dd890a7 --- /dev/null +++ b/docs/api/org/apache/jmeter/examples/testbeans/example3/package-summary.html @@ -0,0 +1,157 @@ + + + + + +org.apache.jmeter.examples.testbeans.example3 (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.examples.testbeans.example3 +

+ + + + + + + + + + + + + +
+Class Summary
Example3This TestBean is just an example of the use of different TestBean types.
Example3BeanInfo 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/examples/testbeans/example3/package-tree.html b/docs/api/org/apache/jmeter/examples/testbeans/example3/package-tree.html new file mode 100644 index 00000000000..72d2b60b199 --- /dev/null +++ b/docs/api/org/apache/jmeter/examples/testbeans/example3/package-tree.html @@ -0,0 +1,161 @@ + + + + + +org.apache.jmeter.examples.testbeans.example3 Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.examples.testbeans.example3 +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/exceptions/IllegalUserActionException.html b/docs/api/org/apache/jmeter/exceptions/IllegalUserActionException.html new file mode 100644 index 00000000000..c6e676afd37 --- /dev/null +++ b/docs/api/org/apache/jmeter/exceptions/IllegalUserActionException.html @@ -0,0 +1,269 @@ + + + + + +IllegalUserActionException (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.exceptions +
+Class IllegalUserActionException

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by org.apache.jmeter.exceptions.IllegalUserActionException
+
+
+
All Implemented Interfaces:
Serializable
+
+
+
+
public class IllegalUserActionException
extends Exception
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + +
+Constructor Summary
IllegalUserActionException() + +
+          Deprecated. - use IllegalUserActionException(String)
IllegalUserActionException(String name) + +
+           
IllegalUserActionException(String name, + Throwable t) + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+IllegalUserActionException

+
+@Deprecated
+public IllegalUserActionException()
+
+
Deprecated. - use IllegalUserActionException(String) +

+

+
+ +

+IllegalUserActionException

+
+public IllegalUserActionException(String name)
+
+
+
+ +

+IllegalUserActionException

+
+public IllegalUserActionException(String name,
+                                  Throwable t)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/exceptions/package-frame.html b/docs/api/org/apache/jmeter/exceptions/package-frame.html new file mode 100644 index 00000000000..fdd662fbf02 --- /dev/null +++ b/docs/api/org/apache/jmeter/exceptions/package-frame.html @@ -0,0 +1,30 @@ + + + + + +org.apache.jmeter.exceptions (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.exceptions + + + + +
+Exceptions  + +
+IllegalUserActionException
+ + + + diff --git a/docs/api/org/apache/jmeter/exceptions/package-summary.html b/docs/api/org/apache/jmeter/exceptions/package-summary.html new file mode 100644 index 00000000000..383880ca43f --- /dev/null +++ b/docs/api/org/apache/jmeter/exceptions/package-summary.html @@ -0,0 +1,153 @@ + + + + + +org.apache.jmeter.exceptions (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.exceptions +

+ + + + + + + + + +
+Exception Summary
IllegalUserActionException 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/exceptions/package-tree.html b/docs/api/org/apache/jmeter/exceptions/package-tree.html new file mode 100644 index 00000000000..3d8cc962433 --- /dev/null +++ b/docs/api/org/apache/jmeter/exceptions/package-tree.html @@ -0,0 +1,154 @@ + + + + + +org.apache.jmeter.exceptions Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.exceptions +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/extractor/BSFPostProcessor.html b/docs/api/org/apache/jmeter/extractor/BSFPostProcessor.html new file mode 100644 index 00000000000..9758be76d83 --- /dev/null +++ b/docs/api/org/apache/jmeter/extractor/BSFPostProcessor.html @@ -0,0 +1,318 @@ + + + + + +BSFPostProcessor (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.extractor +
+Class BSFPostProcessor

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.util.ScriptingTestElement
+          extended by org.apache.jmeter.util.BSFTestElement
+              extended by org.apache.jmeter.extractor.BSFPostProcessor
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Searchable, PostProcessor, TestBean, TestElement
+
+
+
+
public class BSFPostProcessor
extends BSFTestElement
implements Cloneable, PostProcessor, TestBean
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.util.ScriptingTestElement
scriptLanguage
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
BSFPostProcessor() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ voidprocess() + +
+          Provides the PostProcessor with a SampleResult object from which to + extract values for use in future Queries.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.util.BSFTestElement
evalFileOrScript, getManager, getScriptLanguage, initManager, processFileOrScript, setScriptLanguage
+ + + + + + + +
Methods inherited from class org.apache.jmeter.util.ScriptingTestElement
getFilename, getParameters, getScript, setFilename, setParameters, setScript
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+BSFPostProcessor

+
+public BSFPostProcessor()
+
+
+ + + + + + + + +
+Method Detail
+ +

+process

+
+public void process()
+
+
Description copied from interface: PostProcessor
+
Provides the PostProcessor with a SampleResult object from which to + extract values for use in future Queries. +

+

+
Specified by:
process in interface PostProcessor
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/extractor/BSFPostProcessorBeanInfo.html b/docs/api/org/apache/jmeter/extractor/BSFPostProcessorBeanInfo.html new file mode 100644 index 00000000000..b569e091711 --- /dev/null +++ b/docs/api/org/apache/jmeter/extractor/BSFPostProcessorBeanInfo.html @@ -0,0 +1,272 @@ + + + + + +BSFPostProcessorBeanInfo (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.extractor +
+Class BSFPostProcessorBeanInfo

+
+java.lang.Object
+  extended by java.beans.SimpleBeanInfo
+      extended by org.apache.jmeter.testbeans.BeanInfoSupport
+          extended by org.apache.jmeter.util.ScriptingBeanInfoSupport
+              extended by org.apache.jmeter.util.BSFBeanInfoSupport
+                  extended by org.apache.jmeter.extractor.BSFPostProcessorBeanInfo
+
+
+
All Implemented Interfaces:
BeanInfo
+
+
+
+
public class BSFPostProcessorBeanInfo
extends BSFBeanInfoSupport
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.testbeans.BeanInfoSupport
DEFAULT, MULTILINE, NOT_EXPRESSION, NOT_OTHER, NOT_UNDEFINED, RESOURCE_BUNDLE, TAGS, TEXT_LANGUAGE
+ + + + + + + +
Fields inherited from interface java.beans.BeanInfo
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32
+  + + + + + + + + + + +
+Constructor Summary
BSFPostProcessorBeanInfo() + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testbeans.BeanInfoSupport
createPropertyGroup, getAdditionalBeanInfo, getBeanDescriptor, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getIcon, getMethodDescriptors, getPropertyDescriptors, property, property, property, setIcon
+ + + + + + + +
Methods inherited from class java.beans.SimpleBeanInfo
loadImage
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+BSFPostProcessorBeanInfo

+
+public BSFPostProcessorBeanInfo()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/extractor/BeanShellPostProcessor.html b/docs/api/org/apache/jmeter/extractor/BeanShellPostProcessor.html new file mode 100644 index 00000000000..2cbf973d663 --- /dev/null +++ b/docs/api/org/apache/jmeter/extractor/BeanShellPostProcessor.html @@ -0,0 +1,321 @@ + + + + + +BeanShellPostProcessor (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.extractor +
+Class BeanShellPostProcessor

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.util.BeanShellTestElement
+          extended by org.apache.jmeter.extractor.BeanShellPostProcessor
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Searchable, PostProcessor, TestBean, TestElement, TestStateListener, ThreadListener
+
+
+
+
public class BeanShellPostProcessor
extends BeanShellTestElement
implements Cloneable, PostProcessor, TestBean
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
BeanShellPostProcessor() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+protected  StringgetInitFileProperty() + +
+           
+ voidprocess() + +
+          Provides the PostProcessor with a SampleResult object from which to + extract values for use in future Queries.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.util.BeanShellTestElement
clone, getBeanShellInterpreter, getFilename, getParameters, getScript, isResetInterpreter, processFileOrScript, readResolve, setFilename, setParameters, setResetInterpreter, setScript, testEnded, testEnded, testStarted, testStarted, threadFinished, threadStarted
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+BeanShellPostProcessor

+
+public BeanShellPostProcessor()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getInitFileProperty

+
+protected String getInitFileProperty()
+
+
+
Specified by:
getInitFileProperty in class BeanShellTestElement
+
+
+
+
+
+
+ +

+process

+
+public void process()
+
+
Description copied from interface: PostProcessor
+
Provides the PostProcessor with a SampleResult object from which to + extract values for use in future Queries. +

+

+
Specified by:
process in interface PostProcessor
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/extractor/BeanShellPostProcessorBeanInfo.html b/docs/api/org/apache/jmeter/extractor/BeanShellPostProcessorBeanInfo.html new file mode 100644 index 00000000000..c7c6f73bfae --- /dev/null +++ b/docs/api/org/apache/jmeter/extractor/BeanShellPostProcessorBeanInfo.html @@ -0,0 +1,271 @@ + + + + + +BeanShellPostProcessorBeanInfo (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.extractor +
+Class BeanShellPostProcessorBeanInfo

+
+java.lang.Object
+  extended by java.beans.SimpleBeanInfo
+      extended by org.apache.jmeter.testbeans.BeanInfoSupport
+          extended by org.apache.jmeter.util.BeanShellBeanInfoSupport
+              extended by org.apache.jmeter.extractor.BeanShellPostProcessorBeanInfo
+
+
+
All Implemented Interfaces:
BeanInfo
+
+
+
+
public class BeanShellPostProcessorBeanInfo
extends BeanShellBeanInfoSupport
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.testbeans.BeanInfoSupport
DEFAULT, MULTILINE, NOT_EXPRESSION, NOT_OTHER, NOT_UNDEFINED, RESOURCE_BUNDLE, TAGS, TEXT_LANGUAGE
+ + + + + + + +
Fields inherited from interface java.beans.BeanInfo
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32
+  + + + + + + + + + + +
+Constructor Summary
BeanShellPostProcessorBeanInfo() + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testbeans.BeanInfoSupport
createPropertyGroup, getAdditionalBeanInfo, getBeanDescriptor, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getIcon, getMethodDescriptors, getPropertyDescriptors, property, property, property, setIcon
+ + + + + + + +
Methods inherited from class java.beans.SimpleBeanInfo
loadImage
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+BeanShellPostProcessorBeanInfo

+
+public BeanShellPostProcessorBeanInfo()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/extractor/DebugPostProcessor.html b/docs/api/org/apache/jmeter/extractor/DebugPostProcessor.html new file mode 100644 index 00000000000..6fbb10d9a7e --- /dev/null +++ b/docs/api/org/apache/jmeter/extractor/DebugPostProcessor.html @@ -0,0 +1,469 @@ + + + + + +DebugPostProcessor (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.extractor +
+Class DebugPostProcessor

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.extractor.DebugPostProcessor
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Searchable, PostProcessor, TestBean, TestElement
+
+
+
+
public class DebugPostProcessor
extends AbstractTestElement
implements PostProcessor, TestBean
+ + +

+Debugging Post-Processor: creates a subSample containing the variables defined in the previous sampler. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
DebugPostProcessor() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleanisDisplayJMeterProperties() + +
+           
+ booleanisDisplayJMeterVariables() + +
+           
+ booleanisDisplaySamplerProperties() + +
+           
+ booleanisDisplaySystemProperties() + +
+           
+ voidprocess() + +
+          Provides the PostProcessor with a SampleResult object from which to + extract values for use in future Queries.
+ voidsetDisplayJMeterProperties(boolean displayJMeterPropterties) + +
+           
+ voidsetDisplayJMeterVariables(boolean displayJMeterVariables) + +
+           
+ voidsetDisplaySamplerProperties(boolean displaySamplerProperties) + +
+           
+ voidsetDisplaySystemProperties(boolean displaySystemProperties) + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+DebugPostProcessor

+
+public DebugPostProcessor()
+
+
+ + + + + + + + +
+Method Detail
+ +

+process

+
+public void process()
+
+
Description copied from interface: PostProcessor
+
Provides the PostProcessor with a SampleResult object from which to + extract values for use in future Queries. +

+

+
Specified by:
process in interface PostProcessor
+
+
+
+
+
+
+ +

+isDisplayJMeterVariables

+
+public boolean isDisplayJMeterVariables()
+
+
+
+
+
+
+
+
+
+ +

+setDisplayJMeterVariables

+
+public void setDisplayJMeterVariables(boolean displayJMeterVariables)
+
+
+
+
+
+
+
+
+
+ +

+isDisplayJMeterProperties

+
+public boolean isDisplayJMeterProperties()
+
+
+
+
+
+
+
+
+
+ +

+setDisplayJMeterProperties

+
+public void setDisplayJMeterProperties(boolean displayJMeterPropterties)
+
+
+
+
+
+
+
+
+
+ +

+isDisplaySamplerProperties

+
+public boolean isDisplaySamplerProperties()
+
+
+
+
+
+
+
+
+
+ +

+setDisplaySamplerProperties

+
+public void setDisplaySamplerProperties(boolean displaySamplerProperties)
+
+
+
+
+
+
+
+
+
+ +

+isDisplaySystemProperties

+
+public boolean isDisplaySystemProperties()
+
+
+
+
+
+
+
+
+
+ +

+setDisplaySystemProperties

+
+public void setDisplaySystemProperties(boolean displaySystemProperties)
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/extractor/DebugPostProcessorBeanInfo.html b/docs/api/org/apache/jmeter/extractor/DebugPostProcessorBeanInfo.html new file mode 100644 index 00000000000..8191a0f9882 --- /dev/null +++ b/docs/api/org/apache/jmeter/extractor/DebugPostProcessorBeanInfo.html @@ -0,0 +1,270 @@ + + + + + +DebugPostProcessorBeanInfo (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.extractor +
+Class DebugPostProcessorBeanInfo

+
+java.lang.Object
+  extended by java.beans.SimpleBeanInfo
+      extended by org.apache.jmeter.testbeans.BeanInfoSupport
+          extended by org.apache.jmeter.extractor.DebugPostProcessorBeanInfo
+
+
+
All Implemented Interfaces:
BeanInfo
+
+
+
+
public class DebugPostProcessorBeanInfo
extends BeanInfoSupport
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.testbeans.BeanInfoSupport
DEFAULT, MULTILINE, NOT_EXPRESSION, NOT_OTHER, NOT_UNDEFINED, RESOURCE_BUNDLE, TAGS, TEXT_LANGUAGE
+ + + + + + + +
Fields inherited from interface java.beans.BeanInfo
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32
+  + + + + + + + + + + +
+Constructor Summary
DebugPostProcessorBeanInfo() + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testbeans.BeanInfoSupport
createPropertyGroup, getAdditionalBeanInfo, getBeanDescriptor, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getIcon, getMethodDescriptors, getPropertyDescriptors, property, property, property, setIcon
+ + + + + + + +
Methods inherited from class java.beans.SimpleBeanInfo
loadImage
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+DebugPostProcessorBeanInfo

+
+public DebugPostProcessorBeanInfo()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/extractor/Extractor.html b/docs/api/org/apache/jmeter/extractor/Extractor.html new file mode 100644 index 00000000000..de7ce0b1a94 --- /dev/null +++ b/docs/api/org/apache/jmeter/extractor/Extractor.html @@ -0,0 +1,232 @@ + + + + + +Extractor (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.extractor +
+Interface Extractor

+
+
All Superinterfaces:
Serializable
+
+
+
All Known Implementing Classes:
JoddExtractor, JSoupExtractor
+
+
+
+
public interface Extractor
extends Serializable
+ + +

+CSS/JQuery based extractor for HTML pages +

+ +

+

+
Since:
+
2.9
+
+
+ +

+ + + + + + + + + + + + +
+Method Summary
+ intextract(String expression, + String attribute, + int matchNumber, + String inputString, + List<String> result, + int found, + String cacheKey) + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+extract

+
+int extract(String expression,
+            String attribute,
+            int matchNumber,
+            String inputString,
+            List<String> result,
+            int found,
+            String cacheKey)
+
+
+
+
+
+
Parameters:
expression - Expression used for extraction of nodes
attribute - Attribute name to return
matchNumber - Match number
inputString - Page or excerpt
result - List of results
found - current matches found
cacheKey - If not null, the implementation is encouraged to cache parsing result and use this key as part of cache key +
Returns:
match found updated
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/extractor/HtmlExtractor.html b/docs/api/org/apache/jmeter/extractor/HtmlExtractor.html new file mode 100644 index 00000000000..3f24f247202 --- /dev/null +++ b/docs/api/org/apache/jmeter/extractor/HtmlExtractor.html @@ -0,0 +1,731 @@ + + + + + +HtmlExtractor (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.extractor +
+Class HtmlExtractor

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.testelement.AbstractScopedTestElement
+          extended by org.apache.jmeter.extractor.HtmlExtractor
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Searchable, PostProcessor, TestElement
+
+
+
+
public class HtmlExtractor
extends AbstractScopedTestElement
implements PostProcessor, Serializable
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + +
+Field Summary
+static StringDEFAULT_EXTRACTOR + +
+           
+static StringEXTRACTOR_JODD + +
+           
+static StringEXTRACTOR_JSOUP + +
+           
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
HtmlExtractor() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetAttribute() + +
+           
+ StringgetDefaultValue() + +
+          Get the default value for the variable if no matches are found
+ StringgetExpression() + +
+           
+ StringgetExtractor() + +
+          Get the name of the currently configured extractor
+static ExtractorgetExtractorImpl(String impl) + +
+           
+static String[]getImplementations() + +
+          Get the possible extractor implementations
+ intgetMatchNumber() + +
+           
+ StringgetMatchNumberAsString() + +
+           
+ StringgetRefName() + +
+           
+ voidprocess() + +
+          Parses the response data using CSS/JQuery expressions and saving the results + into variables for use later in the test.
+ voidsetAttribute(String attribute) + +
+           
+ voidsetDefaultValue(String defaultValue) + +
+          Sets the value of the variable if no matches are found
+ voidsetExpression(String regex) + +
+           
+ voidsetExtractor(String attribute) + +
+          Set the extractor.
+ voidsetMatchNumber(int matchNumber) + +
+          Set which Match to use.
+ voidsetMatchNumber(String matchNumber) + +
+           
+ voidsetRefName(String refName) + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractScopedTestElement
fetchScope, getSampleList, getScopeName, getVariableName, isScopeAll, isScopeChildren, isScopeParent, isScopeVariable, isScopeVariable, setScopeAll, setScopeChildren, setScopeParent, setScopeVariable
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+EXTRACTOR_JSOUP

+
+public static final String EXTRACTOR_JSOUP
+
+
+
See Also:
Constant Field Values
+
+
+ +

+EXTRACTOR_JODD

+
+public static final String EXTRACTOR_JODD
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DEFAULT_EXTRACTOR

+
+public static final String DEFAULT_EXTRACTOR
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+HtmlExtractor

+
+public HtmlExtractor()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getImplementations

+
+public static String[] getImplementations()
+
+
Get the possible extractor implementations +

+

+
+
+
+ +
Returns:
Array containing the names of the possible extractors.
+
+
+
+ +

+process

+
+public void process()
+
+
Parses the response data using CSS/JQuery expressions and saving the results + into variables for use later in the test. +

+

+
Specified by:
process in interface PostProcessor
+
+
+
See Also:
PostProcessor.process()
+
+
+
+ +

+getExtractorImpl

+
+public static final Extractor getExtractorImpl(String impl)
+
+
+
+
+
+
Parameters:
impl - Extractor implementation +
Returns:
Extractor
+
+
+
+ +

+setExtractor

+
+public void setExtractor(String attribute)
+
+
Set the extractor. Has to be one of the list that can be obtained by + getImplementations() +

+

+
+
+
+
Parameters:
attribute - The name of the extractor to be used
+
+
+
+ +

+getExtractor

+
+public String getExtractor()
+
+
Get the name of the currently configured extractor +

+

+
+
+
+ +
Returns:
The name of the extractor currently used
+
+
+
+ +

+setAttribute

+
+public void setAttribute(String attribute)
+
+
+
+
+
+
+
+
+
+ +

+getAttribute

+
+public String getAttribute()
+
+
+
+
+
+
+
+
+
+ +

+setExpression

+
+public void setExpression(String regex)
+
+
+
+
+
+
+
+
+
+ +

+getExpression

+
+public String getExpression()
+
+
+
+
+
+
+
+
+
+ +

+setRefName

+
+public void setRefName(String refName)
+
+
+
+
+
+
+
+
+
+ +

+getRefName

+
+public String getRefName()
+
+
+
+
+
+
+
+
+
+ +

+setMatchNumber

+
+public void setMatchNumber(int matchNumber)
+
+
Set which Match to use. This can be any positive number, indicating the + exact match to use, or 0, which is interpreted as meaning random. +

+

+
+
+
+
Parameters:
matchNumber - The number of the match to be used
+
+
+
+ +

+setMatchNumber

+
+public void setMatchNumber(String matchNumber)
+
+
+
+
+
+
+
+
+
+ +

+getMatchNumber

+
+public int getMatchNumber()
+
+
+
+
+
+
+
+
+
+ +

+getMatchNumberAsString

+
+public String getMatchNumberAsString()
+
+
+
+
+
+
+
+
+
+ +

+setDefaultValue

+
+public void setDefaultValue(String defaultValue)
+
+
Sets the value of the variable if no matches are found +

+

+
+
+
+
Parameters:
defaultValue - The default value for the variable
+
+
+
+ +

+getDefaultValue

+
+public String getDefaultValue()
+
+
Get the default value for the variable if no matches are found +

+

+
+
+
+ +
Returns:
The default value for the variable
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/extractor/JSR223PostProcessor.html b/docs/api/org/apache/jmeter/extractor/JSR223PostProcessor.html new file mode 100644 index 00000000000..36f2a6a956c --- /dev/null +++ b/docs/api/org/apache/jmeter/extractor/JSR223PostProcessor.html @@ -0,0 +1,318 @@ + + + + + +JSR223PostProcessor (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.extractor +
+Class JSR223PostProcessor

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.util.ScriptingTestElement
+          extended by org.apache.jmeter.util.JSR223TestElement
+              extended by org.apache.jmeter.extractor.JSR223PostProcessor
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Searchable, PostProcessor, TestBean, TestElement, TestStateListener
+
+
+
+
public class JSR223PostProcessor
extends JSR223TestElement
implements Cloneable, PostProcessor, TestBean
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.util.ScriptingTestElement
scriptLanguage
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
JSR223PostProcessor() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ voidprocess() + +
+          Provides the PostProcessor with a SampleResult object from which to + extract values for use in future Queries.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.util.JSR223TestElement
getCacheKey, getInstance, getScriptEngine, getScriptLanguage, populateBindings, processFileOrScript, setCacheKey, setScriptLanguage, testEnded, testEnded, testStarted, testStarted
+ + + + + + + +
Methods inherited from class org.apache.jmeter.util.ScriptingTestElement
getFilename, getParameters, getScript, setFilename, setParameters, setScript
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+JSR223PostProcessor

+
+public JSR223PostProcessor()
+
+
+ + + + + + + + +
+Method Detail
+ +

+process

+
+public void process()
+
+
Description copied from interface: PostProcessor
+
Provides the PostProcessor with a SampleResult object from which to + extract values for use in future Queries. +

+

+
Specified by:
process in interface PostProcessor
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/extractor/JSR223PostProcessorBeanInfo.html b/docs/api/org/apache/jmeter/extractor/JSR223PostProcessorBeanInfo.html new file mode 100644 index 00000000000..4d63519ee84 --- /dev/null +++ b/docs/api/org/apache/jmeter/extractor/JSR223PostProcessorBeanInfo.html @@ -0,0 +1,281 @@ + + + + + +JSR223PostProcessorBeanInfo (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.extractor +
+Class JSR223PostProcessorBeanInfo

+
+java.lang.Object
+  extended by java.beans.SimpleBeanInfo
+      extended by org.apache.jmeter.testbeans.BeanInfoSupport
+          extended by org.apache.jmeter.util.ScriptingBeanInfoSupport
+              extended by org.apache.jmeter.util.JSR223BeanInfoSupport
+                  extended by org.apache.jmeter.extractor.JSR223PostProcessorBeanInfo
+
+
+
All Implemented Interfaces:
BeanInfo
+
+
+
+
public class JSR223PostProcessorBeanInfo
extends JSR223BeanInfoSupport
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.util.JSR223BeanInfoSupport
LANGUAGE_NAMES
+ + + + + + + +
Fields inherited from class org.apache.jmeter.testbeans.BeanInfoSupport
DEFAULT, MULTILINE, NOT_EXPRESSION, NOT_OTHER, NOT_UNDEFINED, RESOURCE_BUNDLE, TAGS, TEXT_LANGUAGE
+ + + + + + + +
Fields inherited from interface java.beans.BeanInfo
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32
+  + + + + + + + + + + +
+Constructor Summary
JSR223PostProcessorBeanInfo() + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testbeans.BeanInfoSupport
createPropertyGroup, getAdditionalBeanInfo, getBeanDescriptor, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getIcon, getMethodDescriptors, getPropertyDescriptors, property, property, property, setIcon
+ + + + + + + +
Methods inherited from class java.beans.SimpleBeanInfo
loadImage
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+JSR223PostProcessorBeanInfo

+
+public JSR223PostProcessorBeanInfo()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/extractor/JSoupExtractor.html b/docs/api/org/apache/jmeter/extractor/JSoupExtractor.html new file mode 100644 index 00000000000..d75f9f5c6aa --- /dev/null +++ b/docs/api/org/apache/jmeter/extractor/JSoupExtractor.html @@ -0,0 +1,276 @@ + + + + + +JSoupExtractor (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.extractor +
+Class JSoupExtractor

+
+java.lang.Object
+  extended by org.apache.jmeter.extractor.JSoupExtractor
+
+
+
All Implemented Interfaces:
Serializable, Extractor
+
+
+
+
public class JSoupExtractor
extends Object
implements Extractor
+ + +

+JSoup based CSS/JQuery extractor + see http://jsoup.org/cookbook/extracting-data/selector-syntax +

+ +

+

+
Since:
+
2.9
+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
JSoupExtractor() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ intextract(String expression, + String attribute, + int matchNumber, + String inputString, + List<String> result, + int found, + String cacheKey) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+JSoupExtractor

+
+public JSoupExtractor()
+
+
+ + + + + + + + +
+Method Detail
+ +

+extract

+
+public int extract(String expression,
+                   String attribute,
+                   int matchNumber,
+                   String inputString,
+                   List<String> result,
+                   int found,
+                   String cacheKey)
+
+
+
Specified by:
extract in interface Extractor
+
+
+
Parameters:
expression - Expression used for extraction of nodes
attribute - Attribute name to return
matchNumber - Match number
inputString - Page or excerpt
result - List of results
found - current matches found
cacheKey - If not null, the implementation is encouraged to cache parsing result and use this key as part of cache key +
Returns:
match found updated
See Also:
Extractor.extract(String, String, int, String, List, int, String)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/extractor/JoddExtractor.html b/docs/api/org/apache/jmeter/extractor/JoddExtractor.html new file mode 100644 index 00000000000..5f7d446a037 --- /dev/null +++ b/docs/api/org/apache/jmeter/extractor/JoddExtractor.html @@ -0,0 +1,276 @@ + + + + + +JoddExtractor (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.extractor +
+Class JoddExtractor

+
+java.lang.Object
+  extended by org.apache.jmeter.extractor.JoddExtractor
+
+
+
All Implemented Interfaces:
Serializable, Extractor
+
+
+
+
public class JoddExtractor
extends Object
implements Extractor
+ + +

+Jodd-Lagerto based CSS/JQuery extractor + see http://jodd.org/doc/csselly/ +

+ +

+

+
Since:
+
2.9
+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
JoddExtractor() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ intextract(String expression, + String attribute, + int matchNumber, + String inputString, + List<String> result, + int found, + String cacheKey) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+JoddExtractor

+
+public JoddExtractor()
+
+
+ + + + + + + + +
+Method Detail
+ +

+extract

+
+public int extract(String expression,
+                   String attribute,
+                   int matchNumber,
+                   String inputString,
+                   List<String> result,
+                   int found,
+                   String cacheKey)
+
+
+
Specified by:
extract in interface Extractor
+
+
+
Parameters:
expression - Expression used for extraction of nodes
attribute - Attribute name to return
matchNumber - Match number
inputString - Page or excerpt
result - List of results
found - current matches found
cacheKey - If not null, the implementation is encouraged to cache parsing result and use this key as part of cache key +
Returns:
match found updated
See Also:
Extractor.extract(String, String, int, String, List, int, String)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/extractor/RegexExtractor.html b/docs/api/org/apache/jmeter/extractor/RegexExtractor.html new file mode 100644 index 00000000000..b2de3ed08af --- /dev/null +++ b/docs/api/org/apache/jmeter/extractor/RegexExtractor.html @@ -0,0 +1,935 @@ + + + + + +RegexExtractor (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.extractor +
+Class RegexExtractor

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.testelement.AbstractScopedTestElement
+          extended by org.apache.jmeter.extractor.RegexExtractor
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Searchable, PostProcessor, TestElement
+
+
+
+
public class RegexExtractor
extends AbstractScopedTestElement
implements PostProcessor, Serializable
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static StringUSE_BODY + +
+           
+static StringUSE_BODY_AS_DOCUMENT + +
+           
+static StringUSE_BODY_UNESCAPED + +
+           
+static StringUSE_CODE + +
+           
+static StringUSE_HDRS + +
+           
+static StringUSE_MESSAGE + +
+           
+static StringUSE_REQUEST_HDRS + +
+           
+static StringUSE_URL + +
+           
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
RegexExtractor() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetDefaultValue() + +
+          Get the default value for the variable, which should be used, if no + matches are found
+ intgetMatchNumber() + +
+           
+ StringgetMatchNumberAsString() + +
+           
+ StringgetRefName() + +
+          Get the prefix name of the variable to be used to store the regex matches
+ StringgetRegex() + +
+          Get the regex which is to be used
+ StringgetTemplate() + +
+           
+ voidprocess() + +
+          Parses the response data using regular expressions and saving the results + into variables for use later in the test.
+ voidsetDefaultValue(String defaultValue) + +
+          Sets the value of the variable if no matches are found
+ voidsetMatchNumber(int matchNumber) + +
+          Set which Match to use.
+ voidsetMatchNumber(String matchNumber) + +
+           
+ voidsetRefName(String refName) + +
+          Set the prefix name of the variable to be used to store the regex matches
+ voidsetRegex(String regex) + +
+          Set the regex to be used
+ voidsetTemplate(String template) + +
+           
+ voidsetUseField(String actionCommand) + +
+           
+ booleanuseBody() + +
+           
+ booleanuseBodyAsDocument() + +
+           
+ booleanuseCode() + +
+           
+ booleanuseHeaders() + +
+           
+ booleanuseMessage() + +
+           
+ booleanuseRequestHeaders() + +
+           
+ booleanuseUnescapedBody() + +
+           
+ booleanuseUrl() + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractScopedTestElement
fetchScope, getSampleList, getScopeName, getVariableName, isScopeAll, isScopeChildren, isScopeParent, isScopeVariable, isScopeVariable, setScopeAll, setScopeChildren, setScopeParent, setScopeVariable
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+USE_HDRS

+
+public static final String USE_HDRS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+USE_REQUEST_HDRS

+
+public static final String USE_REQUEST_HDRS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+USE_BODY

+
+public static final String USE_BODY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+USE_BODY_UNESCAPED

+
+public static final String USE_BODY_UNESCAPED
+
+
+
See Also:
Constant Field Values
+
+
+ +

+USE_BODY_AS_DOCUMENT

+
+public static final String USE_BODY_AS_DOCUMENT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+USE_URL

+
+public static final String USE_URL
+
+
+
See Also:
Constant Field Values
+
+
+ +

+USE_CODE

+
+public static final String USE_CODE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+USE_MESSAGE

+
+public static final String USE_MESSAGE
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+RegexExtractor

+
+public RegexExtractor()
+
+
+ + + + + + + + +
+Method Detail
+ +

+process

+
+public void process()
+
+
Parses the response data using regular expressions and saving the results + into variables for use later in the test. +

+

+
Specified by:
process in interface PostProcessor
+
+
+
See Also:
PostProcessor.process()
+
+
+
+ +

+setRegex

+
+public void setRegex(String regex)
+
+
Set the regex to be used +

+

+
+
+
+
Parameters:
regex - The string representation of the regex
+
+
+
+ +

+getRegex

+
+public String getRegex()
+
+
Get the regex which is to be used +

+

+
+
+
+ +
Returns:
string representing the regex
+
+
+
+ +

+setRefName

+
+public void setRefName(String refName)
+
+
Set the prefix name of the variable to be used to store the regex matches +

+

+
+
+
+
Parameters:
refName - prefix of the variables to be used
+
+
+
+ +

+getRefName

+
+public String getRefName()
+
+
Get the prefix name of the variable to be used to store the regex matches +

+

+
+
+
+ +
Returns:
The prefix of the variables to be used
+
+
+
+ +

+setMatchNumber

+
+public void setMatchNumber(int matchNumber)
+
+
Set which Match to use. This can be any positive number, indicating the + exact match to use, or 0, which is interpreted as meaning + random. +

+

+
+
+
+
Parameters:
matchNumber - The number of the match to be used, or 0 if a + random match should be used.
+
+
+
+ +

+setMatchNumber

+
+public void setMatchNumber(String matchNumber)
+
+
+
+
+
+
+
+
+
+ +

+getMatchNumber

+
+public int getMatchNumber()
+
+
+
+
+
+
+
+
+
+ +

+getMatchNumberAsString

+
+public String getMatchNumberAsString()
+
+
+
+
+
+
+
+
+
+ +

+setDefaultValue

+
+public void setDefaultValue(String defaultValue)
+
+
Sets the value of the variable if no matches are found +

+

+
+
+
+
Parameters:
defaultValue - The default value for the variable
+
+
+
+ +

+getDefaultValue

+
+public String getDefaultValue()
+
+
Get the default value for the variable, which should be used, if no + matches are found +

+

+
+
+
+ +
Returns:
The default value for the variable
+
+
+
+ +

+setTemplate

+
+public void setTemplate(String template)
+
+
+
+
+
+
+
+
+
+ +

+getTemplate

+
+public String getTemplate()
+
+
+
+
+
+
+
+
+
+ +

+useHeaders

+
+public boolean useHeaders()
+
+
+
+
+
+
+
+
+
+ +

+useRequestHeaders

+
+public boolean useRequestHeaders()
+
+
+
+
+
+
+
+
+
+ +

+useBody

+
+public boolean useBody()
+
+
+
+
+
+
+
+
+
+ +

+useUnescapedBody

+
+public boolean useUnescapedBody()
+
+
+
+
+
+
+
+
+
+ +

+useBodyAsDocument

+
+public boolean useBodyAsDocument()
+
+
+
+
+
+
+
+
+
+ +

+useUrl

+
+public boolean useUrl()
+
+
+
+
+
+
+
+
+
+ +

+useCode

+
+public boolean useCode()
+
+
+
+
+
+
+
+
+
+ +

+useMessage

+
+public boolean useMessage()
+
+
+
+
+
+
+
+
+
+ +

+setUseField

+
+public void setUseField(String actionCommand)
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/extractor/XPathExtractor.html b/docs/api/org/apache/jmeter/extractor/XPathExtractor.html new file mode 100644 index 00000000000..73ec852e4df --- /dev/null +++ b/docs/api/org/apache/jmeter/extractor/XPathExtractor.html @@ -0,0 +1,848 @@ + + + + + +XPathExtractor (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.extractor +
+Class XPathExtractor

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.testelement.AbstractScopedTestElement
+          extended by org.apache.jmeter.extractor.XPathExtractor
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Searchable, PostProcessor, TestElement
+
+
+
+
public class XPathExtractor
extends AbstractScopedTestElement
implements PostProcessor, Serializable
+ + +

+Extracts text from (X)HTML response using XPath query language + Example XPath queries: +

+
/html/head/title
+
extracts Title from HTML response
+
//form[@name='countryForm']//select[@name='country']/option[text()='Czech Republic'])/@value +
extracts value attribute of option element that match text 'Czech Republic' + inside of select element with name attribute 'country' inside of + form with name attribute 'countryForm'
+
//head
+
extracts the XML fragment for head node.
+
//head/text()
+
extracts the text content for head node.
+
+

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
XPathExtractor() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetDefaultValue() + +
+           
+ booleangetFragment() + +
+          Should we return fragment as text, rather than text of fragment?
+ StringgetRefName() + +
+           
+ StringgetXPathQuery() + +
+           
+ booleanisDownloadDTDs() + +
+           
+ booleanisQuiet() + +
+           
+ booleanisTolerant() + +
+           
+ booleanisValidating() + +
+           
+ booleanisWhitespace() + +
+           
+ voidprocess() + +
+          Do the job - extract value from (X)HTML response using XPath Query.
+ booleanreportErrors() + +
+           
+ voidsetDefaultValue(String val) + +
+           
+ voidsetDownloadDTDs(boolean selected) + +
+           
+ voidsetFragment(boolean selected) + +
+          Should we return fragment as text, rather than text of fragment?
+ voidsetNameSpace(boolean val) + +
+           
+ voidsetQuiet(boolean val) + +
+           
+ voidsetRefName(String refName) + +
+           
+ voidsetReportErrors(boolean val) + +
+           
+ voidsetShowWarnings(boolean val) + +
+           
+ voidsetTolerant(boolean val) + +
+           
+ voidsetValidating(boolean selected) + +
+           
+ voidsetWhitespace(boolean selected) + +
+           
+ voidsetXPathQuery(String val) + +
+           
+ booleanshowWarnings() + +
+           
+ booleanuseNameSpace() + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractScopedTestElement
fetchScope, getSampleList, getScopeName, getVariableName, isScopeAll, isScopeChildren, isScopeParent, isScopeVariable, isScopeVariable, setScopeAll, setScopeChildren, setScopeParent, setScopeVariable
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+XPathExtractor

+
+public XPathExtractor()
+
+
+ + + + + + + + +
+Method Detail
+ +

+process

+
+public void process()
+
+
Do the job - extract value from (X)HTML response using XPath Query. + Return value as variable defined by REFNAME. Returns DEFAULT value + if not found. +

+

+
Specified by:
process in interface PostProcessor
+
+
+
+
+
+
+ +

+setXPathQuery

+
+public void setXPathQuery(String val)
+
+
+
+
+
+
+
+
+
+ +

+getXPathQuery

+
+public String getXPathQuery()
+
+
+
+
+
+
+
+
+
+ +

+setRefName

+
+public void setRefName(String refName)
+
+
+
+
+
+
+
+
+
+ +

+getRefName

+
+public String getRefName()
+
+
+
+
+
+
+
+
+
+ +

+setDefaultValue

+
+public void setDefaultValue(String val)
+
+
+
+
+
+
+
+
+
+ +

+getDefaultValue

+
+public String getDefaultValue()
+
+
+
+
+
+
+
+
+
+ +

+setTolerant

+
+public void setTolerant(boolean val)
+
+
+
+
+
+
+
+
+
+ +

+isTolerant

+
+public boolean isTolerant()
+
+
+
+
+
+
+
+
+
+ +

+setNameSpace

+
+public void setNameSpace(boolean val)
+
+
+
+
+
+
+
+
+
+ +

+useNameSpace

+
+public boolean useNameSpace()
+
+
+
+
+
+
+
+
+
+ +

+setReportErrors

+
+public void setReportErrors(boolean val)
+
+
+
+
+
+
+
+
+
+ +

+reportErrors

+
+public boolean reportErrors()
+
+
+
+
+
+
+
+
+
+ +

+setShowWarnings

+
+public void setShowWarnings(boolean val)
+
+
+
+
+
+
+
+
+
+ +

+showWarnings

+
+public boolean showWarnings()
+
+
+
+
+
+
+
+
+
+ +

+setQuiet

+
+public void setQuiet(boolean val)
+
+
+
+
+
+
+
+
+
+ +

+isQuiet

+
+public boolean isQuiet()
+
+
+
+
+
+
+
+
+
+ +

+getFragment

+
+public boolean getFragment()
+
+
Should we return fragment as text, rather than text of fragment? +

+

+
+
+
+ +
Returns:
true if we should return fragment rather than text
+
+
+
+ +

+setFragment

+
+public void setFragment(boolean selected)
+
+
Should we return fragment as text, rather than text of fragment? +

+

+
+
+
+
Parameters:
selected - true to return fragment.
+
+
+
+ +

+setWhitespace

+
+public void setWhitespace(boolean selected)
+
+
+
+
+
+
+
+
+
+ +

+isWhitespace

+
+public boolean isWhitespace()
+
+
+
+
+
+
+
+
+
+ +

+setValidating

+
+public void setValidating(boolean selected)
+
+
+
+
+
+
+
+
+
+ +

+isValidating

+
+public boolean isValidating()
+
+
+
+
+
+
+
+
+
+ +

+setDownloadDTDs

+
+public void setDownloadDTDs(boolean selected)
+
+
+
+
+
+
+
+
+
+ +

+isDownloadDTDs

+
+public boolean isDownloadDTDs()
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/extractor/gui/HtmlExtractorGui.html b/docs/api/org/apache/jmeter/extractor/gui/HtmlExtractorGui.html new file mode 100644 index 00000000000..0c23766517f --- /dev/null +++ b/docs/api/org/apache/jmeter/extractor/gui/HtmlExtractorGui.html @@ -0,0 +1,541 @@ + + + + + +HtmlExtractorGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.extractor.gui +
+Class HtmlExtractorGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.gui.AbstractScopedJMeterGuiComponent
+                          extended by org.apache.jmeter.processor.gui.AbstractPostProcessorGui
+                              extended by org.apache.jmeter.extractor.gui.HtmlExtractorGui
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
+
public class HtmlExtractorGui
extends AbstractPostProcessorGui
+ + +

+CSS/JQuery Expression Extractor Post-Processor GUI +

+ +

+

+
Since:
+
2.9
+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
HtmlExtractorGui() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclearGui() + +
+          Implements JMeterGUIComponent.clearGui
+ voidconfigure(TestElement el) + +
+          A newly created gui component can be initialized with the contents of a + Test Element object by calling this method.
+ TestElementcreateTestElement() + +
+          JMeter test components are separated into a model and a GUI + representation.
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ voidmodifyTestElement(TestElement extractor) + +
+          Modifies a given TestElement to mirror the data in the gui components.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.processor.gui.AbstractPostProcessorGui
getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractScopedJMeterGuiComponent
createPopupMenu, createScopePanel, createScopePanel, createScopePanel, saveScopeSettings, showScopeSettings, showScopeSettings
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+HtmlExtractorGui

+
+public HtmlExtractorGui()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+ +
Returns:
the resource name
+
+
+
+ +

+configure

+
+public void configure(TestElement el)
+
+
Description copied from class: AbstractJMeterGuiComponent
+
A newly created gui component can be initialized with the contents of a + Test Element object by calling this method. The component is responsible + for querying the Test Element object for the relevant information to + display in its GUI. +

+ AbstractJMeterGuiComponent provides a partial implementation of this + method, setting the name of the component and its enabled status. + Subclasses should override this method, performing their own + configuration as needed, but also calling this super-implementation. +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class AbstractJMeterGuiComponent
+
+
+
Parameters:
el - the TestElement to configure
+
+
+
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
Description copied from interface: JMeterGUIComponent
+
JMeter test components are separated into a model and a GUI + representation. The model holds the data and the GUI displays it. The GUI + class is responsible for knowing how to create and initialize with data + the model class that it knows how to display, and this method is called + when new test elements are created. +

+

+ +
Returns:
the Test Element object that the GUI component represents.
See Also:
JMeterGUIComponent.createTestElement()
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement extractor)
+
+
Modifies a given TestElement to mirror the data in the gui components. +

+

+
Parameters:
extractor - the TestElement to modify
See Also:
JMeterGUIComponent.modifyTestElement(TestElement)
+
+
+
+ +

+clearGui

+
+public void clearGui()
+
+
Implements JMeterGUIComponent.clearGui +

+

+
Specified by:
clearGui in interface ClearGui
Overrides:
clearGui in class AbstractScopedJMeterGuiComponent
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/extractor/gui/RegexExtractorGui.html b/docs/api/org/apache/jmeter/extractor/gui/RegexExtractorGui.html new file mode 100644 index 00000000000..504e264416c --- /dev/null +++ b/docs/api/org/apache/jmeter/extractor/gui/RegexExtractorGui.html @@ -0,0 +1,539 @@ + + + + + +RegexExtractorGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.extractor.gui +
+Class RegexExtractorGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.gui.AbstractScopedJMeterGuiComponent
+                          extended by org.apache.jmeter.processor.gui.AbstractPostProcessorGui
+                              extended by org.apache.jmeter.extractor.gui.RegexExtractorGui
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
+
public class RegexExtractorGui
extends AbstractPostProcessorGui
+ + +

+Regular Expression Extractor Post-Processor GUI +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
RegexExtractorGui() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclearGui() + +
+          Implements JMeterGUIComponent.clearGui
+ voidconfigure(TestElement el) + +
+          A newly created gui component can be initialized with the contents of a + Test Element object by calling this method.
+ TestElementcreateTestElement() + +
+          JMeter test components are separated into a model and a GUI + representation.
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ voidmodifyTestElement(TestElement extractor) + +
+          Modifies a given TestElement to mirror the data in the gui components.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.processor.gui.AbstractPostProcessorGui
getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractScopedJMeterGuiComponent
createPopupMenu, createScopePanel, createScopePanel, createScopePanel, saveScopeSettings, showScopeSettings, showScopeSettings
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+RegexExtractorGui

+
+public RegexExtractorGui()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+ +
Returns:
the resource name
+
+
+
+ +

+configure

+
+public void configure(TestElement el)
+
+
Description copied from class: AbstractJMeterGuiComponent
+
A newly created gui component can be initialized with the contents of a + Test Element object by calling this method. The component is responsible + for querying the Test Element object for the relevant information to + display in its GUI. +

+ AbstractJMeterGuiComponent provides a partial implementation of this + method, setting the name of the component and its enabled status. + Subclasses should override this method, performing their own + configuration as needed, but also calling this super-implementation. +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class AbstractJMeterGuiComponent
+
+
+
Parameters:
el - the TestElement to configure
+
+
+
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
Description copied from interface: JMeterGUIComponent
+
JMeter test components are separated into a model and a GUI + representation. The model holds the data and the GUI displays it. The GUI + class is responsible for knowing how to create and initialize with data + the model class that it knows how to display, and this method is called + when new test elements are created. +

+

+ +
Returns:
the Test Element object that the GUI component represents.
See Also:
JMeterGUIComponent.createTestElement()
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement extractor)
+
+
Modifies a given TestElement to mirror the data in the gui components. +

+

+
Parameters:
extractor - the TestElement to modify
See Also:
JMeterGUIComponent.modifyTestElement(TestElement)
+
+
+
+ +

+clearGui

+
+public void clearGui()
+
+
Implements JMeterGUIComponent.clearGui +

+

+
Specified by:
clearGui in interface ClearGui
Overrides:
clearGui in class AbstractScopedJMeterGuiComponent
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/extractor/gui/XPathExtractorGui.html b/docs/api/org/apache/jmeter/extractor/gui/XPathExtractorGui.html new file mode 100644 index 00000000000..96142d86017 --- /dev/null +++ b/docs/api/org/apache/jmeter/extractor/gui/XPathExtractorGui.html @@ -0,0 +1,545 @@ + + + + + +XPathExtractorGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.extractor.gui +
+Class XPathExtractorGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.gui.AbstractScopedJMeterGuiComponent
+                          extended by org.apache.jmeter.processor.gui.AbstractPostProcessorGui
+                              extended by org.apache.jmeter.extractor.gui.XPathExtractorGui
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
+
public class XPathExtractorGui
extends AbstractPostProcessorGui
+ + +

+GUI for XPathExtractor class. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
XPathExtractorGui() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclearGui() + +
+          Implements JMeterGUIComponent.clearGui
+ voidconfigure(TestElement el) + +
+          A newly created gui component can be initialized with the contents of a + Test Element object by calling this method.
+ TestElementcreateTestElement() + +
+          JMeter test components are separated into a model and a GUI + representation.
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ voidmodifyTestElement(TestElement extractor) + +
+          GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.processor.gui.AbstractPostProcessorGui
getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractScopedJMeterGuiComponent
createPopupMenu, createScopePanel, createScopePanel, createScopePanel, saveScopeSettings, showScopeSettings, showScopeSettings
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+XPathExtractorGui

+
+public XPathExtractorGui()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+ +
Returns:
the resource name
+
+
+
+ +

+configure

+
+public void configure(TestElement el)
+
+
Description copied from class: AbstractJMeterGuiComponent
+
A newly created gui component can be initialized with the contents of a + Test Element object by calling this method. The component is responsible + for querying the Test Element object for the relevant information to + display in its GUI. +

+ AbstractJMeterGuiComponent provides a partial implementation of this + method, setting the name of the component and its enabled status. + Subclasses should override this method, performing their own + configuration as needed, but also calling this super-implementation. +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class AbstractJMeterGuiComponent
+
+
+
Parameters:
el - the TestElement to configure
+
+
+
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
Description copied from interface: JMeterGUIComponent
+
JMeter test components are separated into a model and a GUI + representation. The model holds the data and the GUI displays it. The GUI + class is responsible for knowing how to create and initialize with data + the model class that it knows how to display, and this method is called + when new test elements are created. +

+

+ +
Returns:
the Test Element object that the GUI component represents.
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement extractor)
+
+
Description copied from interface: JMeterGUIComponent
+
GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components. This method should + overwrite whatever data is currently in the TestElement as it is called + after a user has filled out the form elements in the gui with new + information. +

+

+
Parameters:
extractor - the TestElement to modify
+
+
+
+ +

+clearGui

+
+public void clearGui()
+
+
Implements JMeterGUIComponent.clearGui +

+

+
Specified by:
clearGui in interface ClearGui
Overrides:
clearGui in class AbstractScopedJMeterGuiComponent
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/extractor/gui/package-frame.html b/docs/api/org/apache/jmeter/extractor/gui/package-frame.html new file mode 100644 index 00000000000..6fdde00ce3b --- /dev/null +++ b/docs/api/org/apache/jmeter/extractor/gui/package-frame.html @@ -0,0 +1,34 @@ + + + + + +org.apache.jmeter.extractor.gui (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.extractor.gui + + + + +
+Classes  + +
+HtmlExtractorGui +
+RegexExtractorGui +
+XPathExtractorGui
+ + + + diff --git a/docs/api/org/apache/jmeter/extractor/gui/package-summary.html b/docs/api/org/apache/jmeter/extractor/gui/package-summary.html new file mode 100644 index 00000000000..d3179fe8b20 --- /dev/null +++ b/docs/api/org/apache/jmeter/extractor/gui/package-summary.html @@ -0,0 +1,161 @@ + + + + + +org.apache.jmeter.extractor.gui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.extractor.gui +

+ + + + + + + + + + + + + + + + + +
+Class Summary
HtmlExtractorGuiCSS/JQuery Expression Extractor Post-Processor GUI
RegexExtractorGuiRegular Expression Extractor Post-Processor GUI
XPathExtractorGuiGUI for XPathExtractor class.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/extractor/gui/package-tree.html b/docs/api/org/apache/jmeter/extractor/gui/package-tree.html new file mode 100644 index 00000000000..a56eb2499ec --- /dev/null +++ b/docs/api/org/apache/jmeter/extractor/gui/package-tree.html @@ -0,0 +1,167 @@ + + + + + +org.apache.jmeter.extractor.gui Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.extractor.gui +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/extractor/package-frame.html b/docs/api/org/apache/jmeter/extractor/package-frame.html new file mode 100644 index 00000000000..939aa040672 --- /dev/null +++ b/docs/api/org/apache/jmeter/extractor/package-frame.html @@ -0,0 +1,65 @@ + + + + + +org.apache.jmeter.extractor (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.extractor + + + + +
+Interfaces  + +
+Extractor
+ + + + + + +
+Classes  + +
+BeanShellPostProcessor +
+BeanShellPostProcessorBeanInfo +
+BSFPostProcessor +
+BSFPostProcessorBeanInfo +
+DebugPostProcessor +
+DebugPostProcessorBeanInfo +
+HtmlExtractor +
+JoddExtractor +
+JSoupExtractor +
+JSR223PostProcessor +
+JSR223PostProcessorBeanInfo +
+RegexExtractor +
+XPathExtractor
+ + + + diff --git a/docs/api/org/apache/jmeter/extractor/package-summary.html b/docs/api/org/apache/jmeter/extractor/package-summary.html new file mode 100644 index 00000000000..b07c8f0365d --- /dev/null +++ b/docs/api/org/apache/jmeter/extractor/package-summary.html @@ -0,0 +1,227 @@ + + + + + +org.apache.jmeter.extractor (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.extractor +

+ + + + + + + + + +
+Interface Summary
ExtractorCSS/JQuery based extractor for HTML pages
+  + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
BeanShellPostProcessor 
BeanShellPostProcessorBeanInfo 
BSFPostProcessor 
BSFPostProcessorBeanInfo 
DebugPostProcessorDebugging Post-Processor: creates a subSample containing the variables defined in the previous sampler.
DebugPostProcessorBeanInfo 
HtmlExtractor 
JoddExtractorJodd-Lagerto based CSS/JQuery extractor + see http://jodd.org/doc/csselly/
JSoupExtractorJSoup based CSS/JQuery extractor + see http://jsoup.org/cookbook/extracting-data/selector-syntax
JSR223PostProcessor 
JSR223PostProcessorBeanInfo 
RegexExtractor 
XPathExtractorExtracts text from (X)HTML response using XPath query language + Example XPath queries: + + /html/head/title + extracts Title from HTML response + //form[@name='countryForm']//select[@name='country']/option[text()='Czech Republic'])/@value + extracts value attribute of option element that match text 'Czech Republic' + inside of select element with name attribute 'country' inside of + form with name attribute 'countryForm' + //head + extracts the XML fragment for head node.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/extractor/package-tree.html b/docs/api/org/apache/jmeter/extractor/package-tree.html new file mode 100644 index 00000000000..2a374ab7ec3 --- /dev/null +++ b/docs/api/org/apache/jmeter/extractor/package-tree.html @@ -0,0 +1,194 @@ + + + + + +org.apache.jmeter.extractor Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.extractor +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/functions/AbstractFunction.html b/docs/api/org/apache/jmeter/functions/AbstractFunction.html new file mode 100644 index 00000000000..0e9182d3b75 --- /dev/null +++ b/docs/api/org/apache/jmeter/functions/AbstractFunction.html @@ -0,0 +1,480 @@ + + + + + +AbstractFunction (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.functions +
+Class AbstractFunction

+
+java.lang.Object
+  extended by org.apache.jmeter.functions.AbstractFunction
+
+
+
All Implemented Interfaces:
Function
+
+
+
Direct Known Subclasses:
BeanShell, CharFunction, CSVRead, EscapeHtml, EscapeOroRegexpChars, EvalFunction, EvalVarFunction, FileToString, IntSum, IterationCounter, JavaScript, Jexl2Function, JexlFunction, LogFunction, LogFunction2, LongSum, MachineIP, MachineName, Property, Property2, Random, RandomString, RegexFunction, SamplerName, SetProperty, SplitFunction, StringFromFile, TestPlanName, ThreadNumber, TimeFunction, UnEscape, UnEscapeHtml, UrlDecode, UrlEncode, Uuid, Variable, XPath
+
+
+
+
public abstract class AbstractFunction
extends Object
implements Function
+ + +

+Provides common methods for all functions +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
AbstractFunction() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+protected  voidcheckMinParameterCount(Collection<CompoundVariable> parameters, + int minimum) + +
+          Utility method to check parameter counts.
+protected  voidcheckParameterCount(Collection<CompoundVariable> parameters, + int count) + +
+          Utility method to check parameter counts.
+protected  voidcheckParameterCount(Collection<CompoundVariable> parameters, + int min, + int max) + +
+          Utility method to check parameter counts.
+ Stringexecute() + +
+           
+abstract  Stringexecute(SampleResult previousResult, + Sampler currentSampler) + +
+           + N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files).
+abstract  StringgetReferenceKey() + +
+          Return the name of your function.
+protected  JMeterVariablesgetVariables() + +
+          Gives access to the JMeter variables for the current thread.
+abstract  voidsetParameters(Collection<CompoundVariable> parameters) + +
+          Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1)
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.functions.Function
getArgumentDesc
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+AbstractFunction

+
+public AbstractFunction()
+
+
+ + + + + + + + +
+Method Detail
+ +

+execute

+
+public abstract String execute(SampleResult previousResult,
+                               Sampler currentSampler)
+                        throws InvalidVariableException
+
+

+ N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files). +

+ JMeter ensures setParameters() happens-before execute(): setParameters is executed in main thread, + and worker threads are started after that. +

+

+
Specified by:
execute in interface Function
+
+
+
Parameters:
previousResult - The previous SampleResult
currentSampler - The current Sampler +
Returns:
The replacement value, which was generated by the function +
Throws: +
InvalidVariableException - - when the variables for the function call can't be evaluated
See Also:
Function.execute(SampleResult, Sampler)
+
+
+
+ +

+execute

+
+public String execute()
+               throws InvalidVariableException
+
+
+
+
+
+ +
Throws: +
InvalidVariableException
+
+
+
+ +

+setParameters

+
+public abstract void setParameters(Collection<CompoundVariable> parameters)
+                            throws InvalidVariableException
+
+
Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1) +

+

+
Specified by:
setParameters in interface Function
+
+
+
Parameters:
parameters - The parameters for the function call +
Throws: +
InvalidVariableException - - when the variables for the function call can't be evaluated
See Also:
Function.setParameters(Collection)
+
+
+
+ +

+getReferenceKey

+
+public abstract String getReferenceKey()
+
+
Description copied from interface: Function
+
Return the name of your function. Convention is to prepend "__" to the + name (ie "__regexFunction") +

+

+
Specified by:
getReferenceKey in interface Function
+
+
+ +
Returns:
The name of the funtion
See Also:
Function.getReferenceKey()
+
+
+
+ +

+getVariables

+
+protected JMeterVariables getVariables()
+
+
Gives access to the JMeter variables for the current thread. +

+

+
+
+
+ +
Returns:
a pointer to the JMeter variables.
+
+
+
+ +

+checkParameterCount

+
+protected void checkParameterCount(Collection<CompoundVariable> parameters,
+                                   int min,
+                                   int max)
+                            throws InvalidVariableException
+
+
Utility method to check parameter counts. +

+

+
+
+
+
Parameters:
parameters - collection of parameters
min - minimum number of parameters allowed
max - maximum number of parameters allowed +
Throws: +
InvalidVariableException - if the number of parameters is incorrect
+
+
+
+ +

+checkParameterCount

+
+protected void checkParameterCount(Collection<CompoundVariable> parameters,
+                                   int count)
+                            throws InvalidVariableException
+
+
Utility method to check parameter counts. +

+

+
+
+
+
Parameters:
parameters - collection of parameters
count - number of parameters expected +
Throws: +
InvalidVariableException - if the number of parameters is incorrect
+
+
+
+ +

+checkMinParameterCount

+
+protected void checkMinParameterCount(Collection<CompoundVariable> parameters,
+                                      int minimum)
+                               throws InvalidVariableException
+
+
Utility method to check parameter counts. +

+

+
+
+
+
Parameters:
parameters - collection of parameters
minimum - number of parameters expected +
Throws: +
InvalidVariableException - if the number of parameters is incorrect
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/functions/BeanShell.html b/docs/api/org/apache/jmeter/functions/BeanShell.html new file mode 100644 index 00000000000..5fed0579f0e --- /dev/null +++ b/docs/api/org/apache/jmeter/functions/BeanShell.html @@ -0,0 +1,427 @@ + + + + + +BeanShell (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.functions +
+Class BeanShell

+
+java.lang.Object
+  extended by org.apache.jmeter.functions.AbstractFunction
+      extended by org.apache.jmeter.functions.BeanShell
+
+
+
All Implemented Interfaces:
Function
+
+
+
+
public class BeanShell
extends AbstractFunction
+ + +

+A function which understands BeanShell +

+ +

+

+
Since:
+
1.X
+
+
+ +

+ + + + + + + + + + + +
+Field Summary
+static StringINIT_FILE + +
+           
+  + + + + + + + + + + +
+Constructor Summary
BeanShell() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Stringexecute(SampleResult previousResult, + Sampler currentSampler) + +
+           + N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files).
+ List<String>getArgumentDesc() + +
+          Return a list of strings briefly describing each parameter your function + takes.
+ StringgetReferenceKey() + +
+          Return the name of your function.
+ voidlog_info(String s) + +
+           
+ voidsetParameters(Collection<CompoundVariable> parameters) + +
+          Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1)
+ + + + + + + +
Methods inherited from class org.apache.jmeter.functions.AbstractFunction
checkMinParameterCount, checkParameterCount, checkParameterCount, execute, getVariables
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+INIT_FILE

+
+public static final String INIT_FILE
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+BeanShell

+
+public BeanShell()
+
+
+ + + + + + + + +
+Method Detail
+ +

+execute

+
+public String execute(SampleResult previousResult,
+                      Sampler currentSampler)
+               throws InvalidVariableException
+
+

+ N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files). +

+ JMeter ensures setParameters() happens-before execute(): setParameters is executed in main thread, + and worker threads are started after that. +

+

+
Specified by:
execute in interface Function
Specified by:
execute in class AbstractFunction
+
+
+
Parameters:
previousResult - The previous SampleResult
currentSampler - The current Sampler +
Returns:
The replacement value, which was generated by the function +
Throws: +
InvalidVariableException - - when the variables for the function call can't be evaluated
See Also:
Function.execute(SampleResult, Sampler)
+
+
+
+ +

+log_info

+
+public void log_info(String s)
+
+
+
+
+
+
+ +

+setParameters

+
+public void setParameters(Collection<CompoundVariable> parameters)
+                   throws InvalidVariableException
+
+
Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1) +

+

+
Specified by:
setParameters in interface Function
Specified by:
setParameters in class AbstractFunction
+
+
+
Parameters:
parameters - The parameters for the function call +
Throws: +
InvalidVariableException - - when the variables for the function call can't be evaluated
See Also:
Function.setParameters(Collection)
+
+
+
+ +

+getReferenceKey

+
+public String getReferenceKey()
+
+
Return the name of your function. Convention is to prepend "__" to the + name (ie "__regexFunction") +

+

+
Specified by:
getReferenceKey in interface Function
Specified by:
getReferenceKey in class AbstractFunction
+
+
+ +
Returns:
The name of the funtion
See Also:
Function.getReferenceKey()
+
+
+
+ +

+getArgumentDesc

+
+public List<String> getArgumentDesc()
+
+
Return a list of strings briefly describing each parameter your function + takes. Please use JMeterUtils.getResString(resource_name) to grab a + resource string. Otherwise, your help text will be difficult to + internationalize. + + This list is not optional. If you don't wish to write help, you must at + least return a List containing the correct number of blank strings, one + for each argument. +

+

+ +
Returns:
List with brief descriptions for each parameter the function takes
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/functions/CSVRead.html b/docs/api/org/apache/jmeter/functions/CSVRead.html new file mode 100644 index 00000000000..e923bcb23f0 --- /dev/null +++ b/docs/api/org/apache/jmeter/functions/CSVRead.html @@ -0,0 +1,389 @@ + + + + + +CSVRead (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.functions +
+Class CSVRead

+
+java.lang.Object
+  extended by org.apache.jmeter.functions.AbstractFunction
+      extended by org.apache.jmeter.functions.CSVRead
+
+
+
All Implemented Interfaces:
Function
+
+
+
+
public class CSVRead
extends AbstractFunction
+ + +

+The function represented by this class allows data to be read from CSV files. + Syntax is similar to StringFromFile function. The function allows the test to + line-thru the data in the CSV file - one line per each test. E.g. inserting + the following in the test scripts : + + ${_CSVRead(c:/BOF/abcd.csv,0)} // read (first) line of 'c:/BOF/abcd.csv' , + return the 1st column ( represented by the '0'), + ${_CSVRead(c:/BOF/abcd.csv,1)} // read (first) line of 'c:/BOF/abcd.csv' , + return the 2nd column ( represented by the '1'), + ${_CSVRead(c:/BOF/abcd.csv,next())} // Go to next line of 'c:/BOF/abcd.csv' + + NOTE: A single instance of each different file is opened and used for all + threads. + + To open the same file twice, use the alias function: __CSVRead(abc.csv,*ONE); + __CSVRead(abc.csv,*TWO); + + __CSVRead(*ONE,1); etc +

+ +

+

+
Since:
+
1.9
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
CSVRead() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Stringexecute(SampleResult previousResult, + Sampler currentSampler) + +
+           + N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files).
+ List<String>getArgumentDesc() + +
+          Return a list of strings briefly describing each parameter your function + takes.
+ StringgetReferenceKey() + +
+          Return the name of your function.
+ voidsetParameters(Collection<CompoundVariable> parameters) + +
+          Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1)
+ + + + + + + +
Methods inherited from class org.apache.jmeter.functions.AbstractFunction
checkMinParameterCount, checkParameterCount, checkParameterCount, execute, getVariables
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+CSVRead

+
+public CSVRead()
+
+
+ + + + + + + + +
+Method Detail
+ +

+execute

+
+public String execute(SampleResult previousResult,
+                      Sampler currentSampler)
+               throws InvalidVariableException
+
+

+ N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files). +

+ JMeter ensures setParameters() happens-before execute(): setParameters is executed in main thread, + and worker threads are started after that. +

+

+
Specified by:
execute in interface Function
Specified by:
execute in class AbstractFunction
+
+
+
Parameters:
previousResult - The previous SampleResult
currentSampler - The current Sampler +
Returns:
The replacement value, which was generated by the function +
Throws: +
InvalidVariableException - - when the variables for the function call can't be evaluated
See Also:
Function.execute(SampleResult, Sampler)
+
+
+
+ +

+getArgumentDesc

+
+public List<String> getArgumentDesc()
+
+
Return a list of strings briefly describing each parameter your function + takes. Please use JMeterUtils.getResString(resource_name) to grab a + resource string. Otherwise, your help text will be difficult to + internationalize. + + This list is not optional. If you don't wish to write help, you must at + least return a List containing the correct number of blank strings, one + for each argument. +

+

+ +
Returns:
List with brief descriptions for each parameter the function takes
+
+
+
+ +

+getReferenceKey

+
+public String getReferenceKey()
+
+
Return the name of your function. Convention is to prepend "__" to the + name (ie "__regexFunction") +

+

+
Specified by:
getReferenceKey in interface Function
Specified by:
getReferenceKey in class AbstractFunction
+
+
+ +
Returns:
The name of the funtion
See Also:
Function.getReferenceKey()
+
+
+
+ +

+setParameters

+
+public void setParameters(Collection<CompoundVariable> parameters)
+                   throws InvalidVariableException
+
+
Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1) +

+

+
Specified by:
setParameters in interface Function
Specified by:
setParameters in class AbstractFunction
+
+
+
Parameters:
parameters - The parameters for the function call +
Throws: +
InvalidVariableException - - when the variables for the function call can't be evaluated
See Also:
Function.setParameters(Collection)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/functions/CharFunction.html b/docs/api/org/apache/jmeter/functions/CharFunction.html new file mode 100644 index 00000000000..b343bcd88ba --- /dev/null +++ b/docs/api/org/apache/jmeter/functions/CharFunction.html @@ -0,0 +1,372 @@ + + + + + +CharFunction (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.functions +
+Class CharFunction

+
+java.lang.Object
+  extended by org.apache.jmeter.functions.AbstractFunction
+      extended by org.apache.jmeter.functions.CharFunction
+
+
+
All Implemented Interfaces:
Function
+
+
+
+
public class CharFunction
extends AbstractFunction
+ + +

+Function to generate chars from a list of decimal or hex values +

+ +

+

+
Since:
+
2.3.3
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
CharFunction() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Stringexecute(SampleResult previousResult, + Sampler currentSampler) + +
+           + N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files).
+ List<String>getArgumentDesc() + +
+          Return a list of strings briefly describing each parameter your function + takes.
+ StringgetReferenceKey() + +
+          Return the name of your function.
+ voidsetParameters(Collection<CompoundVariable> parameters) + +
+          Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1)
+ + + + + + + +
Methods inherited from class org.apache.jmeter.functions.AbstractFunction
checkMinParameterCount, checkParameterCount, checkParameterCount, execute, getVariables
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+CharFunction

+
+public CharFunction()
+
+
+ + + + + + + + +
+Method Detail
+ +

+execute

+
+public String execute(SampleResult previousResult,
+                      Sampler currentSampler)
+               throws InvalidVariableException
+
+

+ N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files). +

+ JMeter ensures setParameters() happens-before execute(): setParameters is executed in main thread, + and worker threads are started after that. +

+

+
Specified by:
execute in interface Function
Specified by:
execute in class AbstractFunction
+
+
+
Parameters:
previousResult - The previous SampleResult
currentSampler - The current Sampler +
Returns:
The replacement value, which was generated by the function +
Throws: +
InvalidVariableException - - when the variables for the function call can't be evaluated
See Also:
Function.execute(SampleResult, Sampler)
+
+
+
+ +

+setParameters

+
+public void setParameters(Collection<CompoundVariable> parameters)
+                   throws InvalidVariableException
+
+
Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1) +

+

+
Specified by:
setParameters in interface Function
Specified by:
setParameters in class AbstractFunction
+
+
+
Parameters:
parameters - The parameters for the function call +
Throws: +
InvalidVariableException - - when the variables for the function call can't be evaluated
See Also:
Function.setParameters(Collection)
+
+
+
+ +

+getReferenceKey

+
+public String getReferenceKey()
+
+
Return the name of your function. Convention is to prepend "__" to the + name (ie "__regexFunction") +

+

+
Specified by:
getReferenceKey in interface Function
Specified by:
getReferenceKey in class AbstractFunction
+
+
+ +
Returns:
The name of the funtion
See Also:
Function.getReferenceKey()
+
+
+
+ +

+getArgumentDesc

+
+public List<String> getArgumentDesc()
+
+
Return a list of strings briefly describing each parameter your function + takes. Please use JMeterUtils.getResString(resource_name) to grab a + resource string. Otherwise, your help text will be difficult to + internationalize. + + This list is not optional. If you don't wish to write help, you must at + least return a List containing the correct number of blank strings, one + for each argument. +

+

+ +
Returns:
List with brief descriptions for each parameter the function takes
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/functions/EscapeHtml.html b/docs/api/org/apache/jmeter/functions/EscapeHtml.html new file mode 100644 index 00000000000..64c9abb2d26 --- /dev/null +++ b/docs/api/org/apache/jmeter/functions/EscapeHtml.html @@ -0,0 +1,385 @@ + + + + + +EscapeHtml (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.functions +
+Class EscapeHtml

+
+java.lang.Object
+  extended by org.apache.jmeter.functions.AbstractFunction
+      extended by org.apache.jmeter.functions.EscapeHtml
+
+
+
All Implemented Interfaces:
Function
+
+
+
+
public class EscapeHtml
extends AbstractFunction
+ + +

+

Function which escapes the characters in a String using HTML entities.

+ +

+ For example: +

+

"bread" & "butter"

+ becomes: +

+ &quot;bread&quot; &amp; &quot;butter&quot;. +

+ +

Supports all known HTML 4.0 entities. + Note that the commonly used apostrophe escape character (&apos;) + is not a legal entity and so is not supported).

+

+ +

+

+
Since:
+
2.3.3
+
See Also:
(Commons Lang)
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
EscapeHtml() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Stringexecute(SampleResult previousResult, + Sampler currentSampler) + +
+           + N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files).
+ List<String>getArgumentDesc() + +
+          Return a list of strings briefly describing each parameter your function + takes.
+ StringgetReferenceKey() + +
+          Return the name of your function.
+ voidsetParameters(Collection<CompoundVariable> parameters) + +
+          Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1)
+ + + + + + + +
Methods inherited from class org.apache.jmeter.functions.AbstractFunction
checkMinParameterCount, checkParameterCount, checkParameterCount, execute, getVariables
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+EscapeHtml

+
+public EscapeHtml()
+
+
+ + + + + + + + +
+Method Detail
+ +

+execute

+
+public String execute(SampleResult previousResult,
+                      Sampler currentSampler)
+               throws InvalidVariableException
+
+

+ N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files). +

+ JMeter ensures setParameters() happens-before execute(): setParameters is executed in main thread, + and worker threads are started after that. +

+

+
Specified by:
execute in interface Function
Specified by:
execute in class AbstractFunction
+
+
+
Parameters:
previousResult - The previous SampleResult
currentSampler - The current Sampler +
Returns:
The replacement value, which was generated by the function +
Throws: +
InvalidVariableException - - when the variables for the function call can't be evaluated
See Also:
Function.execute(SampleResult, Sampler)
+
+
+
+ +

+setParameters

+
+public void setParameters(Collection<CompoundVariable> parameters)
+                   throws InvalidVariableException
+
+
Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1) +

+

+
Specified by:
setParameters in interface Function
Specified by:
setParameters in class AbstractFunction
+
+
+
Parameters:
parameters - The parameters for the function call +
Throws: +
InvalidVariableException - - when the variables for the function call can't be evaluated
See Also:
Function.setParameters(Collection)
+
+
+
+ +

+getReferenceKey

+
+public String getReferenceKey()
+
+
Return the name of your function. Convention is to prepend "__" to the + name (ie "__regexFunction") +

+

+
Specified by:
getReferenceKey in interface Function
Specified by:
getReferenceKey in class AbstractFunction
+
+
+ +
Returns:
The name of the funtion
See Also:
Function.getReferenceKey()
+
+
+
+ +

+getArgumentDesc

+
+public List<String> getArgumentDesc()
+
+
Return a list of strings briefly describing each parameter your function + takes. Please use JMeterUtils.getResString(resource_name) to grab a + resource string. Otherwise, your help text will be difficult to + internationalize. + + This list is not optional. If you don't wish to write help, you must at + least return a List containing the correct number of blank strings, one + for each argument. +

+

+ +
Returns:
List with brief descriptions for each parameter the function takes
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/functions/EscapeOroRegexpChars.html b/docs/api/org/apache/jmeter/functions/EscapeOroRegexpChars.html new file mode 100644 index 00000000000..b3649fa0499 --- /dev/null +++ b/docs/api/org/apache/jmeter/functions/EscapeOroRegexpChars.html @@ -0,0 +1,374 @@ + + + + + +EscapeOroRegexpChars (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.functions +
+Class EscapeOroRegexpChars

+
+java.lang.Object
+  extended by org.apache.jmeter.functions.AbstractFunction
+      extended by org.apache.jmeter.functions.EscapeOroRegexpChars
+
+
+
All Implemented Interfaces:
Function
+
+
+
+
public class EscapeOroRegexpChars
extends AbstractFunction
+ + +

+Escape ORO meta characters +

+ +

+

+
Since:
+
2.9
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
EscapeOroRegexpChars() + +
+          No-arg constructor.
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Stringexecute(SampleResult previousResult, + Sampler currentSampler) + +
+           + N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files).
+ List<String>getArgumentDesc() + +
+          Return a list of strings briefly describing each parameter your function + takes.
+ StringgetReferenceKey() + +
+          Return the name of your function.
+ voidsetParameters(Collection<CompoundVariable> parameters) + +
+          Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1)
+ + + + + + + +
Methods inherited from class org.apache.jmeter.functions.AbstractFunction
checkMinParameterCount, checkParameterCount, checkParameterCount, execute, getVariables
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+EscapeOroRegexpChars

+
+public EscapeOroRegexpChars()
+
+
No-arg constructor. +

+

+ + + + + + + + +
+Method Detail
+ +

+execute

+
+public String execute(SampleResult previousResult,
+                      Sampler currentSampler)
+               throws InvalidVariableException
+
+

+ N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files). +

+ JMeter ensures setParameters() happens-before execute(): setParameters is executed in main thread, + and worker threads are started after that. +

+

+
Specified by:
execute in interface Function
Specified by:
execute in class AbstractFunction
+
+
+
Parameters:
previousResult - The previous SampleResult
currentSampler - The current Sampler +
Returns:
The replacement value, which was generated by the function +
Throws: +
InvalidVariableException - - when the variables for the function call can't be evaluated
See Also:
Function.execute(SampleResult, Sampler)
+
+
+
+ +

+setParameters

+
+public void setParameters(Collection<CompoundVariable> parameters)
+                   throws InvalidVariableException
+
+
Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1) +

+

+
Specified by:
setParameters in interface Function
Specified by:
setParameters in class AbstractFunction
+
+
+
Parameters:
parameters - The parameters for the function call +
Throws: +
InvalidVariableException - - when the variables for the function call can't be evaluated
See Also:
Function.setParameters(Collection)
+
+
+
+ +

+getReferenceKey

+
+public String getReferenceKey()
+
+
Return the name of your function. Convention is to prepend "__" to the + name (ie "__regexFunction") +

+

+
Specified by:
getReferenceKey in interface Function
Specified by:
getReferenceKey in class AbstractFunction
+
+
+ +
Returns:
The name of the funtion
See Also:
Function.getReferenceKey()
+
+
+
+ +

+getArgumentDesc

+
+public List<String> getArgumentDesc()
+
+
Return a list of strings briefly describing each parameter your function + takes. Please use JMeterUtils.getResString(resource_name) to grab a + resource string. Otherwise, your help text will be difficult to + internationalize. + + This list is not optional. If you don't wish to write help, you must at + least return a List containing the correct number of blank strings, one + for each argument. +

+

+ +
Returns:
List with brief descriptions for each parameter the function takes
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/functions/EvalFunction.html b/docs/api/org/apache/jmeter/functions/EvalFunction.html new file mode 100644 index 00000000000..fa533623112 --- /dev/null +++ b/docs/api/org/apache/jmeter/functions/EvalFunction.html @@ -0,0 +1,376 @@ + + + + + +EvalFunction (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.functions +
+Class EvalFunction

+
+java.lang.Object
+  extended by org.apache.jmeter.functions.AbstractFunction
+      extended by org.apache.jmeter.functions.EvalFunction
+
+
+
All Implemented Interfaces:
Function
+
+
+
+
public class EvalFunction
extends AbstractFunction
+ + +

+Function to evaluate a string which may contain variable or function references. + + Parameter: string to be evaluated + + Returns: the evaluated value +

+ +

+

+
Since:
+
2.3.1
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
EvalFunction() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Stringexecute(SampleResult previousResult, + Sampler currentSampler) + +
+           + N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files).
+ List<String>getArgumentDesc() + +
+          Return a list of strings briefly describing each parameter your function + takes.
+ StringgetReferenceKey() + +
+          Return the name of your function.
+ voidsetParameters(Collection<CompoundVariable> parameters) + +
+          Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1)
+ + + + + + + +
Methods inherited from class org.apache.jmeter.functions.AbstractFunction
checkMinParameterCount, checkParameterCount, checkParameterCount, execute, getVariables
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+EvalFunction

+
+public EvalFunction()
+
+
+ + + + + + + + +
+Method Detail
+ +

+execute

+
+public String execute(SampleResult previousResult,
+                      Sampler currentSampler)
+               throws InvalidVariableException
+
+

+ N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files). +

+ JMeter ensures setParameters() happens-before execute(): setParameters is executed in main thread, + and worker threads are started after that. +

+

+
Specified by:
execute in interface Function
Specified by:
execute in class AbstractFunction
+
+
+
Parameters:
previousResult - The previous SampleResult
currentSampler - The current Sampler +
Returns:
The replacement value, which was generated by the function +
Throws: +
InvalidVariableException - - when the variables for the function call can't be evaluated
See Also:
Function.execute(SampleResult, Sampler)
+
+
+
+ +

+setParameters

+
+public void setParameters(Collection<CompoundVariable> parameters)
+                   throws InvalidVariableException
+
+
Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1) +

+

+
Specified by:
setParameters in interface Function
Specified by:
setParameters in class AbstractFunction
+
+
+
Parameters:
parameters - The parameters for the function call +
Throws: +
InvalidVariableException - - when the variables for the function call can't be evaluated
See Also:
Function.setParameters(Collection)
+
+
+
+ +

+getReferenceKey

+
+public String getReferenceKey()
+
+
Return the name of your function. Convention is to prepend "__" to the + name (ie "__regexFunction") +

+

+
Specified by:
getReferenceKey in interface Function
Specified by:
getReferenceKey in class AbstractFunction
+
+
+ +
Returns:
The name of the funtion
See Also:
Function.getReferenceKey()
+
+
+
+ +

+getArgumentDesc

+
+public List<String> getArgumentDesc()
+
+
Return a list of strings briefly describing each parameter your function + takes. Please use JMeterUtils.getResString(resource_name) to grab a + resource string. Otherwise, your help text will be difficult to + internationalize. + + This list is not optional. If you don't wish to write help, you must at + least return a List containing the correct number of blank strings, one + for each argument. +

+

+ +
Returns:
List with brief descriptions for each parameter the function takes
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/functions/EvalVarFunction.html b/docs/api/org/apache/jmeter/functions/EvalVarFunction.html new file mode 100644 index 00000000000..0086ce5d766 --- /dev/null +++ b/docs/api/org/apache/jmeter/functions/EvalVarFunction.html @@ -0,0 +1,376 @@ + + + + + +EvalVarFunction (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.functions +
+Class EvalVarFunction

+
+java.lang.Object
+  extended by org.apache.jmeter.functions.AbstractFunction
+      extended by org.apache.jmeter.functions.EvalVarFunction
+
+
+
All Implemented Interfaces:
Function
+
+
+
+
public class EvalVarFunction
extends AbstractFunction
+ + +

+Function to evaluate a string which may contain variable or function references. + + Parameter: string to be evaluated + + Returns: the evaluated value +

+ +

+

+
Since:
+
2.3.1
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
EvalVarFunction() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Stringexecute(SampleResult previousResult, + Sampler currentSampler) + +
+           + N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files).
+ List<String>getArgumentDesc() + +
+          Return a list of strings briefly describing each parameter your function + takes.
+ StringgetReferenceKey() + +
+          Return the name of your function.
+ voidsetParameters(Collection<CompoundVariable> parameters) + +
+          Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1)
+ + + + + + + +
Methods inherited from class org.apache.jmeter.functions.AbstractFunction
checkMinParameterCount, checkParameterCount, checkParameterCount, execute, getVariables
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+EvalVarFunction

+
+public EvalVarFunction()
+
+
+ + + + + + + + +
+Method Detail
+ +

+execute

+
+public String execute(SampleResult previousResult,
+                      Sampler currentSampler)
+               throws InvalidVariableException
+
+

+ N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files). +

+ JMeter ensures setParameters() happens-before execute(): setParameters is executed in main thread, + and worker threads are started after that. +

+

+
Specified by:
execute in interface Function
Specified by:
execute in class AbstractFunction
+
+
+
Parameters:
previousResult - The previous SampleResult
currentSampler - The current Sampler +
Returns:
The replacement value, which was generated by the function +
Throws: +
InvalidVariableException - - when the variables for the function call can't be evaluated
See Also:
Function.execute(SampleResult, Sampler)
+
+
+
+ +

+setParameters

+
+public void setParameters(Collection<CompoundVariable> parameters)
+                   throws InvalidVariableException
+
+
Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1) +

+

+
Specified by:
setParameters in interface Function
Specified by:
setParameters in class AbstractFunction
+
+
+
Parameters:
parameters - The parameters for the function call +
Throws: +
InvalidVariableException - - when the variables for the function call can't be evaluated
See Also:
Function.setParameters(Collection)
+
+
+
+ +

+getReferenceKey

+
+public String getReferenceKey()
+
+
Return the name of your function. Convention is to prepend "__" to the + name (ie "__regexFunction") +

+

+
Specified by:
getReferenceKey in interface Function
Specified by:
getReferenceKey in class AbstractFunction
+
+
+ +
Returns:
The name of the funtion
See Also:
Function.getReferenceKey()
+
+
+
+ +

+getArgumentDesc

+
+public List<String> getArgumentDesc()
+
+
Return a list of strings briefly describing each parameter your function + takes. Please use JMeterUtils.getResString(resource_name) to grab a + resource string. Otherwise, your help text will be difficult to + internationalize. + + This list is not optional. If you don't wish to write help, you must at + least return a List containing the correct number of blank strings, one + for each argument. +

+

+ +
Returns:
List with brief descriptions for each parameter the function takes
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/functions/FileRowColContainer.html b/docs/api/org/apache/jmeter/functions/FileRowColContainer.html new file mode 100644 index 00000000000..039570a5ab5 --- /dev/null +++ b/docs/api/org/apache/jmeter/functions/FileRowColContainer.html @@ -0,0 +1,390 @@ + + + + + +FileRowColContainer (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.functions +
+Class FileRowColContainer

+
+java.lang.Object
+  extended by org.apache.jmeter.functions.FileRowColContainer
+
+
+
+
public class FileRowColContainer
extends Object
+ + +

+File data container for CSV (and similar delimited) files Data is accessible + via row and column number +

+ +

+


+ +

+ + + + + + + + + + + +
+Field Summary
+static StringDELIMITER + +
+           
+  + + + + + + + + + + + + + +
+Constructor Summary
FileRowColContainer(String file) + +
+           
FileRowColContainer(String file, + String delim) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetColumn(int row, + int col) + +
+          Get the string for the column from the current row
+ StringgetFileName() + +
+           
+ intgetSize() + +
+           
+ intnextRow() + +
+          Returns the next row to the caller, and updates it, allowing for wrap + round
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+DELIMITER

+
+public static final String DELIMITER
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+FileRowColContainer

+
+public FileRowColContainer(String file,
+                           String delim)
+                    throws IOException,
+                           FileNotFoundException
+
+
+ +
Throws: +
IOException +
FileNotFoundException
+
+
+ +

+FileRowColContainer

+
+public FileRowColContainer(String file)
+                    throws IOException,
+                           FileNotFoundException
+
+
+ +
Throws: +
IOException +
FileNotFoundException
+
+ + + + + + + + +
+Method Detail
+ +

+getColumn

+
+public String getColumn(int row,
+                        int col)
+                 throws IndexOutOfBoundsException
+
+
Get the string for the column from the current row +

+

+
Parameters:
row - row number (from 0)
col - column number (from 0) +
Returns:
the string (empty if out of bounds) +
Throws: +
IndexOutOfBoundsException - if the column number is out of bounds
+
+
+
+ +

+nextRow

+
+public int nextRow()
+
+
Returns the next row to the caller, and updates it, allowing for wrap + round +

+

+ +
Returns:
the first free (unread) row
+
+
+
+ +

+getFileName

+
+public String getFileName()
+
+
+ +
Returns:
the file name for this class
+
+
+
+ +

+getSize

+
+public int getSize()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/functions/FileToString.html b/docs/api/org/apache/jmeter/functions/FileToString.html new file mode 100644 index 00000000000..46fe89d28d1 --- /dev/null +++ b/docs/api/org/apache/jmeter/functions/FileToString.html @@ -0,0 +1,382 @@ + + + + + +FileToString (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.functions +
+Class FileToString

+
+java.lang.Object
+  extended by org.apache.jmeter.functions.AbstractFunction
+      extended by org.apache.jmeter.functions.FileToString
+
+
+
All Implemented Interfaces:
Function
+
+
+
+
public class FileToString
extends AbstractFunction
+ + +

+FileToString Function to read a complete file into a String. + + Parameters: + - file name + - file encoding (optional) + - variable name (optional) + + Returns: + - the whole text from a file + - or **ERR** if an error occurs + - value is also optionally saved in the variable for later re-use. +

+ +

+

+
Since:
+
2.4
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
FileToString() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Stringexecute(SampleResult previousResult, + Sampler currentSampler) + +
+           + N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files).
+ List<String>getArgumentDesc() + +
+          Return a list of strings briefly describing each parameter your function + takes.
+ StringgetReferenceKey() + +
+          Return the name of your function.
+ voidsetParameters(Collection<CompoundVariable> parameters) + +
+          Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1)
+ + + + + + + +
Methods inherited from class org.apache.jmeter.functions.AbstractFunction
checkMinParameterCount, checkParameterCount, checkParameterCount, execute, getVariables
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+FileToString

+
+public FileToString()
+
+
+ + + + + + + + +
+Method Detail
+ +

+execute

+
+public String execute(SampleResult previousResult,
+                      Sampler currentSampler)
+               throws InvalidVariableException
+
+

+ N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files). +

+ JMeter ensures setParameters() happens-before execute(): setParameters is executed in main thread, + and worker threads are started after that. +

+

+
Specified by:
execute in interface Function
Specified by:
execute in class AbstractFunction
+
+
+
Parameters:
previousResult - The previous SampleResult
currentSampler - The current Sampler +
Returns:
The replacement value, which was generated by the function +
Throws: +
InvalidVariableException - - when the variables for the function call can't be evaluated
See Also:
Function.execute(SampleResult, Sampler)
+
+
+
+ +

+setParameters

+
+public void setParameters(Collection<CompoundVariable> parameters)
+                   throws InvalidVariableException
+
+
Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1) +

+

+
Specified by:
setParameters in interface Function
Specified by:
setParameters in class AbstractFunction
+
+
+
Parameters:
parameters - The parameters for the function call +
Throws: +
InvalidVariableException - - when the variables for the function call can't be evaluated
See Also:
Function.setParameters(Collection)
+
+
+
+ +

+getReferenceKey

+
+public String getReferenceKey()
+
+
Return the name of your function. Convention is to prepend "__" to the + name (ie "__regexFunction") +

+

+
Specified by:
getReferenceKey in interface Function
Specified by:
getReferenceKey in class AbstractFunction
+
+
+ +
Returns:
The name of the funtion
See Also:
Function.getReferenceKey()
+
+
+
+ +

+getArgumentDesc

+
+public List<String> getArgumentDesc()
+
+
Return a list of strings briefly describing each parameter your function + takes. Please use JMeterUtils.getResString(resource_name) to grab a + resource string. Otherwise, your help text will be difficult to + internationalize. + + This list is not optional. If you don't wish to write help, you must at + least return a List containing the correct number of blank strings, one + for each argument. +

+

+ +
Returns:
List with brief descriptions for each parameter the function takes
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/functions/FileWrapper.html b/docs/api/org/apache/jmeter/functions/FileWrapper.html new file mode 100644 index 00000000000..442870c7986 --- /dev/null +++ b/docs/api/org/apache/jmeter/functions/FileWrapper.html @@ -0,0 +1,307 @@ + + + + + +FileWrapper (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.functions +
+Class FileWrapper

+
+java.lang.Object
+  extended by org.apache.jmeter.functions.FileWrapper
+
+
+
+
public final class FileWrapper
extends Object
+ + +

+This class wraps the FileRowColContainer for use across multiple threads. + + It does this by maintaining a list of open files, keyed by file name (or + alias, if used). A list of open files is also maintained for each thread, + together with the current line number. +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static voidclearAll() + +
+           
+static voidendRow(String file) + +
+           
+static StringgetColumn(String file, + int col) + +
+           
+static intgetCurrentRow(String file) + +
+          Gets the current row number (mainly for error reporting)
+static voidopen(String file, + String alias) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+open

+
+public static void open(String file,
+                        String alias)
+
+
+
+
+
+
+ +

+endRow

+
+public static void endRow(String file)
+
+
+
+
+
+
+ +

+getColumn

+
+public static String getColumn(String file,
+                               int col)
+
+
+
+
+
+
+ +

+getCurrentRow

+
+public static int getCurrentRow(String file)
+
+
Gets the current row number (mainly for error reporting) +

+

+
Parameters:
file - name of the file for which the row number is asked +
Returns:
the current row number for this thread, or -1 if + file was not opened yet
+
+
+
+ +

+clearAll

+
+public static void clearAll()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/functions/Function.html b/docs/api/org/apache/jmeter/functions/Function.html new file mode 100644 index 00000000000..6428633c0b5 --- /dev/null +++ b/docs/api/org/apache/jmeter/functions/Function.html @@ -0,0 +1,303 @@ + + + + + +Function (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.functions +
+Interface Function

+
+
All Known Implementing Classes:
AbstractFunction, BeanShell, CharFunction, CompoundVariable, CSVRead, EscapeHtml, EscapeOroRegexpChars, EvalFunction, EvalVarFunction, FileToString, IntSum, IterationCounter, JavaScript, Jexl2Function, JexlFunction, LogFunction, LogFunction2, LongSum, MachineIP, MachineName, Property, Property2, Random, RandomString, RegexFunction, SamplerName, SetProperty, SplitFunction, StringFromFile, TestPlanName, ThreadNumber, TimeFunction, UnEscape, UnEscapeHtml, UrlDecode, UrlEncode, Uuid, Variable, XPath
+
+
+
+
public interface Function
+ + +

+Methods that a function must implement +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Stringexecute(SampleResult previousResult, + Sampler currentSampler) + +
+          Given the previous SampleResult and the current Sampler, return a string + to use as a replacement value for the function call.
+ List<String>getArgumentDesc() + +
+          Return a list of strings briefly describing each parameter your function + takes.
+ StringgetReferenceKey() + +
+          Return the name of your function.
+ voidsetParameters(Collection<CompoundVariable> parameters) + +
+          A collection of the parameters used to configure your function.
+  +

+ + + + + + + + +
+Method Detail
+ +

+execute

+
+String execute(SampleResult previousResult,
+               Sampler currentSampler)
+               throws InvalidVariableException
+
+
Given the previous SampleResult and the current Sampler, return a string + to use as a replacement value for the function call. Assume + "setParameter" was previously called. + + This method must be threadsafe - multiple threads will be using the same + object. +

+

+
Parameters:
previousResult - The previous SampleResult
currentSampler - The current Sampler +
Returns:
The replacement value, which was generated by the function +
Throws: +
InvalidVariableException - - when the variables for the function call can't be evaluated
+
+
+
+ +

+setParameters

+
+void setParameters(Collection<CompoundVariable> parameters)
+                   throws InvalidVariableException
+
+
A collection of the parameters used to configure your function. Each + parameter is a CompoundVariable and can be resolved by calling the + execute() method of the CompoundVariable (which should be done at + execution.) +

+

+
Parameters:
parameters - The parameters for the function call +
Throws: +
InvalidVariableException - - when the variables for the function call can't be evaluated
+
+
+
+ +

+getReferenceKey

+
+String getReferenceKey()
+
+
Return the name of your function. Convention is to prepend "__" to the + name (ie "__regexFunction") +

+

+ +
Returns:
The name of the funtion
+
+
+
+ +

+getArgumentDesc

+
+List<String> getArgumentDesc()
+
+
Return a list of strings briefly describing each parameter your function + takes. Please use JMeterUtils.getResString(resource_name) to grab a + resource string. Otherwise, your help text will be difficult to + internationalize. + + This list is not optional. If you don't wish to write help, you must at + least return a List containing the correct number of blank strings, one + for each argument. +

+

+ +
Returns:
List with brief descriptions for each parameter the function takes
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/functions/IntSum.html b/docs/api/org/apache/jmeter/functions/IntSum.html new file mode 100644 index 00000000000..6ccfbd9c79b --- /dev/null +++ b/docs/api/org/apache/jmeter/functions/IntSum.html @@ -0,0 +1,374 @@ + + + + + +IntSum (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.functions +
+Class IntSum

+
+java.lang.Object
+  extended by org.apache.jmeter.functions.AbstractFunction
+      extended by org.apache.jmeter.functions.IntSum
+
+
+
All Implemented Interfaces:
Function
+
+
+
+
public class IntSum
extends AbstractFunction
+ + +

+Provides an intSum function that adds two or more integer values. +

+ +

+

+
Since:
+
1.8.1
+
See Also:
LongSum
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
IntSum() + +
+          No-arg constructor.
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Stringexecute(SampleResult previousResult, + Sampler currentSampler) + +
+           + N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files).
+ List<String>getArgumentDesc() + +
+          Return a list of strings briefly describing each parameter your function + takes.
+ StringgetReferenceKey() + +
+          Return the name of your function.
+ voidsetParameters(Collection<CompoundVariable> parameters) + +
+          Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1)
+ + + + + + + +
Methods inherited from class org.apache.jmeter.functions.AbstractFunction
checkMinParameterCount, checkParameterCount, checkParameterCount, execute, getVariables
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+IntSum

+
+public IntSum()
+
+
No-arg constructor. +

+

+ + + + + + + + +
+Method Detail
+ +

+execute

+
+public String execute(SampleResult previousResult,
+                      Sampler currentSampler)
+               throws InvalidVariableException
+
+

+ N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files). +

+ JMeter ensures setParameters() happens-before execute(): setParameters is executed in main thread, + and worker threads are started after that. +

+

+
Specified by:
execute in interface Function
Specified by:
execute in class AbstractFunction
+
+
+
Parameters:
previousResult - The previous SampleResult
currentSampler - The current Sampler +
Returns:
The replacement value, which was generated by the function +
Throws: +
InvalidVariableException - - when the variables for the function call can't be evaluated
See Also:
Function.execute(SampleResult, Sampler)
+
+
+
+ +

+setParameters

+
+public void setParameters(Collection<CompoundVariable> parameters)
+                   throws InvalidVariableException
+
+
Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1) +

+

+
Specified by:
setParameters in interface Function
Specified by:
setParameters in class AbstractFunction
+
+
+
Parameters:
parameters - The parameters for the function call +
Throws: +
InvalidVariableException - - when the variables for the function call can't be evaluated
See Also:
Function.setParameters(Collection)
+
+
+
+ +

+getReferenceKey

+
+public String getReferenceKey()
+
+
Return the name of your function. Convention is to prepend "__" to the + name (ie "__regexFunction") +

+

+
Specified by:
getReferenceKey in interface Function
Specified by:
getReferenceKey in class AbstractFunction
+
+
+ +
Returns:
The name of the funtion
See Also:
Function.getReferenceKey()
+
+
+
+ +

+getArgumentDesc

+
+public List<String> getArgumentDesc()
+
+
Return a list of strings briefly describing each parameter your function + takes. Please use JMeterUtils.getResString(resource_name) to grab a + resource string. Otherwise, your help text will be difficult to + internationalize. + + This list is not optional. If you don't wish to write help, you must at + least return a List containing the correct number of blank strings, one + for each argument. +

+

+ +
Returns:
List with brief descriptions for each parameter the function takes
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/functions/InvalidVariableException.html b/docs/api/org/apache/jmeter/functions/InvalidVariableException.html new file mode 100644 index 00000000000..aa85c71728e --- /dev/null +++ b/docs/api/org/apache/jmeter/functions/InvalidVariableException.html @@ -0,0 +1,280 @@ + + + + + +InvalidVariableException (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.functions +
+Class InvalidVariableException

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by org.apache.jmeter.functions.InvalidVariableException
+
+
+
All Implemented Interfaces:
Serializable
+
+
+
+
public class InvalidVariableException
extends Exception
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + + +
+Constructor Summary
InvalidVariableException() + +
+           
InvalidVariableException(String msg) + +
+           
InvalidVariableException(String message, + Throwable cause) + +
+           
InvalidVariableException(Throwable cause) + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+InvalidVariableException

+
+public InvalidVariableException()
+
+
+
+ +

+InvalidVariableException

+
+public InvalidVariableException(String message,
+                                Throwable cause)
+
+
+
+ +

+InvalidVariableException

+
+public InvalidVariableException(Throwable cause)
+
+
+
+ +

+InvalidVariableException

+
+public InvalidVariableException(String msg)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/functions/IterationCounter.html b/docs/api/org/apache/jmeter/functions/IterationCounter.html new file mode 100644 index 00000000000..c8fd18497ea --- /dev/null +++ b/docs/api/org/apache/jmeter/functions/IterationCounter.html @@ -0,0 +1,373 @@ + + + + + +IterationCounter (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.functions +
+Class IterationCounter

+
+java.lang.Object
+  extended by org.apache.jmeter.functions.AbstractFunction
+      extended by org.apache.jmeter.functions.IterationCounter
+
+
+
All Implemented Interfaces:
Function
+
+
+
+
public class IterationCounter
extends AbstractFunction
+ + +

+Counter that can be referenced anywhere in the Thread Group. It can be configured per User (Thread Local) + or globally. +

+ +

+

+
Since:
+
1.X
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
IterationCounter() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Stringexecute(SampleResult previousResult, + Sampler currentSampler) + +
+           + N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files).
+ List<String>getArgumentDesc() + +
+          Return a list of strings briefly describing each parameter your function + takes.
+ StringgetReferenceKey() + +
+          Return the name of your function.
+ voidsetParameters(Collection<CompoundVariable> parameters) + +
+          Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1)
+ + + + + + + +
Methods inherited from class org.apache.jmeter.functions.AbstractFunction
checkMinParameterCount, checkParameterCount, checkParameterCount, execute, getVariables
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+IterationCounter

+
+public IterationCounter()
+
+
+ + + + + + + + +
+Method Detail
+ +

+execute

+
+public String execute(SampleResult previousResult,
+                      Sampler currentSampler)
+               throws InvalidVariableException
+
+

+ N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files). +

+ JMeter ensures setParameters() happens-before execute(): setParameters is executed in main thread, + and worker threads are started after that. +

+

+
Specified by:
execute in interface Function
Specified by:
execute in class AbstractFunction
+
+
+
Parameters:
previousResult - The previous SampleResult
currentSampler - The current Sampler +
Returns:
The replacement value, which was generated by the function +
Throws: +
InvalidVariableException - - when the variables for the function call can't be evaluated
See Also:
Function.execute(SampleResult, Sampler)
+
+
+
+ +

+setParameters

+
+public void setParameters(Collection<CompoundVariable> parameters)
+                   throws InvalidVariableException
+
+
Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1) +

+

+
Specified by:
setParameters in interface Function
Specified by:
setParameters in class AbstractFunction
+
+
+
Parameters:
parameters - The parameters for the function call +
Throws: +
InvalidVariableException - - when the variables for the function call can't be evaluated
See Also:
Function.setParameters(Collection)
+
+
+
+ +

+getReferenceKey

+
+public String getReferenceKey()
+
+
Return the name of your function. Convention is to prepend "__" to the + name (ie "__regexFunction") +

+

+
Specified by:
getReferenceKey in interface Function
Specified by:
getReferenceKey in class AbstractFunction
+
+
+ +
Returns:
The name of the funtion
See Also:
Function.getReferenceKey()
+
+
+
+ +

+getArgumentDesc

+
+public List<String> getArgumentDesc()
+
+
Return a list of strings briefly describing each parameter your function + takes. Please use JMeterUtils.getResString(resource_name) to grab a + resource string. Otherwise, your help text will be difficult to + internationalize. + + This list is not optional. If you don't wish to write help, you must at + least return a List containing the correct number of blank strings, one + for each argument. +

+

+ +
Returns:
List with brief descriptions for each parameter the function takes
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/functions/JavaScript.html b/docs/api/org/apache/jmeter/functions/JavaScript.html new file mode 100644 index 00000000000..ea26ff5072f --- /dev/null +++ b/docs/api/org/apache/jmeter/functions/JavaScript.html @@ -0,0 +1,372 @@ + + + + + +JavaScript (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.functions +
+Class JavaScript

+
+java.lang.Object
+  extended by org.apache.jmeter.functions.AbstractFunction
+      extended by org.apache.jmeter.functions.JavaScript
+
+
+
All Implemented Interfaces:
Function
+
+
+
+
public class JavaScript
extends AbstractFunction
+ + +

+javaScript function implementation that executes a piece of JavaScript (not Java!) code and returns its value +

+ +

+

+
Since:
+
1.9
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
JavaScript() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Stringexecute(SampleResult previousResult, + Sampler currentSampler) + +
+           + N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files).
+ List<String>getArgumentDesc() + +
+          Return a list of strings briefly describing each parameter your function + takes.
+ StringgetReferenceKey() + +
+          Return the name of your function.
+ voidsetParameters(Collection<CompoundVariable> parameters) + +
+          Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1)
+ + + + + + + +
Methods inherited from class org.apache.jmeter.functions.AbstractFunction
checkMinParameterCount, checkParameterCount, checkParameterCount, execute, getVariables
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+JavaScript

+
+public JavaScript()
+
+
+ + + + + + + + +
+Method Detail
+ +

+execute

+
+public String execute(SampleResult previousResult,
+                      Sampler currentSampler)
+               throws InvalidVariableException
+
+

+ N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files). +

+ JMeter ensures setParameters() happens-before execute(): setParameters is executed in main thread, + and worker threads are started after that. +

+

+
Specified by:
execute in interface Function
Specified by:
execute in class AbstractFunction
+
+
+
Parameters:
previousResult - The previous SampleResult
currentSampler - The current Sampler +
Returns:
The replacement value, which was generated by the function +
Throws: +
InvalidVariableException - - when the variables for the function call can't be evaluated
See Also:
Function.execute(SampleResult, Sampler)
+
+
+
+ +

+setParameters

+
+public void setParameters(Collection<CompoundVariable> parameters)
+                   throws InvalidVariableException
+
+
Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1) +

+

+
Specified by:
setParameters in interface Function
Specified by:
setParameters in class AbstractFunction
+
+
+
Parameters:
parameters - The parameters for the function call +
Throws: +
InvalidVariableException - - when the variables for the function call can't be evaluated
See Also:
Function.setParameters(Collection)
+
+
+
+ +

+getReferenceKey

+
+public String getReferenceKey()
+
+
Return the name of your function. Convention is to prepend "__" to the + name (ie "__regexFunction") +

+

+
Specified by:
getReferenceKey in interface Function
Specified by:
getReferenceKey in class AbstractFunction
+
+
+ +
Returns:
The name of the funtion
See Also:
Function.getReferenceKey()
+
+
+
+ +

+getArgumentDesc

+
+public List<String> getArgumentDesc()
+
+
Return a list of strings briefly describing each parameter your function + takes. Please use JMeterUtils.getResString(resource_name) to grab a + resource string. Otherwise, your help text will be difficult to + internationalize. + + This list is not optional. If you don't wish to write help, you must at + least return a List containing the correct number of blank strings, one + for each argument. +

+

+ +
Returns:
List with brief descriptions for each parameter the function takes
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/functions/Jexl2Function.html b/docs/api/org/apache/jmeter/functions/Jexl2Function.html new file mode 100644 index 00000000000..9ef6e87b675 --- /dev/null +++ b/docs/api/org/apache/jmeter/functions/Jexl2Function.html @@ -0,0 +1,427 @@ + + + + + +Jexl2Function (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.functions +
+Class Jexl2Function

+
+java.lang.Object
+  extended by org.apache.jmeter.functions.AbstractFunction
+      extended by org.apache.jmeter.functions.Jexl2Function
+
+
+
All Implemented Interfaces:
Function, ThreadListener
+
+
+
+
public class Jexl2Function
extends AbstractFunction
implements ThreadListener
+ + +

+A function which understands Commons JEXL2 +

+ +

+

+
Since:
+
2.6
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
Jexl2Function() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Stringexecute(SampleResult previousResult, + Sampler currentSampler) + +
+           + N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files).
+ List<String>getArgumentDesc() + +
+          Return a list of strings briefly describing each parameter your function + takes.
+ StringgetReferenceKey() + +
+          Return the name of your function.
+ voidsetParameters(Collection<CompoundVariable> parameters) + +
+          Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1)
+ voidthreadFinished() + +
+          Called for each thread after all samples have been processed.
+ voidthreadStarted() + +
+          Called for each thread before starting sampling.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.functions.AbstractFunction
checkMinParameterCount, checkParameterCount, checkParameterCount, execute, getVariables
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Jexl2Function

+
+public Jexl2Function()
+
+
+ + + + + + + + +
+Method Detail
+ +

+execute

+
+public String execute(SampleResult previousResult,
+                      Sampler currentSampler)
+               throws InvalidVariableException
+
+

+ N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files). +

+ JMeter ensures setParameters() happens-before execute(): setParameters is executed in main thread, + and worker threads are started after that. +

+

+
Specified by:
execute in interface Function
Specified by:
execute in class AbstractFunction
+
+
+
Parameters:
previousResult - The previous SampleResult
currentSampler - The current Sampler +
Returns:
The replacement value, which was generated by the function +
Throws: +
InvalidVariableException - - when the variables for the function call can't be evaluated
See Also:
Function.execute(SampleResult, Sampler)
+
+
+
+ +

+getArgumentDesc

+
+public List<String> getArgumentDesc()
+
+
Return a list of strings briefly describing each parameter your function + takes. Please use JMeterUtils.getResString(resource_name) to grab a + resource string. Otherwise, your help text will be difficult to + internationalize. + + This list is not optional. If you don't wish to write help, you must at + least return a List containing the correct number of blank strings, one + for each argument. +

+

+
Specified by:
getArgumentDesc in interface Function
+
+
+ +
Returns:
List with brief descriptions for each parameter the function takes
+
+
+
+ +

+getReferenceKey

+
+public String getReferenceKey()
+
+
Return the name of your function. Convention is to prepend "__" to the + name (ie "__regexFunction") +

+

+
Specified by:
getReferenceKey in interface Function
Specified by:
getReferenceKey in class AbstractFunction
+
+
+ +
Returns:
The name of the funtion
See Also:
Function.getReferenceKey()
+
+
+
+ +

+setParameters

+
+public void setParameters(Collection<CompoundVariable> parameters)
+                   throws InvalidVariableException
+
+
Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1) +

+

+
Specified by:
setParameters in interface Function
Specified by:
setParameters in class AbstractFunction
+
+
+
Parameters:
parameters - The parameters for the function call +
Throws: +
InvalidVariableException - - when the variables for the function call can't be evaluated
See Also:
Function.setParameters(Collection)
+
+
+
+ +

+threadStarted

+
+public void threadStarted()
+
+
Description copied from interface: ThreadListener
+
Called for each thread before starting sampling. + WARNING: this is called before any Config test elements are processed, + so any properties they define will not have been merged in yet. +

+

+
Specified by:
threadStarted in interface ThreadListener
+
+
+
See Also:
JMeterThread.threadStarted()
+
+
+
+ +

+threadFinished

+
+public void threadFinished()
+
+
Description copied from interface: ThreadListener
+
Called for each thread after all samples have been processed. +

+

+
Specified by:
threadFinished in interface ThreadListener
+
+
+
See Also:
JMeterThread.threadFinished(org.apache.jmeter.engine.event.LoopIterationListener)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/functions/JexlFunction.html b/docs/api/org/apache/jmeter/functions/JexlFunction.html new file mode 100644 index 00000000000..0f136c740c2 --- /dev/null +++ b/docs/api/org/apache/jmeter/functions/JexlFunction.html @@ -0,0 +1,372 @@ + + + + + +JexlFunction (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.functions +
+Class JexlFunction

+
+java.lang.Object
+  extended by org.apache.jmeter.functions.AbstractFunction
+      extended by org.apache.jmeter.functions.JexlFunction
+
+
+
All Implemented Interfaces:
Function
+
+
+
+
public class JexlFunction
extends AbstractFunction
+ + +

+A function which understands Commons JEXL +

+ +

+

+
Since:
+
2.2
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
JexlFunction() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Stringexecute(SampleResult previousResult, + Sampler currentSampler) + +
+           + N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files).
+ List<String>getArgumentDesc() + +
+          Return a list of strings briefly describing each parameter your function + takes.
+ StringgetReferenceKey() + +
+          Return the name of your function.
+ voidsetParameters(Collection<CompoundVariable> parameters) + +
+          Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1)
+ + + + + + + +
Methods inherited from class org.apache.jmeter.functions.AbstractFunction
checkMinParameterCount, checkParameterCount, checkParameterCount, execute, getVariables
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+JexlFunction

+
+public JexlFunction()
+
+
+ + + + + + + + +
+Method Detail
+ +

+execute

+
+public String execute(SampleResult previousResult,
+                      Sampler currentSampler)
+               throws InvalidVariableException
+
+

+ N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files). +

+ JMeter ensures setParameters() happens-before execute(): setParameters is executed in main thread, + and worker threads are started after that. +

+

+
Specified by:
execute in interface Function
Specified by:
execute in class AbstractFunction
+
+
+
Parameters:
previousResult - The previous SampleResult
currentSampler - The current Sampler +
Returns:
The replacement value, which was generated by the function +
Throws: +
InvalidVariableException - - when the variables for the function call can't be evaluated
See Also:
Function.execute(SampleResult, Sampler)
+
+
+
+ +

+getArgumentDesc

+
+public List<String> getArgumentDesc()
+
+
Return a list of strings briefly describing each parameter your function + takes. Please use JMeterUtils.getResString(resource_name) to grab a + resource string. Otherwise, your help text will be difficult to + internationalize. + + This list is not optional. If you don't wish to write help, you must at + least return a List containing the correct number of blank strings, one + for each argument. +

+

+ +
Returns:
List with brief descriptions for each parameter the function takes
+
+
+
+ +

+getReferenceKey

+
+public String getReferenceKey()
+
+
Return the name of your function. Convention is to prepend "__" to the + name (ie "__regexFunction") +

+

+
Specified by:
getReferenceKey in interface Function
Specified by:
getReferenceKey in class AbstractFunction
+
+
+ +
Returns:
The name of the funtion
See Also:
Function.getReferenceKey()
+
+
+
+ +

+setParameters

+
+public void setParameters(Collection<CompoundVariable> parameters)
+                   throws InvalidVariableException
+
+
Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1) +

+

+
Specified by:
setParameters in interface Function
Specified by:
setParameters in class AbstractFunction
+
+
+
Parameters:
parameters - The parameters for the function call +
Throws: +
InvalidVariableException - - when the variables for the function call can't be evaluated
See Also:
Function.setParameters(Collection)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/functions/LogFunction.html b/docs/api/org/apache/jmeter/functions/LogFunction.html new file mode 100644 index 00000000000..d1d0dd76a49 --- /dev/null +++ b/docs/api/org/apache/jmeter/functions/LogFunction.html @@ -0,0 +1,384 @@ + + + + + +LogFunction (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.functions +
+Class LogFunction

+
+java.lang.Object
+  extended by org.apache.jmeter.functions.AbstractFunction
+      extended by org.apache.jmeter.functions.LogFunction
+
+
+
All Implemented Interfaces:
Function
+
+
+
+
public class LogFunction
extends AbstractFunction
+ + +

+

+ Function to log a message. +

+ +

+ Parameters: +

    +
  • string value
  • +
  • log level (optional; defaults to INFO; or DEBUG if unrecognised; or can use OUT or ERR)
  • +
  • throwable message (optional)
  • +
  • comment (optional)
  • +
+ Returns: - the input string +

+ +

+

+
Since:
+
2.2
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
LogFunction() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Stringexecute(SampleResult previousResult, + Sampler currentSampler) + +
+           + N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files).
+ List<String>getArgumentDesc() + +
+          Return a list of strings briefly describing each parameter your function + takes.
+ StringgetReferenceKey() + +
+          Return the name of your function.
+ voidsetParameters(Collection<CompoundVariable> parameters) + +
+          Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1)
+ + + + + + + +
Methods inherited from class org.apache.jmeter.functions.AbstractFunction
checkMinParameterCount, checkParameterCount, checkParameterCount, execute, getVariables
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+LogFunction

+
+public LogFunction()
+
+
+ + + + + + + + +
+Method Detail
+ +

+execute

+
+public String execute(SampleResult previousResult,
+                      Sampler currentSampler)
+               throws InvalidVariableException
+
+

+ N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files). +

+ JMeter ensures setParameters() happens-before execute(): setParameters is executed in main thread, + and worker threads are started after that. +

+

+
Specified by:
execute in interface Function
Specified by:
execute in class AbstractFunction
+
+
+
Parameters:
previousResult - The previous SampleResult
currentSampler - The current Sampler +
Returns:
The replacement value, which was generated by the function +
Throws: +
InvalidVariableException - - when the variables for the function call can't be evaluated
See Also:
Function.execute(SampleResult, Sampler)
+
+
+
+ +

+setParameters

+
+public void setParameters(Collection<CompoundVariable> parameters)
+                   throws InvalidVariableException
+
+
Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1) +

+

+
Specified by:
setParameters in interface Function
Specified by:
setParameters in class AbstractFunction
+
+
+
Parameters:
parameters - The parameters for the function call +
Throws: +
InvalidVariableException - - when the variables for the function call can't be evaluated
See Also:
Function.setParameters(Collection)
+
+
+
+ +

+getReferenceKey

+
+public String getReferenceKey()
+
+
Return the name of your function. Convention is to prepend "__" to the + name (ie "__regexFunction") +

+

+
Specified by:
getReferenceKey in interface Function
Specified by:
getReferenceKey in class AbstractFunction
+
+
+ +
Returns:
The name of the funtion
See Also:
Function.getReferenceKey()
+
+
+
+ +

+getArgumentDesc

+
+public List<String> getArgumentDesc()
+
+
Return a list of strings briefly describing each parameter your function + takes. Please use JMeterUtils.getResString(resource_name) to grab a + resource string. Otherwise, your help text will be difficult to + internationalize. + + This list is not optional. If you don't wish to write help, you must at + least return a List containing the correct number of blank strings, one + for each argument. +

+

+ +
Returns:
List with brief descriptions for each parameter the function takes
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/functions/LogFunction2.html b/docs/api/org/apache/jmeter/functions/LogFunction2.html new file mode 100644 index 00000000000..b46e1523a09 --- /dev/null +++ b/docs/api/org/apache/jmeter/functions/LogFunction2.html @@ -0,0 +1,383 @@ + + + + + +LogFunction2 (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.functions +
+Class LogFunction2

+
+java.lang.Object
+  extended by org.apache.jmeter.functions.AbstractFunction
+      extended by org.apache.jmeter.functions.LogFunction2
+
+
+
All Implemented Interfaces:
Function
+
+
+
+
public class LogFunction2
extends AbstractFunction
+ + +

+

+ Function to log a message. +

+ +

+ Parameters: +

    +
  • string value
  • +
  • log level (optional; defaults to INFO; or DEBUG if unrecognised; or can use OUT or ERR)
  • +
  • throwable message (optional)
  • +
+ Returns: - Empty String (so can be used where return value would be a nuisance) +

+ +

+

+
Since:
+
2.2
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
LogFunction2() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Stringexecute(SampleResult previousResult, + Sampler currentSampler) + +
+           + N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files).
+ List<String>getArgumentDesc() + +
+          Return a list of strings briefly describing each parameter your function + takes.
+ StringgetReferenceKey() + +
+          Return the name of your function.
+ voidsetParameters(Collection<CompoundVariable> parameters) + +
+          Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1)
+ + + + + + + +
Methods inherited from class org.apache.jmeter.functions.AbstractFunction
checkMinParameterCount, checkParameterCount, checkParameterCount, execute, getVariables
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+LogFunction2

+
+public LogFunction2()
+
+
+ + + + + + + + +
+Method Detail
+ +

+execute

+
+public String execute(SampleResult previousResult,
+                      Sampler currentSampler)
+               throws InvalidVariableException
+
+

+ N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files). +

+ JMeter ensures setParameters() happens-before execute(): setParameters is executed in main thread, + and worker threads are started after that. +

+

+
Specified by:
execute in interface Function
Specified by:
execute in class AbstractFunction
+
+
+
Parameters:
previousResult - The previous SampleResult
currentSampler - The current Sampler +
Returns:
The replacement value, which was generated by the function +
Throws: +
InvalidVariableException - - when the variables for the function call can't be evaluated
See Also:
Function.execute(SampleResult, Sampler)
+
+
+
+ +

+setParameters

+
+public void setParameters(Collection<CompoundVariable> parameters)
+                   throws InvalidVariableException
+
+
Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1) +

+

+
Specified by:
setParameters in interface Function
Specified by:
setParameters in class AbstractFunction
+
+
+
Parameters:
parameters - The parameters for the function call +
Throws: +
InvalidVariableException - - when the variables for the function call can't be evaluated
See Also:
Function.setParameters(Collection)
+
+
+
+ +

+getReferenceKey

+
+public String getReferenceKey()
+
+
Return the name of your function. Convention is to prepend "__" to the + name (ie "__regexFunction") +

+

+
Specified by:
getReferenceKey in interface Function
Specified by:
getReferenceKey in class AbstractFunction
+
+
+ +
Returns:
The name of the funtion
See Also:
Function.getReferenceKey()
+
+
+
+ +

+getArgumentDesc

+
+public List<String> getArgumentDesc()
+
+
Return a list of strings briefly describing each parameter your function + takes. Please use JMeterUtils.getResString(resource_name) to grab a + resource string. Otherwise, your help text will be difficult to + internationalize. + + This list is not optional. If you don't wish to write help, you must at + least return a List containing the correct number of blank strings, one + for each argument. +

+

+ +
Returns:
List with brief descriptions for each parameter the function takes
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/functions/LongSum.html b/docs/api/org/apache/jmeter/functions/LongSum.html new file mode 100644 index 00000000000..64dbe5b2fb2 --- /dev/null +++ b/docs/api/org/apache/jmeter/functions/LongSum.html @@ -0,0 +1,374 @@ + + + + + +LongSum (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.functions +
+Class LongSum

+
+java.lang.Object
+  extended by org.apache.jmeter.functions.AbstractFunction
+      extended by org.apache.jmeter.functions.LongSum
+
+
+
All Implemented Interfaces:
Function
+
+
+
+
public class LongSum
extends AbstractFunction
+ + +

+Provides a longSum function that adds two or more long values. +

+ +

+

+
Since:
+
2.3.2
+
See Also:
IntSum
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
LongSum() + +
+          No-arg constructor.
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Stringexecute(SampleResult previousResult, + Sampler currentSampler) + +
+           + N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files).
+ List<String>getArgumentDesc() + +
+          Return a list of strings briefly describing each parameter your function + takes.
+ StringgetReferenceKey() + +
+          Return the name of your function.
+ voidsetParameters(Collection<CompoundVariable> parameters) + +
+          Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1)
+ + + + + + + +
Methods inherited from class org.apache.jmeter.functions.AbstractFunction
checkMinParameterCount, checkParameterCount, checkParameterCount, execute, getVariables
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+LongSum

+
+public LongSum()
+
+
No-arg constructor. +

+

+ + + + + + + + +
+Method Detail
+ +

+execute

+
+public String execute(SampleResult previousResult,
+                      Sampler currentSampler)
+               throws InvalidVariableException
+
+

+ N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files). +

+ JMeter ensures setParameters() happens-before execute(): setParameters is executed in main thread, + and worker threads are started after that. +

+

+
Specified by:
execute in interface Function
Specified by:
execute in class AbstractFunction
+
+
+
Parameters:
previousResult - The previous SampleResult
currentSampler - The current Sampler +
Returns:
The replacement value, which was generated by the function +
Throws: +
InvalidVariableException - - when the variables for the function call can't be evaluated
See Also:
Function.execute(SampleResult, Sampler)
+
+
+
+ +

+setParameters

+
+public void setParameters(Collection<CompoundVariable> parameters)
+                   throws InvalidVariableException
+
+
Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1) +

+

+
Specified by:
setParameters in interface Function
Specified by:
setParameters in class AbstractFunction
+
+
+
Parameters:
parameters - The parameters for the function call +
Throws: +
InvalidVariableException - - when the variables for the function call can't be evaluated
See Also:
Function.setParameters(Collection)
+
+
+
+ +

+getReferenceKey

+
+public String getReferenceKey()
+
+
Return the name of your function. Convention is to prepend "__" to the + name (ie "__regexFunction") +

+

+
Specified by:
getReferenceKey in interface Function
Specified by:
getReferenceKey in class AbstractFunction
+
+
+ +
Returns:
The name of the funtion
See Also:
Function.getReferenceKey()
+
+
+
+ +

+getArgumentDesc

+
+public List<String> getArgumentDesc()
+
+
Return a list of strings briefly describing each parameter your function + takes. Please use JMeterUtils.getResString(resource_name) to grab a + resource string. Otherwise, your help text will be difficult to + internationalize. + + This list is not optional. If you don't wish to write help, you must at + least return a List containing the correct number of blank strings, one + for each argument. +

+

+ +
Returns:
List with brief descriptions for each parameter the function takes
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/functions/MachineIP.html b/docs/api/org/apache/jmeter/functions/MachineIP.html new file mode 100644 index 00000000000..5661f51e18c --- /dev/null +++ b/docs/api/org/apache/jmeter/functions/MachineIP.html @@ -0,0 +1,394 @@ + + + + + +MachineIP (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.functions +
+Class MachineIP

+
+java.lang.Object
+  extended by org.apache.jmeter.functions.AbstractFunction
+      extended by org.apache.jmeter.functions.MachineIP
+
+
+
All Implemented Interfaces:
Function
+
+
+
+
public class MachineIP
extends AbstractFunction
+ + +

+Return Machine IP +

+ +

+

+
Since:
+
2.6
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
MachineIP() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+protected  Stringcompute() + +
+           
+ Stringexecute(SampleResult previousResult, + Sampler currentSampler) + +
+           + N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files).
+ List<String>getArgumentDesc() + +
+          Return a list of strings briefly describing each parameter your function + takes.
+ StringgetReferenceKey() + +
+          Return the name of your function.
+ voidsetParameters(Collection<CompoundVariable> parameters) + +
+          Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1)
+ + + + + + + +
Methods inherited from class org.apache.jmeter.functions.AbstractFunction
checkMinParameterCount, checkParameterCount, checkParameterCount, execute, getVariables
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+MachineIP

+
+public MachineIP()
+
+
+ + + + + + + + +
+Method Detail
+ +

+compute

+
+protected String compute()
+
+
+
+
+
+
+
+
+
+ +

+getReferenceKey

+
+public String getReferenceKey()
+
+
Return the name of your function. Convention is to prepend "__" to the + name (ie "__regexFunction") +

+

+
Specified by:
getReferenceKey in interface Function
Specified by:
getReferenceKey in class AbstractFunction
+
+
+ +
Returns:
The name of the funtion
See Also:
Function.getReferenceKey()
+
+
+
+ +

+execute

+
+public String execute(SampleResult previousResult,
+                      Sampler currentSampler)
+               throws InvalidVariableException
+
+

+ N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files). +

+ JMeter ensures setParameters() happens-before execute(): setParameters is executed in main thread, + and worker threads are started after that. +

+

+
Specified by:
execute in interface Function
Specified by:
execute in class AbstractFunction
+
+
+
Parameters:
previousResult - The previous SampleResult
currentSampler - The current Sampler +
Returns:
The replacement value, which was generated by the function +
Throws: +
InvalidVariableException - - when the variables for the function call can't be evaluated
See Also:
Function.execute(SampleResult, Sampler)
+
+
+
+ +

+setParameters

+
+public void setParameters(Collection<CompoundVariable> parameters)
+                   throws InvalidVariableException
+
+
Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1) +

+

+
Specified by:
setParameters in interface Function
Specified by:
setParameters in class AbstractFunction
+
+
+
Parameters:
parameters - The parameters for the function call +
Throws: +
InvalidVariableException - - when the variables for the function call can't be evaluated
See Also:
Function.setParameters(Collection)
+
+
+
+ +

+getArgumentDesc

+
+public List<String> getArgumentDesc()
+
+
Return a list of strings briefly describing each parameter your function + takes. Please use JMeterUtils.getResString(resource_name) to grab a + resource string. Otherwise, your help text will be difficult to + internationalize. + + This list is not optional. If you don't wish to write help, you must at + least return a List containing the correct number of blank strings, one + for each argument. +

+

+ +
Returns:
List with brief descriptions for each parameter the function takes
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/functions/MachineName.html b/docs/api/org/apache/jmeter/functions/MachineName.html new file mode 100644 index 00000000000..873b088e591 --- /dev/null +++ b/docs/api/org/apache/jmeter/functions/MachineName.html @@ -0,0 +1,394 @@ + + + + + +MachineName (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.functions +
+Class MachineName

+
+java.lang.Object
+  extended by org.apache.jmeter.functions.AbstractFunction
+      extended by org.apache.jmeter.functions.MachineName
+
+
+
All Implemented Interfaces:
Function
+
+
+
+
public class MachineName
extends AbstractFunction
+ + +

+Return Machine Host +

+ +

+

+
Since:
+
1.X
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
MachineName() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+protected  Stringcompute() + +
+           
+ Stringexecute(SampleResult previousResult, + Sampler currentSampler) + +
+           + N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files).
+ List<String>getArgumentDesc() + +
+          Return a list of strings briefly describing each parameter your function + takes.
+ StringgetReferenceKey() + +
+          Return the name of your function.
+ voidsetParameters(Collection<CompoundVariable> parameters) + +
+          Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1)
+ + + + + + + +
Methods inherited from class org.apache.jmeter.functions.AbstractFunction
checkMinParameterCount, checkParameterCount, checkParameterCount, execute, getVariables
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+MachineName

+
+public MachineName()
+
+
+ + + + + + + + +
+Method Detail
+ +

+compute

+
+protected String compute()
+
+
+
+
+
+
+
+
+
+ +

+getReferenceKey

+
+public String getReferenceKey()
+
+
Return the name of your function. Convention is to prepend "__" to the + name (ie "__regexFunction") +

+

+
Specified by:
getReferenceKey in interface Function
Specified by:
getReferenceKey in class AbstractFunction
+
+
+ +
Returns:
The name of the funtion
See Also:
Function.getReferenceKey()
+
+
+
+ +

+execute

+
+public String execute(SampleResult previousResult,
+                      Sampler currentSampler)
+               throws InvalidVariableException
+
+

+ N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files). +

+ JMeter ensures setParameters() happens-before execute(): setParameters is executed in main thread, + and worker threads are started after that. +

+

+
Specified by:
execute in interface Function
Specified by:
execute in class AbstractFunction
+
+
+
Parameters:
previousResult - The previous SampleResult
currentSampler - The current Sampler +
Returns:
The replacement value, which was generated by the function +
Throws: +
InvalidVariableException - - when the variables for the function call can't be evaluated
See Also:
Function.execute(SampleResult, Sampler)
+
+
+
+ +

+setParameters

+
+public void setParameters(Collection<CompoundVariable> parameters)
+                   throws InvalidVariableException
+
+
Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1) +

+

+
Specified by:
setParameters in interface Function
Specified by:
setParameters in class AbstractFunction
+
+
+
Parameters:
parameters - The parameters for the function call +
Throws: +
InvalidVariableException - - when the variables for the function call can't be evaluated
See Also:
Function.setParameters(Collection)
+
+
+
+ +

+getArgumentDesc

+
+public List<String> getArgumentDesc()
+
+
Return a list of strings briefly describing each parameter your function + takes. Please use JMeterUtils.getResString(resource_name) to grab a + resource string. Otherwise, your help text will be difficult to + internationalize. + + This list is not optional. If you don't wish to write help, you must at + least return a List containing the correct number of blank strings, one + for each argument. +

+

+ +
Returns:
List with brief descriptions for each parameter the function takes
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/functions/Property.html b/docs/api/org/apache/jmeter/functions/Property.html new file mode 100644 index 00000000000..14f4686cf8c --- /dev/null +++ b/docs/api/org/apache/jmeter/functions/Property.html @@ -0,0 +1,382 @@ + + + + + +Property (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.functions +
+Class Property

+
+java.lang.Object
+  extended by org.apache.jmeter.functions.AbstractFunction
+      extended by org.apache.jmeter.functions.Property
+
+
+
All Implemented Interfaces:
Function
+
+
+
+
public class Property
extends AbstractFunction
+ + +

+Function to get a JMeter property, and optionally store it + + Parameters: + - property name + - variable name (optional) + - default value (optional) + + Returns: + - the property value, but if not found: + - the default value, but if not defined: + - the property name itself +

+ +

+

+
Since:
+
2.0
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
Property() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Stringexecute(SampleResult previousResult, + Sampler currentSampler) + +
+           + N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files).
+ List<String>getArgumentDesc() + +
+          Return a list of strings briefly describing each parameter your function + takes.
+ StringgetReferenceKey() + +
+          Return the name of your function.
+ voidsetParameters(Collection<CompoundVariable> parameters) + +
+          Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1)
+ + + + + + + +
Methods inherited from class org.apache.jmeter.functions.AbstractFunction
checkMinParameterCount, checkParameterCount, checkParameterCount, execute, getVariables
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Property

+
+public Property()
+
+
+ + + + + + + + +
+Method Detail
+ +

+execute

+
+public String execute(SampleResult previousResult,
+                      Sampler currentSampler)
+               throws InvalidVariableException
+
+

+ N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files). +

+ JMeter ensures setParameters() happens-before execute(): setParameters is executed in main thread, + and worker threads are started after that. +

+

+
Specified by:
execute in interface Function
Specified by:
execute in class AbstractFunction
+
+
+
Parameters:
previousResult - The previous SampleResult
currentSampler - The current Sampler +
Returns:
The replacement value, which was generated by the function +
Throws: +
InvalidVariableException - - when the variables for the function call can't be evaluated
See Also:
Function.execute(SampleResult, Sampler)
+
+
+
+ +

+setParameters

+
+public void setParameters(Collection<CompoundVariable> parameters)
+                   throws InvalidVariableException
+
+
Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1) +

+

+
Specified by:
setParameters in interface Function
Specified by:
setParameters in class AbstractFunction
+
+
+
Parameters:
parameters - The parameters for the function call +
Throws: +
InvalidVariableException - - when the variables for the function call can't be evaluated
See Also:
Function.setParameters(Collection)
+
+
+
+ +

+getReferenceKey

+
+public String getReferenceKey()
+
+
Return the name of your function. Convention is to prepend "__" to the + name (ie "__regexFunction") +

+

+
Specified by:
getReferenceKey in interface Function
Specified by:
getReferenceKey in class AbstractFunction
+
+
+ +
Returns:
The name of the funtion
See Also:
Function.getReferenceKey()
+
+
+
+ +

+getArgumentDesc

+
+public List<String> getArgumentDesc()
+
+
Return a list of strings briefly describing each parameter your function + takes. Please use JMeterUtils.getResString(resource_name) to grab a + resource string. Otherwise, your help text will be difficult to + internationalize. + + This list is not optional. If you don't wish to write help, you must at + least return a List containing the correct number of blank strings, one + for each argument. +

+

+ +
Returns:
List with brief descriptions for each parameter the function takes
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/functions/Property2.html b/docs/api/org/apache/jmeter/functions/Property2.html new file mode 100644 index 00000000000..fa94cb7a2d1 --- /dev/null +++ b/docs/api/org/apache/jmeter/functions/Property2.html @@ -0,0 +1,388 @@ + + + + + +Property2 (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.functions +
+Class Property2

+
+java.lang.Object
+  extended by org.apache.jmeter.functions.AbstractFunction
+      extended by org.apache.jmeter.functions.Property2
+
+
+
All Implemented Interfaces:
Function
+
+
+
+
public class Property2
extends AbstractFunction
+ + +

+Function to get a JMeter property, or a default. Does not offer the option to + store the value, as it is just as easy to refetch it. This is a + specialisation of the __property() function to make it simpler to use for + ThreadGroup GUI etc. The name is also shorter. + + Parameters: - property name - default value (optional; defaults to "1") + + Usage: + + Define the property in jmeter.properties, or on the command-line: java ... + -Jpropname=value + + Retrieve the value in the appropriate GUI by using the string: + ${__P(propname)} $(__P(propname,default)} + + Returns: - the property value, but if not found - the default value, but if + not present - "1" (suitable for use in ThreadGroup GUI) +

+ +

+

+
Since:
+
2.0
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
Property2() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Stringexecute(SampleResult previousResult, + Sampler currentSampler) + +
+           + N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files).
+ List<String>getArgumentDesc() + +
+          Return a list of strings briefly describing each parameter your function + takes.
+ StringgetReferenceKey() + +
+          Return the name of your function.
+ voidsetParameters(Collection<CompoundVariable> parameters) + +
+          Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1)
+ + + + + + + +
Methods inherited from class org.apache.jmeter.functions.AbstractFunction
checkMinParameterCount, checkParameterCount, checkParameterCount, execute, getVariables
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Property2

+
+public Property2()
+
+
+ + + + + + + + +
+Method Detail
+ +

+execute

+
+public String execute(SampleResult previousResult,
+                      Sampler currentSampler)
+               throws InvalidVariableException
+
+

+ N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files). +

+ JMeter ensures setParameters() happens-before execute(): setParameters is executed in main thread, + and worker threads are started after that. +

+

+
Specified by:
execute in interface Function
Specified by:
execute in class AbstractFunction
+
+
+
Parameters:
previousResult - The previous SampleResult
currentSampler - The current Sampler +
Returns:
The replacement value, which was generated by the function +
Throws: +
InvalidVariableException - - when the variables for the function call can't be evaluated
See Also:
Function.execute(SampleResult, Sampler)
+
+
+
+ +

+setParameters

+
+public void setParameters(Collection<CompoundVariable> parameters)
+                   throws InvalidVariableException
+
+
Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1) +

+

+
Specified by:
setParameters in interface Function
Specified by:
setParameters in class AbstractFunction
+
+
+
Parameters:
parameters - The parameters for the function call +
Throws: +
InvalidVariableException - - when the variables for the function call can't be evaluated
See Also:
Function.setParameters(Collection)
+
+
+
+ +

+getReferenceKey

+
+public String getReferenceKey()
+
+
Return the name of your function. Convention is to prepend "__" to the + name (ie "__regexFunction") +

+

+
Specified by:
getReferenceKey in interface Function
Specified by:
getReferenceKey in class AbstractFunction
+
+
+ +
Returns:
The name of the funtion
See Also:
Function.getReferenceKey()
+
+
+
+ +

+getArgumentDesc

+
+public List<String> getArgumentDesc()
+
+
Return a list of strings briefly describing each parameter your function + takes. Please use JMeterUtils.getResString(resource_name) to grab a + resource string. Otherwise, your help text will be difficult to + internationalize. + + This list is not optional. If you don't wish to write help, you must at + least return a List containing the correct number of blank strings, one + for each argument. +

+

+ +
Returns:
List with brief descriptions for each parameter the function takes
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/functions/Random.html b/docs/api/org/apache/jmeter/functions/Random.html new file mode 100644 index 00000000000..85db96bb8b3 --- /dev/null +++ b/docs/api/org/apache/jmeter/functions/Random.html @@ -0,0 +1,375 @@ + + + + + +Random (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.functions +
+Class Random

+
+java.lang.Object
+  extended by org.apache.jmeter.functions.AbstractFunction
+      extended by org.apache.jmeter.functions.Random
+
+
+
All Implemented Interfaces:
Function
+
+
+
+
public class Random
extends AbstractFunction
+ + +

+Provides a Random function which returns a random long integer between a min + (first argument) and a max (second argument). +

+ +

+

+
Since:
+
1.9
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
Random() + +
+          No-arg constructor.
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Stringexecute(SampleResult previousResult, + Sampler currentSampler) + +
+           + N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files).
+ List<String>getArgumentDesc() + +
+          Return a list of strings briefly describing each parameter your function + takes.
+ StringgetReferenceKey() + +
+          Return the name of your function.
+ voidsetParameters(Collection<CompoundVariable> parameters) + +
+          Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1)
+ + + + + + + +
Methods inherited from class org.apache.jmeter.functions.AbstractFunction
checkMinParameterCount, checkParameterCount, checkParameterCount, execute, getVariables
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Random

+
+public Random()
+
+
No-arg constructor. +

+

+ + + + + + + + +
+Method Detail
+ +

+execute

+
+public String execute(SampleResult previousResult,
+                      Sampler currentSampler)
+               throws InvalidVariableException
+
+

+ N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files). +

+ JMeter ensures setParameters() happens-before execute(): setParameters is executed in main thread, + and worker threads are started after that. +

+

+
Specified by:
execute in interface Function
Specified by:
execute in class AbstractFunction
+
+
+
Parameters:
previousResult - The previous SampleResult
currentSampler - The current Sampler +
Returns:
The replacement value, which was generated by the function +
Throws: +
InvalidVariableException - - when the variables for the function call can't be evaluated
See Also:
Function.execute(SampleResult, Sampler)
+
+
+
+ +

+setParameters

+
+public void setParameters(Collection<CompoundVariable> parameters)
+                   throws InvalidVariableException
+
+
Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1) +

+

+
Specified by:
setParameters in interface Function
Specified by:
setParameters in class AbstractFunction
+
+
+
Parameters:
parameters - The parameters for the function call +
Throws: +
InvalidVariableException - - when the variables for the function call can't be evaluated
See Also:
Function.setParameters(Collection)
+
+
+
+ +

+getReferenceKey

+
+public String getReferenceKey()
+
+
Return the name of your function. Convention is to prepend "__" to the + name (ie "__regexFunction") +

+

+
Specified by:
getReferenceKey in interface Function
Specified by:
getReferenceKey in class AbstractFunction
+
+
+ +
Returns:
The name of the funtion
See Also:
Function.getReferenceKey()
+
+
+
+ +

+getArgumentDesc

+
+public List<String> getArgumentDesc()
+
+
Return a list of strings briefly describing each parameter your function + takes. Please use JMeterUtils.getResString(resource_name) to grab a + resource string. Otherwise, your help text will be difficult to + internationalize. + + This list is not optional. If you don't wish to write help, you must at + least return a List containing the correct number of blank strings, one + for each argument. +

+

+ +
Returns:
List with brief descriptions for each parameter the function takes
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/functions/RandomString.html b/docs/api/org/apache/jmeter/functions/RandomString.html new file mode 100644 index 00000000000..16ab809baf4 --- /dev/null +++ b/docs/api/org/apache/jmeter/functions/RandomString.html @@ -0,0 +1,375 @@ + + + + + +RandomString (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.functions +
+Class RandomString

+
+java.lang.Object
+  extended by org.apache.jmeter.functions.AbstractFunction
+      extended by org.apache.jmeter.functions.RandomString
+
+
+
All Implemented Interfaces:
Function
+
+
+
+
public class RandomString
extends AbstractFunction
+ + +

+Provides a RandomString function which returns a random String of length (first argument) + using characters (second argument) +

+ +

+

+
Since:
+
2.6
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
RandomString() + +
+          No-arg constructor.
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Stringexecute(SampleResult previousResult, + Sampler currentSampler) + +
+           + N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files).
+ List<String>getArgumentDesc() + +
+          Return a list of strings briefly describing each parameter your function + takes.
+ StringgetReferenceKey() + +
+          Return the name of your function.
+ voidsetParameters(Collection<CompoundVariable> parameters) + +
+          Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1)
+ + + + + + + +
Methods inherited from class org.apache.jmeter.functions.AbstractFunction
checkMinParameterCount, checkParameterCount, checkParameterCount, execute, getVariables
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+RandomString

+
+public RandomString()
+
+
No-arg constructor. +

+

+ + + + + + + + +
+Method Detail
+ +

+execute

+
+public String execute(SampleResult previousResult,
+                      Sampler currentSampler)
+               throws InvalidVariableException
+
+

+ N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files). +

+ JMeter ensures setParameters() happens-before execute(): setParameters is executed in main thread, + and worker threads are started after that. +

+

+
Specified by:
execute in interface Function
Specified by:
execute in class AbstractFunction
+
+
+
Parameters:
previousResult - The previous SampleResult
currentSampler - The current Sampler +
Returns:
The replacement value, which was generated by the function +
Throws: +
InvalidVariableException - - when the variables for the function call can't be evaluated
See Also:
Function.execute(SampleResult, Sampler)
+
+
+
+ +

+setParameters

+
+public void setParameters(Collection<CompoundVariable> parameters)
+                   throws InvalidVariableException
+
+
Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1) +

+

+
Specified by:
setParameters in interface Function
Specified by:
setParameters in class AbstractFunction
+
+
+
Parameters:
parameters - The parameters for the function call +
Throws: +
InvalidVariableException - - when the variables for the function call can't be evaluated
See Also:
Function.setParameters(Collection)
+
+
+
+ +

+getReferenceKey

+
+public String getReferenceKey()
+
+
Return the name of your function. Convention is to prepend "__" to the + name (ie "__regexFunction") +

+

+
Specified by:
getReferenceKey in interface Function
Specified by:
getReferenceKey in class AbstractFunction
+
+
+ +
Returns:
The name of the funtion
See Also:
Function.getReferenceKey()
+
+
+
+ +

+getArgumentDesc

+
+public List<String> getArgumentDesc()
+
+
Return a list of strings briefly describing each parameter your function + takes. Please use JMeterUtils.getResString(resource_name) to grab a + resource string. Otherwise, your help text will be difficult to + internationalize. + + This list is not optional. If you don't wish to write help, you must at + least return a List containing the correct number of blank strings, one + for each argument. +

+

+ +
Returns:
List with brief descriptions for each parameter the function takes
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/functions/RegexFunction.html b/docs/api/org/apache/jmeter/functions/RegexFunction.html new file mode 100644 index 00000000000..c1b52aaf3e2 --- /dev/null +++ b/docs/api/org/apache/jmeter/functions/RegexFunction.html @@ -0,0 +1,444 @@ + + + + + +RegexFunction (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.functions +
+Class RegexFunction

+
+java.lang.Object
+  extended by org.apache.jmeter.functions.AbstractFunction
+      extended by org.apache.jmeter.functions.RegexFunction
+
+
+
All Implemented Interfaces:
Function
+
+
+
+
public class RegexFunction
extends AbstractFunction
+ + +

+Implements regular expression parsing of sample results and variables +

+ +

+

+
Since:
+
1.X
+
+
+ +

+ + + + + + + + + + + + + + + + + + + +
+Field Summary
+static StringALL + +
+           
+static StringKEY + +
+           
+static StringRAND + +
+           
+  + + + + + + + + + + +
+Constructor Summary
RegexFunction() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Stringexecute(SampleResult previousResult, + Sampler currentSampler) + +
+           + N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files).
+ List<String>getArgumentDesc() + +
+          Return a list of strings briefly describing each parameter your function + takes.
+ StringgetReferenceKey() + +
+          Return the name of your function.
+ voidsetParameters(Collection<CompoundVariable> parameters) + +
+          Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1)
+ + + + + + + +
Methods inherited from class org.apache.jmeter.functions.AbstractFunction
checkMinParameterCount, checkParameterCount, checkParameterCount, execute, getVariables
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+ALL

+
+public static final String ALL
+
+
+
See Also:
Constant Field Values
+
+
+ +

+RAND

+
+public static final String RAND
+
+
+
See Also:
Constant Field Values
+
+
+ +

+KEY

+
+public static final String KEY
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+RegexFunction

+
+public RegexFunction()
+
+
+ + + + + + + + +
+Method Detail
+ +

+execute

+
+public String execute(SampleResult previousResult,
+                      Sampler currentSampler)
+               throws InvalidVariableException
+
+

+ N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files). +

+ JMeter ensures setParameters() happens-before execute(): setParameters is executed in main thread, + and worker threads are started after that. +

+

+
Specified by:
execute in interface Function
Specified by:
execute in class AbstractFunction
+
+
+
Parameters:
previousResult - The previous SampleResult
currentSampler - The current Sampler +
Returns:
The replacement value, which was generated by the function +
Throws: +
InvalidVariableException - - when the variables for the function call can't be evaluated
See Also:
Function.execute(SampleResult, Sampler)
+
+
+
+ +

+getArgumentDesc

+
+public List<String> getArgumentDesc()
+
+
Return a list of strings briefly describing each parameter your function + takes. Please use JMeterUtils.getResString(resource_name) to grab a + resource string. Otherwise, your help text will be difficult to + internationalize. + + This list is not optional. If you don't wish to write help, you must at + least return a List containing the correct number of blank strings, one + for each argument. +

+

+ +
Returns:
List with brief descriptions for each parameter the function takes
+
+
+
+ +

+getReferenceKey

+
+public String getReferenceKey()
+
+
Return the name of your function. Convention is to prepend "__" to the + name (ie "__regexFunction") +

+

+
Specified by:
getReferenceKey in interface Function
Specified by:
getReferenceKey in class AbstractFunction
+
+
+ +
Returns:
The name of the funtion
See Also:
Function.getReferenceKey()
+
+
+
+ +

+setParameters

+
+public void setParameters(Collection<CompoundVariable> parameters)
+                   throws InvalidVariableException
+
+
Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1) +

+

+
Specified by:
setParameters in interface Function
Specified by:
setParameters in class AbstractFunction
+
+
+
Parameters:
parameters - The parameters for the function call +
Throws: +
InvalidVariableException - - when the variables for the function call can't be evaluated
See Also:
Function.setParameters(Collection)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/functions/SamplerName.html b/docs/api/org/apache/jmeter/functions/SamplerName.html new file mode 100644 index 00000000000..f3d41348532 --- /dev/null +++ b/docs/api/org/apache/jmeter/functions/SamplerName.html @@ -0,0 +1,372 @@ + + + + + +SamplerName (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.functions +
+Class SamplerName

+
+java.lang.Object
+  extended by org.apache.jmeter.functions.AbstractFunction
+      extended by org.apache.jmeter.functions.SamplerName
+
+
+
All Implemented Interfaces:
Function
+
+
+
+
public class SamplerName
extends AbstractFunction
+ + +

+Function to return the name of the current sampler. +

+ +

+

+
Since:
+
2.5
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
SamplerName() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Stringexecute(SampleResult previousResult, + Sampler currentSampler) + +
+           + N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files).
+ List<String>getArgumentDesc() + +
+          Return a list of strings briefly describing each parameter your function + takes.
+ StringgetReferenceKey() + +
+          Return the name of your function.
+ voidsetParameters(Collection<CompoundVariable> parameters) + +
+          Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1)
+ + + + + + + +
Methods inherited from class org.apache.jmeter.functions.AbstractFunction
checkMinParameterCount, checkParameterCount, checkParameterCount, execute, getVariables
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SamplerName

+
+public SamplerName()
+
+
+ + + + + + + + +
+Method Detail
+ +

+execute

+
+public String execute(SampleResult previousResult,
+                      Sampler currentSampler)
+               throws InvalidVariableException
+
+

+ N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files). +

+ JMeter ensures setParameters() happens-before execute(): setParameters is executed in main thread, + and worker threads are started after that. +

+

+
Specified by:
execute in interface Function
Specified by:
execute in class AbstractFunction
+
+
+
Parameters:
previousResult - The previous SampleResult
currentSampler - The current Sampler +
Returns:
The replacement value, which was generated by the function +
Throws: +
InvalidVariableException - - when the variables for the function call can't be evaluated
See Also:
Function.execute(SampleResult, Sampler)
+
+
+
+ +

+setParameters

+
+public void setParameters(Collection<CompoundVariable> parameters)
+                   throws InvalidVariableException
+
+
Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1) +

+

+
Specified by:
setParameters in interface Function
Specified by:
setParameters in class AbstractFunction
+
+
+
Parameters:
parameters - The parameters for the function call +
Throws: +
InvalidVariableException - - when the variables for the function call can't be evaluated
See Also:
Function.setParameters(Collection)
+
+
+
+ +

+getReferenceKey

+
+public String getReferenceKey()
+
+
Return the name of your function. Convention is to prepend "__" to the + name (ie "__regexFunction") +

+

+
Specified by:
getReferenceKey in interface Function
Specified by:
getReferenceKey in class AbstractFunction
+
+
+ +
Returns:
The name of the funtion
See Also:
Function.getReferenceKey()
+
+
+
+ +

+getArgumentDesc

+
+public List<String> getArgumentDesc()
+
+
Return a list of strings briefly describing each parameter your function + takes. Please use JMeterUtils.getResString(resource_name) to grab a + resource string. Otherwise, your help text will be difficult to + internationalize. + + This list is not optional. If you don't wish to write help, you must at + least return a List containing the correct number of blank strings, one + for each argument. +

+

+ +
Returns:
List with brief descriptions for each parameter the function takes
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/functions/SetProperty.html b/docs/api/org/apache/jmeter/functions/SetProperty.html new file mode 100644 index 00000000000..63e610f0f33 --- /dev/null +++ b/docs/api/org/apache/jmeter/functions/SetProperty.html @@ -0,0 +1,381 @@ + + + + + +SetProperty (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.functions +
+Class SetProperty

+
+java.lang.Object
+  extended by org.apache.jmeter.functions.AbstractFunction
+      extended by org.apache.jmeter.functions.SetProperty
+
+
+
All Implemented Interfaces:
Function
+
+
+
+
public class SetProperty
extends AbstractFunction
+ + +

+Function to set a JMeter property + + Parameters: - property name - value + + Usage: + + Set the property value in the appropriate GUI by using the string: + ${__setProperty(propname,propvalue[,returnvalue?])} + + Returns: nothing or original value if the 3rd parameter is true +

+ +

+

+
Since:
+
2.1
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
SetProperty() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Stringexecute(SampleResult previousResult, + Sampler currentSampler) + +
+           + N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files).
+ List<String>getArgumentDesc() + +
+          Return a list of strings briefly describing each parameter your function + takes.
+ StringgetReferenceKey() + +
+          Return the name of your function.
+ voidsetParameters(Collection<CompoundVariable> parameters) + +
+          Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1)
+ + + + + + + +
Methods inherited from class org.apache.jmeter.functions.AbstractFunction
checkMinParameterCount, checkParameterCount, checkParameterCount, execute, getVariables
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SetProperty

+
+public SetProperty()
+
+
+ + + + + + + + +
+Method Detail
+ +

+execute

+
+public String execute(SampleResult previousResult,
+                      Sampler currentSampler)
+               throws InvalidVariableException
+
+

+ N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files). +

+ JMeter ensures setParameters() happens-before execute(): setParameters is executed in main thread, + and worker threads are started after that. +

+

+
Specified by:
execute in interface Function
Specified by:
execute in class AbstractFunction
+
+
+
Parameters:
previousResult - The previous SampleResult
currentSampler - The current Sampler +
Returns:
The replacement value, which was generated by the function +
Throws: +
InvalidVariableException - - when the variables for the function call can't be evaluated
See Also:
Function.execute(SampleResult, Sampler)
+
+
+
+ +

+setParameters

+
+public void setParameters(Collection<CompoundVariable> parameters)
+                   throws InvalidVariableException
+
+
Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1) +

+

+
Specified by:
setParameters in interface Function
Specified by:
setParameters in class AbstractFunction
+
+
+
Parameters:
parameters - The parameters for the function call +
Throws: +
InvalidVariableException - - when the variables for the function call can't be evaluated
See Also:
Function.setParameters(Collection)
+
+
+
+ +

+getReferenceKey

+
+public String getReferenceKey()
+
+
Return the name of your function. Convention is to prepend "__" to the + name (ie "__regexFunction") +

+

+
Specified by:
getReferenceKey in interface Function
Specified by:
getReferenceKey in class AbstractFunction
+
+
+ +
Returns:
The name of the funtion
See Also:
Function.getReferenceKey()
+
+
+
+ +

+getArgumentDesc

+
+public List<String> getArgumentDesc()
+
+
Return a list of strings briefly describing each parameter your function + takes. Please use JMeterUtils.getResString(resource_name) to grab a + resource string. Otherwise, your help text will be difficult to + internationalize. + + This list is not optional. If you don't wish to write help, you must at + least return a List containing the correct number of blank strings, one + for each argument. +

+

+ +
Returns:
List with brief descriptions for each parameter the function takes
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/functions/SplitFunction.html b/docs/api/org/apache/jmeter/functions/SplitFunction.html new file mode 100644 index 00000000000..df4eadc807f --- /dev/null +++ b/docs/api/org/apache/jmeter/functions/SplitFunction.html @@ -0,0 +1,388 @@ + + + + + +SplitFunction (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.functions +
+Class SplitFunction

+
+java.lang.Object
+  extended by org.apache.jmeter.functions.AbstractFunction
+      extended by org.apache.jmeter.functions.SplitFunction
+
+
+
All Implemented Interfaces:
Function
+
+
+
+
public class SplitFunction
extends AbstractFunction
+ + +

+Function to split a string into variables +

+ Parameters: +

    +
  • String to split
  • +
  • Variable name prefix
  • +
  • String to split on (optional, default is comma)
  • +
+

+ Returns: the input string +

+ Also sets the variables: +
    +
  • VARNAME - the input string
  • +
  • VARNAME_n - number of fields found
  • +
  • VARNAME_1..n - fields
  • +
+

+ +

+

+
Since:
+
2.0.2
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
SplitFunction() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Stringexecute(SampleResult previousResult, + Sampler currentSampler) + +
+           + N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files).
+ List<String>getArgumentDesc() + +
+          Return a list of strings briefly describing each parameter your function + takes.
+ StringgetReferenceKey() + +
+          Return the name of your function.
+ voidsetParameters(Collection<CompoundVariable> parameters) + +
+          Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1)
+ + + + + + + +
Methods inherited from class org.apache.jmeter.functions.AbstractFunction
checkMinParameterCount, checkParameterCount, checkParameterCount, execute, getVariables
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SplitFunction

+
+public SplitFunction()
+
+
+ + + + + + + + +
+Method Detail
+ +

+execute

+
+public String execute(SampleResult previousResult,
+                      Sampler currentSampler)
+               throws InvalidVariableException
+
+

+ N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files). +

+ JMeter ensures setParameters() happens-before execute(): setParameters is executed in main thread, + and worker threads are started after that. +

+

+
Specified by:
execute in interface Function
Specified by:
execute in class AbstractFunction
+
+
+
Parameters:
previousResult - The previous SampleResult
currentSampler - The current Sampler +
Returns:
The replacement value, which was generated by the function +
Throws: +
InvalidVariableException - - when the variables for the function call can't be evaluated
See Also:
Function.execute(SampleResult, Sampler)
+
+
+
+ +

+setParameters

+
+public void setParameters(Collection<CompoundVariable> parameters)
+                   throws InvalidVariableException
+
+
Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1) +

+

+
Specified by:
setParameters in interface Function
Specified by:
setParameters in class AbstractFunction
+
+
+
Parameters:
parameters - The parameters for the function call +
Throws: +
InvalidVariableException - - when the variables for the function call can't be evaluated
See Also:
Function.setParameters(Collection)
+
+
+
+ +

+getReferenceKey

+
+public String getReferenceKey()
+
+
Return the name of your function. Convention is to prepend "__" to the + name (ie "__regexFunction") +

+

+
Specified by:
getReferenceKey in interface Function
Specified by:
getReferenceKey in class AbstractFunction
+
+
+ +
Returns:
The name of the funtion
See Also:
Function.getReferenceKey()
+
+
+
+ +

+getArgumentDesc

+
+public List<String> getArgumentDesc()
+
+
Return a list of strings briefly describing each parameter your function + takes. Please use JMeterUtils.getResString(resource_name) to grab a + resource string. Otherwise, your help text will be difficult to + internationalize. + + This list is not optional. If you don't wish to write help, you must at + least return a List containing the correct number of blank strings, one + for each argument. +

+

+ +
Returns:
List with brief descriptions for each parameter the function takes
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/functions/StringFromFile.html b/docs/api/org/apache/jmeter/functions/StringFromFile.html new file mode 100644 index 00000000000..39a5bbda83f --- /dev/null +++ b/docs/api/org/apache/jmeter/functions/StringFromFile.html @@ -0,0 +1,544 @@ + + + + + +StringFromFile (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.functions +
+Class StringFromFile

+
+java.lang.Object
+  extended by org.apache.jmeter.functions.AbstractFunction
+      extended by org.apache.jmeter.functions.StringFromFile
+
+
+
All Implemented Interfaces:
Function, TestStateListener
+
+
+
+
public class StringFromFile
extends AbstractFunction
implements TestStateListener
+ + +

+StringFromFile Function to read a String from a text file. + + Parameters: + - file name + - variable name (optional - defaults to StringFromFile_) + + Returns: + - the next line from the file + - or **ERR** if an error occurs + - value is also saved in the variable for later re-use. + + Ensure that different variable names are used for each call to the function + + + Notes: +

    +
  • JMeter instantiates a single copy of each function for every reference in the test plan
  • +
  • Function instances are shared between threads.
  • +
  • Each StringFromFile instance reads the file independently. The output variable can be used to save the + value for later use in the same thread.
  • +
  • The file name is resolved at file (re-)open time; the file is initially opened on first execution (which could be any thread)
  • +
  • the output variable name is resolved every time the function is invoked
  • +
+ Because function instances are shared, it does not make sense to use the thread number as part of the file name. +

+ +

+

+
Since:
+
1.9
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
StringFromFile() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Stringexecute(SampleResult previousResult, + Sampler currentSampler) + +
+           + N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files).
+ List<String>getArgumentDesc() + +
+          Return a list of strings briefly describing each parameter your function + takes.
+ StringgetReferenceKey() + +
+          Return the name of your function.
+ voidsetParameters(Collection<CompoundVariable> parameters) + +
+          Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1)
+ voidtestEnded() + +
+           + Called once for all threads after the end of a test.
+ voidtestEnded(String host) + +
+           + Called once for all threads after the end of a test.
+ voidtestStarted() + +
+           + Called just before the start of the test from the main engine thread.
+ voidtestStarted(String host) + +
+           + Called just before the start of the test from the main engine thread.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.functions.AbstractFunction
checkMinParameterCount, checkParameterCount, checkParameterCount, execute, getVariables
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+StringFromFile

+
+public StringFromFile()
+
+
+ + + + + + + + +
+Method Detail
+ +

+execute

+
+public String execute(SampleResult previousResult,
+                      Sampler currentSampler)
+               throws InvalidVariableException
+
+

+ N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files). +

+ JMeter ensures setParameters() happens-before execute(): setParameters is executed in main thread, + and worker threads are started after that. +

+

+
Specified by:
execute in interface Function
Specified by:
execute in class AbstractFunction
+
+
+
Parameters:
previousResult - The previous SampleResult
currentSampler - The current Sampler +
Returns:
The replacement value, which was generated by the function +
Throws: +
InvalidVariableException - - when the variables for the function call can't be evaluated
See Also:
Function.execute(SampleResult, Sampler)
+
+
+
+ +

+setParameters

+
+public void setParameters(Collection<CompoundVariable> parameters)
+                   throws InvalidVariableException
+
+
Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1) +

+

+
Specified by:
setParameters in interface Function
Specified by:
setParameters in class AbstractFunction
+
+
+
Parameters:
parameters - The parameters for the function call +
Throws: +
InvalidVariableException - - when the variables for the function call can't be evaluated
See Also:
Function.setParameters(Collection)
+
+
+
+ +

+getReferenceKey

+
+public String getReferenceKey()
+
+
Return the name of your function. Convention is to prepend "__" to the + name (ie "__regexFunction") +

+

+
Specified by:
getReferenceKey in interface Function
Specified by:
getReferenceKey in class AbstractFunction
+
+
+ +
Returns:
The name of the funtion
See Also:
Function.getReferenceKey()
+
+
+
+ +

+getArgumentDesc

+
+public List<String> getArgumentDesc()
+
+
Return a list of strings briefly describing each parameter your function + takes. Please use JMeterUtils.getResString(resource_name) to grab a + resource string. Otherwise, your help text will be difficult to + internationalize. + + This list is not optional. If you don't wish to write help, you must at + least return a List containing the correct number of blank strings, one + for each argument. +

+

+
Specified by:
getArgumentDesc in interface Function
+
+
+ +
Returns:
List with brief descriptions for each parameter the function takes
+
+
+
+ +

+testStarted

+
+public void testStarted()
+
+

+ Called just before the start of the test from the main engine thread. + + This is before the test elements are cloned. + + Note that not all the test + variables will have been set up at this point. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testStarted in interface TestStateListener
+
+
+
See Also:
StandardJMeterEngine.run()
+
+
+
+ +

+testStarted

+
+public void testStarted(String host)
+
+

+ Called just before the start of the test from the main engine thread. + + This is before the test elements are cloned. + + Note that not all the test + variables will have been set up at this point. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testStarted in interface TestStateListener
+
+
+
Parameters:
host - name of host
See Also:
StandardJMeterEngine.run()
+
+
+
+ +

+testEnded

+
+public void testEnded()
+
+

+ Called once for all threads after the end of a test. + + This will use the same element instances as at the start of the test. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testEnded in interface TestStateListener
+
+
+
See Also:
StandardJMeterEngine.stopTest()
+
+
+
+ +

+testEnded

+
+public void testEnded(String host)
+
+

+ Called once for all threads after the end of a test. + + This will use the same element instances as at the start of the test. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testEnded in interface TestStateListener
+
+
+
Parameters:
host - name of host
See Also:
StandardJMeterEngine.stopTest()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/functions/TestPlanName.html b/docs/api/org/apache/jmeter/functions/TestPlanName.html new file mode 100644 index 00000000000..3f8d6f2e942 --- /dev/null +++ b/docs/api/org/apache/jmeter/functions/TestPlanName.html @@ -0,0 +1,374 @@ + + + + + +TestPlanName (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.functions +
+Class TestPlanName

+
+java.lang.Object
+  extended by org.apache.jmeter.functions.AbstractFunction
+      extended by org.apache.jmeter.functions.TestPlanName
+
+
+
All Implemented Interfaces:
Function
+
+
+
+
public class TestPlanName
extends AbstractFunction
+ + +

+Returns Test Plan name +

+ +

+

+
Since:
+
2.6
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
TestPlanName() + +
+          No-arg constructor.
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Stringexecute(SampleResult previousResult, + Sampler currentSampler) + +
+           + N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files).
+ List<String>getArgumentDesc() + +
+          Return a list of strings briefly describing each parameter your function + takes.
+ StringgetReferenceKey() + +
+          Return the name of your function.
+ voidsetParameters(Collection<CompoundVariable> parameters) + +
+          Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1)
+ + + + + + + +
Methods inherited from class org.apache.jmeter.functions.AbstractFunction
checkMinParameterCount, checkParameterCount, checkParameterCount, execute, getVariables
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+TestPlanName

+
+public TestPlanName()
+
+
No-arg constructor. +

+

+ + + + + + + + +
+Method Detail
+ +

+execute

+
+public String execute(SampleResult previousResult,
+                      Sampler currentSampler)
+               throws InvalidVariableException
+
+

+ N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files). +

+ JMeter ensures setParameters() happens-before execute(): setParameters is executed in main thread, + and worker threads are started after that. +

+

+
Specified by:
execute in interface Function
Specified by:
execute in class AbstractFunction
+
+
+
Parameters:
previousResult - The previous SampleResult
currentSampler - The current Sampler +
Returns:
The replacement value, which was generated by the function +
Throws: +
InvalidVariableException - - when the variables for the function call can't be evaluated
See Also:
Function.execute(SampleResult, Sampler)
+
+
+
+ +

+setParameters

+
+public void setParameters(Collection<CompoundVariable> parameters)
+                   throws InvalidVariableException
+
+
Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1) +

+

+
Specified by:
setParameters in interface Function
Specified by:
setParameters in class AbstractFunction
+
+
+
Parameters:
parameters - The parameters for the function call +
Throws: +
InvalidVariableException - - when the variables for the function call can't be evaluated
See Also:
Function.setParameters(Collection)
+
+
+
+ +

+getReferenceKey

+
+public String getReferenceKey()
+
+
Return the name of your function. Convention is to prepend "__" to the + name (ie "__regexFunction") +

+

+
Specified by:
getReferenceKey in interface Function
Specified by:
getReferenceKey in class AbstractFunction
+
+
+ +
Returns:
The name of the funtion
See Also:
Function.getReferenceKey()
+
+
+
+ +

+getArgumentDesc

+
+public List<String> getArgumentDesc()
+
+
Return a list of strings briefly describing each parameter your function + takes. Please use JMeterUtils.getResString(resource_name) to grab a + resource string. Otherwise, your help text will be difficult to + internationalize. + + This list is not optional. If you don't wish to write help, you must at + least return a List containing the correct number of blank strings, one + for each argument. +

+

+ +
Returns:
List with brief descriptions for each parameter the function takes
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/functions/ThreadNumber.html b/docs/api/org/apache/jmeter/functions/ThreadNumber.html new file mode 100644 index 00000000000..2cb4bb91ca4 --- /dev/null +++ b/docs/api/org/apache/jmeter/functions/ThreadNumber.html @@ -0,0 +1,372 @@ + + + + + +ThreadNumber (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.functions +
+Class ThreadNumber

+
+java.lang.Object
+  extended by org.apache.jmeter.functions.AbstractFunction
+      extended by org.apache.jmeter.functions.ThreadNumber
+
+
+
All Implemented Interfaces:
Function
+
+
+
+
public class ThreadNumber
extends AbstractFunction
+ + +

+Function to return the current thread number. +

+ +

+

+
Since:
+
1.X
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
ThreadNumber() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Stringexecute(SampleResult previousResult, + Sampler currentSampler) + +
+           + N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files).
+ List<String>getArgumentDesc() + +
+          Return a list of strings briefly describing each parameter your function + takes.
+ StringgetReferenceKey() + +
+          Return the name of your function.
+ voidsetParameters(Collection<CompoundVariable> parameters) + +
+          Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1)
+ + + + + + + +
Methods inherited from class org.apache.jmeter.functions.AbstractFunction
checkMinParameterCount, checkParameterCount, checkParameterCount, execute, getVariables
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ThreadNumber

+
+public ThreadNumber()
+
+
+ + + + + + + + +
+Method Detail
+ +

+execute

+
+public String execute(SampleResult previousResult,
+                      Sampler currentSampler)
+               throws InvalidVariableException
+
+

+ N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files). +

+ JMeter ensures setParameters() happens-before execute(): setParameters is executed in main thread, + and worker threads are started after that. +

+

+
Specified by:
execute in interface Function
Specified by:
execute in class AbstractFunction
+
+
+
Parameters:
previousResult - The previous SampleResult
currentSampler - The current Sampler +
Returns:
The replacement value, which was generated by the function +
Throws: +
InvalidVariableException - - when the variables for the function call can't be evaluated
See Also:
Function.execute(SampleResult, Sampler)
+
+
+
+ +

+setParameters

+
+public void setParameters(Collection<CompoundVariable> parameters)
+                   throws InvalidVariableException
+
+
Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1) +

+

+
Specified by:
setParameters in interface Function
Specified by:
setParameters in class AbstractFunction
+
+
+
Parameters:
parameters - The parameters for the function call +
Throws: +
InvalidVariableException - - when the variables for the function call can't be evaluated
See Also:
Function.setParameters(Collection)
+
+
+
+ +

+getReferenceKey

+
+public String getReferenceKey()
+
+
Return the name of your function. Convention is to prepend "__" to the + name (ie "__regexFunction") +

+

+
Specified by:
getReferenceKey in interface Function
Specified by:
getReferenceKey in class AbstractFunction
+
+
+ +
Returns:
The name of the funtion
See Also:
Function.getReferenceKey()
+
+
+
+ +

+getArgumentDesc

+
+public List<String> getArgumentDesc()
+
+
Return a list of strings briefly describing each parameter your function + takes. Please use JMeterUtils.getResString(resource_name) to grab a + resource string. Otherwise, your help text will be difficult to + internationalize. + + This list is not optional. If you don't wish to write help, you must at + least return a List containing the correct number of blank strings, one + for each argument. +

+

+ +
Returns:
List with brief descriptions for each parameter the function takes
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/functions/TimeFunction.html b/docs/api/org/apache/jmeter/functions/TimeFunction.html new file mode 100644 index 00000000000..5031bd9d73c --- /dev/null +++ b/docs/api/org/apache/jmeter/functions/TimeFunction.html @@ -0,0 +1,372 @@ + + + + + +TimeFunction (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.functions +
+Class TimeFunction

+
+java.lang.Object
+  extended by org.apache.jmeter.functions.AbstractFunction
+      extended by org.apache.jmeter.functions.TimeFunction
+
+
+
All Implemented Interfaces:
Function
+
+
+
+
public class TimeFunction
extends AbstractFunction
+ + +

+__time() function - returns the current time in milliseconds +

+ +

+

+
Since:
+
2.2
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
TimeFunction() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Stringexecute(SampleResult previousResult, + Sampler currentSampler) + +
+           + N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files).
+ List<String>getArgumentDesc() + +
+          Return a list of strings briefly describing each parameter your function + takes.
+ StringgetReferenceKey() + +
+          Return the name of your function.
+ voidsetParameters(Collection<CompoundVariable> parameters) + +
+          Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1)
+ + + + + + + +
Methods inherited from class org.apache.jmeter.functions.AbstractFunction
checkMinParameterCount, checkParameterCount, checkParameterCount, execute, getVariables
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+TimeFunction

+
+public TimeFunction()
+
+
+ + + + + + + + +
+Method Detail
+ +

+execute

+
+public String execute(SampleResult previousResult,
+                      Sampler currentSampler)
+               throws InvalidVariableException
+
+

+ N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files). +

+ JMeter ensures setParameters() happens-before execute(): setParameters is executed in main thread, + and worker threads are started after that. +

+

+
Specified by:
execute in interface Function
Specified by:
execute in class AbstractFunction
+
+
+
Parameters:
previousResult - The previous SampleResult
currentSampler - The current Sampler +
Returns:
The replacement value, which was generated by the function +
Throws: +
InvalidVariableException - - when the variables for the function call can't be evaluated
See Also:
Function.execute(SampleResult, Sampler)
+
+
+
+ +

+setParameters

+
+public void setParameters(Collection<CompoundVariable> parameters)
+                   throws InvalidVariableException
+
+
Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1) +

+

+
Specified by:
setParameters in interface Function
Specified by:
setParameters in class AbstractFunction
+
+
+
Parameters:
parameters - The parameters for the function call +
Throws: +
InvalidVariableException - - when the variables for the function call can't be evaluated
See Also:
Function.setParameters(Collection)
+
+
+
+ +

+getReferenceKey

+
+public String getReferenceKey()
+
+
Return the name of your function. Convention is to prepend "__" to the + name (ie "__regexFunction") +

+

+
Specified by:
getReferenceKey in interface Function
Specified by:
getReferenceKey in class AbstractFunction
+
+
+ +
Returns:
The name of the funtion
See Also:
Function.getReferenceKey()
+
+
+
+ +

+getArgumentDesc

+
+public List<String> getArgumentDesc()
+
+
Return a list of strings briefly describing each parameter your function + takes. Please use JMeterUtils.getResString(resource_name) to grab a + resource string. Otherwise, your help text will be difficult to + internationalize. + + This list is not optional. If you don't wish to write help, you must at + least return a List containing the correct number of blank strings, one + for each argument. +

+

+ +
Returns:
List with brief descriptions for each parameter the function takes
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/functions/UnEscape.html b/docs/api/org/apache/jmeter/functions/UnEscape.html new file mode 100644 index 00000000000..121558f28cc --- /dev/null +++ b/docs/api/org/apache/jmeter/functions/UnEscape.html @@ -0,0 +1,374 @@ + + + + + +UnEscape (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.functions +
+Class UnEscape

+
+java.lang.Object
+  extended by org.apache.jmeter.functions.AbstractFunction
+      extended by org.apache.jmeter.functions.UnEscape
+
+
+
All Implemented Interfaces:
Function
+
+
+
+
public class UnEscape
extends AbstractFunction
+ + +

+Function to unescape any Java literals found in the String. + For example, it will turn a sequence of '\' and 'n' into a newline character, + unless the '\' is preceded by another '\'. +

+ +

+

+
Since:
+
2.3.3
+
See Also:
StringEscapeUtils.unescapeJava(String)
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
UnEscape() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Stringexecute(SampleResult previousResult, + Sampler currentSampler) + +
+           + N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files).
+ List<String>getArgumentDesc() + +
+          Return a list of strings briefly describing each parameter your function + takes.
+ StringgetReferenceKey() + +
+          Return the name of your function.
+ voidsetParameters(Collection<CompoundVariable> parameters) + +
+          Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1)
+ + + + + + + +
Methods inherited from class org.apache.jmeter.functions.AbstractFunction
checkMinParameterCount, checkParameterCount, checkParameterCount, execute, getVariables
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+UnEscape

+
+public UnEscape()
+
+
+ + + + + + + + +
+Method Detail
+ +

+execute

+
+public String execute(SampleResult previousResult,
+                      Sampler currentSampler)
+               throws InvalidVariableException
+
+

+ N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files). +

+ JMeter ensures setParameters() happens-before execute(): setParameters is executed in main thread, + and worker threads are started after that. +

+

+
Specified by:
execute in interface Function
Specified by:
execute in class AbstractFunction
+
+
+
Parameters:
previousResult - The previous SampleResult
currentSampler - The current Sampler +
Returns:
The replacement value, which was generated by the function +
Throws: +
InvalidVariableException - - when the variables for the function call can't be evaluated
See Also:
Function.execute(SampleResult, Sampler)
+
+
+
+ +

+setParameters

+
+public void setParameters(Collection<CompoundVariable> parameters)
+                   throws InvalidVariableException
+
+
Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1) +

+

+
Specified by:
setParameters in interface Function
Specified by:
setParameters in class AbstractFunction
+
+
+
Parameters:
parameters - The parameters for the function call +
Throws: +
InvalidVariableException - - when the variables for the function call can't be evaluated
See Also:
Function.setParameters(Collection)
+
+
+
+ +

+getReferenceKey

+
+public String getReferenceKey()
+
+
Return the name of your function. Convention is to prepend "__" to the + name (ie "__regexFunction") +

+

+
Specified by:
getReferenceKey in interface Function
Specified by:
getReferenceKey in class AbstractFunction
+
+
+ +
Returns:
The name of the funtion
See Also:
Function.getReferenceKey()
+
+
+
+ +

+getArgumentDesc

+
+public List<String> getArgumentDesc()
+
+
Return a list of strings briefly describing each parameter your function + takes. Please use JMeterUtils.getResString(resource_name) to grab a + resource string. Otherwise, your help text will be difficult to + internationalize. + + This list is not optional. If you don't wish to write help, you must at + least return a List containing the correct number of blank strings, one + for each argument. +

+

+ +
Returns:
List with brief descriptions for each parameter the function takes
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/functions/UnEscapeHtml.html b/docs/api/org/apache/jmeter/functions/UnEscapeHtml.html new file mode 100644 index 00000000000..9d3dc3378d1 --- /dev/null +++ b/docs/api/org/apache/jmeter/functions/UnEscapeHtml.html @@ -0,0 +1,381 @@ + + + + + +UnEscapeHtml (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.functions +
+Class UnEscapeHtml

+
+java.lang.Object
+  extended by org.apache.jmeter.functions.AbstractFunction
+      extended by org.apache.jmeter.functions.UnEscapeHtml
+
+
+
All Implemented Interfaces:
Function
+
+
+
+
public class UnEscapeHtml
extends AbstractFunction
+ + +

+Function to unescape a string containing entity escapes + to a string containing the actual Unicode characters corresponding to the escapes. + Supports HTML 4.0 entities. +

+ For example, the string "&lt;Fran&ccedil;ais&gt;" will become "<Français>" +

+

+ If an entity is unrecognized, it is left alone, and inserted verbatim into the result string. + e.g. "&gt;&zzzz;x" will become ">&zzzz;x". +

+

+ +

+

+
Since:
+
2.3.3
+
See Also:
StringEscapeUtils.unescapeHtml4(String)
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
UnEscapeHtml() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Stringexecute(SampleResult previousResult, + Sampler currentSampler) + +
+           + N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files).
+ List<String>getArgumentDesc() + +
+          Return a list of strings briefly describing each parameter your function + takes.
+ StringgetReferenceKey() + +
+          Return the name of your function.
+ voidsetParameters(Collection<CompoundVariable> parameters) + +
+          Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1)
+ + + + + + + +
Methods inherited from class org.apache.jmeter.functions.AbstractFunction
checkMinParameterCount, checkParameterCount, checkParameterCount, execute, getVariables
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+UnEscapeHtml

+
+public UnEscapeHtml()
+
+
+ + + + + + + + +
+Method Detail
+ +

+execute

+
+public String execute(SampleResult previousResult,
+                      Sampler currentSampler)
+               throws InvalidVariableException
+
+

+ N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files). +

+ JMeter ensures setParameters() happens-before execute(): setParameters is executed in main thread, + and worker threads are started after that. +

+

+
Specified by:
execute in interface Function
Specified by:
execute in class AbstractFunction
+
+
+
Parameters:
previousResult - The previous SampleResult
currentSampler - The current Sampler +
Returns:
The replacement value, which was generated by the function +
Throws: +
InvalidVariableException - - when the variables for the function call can't be evaluated
See Also:
Function.execute(SampleResult, Sampler)
+
+
+
+ +

+setParameters

+
+public void setParameters(Collection<CompoundVariable> parameters)
+                   throws InvalidVariableException
+
+
Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1) +

+

+
Specified by:
setParameters in interface Function
Specified by:
setParameters in class AbstractFunction
+
+
+
Parameters:
parameters - The parameters for the function call +
Throws: +
InvalidVariableException - - when the variables for the function call can't be evaluated
See Also:
Function.setParameters(Collection)
+
+
+
+ +

+getReferenceKey

+
+public String getReferenceKey()
+
+
Return the name of your function. Convention is to prepend "__" to the + name (ie "__regexFunction") +

+

+
Specified by:
getReferenceKey in interface Function
Specified by:
getReferenceKey in class AbstractFunction
+
+
+ +
Returns:
The name of the funtion
See Also:
Function.getReferenceKey()
+
+
+
+ +

+getArgumentDesc

+
+public List<String> getArgumentDesc()
+
+
Return a list of strings briefly describing each parameter your function + takes. Please use JMeterUtils.getResString(resource_name) to grab a + resource string. Otherwise, your help text will be difficult to + internationalize. + + This list is not optional. If you don't wish to write help, you must at + least return a List containing the correct number of blank strings, one + for each argument. +

+

+ +
Returns:
List with brief descriptions for each parameter the function takes
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/functions/UrlDecode.html b/docs/api/org/apache/jmeter/functions/UrlDecode.html new file mode 100644 index 00000000000..62882eecc17 --- /dev/null +++ b/docs/api/org/apache/jmeter/functions/UrlDecode.html @@ -0,0 +1,372 @@ + + + + + +UrlDecode (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.functions +
+Class UrlDecode

+
+java.lang.Object
+  extended by org.apache.jmeter.functions.AbstractFunction
+      extended by org.apache.jmeter.functions.UrlDecode
+
+
+
All Implemented Interfaces:
Function
+
+
+
+
public class UrlDecode
extends AbstractFunction
+ + +

+Function to decode a application/x-www-form-urlencoded string. +

+ +

+

+
Since:
+
2.10
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
UrlDecode() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Stringexecute(SampleResult previousResult, + Sampler currentSampler) + +
+           + N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files).
+ List<String>getArgumentDesc() + +
+          Return a list of strings briefly describing each parameter your function + takes.
+ StringgetReferenceKey() + +
+          Return the name of your function.
+ voidsetParameters(Collection<CompoundVariable> parameters) + +
+          Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1)
+ + + + + + + +
Methods inherited from class org.apache.jmeter.functions.AbstractFunction
checkMinParameterCount, checkParameterCount, checkParameterCount, execute, getVariables
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+UrlDecode

+
+public UrlDecode()
+
+
+ + + + + + + + +
+Method Detail
+ +

+execute

+
+public String execute(SampleResult previousResult,
+                      Sampler currentSampler)
+               throws InvalidVariableException
+
+

+ N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files). +

+ JMeter ensures setParameters() happens-before execute(): setParameters is executed in main thread, + and worker threads are started after that. +

+

+
Specified by:
execute in interface Function
Specified by:
execute in class AbstractFunction
+
+
+
Parameters:
previousResult - The previous SampleResult
currentSampler - The current Sampler +
Returns:
The replacement value, which was generated by the function +
Throws: +
InvalidVariableException - - when the variables for the function call can't be evaluated
See Also:
Function.execute(SampleResult, Sampler)
+
+
+
+ +

+setParameters

+
+public void setParameters(Collection<CompoundVariable> parameters)
+                   throws InvalidVariableException
+
+
Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1) +

+

+
Specified by:
setParameters in interface Function
Specified by:
setParameters in class AbstractFunction
+
+
+
Parameters:
parameters - The parameters for the function call +
Throws: +
InvalidVariableException - - when the variables for the function call can't be evaluated
See Also:
Function.setParameters(Collection)
+
+
+
+ +

+getReferenceKey

+
+public String getReferenceKey()
+
+
Return the name of your function. Convention is to prepend "__" to the + name (ie "__regexFunction") +

+

+
Specified by:
getReferenceKey in interface Function
Specified by:
getReferenceKey in class AbstractFunction
+
+
+ +
Returns:
The name of the funtion
See Also:
Function.getReferenceKey()
+
+
+
+ +

+getArgumentDesc

+
+public List<String> getArgumentDesc()
+
+
Return a list of strings briefly describing each parameter your function + takes. Please use JMeterUtils.getResString(resource_name) to grab a + resource string. Otherwise, your help text will be difficult to + internationalize. + + This list is not optional. If you don't wish to write help, you must at + least return a List containing the correct number of blank strings, one + for each argument. +

+

+ +
Returns:
List with brief descriptions for each parameter the function takes
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/functions/UrlEncode.html b/docs/api/org/apache/jmeter/functions/UrlEncode.html new file mode 100644 index 00000000000..4e7e8abab74 --- /dev/null +++ b/docs/api/org/apache/jmeter/functions/UrlEncode.html @@ -0,0 +1,372 @@ + + + + + +UrlEncode (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.functions +
+Class UrlEncode

+
+java.lang.Object
+  extended by org.apache.jmeter.functions.AbstractFunction
+      extended by org.apache.jmeter.functions.UrlEncode
+
+
+
All Implemented Interfaces:
Function
+
+
+
+
public class UrlEncode
extends AbstractFunction
+ + +

+Function to encode a string to a application/x-www-form-urlencoded string. +

+ +

+

+
Since:
+
2.10
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
UrlEncode() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Stringexecute(SampleResult previousResult, + Sampler currentSampler) + +
+           + N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files).
+ List<String>getArgumentDesc() + +
+          Return a list of strings briefly describing each parameter your function + takes.
+ StringgetReferenceKey() + +
+          Return the name of your function.
+ voidsetParameters(Collection<CompoundVariable> parameters) + +
+          Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1)
+ + + + + + + +
Methods inherited from class org.apache.jmeter.functions.AbstractFunction
checkMinParameterCount, checkParameterCount, checkParameterCount, execute, getVariables
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+UrlEncode

+
+public UrlEncode()
+
+
+ + + + + + + + +
+Method Detail
+ +

+execute

+
+public String execute(SampleResult previousResult,
+                      Sampler currentSampler)
+               throws InvalidVariableException
+
+

+ N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files). +

+ JMeter ensures setParameters() happens-before execute(): setParameters is executed in main thread, + and worker threads are started after that. +

+

+
Specified by:
execute in interface Function
Specified by:
execute in class AbstractFunction
+
+
+
Parameters:
previousResult - The previous SampleResult
currentSampler - The current Sampler +
Returns:
The replacement value, which was generated by the function +
Throws: +
InvalidVariableException - - when the variables for the function call can't be evaluated
See Also:
Function.execute(SampleResult, Sampler)
+
+
+
+ +

+setParameters

+
+public void setParameters(Collection<CompoundVariable> parameters)
+                   throws InvalidVariableException
+
+
Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1) +

+

+
Specified by:
setParameters in interface Function
Specified by:
setParameters in class AbstractFunction
+
+
+
Parameters:
parameters - The parameters for the function call +
Throws: +
InvalidVariableException - - when the variables for the function call can't be evaluated
See Also:
Function.setParameters(Collection)
+
+
+
+ +

+getReferenceKey

+
+public String getReferenceKey()
+
+
Return the name of your function. Convention is to prepend "__" to the + name (ie "__regexFunction") +

+

+
Specified by:
getReferenceKey in interface Function
Specified by:
getReferenceKey in class AbstractFunction
+
+
+ +
Returns:
The name of the funtion
See Also:
Function.getReferenceKey()
+
+
+
+ +

+getArgumentDesc

+
+public List<String> getArgumentDesc()
+
+
Return a list of strings briefly describing each parameter your function + takes. Please use JMeterUtils.getResString(resource_name) to grab a + resource string. Otherwise, your help text will be difficult to + internationalize. + + This list is not optional. If you don't wish to write help, you must at + least return a List containing the correct number of blank strings, one + for each argument. +

+

+ +
Returns:
List with brief descriptions for each parameter the function takes
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/functions/Uuid.html b/docs/api/org/apache/jmeter/functions/Uuid.html new file mode 100644 index 00000000000..09d7fbfa532 --- /dev/null +++ b/docs/api/org/apache/jmeter/functions/Uuid.html @@ -0,0 +1,382 @@ + + + + + +Uuid (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.functions +
+Class Uuid

+
+java.lang.Object
+  extended by org.apache.jmeter.functions.AbstractFunction
+      extended by org.apache.jmeter.functions.Uuid
+
+
+
All Implemented Interfaces:
Function
+
+
+
+
public class Uuid
extends AbstractFunction
+ + +

+Function to create a UUID + + Parameters: + - None + + Returns: + - A pseudo random UUID 4 +

+ +

+

+
Since:
+
2.9
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
Uuid() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Stringexecute(SampleResult previousResult, + Sampler currentSampler) + +
+           + N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files).
+ List<String>getArgumentDesc() + +
+          Return a list of strings briefly describing each parameter your function + takes.
+ StringgetReferenceKey() + +
+          Return the name of your function.
+ voidsetParameters(Collection<CompoundVariable> parameters) + +
+          Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1)
+ + + + + + + +
Methods inherited from class org.apache.jmeter.functions.AbstractFunction
checkMinParameterCount, checkParameterCount, checkParameterCount, execute, getVariables
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Uuid

+
+public Uuid()
+
+
+ + + + + + + + +
+Method Detail
+ +

+execute

+
+public String execute(SampleResult previousResult,
+                      Sampler currentSampler)
+               throws InvalidVariableException
+
+
Description copied from class: AbstractFunction
+

+ N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files). +

+ JMeter ensures setParameters() happens-before execute(): setParameters is executed in main thread, + and worker threads are started after that. +

+

+
Specified by:
execute in interface Function
Specified by:
execute in class AbstractFunction
+
+
+
Parameters:
previousResult - The previous SampleResult
currentSampler - The current Sampler +
Returns:
The replacement value, which was generated by the function +
Throws: +
InvalidVariableException - - when the variables for the function call can't be evaluated
See Also:
Function.execute(SampleResult, Sampler)
+
+
+
+ +

+setParameters

+
+public void setParameters(Collection<CompoundVariable> parameters)
+                   throws InvalidVariableException
+
+
Description copied from class: AbstractFunction
+
Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1) +

+

+
Specified by:
setParameters in interface Function
Specified by:
setParameters in class AbstractFunction
+
+
+
Parameters:
parameters - The parameters for the function call +
Throws: +
InvalidVariableException - - when the variables for the function call can't be evaluated
See Also:
Function.setParameters(Collection)
+
+
+
+ +

+getReferenceKey

+
+public String getReferenceKey()
+
+
Description copied from interface: Function
+
Return the name of your function. Convention is to prepend "__" to the + name (ie "__regexFunction") +

+

+
Specified by:
getReferenceKey in interface Function
Specified by:
getReferenceKey in class AbstractFunction
+
+
+ +
Returns:
The name of the funtion
See Also:
Function.getReferenceKey()
+
+
+
+ +

+getArgumentDesc

+
+public List<String> getArgumentDesc()
+
+
Description copied from interface: Function
+
Return a list of strings briefly describing each parameter your function + takes. Please use JMeterUtils.getResString(resource_name) to grab a + resource string. Otherwise, your help text will be difficult to + internationalize. + + This list is not optional. If you don't wish to write help, you must at + least return a List containing the correct number of blank strings, one + for each argument. +

+

+ +
Returns:
List with brief descriptions for each parameter the function takes
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/functions/Variable.html b/docs/api/org/apache/jmeter/functions/Variable.html new file mode 100644 index 00000000000..98086cadd87 --- /dev/null +++ b/docs/api/org/apache/jmeter/functions/Variable.html @@ -0,0 +1,379 @@ + + + + + +Variable (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.functions +
+Class Variable

+
+java.lang.Object
+  extended by org.apache.jmeter.functions.AbstractFunction
+      extended by org.apache.jmeter.functions.Variable
+
+
+
All Implemented Interfaces:
Function
+
+
+
+
public class Variable
extends AbstractFunction
+ + +

+Function to get a JMeter Variable + + Parameters: + - variable name + + Returns: + - the variable value, but if not found + - the variable name itself +

+ +

+

+
Since:
+
2.3RC3
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
Variable() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Stringexecute(SampleResult previousResult, + Sampler currentSampler) + +
+           + N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files).
+ List<String>getArgumentDesc() + +
+          Return a list of strings briefly describing each parameter your function + takes.
+ StringgetReferenceKey() + +
+          Return the name of your function.
+ voidsetParameters(Collection<CompoundVariable> parameters) + +
+          Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1)
+ + + + + + + +
Methods inherited from class org.apache.jmeter.functions.AbstractFunction
checkMinParameterCount, checkParameterCount, checkParameterCount, execute, getVariables
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Variable

+
+public Variable()
+
+
+ + + + + + + + +
+Method Detail
+ +

+execute

+
+public String execute(SampleResult previousResult,
+                      Sampler currentSampler)
+               throws InvalidVariableException
+
+

+ N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files). +

+ JMeter ensures setParameters() happens-before execute(): setParameters is executed in main thread, + and worker threads are started after that. +

+

+
Specified by:
execute in interface Function
Specified by:
execute in class AbstractFunction
+
+
+
Parameters:
previousResult - The previous SampleResult
currentSampler - The current Sampler +
Returns:
The replacement value, which was generated by the function +
Throws: +
InvalidVariableException - - when the variables for the function call can't be evaluated
See Also:
Function.execute(SampleResult, Sampler)
+
+
+
+ +

+setParameters

+
+public void setParameters(Collection<CompoundVariable> parameters)
+                   throws InvalidVariableException
+
+
Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1) +

+

+
Specified by:
setParameters in interface Function
Specified by:
setParameters in class AbstractFunction
+
+
+
Parameters:
parameters - The parameters for the function call +
Throws: +
InvalidVariableException - - when the variables for the function call can't be evaluated
See Also:
Function.setParameters(Collection)
+
+
+
+ +

+getReferenceKey

+
+public String getReferenceKey()
+
+
Return the name of your function. Convention is to prepend "__" to the + name (ie "__regexFunction") +

+

+
Specified by:
getReferenceKey in interface Function
Specified by:
getReferenceKey in class AbstractFunction
+
+
+ +
Returns:
The name of the funtion
See Also:
Function.getReferenceKey()
+
+
+
+ +

+getArgumentDesc

+
+public List<String> getArgumentDesc()
+
+
Return a list of strings briefly describing each parameter your function + takes. Please use JMeterUtils.getResString(resource_name) to grab a + resource string. Otherwise, your help text will be difficult to + internationalize. + + This list is not optional. If you don't wish to write help, you must at + least return a List containing the correct number of blank strings, one + for each argument. +

+

+ +
Returns:
List with brief descriptions for each parameter the function takes
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/functions/XPath.html b/docs/api/org/apache/jmeter/functions/XPath.html new file mode 100644 index 00000000000..abef868f2b6 --- /dev/null +++ b/docs/api/org/apache/jmeter/functions/XPath.html @@ -0,0 +1,381 @@ + + + + + +XPath (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.functions +
+Class XPath

+
+java.lang.Object
+  extended by org.apache.jmeter.functions.AbstractFunction
+      extended by org.apache.jmeter.functions.XPath
+
+
+
All Implemented Interfaces:
Function
+
+
+
+
public class XPath
extends AbstractFunction
+ + +

+The function represented by this class allows data to be read from XML files. + Syntax is similar to the CVSRead function. The function allows the test to + line-thru the nodes in the XML file - one node per each test. E.g. inserting + the following in the test scripts : + + ${_XPath(c:/BOF/abcd.xml,/xpath/)} // match the (first) node + ${_XPath(c:/BOF/abcd.xml,/xpath/)} // Go to next match of '/xpath/' expression + + NOTE: A single instance of each different file/expression combination + is opened and used for all threads. +

+ +

+

+
Since:
+
2.0.3
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
XPath() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Stringexecute(SampleResult previousResult, + Sampler currentSampler) + +
+           + N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files).
+ List<String>getArgumentDesc() + +
+          Return a list of strings briefly describing each parameter your function + takes.
+ StringgetReferenceKey() + +
+          Return the name of your function.
+ voidsetParameters(Collection<CompoundVariable> parameters) + +
+          Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1)
+ + + + + + + +
Methods inherited from class org.apache.jmeter.functions.AbstractFunction
checkMinParameterCount, checkParameterCount, checkParameterCount, execute, getVariables
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+XPath

+
+public XPath()
+
+
+ + + + + + + + +
+Method Detail
+ +

+execute

+
+public String execute(SampleResult previousResult,
+                      Sampler currentSampler)
+               throws InvalidVariableException
+
+

+ N.B. execute() should be synchronized if function is operating with non-thread-safe + objects (e.g. operates with files). +

+ JMeter ensures setParameters() happens-before execute(): setParameters is executed in main thread, + and worker threads are started after that. +

+

+
Specified by:
execute in interface Function
Specified by:
execute in class AbstractFunction
+
+
+
Parameters:
previousResult - The previous SampleResult
currentSampler - The current Sampler +
Returns:
The replacement value, which was generated by the function +
Throws: +
InvalidVariableException - - when the variables for the function call can't be evaluated
See Also:
Function.execute(SampleResult, Sampler)
+
+
+
+ +

+getArgumentDesc

+
+public List<String> getArgumentDesc()
+
+
Return a list of strings briefly describing each parameter your function + takes. Please use JMeterUtils.getResString(resource_name) to grab a + resource string. Otherwise, your help text will be difficult to + internationalize. + + This list is not optional. If you don't wish to write help, you must at + least return a List containing the correct number of blank strings, one + for each argument. +

+

+ +
Returns:
List with brief descriptions for each parameter the function takes
+
+
+
+ +

+getReferenceKey

+
+public String getReferenceKey()
+
+
Return the name of your function. Convention is to prepend "__" to the + name (ie "__regexFunction") +

+

+
Specified by:
getReferenceKey in interface Function
Specified by:
getReferenceKey in class AbstractFunction
+
+
+ +
Returns:
The name of the funtion
See Also:
Function.getReferenceKey()
+
+
+
+ +

+setParameters

+
+public void setParameters(Collection<CompoundVariable> parameters)
+                   throws InvalidVariableException
+
+
Note: This is always called even if no parameters are provided + (versions of JMeter after 2.3.1) +

+

+
Specified by:
setParameters in interface Function
Specified by:
setParameters in class AbstractFunction
+
+
+
Parameters:
parameters - The parameters for the function call +
Throws: +
InvalidVariableException - - when the variables for the function call can't be evaluated
See Also:
Function.setParameters(Collection)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/functions/XPathFileContainer.html b/docs/api/org/apache/jmeter/functions/XPathFileContainer.html new file mode 100644 index 00000000000..1787e553496 --- /dev/null +++ b/docs/api/org/apache/jmeter/functions/XPathFileContainer.html @@ -0,0 +1,330 @@ + + + + + +XPathFileContainer (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.functions +
+Class XPathFileContainer

+
+java.lang.Object
+  extended by org.apache.jmeter.functions.XPathFileContainer
+
+
+
+
public class XPathFileContainer
extends Object
+ + +

+File data container for XML files Data is accessible via XPath +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
XPathFileContainer(String file, + String xpath) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetFileName() + +
+           
+ StringgetXPathString(int num) + +
+           
+ intnextRow() + +
+          Returns the next row to the caller, and updates it, allowing for wrap + round
+ intsize() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+XPathFileContainer

+
+public XPathFileContainer(String file,
+                          String xpath)
+                   throws FileNotFoundException,
+                          IOException,
+                          ParserConfigurationException,
+                          SAXException,
+                          TransformerException
+
+
+ +
Throws: +
FileNotFoundException +
IOException +
ParserConfigurationException +
SAXException +
TransformerException
+
+ + + + + + + + +
+Method Detail
+ +

+getXPathString

+
+public String getXPathString(int num)
+
+
+
+
+
+
+ +

+nextRow

+
+public int nextRow()
+
+
Returns the next row to the caller, and updates it, allowing for wrap + round +

+

+ +
Returns:
the first free (unread) row
+
+
+
+ +

+size

+
+public int size()
+
+
+
+
+
+
+ +

+getFileName

+
+public String getFileName()
+
+
+ +
Returns:
the file name for this class
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/functions/gui/FunctionHelper.html b/docs/api/org/apache/jmeter/functions/gui/FunctionHelper.html new file mode 100644 index 00000000000..ec35a5a0502 --- /dev/null +++ b/docs/api/org/apache/jmeter/functions/gui/FunctionHelper.html @@ -0,0 +1,487 @@ + + + + + +FunctionHelper (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.functions.gui +
+Class FunctionHelper

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by java.awt.Window
+              extended by java.awt.Dialog
+                  extended by javax.swing.JDialog
+                      extended by org.apache.jmeter.functions.gui.FunctionHelper
+
+
+
All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, ChangeListener, RootPaneContainer, WindowConstants, LocaleChangeListener
+
+
+
+
public class FunctionHelper
extends JDialog
implements ActionListener, ChangeListener, LocaleChangeListener
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JDialog
JDialog.AccessibleJDialog
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Dialog
Dialog.AccessibleAWTDialog, Dialog.ModalExclusionType, Dialog.ModalityType
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Window
Window.AccessibleAWTWindow
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class javax.swing.JDialog
accessibleContext, rootPane, rootPaneCheckingEnabled
+ + + + + + + +
Fields inherited from class java.awt.Dialog
DEFAULT_MODALITY_TYPE
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface javax.swing.WindowConstants
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSE
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
FunctionHelper() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidactionPerformed(ActionEvent e) + +
+           
+protected  JRootPanecreateRootPane() + +
+          Allow Dialog to be closed by ESC key
+ voidlocaleChanged(LocaleChangeEvent event) + +
+           
+ voidstateChanged(ChangeEvent event) + +
+           
+ + + + + + + +
Methods inherited from class javax.swing.JDialog
addImpl, dialogInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, update
+ + + + + + + +
Methods inherited from class java.awt.Dialog
addNotify, getModalityType, getTitle, hide, isModal, isResizable, isUndecorated, setModal, setModalityType, setResizable, setTitle, setUndecorated, setVisible, show, toBack
+ + + + + + + +
Methods inherited from class java.awt.Window
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOwnedWindows, getOwner, getOwnerlessWindows, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isShowing, pack, paint, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeNotify, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImage, setIconImages, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, toFront
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resize, resize, setBackground, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+FunctionHelper

+
+public FunctionHelper()
+
+
+ + + + + + + + +
+Method Detail
+ +

+createRootPane

+
+protected JRootPane createRootPane()
+
+
Allow Dialog to be closed by ESC key +

+

+
Overrides:
createRootPane in class JDialog
+
+
+
+
+
+
+ +

+stateChanged

+
+public void stateChanged(ChangeEvent event)
+
+
+
Specified by:
stateChanged in interface ChangeListener
+
+
+
+
+
+
+ +

+actionPerformed

+
+public void actionPerformed(ActionEvent e)
+
+
+
Specified by:
actionPerformed in interface ActionListener
+
+
+
+
+
+
+ +

+localeChanged

+
+public void localeChanged(LocaleChangeEvent event)
+
+
+
Specified by:
localeChanged in interface LocaleChangeListener
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/functions/gui/package-frame.html b/docs/api/org/apache/jmeter/functions/gui/package-frame.html new file mode 100644 index 00000000000..d1f76a64371 --- /dev/null +++ b/docs/api/org/apache/jmeter/functions/gui/package-frame.html @@ -0,0 +1,30 @@ + + + + + +org.apache.jmeter.functions.gui (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.functions.gui + + + + +
+Classes  + +
+FunctionHelper
+ + + + diff --git a/docs/api/org/apache/jmeter/functions/gui/package-summary.html b/docs/api/org/apache/jmeter/functions/gui/package-summary.html new file mode 100644 index 00000000000..bc64caa86df --- /dev/null +++ b/docs/api/org/apache/jmeter/functions/gui/package-summary.html @@ -0,0 +1,153 @@ + + + + + +org.apache.jmeter.functions.gui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.functions.gui +

+ + + + + + + + + +
+Class Summary
FunctionHelper 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/functions/gui/package-tree.html b/docs/api/org/apache/jmeter/functions/gui/package-tree.html new file mode 100644 index 00000000000..51644443cc6 --- /dev/null +++ b/docs/api/org/apache/jmeter/functions/gui/package-tree.html @@ -0,0 +1,163 @@ + + + + + +org.apache.jmeter.functions.gui Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.functions.gui +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/functions/package-frame.html b/docs/api/org/apache/jmeter/functions/package-frame.html new file mode 100644 index 00000000000..0bfab866490 --- /dev/null +++ b/docs/api/org/apache/jmeter/functions/package-frame.html @@ -0,0 +1,132 @@ + + + + + +org.apache.jmeter.functions (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.functions + + + + +
+Interfaces  + +
+Function
+ + + + + + +
+Classes  + +
+AbstractFunction +
+BeanShell +
+CharFunction +
+CSVRead +
+EscapeHtml +
+EscapeOroRegexpChars +
+EvalFunction +
+EvalVarFunction +
+FileRowColContainer +
+FileToString +
+FileWrapper +
+IntSum +
+IterationCounter +
+JavaScript +
+Jexl2Function +
+JexlFunction +
+LogFunction +
+LogFunction2 +
+LongSum +
+MachineIP +
+MachineName +
+Property +
+Property2 +
+Random +
+RandomString +
+RegexFunction +
+SamplerName +
+SetProperty +
+SplitFunction +
+StringFromFile +
+TestPlanName +
+ThreadNumber +
+TimeFunction +
+UnEscape +
+UnEscapeHtml +
+UrlDecode +
+UrlEncode +
+Uuid +
+Variable +
+XPath +
+XPathFileContainer
+ + + + + + +
+Exceptions  + +
+InvalidVariableException
+ + + + diff --git a/docs/api/org/apache/jmeter/functions/package-summary.html b/docs/api/org/apache/jmeter/functions/package-summary.html new file mode 100644 index 00000000000..7d2d7a4290c --- /dev/null +++ b/docs/api/org/apache/jmeter/functions/package-summary.html @@ -0,0 +1,430 @@ + + + + + +org.apache.jmeter.functions (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.functions +

+Functions + Methods to be implemented + setParameters(Collection) + +

+ execute(prevResult,currentSampler) + Note that either or both of the parameters may be null. +

+See: +
+          Description +

+ + + + + + + + + +
+Interface Summary
FunctionMethods that a function must implement
+  + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
AbstractFunctionProvides common methods for all functions
BeanShellA function which understands BeanShell
CharFunctionFunction to generate chars from a list of decimal or hex values
CSVReadThe function represented by this class allows data to be read from CSV files.
EscapeHtmlFunction which escapes the characters in a String using HTML entities.
EscapeOroRegexpCharsEscape ORO meta characters
EvalFunctionFunction to evaluate a string which may contain variable or function references.
EvalVarFunctionFunction to evaluate a string which may contain variable or function references.
FileRowColContainerFile data container for CSV (and similar delimited) files Data is accessible + via row and column number
FileToStringFileToString Function to read a complete file into a String.
FileWrapperThis class wraps the FileRowColContainer for use across multiple threads.
IntSumProvides an intSum function that adds two or more integer values.
IterationCounterCounter that can be referenced anywhere in the Thread Group.
JavaScriptjavaScript function implementation that executes a piece of JavaScript (not Java!)
Jexl2FunctionA function which understands Commons JEXL2
JexlFunctionA function which understands Commons JEXL
LogFunction + Function to log a message.
LogFunction2 + Function to log a message.
LongSumProvides a longSum function that adds two or more long values.
MachineIPReturn Machine IP
MachineNameReturn Machine Host
PropertyFunction to get a JMeter property, and optionally store it + + Parameters: + - property name + - variable name (optional) + - default value (optional) + + Returns: + - the property value, but if not found: + - the default value, but if not defined: + - the property name itself
Property2Function to get a JMeter property, or a default.
RandomProvides a Random function which returns a random long integer between a min + (first argument) and a max (second argument).
RandomStringProvides a RandomString function which returns a random String of length (first argument) + using characters (second argument)
RegexFunctionImplements regular expression parsing of sample results and variables
SamplerNameFunction to return the name of the current sampler.
SetPropertyFunction to set a JMeter property + + Parameters: - property name - value + + Usage: + + Set the property value in the appropriate GUI by using the string: + ${__setProperty(propname,propvalue[,returnvalue?])}
SplitFunctionFunction to split a string into variables + + Parameters: + + String to split + Variable name prefix + String to split on (optional, default is comma) + + + Returns: the input string + + Also sets the variables: + + VARNAME - the input string + VARNAME_n - number of fields found + VARNAME_1..n - fields +
StringFromFileStringFromFile Function to read a String from a text file.
TestPlanNameReturns Test Plan name
ThreadNumberFunction to return the current thread number.
TimeFunction__time() function - returns the current time in milliseconds
UnEscapeFunction to unescape any Java literals found in the String.
UnEscapeHtmlFunction to unescape a string containing entity escapes + to a string containing the actual Unicode characters corresponding to the escapes.
UrlDecodeFunction to decode a application/x-www-form-urlencoded string.
UrlEncodeFunction to encode a string to a application/x-www-form-urlencoded string.
UuidFunction to create a UUID + + Parameters: + - None + + Returns: + - A pseudo random UUID 4
VariableFunction to get a JMeter Variable + + Parameters: + - variable name + + Returns: + - the variable value, but if not found + - the variable name itself
XPathThe function represented by this class allows data to be read from XML files.
XPathFileContainerFile data container for XML files Data is accessible via XPath
+  + +

+ + + + + + + + + +
+Exception Summary
InvalidVariableException 
+  + +

+

+Package org.apache.jmeter.functions Description +

+ +

+

Functions

+

Methods to be implemented

+ setParameters(Collection) + +

+ execute(prevResult,currentSampler) + Note that either or both of the parameters may be null. + +

Calling sequence

+ When the test plan is prepared for running, one instance of the class is created for each occurrence + of a function call. The setParameters() method is then called on each instance. + Once the test is running, the execute method can be called by any thread, and is + therefore synchronized. + + This is unlike most of (all?) the JMeter test elements, which are created for each thread. + + Any context that needs to be maintained for a thread must be done using ThreadLocal or similar. +

+ +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/functions/package-tree.html b/docs/api/org/apache/jmeter/functions/package-tree.html new file mode 100644 index 00000000000..cf522176737 --- /dev/null +++ b/docs/api/org/apache/jmeter/functions/package-tree.html @@ -0,0 +1,164 @@ + + + + + +org.apache.jmeter.functions Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.functions +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/functions/util/ArgumentDecoder.html b/docs/api/org/apache/jmeter/functions/util/ArgumentDecoder.html new file mode 100644 index 00000000000..b1c81384607 --- /dev/null +++ b/docs/api/org/apache/jmeter/functions/util/ArgumentDecoder.html @@ -0,0 +1,219 @@ + + + + + +ArgumentDecoder (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.functions.util +
+Class ArgumentDecoder

+
+java.lang.Object
+  extended by org.apache.jmeter.functions.util.ArgumentDecoder
+
+
+
+
public final class ArgumentDecoder
extends Object
+ + +

+Decodes an Argument by replacing '\x' with 'x' +

+ +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+static Stringdecode(String s) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+decode

+
+public static String decode(String s)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/functions/util/ArgumentEncoder.html b/docs/api/org/apache/jmeter/functions/util/ArgumentEncoder.html new file mode 100644 index 00000000000..82bcd2baaef --- /dev/null +++ b/docs/api/org/apache/jmeter/functions/util/ArgumentEncoder.html @@ -0,0 +1,219 @@ + + + + + +ArgumentEncoder (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.functions.util +
+Class ArgumentEncoder

+
+java.lang.Object
+  extended by org.apache.jmeter.functions.util.ArgumentEncoder
+
+
+
+
public final class ArgumentEncoder
extends Object
+ + +

+Encode an Argument +

+ +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+static Stringencode(String s) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+encode

+
+public static String encode(String s)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/functions/util/package-frame.html b/docs/api/org/apache/jmeter/functions/util/package-frame.html new file mode 100644 index 00000000000..394a9e4b0fe --- /dev/null +++ b/docs/api/org/apache/jmeter/functions/util/package-frame.html @@ -0,0 +1,32 @@ + + + + + +org.apache.jmeter.functions.util (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.functions.util + + + + +
+Classes  + +
+ArgumentDecoder +
+ArgumentEncoder
+ + + + diff --git a/docs/api/org/apache/jmeter/functions/util/package-summary.html b/docs/api/org/apache/jmeter/functions/util/package-summary.html new file mode 100644 index 00000000000..1394e36e7ca --- /dev/null +++ b/docs/api/org/apache/jmeter/functions/util/package-summary.html @@ -0,0 +1,157 @@ + + + + + +org.apache.jmeter.functions.util (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.functions.util +

+ + + + + + + + + + + + + +
+Class Summary
ArgumentDecoderDecodes an Argument by replacing '\x' with 'x'
ArgumentEncoderEncode an Argument
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/functions/util/package-tree.html b/docs/api/org/apache/jmeter/functions/util/package-tree.html new file mode 100644 index 00000000000..91b89e158ab --- /dev/null +++ b/docs/api/org/apache/jmeter/functions/util/package-tree.html @@ -0,0 +1,149 @@ + + + + + +org.apache.jmeter.functions.util Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.functions.util +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/AbstractJMeterGuiComponent.html b/docs/api/org/apache/jmeter/gui/AbstractJMeterGuiComponent.html new file mode 100644 index 00000000000..7a9d502cdd8 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/AbstractJMeterGuiComponent.html @@ -0,0 +1,932 @@ + + + + + +AbstractJMeterGuiComponent (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui +
+Class AbstractJMeterGuiComponent

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
Direct Known Subclasses:
AbstractConfigGui, AbstractControllerGui, AbstractListenerGui, AbstractPreProcessorGui, AbstractSamplerGui, AbstractScopedJMeterGuiComponent, AbstractThreadGroupGui, AbstractTimerGui, ObsoleteGui, TestBeanGUI, TestPlanGui, WorkBenchGui
+
+
+
+
public abstract class AbstractJMeterGuiComponent
extends JPanel
implements JMeterGUIComponent, Printable
+ + +

+This abstract class takes care of the most basic functions necessary to + create a viable JMeter GUI component. It extends JPanel and implements + JMeterGUIComponent. This abstract class is, in turn, extended by several + other abstract classes that create different classes of GUI components for + JMeter (Visualizers, Timers, Samplers, Modifiers, Controllers, etc). +

+ +

+

+
See Also:
JMeterGUIComponent, +AbstractConfigGui, +AbstractAssertionGui, +AbstractControllerGui, +AbstractTimerGui, +AbstractVisualizer, +AbstractSamplerGui, +Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + + + + + +
+Field Summary
+protected  NamePanelnamePanel + +
+          A GUI panel containing the name of this component.
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
AbstractJMeterGuiComponent() + +
+          When constructing a new component, this takes care of basic tasks like + setting up the Name Panel and assigning the class's static label as the + name to start.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclearGui() + +
+          Provides a default implementation that resets the name field to the value of + getStaticLabel(), reset comment and sets enabled to true.
+ voidconfigure(TestElement element) + +
+          A newly created gui component can be initialized with the contents of a + Test Element object by calling this method.
+protected  voidconfigureTestElement(TestElement mc) + +
+          This provides a convenience for extenders when they implement the + JMeterGUIComponent.modifyTestElement(TestElement) method.
+protected  ComponentcreateTitleLabel() + +
+          Provides a label containing the title for the component.
+ StringgetComment() + +
+          Provides a default implementation for the comment property.
+ StringgetDocAnchor() + +
+          Compute Anchor value to find reference in documentation for a particular component
+ StringgetName() + +
+          Provides a default implementation for the name property.
+protected  NamePanelgetNamePanel() + +
+          Provides the Name Panel for extending classes.
+ JComponentgetPrintableComponent() + +
+          Subclasses need to over-ride this method, if they wish to return + something other than the Visualizer itself.
+ StringgetStaticLabel() + +
+          Get the component's label.
+ booleanisEnabled() + +
+          Provides a default implementation for the enabled property.
+protected  BordermakeBorder() + +
+          Create a top-level Border which can be added to JMeter components.
+protected  JScrollPanemakeScrollPane(Component comp) + +
+          Create a scroll panel that sets it's preferred size to it's minimum size.
+protected  JScrollPanemakeScrollPane(Component comp, + int verticalPolicy, + int horizontalPolicy) + +
+          Create a scroll panel that sets it's preferred size to it's minimum size.
+protected  ContainermakeTitlePanel() + +
+          Create a standard title section for JMeter components.
+ voidsetComment(String comment) + +
+          Provides a default implementation for setting the comment property.
+ voidsetEnabled(boolean e) + +
+          Provides a default implementation for the enabled property.
+ voidsetName(String name) + +
+          Provides a default implementation for setting the name property.
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.gui.JMeterGUIComponent
createPopupMenu, createTestElement, getLabelResource, getMenuCategories, modifyTestElement
+  +

+ + + + + + + + +
+Field Detail
+ +

+namePanel

+
+protected NamePanel namePanel
+
+
A GUI panel containing the name of this component. +

+

+
+
+ + + + + + + + +
+Constructor Detail
+ +

+AbstractJMeterGuiComponent

+
+public AbstractJMeterGuiComponent()
+
+
When constructing a new component, this takes care of basic tasks like + setting up the Name Panel and assigning the class's static label as the + name to start. +

+

+ + + + + + + + +
+Method Detail
+ +

+setName

+
+public void setName(String name)
+
+
Provides a default implementation for setting the name property. It's unlikely + developers will need to override. +

+

+
Specified by:
setName in interface JMeterGUIComponent
Overrides:
setName in class Component
+
+
+
Parameters:
name - the name of the component
+
+
+
+ +

+setComment

+
+public void setComment(String comment)
+
+
Provides a default implementation for setting the comment property. It's + unlikely developers will need to override. +

+

+
+
+
+
Parameters:
comment - The comment for the property
+
+
+
+ +

+isEnabled

+
+public boolean isEnabled()
+
+
Provides a default implementation for the enabled property. It's unlikely + developers will need to override. +

+

+
Specified by:
isEnabled in interface JMeterGUIComponent
Overrides:
isEnabled in class Component
+
+
+ +
Returns:
true if the element should be part of the test run, false + otherwise
+
+
+
+ +

+setEnabled

+
+public void setEnabled(boolean e)
+
+
Provides a default implementation for the enabled property. It's unlikely + developers will need to override. +

+

+
Specified by:
setEnabled in interface JMeterGUIComponent
Overrides:
setEnabled in class JComponent
+
+
+
Parameters:
e - true for enabled, false for disabled.
+
+
+
+ +

+getName

+
+public String getName()
+
+
Provides a default implementation for the name property. It's unlikely + developers will need to override. +

+

+
Specified by:
getName in interface JMeterGUIComponent
Overrides:
getName in class Component
+
+
+ +
Returns:
the name of the component
+
+
+
+ +

+getComment

+
+public String getComment()
+
+
Provides a default implementation for the comment property. It's unlikely + developers will need to override. +

+

+
+
+
+ +
Returns:
The comment for the property
+
+
+
+ +

+getNamePanel

+
+protected NamePanel getNamePanel()
+
+
Provides the Name Panel for extending classes. Extending classes are free + to place it as desired within the component, or not at all. Most + components place the NamePanel automatically by calling + makeTitlePanel() instead of directly calling this method. +

+

+
+
+
+ +
Returns:
a NamePanel containing the name of this component
+
+
+
+ +

+createTitleLabel

+
+protected Component createTitleLabel()
+
+
Provides a label containing the title for the component. Subclasses + typically place this label at the top of their GUI. The title is set to + the name returned from the component's + getStaticLabel() method. Most + components place this label automatically by calling + makeTitlePanel() instead of directly calling this method. +

+

+
+
+
+ +
Returns:
a JLabel which subclasses can add to their GUI
+
+
+
+ +

+configure

+
+public void configure(TestElement element)
+
+
A newly created gui component can be initialized with the contents of a + Test Element object by calling this method. The component is responsible + for querying the Test Element object for the relevant information to + display in its GUI. +

+ AbstractJMeterGuiComponent provides a partial implementation of this + method, setting the name of the component and its enabled status. + Subclasses should override this method, performing their own + configuration as needed, but also calling this super-implementation. +

+

+
Specified by:
configure in interface JMeterGUIComponent
+
+
+
Parameters:
element - the TestElement to configure
+
+
+
+ +

+clearGui

+
+public void clearGui()
+
+
Provides a default implementation that resets the name field to the value of + getStaticLabel(), reset comment and sets enabled to true. Your GUI may need more things + cleared, in which case you should override, clear the extra fields, and + still call super.clearGui(). +

+

+
Specified by:
clearGui in interface ClearGui
+
+
+
+
+
+
+ +

+configureTestElement

+
+protected void configureTestElement(TestElement mc)
+
+
This provides a convenience for extenders when they implement the + JMeterGUIComponent.modifyTestElement(TestElement) method. This + method will set the name, gui class, and test class for the created Test + Element. It should be called by every extending class when + creating/modifying Test Elements, as that will best assure consistent + behavior. +

+

+
+
+
+
Parameters:
mc - the TestElement being created.
+
+
+
+ +

+makeTitlePanel

+
+protected Container makeTitlePanel()
+
+
Create a standard title section for JMeter components. This includes the + title for the component and the Name Panel allowing the user to change + the name for the component. This method is typically added to the top of + the component at the beginning of the component's init method. +

+

+
+
+
+ +
Returns:
a panel containing the component title and name panel
+
+
+
+ +

+makeBorder

+
+protected Border makeBorder()
+
+
Create a top-level Border which can be added to JMeter components. + Components typically set this as their border in their init method. It + simply provides a nice spacing between the GUI components used and the + edges of the window in which they appear. +

+

+
+
+
+ +
Returns:
a Border for JMeter components
+
+
+
+ +

+makeScrollPane

+
+protected JScrollPane makeScrollPane(Component comp)
+
+
Create a scroll panel that sets it's preferred size to it's minimum size. + Explicitly for scroll panes that live inside other scroll panes, or + within containers that stretch components to fill the area they exist in. + Use this for any component you would put in a scroll pane (such as + TextAreas, tables, JLists, etc). It is here for convenience and to avoid + duplicate code. JMeter displays best if you follow this custom. +

+

+
+
+
+
Parameters:
comp - the component which should be placed inside the scroll pane +
Returns:
a JScrollPane containing the specified component
+
+
+
+ +

+makeScrollPane

+
+protected JScrollPane makeScrollPane(Component comp,
+                                     int verticalPolicy,
+                                     int horizontalPolicy)
+
+
Create a scroll panel that sets it's preferred size to it's minimum size. + Explicitly for scroll panes that live inside other scroll panes, or + within containers that stretch components to fill the area they exist in. + Use this for any component you would put in a scroll pane (such as + TextAreas, tables, JLists, etc). It is here for convenience and to avoid + duplicate code. JMeter displays best if you follow this custom. +

+

+
+
+
+
Parameters:
comp - the component which should be placed inside the scroll pane
verticalPolicy - the vertical scroll policy
horizontalPolicy - the horizontal scroll policy +
Returns:
a JScrollPane containing the specified component
See Also:
ScrollPaneConstants
+
+
+
+ +

+getStaticLabel

+
+public String getStaticLabel()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's label. This label is used in drop down lists that + give the user the option of choosing one type of component in a list of + many. It should therefore be a descriptive name for the end user to see. + It must be unique to the class. + + It is also used by Help to find the appropriate location in the + documentation. + + Normally getLabelResource() should be overridden instead of + this method; the definition of this method in AbstractJMeterGuiComponent + is intended for general use. +

+

+
Specified by:
getStaticLabel in interface JMeterGUIComponent
+
+
+ +
Returns:
GUI label for the component.
See Also:
JMeterGUIComponent.getLabelResource()
+
+
+
+ +

+getDocAnchor

+
+public String getDocAnchor()
+
+
Compute Anchor value to find reference in documentation for a particular component +

+

+
Specified by:
getDocAnchor in interface JMeterGUIComponent
+
+
+ +
Returns:
String anchor
+
+
+
+ +

+getPrintableComponent

+
+public JComponent getPrintableComponent()
+
+
Subclasses need to over-ride this method, if they wish to return + something other than the Visualizer itself. +

+

+
Specified by:
getPrintableComponent in interface Printable
+
+
+ +
Returns:
this object
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/AbstractScopedJMeterGuiComponent.html b/docs/api/org/apache/jmeter/gui/AbstractScopedJMeterGuiComponent.html new file mode 100644 index 00000000000..2ec73f8c633 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/AbstractScopedJMeterGuiComponent.html @@ -0,0 +1,585 @@ + + + + + +AbstractScopedJMeterGuiComponent (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui +
+Class AbstractScopedJMeterGuiComponent

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.gui.AbstractScopedJMeterGuiComponent
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
Direct Known Subclasses:
AbstractAssertionGui, AbstractPostProcessorGui
+
+
+
+
public abstract class AbstractScopedJMeterGuiComponent
extends AbstractJMeterGuiComponent
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
AbstractScopedJMeterGuiComponent() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclearGui() + +
+          Provides a default implementation that resets the name field to the value of + getStaticLabel(), reset comment and sets enabled to true.
+ JPopupMenucreatePopupMenu() + +
+          When a user right-clicks on the component in the test tree, or selects + the edit menu when the component is selected, the component will be asked + to return a JPopupMenu that provides all the options available to the + user from this component.
+protected  JPanelcreateScopePanel() + +
+          Create the scope settings panel.
+protected  JPanelcreateScopePanel(boolean enableVariable) + +
+          Create the scope settings panel.
+protected  JPanelcreateScopePanel(boolean enableVariable, + boolean enableParentAndSubsamples, + boolean enableSubsamplesOnly) + +
+          Create the scope settings panel.
+protected  voidsaveScopeSettings(AbstractScopedTestElement testElement) + +
+          Save the scope settings in the test element.
+protected  voidshowScopeSettings(AbstractScopedTestElement testElement) + +
+          Show the scope settings from the test element.
+protected  voidshowScopeSettings(AbstractScopedTestElement testElement, + boolean enableVariableButton) + +
+          Show the scope settings from the test element with variable scope
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configure, configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.gui.JMeterGUIComponent
createTestElement, getLabelResource, getMenuCategories, modifyTestElement
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+AbstractScopedJMeterGuiComponent

+
+public AbstractScopedJMeterGuiComponent()
+
+
+ + + + + + + + +
+Method Detail
+ +

+clearGui

+
+public void clearGui()
+
+
Description copied from class: AbstractJMeterGuiComponent
+
Provides a default implementation that resets the name field to the value of + getStaticLabel(), reset comment and sets enabled to true. Your GUI may need more things + cleared, in which case you should override, clear the extra fields, and + still call super.clearGui(). +

+

+
Specified by:
clearGui in interface ClearGui
Overrides:
clearGui in class AbstractJMeterGuiComponent
+
+
+
+
+
+
+ +

+createPopupMenu

+
+public JPopupMenu createPopupMenu()
+
+
When a user right-clicks on the component in the test tree, or selects + the edit menu when the component is selected, the component will be asked + to return a JPopupMenu that provides all the options available to the + user from this component. +

+ This implementation returns menu items appropriate for most assertion + components. +

+

+ +
Returns:
a JPopupMenu appropriate for the component.
+
+
+
+ +

+createScopePanel

+
+protected JPanel createScopePanel()
+
+
Create the scope settings panel. +

+

+ +
Returns:
the scope settings panel
+
+
+
+ +

+createScopePanel

+
+protected JPanel createScopePanel(boolean enableVariable)
+
+
Create the scope settings panel. +

+

+
Parameters:
enableVariable - set true to enable the variable panel +
Returns:
the scope settings panel
+
+
+
+ +

+createScopePanel

+
+protected JPanel createScopePanel(boolean enableVariable,
+                                  boolean enableParentAndSubsamples,
+                                  boolean enableSubsamplesOnly)
+
+
Create the scope settings panel. +

+

+
Parameters:
enableVariable - set true to enable the variable panel
enableParentAndSubsamples - set true to enable the parent and sub-samples
enableSubsamplesOnly - set true to enable the sub-samples only +
Returns:
the scope settings panel
+
+
+
+ +

+saveScopeSettings

+
+protected void saveScopeSettings(AbstractScopedTestElement testElement)
+
+
Save the scope settings in the test element. +

+

+
Parameters:
testElement - the test element to save the settings into
+
+
+
+ +

+showScopeSettings

+
+protected void showScopeSettings(AbstractScopedTestElement testElement)
+
+
Show the scope settings from the test element. +

+

+
Parameters:
testElement - the test element from which the settings should be shown
+
+
+
+ +

+showScopeSettings

+
+protected void showScopeSettings(AbstractScopedTestElement testElement,
+                                 boolean enableVariableButton)
+
+
Show the scope settings from the test element with variable scope +

+

+
Parameters:
testElement - the test element from which the settings should be shown
enableVariableButton - set true to enable the variable panel
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/ClearGui.html b/docs/api/org/apache/jmeter/gui/ClearGui.html new file mode 100644 index 00000000000..5986ab3da00 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/ClearGui.html @@ -0,0 +1,213 @@ + + + + + +ClearGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui +
+Interface ClearGui

+
+
All Known Subinterfaces:
JMeterGUIComponent
+
+
+
All Known Implementing Classes:
AbstractAssertionGui, AbstractConfigGui, AbstractControllerGui, AbstractJMeterGuiComponent, AbstractListenerGui, AbstractPostProcessorGui, AbstractPreProcessorGui, AbstractRandomTimerGui, AbstractSamplerGui, AbstractScopedJMeterGuiComponent, AbstractThreadGroupGui, AbstractTimerGui, AbstractVisualizer, AjpSamplerGui, AnchorModifierGui, ArgumentsPanel, AssertionGui, AssertionVisualizer, AuthPanel, BackendListenerGui, BeanShellAssertionGui, BeanShellSamplerGui, CacheManagerGui, ComparisonVisualizer, ConstantTimerGui, CookiePanel, CounterConfigGui, CriticalSectionControllerGui, DistributionGraphVisualizer, DNSCachePanel, DurationAssertionGui, ExampleSamplerGui, ForeachControlPanel, FtpConfigGui, FtpTestSamplerGui, GaussianRandomTimerGui, GraphVisualizer, HeaderPanel, HTMLAssertionGui, HtmlExtractorGui, HTTPArgumentsPanel, HttpDefaultsGui, HttpMirrorControlGui, HttpTestSampleGui, IfControllerPanel, IncludeControllerGui, InterleaveControlGui, JavaConfigGui, JavaTestSamplerGui, JMSPublisherGui, JMSSamplerGui, JMSSubscriberGui, JUnitTestSamplerGui, LDAPArgumentsPanel, LdapConfigGui, LdapExtConfigGui, LdapExtTestSamplerGui, LdapTestSamplerGui, LogicControllerGui, LoginConfigGui, LoopControlPanel, MailerVisualizer, MailReaderSamplerGui, MD5HexAssertionGUI, ModuleControllerGui, MonitorHealthVisualizer, NamePanel, ObsoleteGui, OnceOnlyControllerGui, ParamModifierGui, PoissonRandomTimerGui, PostThreadGroupGui, PropertyControlGui, ProxyControlGui, RandomControlGui, RandomOrderControllerGui, RecordController, RegexExtractorGui, RegExUserParametersGui, RespTimeGraphVisualizer, ResultActionGui, ResultSaverGui, RunTimeGui, SetupThreadGroupGui, SimpleConfigGui, SimpleDataWriter, SizeAssertionGui, SMIMEAssertionGui, SmtpSamplerGui, SoapSamplerGui, SplineVisualizer, StatGraphVisualizer, StatVisualizer, SummariserGui, SummaryReport, SwitchControllerGui, SystemSamplerGui, TableVisualizer, TCPConfigGui, TCPSamplerGui, TestActionGui, TestBeanGUI, TestFragmentControllerGui, TestPlanGui, ThreadGroupGui, ThroughputControllerGui, TransactionControllerGui, UniformRandomTimerGui, URLRewritingModifierGui, UserParametersGui, ViewResultsFullVisualizer, WebServiceSamplerGui, WhileControllerGui, WorkBenchGui, XMLAssertionGui, XMLSchemaAssertionGUI, XPathAssertionGui, XPathExtractorGui
+
+
+
+
public interface ClearGui
+ + +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+ voidclearGui() + +
+          Clear the gui and return it to initial default values.
+  +

+ + + + + + + + +
+Method Detail
+ +

+clearGui

+
+void clearGui()
+
+
Clear the gui and return it to initial default values. This is necessary + because most gui classes are instantiated just once and re-used for + multiple test element objects and thus they need to be cleared between + uses. +

+

+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/CommentPanel.html b/docs/api/org/apache/jmeter/gui/CommentPanel.html new file mode 100644 index 00000000000..6ea544b5165 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/CommentPanel.html @@ -0,0 +1,422 @@ + + + + + +CommentPanel (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui +
+Class CommentPanel

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.CommentPanel
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible
+
+
+
+
public class CommentPanel
extends JPanel
+ + +

+Generic comment panel for Test Elements +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
CommentPanel() + +
+          Create a new NamePanel with the default name.
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclearGui() + +
+           
+ StringgetText() + +
+           
+ voidsetText(String comment) + +
+           
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+CommentPanel

+
+public CommentPanel()
+
+
Create a new NamePanel with the default name. +

+

+ + + + + + + + +
+Method Detail
+ +

+setText

+
+public void setText(String comment)
+
+
+
+
+
+
+ +

+getText

+
+public String getText()
+
+
+
+
+
+
+ +

+clearGui

+
+public void clearGui()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/GUIFactory.html b/docs/api/org/apache/jmeter/gui/GUIFactory.html new file mode 100644 index 00000000000..78455d08dd6 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/GUIFactory.html @@ -0,0 +1,362 @@ + + + + + +GUIFactory (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui +
+Class GUIFactory

+
+java.lang.Object
+  extended by org.apache.jmeter.gui.GUIFactory
+
+
+
+
public final class GUIFactory
extends Object
+ + +

+Provides a way to register and retrieve GUI classes and icons. +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static JComponentgetGUI(Class<?> elementClass) + +
+          Get a component instance which has previously been registered for this + class object.
+static ImageIcongetIcon(Class<?> elementClass) + +
+          Get an icon which has previously been registered for this class object.
+static ImageIcongetIcon(Class<?> elementClass, + boolean enabled) + +
+          Get icon/disabledicon which has previously been registered for this class + object.
+static voidregisterDisabledIcon(String key, + ImageIcon icon) + +
+          Register an icon so that it can later be retrieved via + getIcon(Class).
+static voidregisterGUI(String key, + Class<?> guiClass, + Class<?> testClass) + +
+          Register a GUI class so that it can later be retrieved via + getGUI(Class).
+static voidregisterIcon(String key, + ImageIcon icon) + +
+          Register an icon so that it can later be retrieved via + getIcon(Class).
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+getIcon

+
+public static ImageIcon getIcon(Class<?> elementClass)
+
+
Get an icon which has previously been registered for this class object. +

+

+
Parameters:
elementClass - the class object which we want to get an icon for +
Returns:
the associated icon, or null if this class or its superclass has + not been registered
+
+
+
+ +

+getIcon

+
+public static ImageIcon getIcon(Class<?> elementClass,
+                                boolean enabled)
+
+
Get icon/disabledicon which has previously been registered for this class + object. +

+

+
Parameters:
elementClass - the class object which we want to get an icon for
enabled - - + is icon enabled +
Returns:
the associated icon, or null if this class or its superclass has + not been registered
+
+
+
+ +

+getGUI

+
+public static JComponent getGUI(Class<?> elementClass)
+
+
Get a component instance which has previously been registered for this + class object. +

+

+
Parameters:
elementClass - the class object which we want to get an instance of +
Returns:
an instance of the class, or null if this class or its superclass + has not been registered
+
+
+
+ +

+registerIcon

+
+public static void registerIcon(String key,
+                                ImageIcon icon)
+
+
Register an icon so that it can later be retrieved via + getIcon(Class). The key should match the fully-qualified class + name for the class used as the parameter when retrieving the icon. +

+

+
Parameters:
key - the name which can be used to retrieve this icon later
icon - the icon to store
+
+
+
+ +

+registerDisabledIcon

+
+public static void registerDisabledIcon(String key,
+                                        ImageIcon icon)
+
+
Register an icon so that it can later be retrieved via + getIcon(Class). The key should match the fully-qualified class + name for the class used as the parameter when retrieving the icon. +

+

+
Parameters:
key - the name which can be used to retrieve this icon later
icon - the icon to store
+
+
+
+ +

+registerGUI

+
+public static void registerGUI(String key,
+                               Class<?> guiClass,
+                               Class<?> testClass)
+                        throws InstantiationException,
+                               IllegalAccessException
+
+
Register a GUI class so that it can later be retrieved via + getGUI(Class). The key should match the fully-qualified class + name for the class used as the parameter when retrieving the GUI. +

+

+
Parameters:
key - the name which can be used to retrieve this GUI later
guiClass - the class object for the GUI component
testClass - the class of the objects edited by this GUI +
Throws: +
InstantiationException - if an instance of the GUI class can not be instantiated +
IllegalAccessException - if access rights do not permit an instance of the GUI class + to be created
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/GuiPackage.html b/docs/api/org/apache/jmeter/gui/GuiPackage.html new file mode 100644 index 00000000000..591ab5e580c --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/GuiPackage.html @@ -0,0 +1,1453 @@ + + + + + +GuiPackage (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui +
+Class GuiPackage

+
+java.lang.Object
+  extended by org.apache.jmeter.gui.GuiPackage
+
+
+
All Implemented Interfaces:
UndoHistory.HistoryListener, LocaleChangeListener
+
+
+
+
public final class GuiPackage
extends Object
implements LocaleChangeListener, UndoHistory.HistoryListener
+ + +

+GuiPackage is a static class that provides convenient access to information + about the current state of JMeter's GUI. Any GUI class can grab a handle to + GuiPackage by calling the static method getInstance() and then use + it to query the GUI about it's state. When actions, for instance, need to + affect the GUI, they typically use GuiPackage to get access to different + parts of the GUI. +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ HashTreeaddSubTree(HashTree subTree) + +
+          Add a subtree to the currently selected node.
+ booleancanRedo() + +
+           
+ booleancanUndo() + +
+           
+ voidclearTestPlan() + +
+          Clears the test plan and associated objects.
+ voidclearTestPlan(TestElement element) + +
+          Clears the test plan element and associated object
+ TestElementcreateTestElement(Class<?> guiClass, + Class<?> testClass) + +
+          Create a TestElement corresponding to the specified GUI class.
+ TestElementcreateTestElement(String objClass) + +
+          Create a TestElement for a GUI or TestBean class.
+ voiddisplayPopUp(Component invoker, + MouseEvent e, + JPopupMenu popup) + +
+          Display the specified popup menu at the location specified by a mouse + event with the specified source component.
+ voiddisplayPopUp(MouseEvent e, + JPopupMenu popup) + +
+          Display the specified popup menu with the source component and location + from the specified mouse event.
+ TestElementgetCurrentElement() + +
+           
+ JMeterGUIComponentgetCurrentGui() + +
+          Convenience method for grabbing the gui for the current node.
+ JMeterTreeNodegetCurrentNode() + +
+           
+ HashTreegetCurrentSubTree() + +
+          Get the currently selected subtree.
+ JMeterGUIComponentgetGui(TestElement node) + +
+          Get a JMeterGUIComponent for the specified test element.
+ JMeterGUIComponentgetGui(TestElement node, + Class<?> guiClass, + Class<?> testClass) + +
+          Get a JMeterGUIComponent for the specified test element.
+static GuiPackagegetInstance() + +
+          Retrieve the singleton GuiPackage instance.
+static GuiPackagegetInstance(JMeterTreeListener listener, + JMeterTreeModel treeModel) + +
+          When GuiPackage is requested for the first time, it should be given + handles to JMeter's Tree Listener and TreeModel.
+ LoggerPanelgetLoggerPanel() + +
+           
+ MainFramegetMainFrame() + +
+          Get the main JMeter frame.
+ JToolBargetMainToolbar() + +
+          Get the main JMeter toolbar.
+ JCheckBoxMenuItemgetMenuItemLoggerPanel() + +
+          Get the menu item LoggerPanel.
+ JCheckBoxMenuItemgetMenuItemToolbar() + +
+          Get the menu item toolbar.
+ JMeterTreeNodegetNodeOf(TestElement userObject) + +
+          Find the JMeterTreeNode for a certain TestElement object.
+ ValueReplacergetReplacer() + +
+          Get a ValueReplacer for the test tree.
+ List<Stoppable>getStoppables() + +
+           
+ StringgetTestPlanFile() + +
+           
+ JMeterTreeListenergetTreeListener() + +
+          Get the listener for JMeter's test tree.
+ JMeterTreeModelgetTreeModel() + +
+          Get the model for JMeter's test tree.
+ voidgoInHistory(int offset) + +
+          Navigate back and forward through undo history
+ booleanisDirty() + +
+          Retrieves the state of the 'dirty' property, a flag that indicates if + there are test tree components that have been modified since they were + last saved.
+ voidlocaleChanged(LocaleChangeEvent event) + +
+          
+ voidnotifyChangeInHistory(UndoHistory history) + +
+          Called when history changes, it updates toolbar
+ voidregister(Stoppable stoppable) + +
+          Register process to stop on reload
+ voidregisterAsListener() + +
+          Register as listener of: + - UndoHistory + - Locale Changes
+ voidremoveNode(TestElement node) + +
+          Remove a test element from the tree.
+ voidsetDirty(boolean dirty) + +
+          The dirty property is a flag that indicates whether there are parts of + JMeter's test tree that the user has not saved since last modification.
+ voidsetLoggerPanel(LoggerPanel loggerPanel) + +
+           
+ voidsetMainFrame(MainFrame newMainFrame) + +
+          Set the main JMeter frame.
+ voidsetMainToolbar(JToolBar newToolbar) + +
+          Set the main JMeter toolbar.
+ voidsetMenuItemLoggerPanel(JCheckBoxMenuItem menuItemLoggerPanel) + +
+          Set the menu item LoggerPanel.
+ voidsetMenuItemToolbar(JCheckBoxMenuItem newMenuToolBar) + +
+          Set the menu item toolbar.
+ voidsetTestPlanFile(String f) + +
+          Sets the filepath of the current test plan.
+static voidshowErrorMessage(String message, + String title) + +
+           
+static voidshowInfoMessage(String message, + String title) + +
+           
+static voidshowMessage(String message, + String title, + int type) + +
+           
+static voidshowWarningMessage(String message, + String title) + +
+           
+ voidunregister(Stoppable stoppable) + +
+          Unregister stoppable
+ voidupdateCurrentGui() + +
+          Update the GUI for the currently selected node.
+ voidupdateCurrentNode() + +
+          This method should be called in order for GuiPackage to change the + current node.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+getInstance

+
+public static GuiPackage getInstance()
+
+
Retrieve the singleton GuiPackage instance. +

+

+
+
+
+ +
Returns:
the GuiPackage instance (may be null, e.g in non-Gui mode)
+
+
+
+ +

+registerAsListener

+
+public void registerAsListener()
+
+
Register as listener of: + - UndoHistory + - Locale Changes +

+

+
+
+
+
+
+
+
+ +

+getInstance

+
+public static GuiPackage getInstance(JMeterTreeListener listener,
+                                     JMeterTreeModel treeModel)
+
+
When GuiPackage is requested for the first time, it should be given + handles to JMeter's Tree Listener and TreeModel. +

+

+
+
+
+
Parameters:
listener - the TreeListener for JMeter's test tree
treeModel - the model for JMeter's test tree +
Returns:
GuiPackage
+
+
+
+ +

+getGui

+
+public JMeterGUIComponent getGui(TestElement node)
+
+
Get a JMeterGUIComponent for the specified test element. If the GUI has + already been created, that instance will be returned. Otherwise, if a GUI + component of the same type has been created, and the component is not + marked as an UnsharedComponent, that shared component will be + returned. Otherwise, a new instance of the component will be created. The + TestElement's GUI_CLASS property will be used to determine the + appropriate type of GUI component to use. +

+

+
+
+
+
Parameters:
node - the test element which this GUI is being created for +
Returns:
the GUI component corresponding to the specified test element
+
+
+
+ +

+getGui

+
+public JMeterGUIComponent getGui(TestElement node,
+                                 Class<?> guiClass,
+                                 Class<?> testClass)
+
+
Get a JMeterGUIComponent for the specified test element. If the GUI has + already been created, that instance will be returned. Otherwise, if a GUI + component of the same type has been created, and the component is not + marked as an UnsharedComponent, that shared component will be + returned. Otherwise, a new instance of the component will be created. +

+

+
+
+
+
Parameters:
node - the test element which this GUI is being created for
guiClass - the fully qualified class name of the GUI component which will + be created if it doesn't already exist
testClass - the fully qualified class name of the test elements which have + to be edited by the returned GUI component +
Returns:
the GUI component corresponding to the specified test element
+
+
+
+ +

+removeNode

+
+public void removeNode(TestElement node)
+
+
Remove a test element from the tree. This removes the reference to any + associated GUI component. +

+

+
+
+
+
Parameters:
node - the test element being removed
+
+
+
+ +

+getCurrentGui

+
+public JMeterGUIComponent getCurrentGui()
+
+
Convenience method for grabbing the gui for the current node. +

+

+
+
+
+ +
Returns:
the GUI component associated with the currently selected node
+
+
+
+ +

+getNodeOf

+
+public JMeterTreeNode getNodeOf(TestElement userObject)
+
+
Find the JMeterTreeNode for a certain TestElement object. +

+

+
+
+
+
Parameters:
userObject - the test element to search for +
Returns:
the tree node associated with the test element
+
+
+
+ +

+createTestElement

+
+public TestElement createTestElement(Class<?> guiClass,
+                                     Class<?> testClass)
+
+
Create a TestElement corresponding to the specified GUI class. +

+

+
+
+
+
Parameters:
guiClass - the fully qualified class name of the GUI component or a + TestBean class for TestBeanGUIs.
testClass - the fully qualified class name of the test elements edited by + this GUI component. +
Returns:
the test element corresponding to the specified GUI class.
+
+
+
+ +

+createTestElement

+
+public TestElement createTestElement(String objClass)
+
+
Create a TestElement for a GUI or TestBean class. +

+ This is a utility method to help actions do with one single String + parameter. +

+

+
+
+
+
Parameters:
objClass - the fully qualified class name of the GUI component or of the + TestBean subclass for which a TestBeanGUI is wanted. +
Returns:
the test element corresponding to the specified GUI class.
+
+
+
+ +

+updateCurrentGui

+
+public void updateCurrentGui()
+
+
Update the GUI for the currently selected node. The GUI component is + configured to reflect the settings in the current tree node. +

+

+
+
+
+
+
+
+
+ +

+updateCurrentNode

+
+public void updateCurrentNode()
+
+
This method should be called in order for GuiPackage to change the + current node. This will save any changes made to the earlier node before + choosing the new node. +

+

+
+
+
+
+
+
+
+ +

+getCurrentNode

+
+public JMeterTreeNode getCurrentNode()
+
+
+
+
+
+
+
+
+
+ +

+getCurrentElement

+
+public TestElement getCurrentElement()
+
+
+
+
+
+
+
+
+
+ +

+setDirty

+
+public void setDirty(boolean dirty)
+
+
The dirty property is a flag that indicates whether there are parts of + JMeter's test tree that the user has not saved since last modification. + Various (@link Command actions) set this property when components are + modified/created/saved. +

+

+
+
+
+
Parameters:
dirty - the new value of the dirty flag
+
+
+
+ +

+isDirty

+
+public boolean isDirty()
+
+
Retrieves the state of the 'dirty' property, a flag that indicates if + there are test tree components that have been modified since they were + last saved. +

+

+
+
+
+ +
Returns:
true if some tree components have been modified since they were + last saved, false otherwise
+
+
+
+ +

+addSubTree

+
+public HashTree addSubTree(HashTree subTree)
+                    throws IllegalUserActionException
+
+
Add a subtree to the currently selected node. +

+

+
+
+
+
Parameters:
subTree - the subtree to add. +
Returns:
the resulting subtree starting with the currently selected node +
Throws: +
IllegalUserActionException - if a subtree cannot be added to the currently selected node
+
+
+
+ +

+getCurrentSubTree

+
+public HashTree getCurrentSubTree()
+
+
Get the currently selected subtree. +

+

+
+
+
+ +
Returns:
the subtree of the currently selected node
+
+
+
+ +

+getTreeModel

+
+public JMeterTreeModel getTreeModel()
+
+
Get the model for JMeter's test tree. +

+

+
+
+
+ +
Returns:
the JMeter tree model
+
+
+
+ +

+getReplacer

+
+public ValueReplacer getReplacer()
+
+
Get a ValueReplacer for the test tree. +

+

+
+
+
+ +
Returns:
a ValueReplacer configured for the test tree
+
+
+
+ +

+setMainFrame

+
+public void setMainFrame(MainFrame newMainFrame)
+
+
Set the main JMeter frame. +

+

+
+
+
+
Parameters:
newMainFrame - the new JMeter main frame
+
+
+
+ +

+getMainFrame

+
+public MainFrame getMainFrame()
+
+
Get the main JMeter frame. +

+

+
+
+
+ +
Returns:
the main JMeter frame
+
+
+
+ +

+getTreeListener

+
+public JMeterTreeListener getTreeListener()
+
+
Get the listener for JMeter's test tree. +

+

+
+
+
+ +
Returns:
the JMeter test tree listener
+
+
+
+ +

+setMainToolbar

+
+public void setMainToolbar(JToolBar newToolbar)
+
+
Set the main JMeter toolbar. +

+

+
+
+
+
Parameters:
newToolbar - the new JMeter main toolbar
+
+
+
+ +

+getMainToolbar

+
+public JToolBar getMainToolbar()
+
+
Get the main JMeter toolbar. +

+

+
+
+
+ +
Returns:
the main JMeter toolbar
+
+
+
+ +

+setMenuItemToolbar

+
+public void setMenuItemToolbar(JCheckBoxMenuItem newMenuToolBar)
+
+
Set the menu item toolbar. +

+

+
+
+
+
Parameters:
newMenuToolBar - the new menu item toolbar
+
+
+
+ +

+getMenuItemToolbar

+
+public JCheckBoxMenuItem getMenuItemToolbar()
+
+
Get the menu item toolbar. +

+

+
+
+
+ +
Returns:
the menu item toolbar
+
+
+
+ +

+displayPopUp

+
+public void displayPopUp(MouseEvent e,
+                         JPopupMenu popup)
+
+
Display the specified popup menu with the source component and location + from the specified mouse event. +

+

+
+
+
+
Parameters:
e - the mouse event causing this popup to be displayed
popup - the popup menu to display
+
+
+
+ +

+displayPopUp

+
+public void displayPopUp(Component invoker,
+                         MouseEvent e,
+                         JPopupMenu popup)
+
+
Display the specified popup menu at the location specified by a mouse + event with the specified source component. +

+

+
+
+
+
Parameters:
invoker - the source component
e - the mouse event causing this popup to be displayed
popup - the popup menu to display
+
+
+
+ +

+localeChanged

+
+public void localeChanged(LocaleChangeEvent event)
+
+
+

+

+
Specified by:
localeChanged in interface LocaleChangeListener
+
+
+
+
+
+
+ +

+setTestPlanFile

+
+public void setTestPlanFile(String f)
+
+
Sets the filepath of the current test plan. It's shown in the main frame + title and used on saving. +

+

+
+
+
+
Parameters:
f - The filepath of the current test plan
+
+
+
+ +

+getTestPlanFile

+
+public String getTestPlanFile()
+
+
+
+
+
+
+
+
+
+ +

+clearTestPlan

+
+public void clearTestPlan()
+
+
Clears the test plan and associated objects. + Clears the test plan file name. +

+

+
+
+
+
+
+
+
+ +

+clearTestPlan

+
+public void clearTestPlan(TestElement element)
+
+
Clears the test plan element and associated object +

+

+
+
+
+
Parameters:
element - to clear
+
+
+
+ +

+showErrorMessage

+
+public static void showErrorMessage(String message,
+                                    String title)
+
+
+
+
+
+
+
+
+
+ +

+showInfoMessage

+
+public static void showInfoMessage(String message,
+                                   String title)
+
+
+
+
+
+
+
+
+
+ +

+showWarningMessage

+
+public static void showWarningMessage(String message,
+                                      String title)
+
+
+
+
+
+
+
+
+
+ +

+showMessage

+
+public static void showMessage(String message,
+                               String title,
+                               int type)
+
+
+
+
+
+
+
+
+
+ +

+unregister

+
+public void unregister(Stoppable stoppable)
+
+
Unregister stoppable +

+

+
+
+
+
Parameters:
stoppable - Stoppable
+
+
+
+ +

+register

+
+public void register(Stoppable stoppable)
+
+
Register process to stop on reload +

+

+
+
+
+
Parameters:
stoppable - The Stoppable to be registered
+
+
+
+ +

+getStoppables

+
+public List<Stoppable> getStoppables()
+
+
+
+
+
+ +
Returns:
copy of list of Stoppables
+
+
+
+ +

+setMenuItemLoggerPanel

+
+public void setMenuItemLoggerPanel(JCheckBoxMenuItem menuItemLoggerPanel)
+
+
Set the menu item LoggerPanel. +

+

+
+
+
+
Parameters:
menuItemLoggerPanel - The menu item LoggerPanel
+
+
+
+ +

+getMenuItemLoggerPanel

+
+public JCheckBoxMenuItem getMenuItemLoggerPanel()
+
+
Get the menu item LoggerPanel. +

+

+
+
+
+ +
Returns:
the menu item LoggerPanel
+
+
+
+ +

+setLoggerPanel

+
+public void setLoggerPanel(LoggerPanel loggerPanel)
+
+
+
+
+
+
Parameters:
loggerPanel - LoggerPanel
+
+
+
+ +

+getLoggerPanel

+
+public LoggerPanel getLoggerPanel()
+
+
+
+
+
+ +
Returns:
the loggerPanel
+
+
+
+ +

+goInHistory

+
+public void goInHistory(int offset)
+
+
Navigate back and forward through undo history +

+

+
+
+
+
Parameters:
offset - int
+
+
+
+ +

+canRedo

+
+public boolean canRedo()
+
+
+
+
+
+ +
Returns:
true if history contains redo item
+
+
+
+ +

+canUndo

+
+public boolean canUndo()
+
+
+
+
+
+ +
Returns:
true if history contains undo item
+
+
+
+ +

+notifyChangeInHistory

+
+public void notifyChangeInHistory(UndoHistory history)
+
+
Called when history changes, it updates toolbar +

+

+
Specified by:
notifyChangeInHistory in interface UndoHistory.HistoryListener
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/JMeterFileFilter.html b/docs/api/org/apache/jmeter/gui/JMeterFileFilter.html new file mode 100644 index 00000000000..35a3dd7ab99 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/JMeterFileFilter.html @@ -0,0 +1,350 @@ + + + + + +JMeterFileFilter (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui +
+Class JMeterFileFilter

+
+java.lang.Object
+  extended by javax.swing.filechooser.FileFilter
+      extended by org.apache.jmeter.gui.JMeterFileFilter
+
+
+
All Implemented Interfaces:
FileFilter
+
+
+
+
public class JMeterFileFilter
extends FileFilter
implements FileFilter
+ + +

+A file filter which allows files to be filtered based on a list of allowed + extensions. + + Optionally returns directories. +

+ +

+


+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
JMeterFileFilter(String[] extensions) + +
+          Create a new JMeter file filter which allows the specified extensions.
JMeterFileFilter(String[] extensions, + boolean allow) + +
+          Create a new JMeter file filter which allows the specified extensions.
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleanaccept(File f) + +
+          Determine if the specified file is allowed by this filter.
+ booleanaccept(String filename) + +
+          Determine if the specified filename is allowed by this filter.
+ StringgetDescription() + +
+          Get a description for this filter.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+JMeterFileFilter

+
+public JMeterFileFilter(String[] extensions)
+
+
Create a new JMeter file filter which allows the specified extensions. If + the array of extensions contains no elements, any file will be allowed. + + This constructor will also return all directories +

+

+
Parameters:
extensions - non-null array of allowed file extensions
+
+
+ +

+JMeterFileFilter

+
+public JMeterFileFilter(String[] extensions,
+                        boolean allow)
+
+
Create a new JMeter file filter which allows the specified extensions. If + the array of extensions contains no elements, any file will be allowed. +

+

+
Parameters:
extensions - non-null array of allowed file extensions
allow - should directories be returned ?
+
+ + + + + + + + +
+Method Detail
+ +

+accept

+
+public boolean accept(File f)
+
+
Determine if the specified file is allowed by this filter. The file will + be allowed if it is a directory, or if the end of the filename matches + one of the extensions allowed by this filter. The filename is converted + to lower-case before making the comparison. +

+

+
Specified by:
accept in interface FileFilter
Specified by:
accept in class FileFilter
+
+
+
Parameters:
f - the File being tested +
Returns:
true if the file should be allowed, false otherwise
+
+
+
+ +

+accept

+
+public boolean accept(String filename)
+
+
Determine if the specified filename is allowed by this filter. The file + will be allowed if the end of the filename matches one of the extensions + allowed by this filter. The comparison is case-sensitive. If no + extensions were provided for this filter, the file will always be + allowed. +

+

+
+
+
+
Parameters:
filename - the filename to test +
Returns:
true if the file should be allowed, false otherwise
+
+
+
+ +

+getDescription

+
+public String getDescription()
+
+
Get a description for this filter. +

+

+
Specified by:
getDescription in class FileFilter
+
+
+ +
Returns:
a description for this filter
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/JMeterGUIComponent.html b/docs/api/org/apache/jmeter/gui/JMeterGUIComponent.html new file mode 100644 index 00000000000..4e616900bd1 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/JMeterGUIComponent.html @@ -0,0 +1,562 @@ + + + + + +JMeterGUIComponent (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui +
+Interface JMeterGUIComponent

+
+
All Superinterfaces:
ClearGui
+
+
+
All Known Implementing Classes:
AbstractAssertionGui, AbstractConfigGui, AbstractControllerGui, AbstractJMeterGuiComponent, AbstractListenerGui, AbstractPostProcessorGui, AbstractPreProcessorGui, AbstractRandomTimerGui, AbstractSamplerGui, AbstractScopedJMeterGuiComponent, AbstractThreadGroupGui, AbstractTimerGui, AbstractVisualizer, AjpSamplerGui, AnchorModifierGui, ArgumentsPanel, AssertionGui, AssertionVisualizer, AuthPanel, BackendListenerGui, BeanShellAssertionGui, BeanShellSamplerGui, CacheManagerGui, ComparisonVisualizer, ConstantTimerGui, CookiePanel, CounterConfigGui, CriticalSectionControllerGui, DistributionGraphVisualizer, DNSCachePanel, DurationAssertionGui, ExampleSamplerGui, ForeachControlPanel, FtpConfigGui, FtpTestSamplerGui, GaussianRandomTimerGui, GraphVisualizer, HeaderPanel, HTMLAssertionGui, HtmlExtractorGui, HTTPArgumentsPanel, HttpDefaultsGui, HttpMirrorControlGui, HttpTestSampleGui, IfControllerPanel, IncludeControllerGui, InterleaveControlGui, JavaConfigGui, JavaTestSamplerGui, JMSPublisherGui, JMSSamplerGui, JMSSubscriberGui, JUnitTestSamplerGui, LDAPArgumentsPanel, LdapConfigGui, LdapExtConfigGui, LdapExtTestSamplerGui, LdapTestSamplerGui, LogicControllerGui, LoginConfigGui, LoopControlPanel, MailerVisualizer, MailReaderSamplerGui, MD5HexAssertionGUI, ModuleControllerGui, MonitorHealthVisualizer, NamePanel, ObsoleteGui, OnceOnlyControllerGui, ParamModifierGui, PoissonRandomTimerGui, PostThreadGroupGui, PropertyControlGui, ProxyControlGui, RandomControlGui, RandomOrderControllerGui, RecordController, RegexExtractorGui, RegExUserParametersGui, RespTimeGraphVisualizer, ResultActionGui, ResultSaverGui, RunTimeGui, SetupThreadGroupGui, SimpleConfigGui, SimpleDataWriter, SizeAssertionGui, SMIMEAssertionGui, SmtpSamplerGui, SoapSamplerGui, SplineVisualizer, StatGraphVisualizer, StatVisualizer, SummariserGui, SummaryReport, SwitchControllerGui, SystemSamplerGui, TableVisualizer, TCPConfigGui, TCPSamplerGui, TestActionGui, TestBeanGUI, TestFragmentControllerGui, TestPlanGui, ThreadGroupGui, ThroughputControllerGui, TransactionControllerGui, UniformRandomTimerGui, URLRewritingModifierGui, UserParametersGui, ViewResultsFullVisualizer, WebServiceSamplerGui, WhileControllerGui, WorkBenchGui, XMLAssertionGui, XMLSchemaAssertionGUI, XPathAssertionGui, XPathExtractorGui
+
+
+
+
public interface JMeterGUIComponent
extends ClearGui
+ + +

+Implementing this interface indicates that the class is a JMeter GUI + Component. A JMeter GUI Component is essentially the GUI display code + associated with a JMeter Test Element. The writer of the component must take + care to make the component be consistent with the rest of JMeter's GUI look + and feel and behavior. Use of the provided abstract classes is highly + recommended to make this task easier. +

+ +

+

+
See Also:
AbstractJMeterGuiComponent, +AbstractConfigGui, +AbstractAssertionGui, +AbstractControllerGui, +AbstractTimerGui, +AbstractVisualizer, +AbstractSamplerGui
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidconfigure(TestElement element) + +
+          The GUI must be able to extract the data from the TestElement and update + all GUI fields to represent those data.
+ JPopupMenucreatePopupMenu() + +
+          When a user right-clicks on the component in the test tree, or selects + the edit menu when the component is selected, the component will be asked + to return a JPopupMenu that provides all the options available to the + user from this component.
+ TestElementcreateTestElement() + +
+          JMeter test components are separated into a model and a GUI + representation.
+ StringgetDocAnchor() + +
+          Get the component's document anchor name.
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ Collection<String>getMenuCategories() + +
+          This is the list of add menu categories this gui component will be + available under.
+ StringgetName() + +
+          Gets the name of the JMeter GUI component.
+ StringgetStaticLabel() + +
+          Get the component's label.
+ booleanisEnabled() + +
+          Test GUI elements can be disabled, in which case they do not become part + of the test when run.
+ voidmodifyTestElement(TestElement element) + +
+          GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components.
+ voidsetEnabled(boolean enabled) + +
+          Set whether this component is enabled.
+ voidsetName(String name) + +
+          Sets the name of the JMeter GUI Component.
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.gui.ClearGui
clearGui
+  +

+ + + + + + + + +
+Method Detail
+ +

+setName

+
+void setName(String name)
+
+
Sets the name of the JMeter GUI Component. The name of the component is + used in the Test Tree as the name of the tree node. +

+

+
+
+
+
Parameters:
name - the name of the component
+
+
+
+ +

+getName

+
+String getName()
+
+
Gets the name of the JMeter GUI component. The name of the component is + used in the Test Tree as the name of the tree node. +

+

+
+
+
+ +
Returns:
the name of the component
+
+
+
+ +

+getStaticLabel

+
+String getStaticLabel()
+
+
Get the component's label. This label is used in drop down lists that + give the user the option of choosing one type of component in a list of + many. It should therefore be a descriptive name for the end user to see. + It must be unique to the class. + + It is also used by Help to find the appropriate location in the + documentation. + + Normally getLabelResource() should be overridden instead of + this method; the definition of this method in AbstractJMeterGuiComponent + is intended for general use. +

+

+
+
+
+ +
Returns:
GUI label for the component.
See Also:
getLabelResource()
+
+
+
+ +

+getLabelResource

+
+String getLabelResource()
+
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+
+
+
+ +
Returns:
the resource name
+
+
+
+ +

+getDocAnchor

+
+String getDocAnchor()
+
+
Get the component's document anchor name. Used by Help to find the + appropriate location in the documentation +

+

+
+
+
+ +
Returns:
Document anchor (#ref) for the component.
+
+
+
+ +

+createTestElement

+
+TestElement createTestElement()
+
+
JMeter test components are separated into a model and a GUI + representation. The model holds the data and the GUI displays it. The GUI + class is responsible for knowing how to create and initialize with data + the model class that it knows how to display, and this method is called + when new test elements are created. +

+

+
+
+
+ +
Returns:
the Test Element object that the GUI component represents.
+
+
+
+ +

+modifyTestElement

+
+void modifyTestElement(TestElement element)
+
+
GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components. This method should + overwrite whatever data is currently in the TestElement as it is called + after a user has filled out the form elements in the gui with new + information. +

+

+
+
+
+
Parameters:
element - the TestElement to modify
+
+
+
+ +

+isEnabled

+
+boolean isEnabled()
+
+
Test GUI elements can be disabled, in which case they do not become part + of the test when run. +

+

+
+
+
+ +
Returns:
true if the element should be part of the test run, false + otherwise
+
+
+
+ +

+setEnabled

+
+void setEnabled(boolean enabled)
+
+
Set whether this component is enabled. +

+

+
+
+
+
Parameters:
enabled - true for enabled, false for disabled.
+
+
+
+ +

+createPopupMenu

+
+JPopupMenu createPopupMenu()
+
+
When a user right-clicks on the component in the test tree, or selects + the edit menu when the component is selected, the component will be asked + to return a JPopupMenu that provides all the options available to the + user from this component. +

+

+
+
+
+ +
Returns:
a JPopupMenu appropriate for the component.
+
+
+
+ +

+configure

+
+void configure(TestElement element)
+
+
The GUI must be able to extract the data from the TestElement and update + all GUI fields to represent those data. This method is called to allow + JMeter to show the user the GUI that represents the test element's data. +

+

+
+
+
+
Parameters:
element - the TestElement to configure
+
+
+
+ +

+getMenuCategories

+
+Collection<String> getMenuCategories()
+
+
This is the list of add menu categories this gui component will be + available under. For instance, if this represents a Controller, then the + MenuFactory.CONTROLLERS category should be in the returned collection. + When a user right-clicks on a tree element and looks through the "add" + menu, which category your GUI component shows up in is determined by + which categories are returned by this method. Most GUI's belong to only + one category, but it is possible for a component to exist in multiple + categories. +

+

+
+
+
+ +
Returns:
a Collection of Strings, where each element is one of the + constants defined in MenuFactory
See Also:
MenuFactory
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/LoggerPanel.html b/docs/api/org/apache/jmeter/gui/LoggerPanel.html new file mode 100644 index 00000000000..66c063e2020 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/LoggerPanel.html @@ -0,0 +1,411 @@ + + + + + +LoggerPanel (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui +
+Class LoggerPanel

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.LoggerPanel
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, org.apache.log.LogTarget
+
+
+
+
public class LoggerPanel
extends JPanel
implements org.apache.log.LogTarget
+ + +

+Panel that shows log events +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
LoggerPanel() + +
+          Pane for display JMeter log file
+  + + + + + + + + + + + + + + + +
+Method Summary
+ voidclear() + +
+          Clear panel content
+ voidprocessEvent(org.apache.log.LogEvent logEvent) + +
+           
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+LoggerPanel

+
+public LoggerPanel()
+
+
Pane for display JMeter log file +

+

+ + + + + + + + +
+Method Detail
+ +

+processEvent

+
+public void processEvent(org.apache.log.LogEvent logEvent)
+
+
+
Specified by:
processEvent in interface org.apache.log.LogTarget
+
+
+
+
+
+
+ +

+clear

+
+public void clear()
+
+
Clear panel content +

+

+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/MainFrame.ErrorsAndFatalsCounterLogTarget.html b/docs/api/org/apache/jmeter/gui/MainFrame.ErrorsAndFatalsCounterLogTarget.html new file mode 100644 index 00000000000..6fe61d07a32 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/MainFrame.ErrorsAndFatalsCounterLogTarget.html @@ -0,0 +1,318 @@ + + + + + +MainFrame.ErrorsAndFatalsCounterLogTarget (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui +
+Class MainFrame.ErrorsAndFatalsCounterLogTarget

+
+java.lang.Object
+  extended by org.apache.jmeter.gui.MainFrame.ErrorsAndFatalsCounterLogTarget
+
+
+
All Implemented Interfaces:
Clearable, org.apache.log.LogTarget
+
+
+
Enclosing class:
MainFrame
+
+
+
+
public final class MainFrame.ErrorsAndFatalsCounterLogTarget
extends Object
implements org.apache.log.LogTarget, Clearable
+ + +

+


+ +

+ + + + + + + + + + + +
+Field Summary
+ AtomicIntegererrorOrFatal + +
+           
+  + + + + + + + + + + +
+Constructor Summary
MainFrame.ErrorsAndFatalsCounterLogTarget() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ voidclearData() + +
+          Clears the current data of the object.
+ voidprocessEvent(org.apache.log.LogEvent event) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+errorOrFatal

+
+public AtomicInteger errorOrFatal
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+MainFrame.ErrorsAndFatalsCounterLogTarget

+
+public MainFrame.ErrorsAndFatalsCounterLogTarget()
+
+
+ + + + + + + + +
+Method Detail
+ +

+processEvent

+
+public void processEvent(org.apache.log.LogEvent event)
+
+
+
Specified by:
processEvent in interface org.apache.log.LogTarget
+
+
+
+
+
+
+ +

+clearData

+
+public void clearData()
+
+
Description copied from interface: Clearable
+
Clears the current data of the object. +

+

+
Specified by:
clearData in interface Clearable
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/MainFrame.html b/docs/api/org/apache/jmeter/gui/MainFrame.html new file mode 100644 index 00000000000..dd5ff1783b1 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/MainFrame.html @@ -0,0 +1,1145 @@ + + + + + +MainFrame (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui +
+Class MainFrame

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by java.awt.Window
+              extended by java.awt.Frame
+                  extended by javax.swing.JFrame
+                      extended by org.apache.jmeter.gui.MainFrame
+
+
+
All Implemented Interfaces:
DropTargetListener, ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, RootPaneContainer, WindowConstants, Clearable, Remoteable, TestStateListener
+
+
+
+
public class MainFrame
extends JFrame
implements TestStateListener, Remoteable, DropTargetListener, Clearable, ActionListener
+ + +

+The main JMeter frame, containing the menu bar, test tree, and an area for + JMeter component GUIs. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Nested Class Summary
+ classMainFrame.ErrorsAndFatalsCounterLogTarget + +
+           
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JFrame
JFrame.AccessibleJFrame
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Frame
Frame.AccessibleAWTFrame
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Window
Window.AccessibleAWTWindow
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + + + + + +
+Field Summary
+static StringLOCAL + +
+           
+ + + + + + + +
Fields inherited from class javax.swing.JFrame
accessibleContext, EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabled
+ + + + + + + +
Fields inherited from class java.awt.Frame
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface javax.swing.WindowConstants
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + + + + +
+Constructor Summary
MainFrame() + +
+          Deprecated. Do not use - only needed for JUnit tests
MainFrame(TreeModel treeModel, + JMeterTreeListener treeListener) + +
+          Create a new JMeter frame.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidactionPerformed(ActionEvent event) + +
+          Handles click on warnIndicator
+ voidclearData() + +
+          Clears the current data of the object.
+ voidcloseMenu() + +
+          Close the currently selected menu.
+ voiddragEnter(DropTargetDragEvent dtde) + +
+           
+ voiddragExit(DropTargetEvent dte) + +
+           
+ voiddragOver(DropTargetDragEvent dtde) + +
+           
+ voiddrop(DropTargetDropEvent dtde) + +
+          Handler of Top level Dnd
+ voiddropActionChanged(DropTargetDragEvent dtde) + +
+           
+ JTreegetTree() + +
+           
+ voidinitTopLevelDndHandler() + +
+          Support for Test Plan Dnd + see BUG 52281 (when JDK6 will be minimum JDK target)
+ booleanopenJmxFilesFromDragAndDrop(Transferable tr) + +
+           
+ voidsetEditAddEnabled(boolean enabled) + +
+          Specify whether or not the Edit|Add menu item should be enabled.
+ voidsetEditAddMenu(JMenu menu) + +
+          Set the menu that should be used for the Edit|Add menu.
+ voidsetEditEnabled(boolean enabled) + +
+          Specify whether or not the Edit menu item should be enabled.
+ voidsetEditMenu(JPopupMenu menu) + +
+          Set the menu that should be used for the Edit menu.
+ voidsetExtendedFrameTitle(String fname) + +
+           
+ voidsetFileLoadEnabled(boolean enabled) + +
+          Specify whether or not the File|Load menu item should be enabled.
+ voidsetFileRevertEnabled(boolean enabled) + +
+          Specify whether or not the File|Revert item should be enabled.
+ voidsetFileSaveEnabled(boolean enabled) + +
+          Specify whether or not the File|Save menu item should be enabled.
+ voidsetMainPanel(JComponent comp) + +
+           
+ voidsetProjectFileLoaded(String file) + +
+          Specify the project file that was just loaded
+ voidshowStoppingMessage(String host) + +
+          Show a dialog indicating that JMeter threads are stopping on a particular + host.
+ voidtestEnded() + +
+          Called when a test is ended on the local system.
+ voidtestEnded(String host) + +
+          Called when a test is ended on the remote system.
+ voidtestStarted() + +
+          Called when a test is started on the local system.
+ voidtestStarted(String host) + +
+          Called when a test is started on a specific host.
+ voidupdateCounts() + +
+           
+ voidupdateUndoRedoIcons(boolean canUndo, + boolean canRedo) + +
+          Update Undo/Redo icons state
+ + + + + + + +
Methods inherited from class javax.swing.JFrame
addImpl, createRootPane, frameInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setIconImage, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, update
+ + + + + + + +
Methods inherited from class java.awt.Frame
addNotify, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setCursor, setExtendedState, setMaximizedBounds, setMenuBar, setResizable, setState, setTitle, setUndecorated
+ + + + + + + +
Methods inherited from class java.awt.Window
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOwnedWindows, getOwner, getOwnerlessWindows, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, hide, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isShowing, pack, paint, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImages, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, setVisible, show, toBack, toFront
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resize, resize, setBackground, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+ + + + + + + +
Methods inherited from interface java.awt.MenuContainer
getFont, postEvent
+  +

+ + + + + + + + +
+Field Detail
+ +

+LOCAL

+
+public static final String LOCAL
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+MainFrame

+
+public MainFrame(TreeModel treeModel,
+                 JMeterTreeListener treeListener)
+
+
Create a new JMeter frame. +

+

+
Parameters:
treeModel - the model for the test tree
treeListener - the listener for the test tree
+
+
+ +

+MainFrame

+
+@Deprecated
+public MainFrame()
+
+
Deprecated. Do not use - only needed for JUnit tests +

+

Default constructor for the JMeter frame. This constructor will not + properly initialize the tree, so don't use it. +

+

+ + + + + + + + +
+Method Detail
+ +

+setFileLoadEnabled

+
+public void setFileLoadEnabled(boolean enabled)
+
+
Specify whether or not the File|Load menu item should be enabled. +

+

+
+
+
+
Parameters:
enabled - true if the menu item should be enabled, false otherwise
+
+
+
+ +

+setFileSaveEnabled

+
+public void setFileSaveEnabled(boolean enabled)
+
+
Specify whether or not the File|Save menu item should be enabled. +

+

+
+
+
+
Parameters:
enabled - true if the menu item should be enabled, false otherwise
+
+
+
+ +

+setFileRevertEnabled

+
+public void setFileRevertEnabled(boolean enabled)
+
+
Specify whether or not the File|Revert item should be enabled. +

+

+
+
+
+
Parameters:
enabled - true if the menu item should be enabled, false otherwise
+
+
+
+ +

+setProjectFileLoaded

+
+public void setProjectFileLoaded(String file)
+
+
Specify the project file that was just loaded +

+

+
+
+
+
Parameters:
file - - the full path to the file that was loaded
+
+
+
+ +

+setEditMenu

+
+public void setEditMenu(JPopupMenu menu)
+
+
Set the menu that should be used for the Edit menu. +

+

+
+
+
+
Parameters:
menu - the new Edit menu
+
+
+
+ +

+setEditEnabled

+
+public void setEditEnabled(boolean enabled)
+
+
Specify whether or not the Edit menu item should be enabled. +

+

+
+
+
+
Parameters:
enabled - true if the menu item should be enabled, false otherwise
+
+
+
+ +

+setEditAddMenu

+
+public void setEditAddMenu(JMenu menu)
+
+
Set the menu that should be used for the Edit|Add menu. +

+

+
+
+
+
Parameters:
menu - the new Edit|Add menu
+
+
+
+ +

+setEditAddEnabled

+
+public void setEditAddEnabled(boolean enabled)
+
+
Specify whether or not the Edit|Add menu item should be enabled. +

+

+
+
+
+
Parameters:
enabled - true if the menu item should be enabled, false otherwise
+
+
+
+ +

+closeMenu

+
+public void closeMenu()
+
+
Close the currently selected menu. +

+

+
+
+
+
+
+
+
+ +

+showStoppingMessage

+
+public void showStoppingMessage(String host)
+
+
Show a dialog indicating that JMeter threads are stopping on a particular + host. +

+

+
+
+
+
Parameters:
host - the host where JMeter threads are stopping
+
+
+
+ +

+updateCounts

+
+public void updateCounts()
+
+
+
+
+
+
+
+
+
+ +

+setMainPanel

+
+public void setMainPanel(JComponent comp)
+
+
+
+
+
+
+
+
+
+ +

+getTree

+
+public JTree getTree()
+
+
+
+
+
+
+
+
+
+ +

+testStarted

+
+public void testStarted()
+
+
Called when a test is started on the local system. This implementation + sets the running indicator and ensures that the menubar is enabled and in + the running state. +

+

+
Specified by:
testStarted in interface TestStateListener
+
+
+
See Also:
StandardJMeterEngine.run()
+
+
+
+ +

+testStarted

+
+public void testStarted(String host)
+
+
Called when a test is started on a specific host. This implementation + sets the running indicator and ensures that the menubar is in the running + state. +

+

+
Specified by:
testStarted in interface TestStateListener
+
+
+
Parameters:
host - the host where the test is starting
See Also:
StandardJMeterEngine.run()
+
+
+
+ +

+testEnded

+
+public void testEnded()
+
+
Called when a test is ended on the local system. This implementation + disables the menubar, stops the running indicator, and closes the + stopping message dialog. +

+

+
Specified by:
testEnded in interface TestStateListener
+
+
+
See Also:
StandardJMeterEngine.stopTest()
+
+
+
+ +

+testEnded

+
+public void testEnded(String host)
+
+
Called when a test is ended on the remote system. This implementation + stops the running indicator and closes the stopping message dialog. +

+

+
Specified by:
testEnded in interface TestStateListener
+
+
+
Parameters:
host - the host where the test is ending
See Also:
StandardJMeterEngine.stopTest()
+
+
+
+ +

+initTopLevelDndHandler

+
+public void initTopLevelDndHandler()
+
+
Support for Test Plan Dnd + see BUG 52281 (when JDK6 will be minimum JDK target) +

+

+
+
+
+
+
+
+
+ +

+setExtendedFrameTitle

+
+public void setExtendedFrameTitle(String fname)
+
+
+
+
+
+
+
+
+
+ +

+dragEnter

+
+public void dragEnter(DropTargetDragEvent dtde)
+
+
+
Specified by:
dragEnter in interface DropTargetListener
+
+
+
+
+
+
+ +

+dragExit

+
+public void dragExit(DropTargetEvent dte)
+
+
+
Specified by:
dragExit in interface DropTargetListener
+
+
+
+
+
+
+ +

+dragOver

+
+public void dragOver(DropTargetDragEvent dtde)
+
+
+
Specified by:
dragOver in interface DropTargetListener
+
+
+
+
+
+
+ +

+drop

+
+public void drop(DropTargetDropEvent dtde)
+
+
Handler of Top level Dnd +

+

+
Specified by:
drop in interface DropTargetListener
+
+
+
+
+
+
+ +

+openJmxFilesFromDragAndDrop

+
+public boolean openJmxFilesFromDragAndDrop(Transferable tr)
+                                    throws UnsupportedFlavorException,
+                                           IOException
+
+
+
+
+
+ +
Throws: +
UnsupportedFlavorException +
IOException
+
+
+
+ +

+dropActionChanged

+
+public void dropActionChanged(DropTargetDragEvent dtde)
+
+
+
Specified by:
dropActionChanged in interface DropTargetListener
+
+
+
+
+
+
+ +

+clearData

+
+public void clearData()
+
+
Description copied from interface: Clearable
+
Clears the current data of the object. +

+

+
Specified by:
clearData in interface Clearable
+
+
+
+
+
+
+ +

+actionPerformed

+
+public void actionPerformed(ActionEvent event)
+
+
Handles click on warnIndicator +

+

+
Specified by:
actionPerformed in interface ActionListener
+
+
+
+
+
+
+ +

+updateUndoRedoIcons

+
+public void updateUndoRedoIcons(boolean canUndo,
+                                boolean canRedo)
+
+
Update Undo/Redo icons state +

+

+
+
+
+
Parameters:
canUndo - Flag whether the undo button should be enabled
canRedo - Flag whether the redo button should be enabled
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/NamePanel.html b/docs/api/org/apache/jmeter/gui/NamePanel.html new file mode 100644 index 00000000000..6f7398040cf --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/NamePanel.html @@ -0,0 +1,692 @@ + + + + + +NamePanel (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui +
+Class NamePanel

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.NamePanel
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ClearGui, JMeterGUIComponent
+
+
+
+
public class NamePanel
extends JPanel
implements JMeterGUIComponent
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
NamePanel() + +
+          Create a new NamePanel with the default name.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclearGui() + +
+          Clear the gui and return it to initial default values.
+ voidconfigure(TestElement testElement) + +
+          The GUI must be able to extract the data from the TestElement and update + all GUI fields to represent those data.
+ JPopupMenucreatePopupMenu() + +
+          When a user right-clicks on the component in the test tree, or selects + the edit menu when the component is selected, the component will be asked + to return a JPopupMenu that provides all the options available to the + user from this component.
+ TestElementcreateTestElement() + +
+          JMeter test components are separated into a model and a GUI + representation.
+ StringgetDocAnchor() + +
+          Get the component's document anchor name.
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ Collection<String>getMenuCategories() + +
+          This is the list of add menu categories this gui component will be + available under.
+ StringgetName() + +
+          Get the currently displayed name.
+ StringgetStaticLabel() + +
+          Get the component's label.
+ voidmodifyTestElement(TestElement wb) + +
+          GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components.
+ voidsetName(String name) + +
+          Sets the name of the JMeter GUI Component.
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.gui.JMeterGUIComponent
isEnabled, setEnabled
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+NamePanel

+
+public NamePanel()
+
+
Create a new NamePanel with the default name. +

+

+ + + + + + + + +
+Method Detail
+ +

+clearGui

+
+public void clearGui()
+
+
Description copied from interface: ClearGui
+
Clear the gui and return it to initial default values. This is necessary + because most gui classes are instantiated just once and re-used for + multiple test element objects and thus they need to be cleared between + uses. +

+

+
Specified by:
clearGui in interface ClearGui
+
+
+
+
+
+
+ +

+getName

+
+public String getName()
+
+
Get the currently displayed name. +

+

+
Specified by:
getName in interface JMeterGUIComponent
Overrides:
getName in class Component
+
+
+ +
Returns:
the current name
+
+
+
+ +

+setName

+
+public void setName(String name)
+
+
Sets the name of the JMeter GUI Component. The name of the component is + used in the Test Tree as the name of the tree node. +

+

+
Specified by:
setName in interface JMeterGUIComponent
Overrides:
setName in class Component
+
+
+
Parameters:
name - the name of the component
+
+
+
+ +

+configure

+
+public void configure(TestElement testElement)
+
+
The GUI must be able to extract the data from the TestElement and update + all GUI fields to represent those data. This method is called to allow + JMeter to show the user the GUI that represents the test element's data. +

+

+
Specified by:
configure in interface JMeterGUIComponent
+
+
+
Parameters:
testElement - the TestElement to configure
+
+
+
+ +

+createPopupMenu

+
+public JPopupMenu createPopupMenu()
+
+
When a user right-clicks on the component in the test tree, or selects + the edit menu when the component is selected, the component will be asked + to return a JPopupMenu that provides all the options available to the + user from this component. +

+

+
Specified by:
createPopupMenu in interface JMeterGUIComponent
+
+
+ +
Returns:
a JPopupMenu appropriate for the component.
+
+
+
+ +

+getStaticLabel

+
+public String getStaticLabel()
+
+
Get the component's label. This label is used in drop down lists that + give the user the option of choosing one type of component in a list of + many. It should therefore be a descriptive name for the end user to see. + It must be unique to the class. + + It is also used by Help to find the appropriate location in the + documentation. + + Normally getLabelResource() should be overridden instead of + this method; the definition of this method in AbstractJMeterGuiComponent + is intended for general use. +

+

+
Specified by:
getStaticLabel in interface JMeterGUIComponent
+
+
+ +
Returns:
GUI label for the component.
See Also:
JMeterGUIComponent.getLabelResource()
+
+
+
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+
Specified by:
getLabelResource in interface JMeterGUIComponent
+
+
+ +
Returns:
the resource name
+
+
+
+ +

+getMenuCategories

+
+public Collection<String> getMenuCategories()
+
+
This is the list of add menu categories this gui component will be + available under. For instance, if this represents a Controller, then the + MenuFactory.CONTROLLERS category should be in the returned collection. + When a user right-clicks on a tree element and looks through the "add" + menu, which category your GUI component shows up in is determined by + which categories are returned by this method. Most GUI's belong to only + one category, but it is possible for a component to exist in multiple + categories. +

+

+
Specified by:
getMenuCategories in interface JMeterGUIComponent
+
+
+ +
Returns:
a Collection of Strings, where each element is one of the + constants defined in MenuFactory
See Also:
MenuFactory
+
+
+
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
JMeter test components are separated into a model and a GUI + representation. The model holds the data and the GUI displays it. The GUI + class is responsible for knowing how to create and initialize with data + the model class that it knows how to display, and this method is called + when new test elements are created. +

+

+
Specified by:
createTestElement in interface JMeterGUIComponent
+
+
+ +
Returns:
the Test Element object that the GUI component represents.
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement wb)
+
+
GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components. This method should + overwrite whatever data is currently in the TestElement as it is called + after a user has filled out the form elements in the gui with new + information. +

+

+
Specified by:
modifyTestElement in interface JMeterGUIComponent
+
+
+
Parameters:
wb - the TestElement to modify
+
+
+
+ +

+getDocAnchor

+
+public String getDocAnchor()
+
+
Get the component's document anchor name. Used by Help to find the + appropriate location in the documentation +

+

+
Specified by:
getDocAnchor in interface JMeterGUIComponent
+
+
+ +
Returns:
Document anchor (#ref) for the component.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/OnErrorPanel.html b/docs/api/org/apache/jmeter/gui/OnErrorPanel.html new file mode 100644 index 00000000000..379c077846a --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/OnErrorPanel.html @@ -0,0 +1,399 @@ + + + + + +OnErrorPanel (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui +
+Class OnErrorPanel

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.OnErrorPanel
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible
+
+
+
+
public class OnErrorPanel
extends JPanel
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
OnErrorPanel() + +
+          Create a new NamePanel with the default name.
+  + + + + + + + + + + + + + + + +
+Method Summary
+ voidconfigure(int errorAction) + +
+           
+ intgetOnErrorSetting() + +
+           
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+OnErrorPanel

+
+public OnErrorPanel()
+
+
Create a new NamePanel with the default name. +

+

+ + + + + + + + +
+Method Detail
+ +

+configure

+
+public void configure(int errorAction)
+
+
+
+
+
+
+ +

+getOnErrorSetting

+
+public int getOnErrorSetting()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/SavePropertyDialog.html b/docs/api/org/apache/jmeter/gui/SavePropertyDialog.html new file mode 100644 index 00000000000..469a34089ab --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/SavePropertyDialog.html @@ -0,0 +1,495 @@ + + + + + +SavePropertyDialog (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui +
+Class SavePropertyDialog

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by java.awt.Window
+              extended by java.awt.Dialog
+                  extended by javax.swing.JDialog
+                      extended by org.apache.jmeter.gui.SavePropertyDialog
+
+
+
All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, RootPaneContainer, WindowConstants
+
+
+
+
public class SavePropertyDialog
extends JDialog
implements ActionListener
+ + +

+Generates Configure pop-up dialogue for Listeners from all methods in SampleSaveConfiguration + with the signature "boolean saveXXX()". + There must be a corresponding "void setXXX(boolean)" method, and a property save_XXX which is + used to name the field on the dialogue. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JDialog
JDialog.AccessibleJDialog
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Dialog
Dialog.AccessibleAWTDialog, Dialog.ModalExclusionType, Dialog.ModalityType
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Window
Window.AccessibleAWTWindow
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class javax.swing.JDialog
accessibleContext, rootPane, rootPaneCheckingEnabled
+ + + + + + + +
Fields inherited from class java.awt.Dialog
DEFAULT_MODALITY_TYPE
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface javax.swing.WindowConstants
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSE
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + + + + +
+Constructor Summary
SavePropertyDialog() + +
+           
SavePropertyDialog(Frame owner, + String title, + boolean modal, + SampleSaveConfiguration s) + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidactionPerformed(ActionEvent e) + +
+           
+ SampleSaveConfigurationgetSaveConfig() + +
+           
+ voidsetSaveConfig(SampleSaveConfiguration saveConfig) + +
+           
+ + + + + + + +
Methods inherited from class javax.swing.JDialog
addImpl, createRootPane, dialogInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, update
+ + + + + + + +
Methods inherited from class java.awt.Dialog
addNotify, getModalityType, getTitle, hide, isModal, isResizable, isUndecorated, setModal, setModalityType, setResizable, setTitle, setUndecorated, setVisible, show, toBack
+ + + + + + + +
Methods inherited from class java.awt.Window
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOwnedWindows, getOwner, getOwnerlessWindows, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isShowing, pack, paint, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeNotify, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImage, setIconImages, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, toFront
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resize, resize, setBackground, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SavePropertyDialog

+
+public SavePropertyDialog()
+
+
+
+ +

+SavePropertyDialog

+
+public SavePropertyDialog(Frame owner,
+                          String title,
+                          boolean modal,
+                          SampleSaveConfiguration s)
+
+
+
Parameters:
owner - The Frame from which the dialog is displayed
title - The string to be used as a title of this dialog
modal - specifies whether the dialog should be modal
s - The details, which sample attributes are to be saved +
Throws: +
HeadlessException - - when run headless
+
+ + + + + + + + +
+Method Detail
+ +

+actionPerformed

+
+public void actionPerformed(ActionEvent e)
+
+
+
Specified by:
actionPerformed in interface ActionListener
+
+
+
+
+
+
+ +

+getSaveConfig

+
+public SampleSaveConfiguration getSaveConfig()
+
+
+
+
+
+ +
Returns:
Returns the saveConfig.
+
+
+
+ +

+setSaveConfig

+
+public void setSaveConfig(SampleSaveConfiguration saveConfig)
+
+
+
+
+
+
Parameters:
saveConfig - The saveConfig to set.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/Searchable.html b/docs/api/org/apache/jmeter/gui/Searchable.html new file mode 100644 index 00000000000..9c7270be54f --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/Searchable.html @@ -0,0 +1,219 @@ + + + + + +Searchable (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui +
+Interface Searchable

+
+
All Known Implementing Classes:
AbstractJDBCProcessor, AbstractJDBCTestElement, AbstractListenerElement, AbstractSampler, AbstractScopedAssertion, AbstractScopedTestElement, AbstractTestElement, AbstractThreadGroup, AccessLogSampler, AjpSampler, AnchorModifier, Argument, Arguments, AuthManager, Authorization, BackendListener, BaseJMSSampler, BeanShellAssertion, BeanShellListener, BeanShellPostProcessor, BeanShellPreProcessor, BeanShellSampler, BeanShellTestElement, BeanShellTimer, BSFAssertion, BSFListener, BSFPostProcessor, BSFPreProcessor, BSFSampler, BSFTestElement, BSFTimer, CacheManager, CompareAssertion, ConfigTestElement, ConstantThroughputTimer, ConstantTimer, Cookie, CookieManager, CounterConfig, CriticalSectionController, CSVDataSet, DataSourceElement, DebugPostProcessor, DebugSampler, DNSCacheManager, DurationAssertion, Example1, Example2, Example3, ExampleSampler, ForeachController, FTPSampler, GaussianRandomTimer, GenericController, Header, HeaderManager, HTMLAssertion, HtmlExtractor, HTTPArgument, HTTPFileArg, HTTPFileArgs, HttpMirrorControl, HTTPSampler, HTTPSampler2, HTTPSamplerBase, HTTPSamplerProxy, IfController, IncludeController, InterleaveControl, JavaConfig, JavaSampler, JDBCPostProcessor, JDBCPreProcessor, JDBCSampler, JMSProperties, JMSProperty, JMSSampler, JSR223Assertion, JSR223Listener, JSR223PostProcessor, JSR223PreProcessor, JSR223Sampler, JSR223TestElement, JSR223Timer, JUnitSampler, KeystoreConfig, LDAPArgument, LDAPArguments, LDAPExtSampler, LDAPSampler, LoginConfig, LoopController, MailerModel, MailerResultCollector, MailReaderSampler, MD5HexAssertion, ModuleController, MongoScriptSampler, MongoSourceElement, MonitorStats, OnceOnlyController, OnErrorTestElement, ParamMask, ParamModifier, PoissonRandomTimer, PostThreadGroup, ProxyControl, PublisherSampler, RandomController, RandomOrderController, RandomTimer, RandomVariableConfig, RecordingController, RegexExtractor, RegExUserParameters, RemoteListenerWrapper, RemoteSampleListenerWrapper, RemoteTestListenerWrapper, RemoteThreadsListenerWrapper, ResponseAssertion, ResultAction, ResultCollector, ResultSaver, RunTime, ScriptingTestElement, SetupThreadGroup, SizeAssertion, SMIMEAssertionTestElement, SmtpSampler, SoapSampler, SubscriberSampler, SubstitutionElement, Summariser, SwitchController, SyncTimer, SystemSampler, TCPSampler, TestAction, TestFragmentController, TestPlan, ThreadGroup, ThroughputController, TransactionController, TransactionSampler, UniformRandomTimer, URLRewritingModifier, UserParameters, WebServiceSampler, WhileController, WorkBench, XMLAssertion, XMLSchemaAssertion, XPathAssertion, XPathExtractor
+
+
+
+
public interface Searchable
+ + +

+Interface for nodes that are searchable. +

+ A Searchable component will get asked for tokens, that should be used + in a search. These tokens will then be matched against a user given search + string. +

+ +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+ List<String>getSearchableTokens() + +
+          Get a list of all tokens that should be visible to searching
+  +

+ + + + + + + + +
+Method Detail
+ +

+getSearchableTokens

+
+List<String> getSearchableTokens()
+                                 throws Exception
+
+
Get a list of all tokens that should be visible to searching +

+

+ +
Returns:
List of searchable tokens +
Throws: +
Exception - when something fails while getting the searchable tokens
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/ServerPanel.html b/docs/api/org/apache/jmeter/gui/ServerPanel.html new file mode 100644 index 00000000000..3079f3925d9 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/ServerPanel.html @@ -0,0 +1,544 @@ + + + + + +ServerPanel (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui +
+Class ServerPanel

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.ServerPanel
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible
+
+
+
+
public class ServerPanel
extends JPanel
+ + +

+Common server panel implementation for use with HTTP, TCP etc samplers +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
ServerPanel() + +
+          create the target server panel.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclear() + +
+          clear all the fields
+ StringgetConnectTimeout() + +
+           
+ StringgetPort() + +
+           
+ StringgetResponseTimeout() + +
+           
+ StringgetServer() + +
+           
+ voidsetConnectTimeout(String value) + +
+           
+ voidsetPort(String value) + +
+           
+ voidsetResponseTimeout(String value) + +
+           
+ voidsetServer(String value) + +
+           
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ServerPanel

+
+public ServerPanel()
+
+
create the target server panel. +
    +
  • Server IP
  • +
  • Server Port
  • +
  • Connect Timeout
  • +
  • Response Timeout
  • +
+

+

+ + + + + + + + +
+Method Detail
+ +

+clear

+
+public void clear()
+
+
clear all the fields +

+

+
+
+
+
+ +

+getServer

+
+public String getServer()
+
+
+
+
+
+
+ +

+setServer

+
+public void setServer(String value)
+
+
+
+
+
+
+ +

+getPort

+
+public String getPort()
+
+
+
+
+
+
+ +

+setPort

+
+public void setPort(String value)
+
+
+
+
+
+
+ +

+getConnectTimeout

+
+public String getConnectTimeout()
+
+
+
+
+
+
+ +

+setConnectTimeout

+
+public void setConnectTimeout(String value)
+
+
+
+
+
+
+ +

+getResponseTimeout

+
+public String getResponseTimeout()
+
+
+
+
+
+
+ +

+setResponseTimeout

+
+public void setResponseTimeout(String value)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/Stoppable.html b/docs/api/org/apache/jmeter/gui/Stoppable.html new file mode 100644 index 00000000000..59aaf54e5b6 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/Stoppable.html @@ -0,0 +1,211 @@ + + + + + +Stoppable (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui +
+Interface Stoppable

+
+
All Known Implementing Classes:
Daemon, HttpMirrorServer
+
+
+
+
public interface Stoppable
+ + +

+Interface that identifies processes to stop on close or load of new project files +

+ +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+ voidstopServer() + +
+          Stop server
+  +

+ + + + + + + + +
+Method Detail
+ +

+stopServer

+
+void stopServer()
+
+
Stop server +

+

+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/UndoHistory.HistoryListener.html b/docs/api/org/apache/jmeter/gui/UndoHistory.HistoryListener.html new file mode 100644 index 00000000000..b2ebb4d7b3b --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/UndoHistory.HistoryListener.html @@ -0,0 +1,212 @@ + + + + + +UndoHistory.HistoryListener (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui +
+Interface UndoHistory.HistoryListener

+
+
All Known Implementing Classes:
GuiPackage
+
+
+
Enclosing class:
UndoHistory
+
+
+
+
public static interface UndoHistory.HistoryListener
+ + +

+Interface to be implemented by components interested in UndoHistory +

+ +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+ voidnotifyChangeInHistory(UndoHistory history) + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+notifyChangeInHistory

+
+void notifyChangeInHistory(UndoHistory history)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/UndoHistory.html b/docs/api/org/apache/jmeter/gui/UndoHistory.html new file mode 100644 index 00000000000..1be88adc1dc --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/UndoHistory.html @@ -0,0 +1,506 @@ + + + + + +UndoHistory (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui +
+Class UndoHistory

+
+java.lang.Object
+  extended by org.apache.jmeter.gui.UndoHistory
+
+
+
All Implemented Interfaces:
Serializable, EventListener, TreeModelListener
+
+
+
+
public class UndoHistory
extends Object
implements TreeModelListener, Serializable
+ + +

+This class serves storing Test Tree state and navigating through it + to give the undo/redo ability for test plan changes +

+ +

+

+
Since:
+
2.12
+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Nested Class Summary
+static interfaceUndoHistory.HistoryListener + +
+          Interface to be implemented by components interested in UndoHistory
+  + + + + + + + + + + +
+Constructor Summary
UndoHistory() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidadd(JMeterTreeModel treeModel, + String comment) + +
+          Add tree model copy to the history + + This method relies on the rule that the record in history made AFTER + change has been made to test plan
+ booleancanRedo() + +
+           
+ booleancanUndo() + +
+           
+ voidclear() + +
+          Clears the undo history
+ voidmoveInHistory(int offset, + JMeterTreeModel acceptorModel) + +
+          Goes through undo history, changing GUI
+ voidregisterHistoryListener(UndoHistory.HistoryListener listener) + +
+          Register HistoryListener
+ voidtreeNodesChanged(TreeModelEvent tme) + +
+          Record the changes in the node as the undo step
+ voidtreeNodesInserted(TreeModelEvent tme) + +
+          Record adding nodes as the undo step
+ voidtreeNodesRemoved(TreeModelEvent tme) + +
+          Record deleting nodes as the undo step
+ voidtreeStructureChanged(TreeModelEvent tme) + +
+          Record some other change
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+UndoHistory

+
+public UndoHistory()
+
+
+ + + + + + + + +
+Method Detail
+ +

+clear

+
+public void clear()
+
+
Clears the undo history +

+

+
+
+
+
+
+
+
+ +

+add

+
+public void add(JMeterTreeModel treeModel,
+                String comment)
+
+
Add tree model copy to the history +

+ This method relies on the rule that the record in history made AFTER + change has been made to test plan +

+

+
+
+
+
Parameters:
treeModel - JMeterTreeModel
comment - String
+
+
+
+ +

+moveInHistory

+
+public void moveInHistory(int offset,
+                          JMeterTreeModel acceptorModel)
+
+
Goes through undo history, changing GUI +

+

+
+
+
+
Parameters:
offset - the direction to go to, usually -1 for undo or 1 for redo
acceptorModel - TreeModel to accept the changes
+
+
+
+ +

+canRedo

+
+public boolean canRedo()
+
+
+
+
+
+ +
Returns:
true if remaing items
+
+
+
+ +

+canUndo

+
+public boolean canUndo()
+
+
+
+
+
+ +
Returns:
true if not at first element
+
+
+
+ +

+treeNodesChanged

+
+public void treeNodesChanged(TreeModelEvent tme)
+
+
Record the changes in the node as the undo step +

+

+
Specified by:
treeNodesChanged in interface TreeModelListener
+
+
+
Parameters:
tme - TreeModelEvent with event details
+
+
+
+ +

+treeNodesInserted

+
+public void treeNodesInserted(TreeModelEvent tme)
+
+
Record adding nodes as the undo step +

+

+
Specified by:
treeNodesInserted in interface TreeModelListener
+
+
+
Parameters:
tme - TreeModelEvent with event details
+
+
+
+ +

+treeNodesRemoved

+
+public void treeNodesRemoved(TreeModelEvent tme)
+
+
Record deleting nodes as the undo step +

+

+
Specified by:
treeNodesRemoved in interface TreeModelListener
+
+
+
Parameters:
tme - TreeModelEvent with event details
+
+
+
+ +

+treeStructureChanged

+
+public void treeStructureChanged(TreeModelEvent tme)
+
+
Record some other change +

+

+
Specified by:
treeStructureChanged in interface TreeModelListener
+
+
+
Parameters:
tme - TreeModelEvent with event details
+
+
+
+ +

+registerHistoryListener

+
+public void registerHistoryListener(UndoHistory.HistoryListener listener)
+
+
Register HistoryListener +

+

+
+
+
+
Parameters:
listener - to add to our listeners
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/UndoHistoryItem.html b/docs/api/org/apache/jmeter/gui/UndoHistoryItem.html new file mode 100644 index 00000000000..a820ccd10c8 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/UndoHistoryItem.html @@ -0,0 +1,309 @@ + + + + + +UndoHistoryItem (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui +
+Class UndoHistoryItem

+
+java.lang.Object
+  extended by org.apache.jmeter.gui.UndoHistoryItem
+
+
+
All Implemented Interfaces:
Serializable
+
+
+
+
public class UndoHistoryItem
extends Object
implements Serializable
+ + +

+Undo history item +

+ +

+

+
Since:
+
2.12
+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
UndoHistoryItem() + +
+          Deprecated. DO NOT USE
UndoHistoryItem(HashTree copy, + String acomment) + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetComment() + +
+           
+ HashTreegetTree() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+UndoHistoryItem

+
+@Deprecated
+public UndoHistoryItem()
+
+
Deprecated. DO NOT USE +

+

This constructor is for Unit test purposes only +

+

+
+ +

+UndoHistoryItem

+
+public UndoHistoryItem(HashTree copy,
+                       String acomment)
+
+
+
Parameters:
copy - HashTree
acomment - String
+
+ + + + + + + + +
+Method Detail
+ +

+getTree

+
+public HashTree getTree()
+
+
+
+
+
+ +
Returns:
HashTree
+
+
+
+ +

+getComment

+
+public String getComment()
+
+
+
+
+
+ +
Returns:
String comment
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/UnsharedComponent.html b/docs/api/org/apache/jmeter/gui/UnsharedComponent.html new file mode 100644 index 00000000000..05706f02152 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/UnsharedComponent.html @@ -0,0 +1,173 @@ + + + + + +UnsharedComponent (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui +
+Interface UnsharedComponent

+
+
All Known Implementing Classes:
AbstractVisualizer, AssertionVisualizer, BeanShellListener, ComparisonVisualizer, DistributionGraphVisualizer, GraphVisualizer, HttpMirrorControlGui, MailerVisualizer, MonitorHealthVisualizer, PropertyControlGui, ProxyControlGui, RespTimeGraphVisualizer, SimpleDataWriter, SplineVisualizer, StatGraphVisualizer, StatVisualizer, SummaryReport, TableVisualizer, ViewResultsFullVisualizer
+
+
+
+
public interface UnsharedComponent
+ + +

+Marker interface indicating that an instance of a component cannot be shared. + The GUI instance will be shared among all test elements of a given type if + the GUI component class does not implement this interface. +

+ +

+


+ +

+ +

+ +


+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/action/AboutCommand.html b/docs/api/org/apache/jmeter/gui/action/AboutCommand.html new file mode 100644 index 00000000000..03842abcc5d --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/action/AboutCommand.html @@ -0,0 +1,287 @@ + + + + + +AboutCommand (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.action +
+Class AboutCommand

+
+java.lang.Object
+  extended by org.apache.jmeter.gui.action.AboutCommand
+
+
+
All Implemented Interfaces:
Command
+
+
+
+
public class AboutCommand
extends Object
implements Command
+ + +

+About Command. It may be extended in the future to add a list of installed + protocols, config options, etc. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
AboutCommand() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ voiddoAction(ActionEvent e) + +
+          Handle the "about" action by displaying the "About Apache JMeter..."
+ Set<String>getActionNames() + +
+          Provide the list of Action names that are available in this command.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+AboutCommand

+
+public AboutCommand()
+
+
+ + + + + + + + +
+Method Detail
+ +

+doAction

+
+public void doAction(ActionEvent e)
+
+
Handle the "about" action by displaying the "About Apache JMeter..." + dialog box. The Dialog Box is NOT modal, because those should be avoided + if at all possible. +

+

+
Specified by:
doAction in interface Command
+
+
+
+
+
+
+ +

+getActionNames

+
+public Set<String> getActionNames()
+
+
Provide the list of Action names that are available in this command. +

+

+
Specified by:
getActionNames in interface Command
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/action/AbstractAction.html b/docs/api/org/apache/jmeter/gui/action/AbstractAction.html new file mode 100644 index 00000000000..75d88719b0a --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/action/AbstractAction.html @@ -0,0 +1,301 @@ + + + + + +AbstractAction (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.action +
+Class AbstractAction

+
+java.lang.Object
+  extended by org.apache.jmeter.gui.action.AbstractAction
+
+
+
All Implemented Interfaces:
Command
+
+
+
Direct Known Subclasses:
CheckDirty, Copy, CreateFunctionDialog, Cut, Duplicate, Move, Paste, RemoteStart, ResetSearchCommand, SearchTreeCommand, Start, StopStoppables, TemplatesCommand
+
+
+
+
public abstract class AbstractAction
extends Object
implements Command
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
AbstractAction() + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voiddoAction(ActionEvent e) + +
+           
+abstract  Set<String>getActionNames() + +
+           
+protected  voidpopupShouldSave(ActionEvent e) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+AbstractAction

+
+public AbstractAction()
+
+
+ + + + + + + + +
+Method Detail
+ +

+doAction

+
+public void doAction(ActionEvent e)
+
+
+
Specified by:
doAction in interface Command
+
+
+
See Also:
Command.doAction(ActionEvent)
+
+
+
+ +

+getActionNames

+
+public abstract Set<String> getActionNames()
+
+
+
Specified by:
getActionNames in interface Command
+
+
+
See Also:
Command.getActionNames()
+
+
+
+ +

+popupShouldSave

+
+protected void popupShouldSave(ActionEvent e)
+
+
+
+
+
+
Parameters:
e - the event that led to the call of this method
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/action/ActionNames.html b/docs/api/org/apache/jmeter/gui/action/ActionNames.html new file mode 100644 index 00000000000..94f12f1eebd --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/action/ActionNames.html @@ -0,0 +1,1467 @@ + + + + + +ActionNames (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.action +
+Class ActionNames

+
+java.lang.Object
+  extended by org.apache.jmeter.gui.action.ActionNames
+
+
+
+
public final class ActionNames
extends Object
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static StringABOUT + +
+           
+static StringACTION_SHUTDOWN + +
+           
+static StringACTION_START + +
+           
+static StringACTION_START_NO_TIMERS + +
+           
+static StringACTION_STOP + +
+           
+static StringADD + +
+           
+static StringADD_ALL + +
+           
+static StringADD_PARENT + +
+           
+static StringANALYZE_FILE + +
+           
+static StringCHANGE_LANGUAGE + +
+           
+static StringCHANGE_PARENT + +
+           
+static StringCHECK_DIRTY + +
+           
+static StringCHECK_REMOVE + +
+           
+static StringCLEAR + +
+           
+static StringCLEAR_ALL + +
+           
+static StringCLOSE + +
+           
+static StringCOLLAPSE_ALL + +
+           
+static StringCOPY + +
+           
+static StringCUT + +
+           
+static StringDEBUG_OFF + +
+           
+static StringDEBUG_ON + +
+           
+static StringDISABLE + +
+           
+static StringDUPLICATE + +
+          Copy, then paste afterwards
+static StringEDIT + +
+           
+static StringENABLE + +
+           
+static StringEXIT + +
+           
+static StringEXPAND_ALL + +
+           
+static StringFUNCTIONS + +
+           
+static StringHEAP_DUMP + +
+           
+static StringHELP + +
+           
+static StringLAF_PREFIX + +
+           
+static StringLOGGER_PANEL_ENABLE_DISABLE + +
+           
+static StringMERGE + +
+           
+static StringMOVE_DOWN + +
+           
+static StringMOVE_LEFT + +
+           
+static StringMOVE_RIGHT + +
+           
+static StringMOVE_UP + +
+           
+static StringOPEN + +
+           
+static StringOPEN_RECENT + +
+           
+static StringPASTE + +
+           
+static StringREDO + +
+           
+static StringREMOTE_EXIT + +
+           
+static StringREMOTE_EXIT_ALL + +
+           
+static StringREMOTE_SHUT + +
+           
+static StringREMOTE_SHUT_ALL + +
+           
+static StringREMOTE_START + +
+           
+static StringREMOTE_START_ALL + +
+           
+static StringREMOTE_STOP + +
+           
+static StringREMOTE_STOP_ALL + +
+           
+static StringREMOVE + +
+           
+static StringRESET_GUI + +
+           
+static StringREVERT_PROJECT + +
+           
+static StringSAVE + +
+           
+static StringSAVE_ALL_AS + +
+           
+static StringSAVE_AS + +
+           
+static StringSAVE_AS_TEST_FRAGMENT + +
+           
+static StringSAVE_GRAPHICS + +
+           
+static StringSAVE_GRAPHICS_ALL + +
+           
+static StringSEARCH_RESET + +
+           
+static StringSEARCH_TREE + +
+           
+static StringSSL_MANAGER + +
+           
+static StringSTOP_THREAD + +
+           
+static StringSUB_TREE_LOADED + +
+           
+static StringSUB_TREE_MERGED + +
+           
+static StringSUB_TREE_SAVED + +
+           
+static StringTEMPLATES + +
+           
+static StringTOGGLE + +
+           
+static StringTOOLBAR + +
+           
+static StringUNDO + +
+           
+static StringWHAT_CLASS + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+ABOUT

+
+public static final String ABOUT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+ACTION_SHUTDOWN

+
+public static final String ACTION_SHUTDOWN
+
+
+
See Also:
Constant Field Values
+
+
+ +

+ACTION_START

+
+public static final String ACTION_START
+
+
+
See Also:
Constant Field Values
+
+
+ +

+ACTION_START_NO_TIMERS

+
+public static final String ACTION_START_NO_TIMERS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+ACTION_STOP

+
+public static final String ACTION_STOP
+
+
+
See Also:
Constant Field Values
+
+
+ +

+ADD

+
+public static final String ADD
+
+
+
See Also:
Constant Field Values
+
+
+ +

+ADD_ALL

+
+public static final String ADD_ALL
+
+
+
See Also:
Constant Field Values
+
+
+ +

+ADD_PARENT

+
+public static final String ADD_PARENT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+ANALYZE_FILE

+
+public static final String ANALYZE_FILE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CHANGE_LANGUAGE

+
+public static final String CHANGE_LANGUAGE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CHANGE_PARENT

+
+public static final String CHANGE_PARENT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CHECK_DIRTY

+
+public static final String CHECK_DIRTY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CHECK_REMOVE

+
+public static final String CHECK_REMOVE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CLEAR

+
+public static final String CLEAR
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CLEAR_ALL

+
+public static final String CLEAR_ALL
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CLOSE

+
+public static final String CLOSE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLLAPSE_ALL

+
+public static final String COLLAPSE_ALL
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COPY

+
+public static final String COPY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CUT

+
+public static final String CUT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DEBUG_ON

+
+public static final String DEBUG_ON
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DEBUG_OFF

+
+public static final String DEBUG_OFF
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DISABLE

+
+public static final String DISABLE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DUPLICATE

+
+public static final String DUPLICATE
+
+
Copy, then paste afterwards +

+

+
See Also:
Constant Field Values
+
+
+ +

+EDIT

+
+public static final String EDIT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+ENABLE

+
+public static final String ENABLE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+EXIT

+
+public static final String EXIT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+EXPAND_ALL

+
+public static final String EXPAND_ALL
+
+
+
See Also:
Constant Field Values
+
+
+ +

+FUNCTIONS

+
+public static final String FUNCTIONS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+HELP

+
+public static final String HELP
+
+
+
See Also:
Constant Field Values
+
+
+ +

+HEAP_DUMP

+
+public static final String HEAP_DUMP
+
+
+
See Also:
Constant Field Values
+
+
+ +

+LAF_PREFIX

+
+public static final String LAF_PREFIX
+
+
+
See Also:
Constant Field Values
+
+
+ +

+LOGGER_PANEL_ENABLE_DISABLE

+
+public static final String LOGGER_PANEL_ENABLE_DISABLE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+MERGE

+
+public static final String MERGE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+OPEN

+
+public static final String OPEN
+
+
+
See Also:
Constant Field Values
+
+
+ +

+OPEN_RECENT

+
+public static final String OPEN_RECENT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+TEMPLATES

+
+public static final String TEMPLATES
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PASTE

+
+public static final String PASTE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+REMOTE_EXIT

+
+public static final String REMOTE_EXIT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+REMOTE_EXIT_ALL

+
+public static final String REMOTE_EXIT_ALL
+
+
+
See Also:
Constant Field Values
+
+
+ +

+REMOTE_SHUT

+
+public static final String REMOTE_SHUT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+REMOTE_SHUT_ALL

+
+public static final String REMOTE_SHUT_ALL
+
+
+
See Also:
Constant Field Values
+
+
+ +

+REMOTE_START

+
+public static final String REMOTE_START
+
+
+
See Also:
Constant Field Values
+
+
+ +

+REMOTE_START_ALL

+
+public static final String REMOTE_START_ALL
+
+
+
See Also:
Constant Field Values
+
+
+ +

+REMOTE_STOP

+
+public static final String REMOTE_STOP
+
+
+
See Also:
Constant Field Values
+
+
+ +

+REMOTE_STOP_ALL

+
+public static final String REMOTE_STOP_ALL
+
+
+
See Also:
Constant Field Values
+
+
+ +

+REMOVE

+
+public static final String REMOVE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+RESET_GUI

+
+public static final String RESET_GUI
+
+
+
See Also:
Constant Field Values
+
+
+ +

+REVERT_PROJECT

+
+public static final String REVERT_PROJECT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+SAVE

+
+public static final String SAVE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+SAVE_ALL_AS

+
+public static final String SAVE_ALL_AS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+SAVE_AS

+
+public static final String SAVE_AS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+SAVE_AS_TEST_FRAGMENT

+
+public static final String SAVE_AS_TEST_FRAGMENT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+SAVE_GRAPHICS

+
+public static final String SAVE_GRAPHICS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+SAVE_GRAPHICS_ALL

+
+public static final String SAVE_GRAPHICS_ALL
+
+
+
See Also:
Constant Field Values
+
+
+ +

+SSL_MANAGER

+
+public static final String SSL_MANAGER
+
+
+
See Also:
Constant Field Values
+
+
+ +

+STOP_THREAD

+
+public static final String STOP_THREAD
+
+
+
See Also:
Constant Field Values
+
+
+ +

+SUB_TREE_LOADED

+
+public static final String SUB_TREE_LOADED
+
+
+
See Also:
Constant Field Values
+
+
+ +

+SUB_TREE_MERGED

+
+public static final String SUB_TREE_MERGED
+
+
+
See Also:
Constant Field Values
+
+
+ +

+SUB_TREE_SAVED

+
+public static final String SUB_TREE_SAVED
+
+
+
See Also:
Constant Field Values
+
+
+ +

+TOGGLE

+
+public static final String TOGGLE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+TOOLBAR

+
+public static final String TOOLBAR
+
+
+
See Also:
Constant Field Values
+
+
+ +

+WHAT_CLASS

+
+public static final String WHAT_CLASS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+SEARCH_TREE

+
+public static final String SEARCH_TREE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+SEARCH_RESET

+
+public static final String SEARCH_RESET
+
+
+
See Also:
Constant Field Values
+
+
+ +

+MOVE_UP

+
+public static final String MOVE_UP
+
+
+
See Also:
Constant Field Values
+
+
+ +

+MOVE_DOWN

+
+public static final String MOVE_DOWN
+
+
+
See Also:
Constant Field Values
+
+
+ +

+MOVE_LEFT

+
+public static final String MOVE_LEFT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+MOVE_RIGHT

+
+public static final String MOVE_RIGHT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+UNDO

+
+public static final String UNDO
+
+
+
See Also:
Constant Field Values
+
+
+ +

+REDO

+
+public static final String REDO
+
+
+
See Also:
Constant Field Values
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/action/ActionRouter.html b/docs/api/org/apache/jmeter/gui/action/ActionRouter.html new file mode 100644 index 00000000000..c0991fbb78e --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/action/ActionRouter.html @@ -0,0 +1,526 @@ + + + + + +ActionRouter (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.action +
+Class ActionRouter

+
+java.lang.Object
+  extended by org.apache.jmeter.gui.action.ActionRouter
+
+
+
All Implemented Interfaces:
ActionListener, EventListener
+
+
+
+
public final class ActionRouter
extends Object
implements ActionListener
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidactionPerformed(ActionEvent e) + +
+           
+ voidaddPostActionListener(Class<?> action, + ActionListener listener) + +
+          Allows an ActionListener to receive notification of a command being + executed after the command has executed.
+ voidaddPreActionListener(Class<?> action, + ActionListener listener) + +
+          Allows an ActionListener to receive notification of a command being + executed prior to the actual execution of the command.
+ voiddoActionNow(ActionEvent e) + +
+          To execute an action immediately in the current thread.
+ Set<Command>getAction(String actionName) + +
+          Get the set of Commands registered under the name + actionName
+ CommandgetAction(String actionName, + Class<?> actionClass) + +
+          Get the Command registered under the name actionName, + that is of Class actionClass
+ CommandgetAction(String actionName, + String className) + +
+          Get the Command registered under the name actionName + , which class names are equal to className
+static ActionRoutergetInstance() + +
+          Gets the Instance attribute of the ActionRouter class
+protected  voidpostActionPerformed(Class<? extends Command> action, + ActionEvent e) + +
+           
+protected  voidpreActionPerformed(Class<? extends Command> action, + ActionEvent e) + +
+           
+ voidremovePostActionListener(Class<?> action, + ActionListener listener) + +
+          Allows an ActionListener to be removed from receiving notifications of a + command being executed after the command has executed.
+ voidremovePreActionListener(Class<?> action, + ActionListener listener) + +
+          Allows an ActionListener to be removed from receiving notifications of a + command being executed prior to the actual execution of the command.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+actionPerformed

+
+public void actionPerformed(ActionEvent e)
+
+
+
Specified by:
actionPerformed in interface ActionListener
+
+
+
+
+
+
+ +

+doActionNow

+
+public void doActionNow(ActionEvent e)
+
+
To execute an action immediately in the current thread. +

+

+
+
+
+
Parameters:
e - the action to execute
+
+
+
+ +

+getAction

+
+public Set<Command> getAction(String actionName)
+
+
Get the set of Commands registered under the name + actionName +

+

+
+
+
+
Parameters:
actionName - The name the Commands were registered +
Returns:
a set with all registered Commands for + actionName
+
+
+
+ +

+getAction

+
+public Command getAction(String actionName,
+                         Class<?> actionClass)
+
+
Get the Command registered under the name actionName, + that is of Class actionClass +

+

+
+
+
+
Parameters:
actionName - The name the Commands were registered
actionClass - The class the Commands should be equal to +
Returns:
The registered Command for actionName, or + null if none could be found
+
+
+
+ +

+getAction

+
+public Command getAction(String actionName,
+                         String className)
+
+
Get the Command registered under the name actionName + , which class names are equal to className +

+

+
+
+
+
Parameters:
actionName - The name the Commands were registered
className - The name of the class the Commands should be equal to +
Returns:
The Command for actionName or + null if none could be found
+
+
+
+ +

+addPreActionListener

+
+public void addPreActionListener(Class<?> action,
+                                 ActionListener listener)
+
+
Allows an ActionListener to receive notification of a command being + executed prior to the actual execution of the command. +

+

+
+
+
+
Parameters:
action - the Class of the command for which the listener will + notifications for. Class must extend + org.apache.jmeter.gui.action.Command.
listener - the ActionListener to receive the notifications
+
+
+
+ +

+removePreActionListener

+
+public void removePreActionListener(Class<?> action,
+                                    ActionListener listener)
+
+
Allows an ActionListener to be removed from receiving notifications of a + command being executed prior to the actual execution of the command. +

+

+
+
+
+
Parameters:
action - the Class of the command for which the listener will + notifications for. Class must extend + org.apache.jmeter.gui.action.Command.
listener - the ActionListener to receive the notifications
+
+
+
+ +

+addPostActionListener

+
+public void addPostActionListener(Class<?> action,
+                                  ActionListener listener)
+
+
Allows an ActionListener to receive notification of a command being + executed after the command has executed. +

+

+
+
+
+
Parameters:
action - the Class of the command for which the listener will + notifications for. Class must extend + org.apache.jmeter.gui.action.Command.
listener - The ActionListener to be registered
+
+
+
+ +

+removePostActionListener

+
+public void removePostActionListener(Class<?> action,
+                                     ActionListener listener)
+
+
Allows an ActionListener to be removed from receiving notifications of a + command being executed after the command has executed. +

+

+
+
+
+
Parameters:
action - the Class of the command for which the listener will + notifications for. Class must extend + org.apache.jmeter.gui.action.Command.
listener - The ActionListener that should be deregistered
+
+
+
+ +

+preActionPerformed

+
+protected void preActionPerformed(Class<? extends Command> action,
+                                  ActionEvent e)
+
+
+
+
+
+
+
+
+
+ +

+postActionPerformed

+
+protected void postActionPerformed(Class<? extends Command> action,
+                                   ActionEvent e)
+
+
+
+
+
+
+
+
+
+ +

+getInstance

+
+public static ActionRouter getInstance()
+
+
Gets the Instance attribute of the ActionRouter class +

+

+
+
+
+ +
Returns:
The Instance value
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/action/AddParent.html b/docs/api/org/apache/jmeter/gui/action/AddParent.html new file mode 100644 index 00000000000..3037b33c5b2 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/action/AddParent.html @@ -0,0 +1,302 @@ + + + + + +AddParent (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.action +
+Class AddParent

+
+java.lang.Object
+  extended by org.apache.jmeter.gui.action.AddParent
+
+
+
All Implemented Interfaces:
Command
+
+
+
+
public class AddParent
extends Object
implements Command
+ + +

+Implements the Add Parent menu command +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
AddParent() + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+protected  voidaddParentToTree(TestElement newParent) + +
+           
+ voiddoAction(ActionEvent e) + +
+           
+ Set<String>getActionNames() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+AddParent

+
+public AddParent()
+
+
+ + + + + + + + +
+Method Detail
+ +

+doAction

+
+public void doAction(ActionEvent e)
+
+
+
Specified by:
doAction in interface Command
+
+
+
+
+
+
+ +

+getActionNames

+
+public Set<String> getActionNames()
+
+
+
Specified by:
getActionNames in interface Command
+
+
+
+
+
+
+ +

+addParentToTree

+
+protected void addParentToTree(TestElement newParent)
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/action/AddToTree.html b/docs/api/org/apache/jmeter/gui/action/AddToTree.html new file mode 100644 index 00000000000..467ab30c5e0 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/action/AddToTree.html @@ -0,0 +1,281 @@ + + + + + +AddToTree (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.action +
+Class AddToTree

+
+java.lang.Object
+  extended by org.apache.jmeter.gui.action.AddToTree
+
+
+
All Implemented Interfaces:
Command
+
+
+
+
public class AddToTree
extends Object
implements Command
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
AddToTree() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ voiddoAction(ActionEvent e) + +
+          Adds the specified class to the current node of the tree.
+ Set<String>getActionNames() + +
+          Gets the Set of actions this Command class responds to.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+AddToTree

+
+public AddToTree()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getActionNames

+
+public Set<String> getActionNames()
+
+
Gets the Set of actions this Command class responds to. +

+

+
Specified by:
getActionNames in interface Command
+
+
+ +
Returns:
the ActionNames value
+
+
+
+ +

+doAction

+
+public void doAction(ActionEvent e)
+
+
Adds the specified class to the current node of the tree. +

+

+
Specified by:
doAction in interface Command
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/action/Analyze.html b/docs/api/org/apache/jmeter/gui/action/Analyze.html new file mode 100644 index 00000000000..c6ec924af68 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/action/Analyze.html @@ -0,0 +1,276 @@ + + + + + +Analyze (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.action +
+Class Analyze

+
+java.lang.Object
+  extended by org.apache.jmeter.gui.action.Analyze
+
+
+
All Implemented Interfaces:
Command
+
+
+
+
public class Analyze
extends Object
implements Command
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
Analyze() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ voiddoAction(ActionEvent e) + +
+           
+ Set<String>getActionNames() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Analyze

+
+public Analyze()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getActionNames

+
+public Set<String> getActionNames()
+
+
+
Specified by:
getActionNames in interface Command
+
+
+
+
+
+
+ +

+doAction

+
+public void doAction(ActionEvent e)
+
+
+
Specified by:
doAction in interface Command
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/action/ChangeLanguage.html b/docs/api/org/apache/jmeter/gui/action/ChangeLanguage.html new file mode 100644 index 00000000000..5429109e395 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/action/ChangeLanguage.html @@ -0,0 +1,280 @@ + + + + + +ChangeLanguage (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.action +
+Class ChangeLanguage

+
+java.lang.Object
+  extended by org.apache.jmeter.gui.action.ChangeLanguage
+
+
+
All Implemented Interfaces:
Command
+
+
+
+
public class ChangeLanguage
extends Object
implements Command
+ + +

+

+
Version:
+
$Revision: 1413956 $
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
ChangeLanguage() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ voiddoAction(ActionEvent e) + +
+           
+ Set<String>getActionNames() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ChangeLanguage

+
+public ChangeLanguage()
+
+
+ + + + + + + + +
+Method Detail
+ +

+doAction

+
+public void doAction(ActionEvent e)
+
+
+
Specified by:
doAction in interface Command
+
+
+
See Also:
Command.doAction(ActionEvent)
+
+
+
+ +

+getActionNames

+
+public Set<String> getActionNames()
+
+
+
Specified by:
getActionNames in interface Command
+
+
+
See Also:
Command.getActionNames()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/action/ChangeParent.html b/docs/api/org/apache/jmeter/gui/action/ChangeParent.html new file mode 100644 index 00000000000..f9871811669 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/action/ChangeParent.html @@ -0,0 +1,280 @@ + + + + + +ChangeParent (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.action +
+Class ChangeParent

+
+java.lang.Object
+  extended by org.apache.jmeter.gui.action.ChangeParent
+
+
+
All Implemented Interfaces:
Command
+
+
+
+
public class ChangeParent
extends Object
implements Command
+ + +

+Implements the Add Parent menu command +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
ChangeParent() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ voiddoAction(ActionEvent e) + +
+           
+ Set<String>getActionNames() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ChangeParent

+
+public ChangeParent()
+
+
+ + + + + + + + +
+Method Detail
+ +

+doAction

+
+public void doAction(ActionEvent e)
+
+
+
Specified by:
doAction in interface Command
+
+
+
+
+
+
+ +

+getActionNames

+
+public Set<String> getActionNames()
+
+
+
Specified by:
getActionNames in interface Command
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/action/CheckDirty.html b/docs/api/org/apache/jmeter/gui/action/CheckDirty.html new file mode 100644 index 00000000000..920eeaf7eee --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/action/CheckDirty.html @@ -0,0 +1,393 @@ + + + + + +CheckDirty (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.action +
+Class CheckDirty

+
+java.lang.Object
+  extended by org.apache.jmeter.gui.action.AbstractAction
+      extended by org.apache.jmeter.gui.action.CheckDirty
+
+
+
All Implemented Interfaces:
ActionListener, EventListener, Command, HashTreeTraverser
+
+
+
+
public class CheckDirty
extends AbstractAction
implements HashTreeTraverser, ActionListener
+ + +

+Check if the TestPlan has been changed since it was last saved +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
CheckDirty() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidactionPerformed(ActionEvent e) + +
+           
+ voidaddNode(Object node, + HashTree subTree) + +
+          The tree traverses itself depth-first, calling addNode for each + object it encounters as it goes.
+ voiddoAction(ActionEvent e) + +
+           
+ Set<String>getActionNames() + +
+           
+ voidprocessPath() + +
+          Process path is called when a leaf is reached.
+ voidsubtractNode() + +
+          Indicates traversal has moved up a step, and the visitor should remove + the top node from it's stack structure.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.action.AbstractAction
popupShouldSave
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+CheckDirty

+
+public CheckDirty()
+
+
+ + + + + + + + +
+Method Detail
+ +

+actionPerformed

+
+public void actionPerformed(ActionEvent e)
+
+
+
Specified by:
actionPerformed in interface ActionListener
+
+
+
+
+
+
+ +

+doAction

+
+public void doAction(ActionEvent e)
+
+
+
Specified by:
doAction in interface Command
Overrides:
doAction in class AbstractAction
+
+
+
See Also:
Command.doAction(ActionEvent)
+
+
+
+ +

+addNode

+
+public void addNode(Object node,
+                    HashTree subTree)
+
+
The tree traverses itself depth-first, calling addNode for each + object it encounters as it goes. +

+

+
Specified by:
addNode in interface HashTreeTraverser
+
+
+
Parameters:
node - the node currently encountered
subTree - the HashTree under the node encountered
+
+
+
+ +

+subtractNode

+
+public void subtractNode()
+
+
Indicates traversal has moved up a step, and the visitor should remove + the top node from it's stack structure. +

+

+
Specified by:
subtractNode in interface HashTreeTraverser
+
+
+
+
+
+
+ +

+processPath

+
+public void processPath()
+
+
Process path is called when a leaf is reached. If a visitor wishes to + generate Lists of path elements to each leaf, it should keep a Stack data + structure of nodes passed to it with addNode, and removing top items for + every subtractNode() call. +

+

+
Specified by:
processPath in interface HashTreeTraverser
+
+
+
+
+
+
+ +

+getActionNames

+
+public Set<String> getActionNames()
+
+
+
Specified by:
getActionNames in interface Command
Specified by:
getActionNames in class AbstractAction
+
+
+
See Also:
Command.getActionNames()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/action/Clear.html b/docs/api/org/apache/jmeter/gui/action/Clear.html new file mode 100644 index 00000000000..ac7da17a248 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/action/Clear.html @@ -0,0 +1,283 @@ + + + + + +Clear (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.action +
+Class Clear

+
+java.lang.Object
+  extended by org.apache.jmeter.gui.action.Clear
+
+
+
All Implemented Interfaces:
Command
+
+
+
+
public class Clear
extends Object
implements Command
+ + +

+Handles the following actions: + - Clear (Data) + - Clear All (Data) + - Reset (Clear GUI) +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
Clear() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ voiddoAction(ActionEvent e) + +
+           
+ Set<String>getActionNames() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Clear

+
+public Clear()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getActionNames

+
+public Set<String> getActionNames()
+
+
+
Specified by:
getActionNames in interface Command
+
+
+
+
+
+
+ +

+doAction

+
+public void doAction(ActionEvent e)
+
+
+
Specified by:
doAction in interface Command
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/action/Close.html b/docs/api/org/apache/jmeter/gui/action/Close.html new file mode 100644 index 00000000000..9645f622133 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/action/Close.html @@ -0,0 +1,288 @@ + + + + + +Close (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.action +
+Class Close

+
+java.lang.Object
+  extended by org.apache.jmeter.gui.action.Close
+
+
+
All Implemented Interfaces:
Command
+
+
+
+
public class Close
extends Object
implements Command
+ + +

+This command clears the existing test plan, allowing the creation of a New + test plan. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
Close() + +
+          Constructor for the Close object.
+  + + + + + + + + + + + + + + + +
+Method Summary
+ voiddoAction(ActionEvent e) + +
+          This method performs the actual command processing.
+ Set<String>getActionNames() + +
+          Gets the ActionNames attribute of the Close object.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Close

+
+public Close()
+
+
Constructor for the Close object. +

+

+ + + + + + + + +
+Method Detail
+ +

+getActionNames

+
+public Set<String> getActionNames()
+
+
Gets the ActionNames attribute of the Close object. +

+

+
Specified by:
getActionNames in interface Command
+
+
+ +
Returns:
the ActionNames value
+
+
+
+ +

+doAction

+
+public void doAction(ActionEvent e)
+
+
This method performs the actual command processing. +

+

+
Specified by:
doAction in interface Command
+
+
+
Parameters:
e - the generic UI action event
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/action/CollapseExpand.html b/docs/api/org/apache/jmeter/gui/action/CollapseExpand.html new file mode 100644 index 00000000000..8dbe4400e87 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/action/CollapseExpand.html @@ -0,0 +1,287 @@ + + + + + +CollapseExpand (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.action +
+Class CollapseExpand

+
+java.lang.Object
+  extended by org.apache.jmeter.gui.action.CollapseExpand
+
+
+
All Implemented Interfaces:
Command
+
+
+
+
public class CollapseExpand
extends Object
implements Command
+ + +

+Processes the Collapse All and Expand All options. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
CollapseExpand() + +
+          Constructor for the Close object.
+  + + + + + + + + + + + + + + + +
+Method Summary
+ voiddoAction(ActionEvent e) + +
+          This method performs the actual command processing.
+ Set<String>getActionNames() + +
+          Gets the ActionNames attribute of the Close object.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+CollapseExpand

+
+public CollapseExpand()
+
+
Constructor for the Close object. +

+

+ + + + + + + + +
+Method Detail
+ +

+getActionNames

+
+public Set<String> getActionNames()
+
+
Gets the ActionNames attribute of the Close object. +

+

+
Specified by:
getActionNames in interface Command
+
+
+ +
Returns:
the ActionNames value
+
+
+
+ +

+doAction

+
+public void doAction(ActionEvent e)
+
+
This method performs the actual command processing. +

+

+
Specified by:
doAction in interface Command
+
+
+
Parameters:
e - the generic UI action event
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/action/Command.html b/docs/api/org/apache/jmeter/gui/action/Command.html new file mode 100644 index 00000000000..7c071377db9 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/action/Command.html @@ -0,0 +1,227 @@ + + + + + +Command (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.action +
+Interface Command

+
+
All Known Implementing Classes:
AboutCommand, AbstractAction, AddParent, AddToTree, Analyze, ChangeLanguage, ChangeParent, CheckDirty, Clear, Close, CollapseExpand, Copy, CreateFunctionDialog, Cut, Duplicate, EditCommand, EnableComponent, ExitCommand, Help, Load, LoadRecentProject, LoggerPanelEnableDisable, LookAndFeelCommand, Move, Paste, RemoteStart, Remove, ResetSearchCommand, RevertProject, Save, SaveGraphics, SearchTreeCommand, SSLManagerCommand, Start, StopStoppables, TemplatesCommand, ToolBar, UndoCommand, What
+
+
+
+
public interface Command
+ + +

+


+ +

+ + + + + + + + + + + + + + + + +
+Method Summary
+ voiddoAction(ActionEvent e) + +
+           
+ Set<String>getActionNames() + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+doAction

+
+void doAction(ActionEvent e)
+              throws IllegalUserActionException
+
+
+ +
Throws: +
IllegalUserActionException
+
+
+
+ +

+getActionNames

+
+Set<String> getActionNames()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/action/Copy.html b/docs/api/org/apache/jmeter/gui/action/Copy.html new file mode 100644 index 00000000000..a62023943c7 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/action/Copy.html @@ -0,0 +1,366 @@ + + + + + +Copy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.action +
+Class Copy

+
+java.lang.Object
+  extended by org.apache.jmeter.gui.action.AbstractAction
+      extended by org.apache.jmeter.gui.action.Copy
+
+
+
All Implemented Interfaces:
Command
+
+
+
+
public class Copy
extends AbstractAction
+ + +

+Implements the Copy menu command +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
Copy() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static JMeterTreeNodecloneTreeNode(JMeterTreeNode node) + +
+           
+static JMeterTreeNode[]cloneTreeNodes(JMeterTreeNode[] nodes) + +
+           
+ voiddoAction(ActionEvent e) + +
+           
+ Set<String>getActionNames() + +
+           
+static JMeterTreeNode[]getCopiedNodes() + +
+           
+static voidsetCopiedNodes(JMeterTreeNode[] nodes) + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.action.AbstractAction
popupShouldSave
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Copy

+
+public Copy()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getActionNames

+
+public Set<String> getActionNames()
+
+
+
Specified by:
getActionNames in interface Command
Specified by:
getActionNames in class AbstractAction
+
+
+
See Also:
Command.getActionNames()
+
+
+
+ +

+doAction

+
+public void doAction(ActionEvent e)
+
+
+
Specified by:
doAction in interface Command
Overrides:
doAction in class AbstractAction
+
+
+
See Also:
Command.doAction(ActionEvent)
+
+
+
+ +

+getCopiedNodes

+
+public static JMeterTreeNode[] getCopiedNodes()
+
+
+
+
+
+
+ +

+cloneTreeNode

+
+public static JMeterTreeNode cloneTreeNode(JMeterTreeNode node)
+
+
+
+
+
+
+ +

+setCopiedNodes

+
+public static void setCopiedNodes(JMeterTreeNode[] nodes)
+
+
+
+
+
+
+ +

+cloneTreeNodes

+
+public static JMeterTreeNode[] cloneTreeNodes(JMeterTreeNode[] nodes)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/action/CreateFunctionDialog.html b/docs/api/org/apache/jmeter/gui/action/CreateFunctionDialog.html new file mode 100644 index 00000000000..9a85050e95d --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/action/CreateFunctionDialog.html @@ -0,0 +1,288 @@ + + + + + +CreateFunctionDialog (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.action +
+Class CreateFunctionDialog

+
+java.lang.Object
+  extended by org.apache.jmeter.gui.action.AbstractAction
+      extended by org.apache.jmeter.gui.action.CreateFunctionDialog
+
+
+
All Implemented Interfaces:
Command
+
+
+
+
public class CreateFunctionDialog
extends AbstractAction
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
CreateFunctionDialog() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ voiddoAction(ActionEvent arg0) + +
+           
+ Set<String>getActionNames() + +
+          Provide the list of Action names that are available in this command.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.action.AbstractAction
popupShouldSave
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+CreateFunctionDialog

+
+public CreateFunctionDialog()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getActionNames

+
+public Set<String> getActionNames()
+
+
Provide the list of Action names that are available in this command. +

+

+
Specified by:
getActionNames in interface Command
Specified by:
getActionNames in class AbstractAction
+
+
+
See Also:
Command.getActionNames()
+
+
+
+ +

+doAction

+
+public void doAction(ActionEvent arg0)
+
+
+
Specified by:
doAction in interface Command
Overrides:
doAction in class AbstractAction
+
+
+
See Also:
Command.doAction(ActionEvent)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/action/Cut.html b/docs/api/org/apache/jmeter/gui/action/Cut.html new file mode 100644 index 00000000000..0477ee7053b --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/action/Cut.html @@ -0,0 +1,290 @@ + + + + + +Cut (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.action +
+Class Cut

+
+java.lang.Object
+  extended by org.apache.jmeter.gui.action.AbstractAction
+      extended by org.apache.jmeter.gui.action.Cut
+
+
+
All Implemented Interfaces:
Command
+
+
+
+
public class Cut
extends AbstractAction
+ + +

+Implements the Cut menu item command +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
Cut() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ voiddoAction(ActionEvent e) + +
+           
+ Set<String>getActionNames() + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.action.AbstractAction
popupShouldSave
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Cut

+
+public Cut()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getActionNames

+
+public Set<String> getActionNames()
+
+
+
Specified by:
getActionNames in interface Command
Specified by:
getActionNames in class AbstractAction
+
+
+
See Also:
Command.getActionNames()
+
+
+
+ +

+doAction

+
+public void doAction(ActionEvent e)
+
+
+
Specified by:
doAction in interface Command
Overrides:
doAction in class AbstractAction
+
+
+
See Also:
Command.doAction(ActionEvent)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/action/Duplicate.html b/docs/api/org/apache/jmeter/gui/action/Duplicate.html new file mode 100644 index 00000000000..1202f75eb1c --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/action/Duplicate.html @@ -0,0 +1,290 @@ + + + + + +Duplicate (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.action +
+Class Duplicate

+
+java.lang.Object
+  extended by org.apache.jmeter.gui.action.AbstractAction
+      extended by org.apache.jmeter.gui.action.Duplicate
+
+
+
All Implemented Interfaces:
Command
+
+
+
+
public class Duplicate
extends AbstractAction
+ + +

+Implements the Duplicate menu command +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
Duplicate() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ voiddoAction(ActionEvent e) + +
+           
+ Set<String>getActionNames() + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.action.AbstractAction
popupShouldSave
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Duplicate

+
+public Duplicate()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getActionNames

+
+public Set<String> getActionNames()
+
+
+
Specified by:
getActionNames in interface Command
Specified by:
getActionNames in class AbstractAction
+
+
+
See Also:
Command.getActionNames()
+
+
+
+ +

+doAction

+
+public void doAction(ActionEvent e)
+
+
+
Specified by:
doAction in interface Command
Overrides:
doAction in class AbstractAction
+
+
+
See Also:
Command.doAction(ActionEvent)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/action/EditCommand.html b/docs/api/org/apache/jmeter/gui/action/EditCommand.html new file mode 100644 index 00000000000..74c6f999f82 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/action/EditCommand.html @@ -0,0 +1,280 @@ + + + + + +EditCommand (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.action +
+Class EditCommand

+
+java.lang.Object
+  extended by org.apache.jmeter.gui.action.EditCommand
+
+
+
All Implemented Interfaces:
Command
+
+
+
+
public class EditCommand
extends Object
implements Command
+ + +

+Implements the Edit menu item. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
EditCommand() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ voiddoAction(ActionEvent e) + +
+           
+ Set<String>getActionNames() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+EditCommand

+
+public EditCommand()
+
+
+ + + + + + + + +
+Method Detail
+ +

+doAction

+
+public void doAction(ActionEvent e)
+
+
+
Specified by:
doAction in interface Command
+
+
+
+
+
+
+ +

+getActionNames

+
+public Set<String> getActionNames()
+
+
+
Specified by:
getActionNames in interface Command
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/action/EnableComponent.html b/docs/api/org/apache/jmeter/gui/action/EnableComponent.html new file mode 100644 index 00000000000..b70b4f0f630 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/action/EnableComponent.html @@ -0,0 +1,280 @@ + + + + + +EnableComponent (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.action +
+Class EnableComponent

+
+java.lang.Object
+  extended by org.apache.jmeter.gui.action.EnableComponent
+
+
+
All Implemented Interfaces:
Command
+
+
+
+
public class EnableComponent
extends Object
implements Command
+ + +

+Implements the Enable menu item. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
EnableComponent() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ voiddoAction(ActionEvent e) + +
+           
+ Set<String>getActionNames() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+EnableComponent

+
+public EnableComponent()
+
+
+ + + + + + + + +
+Method Detail
+ +

+doAction

+
+public void doAction(ActionEvent e)
+
+
+
Specified by:
doAction in interface Command
+
+
+
See Also:
Command.doAction(ActionEvent)
+
+
+
+ +

+getActionNames

+
+public Set<String> getActionNames()
+
+
+
Specified by:
getActionNames in interface Command
+
+
+
See Also:
Command.getActionNames()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/action/ExitCommand.html b/docs/api/org/apache/jmeter/gui/action/ExitCommand.html new file mode 100644 index 00000000000..53ee272be35 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/action/ExitCommand.html @@ -0,0 +1,283 @@ + + + + + +ExitCommand (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.action +
+Class ExitCommand

+
+java.lang.Object
+  extended by org.apache.jmeter.gui.action.ExitCommand
+
+
+
All Implemented Interfaces:
Command
+
+
+
+
public class ExitCommand
extends Object
implements Command
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
ExitCommand() + +
+          Constructor for the ExitCommand object
+  + + + + + + + + + + + + + + + +
+Method Summary
+ voiddoAction(ActionEvent e) + +
+          Description of the Method
+ Set<String>getActionNames() + +
+          Gets the ActionNames attribute of the ExitCommand object
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ExitCommand

+
+public ExitCommand()
+
+
Constructor for the ExitCommand object +

+

+ + + + + + + + +
+Method Detail
+ +

+getActionNames

+
+public Set<String> getActionNames()
+
+
Gets the ActionNames attribute of the ExitCommand object +

+

+
Specified by:
getActionNames in interface Command
+
+
+ +
Returns:
The ActionNames value
+
+
+
+ +

+doAction

+
+public void doAction(ActionEvent e)
+
+
Description of the Method +

+

+
Specified by:
doAction in interface Command
+
+
+
Parameters:
e - Description of Parameter
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/action/Help.html b/docs/api/org/apache/jmeter/gui/action/Help.html new file mode 100644 index 00000000000..81e332fc878 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/action/Help.html @@ -0,0 +1,316 @@ + + + + + +Help (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.action +
+Class Help

+
+java.lang.Object
+  extended by org.apache.jmeter.gui.action.Help
+
+
+
All Implemented Interfaces:
Command
+
+
+
+
public class Help
extends Object
implements Command
+ + +

+Implements the Help menu item. +

+ +

+


+ +

+ + + + + + + + + + + +
+Field Summary
+static StringHELP_FUNCTIONS + +
+           
+  + + + + + + + + + + +
+Constructor Summary
Help() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ voiddoAction(ActionEvent e) + +
+           
+ Set<String>getActionNames() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+HELP_FUNCTIONS

+
+public static final String HELP_FUNCTIONS
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+Help

+
+public Help()
+
+
+ + + + + + + + +
+Method Detail
+ +

+doAction

+
+public void doAction(ActionEvent e)
+
+
+
Specified by:
doAction in interface Command
+
+
+
See Also:
Command.doAction(ActionEvent)
+
+
+
+ +

+getActionNames

+
+public Set<String> getActionNames()
+
+
+
Specified by:
getActionNames in interface Command
+
+
+
See Also:
Command.getActionNames()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/action/KeyStrokes.html b/docs/api/org/apache/jmeter/gui/action/KeyStrokes.html new file mode 100644 index 00000000000..4cfc48c9593 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/action/KeyStrokes.html @@ -0,0 +1,886 @@ + + + + + +KeyStrokes (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.action +
+Class KeyStrokes

+
+java.lang.Object
+  extended by org.apache.jmeter.gui.action.KeyStrokes
+
+
+
+
public final class KeyStrokes
extends Object
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static KeyStrokeACTION_SHUTDOWN + +
+           
+static KeyStrokeACTION_START + +
+           
+static KeyStrokeACTION_STOP + +
+           
+static KeyStrokeALT_DOWN_ARROW + +
+           
+static KeyStrokeALT_LEFT_ARROW + +
+           
+static KeyStrokeALT_RIGHT_ARROW + +
+           
+static KeyStrokeALT_UP_ARROW + +
+           
+static KeyStrokeCLEAR + +
+           
+static KeyStrokeCLEAR_ALL + +
+           
+static KeyStrokeCLOSE + +
+           
+static KeyStrokeCOLLAPSE_ALL + +
+           
+static KeyStrokeCOPY + +
+           
+static KeyStrokeCUT + +
+           
+static KeyStrokeDEBUG_OFF + +
+           
+static KeyStrokeDEBUG_ON + +
+           
+static KeyStrokeDUPLICATE + +
+           
+static KeyStrokeENTER + +
+           
+static KeyStrokeESC + +
+           
+static KeyStrokeEXIT + +
+           
+static KeyStrokeEXPAND_ALL + +
+           
+static KeyStrokeFUNCTIONS + +
+           
+static KeyStrokeHELP + +
+           
+static KeyStrokeOPEN + +
+           
+static KeyStrokePASTE + +
+           
+static KeyStrokeREMOTE_SHUT_ALL + +
+           
+static KeyStrokeREMOTE_START_ALL + +
+           
+static KeyStrokeREMOTE_STOP_ALL + +
+           
+static KeyStrokeREMOVE + +
+           
+static KeyStrokeSAVE + +
+           
+static KeyStrokeSAVE_ALL_AS + +
+           
+static KeyStrokeSAVE_GRAPHICS + +
+           
+static KeyStrokeSAVE_GRAPHICS_ALL + +
+           
+static KeyStrokeSEARCH_TREE + +
+           
+static KeyStrokeSSL_MANAGER + +
+           
+static KeyStrokeTOGGLE + +
+           
+static KeyStrokeWHAT_CLASS + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static booleanmatches(KeyEvent e, + KeyStroke k) + +
+          Check if an event matches the KeyStroke definition.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+COPY

+
+public static final KeyStroke COPY
+
+
+
+
+
+ +

+DUPLICATE

+
+public static final KeyStroke DUPLICATE
+
+
+
+
+
+ +

+DEBUG_OFF

+
+public static final KeyStroke DEBUG_OFF
+
+
+
+
+
+ +

+DEBUG_ON

+
+public static final KeyStroke DEBUG_ON
+
+
+
+
+
+ +

+CLEAR_ALL

+
+public static final KeyStroke CLEAR_ALL
+
+
+
+
+
+ +

+CLEAR

+
+public static final KeyStroke CLEAR
+
+
+
+
+
+ +

+ESC

+
+public static final KeyStroke ESC
+
+
+
+
+
+ +

+ENTER

+
+public static final KeyStroke ENTER
+
+
+
+
+
+ +

+FUNCTIONS

+
+public static final KeyStroke FUNCTIONS
+
+
+
+
+
+ +

+SAVE_GRAPHICS

+
+public static final KeyStroke SAVE_GRAPHICS
+
+
+
+
+
+ +

+SAVE_GRAPHICS_ALL

+
+public static final KeyStroke SAVE_GRAPHICS_ALL
+
+
+
+
+
+ +

+HELP

+
+public static final KeyStroke HELP
+
+
+
+
+
+ +

+CLOSE

+
+public static final KeyStroke CLOSE
+
+
+
+
+
+ +

+SSL_MANAGER

+
+public static final KeyStroke SSL_MANAGER
+
+
+
+
+
+ +

+OPEN

+
+public static final KeyStroke OPEN
+
+
+
+
+
+ +

+EXIT

+
+public static final KeyStroke EXIT
+
+
+
+
+
+ +

+ACTION_START

+
+public static final KeyStroke ACTION_START
+
+
+
+
+
+ +

+REMOTE_START_ALL

+
+public static final KeyStroke REMOTE_START_ALL
+
+
+
+
+
+ +

+SAVE

+
+public static final KeyStroke SAVE
+
+
+
+
+
+ +

+SAVE_ALL_AS

+
+public static final KeyStroke SAVE_ALL_AS
+
+
+
+
+
+ +

+SEARCH_TREE

+
+public static final KeyStroke SEARCH_TREE
+
+
+
+
+
+ +

+TOGGLE

+
+public static final KeyStroke TOGGLE
+
+
+
+
+
+ +

+PASTE

+
+public static final KeyStroke PASTE
+
+
+
+
+
+ +

+WHAT_CLASS

+
+public static final KeyStroke WHAT_CLASS
+
+
+
+
+
+ +

+CUT

+
+public static final KeyStroke CUT
+
+
+
+
+
+ +

+REMOTE_STOP_ALL

+
+public static final KeyStroke REMOTE_STOP_ALL
+
+
+
+
+
+ +

+REMOTE_SHUT_ALL

+
+public static final KeyStroke REMOTE_SHUT_ALL
+
+
+
+
+
+ +

+REMOVE

+
+public static final KeyStroke REMOVE
+
+
+
+
+
+ +

+ACTION_STOP

+
+public static final KeyStroke ACTION_STOP
+
+
+
+
+
+ +

+ACTION_SHUTDOWN

+
+public static final KeyStroke ACTION_SHUTDOWN
+
+
+
+
+
+ +

+COLLAPSE_ALL

+
+public static final KeyStroke COLLAPSE_ALL
+
+
+
+
+
+ +

+EXPAND_ALL

+
+public static final KeyStroke EXPAND_ALL
+
+
+
+
+
+ +

+ALT_UP_ARROW

+
+public static final KeyStroke ALT_UP_ARROW
+
+
+
+
+
+ +

+ALT_DOWN_ARROW

+
+public static final KeyStroke ALT_DOWN_ARROW
+
+
+
+
+
+ +

+ALT_LEFT_ARROW

+
+public static final KeyStroke ALT_LEFT_ARROW
+
+
+
+
+
+ +

+ALT_RIGHT_ARROW

+
+public static final KeyStroke ALT_RIGHT_ARROW
+
+
+
+
+ + + + + + + + +
+Method Detail
+ +

+matches

+
+public static boolean matches(KeyEvent e,
+                              KeyStroke k)
+
+
Check if an event matches the KeyStroke definition. +

+

+
Parameters:
e - event
k - keystroke +
Returns:
true if event matches the keystroke definition
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/action/Load.html b/docs/api/org/apache/jmeter/gui/action/Load.html new file mode 100644 index 00000000000..cbc2162e858 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/action/Load.html @@ -0,0 +1,349 @@ + + + + + +Load (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.action +
+Class Load

+
+java.lang.Object
+  extended by org.apache.jmeter.gui.action.Load
+
+
+
All Implemented Interfaces:
Command
+
+
+
Direct Known Subclasses:
LoadRecentProject
+
+
+
+
public class Load
extends Object
implements Command
+ + +

+Handles the Open (load a new file) and Merge commands. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
Load() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voiddoAction(ActionEvent e) + +
+           
+ Set<String>getActionNames() + +
+           
+static booleaninsertLoadedTree(int id, + HashTree tree) + +
+          Inserts the tree into the GUI.
+static booleaninsertLoadedTree(int id, + HashTree tree, + boolean merging) + +
+          Inserts (or merges) the tree into the GUI.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Load

+
+public Load()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getActionNames

+
+public Set<String> getActionNames()
+
+
+
Specified by:
getActionNames in interface Command
+
+
+
+
+
+
+ +

+doAction

+
+public void doAction(ActionEvent e)
+
+
+
Specified by:
doAction in interface Command
+
+
+
+
+
+
+ +

+insertLoadedTree

+
+public static boolean insertLoadedTree(int id,
+                                       HashTree tree,
+                                       boolean merging)
+                                throws IllegalUserActionException
+
+
Inserts (or merges) the tree into the GUI. + Does not check if the previous tree has been saved. + Clears the existing GUI test plan if we are inserting a complete plan. +

+

+
+
+
+
Parameters:
id - the id for the ActionEvent that is created
tree - the tree to load
merging - true if the tree is to be merged; false if it is to replace the existing tree +
Returns:
true if the loaded tree was a full test plan +
Throws: +
IllegalUserActionException - if the tree cannot be merged at the selected position or the tree is empty
+
+
+
+ +

+insertLoadedTree

+
+public static boolean insertLoadedTree(int id,
+                                       HashTree tree)
+                                throws IllegalUserActionException
+
+
Inserts the tree into the GUI. + Does not check if the previous tree has been saved. + Clears the existing GUI test plan if we are inserting a complete plan. +

+

+
+
+
+
Parameters:
id - the id for the ActionEvent that is created
tree - the tree to load +
Returns:
true if the loaded tree was a full test plan +
Throws: +
IllegalUserActionException - if the tree cannot be merged at the selected position or the tree is empty
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/action/LoadDraggedFile.html b/docs/api/org/apache/jmeter/gui/action/LoadDraggedFile.html new file mode 100644 index 00000000000..990e53c085f --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/action/LoadDraggedFile.html @@ -0,0 +1,256 @@ + + + + + +LoadDraggedFile (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.action +
+Class LoadDraggedFile

+
+java.lang.Object
+  extended by org.apache.jmeter.gui.action.LoadDraggedFile
+
+
+
+
public class LoadDraggedFile
extends Object
+ + +

+Handles the loading of a file from a Drag and Drop action. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
LoadDraggedFile() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static voidloadProject(ActionEvent e, + File file) + +
+          Loads dragged file asking before for save if current open file is dirty.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+LoadDraggedFile

+
+public LoadDraggedFile()
+
+
+ + + + + + + + +
+Method Detail
+ +

+loadProject

+
+public static void loadProject(ActionEvent e,
+                               File file)
+
+
Loads dragged file asking before for save if current open file is dirty. +

+

+
Parameters:
e - ActionEvent
file - File to Load
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/action/LoadRecentProject.html b/docs/api/org/apache/jmeter/gui/action/LoadRecentProject.html new file mode 100644 index 00000000000..9a6339486ae --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/action/LoadRecentProject.html @@ -0,0 +1,359 @@ + + + + + +LoadRecentProject (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.action +
+Class LoadRecentProject

+
+java.lang.Object
+  extended by org.apache.jmeter.gui.action.Load
+      extended by org.apache.jmeter.gui.action.LoadRecentProject
+
+
+
All Implemented Interfaces:
Command
+
+
+
+
public class LoadRecentProject
extends Load
+ + +

+Handles the loading of recent files, and also the content and + visibility of menu items for loading the recent files +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
LoadRecentProject() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voiddoAction(ActionEvent e) + +
+           
+ Set<String>getActionNames() + +
+           
+static StringgetRecentFile(int index) + +
+          Get the full path to the recent file where index 0 is the most recent
+static List<JComponent>getRecentFileMenuItems() + +
+          Get the menu items to add to the menu bar, to get recent file functionality
+static voidupdateRecentFileMenuItems(List<JComponent> menuItems, + String loadedFileName) + +
+          Update the content and visibility of the menu items for recent files
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.action.Load
insertLoadedTree, insertLoadedTree
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+LoadRecentProject

+
+public LoadRecentProject()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getActionNames

+
+public Set<String> getActionNames()
+
+
+
Specified by:
getActionNames in interface Command
Overrides:
getActionNames in class Load
+
+
+
+
+
+
+ +

+doAction

+
+public void doAction(ActionEvent e)
+
+
+
Specified by:
doAction in interface Command
Overrides:
doAction in class Load
+
+
+
+
+
+
+ +

+getRecentFileMenuItems

+
+public static List<JComponent> getRecentFileMenuItems()
+
+
Get the menu items to add to the menu bar, to get recent file functionality +

+

+ +
Returns:
a List of JMenuItem and a JSeparator, representing recent files
+
+
+
+ +

+updateRecentFileMenuItems

+
+public static void updateRecentFileMenuItems(List<JComponent> menuItems,
+                                             String loadedFileName)
+
+
Update the content and visibility of the menu items for recent files +

+

+
Parameters:
menuItems - the JMenuItem and JSeparator to update
loadedFileName - the file name of the project file that has just + been loaded
+
+
+
+ +

+getRecentFile

+
+public static String getRecentFile(int index)
+
+
Get the full path to the recent file where index 0 is the most recent +

+

+
Parameters:
index - the index of the recent file +
Returns:
full path to the recent file at index
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/action/LoggerPanelEnableDisable.html b/docs/api/org/apache/jmeter/gui/action/LoggerPanelEnableDisable.html new file mode 100644 index 00000000000..46cc119ce37 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/action/LoggerPanelEnableDisable.html @@ -0,0 +1,287 @@ + + + + + +LoggerPanelEnableDisable (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.action +
+Class LoggerPanelEnableDisable

+
+java.lang.Object
+  extended by org.apache.jmeter.gui.action.LoggerPanelEnableDisable
+
+
+
All Implemented Interfaces:
Command
+
+
+
+
public class LoggerPanelEnableDisable
extends Object
implements Command
+ + +

+Hide / unhide LoggerPanel. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
LoggerPanelEnableDisable() + +
+          Constructor for object.
+  + + + + + + + + + + + + + + + +
+Method Summary
+ voiddoAction(ActionEvent e) + +
+          This method performs the actual command processing.
+ Set<String>getActionNames() + +
+          Gets the ActionNames attribute of the action
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+LoggerPanelEnableDisable

+
+public LoggerPanelEnableDisable()
+
+
Constructor for object. +

+

+ + + + + + + + +
+Method Detail
+ +

+getActionNames

+
+public Set<String> getActionNames()
+
+
Gets the ActionNames attribute of the action +

+

+
Specified by:
getActionNames in interface Command
+
+
+ +
Returns:
the ActionNames value
+
+
+
+ +

+doAction

+
+public void doAction(ActionEvent e)
+
+
This method performs the actual command processing. +

+

+
Specified by:
doAction in interface Command
+
+
+
Parameters:
e - the generic UI action event
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/action/LookAndFeelCommand.html b/docs/api/org/apache/jmeter/gui/action/LookAndFeelCommand.html new file mode 100644 index 00000000000..90cf95ee74b --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/action/LookAndFeelCommand.html @@ -0,0 +1,315 @@ + + + + + +LookAndFeelCommand (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.action +
+Class LookAndFeelCommand

+
+java.lang.Object
+  extended by org.apache.jmeter.gui.action.LookAndFeelCommand
+
+
+
All Implemented Interfaces:
Command
+
+
+
+
public class LookAndFeelCommand
extends Object
implements Command
+ + +

+Implements the Look and Feel menu item. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
LookAndFeelCommand() + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voiddoAction(ActionEvent ev) + +
+           
+ Set<String>getActionNames() + +
+           
+static StringgetJMeterLaf() + +
+          Get LookAndFeel classname from the following properties: + + User preferences key: "laf" + jmeter.laf.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+LookAndFeelCommand

+
+public LookAndFeelCommand()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getJMeterLaf

+
+public static String getJMeterLaf()
+
+
Get LookAndFeel classname from the following properties: +
    +
  • User preferences key: "laf"
  • +
  • jmeter.laf.<os.name> - lowercased; spaces replaced by '_'
  • +
  • jmeter.laf.<os.family> - lowercased.
  • +
  • jmeter.laf
  • +
  • UIManager.getCrossPlatformLookAndFeelClassName()
  • +
+

+

+
+
+
+ +
Returns:
LAF classname
+
+
+
+ +

+doAction

+
+public void doAction(ActionEvent ev)
+
+
+
Specified by:
doAction in interface Command
+
+
+
+
+
+
+ +

+getActionNames

+
+public Set<String> getActionNames()
+
+
+
Specified by:
getActionNames in interface Command
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/action/Move.html b/docs/api/org/apache/jmeter/gui/action/Move.html new file mode 100644 index 00000000000..7b9064cbcc6 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/action/Move.html @@ -0,0 +1,286 @@ + + + + + +Move (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.action +
+Class Move

+
+java.lang.Object
+  extended by org.apache.jmeter.gui.action.AbstractAction
+      extended by org.apache.jmeter.gui.action.Move
+
+
+
All Implemented Interfaces:
Command
+
+
+
+
public class Move
extends AbstractAction
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
Move() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ voiddoAction(ActionEvent e) + +
+           
+ Set<String>getActionNames() + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.action.AbstractAction
popupShouldSave
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Move

+
+public Move()
+
+
+ + + + + + + + +
+Method Detail
+ +

+doAction

+
+public void doAction(ActionEvent e)
+
+
+
Specified by:
doAction in interface Command
Overrides:
doAction in class AbstractAction
+
+
+
See Also:
Command.doAction(ActionEvent)
+
+
+
+ +

+getActionNames

+
+public Set<String> getActionNames()
+
+
+
Specified by:
getActionNames in interface Command
Specified by:
getActionNames in class AbstractAction
+
+
+
See Also:
Command.getActionNames()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/action/Paste.html b/docs/api/org/apache/jmeter/gui/action/Paste.html new file mode 100644 index 00000000000..acbcd7f530f --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/action/Paste.html @@ -0,0 +1,290 @@ + + + + + +Paste (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.action +
+Class Paste

+
+java.lang.Object
+  extended by org.apache.jmeter.gui.action.AbstractAction
+      extended by org.apache.jmeter.gui.action.Paste
+
+
+
All Implemented Interfaces:
Command
+
+
+
+
public class Paste
extends AbstractAction
+ + +

+Places a copied JMeterTreeNode under the selected node. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
Paste() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ voiddoAction(ActionEvent e) + +
+           
+ Set<String>getActionNames() + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.action.AbstractAction
popupShouldSave
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Paste

+
+public Paste()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getActionNames

+
+public Set<String> getActionNames()
+
+
+
Specified by:
getActionNames in interface Command
Specified by:
getActionNames in class AbstractAction
+
+
+
See Also:
Command.getActionNames()
+
+
+
+ +

+doAction

+
+public void doAction(ActionEvent e)
+
+
+
Specified by:
doAction in interface Command
Overrides:
doAction in class AbstractAction
+
+
+
See Also:
Command.doAction(ActionEvent)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/action/RawTextSearcher.html b/docs/api/org/apache/jmeter/gui/action/RawTextSearcher.html new file mode 100644 index 00000000000..2b1e1b5cd94 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/action/RawTextSearcher.html @@ -0,0 +1,294 @@ + + + + + +RawTextSearcher (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.action +
+Class RawTextSearcher

+
+java.lang.Object
+  extended by org.apache.jmeter.gui.action.RawTextSearcher
+
+
+
All Implemented Interfaces:
Searcher
+
+
+
+
public class RawTextSearcher
extends Object
implements Searcher
+ + +

+Searcher implementation that searches text as is +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
RawTextSearcher(boolean caseSensitive, + String textToSearch) + +
+          Constructor
+  + + + + + + + + + + + + + + + +
+Method Summary
+ booleansearch(List<String> textTokens) + +
+          Implements the search
+protected  booleantestField(String value, + String searchedTextLowerCase) + +
+          Returns true if searchedTextLowerCase is in value
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+RawTextSearcher

+
+public RawTextSearcher(boolean caseSensitive,
+                       String textToSearch)
+
+
Constructor +

+

+
Parameters:
caseSensitive - is search case sensitive
textToSearch - Text to search
+
+ + + + + + + + +
+Method Detail
+ +

+search

+
+public boolean search(List<String> textTokens)
+
+
Implements the search +

+

+
Specified by:
search in interface Searcher
+
+
+
Parameters:
textTokens - List of content to be searched +
Returns:
true if search on textTokens is successful
+
+
+
+ +

+testField

+
+protected boolean testField(String value,
+                            String searchedTextLowerCase)
+
+
Returns true if searchedTextLowerCase is in value +

+

+
+
+
+
Parameters:
value - string in which the search will be done
searchedTextLowerCase - string which will be searched for +
Returns:
true if searchedTextLowerCase is in value
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/action/RegexpSearcher.html b/docs/api/org/apache/jmeter/gui/action/RegexpSearcher.html new file mode 100644 index 00000000000..7ac90e6bc4d --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/action/RegexpSearcher.html @@ -0,0 +1,267 @@ + + + + + +RegexpSearcher (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.action +
+Class RegexpSearcher

+
+java.lang.Object
+  extended by org.apache.jmeter.gui.action.RegexpSearcher
+
+
+
All Implemented Interfaces:
Searcher
+
+
+
+
public class RegexpSearcher
extends Object
implements Searcher
+ + +

+Regexp search implementation +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
RegexpSearcher(boolean caseSensitive, + String regexp) + +
+          Constructor
+  + + + + + + + + + + + +
+Method Summary
+ booleansearch(List<String> textTokens) + +
+          Implements the search
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+RegexpSearcher

+
+public RegexpSearcher(boolean caseSensitive,
+                      String regexp)
+
+
Constructor +

+

+
Parameters:
caseSensitive - is search case sensitive
regexp - Regexp to search
+
+ + + + + + + + +
+Method Detail
+ +

+search

+
+public boolean search(List<String> textTokens)
+
+
Implements the search +

+

+
Specified by:
search in interface Searcher
+
+
+
Parameters:
textTokens - List of content to be searched +
Returns:
true if search on textTokens is successful
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/action/RemoteStart.html b/docs/api/org/apache/jmeter/gui/action/RemoteStart.html new file mode 100644 index 00000000000..204e602027e --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/action/RemoteStart.html @@ -0,0 +1,286 @@ + + + + + +RemoteStart (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.action +
+Class RemoteStart

+
+java.lang.Object
+  extended by org.apache.jmeter.gui.action.AbstractAction
+      extended by org.apache.jmeter.gui.action.RemoteStart
+
+
+
All Implemented Interfaces:
Command
+
+
+
+
public class RemoteStart
extends AbstractAction
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
RemoteStart() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ voiddoAction(ActionEvent e) + +
+           
+ Set<String>getActionNames() + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.action.AbstractAction
popupShouldSave
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+RemoteStart

+
+public RemoteStart()
+
+
+ + + + + + + + +
+Method Detail
+ +

+doAction

+
+public void doAction(ActionEvent e)
+
+
+
Specified by:
doAction in interface Command
Overrides:
doAction in class AbstractAction
+
+
+
See Also:
Command.doAction(ActionEvent)
+
+
+
+ +

+getActionNames

+
+public Set<String> getActionNames()
+
+
+
Specified by:
getActionNames in interface Command
Specified by:
getActionNames in class AbstractAction
+
+
+
See Also:
Command.getActionNames()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/action/Remove.html b/docs/api/org/apache/jmeter/gui/action/Remove.html new file mode 100644 index 00000000000..bdd650f3629 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/action/Remove.html @@ -0,0 +1,285 @@ + + + + + +Remove (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.action +
+Class Remove

+
+java.lang.Object
+  extended by org.apache.jmeter.gui.action.Remove
+
+
+
All Implemented Interfaces:
Command
+
+
+
+
public class Remove
extends Object
implements Command
+ + +

+Implements the Remove menu item. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
Remove() + +
+          Constructor for the Remove object
+  + + + + + + + + + + + + + + + +
+Method Summary
+ voiddoAction(ActionEvent e) + +
+           
+ Set<String>getActionNames() + +
+          Gets the ActionNames attribute of the Remove object.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Remove

+
+public Remove()
+
+
Constructor for the Remove object +

+

+ + + + + + + + +
+Method Detail
+ +

+getActionNames

+
+public Set<String> getActionNames()
+
+
Gets the ActionNames attribute of the Remove object. +

+

+
Specified by:
getActionNames in interface Command
+
+
+ +
Returns:
the ActionNames value
+
+
+
+ +

+doAction

+
+public void doAction(ActionEvent e)
+
+
+
Specified by:
doAction in interface Command
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/action/ResetSearchCommand.html b/docs/api/org/apache/jmeter/gui/action/ResetSearchCommand.html new file mode 100644 index 00000000000..6fbee0e6f02 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/action/ResetSearchCommand.html @@ -0,0 +1,290 @@ + + + + + +ResetSearchCommand (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.action +
+Class ResetSearchCommand

+
+java.lang.Object
+  extended by org.apache.jmeter.gui.action.AbstractAction
+      extended by org.apache.jmeter.gui.action.ResetSearchCommand
+
+
+
All Implemented Interfaces:
Command
+
+
+
+
public class ResetSearchCommand
extends AbstractAction
+ + +

+Reset Search +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
ResetSearchCommand() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ voiddoAction(ActionEvent e) + +
+           
+ Set<String>getActionNames() + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.action.AbstractAction
popupShouldSave
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ResetSearchCommand

+
+public ResetSearchCommand()
+
+
+ + + + + + + + +
+Method Detail
+ +

+doAction

+
+public void doAction(ActionEvent e)
+
+
+
Specified by:
doAction in interface Command
Overrides:
doAction in class AbstractAction
+
+
+
See Also:
Command.doAction(ActionEvent)
+
+
+
+ +

+getActionNames

+
+public Set<String> getActionNames()
+
+
+
Specified by:
getActionNames in interface Command
Specified by:
getActionNames in class AbstractAction
+
+
+
See Also:
Command.getActionNames()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/action/RevertProject.html b/docs/api/org/apache/jmeter/gui/action/RevertProject.html new file mode 100644 index 00000000000..ea971d2381c --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/action/RevertProject.html @@ -0,0 +1,280 @@ + + + + + +RevertProject (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.action +
+Class RevertProject

+
+java.lang.Object
+  extended by org.apache.jmeter.gui.action.RevertProject
+
+
+
All Implemented Interfaces:
Command
+
+
+
+
public class RevertProject
extends Object
implements Command
+ + +

+Handles the Revert Project command. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
RevertProject() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ voiddoAction(ActionEvent e) + +
+           
+ Set<String>getActionNames() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+RevertProject

+
+public RevertProject()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getActionNames

+
+public Set<String> getActionNames()
+
+
+
Specified by:
getActionNames in interface Command
+
+
+
+
+
+
+ +

+doAction

+
+public void doAction(ActionEvent e)
+
+
+
Specified by:
doAction in interface Command
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/action/SSLManagerCommand.html b/docs/api/org/apache/jmeter/gui/action/SSLManagerCommand.html new file mode 100644 index 00000000000..728ef51a0b4 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/action/SSLManagerCommand.html @@ -0,0 +1,302 @@ + + + + + +SSLManagerCommand (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.action +
+Class SSLManagerCommand

+
+java.lang.Object
+  extended by org.apache.jmeter.gui.action.SSLManagerCommand
+
+
+
All Implemented Interfaces:
Command
+
+
+
+
public class SSLManagerCommand
extends Object
implements Command
+ + +

+SSL Manager Command. The SSL Manager provides a mechanism to change your + client authentication if required by the server. If you have JSSE 1.0.2 + installed, you can select your client identity from a list of installed keys. + You can also change your keystore. JSSE 1.0.2 allows you to export a PKCS#12 + key from Netscape 4.04 or higher and use it in a read only format. You must + supply a password that is greater than six characters due to limitations in + the keytool program--and possibly the rest of the system. +

+ By selecting a *.p12 file as your keystore (your PKCS#12) format file, you + can have a whopping one key keystore. The advantage is that you can test a + connection using the assigned Certificate from a Certificate Authority. +

+ TODO ? + N.B. The present implementation does not seem to allow selection of keys, + it only allows a change of keystore at run-time, or to provide one if not + already defined via the property. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
SSLManagerCommand() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ voiddoAction(ActionEvent e) + +
+          Handle the "sslmanager" action by displaying the "SSL CLient Manager" + dialog box.
+ Set<String>getActionNames() + +
+          Provide the list of Action names that are available in this command.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SSLManagerCommand

+
+public SSLManagerCommand()
+
+
+ + + + + + + + +
+Method Detail
+ +

+doAction

+
+public void doAction(ActionEvent e)
+
+
Handle the "sslmanager" action by displaying the "SSL CLient Manager" + dialog box. The Dialog Box is NOT modal, because those should be avoided + if at all possible. +

+

+
Specified by:
doAction in interface Command
+
+
+
+
+
+
+ +

+getActionNames

+
+public Set<String> getActionNames()
+
+
Provide the list of Action names that are available in this command. +

+

+
Specified by:
getActionNames in interface Command
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/action/Save.html b/docs/api/org/apache/jmeter/gui/action/Save.html new file mode 100644 index 00000000000..020148e5830 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/action/Save.html @@ -0,0 +1,327 @@ + + + + + +Save (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.action +
+Class Save

+
+java.lang.Object
+  extended by org.apache.jmeter.gui.action.Save
+
+
+
All Implemented Interfaces:
Command
+
+
+
+
public class Save
extends Object
implements Command
+ + +

+Save the current test plan; implements: + Save + Save TestPlan As + Save (Selection) As +

+ +

+


+ +

+ + + + + + + + + + + +
+Field Summary
+static StringJMX_FILE_EXTENSION + +
+           
+  + + + + + + + + + + +
+Constructor Summary
Save() + +
+          Constructor for the Save object.
+  + + + + + + + + + + + + + + + +
+Method Summary
+ voiddoAction(ActionEvent e) + +
+           
+ Set<String>getActionNames() + +
+          Gets the ActionNames attribute of the Save object.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+JMX_FILE_EXTENSION

+
+public static final String JMX_FILE_EXTENSION
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+Save

+
+public Save()
+
+
Constructor for the Save object. +

+

+ + + + + + + + +
+Method Detail
+ +

+getActionNames

+
+public Set<String> getActionNames()
+
+
Gets the ActionNames attribute of the Save object. +

+

+
Specified by:
getActionNames in interface Command
+
+
+ +
Returns:
the ActionNames value
+
+
+
+ +

+doAction

+
+public void doAction(ActionEvent e)
+              throws IllegalUserActionException
+
+
+
Specified by:
doAction in interface Command
+
+
+ +
Throws: +
IllegalUserActionException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/action/SaveGraphics.html b/docs/api/org/apache/jmeter/gui/action/SaveGraphics.html new file mode 100644 index 00000000000..e98cdf7caee --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/action/SaveGraphics.html @@ -0,0 +1,293 @@ + + + + + +SaveGraphics (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.action +
+Class SaveGraphics

+
+java.lang.Object
+  extended by org.apache.jmeter.gui.action.SaveGraphics
+
+
+
All Implemented Interfaces:
Command
+
+
+
+
public class SaveGraphics
extends Object
implements Command
+ + +

+SaveGraphics action is meant to be a generic reusable Action. The class will + use GUIPackage to get the current gui. Once it does, it checks to see if the + element implements Printable interface. If it does, it call getPrintable() to + get the JComponent. By default, it will use SaveGraphicsService to save a PNG + file if no extension is provided. If either .png or .tif is in the filename, + it will call SaveGraphicsService to save in the format. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
SaveGraphics() + +
+          Constructor for the Save object.
+  + + + + + + + + + + + + + + + +
+Method Summary
+ voiddoAction(ActionEvent e) + +
+           
+ Set<String>getActionNames() + +
+          Gets the ActionNames attribute of the Save object.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SaveGraphics

+
+public SaveGraphics()
+
+
Constructor for the Save object. +

+

+ + + + + + + + +
+Method Detail
+ +

+getActionNames

+
+public Set<String> getActionNames()
+
+
Gets the ActionNames attribute of the Save object. +

+

+
Specified by:
getActionNames in interface Command
+
+
+ +
Returns:
the ActionNames value
+
+
+
+ +

+doAction

+
+public void doAction(ActionEvent e)
+              throws IllegalUserActionException
+
+
+
Specified by:
doAction in interface Command
+
+
+ +
Throws: +
IllegalUserActionException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/action/SearchTreeCommand.html b/docs/api/org/apache/jmeter/gui/action/SearchTreeCommand.html new file mode 100644 index 00000000000..f4acee07204 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/action/SearchTreeCommand.html @@ -0,0 +1,291 @@ + + + + + +SearchTreeCommand (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.action +
+Class SearchTreeCommand

+
+java.lang.Object
+  extended by org.apache.jmeter.gui.action.AbstractAction
+      extended by org.apache.jmeter.gui.action.SearchTreeCommand
+
+
+
All Implemented Interfaces:
Command
+
+
+
+
public class SearchTreeCommand
extends AbstractAction
+ + +

+Search nodes for a text + TODO Enhance search dialog to select kind of nodes .... +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
SearchTreeCommand() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ voiddoAction(ActionEvent e) + +
+           
+ Set<String>getActionNames() + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.action.AbstractAction
popupShouldSave
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SearchTreeCommand

+
+public SearchTreeCommand()
+
+
+ + + + + + + + +
+Method Detail
+ +

+doAction

+
+public void doAction(ActionEvent e)
+
+
+
Specified by:
doAction in interface Command
Overrides:
doAction in class AbstractAction
+
+
+
See Also:
Command.doAction(ActionEvent)
+
+
+
+ +

+getActionNames

+
+public Set<String> getActionNames()
+
+
+
Specified by:
getActionNames in interface Command
Specified by:
getActionNames in class AbstractAction
+
+
+
See Also:
Command.getActionNames()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/action/SearchTreeDialog.html b/docs/api/org/apache/jmeter/gui/action/SearchTreeDialog.html new file mode 100644 index 00000000000..4de015436a6 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/action/SearchTreeDialog.html @@ -0,0 +1,447 @@ + + + + + +SearchTreeDialog (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.action +
+Class SearchTreeDialog

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by java.awt.Window
+              extended by java.awt.Dialog
+                  extended by javax.swing.JDialog
+                      extended by org.apache.jmeter.gui.action.SearchTreeDialog
+
+
+
All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, RootPaneContainer, WindowConstants
+
+
+
+
public class SearchTreeDialog
extends JDialog
implements ActionListener
+ + +

+FIXME Why is searchTF not getting focus correctly after having been setVisible(false) once +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JDialog
JDialog.AccessibleJDialog
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Dialog
Dialog.AccessibleAWTDialog, Dialog.ModalExclusionType, Dialog.ModalityType
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Window
Window.AccessibleAWTWindow
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class javax.swing.JDialog
accessibleContext, rootPane, rootPaneCheckingEnabled
+ + + + + + + +
Fields inherited from class java.awt.Dialog
DEFAULT_MODALITY_TYPE
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface javax.swing.WindowConstants
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSE
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
SearchTreeDialog() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ voidactionPerformed(ActionEvent e) + +
+          Do search
+protected  JRootPanecreateRootPane() + +
+           
+ + + + + + + +
Methods inherited from class javax.swing.JDialog
addImpl, dialogInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, update
+ + + + + + + +
Methods inherited from class java.awt.Dialog
addNotify, getModalityType, getTitle, hide, isModal, isResizable, isUndecorated, setModal, setModalityType, setResizable, setTitle, setUndecorated, setVisible, show, toBack
+ + + + + + + +
Methods inherited from class java.awt.Window
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOwnedWindows, getOwner, getOwnerlessWindows, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isShowing, pack, paint, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeNotify, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImage, setIconImages, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, toFront
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resize, resize, setBackground, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SearchTreeDialog

+
+public SearchTreeDialog()
+
+
+ + + + + + + + +
+Method Detail
+ +

+createRootPane

+
+protected JRootPane createRootPane()
+
+
+
Overrides:
createRootPane in class JDialog
+
+
+
+
+
+
+ +

+actionPerformed

+
+public void actionPerformed(ActionEvent e)
+
+
Do search +

+

+
Specified by:
actionPerformed in interface ActionListener
+
+
+
Parameters:
e - ActionEvent
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/action/Searcher.html b/docs/api/org/apache/jmeter/gui/action/Searcher.html new file mode 100644 index 00000000000..5dbfbf1de92 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/action/Searcher.html @@ -0,0 +1,212 @@ + + + + + +Searcher (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.action +
+Interface Searcher

+
+
All Known Implementing Classes:
RawTextSearcher, RegexpSearcher
+
+
+
+
public interface Searcher
+ + +

+Search algorithm +

+ +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+ booleansearch(List<String> textTokens) + +
+          Implements the search
+  +

+ + + + + + + + +
+Method Detail
+ +

+search

+
+boolean search(List<String> textTokens)
+
+
Implements the search +

+

+
Parameters:
textTokens - List of content to be searched +
Returns:
true if search on textTokens is successful
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/action/SelectTemplatesDialog.html b/docs/api/org/apache/jmeter/gui/action/SelectTemplatesDialog.html new file mode 100644 index 00000000000..3652f48e2f1 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/action/SelectTemplatesDialog.html @@ -0,0 +1,493 @@ + + + + + +SelectTemplatesDialog (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.action +
+Class SelectTemplatesDialog

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by java.awt.Window
+              extended by java.awt.Dialog
+                  extended by javax.swing.JDialog
+                      extended by org.apache.jmeter.gui.action.SelectTemplatesDialog
+
+
+
All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, ChangeListener, HyperlinkListener, RootPaneContainer, WindowConstants
+
+
+
+
public class SelectTemplatesDialog
extends JDialog
implements ChangeListener, ActionListener, HyperlinkListener
+ + +

+Dialog used for Templates selection +

+ +

+

+
Since:
+
2.10
+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JDialog
JDialog.AccessibleJDialog
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Dialog
Dialog.AccessibleAWTDialog, Dialog.ModalExclusionType, Dialog.ModalityType
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Window
Window.AccessibleAWTWindow
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class javax.swing.JDialog
accessibleContext, rootPane, rootPaneCheckingEnabled
+ + + + + + + +
Fields inherited from class java.awt.Dialog
DEFAULT_MODALITY_TYPE
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface javax.swing.WindowConstants
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSE
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
SelectTemplatesDialog() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidactionPerformed(ActionEvent e) + +
+          Do search
+protected  JRootPanecreateRootPane() + +
+           
+ voidhyperlinkUpdate(HyperlinkEvent e) + +
+           
+ voidstateChanged(ChangeEvent event) + +
+           
+ + + + + + + +
Methods inherited from class javax.swing.JDialog
addImpl, dialogInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, update
+ + + + + + + +
Methods inherited from class java.awt.Dialog
addNotify, getModalityType, getTitle, hide, isModal, isResizable, isUndecorated, setModal, setModalityType, setResizable, setTitle, setUndecorated, setVisible, show, toBack
+ + + + + + + +
Methods inherited from class java.awt.Window
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOwnedWindows, getOwner, getOwnerlessWindows, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isShowing, pack, paint, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeNotify, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImage, setIconImages, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, toFront
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resize, resize, setBackground, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SelectTemplatesDialog

+
+public SelectTemplatesDialog()
+
+
+ + + + + + + + +
+Method Detail
+ +

+createRootPane

+
+protected JRootPane createRootPane()
+
+
+
Overrides:
createRootPane in class JDialog
+
+
+
+
+
+
+ +

+actionPerformed

+
+public void actionPerformed(ActionEvent e)
+
+
Do search +

+

+
Specified by:
actionPerformed in interface ActionListener
+
+
+
Parameters:
e - ActionEvent
+
+
+
+ +

+stateChanged

+
+public void stateChanged(ChangeEvent event)
+
+
+
Specified by:
stateChanged in interface ChangeListener
+
+
+
+
+
+
+ +

+hyperlinkUpdate

+
+public void hyperlinkUpdate(HyperlinkEvent e)
+
+
+
Specified by:
hyperlinkUpdate in interface HyperlinkListener
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/action/Start.html b/docs/api/org/apache/jmeter/gui/action/Start.html new file mode 100644 index 00000000000..5df3eb69465 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/action/Start.html @@ -0,0 +1,291 @@ + + + + + +Start (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.action +
+Class Start

+
+java.lang.Object
+  extended by org.apache.jmeter.gui.action.AbstractAction
+      extended by org.apache.jmeter.gui.action.Start
+
+
+
All Implemented Interfaces:
Command
+
+
+
+
public class Start
extends AbstractAction
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
Start() + +
+          Constructor for the Start object.
+  + + + + + + + + + + + + + + + +
+Method Summary
+ voiddoAction(ActionEvent e) + +
+           
+ Set<String>getActionNames() + +
+          Gets the ActionNames attribute of the Start object.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.action.AbstractAction
popupShouldSave
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Start

+
+public Start()
+
+
Constructor for the Start object. +

+

+ + + + + + + + +
+Method Detail
+ +

+getActionNames

+
+public Set<String> getActionNames()
+
+
Gets the ActionNames attribute of the Start object. +

+

+
Specified by:
getActionNames in interface Command
Specified by:
getActionNames in class AbstractAction
+
+
+ +
Returns:
the ActionNames value
See Also:
Command.getActionNames()
+
+
+
+ +

+doAction

+
+public void doAction(ActionEvent e)
+
+
+
Specified by:
doAction in interface Command
Overrides:
doAction in class AbstractAction
+
+
+
See Also:
Command.doAction(ActionEvent)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/action/StopStoppables.html b/docs/api/org/apache/jmeter/gui/action/StopStoppables.html new file mode 100644 index 00000000000..d838c61a9c8 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/action/StopStoppables.html @@ -0,0 +1,316 @@ + + + + + +StopStoppables (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.action +
+Class StopStoppables

+
+java.lang.Object
+  extended by org.apache.jmeter.gui.action.AbstractAction
+      extended by org.apache.jmeter.gui.action.StopStoppables
+
+
+
All Implemented Interfaces:
ActionListener, EventListener, Command
+
+
+
+
public class StopStoppables
extends AbstractAction
implements ActionListener
+ + +

+Stops stopables (Proxy, Mirror) +

+ +

+

+
Since:
+
2.5.1
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
StopStoppables() + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidactionPerformed(ActionEvent e) + +
+           
+ voiddoAction(ActionEvent e) + +
+           
+ Set<String>getActionNames() + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.action.AbstractAction
popupShouldSave
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+StopStoppables

+
+public StopStoppables()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getActionNames

+
+public Set<String> getActionNames()
+
+
+
Specified by:
getActionNames in interface Command
Specified by:
getActionNames in class AbstractAction
+
+
+
See Also:
Command.getActionNames()
+
+
+
+ +

+actionPerformed

+
+public void actionPerformed(ActionEvent e)
+
+
+
Specified by:
actionPerformed in interface ActionListener
+
+
+
+
+
+
+ +

+doAction

+
+public void doAction(ActionEvent e)
+
+
+
Specified by:
doAction in interface Command
Overrides:
doAction in class AbstractAction
+
+
+
See Also:
Command.doAction(ActionEvent)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/action/TemplatesCommand.html b/docs/api/org/apache/jmeter/gui/action/TemplatesCommand.html new file mode 100644 index 00000000000..3077e12ccd1 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/action/TemplatesCommand.html @@ -0,0 +1,294 @@ + + + + + +TemplatesCommand (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.action +
+Class TemplatesCommand

+
+java.lang.Object
+  extended by org.apache.jmeter.gui.action.AbstractAction
+      extended by org.apache.jmeter.gui.action.TemplatesCommand
+
+
+
All Implemented Interfaces:
Command
+
+
+
+
public class TemplatesCommand
extends AbstractAction
+ + +

+Open Templates +

+ +

+

+
Since:
+
2.10
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
TemplatesCommand() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ voiddoAction(ActionEvent e) + +
+           
+ Set<String>getActionNames() + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.action.AbstractAction
popupShouldSave
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+TemplatesCommand

+
+public TemplatesCommand()
+
+
+ + + + + + + + +
+Method Detail
+ +

+doAction

+
+public void doAction(ActionEvent e)
+
+
+
Specified by:
doAction in interface Command
Overrides:
doAction in class AbstractAction
+
+
+
See Also:
Command.doAction(ActionEvent)
+
+
+
+ +

+getActionNames

+
+public Set<String> getActionNames()
+
+
+
Specified by:
getActionNames in interface Command
Specified by:
getActionNames in class AbstractAction
+
+
+
See Also:
Command.getActionNames()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/action/ToolBar.html b/docs/api/org/apache/jmeter/gui/action/ToolBar.html new file mode 100644 index 00000000000..af24e49ace2 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/action/ToolBar.html @@ -0,0 +1,287 @@ + + + + + +ToolBar (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.action +
+Class ToolBar

+
+java.lang.Object
+  extended by org.apache.jmeter.gui.action.ToolBar
+
+
+
All Implemented Interfaces:
Command
+
+
+
+
public class ToolBar
extends Object
implements Command
+ + +

+Hide / unhide toolbar. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
ToolBar() + +
+          Constructor for object.
+  + + + + + + + + + + + + + + + +
+Method Summary
+ voiddoAction(ActionEvent e) + +
+          This method performs the actual command processing.
+ Set<String>getActionNames() + +
+          Gets the ActionNames attribute of the action
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ToolBar

+
+public ToolBar()
+
+
Constructor for object. +

+

+ + + + + + + + +
+Method Detail
+ +

+getActionNames

+
+public Set<String> getActionNames()
+
+
Gets the ActionNames attribute of the action +

+

+
Specified by:
getActionNames in interface Command
+
+
+ +
Returns:
the ActionNames value
+
+
+
+ +

+doAction

+
+public void doAction(ActionEvent e)
+
+
This method performs the actual command processing. +

+

+
Specified by:
doAction in interface Command
+
+
+
Parameters:
e - the generic UI action event
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/action/UndoCommand.html b/docs/api/org/apache/jmeter/gui/action/UndoCommand.html new file mode 100644 index 00000000000..cb694c53af8 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/action/UndoCommand.html @@ -0,0 +1,315 @@ + + + + + +UndoCommand (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.action +
+Class UndoCommand

+
+java.lang.Object
+  extended by org.apache.jmeter.gui.action.UndoCommand
+
+
+
All Implemented Interfaces:
Command
+
+
+
+
public class UndoCommand
extends Object
implements Command
+ + +

+Menu command to serve Undo/Redo +

+ +

+

+
Since:
+
2.12
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
UndoCommand() + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static HashTreeconvertAndCloneSubTree(HashTree tree) + +
+          wrapper to use package-visible method + and clone tree for saving
+ voiddoAction(ActionEvent e) + +
+           
+ Set<String>getActionNames() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+UndoCommand

+
+public UndoCommand()
+
+
+ + + + + + + + +
+Method Detail
+ +

+doAction

+
+public void doAction(ActionEvent e)
+              throws IllegalUserActionException
+
+
+
Specified by:
doAction in interface Command
+
+
+ +
Throws: +
IllegalUserActionException
+
+
+
+ +

+getActionNames

+
+public Set<String> getActionNames()
+
+
+
Specified by:
getActionNames in interface Command
+
+
+ +
Returns:
Set of all action names
+
+
+
+ +

+convertAndCloneSubTree

+
+public static HashTree convertAndCloneSubTree(HashTree tree)
+
+
wrapper to use package-visible method + and clone tree for saving +

+

+
+
+
+
Parameters:
tree - to be converted and cloned +
Returns:
converted and cloned tree
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/action/What.html b/docs/api/org/apache/jmeter/gui/action/What.html new file mode 100644 index 00000000000..7533d89a66e --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/action/What.html @@ -0,0 +1,288 @@ + + + + + +What (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.action +
+Class What

+
+java.lang.Object
+  extended by org.apache.jmeter.gui.action.What
+
+
+
All Implemented Interfaces:
Command
+
+
+
+
public class What
extends Object
implements Command
+ + +

+Debug class to show details of the currently selected object + Currently shows TestElement and GUI class names + + Also enables/disables debug for the test element. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
What() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ voiddoAction(ActionEvent e) + +
+           
+ Set<String>getActionNames() + +
+          Provide the list of Action names that are available in this command.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+What

+
+public What()
+
+
+ + + + + + + + +
+Method Detail
+ +

+doAction

+
+public void doAction(ActionEvent e)
+              throws IllegalUserActionException
+
+
+
Specified by:
doAction in interface Command
+
+
+ +
Throws: +
IllegalUserActionException
+
+
+
+ +

+getActionNames

+
+public Set<String> getActionNames()
+
+
Provide the list of Action names that are available in this command. +

+

+
Specified by:
getActionNames in interface Command
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/action/package-frame.html b/docs/api/org/apache/jmeter/gui/action/package-frame.html new file mode 100644 index 00000000000..7847fedcfa6 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/action/package-frame.html @@ -0,0 +1,135 @@ + + + + + +org.apache.jmeter.gui.action (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.gui.action + + + + +
+Interfaces  + +
+Command +
+Searcher
+ + + + + + +
+Classes  + +
+AboutCommand +
+AbstractAction +
+ActionNames +
+ActionRouter +
+AddParent +
+AddToTree +
+Analyze +
+ChangeLanguage +
+ChangeParent +
+CheckDirty +
+Clear +
+Close +
+CollapseExpand +
+Copy +
+CreateFunctionDialog +
+Cut +
+Duplicate +
+EditCommand +
+EnableComponent +
+ExitCommand +
+Help +
+KeyStrokes +
+Load +
+LoadDraggedFile +
+LoadRecentProject +
+LoggerPanelEnableDisable +
+LookAndFeelCommand +
+Move +
+Paste +
+RawTextSearcher +
+RegexpSearcher +
+RemoteStart +
+Remove +
+ResetSearchCommand +
+RevertProject +
+Save +
+SaveGraphics +
+SearchTreeCommand +
+SearchTreeDialog +
+SelectTemplatesDialog +
+SSLManagerCommand +
+Start +
+StopStoppables +
+TemplatesCommand +
+ToolBar +
+UndoCommand +
+What
+ + + + diff --git a/docs/api/org/apache/jmeter/gui/action/package-summary.html b/docs/api/org/apache/jmeter/gui/action/package-summary.html new file mode 100644 index 00000000000..bf7b1b3ce82 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/action/package-summary.html @@ -0,0 +1,367 @@ + + + + + +org.apache.jmeter.gui.action (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.gui.action +

+ + + + + + + + + + + + + +
+Interface Summary
Command 
SearcherSearch algorithm
+  + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
AboutCommandAbout Command.
AbstractAction 
ActionNames 
ActionRouter 
AddParentImplements the Add Parent menu command
AddToTree 
Analyze 
ChangeLanguage 
ChangeParentImplements the Add Parent menu command
CheckDirtyCheck if the TestPlan has been changed since it was last saved
ClearHandles the following actions: + - Clear (Data) + - Clear All (Data) + - Reset (Clear GUI)
CloseThis command clears the existing test plan, allowing the creation of a New + test plan.
CollapseExpandProcesses the Collapse All and Expand All options.
CopyImplements the Copy menu command
CreateFunctionDialog 
CutImplements the Cut menu item command
DuplicateImplements the Duplicate menu command
EditCommandImplements the Edit menu item.
EnableComponentImplements the Enable menu item.
ExitCommand 
HelpImplements the Help menu item.
KeyStrokes 
LoadHandles the Open (load a new file) and Merge commands.
LoadDraggedFileHandles the loading of a file from a Drag and Drop action.
LoadRecentProjectHandles the loading of recent files, and also the content and + visibility of menu items for loading the recent files
LoggerPanelEnableDisableHide / unhide LoggerPanel.
LookAndFeelCommandImplements the Look and Feel menu item.
Move 
PastePlaces a copied JMeterTreeNode under the selected node.
RawTextSearcherSearcher implementation that searches text as is
RegexpSearcherRegexp search implementation
RemoteStart 
RemoveImplements the Remove menu item.
ResetSearchCommandReset Search
RevertProjectHandles the Revert Project command.
SaveSave the current test plan; implements: + Save + Save TestPlan As + Save (Selection) As
SaveGraphicsSaveGraphics action is meant to be a generic reusable Action.
SearchTreeCommandSearch nodes for a text + TODO Enhance search dialog to select kind of nodes ....
SearchTreeDialogFIXME Why is searchTF not getting focus correctly after having been setVisible(false) once
SelectTemplatesDialogDialog used for Templates selection
SSLManagerCommandSSL Manager Command.
Start 
StopStoppablesStops stopables (Proxy, Mirror)
TemplatesCommandOpen Templates
ToolBarHide / unhide toolbar.
UndoCommandMenu command to serve Undo/Redo
WhatDebug class to show details of the currently selected object + Currently shows TestElement and GUI class names + + Also enables/disables debug for the test element.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/action/package-tree.html b/docs/api/org/apache/jmeter/gui/action/package-tree.html new file mode 100644 index 00000000000..9a5571b6c65 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/action/package-tree.html @@ -0,0 +1,203 @@ + + + + + +org.apache.jmeter.gui.action Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.gui.action +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+
    +
  • org.apache.jmeter.gui.action.Command
  • org.apache.jmeter.gui.action.Searcher
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/action/template/Template.html b/docs/api/org/apache/jmeter/gui/action/template/Template.html new file mode 100644 index 00000000000..a2bf0bf116d --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/action/template/Template.html @@ -0,0 +1,430 @@ + + + + + +Template (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.action.template +
+Class Template

+
+java.lang.Object
+  extended by org.apache.jmeter.gui.action.template.Template
+
+
+
+
public class Template
extends Object
+ + +

+Template Bean +

+ +

+

+
Since:
+
2.10
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
Template() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetDescription() + +
+           
+ StringgetFileName() + +
+           
+ StringgetName() + +
+           
+ FilegetParent() + +
+           
+ booleanisTestPlan() + +
+           
+ voidsetDescription(String description) + +
+           
+ voidsetFileName(String relativeFileName) + +
+           
+ voidsetName(String name) + +
+           
+ voidsetParent(File parent) + +
+           
+ voidsetTestPlan(boolean isTestPlan) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Template

+
+public Template()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getName

+
+public String getName()
+
+
+ +
Returns:
the name
+
+
+
+ +

+setName

+
+public void setName(String name)
+
+
+
Parameters:
name - the name to set
+
+
+
+ +

+getFileName

+
+public String getFileName()
+
+
+ +
Returns:
the relativeFileName
+
+
+
+ +

+setFileName

+
+public void setFileName(String relativeFileName)
+
+
+
Parameters:
relativeFileName - the relativeFileName to set
+
+
+
+ +

+getDescription

+
+public String getDescription()
+
+
+ +
Returns:
the description
+
+
+
+ +

+setDescription

+
+public void setDescription(String description)
+
+
+
Parameters:
description - the description to set
+
+
+
+ +

+isTestPlan

+
+public boolean isTestPlan()
+
+
+
+
+
+
+ +

+setTestPlan

+
+public void setTestPlan(boolean isTestPlan)
+
+
+
+
+
+
+ +

+getParent

+
+public File getParent()
+
+
+
+
+
+
+ +

+setParent

+
+public void setParent(File parent)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/action/template/TemplateManager.html b/docs/api/org/apache/jmeter/gui/action/template/TemplateManager.html new file mode 100644 index 00000000000..5345b8b6627 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/action/template/TemplateManager.html @@ -0,0 +1,304 @@ + + + + + +TemplateManager (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.action.template +
+Class TemplateManager

+
+java.lang.Object
+  extended by org.apache.jmeter.gui.action.template.TemplateManager
+
+
+
+
public class TemplateManager
extends Object
+ + +

+Manages Test Plan templates +

+ +

+

+
Since:
+
2.10
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddTemplate(Template template) + +
+           
+static TemplateManagergetInstance() + +
+           
+ TemplategetTemplateByName(String selectedTemplate) + +
+           
+ String[]getTemplateNames() + +
+           
+ TemplateManagerreset() + +
+          Resets the template Map by re-reading the template files.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+getInstance

+
+public static final TemplateManager getInstance()
+
+
+
+
+
+
+ +

+addTemplate

+
+public void addTemplate(Template template)
+
+
+
+
+
+
+ +

+reset

+
+public TemplateManager reset()
+
+
Resets the template Map by re-reading the template files. +

+

+ +
Returns:
this
+
+
+
+ +

+getTemplateNames

+
+public String[] getTemplateNames()
+
+
+ +
Returns:
the templates names
+
+
+
+ +

+getTemplateByName

+
+public Template getTemplateByName(String selectedTemplate)
+
+
+
Parameters:
selectedTemplate - Template name +
Returns:
Template
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/action/template/package-frame.html b/docs/api/org/apache/jmeter/gui/action/template/package-frame.html new file mode 100644 index 00000000000..729bc6670f6 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/action/template/package-frame.html @@ -0,0 +1,32 @@ + + + + + +org.apache.jmeter.gui.action.template (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.gui.action.template + + + + +
+Classes  + +
+Template +
+TemplateManager
+ + + + diff --git a/docs/api/org/apache/jmeter/gui/action/template/package-summary.html b/docs/api/org/apache/jmeter/gui/action/template/package-summary.html new file mode 100644 index 00000000000..2d787d00cb8 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/action/template/package-summary.html @@ -0,0 +1,157 @@ + + + + + +org.apache.jmeter.gui.action.template (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.gui.action.template +

+ + + + + + + + + + + + + +
+Class Summary
TemplateTemplate Bean
TemplateManagerManages Test Plan templates
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/action/template/package-tree.html b/docs/api/org/apache/jmeter/gui/action/template/package-tree.html new file mode 100644 index 00000000000..332f4bc2849 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/action/template/package-tree.html @@ -0,0 +1,149 @@ + + + + + +org.apache.jmeter.gui.action.template Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.gui.action.template +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/package-frame.html b/docs/api/org/apache/jmeter/gui/package-frame.html new file mode 100644 index 00000000000..09b47427429 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/package-frame.html @@ -0,0 +1,77 @@ + + + + + +org.apache.jmeter.gui (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.gui + + + + +
+Interfaces  + +
+ClearGui +
+JMeterGUIComponent +
+Searchable +
+Stoppable +
+UndoHistory.HistoryListener +
+UnsharedComponent
+ + + + + + +
+Classes  + +
+AbstractJMeterGuiComponent +
+AbstractScopedJMeterGuiComponent +
+CommentPanel +
+GUIFactory +
+GuiPackage +
+JMeterFileFilter +
+LoggerPanel +
+MainFrame +
+NamePanel +
+OnErrorPanel +
+SavePropertyDialog +
+ServerPanel +
+UndoHistory +
+UndoHistoryItem
+ + + + diff --git a/docs/api/org/apache/jmeter/gui/package-summary.html b/docs/api/org/apache/jmeter/gui/package-summary.html new file mode 100644 index 00000000000..33dabbfff7e --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/package-summary.html @@ -0,0 +1,246 @@ + + + + + +org.apache.jmeter.gui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.gui +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Interface Summary
ClearGui 
JMeterGUIComponentImplementing this interface indicates that the class is a JMeter GUI + Component.
SearchableInterface for nodes that are searchable.
StoppableInterface that identifies processes to stop on close or load of new project files
UndoHistory.HistoryListenerInterface to be implemented by components interested in UndoHistory
UnsharedComponentMarker interface indicating that an instance of a component cannot be shared.
+  + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
AbstractJMeterGuiComponentThis abstract class takes care of the most basic functions necessary to + create a viable JMeter GUI component.
AbstractScopedJMeterGuiComponent 
CommentPanelGeneric comment panel for Test Elements
GUIFactoryProvides a way to register and retrieve GUI classes and icons.
GuiPackageGuiPackage is a static class that provides convenient access to information + about the current state of JMeter's GUI.
JMeterFileFilterA file filter which allows files to be filtered based on a list of allowed + extensions.
LoggerPanelPanel that shows log events
MainFrameThe main JMeter frame, containing the menu bar, test tree, and an area for + JMeter component GUIs.
NamePanel 
OnErrorPanel 
SavePropertyDialogGenerates Configure pop-up dialogue for Listeners from all methods in SampleSaveConfiguration + with the signature "boolean saveXXX()".
ServerPanelCommon server panel implementation for use with HTTP, TCP etc samplers
UndoHistoryThis class serves storing Test Tree state and navigating through it + to give the undo/redo ability for test plan changes
UndoHistoryItemUndo history item
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/package-tree.html b/docs/api/org/apache/jmeter/gui/package-tree.html new file mode 100644 index 00000000000..826365f2cb3 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/package-tree.html @@ -0,0 +1,195 @@ + + + + + +org.apache.jmeter.gui Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.gui +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/plugin/MenuCreator.MENU_LOCATION.html b/docs/api/org/apache/jmeter/gui/plugin/MenuCreator.MENU_LOCATION.html new file mode 100644 index 00000000000..0b53a455a25 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/plugin/MenuCreator.MENU_LOCATION.html @@ -0,0 +1,385 @@ + + + + + +MenuCreator.MENU_LOCATION (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.plugin +
+Enum MenuCreator.MENU_LOCATION

+
+java.lang.Object
+  extended by java.lang.Enum<MenuCreator.MENU_LOCATION>
+      extended by org.apache.jmeter.gui.plugin.MenuCreator.MENU_LOCATION
+
+
+
All Implemented Interfaces:
Serializable, Comparable<MenuCreator.MENU_LOCATION>
+
+
+
Enclosing interface:
MenuCreator
+
+
+
+
public static enum MenuCreator.MENU_LOCATION
extends Enum<MenuCreator.MENU_LOCATION>
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + +
+Enum Constant Summary
EDIT + +
+           
FILE + +
+           
HELP + +
+           
OPTIONS + +
+           
RUN + +
+           
SEARCH + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+static MenuCreator.MENU_LOCATIONvalueOf(String name) + +
+          Returns the enum constant of this type with the specified name.
+static MenuCreator.MENU_LOCATION[]values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+ + + + + + + +
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
+ + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Enum Constant Detail
+ +

+FILE

+
+public static final MenuCreator.MENU_LOCATION FILE
+
+
+
+
+
+ +

+EDIT

+
+public static final MenuCreator.MENU_LOCATION EDIT
+
+
+
+
+
+ +

+RUN

+
+public static final MenuCreator.MENU_LOCATION RUN
+
+
+
+
+
+ +

+OPTIONS

+
+public static final MenuCreator.MENU_LOCATION OPTIONS
+
+
+
+
+
+ +

+HELP

+
+public static final MenuCreator.MENU_LOCATION HELP
+
+
+
+
+
+ +

+SEARCH

+
+public static final MenuCreator.MENU_LOCATION SEARCH
+
+
+
+
+ + + + + + + + +
+Method Detail
+ +

+values

+
+public static MenuCreator.MENU_LOCATION[] values()
+
+
Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
+for (MenuCreator.MENU_LOCATION c : MenuCreator.MENU_LOCATION.values())
+    System.out.println(c);
+
+

+

+ +
Returns:
an array containing the constants of this enum type, in +the order they are declared
+
+
+
+ +

+valueOf

+
+public static MenuCreator.MENU_LOCATION valueOf(String name)
+
+
Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.) +

+

+
Parameters:
name - the name of the enum constant to be returned. +
Returns:
the enum constant with the specified name +
Throws: +
IllegalArgumentException - if this enum type has no constant +with the specified name +
NullPointerException - if the argument is null
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/plugin/MenuCreator.html b/docs/api/org/apache/jmeter/gui/plugin/MenuCreator.html new file mode 100644 index 00000000000..e347b1cd8ab --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/plugin/MenuCreator.html @@ -0,0 +1,287 @@ + + + + + +MenuCreator (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.plugin +
+Interface MenuCreator

+
+
+
public interface MenuCreator
+ + +

+

+
Since:
+
2.10
+
+
+ +

+ + + + + + + + + + + +
+Nested Class Summary
+static classMenuCreator.MENU_LOCATION + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ JMenuItem[]getMenuItemsAtLocation(MenuCreator.MENU_LOCATION location) + +
+          MenuItems to be added in location menu
+ JMenu[]getTopLevelMenus() + +
+           
+ voidlocaleChanged() + +
+          Update Top Level menu on Locale Change
+ booleanlocaleChanged(MenuElement menu) + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+getMenuItemsAtLocation

+
+JMenuItem[] getMenuItemsAtLocation(MenuCreator.MENU_LOCATION location)
+
+
MenuItems to be added in location menu +

+

+
Parameters:
location - in top menu +
Returns:
array of JMenuItem
+
+
+
+ +

+getTopLevelMenus

+
+JMenu[] getTopLevelMenus()
+
+
+ +
Returns:
array of JMenu to be put as top level menu between Options and Help
+
+
+
+ +

+localeChanged

+
+boolean localeChanged(MenuElement menu)
+
+
+
Parameters:
menu - MenuElement +
Returns:
true if menu was concerned by Locale change
+
+
+
+ +

+localeChanged

+
+void localeChanged()
+
+
Update Top Level menu on Locale Change +

+

+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/plugin/package-frame.html b/docs/api/org/apache/jmeter/gui/plugin/package-frame.html new file mode 100644 index 00000000000..93d587a35ff --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/plugin/package-frame.html @@ -0,0 +1,41 @@ + + + + + +org.apache.jmeter.gui.plugin (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.gui.plugin + + + + +
+Interfaces  + +
+MenuCreator
+ + + + + + +
+Enums  + +
+MenuCreator.MENU_LOCATION
+ + + + diff --git a/docs/api/org/apache/jmeter/gui/plugin/package-summary.html b/docs/api/org/apache/jmeter/gui/plugin/package-summary.html new file mode 100644 index 00000000000..08da025223e --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/plugin/package-summary.html @@ -0,0 +1,167 @@ + + + + + +org.apache.jmeter.gui.plugin (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.gui.plugin +

+ + + + + + + + + +
+Interface Summary
MenuCreator 
+  + +

+ + + + + + + + + +
+Enum Summary
MenuCreator.MENU_LOCATION 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/plugin/package-tree.html b/docs/api/org/apache/jmeter/gui/plugin/package-tree.html new file mode 100644 index 00000000000..a5d063ddbfa --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/plugin/package-tree.html @@ -0,0 +1,157 @@ + + + + + +org.apache.jmeter.gui.plugin Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.gui.plugin +

+
+
+
Package Hierarchies:
All Packages
+
+

+Interface Hierarchy +

+ +

+Enum Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/tree/JMeterCellRenderer.html b/docs/api/org/apache/jmeter/gui/tree/JMeterCellRenderer.html new file mode 100644 index 00000000000..0f812e0d1fd --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/tree/JMeterCellRenderer.html @@ -0,0 +1,434 @@ + + + + + +JMeterCellRenderer (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.tree +
+Class JMeterCellRenderer

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JLabel
+                  extended by javax.swing.tree.DefaultTreeCellRenderer
+                      extended by org.apache.jmeter.gui.tree.JMeterCellRenderer
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, SwingConstants, TreeCellRenderer
+
+
+
+
public class JMeterCellRenderer
extends DefaultTreeCellRenderer
+ + +

+Class to render the test tree - sets the enabled/disabled versions of the icons +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JLabel
JLabel.AccessibleJLabel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class javax.swing.tree.DefaultTreeCellRenderer
backgroundNonSelectionColor, backgroundSelectionColor, borderSelectionColor, closedIcon, hasFocus, leafIcon, openIcon, selected, textNonSelectionColor, textSelectionColor
+ + + + + + + +
Fields inherited from class javax.swing.JLabel
labelFor
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface javax.swing.SwingConstants
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
JMeterCellRenderer() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ ComponentgetTreeCellRendererComponent(JTree tree, + Object value, + boolean sel, + boolean expanded, + boolean leaf, + int row, + boolean p_hasFocus) + +
+           
+ + + + + + + +
Methods inherited from class javax.swing.tree.DefaultTreeCellRenderer
firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackgroundNonSelectionColor, getBackgroundSelectionColor, getBorderSelectionColor, getClosedIcon, getDefaultClosedIcon, getDefaultLeafIcon, getDefaultOpenIcon, getFont, getLeafIcon, getOpenIcon, getPreferredSize, getTextNonSelectionColor, getTextSelectionColor, invalidate, paint, repaint, repaint, repaint, revalidate, setBackground, setBackgroundNonSelectionColor, setBackgroundSelectionColor, setBorderSelectionColor, setClosedIcon, setFont, setLeafIcon, setOpenIcon, setTextNonSelectionColor, setTextSelectionColor, validate
+ + + + + + + +
Methods inherited from class javax.swing.JLabel
checkHorizontalKey, checkVerticalKey, getAccessibleContext, getDisabledIcon, getDisplayedMnemonic, getDisplayedMnemonicIndex, getHorizontalAlignment, getHorizontalTextPosition, getIcon, getIconTextGap, getLabelFor, getText, getUI, getUIClassID, getVerticalAlignment, getVerticalTextPosition, imageUpdate, paramString, setDisabledIcon, setDisplayedMnemonic, setDisplayedMnemonic, setDisplayedMnemonicIndex, setHorizontalAlignment, setHorizontalTextPosition, setIcon, setIconTextGap, setLabelFor, setText, setUI, setVerticalAlignment, setVerticalTextPosition, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+JMeterCellRenderer

+
+public JMeterCellRenderer()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getTreeCellRendererComponent

+
+public Component getTreeCellRendererComponent(JTree tree,
+                                              Object value,
+                                              boolean sel,
+                                              boolean expanded,
+                                              boolean leaf,
+                                              int row,
+                                              boolean p_hasFocus)
+
+
+
Specified by:
getTreeCellRendererComponent in interface TreeCellRenderer
Overrides:
getTreeCellRendererComponent in class DefaultTreeCellRenderer
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/tree/JMeterTreeListener.html b/docs/api/org/apache/jmeter/gui/tree/JMeterTreeListener.html new file mode 100644 index 00000000000..6169a16357b --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/tree/JMeterTreeListener.html @@ -0,0 +1,640 @@ + + + + + +JMeterTreeListener (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.tree +
+Class JMeterTreeListener

+
+java.lang.Object
+  extended by org.apache.jmeter.gui.tree.JMeterTreeListener
+
+
+
All Implemented Interfaces:
KeyListener, MouseListener, EventListener, TreeSelectionListener
+
+
+
+
public class JMeterTreeListener
extends Object
implements TreeSelectionListener, MouseListener, KeyListener
+ + +

+


+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
JMeterTreeListener() + +
+          Constructor for the JMeterTreeListener object
JMeterTreeListener(JMeterTreeModel model) + +
+          Constructor for the JMeterTreeListener object.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ JMeterTreeNodegetCurrentNode() + +
+          Gets the CurrentNode attribute of the JMeterTreeListener object.
+ JTreegetJTree() + +
+          Gets the JTree attribute of the JMeterTreeListener object.
+ JMeterTreeNode[]getSelectedNodes() + +
+           
+ voidkeyPressed(KeyEvent e) + +
+           
+ voidkeyReleased(KeyEvent e) + +
+           
+ voidkeyTyped(KeyEvent e) + +
+           
+ voidmouseClicked(MouseEvent ev) + +
+           
+ voidmouseEntered(MouseEvent e) + +
+           
+ voidmouseExited(MouseEvent ev) + +
+           
+ voidmousePressed(MouseEvent e) + +
+           
+ voidmouseReleased(MouseEvent e) + +
+           
+ TreePathremovedSelectedNode() + +
+           
+ voidsetActionHandler(ActionListener ah) + +
+          Sets the ActionHandler attribute of the JMeterTreeListener object.
+ voidsetEndWindow(Container window) + +
+          Sets the EndWindow attribute of the JMeterTreeListener object.
+ voidsetJTree(JTree tree) + +
+          Sets the JTree attribute of the JMeterTreeListener object.
+ voidsetModel(JMeterTreeModel m) + +
+          Set the JMeterTreeModel for this listener
+ voidvalueChanged(TreeSelectionEvent e) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+JMeterTreeListener

+
+public JMeterTreeListener(JMeterTreeModel model)
+
+
Constructor for the JMeterTreeListener object. +

+

+
Parameters:
model - The JMeterTreeModel for this listener
+
+
+ +

+JMeterTreeListener

+
+public JMeterTreeListener()
+
+
Constructor for the JMeterTreeListener object +

+

+ + + + + + + + +
+Method Detail
+ +

+setModel

+
+public void setModel(JMeterTreeModel m)
+
+
Set the JMeterTreeModel for this listener +

+

+
+
+
+
Parameters:
m - The JMeterTreeModel to be used
+
+
+
+ +

+setActionHandler

+
+public void setActionHandler(ActionListener ah)
+
+
Sets the ActionHandler attribute of the JMeterTreeListener object. +

+

+
+
+
+
Parameters:
ah - the new ActionHandler value
+
+
+
+ +

+setJTree

+
+public void setJTree(JTree tree)
+
+
Sets the JTree attribute of the JMeterTreeListener object. +

+

+
+
+
+
Parameters:
tree - the new JTree value
+
+
+
+ +

+setEndWindow

+
+public void setEndWindow(Container window)
+
+
Sets the EndWindow attribute of the JMeterTreeListener object. +

+

+
+
+
+
Parameters:
window - the new EndWindow value
+
+
+
+ +

+getJTree

+
+public JTree getJTree()
+
+
Gets the JTree attribute of the JMeterTreeListener object. +

+

+
+
+
+ +
Returns:
tree the current JTree value.
+
+
+
+ +

+getCurrentNode

+
+public JMeterTreeNode getCurrentNode()
+
+
Gets the CurrentNode attribute of the JMeterTreeListener object. +

+

+
+
+
+ +
Returns:
the CurrentNode value
+
+
+
+ +

+getSelectedNodes

+
+public JMeterTreeNode[] getSelectedNodes()
+
+
+
+
+
+
+
+
+
+ +

+removedSelectedNode

+
+public TreePath removedSelectedNode()
+
+
+
+
+
+
+
+
+
+ +

+valueChanged

+
+public void valueChanged(TreeSelectionEvent e)
+
+
+
Specified by:
valueChanged in interface TreeSelectionListener
+
+
+
+
+
+
+ +

+mouseClicked

+
+public void mouseClicked(MouseEvent ev)
+
+
+
Specified by:
mouseClicked in interface MouseListener
+
+
+
+
+
+
+ +

+mouseReleased

+
+public void mouseReleased(MouseEvent e)
+
+
+
Specified by:
mouseReleased in interface MouseListener
+
+
+
+
+
+
+ +

+mouseEntered

+
+public void mouseEntered(MouseEvent e)
+
+
+
Specified by:
mouseEntered in interface MouseListener
+
+
+
+
+
+
+ +

+mousePressed

+
+public void mousePressed(MouseEvent e)
+
+
+
Specified by:
mousePressed in interface MouseListener
+
+
+
+
+
+
+ +

+mouseExited

+
+public void mouseExited(MouseEvent ev)
+
+
+
Specified by:
mouseExited in interface MouseListener
+
+
+
+
+
+
+ +

+keyPressed

+
+public void keyPressed(KeyEvent e)
+
+
+
Specified by:
keyPressed in interface KeyListener
+
+
+
+
+
+
+ +

+keyReleased

+
+public void keyReleased(KeyEvent e)
+
+
+
Specified by:
keyReleased in interface KeyListener
+
+
+
+
+
+
+ +

+keyTyped

+
+public void keyTyped(KeyEvent e)
+
+
+
Specified by:
keyTyped in interface KeyListener
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/tree/JMeterTreeModel.html b/docs/api/org/apache/jmeter/gui/tree/JMeterTreeModel.html new file mode 100644 index 00000000000..c065d8d88c2 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/tree/JMeterTreeModel.html @@ -0,0 +1,539 @@ + + + + + +JMeterTreeModel (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.tree +
+Class JMeterTreeModel

+
+java.lang.Object
+  extended by javax.swing.tree.DefaultTreeModel
+      extended by org.apache.jmeter.gui.tree.JMeterTreeModel
+
+
+
All Implemented Interfaces:
Serializable, TreeModel
+
+
+
+
public class JMeterTreeModel
extends DefaultTreeModel
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class javax.swing.tree.DefaultTreeModel
asksAllowsChildren, listenerList, root
+  + + + + + + + + + + + + + + + + +
+Constructor Summary
JMeterTreeModel() + +
+           
JMeterTreeModel(Object o) + +
+          Deprecated. - only for use by JMeter class!
JMeterTreeModel(TestElement tp, + TestElement wb) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ JMeterTreeNodeaddComponent(TestElement component, + JMeterTreeNode node) + +
+          Add a TestElement to a JMeterTreeNode
+ HashTreeaddSubTree(HashTree subTree, + JMeterTreeNode current) + +
+          Adds the sub tree at the given node.
+ voidclearTestPlan() + +
+          Clear the test plan, and use default node for test plan and workbench.
+ voidclearTestPlan(TestElement testPlan) + +
+          Clear the test plan, and use specified node for test plan and default node for workbench + + N.B.
+ HashTreegetCurrentSubTree(JMeterTreeNode node) + +
+          Get the current sub tree for a JMeterTreeNode
+ JMeterTreeNodegetNodeOf(TestElement userObject) + +
+          Get the node for a given TestElement object.
+ List<JMeterTreeNode>getNodesOfType(Class<?> type) + +
+          Returns a list of tree nodes that hold objects of the given class type.
+ HashTreegetTestPlan() + +
+          Get the TestPlan from the root of this tree
+ HashTreegetWorkBench() + +
+          Get the WorkBench from the root of this tree
+ voidremoveNodeFromParent(JMeterTreeNode node) + +
+           
+ + + + + + + +
Methods inherited from class javax.swing.tree.DefaultTreeModel
addTreeModelListener, asksAllowsChildren, fireTreeNodesChanged, fireTreeNodesInserted, fireTreeNodesRemoved, fireTreeStructureChanged, getChild, getChildCount, getIndexOfChild, getListeners, getPathToRoot, getPathToRoot, getRoot, getTreeModelListeners, insertNodeInto, isLeaf, nodeChanged, nodesChanged, nodeStructureChanged, nodesWereInserted, nodesWereRemoved, reload, reload, removeNodeFromParent, removeTreeModelListener, setAsksAllowsChildren, setRoot, valueForPathChanged
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+JMeterTreeModel

+
+public JMeterTreeModel(TestElement tp,
+                       TestElement wb)
+
+
+
+ +

+JMeterTreeModel

+
+public JMeterTreeModel()
+
+
+
+ +

+JMeterTreeModel

+
+@Deprecated
+public JMeterTreeModel(Object o)
+
+
Deprecated. - only for use by JMeter class! +

+

Hack to allow TreeModel to be used in non-GUI and headless mode. +

+

+
Parameters:
o - - dummy
+
+ + + + + + + + +
+Method Detail
+ +

+getNodesOfType

+
+public List<JMeterTreeNode> getNodesOfType(Class<?> type)
+
+
Returns a list of tree nodes that hold objects of the given class type. + If none are found, an empty list is returned. +

+

+
Parameters:
type - The type of nodes, which are to be collected +
Returns:
a list of tree nodes of the given type, or an empty list
+
+
+
+ +

+getNodeOf

+
+public JMeterTreeNode getNodeOf(TestElement userObject)
+
+
Get the node for a given TestElement object. +

+

+
Parameters:
userObject - The object to be found in this tree +
Returns:
the node corresponding to the userObject
+
+
+
+ +

+addSubTree

+
+public HashTree addSubTree(HashTree subTree,
+                           JMeterTreeNode current)
+                    throws IllegalUserActionException
+
+
Adds the sub tree at the given node. Returns a boolean indicating whether + the added sub tree was a full test plan. +

+

+
Parameters:
subTree - The HashTree which is to be inserted into + current
current - The node in which the subTree is to be inserted. + Will be overridden, when an instance of TestPlan or + WorkBench is found in the subtree. +
Returns:
newly created sub tree now found at current +
Throws: +
IllegalUserActionException - when current is not an instance of + AbstractConfigGui and no instance of TestPlan + or WorkBench could be found in the + subTree
+
+
+
+ +

+addComponent

+
+public JMeterTreeNode addComponent(TestElement component,
+                                   JMeterTreeNode node)
+                            throws IllegalUserActionException
+
+
Add a TestElement to a JMeterTreeNode +

+

+
Parameters:
component - The TestElement to be used as data for the newly created note
node - The JMeterTreeNode into which the newly created node is to be inserted +
Returns:
new JMeterTreeNode for the given component +
Throws: +
IllegalUserActionException - when the user object for the node is not an instance + of AbstractConfigGui
+
+
+
+ +

+removeNodeFromParent

+
+public void removeNodeFromParent(JMeterTreeNode node)
+
+
+
+
+
+
+ +

+getCurrentSubTree

+
+public HashTree getCurrentSubTree(JMeterTreeNode node)
+
+
Get the current sub tree for a JMeterTreeNode +

+

+
Parameters:
node - The JMeterTreeNode from which the sub tree is to be taken +
Returns:
newly copied sub tree
+
+
+
+ +

+getTestPlan

+
+public HashTree getTestPlan()
+
+
Get the TestPlan from the root of this tree +

+

+ +
Returns:
The TestPlan found at the root of this tree
+
+
+
+ +

+getWorkBench

+
+public HashTree getWorkBench()
+
+
Get the WorkBench from the root of this tree +

+

+ +
Returns:
The WorkBench found at the root of this tree
+
+
+
+ +

+clearTestPlan

+
+public void clearTestPlan()
+
+
Clear the test plan, and use default node for test plan and workbench. + + N.B. Should only be called by GuiPackage.clearTestPlan() +

+

+
+
+
+
+ +

+clearTestPlan

+
+public void clearTestPlan(TestElement testPlan)
+
+
Clear the test plan, and use specified node for test plan and default node for workbench + + N.B. Should only be called by GuiPackage.clearTestPlan(TestElement) +

+

+
Parameters:
testPlan - the node to use as the testplan top node
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/tree/JMeterTreeNode.html b/docs/api/org/apache/jmeter/gui/tree/JMeterTreeNode.html new file mode 100644 index 00000000000..71b25dd42a2 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/tree/JMeterTreeNode.html @@ -0,0 +1,644 @@ + + + + + +JMeterTreeNode (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.tree +
+Class JMeterTreeNode

+
+java.lang.Object
+  extended by javax.swing.tree.DefaultMutableTreeNode
+      extended by org.apache.jmeter.gui.tree.JMeterTreeNode
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, MutableTreeNode, TreeNode, NamedTreeNode
+
+
+
+
public class JMeterTreeNode
extends DefaultMutableTreeNode
implements NamedTreeNode
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
+  + + + + + + + + + + + + + +
+Constructor Summary
JMeterTreeNode() + +
+           
JMeterTreeNode(TestElement userObj, + JMeterTreeModel treeModel) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Enumeration<JMeterTreeNode>children() + +
+           
+ JPopupMenucreatePopupMenu() + +
+           
+ StringgetDocAnchor() + +
+           
+ ImageIcongetIcon() + +
+           
+ ImageIcongetIcon(boolean enabled) + +
+           
+ Collection<String>getMenuCategories() + +
+           
+ StringgetName() + +
+          
+ List<JMeterTreeNode>getPathToThreadGroup() + +
+          Return nodes to level 2
+ StringgetStaticLabel() + +
+           
+ TestElementgetTestElement() + +
+           
+ booleanisEnabled() + +
+           
+ booleanisMarkedBySearch() + +
+          Node is markedBySearch by a search
+ voidnameChanged() + +
+          
+ voidsetEnabled(boolean enabled) + +
+           
+ voidsetMarkedBySearch(boolean tagged) + +
+          Tag Node as result of a search
+ voidsetName(String name) + +
+          
+ + + + + + + +
Methods inherited from class javax.swing.tree.DefaultMutableTreeNode
add, breadthFirstEnumeration, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+JMeterTreeNode

+
+public JMeterTreeNode()
+
+
+
+ +

+JMeterTreeNode

+
+public JMeterTreeNode(TestElement userObj,
+                      JMeterTreeModel treeModel)
+
+
+ + + + + + + + +
+Method Detail
+ +

+isEnabled

+
+public boolean isEnabled()
+
+
+
+
+
+
+
+
+
+ +

+setEnabled

+
+public void setEnabled(boolean enabled)
+
+
+
+
+
+
+
+
+
+ +

+getPathToThreadGroup

+
+public List<JMeterTreeNode> getPathToThreadGroup()
+
+
Return nodes to level 2 +

+

+
+
+
+ +
Returns:
List of JMeterTreeNodes
+
+
+
+ +

+setMarkedBySearch

+
+public void setMarkedBySearch(boolean tagged)
+
+
Tag Node as result of a search +

+

+
+
+
+
Parameters:
tagged - The flag to be used for tagging
+
+
+
+ +

+isMarkedBySearch

+
+public boolean isMarkedBySearch()
+
+
Node is markedBySearch by a search +

+

+
+
+
+ +
Returns:
true if marked by search
+
+
+
+ +

+getIcon

+
+public ImageIcon getIcon()
+
+
+
+
+
+
+
+
+
+ +

+getIcon

+
+public ImageIcon getIcon(boolean enabled)
+
+
+
+
+
+
+
+
+
+ +

+getMenuCategories

+
+public Collection<String> getMenuCategories()
+
+
+
+
+
+
+
+
+
+ +

+createPopupMenu

+
+public JPopupMenu createPopupMenu()
+
+
+
+
+
+
+
+
+
+ +

+getTestElement

+
+public TestElement getTestElement()
+
+
+
+
+
+
+
+
+
+ +

+getStaticLabel

+
+public String getStaticLabel()
+
+
+
+
+
+
+
+
+
+ +

+getDocAnchor

+
+public String getDocAnchor()
+
+
+
+
+
+
+
+
+
+ +

+setName

+
+public void setName(String name)
+
+
+

+

+
Specified by:
setName in interface NamedTreeNode
+
+
+
+
+
+
+ +

+getName

+
+public String getName()
+
+
+

+

+
Specified by:
getName in interface NamedTreeNode
+
+
+
+
+
+
+ +

+nameChanged

+
+public void nameChanged()
+
+
+

+

+
Specified by:
nameChanged in interface NamedTreeNode
+
+
+
+
+
+
+ +

+children

+
+public Enumeration<JMeterTreeNode> children()
+
+
+
Specified by:
children in interface TreeNode
Overrides:
children in class DefaultMutableTreeNode
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/tree/JMeterTreeTransferHandler.html b/docs/api/org/apache/jmeter/gui/tree/JMeterTreeTransferHandler.html new file mode 100644 index 00000000000..c9ad99665a7 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/tree/JMeterTreeTransferHandler.html @@ -0,0 +1,395 @@ + + + + + +JMeterTreeTransferHandler (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.tree +
+Class JMeterTreeTransferHandler

+
+java.lang.Object
+  extended by javax.swing.TransferHandler
+      extended by org.apache.jmeter.gui.tree.JMeterTreeTransferHandler
+
+
+
All Implemented Interfaces:
Serializable
+
+
+
+
public class JMeterTreeTransferHandler
extends TransferHandler
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.TransferHandler
TransferHandler.DropLocation, TransferHandler.TransferSupport
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class javax.swing.TransferHandler
COPY, COPY_OR_MOVE, LINK, MOVE, NONE
+  + + + + + + + + + + +
+Constructor Summary
JMeterTreeTransferHandler() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleancanImport(TransferHandler.TransferSupport support) + +
+           
+protected  TransferablecreateTransferable(JComponent c) + +
+           
+protected  voidexportDone(JComponent source, + Transferable data, + int action) + +
+           
+ intgetSourceActions(JComponent c) + +
+           
+ booleanimportData(TransferHandler.TransferSupport support) + +
+           
+ + + + + + + +
Methods inherited from class javax.swing.TransferHandler
canImport, exportAsDrag, exportToClipboard, getCopyAction, getCutAction, getPasteAction, getVisualRepresentation, importData
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+JMeterTreeTransferHandler

+
+public JMeterTreeTransferHandler()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getSourceActions

+
+public int getSourceActions(JComponent c)
+
+
+
Overrides:
getSourceActions in class TransferHandler
+
+
+
+
+
+
+ +

+createTransferable

+
+protected Transferable createTransferable(JComponent c)
+
+
+
Overrides:
createTransferable in class TransferHandler
+
+
+
+
+
+
+ +

+exportDone

+
+protected void exportDone(JComponent source,
+                          Transferable data,
+                          int action)
+
+
+
Overrides:
exportDone in class TransferHandler
+
+
+
+
+
+
+ +

+canImport

+
+public boolean canImport(TransferHandler.TransferSupport support)
+
+
+
Overrides:
canImport in class TransferHandler
+
+
+
+
+
+
+ +

+importData

+
+public boolean importData(TransferHandler.TransferSupport support)
+
+
+
Overrides:
importData in class TransferHandler
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/tree/NamedTreeNode.html b/docs/api/org/apache/jmeter/gui/tree/NamedTreeNode.html new file mode 100644 index 00000000000..020ead12e30 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/tree/NamedTreeNode.html @@ -0,0 +1,243 @@ + + + + + +NamedTreeNode (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.tree +
+Interface NamedTreeNode

+
+
All Known Implementing Classes:
JMeterTreeNode
+
+
+
+
public interface NamedTreeNode
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetName() + +
+           
+ voidnameChanged() + +
+           
+ voidsetName(String name) + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+setName

+
+void setName(String name)
+
+
+
+
+
+
+ +

+getName

+
+String getName()
+
+
+
+
+
+
+ +

+nameChanged

+
+void nameChanged()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/tree/package-frame.html b/docs/api/org/apache/jmeter/gui/tree/package-frame.html new file mode 100644 index 00000000000..89ac5c6a554 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/tree/package-frame.html @@ -0,0 +1,49 @@ + + + + + +org.apache.jmeter.gui.tree (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.gui.tree + + + + +
+Interfaces  + +
+NamedTreeNode
+ + + + + + +
+Classes  + +
+JMeterCellRenderer +
+JMeterTreeListener +
+JMeterTreeModel +
+JMeterTreeNode +
+JMeterTreeTransferHandler
+ + + + diff --git a/docs/api/org/apache/jmeter/gui/tree/package-summary.html b/docs/api/org/apache/jmeter/gui/tree/package-summary.html new file mode 100644 index 00000000000..24bf862ec25 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/tree/package-summary.html @@ -0,0 +1,183 @@ + + + + + +org.apache.jmeter.gui.tree (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.gui.tree +

+ + + + + + + + + +
+Interface Summary
NamedTreeNode 
+  + +

+ + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
JMeterCellRendererClass to render the test tree - sets the enabled/disabled versions of the icons
JMeterTreeListener 
JMeterTreeModel 
JMeterTreeNode 
JMeterTreeTransferHandler 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/tree/package-tree.html b/docs/api/org/apache/jmeter/gui/tree/package-tree.html new file mode 100644 index 00000000000..73685a87bc2 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/tree/package-tree.html @@ -0,0 +1,179 @@ + + + + + +org.apache.jmeter.gui.tree Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.gui.tree +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/util/ButtonPanel.html b/docs/api/org/apache/jmeter/gui/util/ButtonPanel.html new file mode 100644 index 00000000000..283f5d0f3a1 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/util/ButtonPanel.html @@ -0,0 +1,479 @@ + + + + + +ButtonPanel (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.util +
+Class ButtonPanel

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.util.ButtonPanel
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible
+
+
+
+
public class ButtonPanel
extends JPanel
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static intADD_BUTTON + +
+           
+static intDELETE_BUTTON + +
+           
+static intEDIT_BUTTON + +
+           
+static intLOAD_BUTTON + +
+           
+static intSAVE_BUTTON + +
+           
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
ButtonPanel() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ voidaddButtonListener(int button, + ActionListener listener) + +
+           
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+ADD_BUTTON

+
+public static final int ADD_BUTTON
+
+
+
See Also:
Constant Field Values
+
+
+ +

+EDIT_BUTTON

+
+public static final int EDIT_BUTTON
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DELETE_BUTTON

+
+public static final int DELETE_BUTTON
+
+
+
See Also:
Constant Field Values
+
+
+ +

+LOAD_BUTTON

+
+public static final int LOAD_BUTTON
+
+
+
See Also:
Constant Field Values
+
+
+ +

+SAVE_BUTTON

+
+public static final int SAVE_BUTTON
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+ButtonPanel

+
+public ButtonPanel()
+
+
+ + + + + + + + +
+Method Detail
+ +

+addButtonListener

+
+public void addButtonListener(int button,
+                              ActionListener listener)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/util/EscapeDialog.html b/docs/api/org/apache/jmeter/gui/util/EscapeDialog.html new file mode 100644 index 00000000000..30d0f53f046 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/util/EscapeDialog.html @@ -0,0 +1,437 @@ + + + + + +EscapeDialog (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.util +
+Class EscapeDialog

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by java.awt.Window
+              extended by java.awt.Dialog
+                  extended by javax.swing.JDialog
+                      extended by org.apache.jmeter.gui.util.EscapeDialog
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants
+
+
+
+
public class EscapeDialog
extends JDialog
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JDialog
JDialog.AccessibleJDialog
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Dialog
Dialog.AccessibleAWTDialog, Dialog.ModalExclusionType, Dialog.ModalityType
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Window
Window.AccessibleAWTWindow
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class javax.swing.JDialog
accessibleContext, rootPane, rootPaneCheckingEnabled
+ + + + + + + +
Fields inherited from class java.awt.Dialog
DEFAULT_MODALITY_TYPE
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface javax.swing.WindowConstants
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSE
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + + + + +
+Constructor Summary
EscapeDialog() + +
+           
EscapeDialog(Frame frame, + String title, + boolean modal) + +
+           
+  + + + + + + + + + + + +
+Method Summary
+protected  JRootPanecreateRootPane() + +
+           
+ + + + + + + +
Methods inherited from class javax.swing.JDialog
addImpl, dialogInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, update
+ + + + + + + +
Methods inherited from class java.awt.Dialog
addNotify, getModalityType, getTitle, hide, isModal, isResizable, isUndecorated, setModal, setModalityType, setResizable, setTitle, setUndecorated, setVisible, show, toBack
+ + + + + + + +
Methods inherited from class java.awt.Window
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOwnedWindows, getOwner, getOwnerlessWindows, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isShowing, pack, paint, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeNotify, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImage, setIconImages, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, toFront
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resize, resize, setBackground, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+EscapeDialog

+
+public EscapeDialog()
+
+
+
+ +

+EscapeDialog

+
+public EscapeDialog(Frame frame,
+                    String title,
+                    boolean modal)
+
+
+ + + + + + + + +
+Method Detail
+ +

+createRootPane

+
+protected JRootPane createRootPane()
+
+
+
Overrides:
createRootPane in class JDialog
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/util/FileDialoger.html b/docs/api/org/apache/jmeter/gui/util/FileDialoger.html new file mode 100644 index 00000000000..35ef622cbf8 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/util/FileDialoger.html @@ -0,0 +1,418 @@ + + + + + +FileDialoger (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.util +
+Class FileDialoger

+
+java.lang.Object
+  extended by org.apache.jmeter.gui.util.FileDialoger
+
+
+
+
public final class FileDialoger
extends Object
+ + +

+Class implementing a file open dialogue +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static StringgetLastJFCDirectory() + +
+           
+static JFileChooserpromptToOpenFile() + +
+          Prompts the user to choose a file from their filesystems for our own + devious uses.
+static JFileChooserpromptToOpenFile(String existingFileName) + +
+          Prompts the user to choose a file from their filesystems for our own + devious uses.
+static JFileChooserpromptToOpenFile(String[] exts) + +
+          Prompts the user to choose a file from their filesystems for our own + devious uses.
+static JFileChooserpromptToOpenFile(String[] exts, + String existingFileName) + +
+          Prompts the user to choose a file from their filesystems for our own + devious uses.
+static JFileChooserpromptToSaveFile(String filename) + +
+          Prompts the user to choose a file from their filesystems for our own + devious uses.
+static JFileChooserpromptToSaveFile(String filename, + String[] extensions) + +
+          Get a JFileChooser with a new FileFilter.
+static voidsetLastJFCDirectory(String lastJFCDirectory) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+promptToOpenFile

+
+public static JFileChooser promptToOpenFile()
+
+
Prompts the user to choose a file from their filesystems for our own + devious uses. This method maintains the last directory the user visited + before dismissing the dialog. This does NOT imply they actually chose a + file from that directory, only that they closed the dialog there. It is + the caller's responsibility to check to see if the selected file is + non-null. +

+

+ +
Returns:
the JFileChooser that interacted with the user, after they are + finished using it - null if no file was chosen
+
+
+
+ +

+promptToOpenFile

+
+public static JFileChooser promptToOpenFile(String existingFileName)
+
+
Prompts the user to choose a file from their filesystems for our own + devious uses. This method maintains the last directory the user visited + before dismissing the dialog. This does NOT imply they actually chose a + file from that directory, only that they closed the dialog there. It is + the caller's responsibility to check to see if the selected file is + non-null. +

+

+
Parameters:
existingFileName - The name of a file with path. If the filename points + to an existing file, the directory in which it lies, will be used + as the starting point for the returned JFileChooser. +
Returns:
the JFileChooser that interacted with the user, after they are + finished using it - null if no file was chosen
+
+
+
+ +

+promptToOpenFile

+
+public static JFileChooser promptToOpenFile(String[] exts)
+
+
Prompts the user to choose a file from their filesystems for our own + devious uses. This method maintains the last directory the user visited + before dismissing the dialog. This does NOT imply they actually chose a + file from that directory, only that they closed the dialog there. It is + the caller's responsibility to check to see if the selected file is + non-null. +

+

+
Parameters:
exts - The list of allowed file extensions. If empty, any + file extension is allowed +
Returns:
the JFileChooser that interacted with the user, after they are + finished using it - null if no file was chosen
+
+
+
+ +

+promptToOpenFile

+
+public static JFileChooser promptToOpenFile(String[] exts,
+                                            String existingFileName)
+
+
Prompts the user to choose a file from their filesystems for our own + devious uses. This method maintains the last directory the user visited + before dismissing the dialog. This does NOT imply they actually chose a + file from that directory, only that they closed the dialog there. It is + the caller's responsibility to check to see if the selected file is + non-null. +

+

+
Parameters:
exts - The list of allowed file extensions. If empty, any + file extension is allowed
existingFileName - The name of a file with path. If the filename points + to an existing file, the directory in which it lies, will be used + as the starting point for the returned JFileChooser. +
Returns:
the JFileChooser that interacted with the user, after they are + finished using it - null if no file was chosen
+
+
+
+ +

+promptToSaveFile

+
+public static JFileChooser promptToSaveFile(String filename)
+
+
Prompts the user to choose a file from their filesystems for our own + devious uses. This method maintains the last directory the user visited + before dismissing the dialog. This does NOT imply they actually chose a + file from that directory, only that they closed the dialog there. It is + the caller's responsibility to check to see if the selected file is + non-null. +

+

+
Parameters:
filename - The name of a file with path. If the filename points + to an existing file, the directory in which it lies, will be used + as the starting point for the returned JFileChooser. +
Returns:
the JFileChooser that interacted with the user, after they are + finished using it - null if no file was chosen
See Also:
promptToOpenFile()
+
+
+
+ +

+promptToSaveFile

+
+public static JFileChooser promptToSaveFile(String filename,
+                                            String[] extensions)
+
+
Get a JFileChooser with a new FileFilter. +

+

+
Parameters:
filename - file name
extensions - list of extensions +
Returns:
the FileChooser - null if no file was chosen
+
+
+
+ +

+getLastJFCDirectory

+
+public static String getLastJFCDirectory()
+
+
+ +
Returns:
The last directory visited by the user while choosing Files
+
+
+
+ +

+setLastJFCDirectory

+
+public static void setLastJFCDirectory(String lastJFCDirectory)
+
+
+
Parameters:
lastJFCDirectory - The last directory visited by the user while choosing Files
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/util/FileListPanel.html b/docs/api/org/apache/jmeter/gui/util/FileListPanel.html new file mode 100644 index 00000000000..1b9f8ca19e3 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/util/FileListPanel.html @@ -0,0 +1,615 @@ + + + + + +FileListPanel (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.util +
+Class FileListPanel

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.util.FileListPanel
+
+
+
All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible
+
+
+
+
public class FileListPanel
extends JPanel
implements ActionListener
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + + + + + + + + + + +
+Constructor Summary
FileListPanel() + +
+          Constructor for the FilePanel object.
FileListPanel(ChangeListener l, + String title) + +
+          Constructor for the FilePanel object.
FileListPanel(String title) + +
+           
FileListPanel(String title, + String filetype) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidactionPerformed(ActionEvent e) + +
+           
+ voidaddChangeListener(ChangeListener l) + +
+           
+ voidaddFilename(String f) + +
+          Add a single file to the table
+ voidclearFiles() + +
+          clear the files from the table
+protected  voiddeleteFile() + +
+           
+ voidenableFile(boolean enable) + +
+          If the gui needs to enable/disable the FilePanel, call the method.
+ String[]getFiles() + +
+           
+protected  voidinitializeTableModel() + +
+           
+ voidsetFiles(String[] files) + +
+           
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+FileListPanel

+
+public FileListPanel()
+
+
Constructor for the FilePanel object. +

+

+
+ +

+FileListPanel

+
+public FileListPanel(String title)
+
+
+
+ +

+FileListPanel

+
+public FileListPanel(String title,
+                     String filetype)
+
+
+
+ +

+FileListPanel

+
+public FileListPanel(ChangeListener l,
+                     String title)
+
+
Constructor for the FilePanel object. +

+

+
Parameters:
l - The changelistener for this panel
title - The title of this panel
+
+ + + + + + + + +
+Method Detail
+ +

+addChangeListener

+
+public void addChangeListener(ChangeListener l)
+
+
+
+
+
+
+
+
+
+ +

+enableFile

+
+public void enableFile(boolean enable)
+
+
If the gui needs to enable/disable the FilePanel, call the method. +

+

+
+
+
+
Parameters:
enable - Flag whether FilePanel should be enabled
+
+
+
+ +

+addFilename

+
+public void addFilename(String f)
+
+
Add a single file to the table +

+

+
+
+
+
Parameters:
f - The name of the file to be added
+
+
+
+ +

+clearFiles

+
+public void clearFiles()
+
+
clear the files from the table +

+

+
+
+
+
+
+
+
+ +

+setFiles

+
+public void setFiles(String[] files)
+
+
+
+
+
+
+
+
+
+ +

+getFiles

+
+public String[] getFiles()
+
+
+
+
+
+
+
+
+
+ +

+deleteFile

+
+protected void deleteFile()
+
+
+
+
+
+
+
+
+
+ +

+initializeTableModel

+
+protected void initializeTableModel()
+
+
+
+
+
+
+
+
+
+ +

+actionPerformed

+
+public void actionPerformed(ActionEvent e)
+
+
+
Specified by:
actionPerformed in interface ActionListener
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/util/FilePanel.html b/docs/api/org/apache/jmeter/gui/util/FilePanel.html new file mode 100644 index 00000000000..b776c1a1413 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/util/FilePanel.html @@ -0,0 +1,432 @@ + + + + + +FilePanel (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.util +
+Class FilePanel

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.util.HorizontalPanel
+                      extended by org.apache.jmeter.gui.util.FilePanelEntry
+                          extended by org.apache.jmeter.gui.util.FilePanel
+
+
+
All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible
+
+
+
+
public class FilePanel
extends FilePanelEntry
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + + + + + + + + + + + + + +
+Constructor Summary
FilePanel() + +
+           
FilePanel(ChangeListener l, + String title) + +
+           
FilePanel(String title) + +
+           
FilePanel(String title, + String filetype) + +
+           
FilePanel(String resString, + String[] exts) + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.util.FilePanelEntry
actionPerformed, addChangeListener, clearGui, enableFile, getFilename, setFilename
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.util.HorizontalPanel
add
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+FilePanel

+
+public FilePanel()
+
+
+
+ +

+FilePanel

+
+public FilePanel(String title)
+
+
+
+ +

+FilePanel

+
+public FilePanel(String title,
+                 String filetype)
+
+
+
+ +

+FilePanel

+
+public FilePanel(ChangeListener l,
+                 String title)
+
+
+
+ +

+FilePanel

+
+public FilePanel(String resString,
+                 String[] exts)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/util/FilePanelEntry.html b/docs/api/org/apache/jmeter/gui/util/FilePanelEntry.html new file mode 100644 index 00000000000..b9e10de0916 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/util/FilePanelEntry.html @@ -0,0 +1,559 @@ + + + + + +FilePanelEntry (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.util +
+Class FilePanelEntry

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.util.HorizontalPanel
+                      extended by org.apache.jmeter.gui.util.FilePanelEntry
+
+
+
All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible
+
+
+
Direct Known Subclasses:
FilePanel
+
+
+
+
public class FilePanelEntry
extends HorizontalPanel
implements ActionListener
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + + + + + + + + + + +
+Constructor Summary
FilePanelEntry() + +
+           
FilePanelEntry(String label) + +
+           
FilePanelEntry(String label, + ChangeListener listener, + String... exts) + +
+           
FilePanelEntry(String label, + String... exts) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidactionPerformed(ActionEvent e) + +
+           
+ voidaddChangeListener(ChangeListener l) + +
+           
+ voidclearGui() + +
+           
+ voidenableFile(boolean enable) + +
+          If the gui needs to enable/disable the FilePanel, call the method.
+ StringgetFilename() + +
+          Gets the filename attribute of the FilePanel object.
+ voidsetFilename(String f) + +
+          Sets the filename attribute of the FilePanel object.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.util.HorizontalPanel
add
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+FilePanelEntry

+
+public FilePanelEntry()
+
+
+
+ +

+FilePanelEntry

+
+public FilePanelEntry(String label)
+
+
+
+ +

+FilePanelEntry

+
+public FilePanelEntry(String label,
+                      String... exts)
+
+
+
+ +

+FilePanelEntry

+
+public FilePanelEntry(String label,
+                      ChangeListener listener,
+                      String... exts)
+
+
+ + + + + + + + +
+Method Detail
+ +

+addChangeListener

+
+public final void addChangeListener(ChangeListener l)
+
+
+
+
+
+
+
+
+
+ +

+clearGui

+
+public void clearGui()
+
+
+
+
+
+
+
+
+
+ +

+enableFile

+
+public void enableFile(boolean enable)
+
+
If the gui needs to enable/disable the FilePanel, call the method. +

+

+
+
+
+
Parameters:
enable - The Flag whether the FilePanel should be enabled
+
+
+
+ +

+getFilename

+
+public String getFilename()
+
+
Gets the filename attribute of the FilePanel object. +

+

+
+
+
+ +
Returns:
the filename value
+
+
+
+ +

+setFilename

+
+public void setFilename(String f)
+
+
Sets the filename attribute of the FilePanel object. +

+

+
+
+
+
Parameters:
f - the new filename value
+
+
+
+ +

+actionPerformed

+
+public void actionPerformed(ActionEvent e)
+
+
+
Specified by:
actionPerformed in interface ActionListener
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/util/FocusRequester.html b/docs/api/org/apache/jmeter/gui/util/FocusRequester.html new file mode 100644 index 00000000000..bf9b81fb0c8 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/util/FocusRequester.html @@ -0,0 +1,248 @@ + + + + + +FocusRequester (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.util +
+Class FocusRequester

+
+java.lang.Object
+  extended by org.apache.jmeter.gui.util.FocusRequester
+
+
+
+
public class FocusRequester
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
FocusRequester() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static voidrequestFocus(Component comp) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+FocusRequester

+
+public FocusRequester()
+
+
+ + + + + + + + +
+Method Detail
+ +

+requestFocus

+
+public static void requestFocus(Component comp)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/util/HeaderAsPropertyRenderer.html b/docs/api/org/apache/jmeter/gui/util/HeaderAsPropertyRenderer.html new file mode 100644 index 00000000000..775d9fd80ff --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/util/HeaderAsPropertyRenderer.html @@ -0,0 +1,484 @@ + + + + + +HeaderAsPropertyRenderer (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.util +
+Class HeaderAsPropertyRenderer

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JLabel
+                  extended by javax.swing.table.DefaultTableCellRenderer
+                      extended by org.apache.jmeter.gui.util.HeaderAsPropertyRenderer
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, SwingConstants, TableCellRenderer
+
+
+
+
public class HeaderAsPropertyRenderer
extends DefaultTableCellRenderer
+ + +

+Renders items in a JTable by converting from resource names. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.table.DefaultTableCellRenderer
DefaultTableCellRenderer.UIResource
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JLabel
JLabel.AccessibleJLabel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class javax.swing.table.DefaultTableCellRenderer
noFocusBorder
+ + + + + + + +
Fields inherited from class javax.swing.JLabel
labelFor
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface javax.swing.SwingConstants
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + + + + +
+Constructor Summary
HeaderAsPropertyRenderer() + +
+           
HeaderAsPropertyRenderer(Object[][] columnsMsgParameters) + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ ComponentgetTableCellRendererComponent(JTable table, + Object value, + boolean isSelected, + boolean hasFocus, + int row, + int column) + +
+           
+protected  StringgetText(Object value, + int row, + int column) + +
+          Get the text for the value as the translation of the resource name.
+ + + + + + + +
Methods inherited from class javax.swing.table.DefaultTableCellRenderer
firePropertyChange, firePropertyChange, invalidate, isOpaque, repaint, repaint, repaint, revalidate, setBackground, setForeground, setValue, updateUI, validate
+ + + + + + + +
Methods inherited from class javax.swing.JLabel
checkHorizontalKey, checkVerticalKey, getAccessibleContext, getDisabledIcon, getDisplayedMnemonic, getDisplayedMnemonicIndex, getHorizontalAlignment, getHorizontalTextPosition, getIcon, getIconTextGap, getLabelFor, getText, getUI, getUIClassID, getVerticalAlignment, getVerticalTextPosition, imageUpdate, paramString, setDisabledIcon, setDisplayedMnemonic, setDisplayedMnemonic, setDisplayedMnemonicIndex, setHorizontalAlignment, setHorizontalTextPosition, setIcon, setIconTextGap, setLabelFor, setText, setUI, setVerticalAlignment, setVerticalTextPosition
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+HeaderAsPropertyRenderer

+
+public HeaderAsPropertyRenderer()
+
+
+
+ +

+HeaderAsPropertyRenderer

+
+public HeaderAsPropertyRenderer(Object[][] columnsMsgParameters)
+
+
+
Parameters:
columnsMsgParameters - Optional parameters of i18n keys
+
+ + + + + + + + +
+Method Detail
+ +

+getTableCellRendererComponent

+
+public Component getTableCellRendererComponent(JTable table,
+                                               Object value,
+                                               boolean isSelected,
+                                               boolean hasFocus,
+                                               int row,
+                                               int column)
+
+
+
Specified by:
getTableCellRendererComponent in interface TableCellRenderer
Overrides:
getTableCellRendererComponent in class DefaultTableCellRenderer
+
+
+
+
+
+
+ +

+getText

+
+protected String getText(Object value,
+                         int row,
+                         int column)
+
+
Get the text for the value as the translation of the resource name. +

+

+
Parameters:
value - value for which to get the translation
column - index which column message parameters should be used
row - not used +
Returns:
the text
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/util/HorizontalPanel.html b/docs/api/org/apache/jmeter/gui/util/HorizontalPanel.html new file mode 100644 index 00000000000..17066f77f90 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/util/HorizontalPanel.html @@ -0,0 +1,416 @@ + + + + + +HorizontalPanel (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.util +
+Class HorizontalPanel

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.util.HorizontalPanel
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible
+
+
+
Direct Known Subclasses:
FilePanelEntry
+
+
+
+
public class HorizontalPanel
extends JPanel
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + + + + + + + +
+Constructor Summary
HorizontalPanel() + +
+           
HorizontalPanel(Color bk) + +
+           
HorizontalPanel(int hgap, + float verticalAlign) + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ Componentadd(Component c) + +
+          
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+HorizontalPanel

+
+public HorizontalPanel()
+
+
+
+ +

+HorizontalPanel

+
+public HorizontalPanel(Color bk)
+
+
+
+ +

+HorizontalPanel

+
+public HorizontalPanel(int hgap,
+                       float verticalAlign)
+
+
+ + + + + + + + +
+Method Detail
+ +

+add

+
+public Component add(Component c)
+
+
+

+

+
Overrides:
add in class Container
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/util/IconToolbarBean.html b/docs/api/org/apache/jmeter/gui/util/IconToolbarBean.html new file mode 100644 index 00000000000..cedd3334a87 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/util/IconToolbarBean.html @@ -0,0 +1,298 @@ + + + + + +IconToolbarBean (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.util +
+Class IconToolbarBean

+
+java.lang.Object
+  extended by org.apache.jmeter.gui.util.IconToolbarBean
+
+
+
+
public final class IconToolbarBean
extends Object
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetActionName() + +
+           
+ StringgetActionNameResolve() + +
+          Resolve action name ID declared in icon set file to ActionNames value
+ StringgetI18nKey() + +
+           
+ StringgetIconPath() + +
+           
+ StringgetIconPathPressed() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+getActionNameResolve

+
+public String getActionNameResolve()
+
+
Resolve action name ID declared in icon set file to ActionNames value +

+

+ +
Returns:
the resolve actionName
+
+
+
+ +

+getI18nKey

+
+public String getI18nKey()
+
+
+ +
Returns:
the i18nKey
+
+
+
+ +

+getActionName

+
+public String getActionName()
+
+
+ +
Returns:
the actionName
+
+
+
+ +

+getIconPath

+
+public String getIconPath()
+
+
+ +
Returns:
the iconPath
+
+
+
+ +

+getIconPathPressed

+
+public String getIconPathPressed()
+
+
+ +
Returns:
the iconPathPressed
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/util/JDateField.html b/docs/api/org/apache/jmeter/gui/util/JDateField.html new file mode 100644 index 00000000000..2e5ca338f69 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/util/JDateField.html @@ -0,0 +1,477 @@ + + + + + +JDateField (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.util +
+Class JDateField

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.text.JTextComponent
+                  extended by javax.swing.JTextField
+                      extended by org.apache.jmeter.gui.util.JDateField
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, Scrollable, SwingConstants
+
+
+
+
public class JDateField
extends JTextField
+ + +

+This is Date mask control. Using this control we can pop up our date in the + text field. And this control is Devloped basically for JDK1.3 and lower + version support. This control is similer to JSpinner control this is + available in JDK1.4 and above only. +

+ This will set the date "yyyy/MM/dd HH:mm:ss" in this format only. +

+

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JTextField
JTextField.AccessibleJTextField
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.text.JTextComponent
JTextComponent.AccessibleJTextComponent, JTextComponent.DropLocation, JTextComponent.KeyBinding
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class javax.swing.JTextField
notifyAction
+ + + + + + + +
Fields inherited from class javax.swing.text.JTextComponent
DEFAULT_KEYMAP, FOCUS_ACCELERATOR_KEY
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface javax.swing.SwingConstants
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + + + + +
+Constructor Summary
JDateField() + +
+           
JDateField(Date date) + +
+          Create a DateField with the specified date.
+  + + + + + + + + + + + + + + + +
+Method Summary
+ DategetDate() + +
+          Get the date from the Date mask control.
+ voidsetDate(Date date) + +
+          Set the date to the Date mask control.
+ + + + + + + +
Methods inherited from class javax.swing.JTextField
actionPropertyChanged, addActionListener, configurePropertiesFromAction, createActionPropertyChangeListener, createDefaultModel, fireActionPerformed, getAccessibleContext, getAction, getActionListeners, getActions, getColumns, getColumnWidth, getHorizontalAlignment, getHorizontalVisibility, getPreferredSize, getScrollOffset, getUIClassID, isValidateRoot, paramString, postActionEvent, removeActionListener, scrollRectToVisible, setAction, setActionCommand, setColumns, setDocument, setFont, setHorizontalAlignment, setScrollOffset
+ + + + + + + +
Methods inherited from class javax.swing.text.JTextComponent
addCaretListener, addInputMethodListener, addKeymap, copy, cut, fireCaretUpdate, getCaret, getCaretColor, getCaretListeners, getCaretPosition, getDisabledTextColor, getDocument, getDragEnabled, getDropLocation, getDropMode, getFocusAccelerator, getHighlighter, getInputMethodRequests, getKeymap, getKeymap, getMargin, getNavigationFilter, getPreferredScrollableViewportSize, getPrintable, getScrollableBlockIncrement, getScrollableTracksViewportHeight, getScrollableTracksViewportWidth, getScrollableUnitIncrement, getSelectedText, getSelectedTextColor, getSelectionColor, getSelectionEnd, getSelectionStart, getText, getText, getToolTipText, getUI, isEditable, loadKeymap, modelToView, moveCaretPosition, paste, print, print, print, processInputMethodEvent, read, removeCaretListener, removeKeymap, removeNotify, replaceSelection, select, selectAll, setCaret, setCaretColor, setCaretPosition, setComponentOrientation, setDisabledTextColor, setDragEnabled, setDropMode, setEditable, setFocusAccelerator, setHighlighter, setKeymap, setMargin, setNavigationFilter, setSelectedTextColor, setSelectionColor, setSelectionEnd, setSelectionStart, setText, setUI, updateUI, viewToModel, write
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+JDateField

+
+public JDateField(Date date)
+
+
Create a DateField with the specified date. +

+

+
Parameters:
date - The Date to be used
+
+
+ +

+JDateField

+
+public JDateField()
+
+
+ + + + + + + + +
+Method Detail
+ +

+setDate

+
+public void setDate(Date date)
+
+
Set the date to the Date mask control. +

+

+
Parameters:
date - The Date to be set
+
+
+
+ +

+getDate

+
+public Date getDate()
+
+
Get the date from the Date mask control. +

+

+ +
Returns:
The currently set date
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/util/JLabeledRadioI18N.html b/docs/api/org/apache/jmeter/gui/util/JLabeledRadioI18N.html new file mode 100644 index 00000000000..a0c4f90bdf4 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/util/JLabeledRadioI18N.html @@ -0,0 +1,571 @@ + + + + + +JLabeledRadioI18N (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.util +
+Class JLabeledRadioI18N

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.util.JLabeledRadioI18N
+
+
+
All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, JLabeledField
+
+
+
+
public class JLabeledRadioI18N
extends JPanel
implements JLabeledField, ActionListener
+ + +

+JLabeledRadioI18N creates a set of Radio buttons with a label. + This is a version of the original JLabelledRadio class (now removed), but modified + to accept resource names rather than language strings. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + + + + +
+Constructor Summary
JLabeledRadioI18N() + +
+          Deprecated. - only for use in testing
JLabeledRadioI18N(String label_resouce, + String[] item_resources, + String selectedItem) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidactionPerformed(ActionEvent e) + +
+          When a radio button is clicked, an ActionEvent is triggered.
+ voidaddChangeListener(ChangeListener pChangeListener) + +
+          
+ List<JComponent>getComponentList() + +
+          Method will return all the label and JRadioButtons.
+ StringgetText() + +
+          The implementation will get the resource name from the selected radio button + in the JButtonGroup.
+ voidresetButtons(String[] resouces, + String selected) + +
+          Method is responsible for removing current JRadioButtons of ButtonGroup and + add creating the JRadioButtons and adding them to + the ButtonGroup.
+ voidsetLabel(String label_resource) + +
+          Set the group label from the resource name.
+ voidsetText(String resourcename) + +
+          The implementation will iterate through the radio buttons and find the + match.
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+JLabeledRadioI18N

+
+public JLabeledRadioI18N(String label_resouce,
+                         String[] item_resources,
+                         String selectedItem)
+
+
+
Parameters:
label_resouce - text resource name for group label
item_resources - list of resource names for individual buttons
selectedItem - button to be selected (if not null)
+
+
+ +

+JLabeledRadioI18N

+
+@Deprecated
+public JLabeledRadioI18N()
+
+
Deprecated. - only for use in testing +

+

+ + + + + + + + +
+Method Detail
+ +

+resetButtons

+
+public void resetButtons(String[] resouces,
+                         String selected)
+
+
Method is responsible for removing current JRadioButtons of ButtonGroup and + add creating the JRadioButtons and adding them to + the ButtonGroup. + + The resource name is used as the action command for the button model, + and the resource value is used to set the button label. +

+

+
+
+
+
Parameters:
resouces - list of resource names
selected - initially selected resource (if not null)
+
+
+
+ +

+getText

+
+public String getText()
+
+
The implementation will get the resource name from the selected radio button + in the JButtonGroup. +

+

+
Specified by:
getText in interface JLabeledField
+
+
+
+
+
+
+ +

+setText

+
+public void setText(String resourcename)
+
+
The implementation will iterate through the radio buttons and find the + match. It then sets it to selected and sets all other radio buttons as + not selected. +

+

+
Specified by:
setText in interface JLabeledField
+
+
+
Parameters:
resourcename - name of resource whose button is to be selected
+
+
+
+ +

+setLabel

+
+public final void setLabel(String label_resource)
+
+
Set the group label from the resource name. +

+

+
Specified by:
setLabel in interface JLabeledField
+
+
+
Parameters:
label_resource - The text to be looked up and set
+
+
+
+ +

+addChangeListener

+
+public void addChangeListener(ChangeListener pChangeListener)
+
+
+

+

+
Specified by:
addChangeListener in interface JLabeledField
+
+
+
+
+
+
+ +

+getComponentList

+
+public List<JComponent> getComponentList()
+
+
Method will return all the label and JRadioButtons. ButtonGroup is + excluded from the list. +

+

+
Specified by:
getComponentList in interface JLabeledField
+
+
+
+
+
+
+ +

+actionPerformed

+
+public void actionPerformed(ActionEvent e)
+
+
When a radio button is clicked, an ActionEvent is triggered. +

+

+
Specified by:
actionPerformed in interface ActionListener
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/util/JMeterColor.html b/docs/api/org/apache/jmeter/gui/util/JMeterColor.html new file mode 100644 index 00000000000..2dc09e5a42d --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/util/JMeterColor.html @@ -0,0 +1,343 @@ + + + + + +JMeterColor (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.util +
+Class JMeterColor

+
+java.lang.Object
+  extended by java.awt.Color
+      extended by org.apache.jmeter.gui.util.JMeterColor
+
+
+
All Implemented Interfaces:
Paint, Transparency, Serializable
+
+
+
+
public class JMeterColor
extends Color
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + +
+Field Summary
+static Colordark_green + +
+           
+static ColorLAVENDER + +
+           
+static Colorpurple + +
+           
+ + + + + + + +
Fields inherited from class java.awt.Color
black, BLACK, blue, BLUE, cyan, CYAN, DARK_GRAY, darkGray, gray, GRAY, green, GREEN, LIGHT_GRAY, lightGray, magenta, MAGENTA, orange, ORANGE, pink, PINK, red, RED, white, WHITE, yellow, YELLOW
+ + + + + + + +
Fields inherited from interface java.awt.Transparency
BITMASK, OPAQUE, TRANSLUCENT
+  + + + + + + + + + + + + + +
+Constructor Summary
JMeterColor() + +
+           
JMeterColor(float r, + float g, + float b) + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.awt.Color
brighter, createContext, darker, decode, equals, getAlpha, getBlue, getColor, getColor, getColor, getColorComponents, getColorComponents, getColorSpace, getComponents, getComponents, getGreen, getHSBColor, getRed, getRGB, getRGBColorComponents, getRGBComponents, getTransparency, hashCode, HSBtoRGB, RGBtoHSB, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+dark_green

+
+public static final Color dark_green
+
+
+
+
+
+ +

+LAVENDER

+
+public static final Color LAVENDER
+
+
+
+
+
+ +

+purple

+
+public static final Color purple
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+JMeterColor

+
+public JMeterColor(float r,
+                   float g,
+                   float b)
+
+
+
+ +

+JMeterColor

+
+public JMeterColor()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/util/JMeterMenuBar.html b/docs/api/org/apache/jmeter/gui/util/JMeterMenuBar.html new file mode 100644 index 00000000000..6176f7bbf2c --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/util/JMeterMenuBar.html @@ -0,0 +1,727 @@ + + + + + +JMeterMenuBar (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.util +
+Class JMeterMenuBar

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JMenuBar
+                  extended by org.apache.jmeter.gui.util.JMeterMenuBar
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, MenuElement, LocaleChangeListener
+
+
+
+
public class JMeterMenuBar
extends JMenuBar
implements LocaleChangeListener
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JMenuBar
JMenuBar.AccessibleJMenuBar
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + + + + + + + + + +
+Field Summary
+static StringCROSS_PLATFORM_LAF + +
+           
+static StringSYSTEM_LAF + +
+           
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
JMeterMenuBar() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidcreateMenuBar() + +
+          Creates the MenuBar for this application.
+static UIManager.LookAndFeelInfo[]getAllLAFs() + +
+          Get a list of all installed LAFs plus CrossPlatform and System.
+static String[]getLanguages() + +
+          Generate the list of supported languages.
+ voidlocaleChanged(LocaleChangeEvent event) + +
+          
+ voidsetEditAddEnabled(boolean enabled) + +
+           
+ voidsetEditAddMenu(JMenu menu) + +
+           
+ voidsetEditEnabled(boolean enabled) + +
+           
+ voidsetEditMenu(JPopupMenu menu) + +
+           
+ voidsetEnabled(boolean enable) + +
+          
+ voidsetFileLoadEnabled(boolean enabled) + +
+           
+ voidsetFileRevertEnabled(boolean enabled) + +
+           
+ voidsetFileSaveEnabled(boolean enabled) + +
+           
+ voidsetProjectFileLoaded(String file) + +
+           
+ voidsetRunning(boolean running, + String host) + +
+           
+ + + + + + + +
Methods inherited from class javax.swing.JMenuBar
add, addNotify, getAccessibleContext, getComponent, getComponentAtIndex, getComponentIndex, getHelpMenu, getMargin, getMenu, getMenuCount, getSelectionModel, getSubElements, getUI, getUIClassID, isBorderPainted, isSelected, menuSelectionChanged, paintBorder, paramString, processKeyBinding, processKeyEvent, processMouseEvent, removeNotify, setBorderPainted, setHelpMenu, setMargin, setSelected, setSelectionModel, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+SYSTEM_LAF

+
+public static final String SYSTEM_LAF
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CROSS_PLATFORM_LAF

+
+public static final String CROSS_PLATFORM_LAF
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+JMeterMenuBar

+
+public JMeterMenuBar()
+
+
+ + + + + + + + +
+Method Detail
+ +

+setFileSaveEnabled

+
+public void setFileSaveEnabled(boolean enabled)
+
+
+
+
+
+
+
+
+
+ +

+setFileLoadEnabled

+
+public void setFileLoadEnabled(boolean enabled)
+
+
+
+
+
+
+
+
+
+ +

+setFileRevertEnabled

+
+public void setFileRevertEnabled(boolean enabled)
+
+
+
+
+
+
+
+
+
+ +

+setProjectFileLoaded

+
+public void setProjectFileLoaded(String file)
+
+
+
+
+
+
+
+
+
+ +

+setEditEnabled

+
+public void setEditEnabled(boolean enabled)
+
+
+
+
+
+
+
+
+
+ +

+setEditAddMenu

+
+public void setEditAddMenu(JMenu menu)
+
+
+
+
+
+
+
+
+
+ +

+setEditMenu

+
+public void setEditMenu(JPopupMenu menu)
+
+
+
+
+
+
+
+
+
+ +

+setEditAddEnabled

+
+public void setEditAddEnabled(boolean enabled)
+
+
+
+
+
+
+
+
+
+ +

+createMenuBar

+
+public void createMenuBar()
+
+
Creates the MenuBar for this application. I believe in my heart that this + should be defined in a file somewhere, but that is for later. +

+

+
+
+
+
+
+
+
+ +

+getLanguages

+
+public static String[] getLanguages()
+
+
Generate the list of supported languages. +

+

+
+
+
+ +
Returns:
list of languages
+
+
+
+ +

+setRunning

+
+public void setRunning(boolean running,
+                       String host)
+
+
+
+
+
+
+
+
+
+ +

+setEnabled

+
+public void setEnabled(boolean enable)
+
+
+

+

+
Overrides:
setEnabled in class JComponent
+
+
+
+
+
+
+ +

+localeChanged

+
+public void localeChanged(LocaleChangeEvent event)
+
+
+

+

+
Specified by:
localeChanged in interface LocaleChangeListener
+
+
+
+
+
+
+ +

+getAllLAFs

+
+public static UIManager.LookAndFeelInfo[] getAllLAFs()
+
+
Get a list of all installed LAFs plus CrossPlatform and System. +

+

+
+
+
+ +
Returns:
The list of available UIManager.LookAndFeelInfos
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/util/JMeterToolBar.html b/docs/api/org/apache/jmeter/gui/util/JMeterToolBar.html new file mode 100644 index 00000000000..ba3a44543d4 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/util/JMeterToolBar.html @@ -0,0 +1,602 @@ + + + + + +JMeterToolBar (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.util +
+Class JMeterToolBar

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JToolBar
+                  extended by org.apache.jmeter.gui.util.JMeterToolBar
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, SwingConstants, LocaleChangeListener
+
+
+
+
public class JMeterToolBar
extends JToolBar
implements LocaleChangeListener
+ + +

+The JMeter main toolbar class +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JToolBar
JToolBar.AccessibleJToolBar, JToolBar.Separator
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+protected static StringDEFAULT_TOOLBAR_ICON_SIZE + +
+           
+protected static StringDEFAULT_TOOLBAR_PROPERTY_FILE + +
+           
+protected static StringTOOLBAR_ICON_SIZE + +
+           
+protected static StringUSER_DEFINED_TOOLBAR_PROPERTY_FILE + +
+           
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface javax.swing.SwingConstants
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
JMeterToolBar() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static JMeterToolBarcreateToolbar(boolean visible) + +
+          Create the default JMeter toolbar
+ voidinitButtonsState() + +
+          Init the state of buttons
+ voidlocaleChanged(LocaleChangeEvent event) + +
+          
+ voidsetLocalTestStarted(boolean started) + +
+          Change state of buttons on local test
+ voidsetRemoteTestStarted(boolean started) + +
+          Change state of buttons on remote test
+ voidupdateUndoRedoIcons(boolean canUndo, + boolean canRedo) + +
+          Change state of buttons after undo or redo
+ + + + + + + +
Methods inherited from class javax.swing.JToolBar
add, addImpl, addSeparator, addSeparator, createActionChangeListener, createActionComponent, getAccessibleContext, getComponentAtIndex, getComponentIndex, getMargin, getOrientation, getUI, getUIClassID, isBorderPainted, isFloatable, isRollover, paintBorder, paramString, setBorderPainted, setFloatable, setLayout, setMargin, setOrientation, setRollover, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+DEFAULT_TOOLBAR_PROPERTY_FILE

+
+protected static final String DEFAULT_TOOLBAR_PROPERTY_FILE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+USER_DEFINED_TOOLBAR_PROPERTY_FILE

+
+protected static final String USER_DEFINED_TOOLBAR_PROPERTY_FILE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+TOOLBAR_ICON_SIZE

+
+protected static final String TOOLBAR_ICON_SIZE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DEFAULT_TOOLBAR_ICON_SIZE

+
+protected static final String DEFAULT_TOOLBAR_ICON_SIZE
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+JMeterToolBar

+
+public JMeterToolBar()
+
+
+ + + + + + + + +
+Method Detail
+ +

+createToolbar

+
+public static JMeterToolBar createToolbar(boolean visible)
+
+
Create the default JMeter toolbar +

+

+
+
+
+
Parameters:
visible - Flag whether toolbar should be visible +
Returns:
the newly created JMeterToolBar
+
+
+
+ +

+localeChanged

+
+public void localeChanged(LocaleChangeEvent event)
+
+
+

+

+
Specified by:
localeChanged in interface LocaleChangeListener
+
+
+
+
+
+
+ +

+initButtonsState

+
+public void initButtonsState()
+
+
Init the state of buttons +

+

+
+
+
+
+
+
+
+ +

+setLocalTestStarted

+
+public void setLocalTestStarted(boolean started)
+
+
Change state of buttons on local test +

+

+
+
+
+
Parameters:
started - Flag whether local test is started
+
+
+
+ +

+setRemoteTestStarted

+
+public void setRemoteTestStarted(boolean started)
+
+
Change state of buttons on remote test +

+

+
+
+
+
Parameters:
started - Flag whether the test is started
+
+
+
+ +

+updateUndoRedoIcons

+
+public void updateUndoRedoIcons(boolean canUndo,
+                                boolean canRedo)
+
+
Change state of buttons after undo or redo +

+

+
+
+
+
Parameters:
canUndo - Flag whether the button corresponding to + ActionNames.UNDO should be enabled
canRedo - Flag whether the button corresponding to + ActionNames.REDO should be enabled
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/util/JSyntaxTextArea.html b/docs/api/org/apache/jmeter/gui/util/JSyntaxTextArea.html new file mode 100644 index 00000000000..74aef076e70 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/util/JSyntaxTextArea.html @@ -0,0 +1,614 @@ + + + + + +JSyntaxTextArea (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.util +
+Class JSyntaxTextArea

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.text.JTextComponent
+                  extended by javax.swing.JTextArea
+                      extended by org.fife.ui.rtextarea.RTextAreaBase
+                          extended by org.fife.ui.rtextarea.RTextArea
+                              extended by org.fife.ui.rsyntaxtextarea.RSyntaxTextArea
+                                  extended by org.apache.jmeter.gui.util.JSyntaxTextArea
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Printable, Serializable, Accessible, Scrollable, org.fife.ui.rsyntaxtextarea.SyntaxConstants
+
+
+
+
public class JSyntaxTextArea
extends org.fife.ui.rsyntaxtextarea.RSyntaxTextArea
+ + +

+Utility class to handle RSyntaxTextArea code +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class org.fife.ui.rtextarea.RTextArea
org.fife.ui.rtextarea.RTextArea.RTextAreaMutableCaretEvent
+  + + + + + + + + +
Nested classes/interfaces inherited from class org.fife.ui.rtextarea.RTextAreaBase
org.fife.ui.rtextarea.RTextAreaBase.RTAMouseListener
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JTextArea
JTextArea.AccessibleJTextArea
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.text.JTextComponent
JTextComponent.AccessibleJTextComponent, JTextComponent.DropLocation, JTextComponent.KeyBinding
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.fife.ui.rsyntaxtextarea.RSyntaxTextArea
ANIMATE_BRACKET_MATCHING_PROPERTY, ANTIALIAS_PROPERTY, AUTO_INDENT_PROPERTY, BRACKET_MATCHING_PROPERTY, CLEAR_WHITESPACE_LINES_PROPERTY, CLOSE_CURLY_BRACES_PROPERTY, CLOSE_MARKUP_TAGS_PROPERTY, CODE_FOLDING_PROPERTY, EOL_VISIBLE_PROPERTY, FOCUSABLE_TIPS_PROPERTY, FRACTIONAL_FONTMETRICS_PROPERTY, HIGHLIGHT_SECONDARY_LANGUAGES_PROPERTY, HYPERLINKS_ENABLED_PROPERTY, MARK_OCCURRENCES_PROPERTY, MARKED_OCCURRENCES_CHANGED_PROPERTY, PAINT_MATCHED_BRACKET_PAIR_PROPERTY, PARSER_NOTICES_PROPERTY, SYNTAX_SCHEME_PROPERTY, SYNTAX_STYLE_PROPERTY, TAB_LINE_COLOR_PROPERTY, TAB_LINES_PROPERTY, USE_SELECTED_TEXT_COLOR_PROPERTY, VISIBLE_WHITESPACE_PROPERTY
+ + + + + + + +
Fields inherited from class org.fife.ui.rtextarea.RTextArea
COPY_ACTION, CUT_ACTION, DELETE_ACTION, INSERT_MODE, MARK_ALL_COLOR_PROPERTY, MARK_ALL_OCCURRENCES_CHANGED_PROPERTY, OVERWRITE_MODE, PASTE_ACTION, REDO_ACTION, SELECT_ALL_ACTION, UNDO_ACTION
+ + + + + + + +
Fields inherited from class org.fife.ui.rtextarea.RTextAreaBase
BACKGROUND_IMAGE_PROPERTY, CURRENT_LINE_HIGHLIGHT_COLOR_PROPERTY, CURRENT_LINE_HIGHLIGHT_FADE_PROPERTY, HIGHLIGHT_CURRENT_LINE_PROPERTY, ROUNDED_SELECTION_PROPERTY
+ + + + + + + +
Fields inherited from class javax.swing.text.JTextComponent
DEFAULT_KEYMAP, FOCUS_ACCELERATOR_KEY
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface org.fife.ui.rsyntaxtextarea.SyntaxConstants
SYNTAX_STYLE_ACTIONSCRIPT, SYNTAX_STYLE_ASSEMBLER_X86, SYNTAX_STYLE_BBCODE, SYNTAX_STYLE_C, SYNTAX_STYLE_CLOJURE, SYNTAX_STYLE_CPLUSPLUS, SYNTAX_STYLE_CSHARP, SYNTAX_STYLE_CSS, SYNTAX_STYLE_D, SYNTAX_STYLE_DART, SYNTAX_STYLE_DELPHI, SYNTAX_STYLE_DTD, SYNTAX_STYLE_FORTRAN, SYNTAX_STYLE_GROOVY, SYNTAX_STYLE_HTACCESS, SYNTAX_STYLE_HTML, SYNTAX_STYLE_JAVA, SYNTAX_STYLE_JAVASCRIPT, SYNTAX_STYLE_JSON, SYNTAX_STYLE_JSP, SYNTAX_STYLE_LATEX, SYNTAX_STYLE_LISP, SYNTAX_STYLE_LUA, SYNTAX_STYLE_MAKEFILE, SYNTAX_STYLE_MXML, SYNTAX_STYLE_NONE, SYNTAX_STYLE_NSIS, SYNTAX_STYLE_PERL, SYNTAX_STYLE_PHP, SYNTAX_STYLE_PROPERTIES_FILE, SYNTAX_STYLE_PYTHON, SYNTAX_STYLE_RUBY, SYNTAX_STYLE_SAS, SYNTAX_STYLE_SCALA, SYNTAX_STYLE_SQL, SYNTAX_STYLE_TCL, SYNTAX_STYLE_UNIX_SHELL, SYNTAX_STYLE_VISUAL_BASIC, SYNTAX_STYLE_WINDOWS_BATCH, SYNTAX_STYLE_XML
+ + + + + + + +
Fields inherited from interface java.awt.print.Printable
NO_SUCH_PAGE, PAGE_EXISTS
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + + + + + + + +
+Constructor Summary
JSyntaxTextArea() + +
+          Deprecated. 
JSyntaxTextArea(int rows, + int cols) + +
+          Creates the default syntax highlighting text area.
JSyntaxTextArea(int rows, + int cols, + boolean disableUndo) + +
+          Creates the default syntax highlighting text area.
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+protected  org.fife.ui.rtextarea.RUndoManagercreateUndoManager() + +
+          Override UndoManager to allow disabling if feature causes issues + See https://github.com/bobbylight/RSyntaxTextArea/issues/19
+ voidsetInitialText(String string) + +
+          Sets initial text resetting undo history
+ voidsetLanguage(String language) + +
+          Sets the language of the text area.
+ + + + + + + +
Methods inherited from class org.fife.ui.rsyntaxtextarea.RSyntaxTextArea
addActiveLineRangeListener, addHyperlinkListener, addNotify, addParser, appendFoldingMenu, clearParsers, configurePopupMenu, copyAsRtf, createDefaultModel, createMouseListener, createPopupMenu, createRTextAreaUI, doBracketMatching, fireCaretUpdate, foldToggled, forceReparsing, forceReparsing, getAnimateBracketMatching, getAntiAliasingEnabled, getBackgroundForToken, getCloseCurlyBraces, getCloseMarkupTags, getCodeTemplateManager, getDefaultBracketMatchBGColor, getDefaultBracketMatchBorderColor, getDefaultSelectionColor, getDefaultSyntaxScheme, getEOLMarkersVisible, getFoldManager, getFontForTokenType, getFontMetricsForTokenType, getForegroundForToken, getForegroundForTokenType, getFractionalFontMetricsEnabled, getHighlightSecondaryLanguages, getHyperlinkForeground, getHyperlinksEnabled, getLastVisibleOffset, getLineHeight, getLinkGenerator, getMarkAllHighlightRanges, getMarkedOccurrences, getMarkOccurrences, getMarkOccurrencesColor, getMatchedBracketBGColor, getMatchedBracketBorderColor, getMaxAscent, getPaintMarkOccurrencesBorder, getPaintMatchedBracketPair, getPaintTabLines, getParser, getParserCount, getParserDelay, getParserNotices, getRightHandSideCorrection, getSecondaryLanguageBackground, getSecondaryLanguageCount, getShouldIndentNextLine, getSyntaxEditingStyle, getSyntaxScheme, getTabLineColor, getTemplatesEnabled, getTokenListForLine, getToolTipText, getToolTipTextImpl, getUnderlineForToken, getUseFocusableTips, getUseSelectedTextColor, init, isAutoIndentEnabled, isBracketMatchingEnabled, isClearWhitespaceLinesEnabled, isCodeFoldingEnabled, isWhitespaceVisible, modelToToken, paintComponent, removeActiveLineRangeListener, removeHyperlinkListener, removeNotify, removeParser, restoreDefaultSyntaxScheme, saveTemplates, setActiveLineRange, setAnimateBracketMatching, setAntiAliasingEnabled, setAutoIndentEnabled, setBracketMatchingEnabled, setClearWhitespaceLinesEnabled, setCloseCurlyBraces, setCloseMarkupTags, setCodeFoldingEnabled, setDocument, setEOLMarkersVisible, setFont, setFractionalFontMetricsEnabled, setHighlighter, setHighlightSecondaryLanguages, setHyperlinkForeground, setHyperlinksEnabled, setLinkGenerator, setLinkScanningMask, setMarkOccurrences, setMarkOccurrencesColor, setMatchedBracketBGColor, setMatchedBracketBorderColor, setPaintMarkOccurrencesBorder, setPaintMatchedBracketPair, setPaintTabLines, setParserDelay, setRightHandSideCorrection, setSecondaryLanguageBackground, setSyntaxEditingStyle, setSyntaxScheme, setTabLineColor, setTemplateDirectory, setTemplatesEnabled, setUseFocusableTips, setUseSelectedTextColor, setWhitespaceVisible, viewToToken
+ + + + + + + +
Methods inherited from class org.fife.ui.rtextarea.RTextArea
addLineHighlight, beginAtomicEdit, beginRecordingMacro, canRedo, canUndo, createPopupMenuItem, discardAllEdits, endAtomicEdit, endRecordingMacro, getAction, getCurrentMacro, getDefaultMarkAllHighlightColor, getIconGroup, getMarkAllHighlightColor, getPopupMenu, getSelectedOccurrenceText, getTextMode, getToolTipSupplier, handleReplaceSelection, isRecordingMacro, loadMacro, paste, playbackLastMacro, print, read, redoLastAction, removeAllLineHighlights, removeLineHighlight, replaceRange, replaceSelection, setActionProperties, setActionProperties, setCaret, setCaretStyle, setIconGroup, setMarkAllHighlightColor, setPopupMenu, setRoundedSelectionEdges, setSelectedOccurrenceText, setTextMode, setToolTipSupplier, setUI, undoLastAction
+ + + + + + + +
Methods inherited from class org.fife.ui.rtextarea.RTextAreaBase
convertSpacesToTabs, convertTabsToSpaces, forceCurrentLineHighlightRepaint, getBackground, getBackgroundImage, getBackgroundObject, getCaretLineNumber, getCaretOffsetFromLineStart, getCurrentLineHighlightColor, getDefaultCaretColor, getDefaultCurrentLineHighlightColor, getDefaultFont, getDefaultForeground, getDefaultMarginLineColor, getDefaultMarginLinePosition, getDefaultTabSize, getFadeCurrentLineHighlight, getHighlightCurrentLine, getLineEndOffsetOfCurrentLine, getLineStartOffsetOfCurrentLine, getMarginLineColor, getMarginLinePixelLocation, getMarginLinePosition, getRoundedSelectionEdges, getTabsEmulated, isMarginLineEnabled, isOSX, possiblyUpdateCurrentLineHighlightLocation, processComponentEvent, setBackground, setBackgroundImage, setBackgroundObject, setCurrentLineHighlightColor, setFadeCurrentLineHighlight, setHighlightCurrentLine, setLineWrap, setMargin, setMarginLineColor, setMarginLineEnabled, setMarginLinePosition, setRTextAreaUI, setTabsEmulated, setTabSize, updateMarginLineX, yForLine, yForLineContaining
+ + + + + + + +
Methods inherited from class javax.swing.JTextArea
append, getAccessibleContext, getColumns, getColumnWidth, getLineCount, getLineEndOffset, getLineOfOffset, getLineStartOffset, getLineWrap, getPreferredScrollableViewportSize, getPreferredSize, getRowHeight, getRows, getScrollableTracksViewportWidth, getScrollableUnitIncrement, getTabSize, getUIClassID, getWrapStyleWord, insert, paramString, setColumns, setRows, setWrapStyleWord
+ + + + + + + +
Methods inherited from class javax.swing.text.JTextComponent
addCaretListener, addInputMethodListener, addKeymap, copy, cut, getActions, getCaret, getCaretColor, getCaretListeners, getCaretPosition, getDisabledTextColor, getDocument, getDragEnabled, getDropLocation, getDropMode, getFocusAccelerator, getHighlighter, getInputMethodRequests, getKeymap, getKeymap, getMargin, getNavigationFilter, getPrintable, getScrollableBlockIncrement, getScrollableTracksViewportHeight, getSelectedText, getSelectedTextColor, getSelectionColor, getSelectionEnd, getSelectionStart, getText, getText, getUI, isEditable, loadKeymap, modelToView, moveCaretPosition, print, print, print, processInputMethodEvent, removeCaretListener, removeKeymap, select, selectAll, setCaretColor, setCaretPosition, setComponentOrientation, setDisabledTextColor, setDragEnabled, setDropMode, setEditable, setFocusAccelerator, setKeymap, setNavigationFilter, setSelectedTextColor, setSelectionColor, setSelectionEnd, setSelectionStart, setText, updateUI, viewToModel, write
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+JSyntaxTextArea

+
+@Deprecated
+public JSyntaxTextArea()
+
+
Deprecated.  +

+

+
+ +

+JSyntaxTextArea

+
+public JSyntaxTextArea(int rows,
+                       int cols)
+
+
Creates the default syntax highlighting text area. The following are set: +
    +
  • setSyntaxEditingStyle(SyntaxConstants.SYNTAX_STYLE_JAVA)
  • +
  • setCodeFoldingEnabled(true)
  • +
  • setAntiAliasingEnabled(true)
  • +
  • setLineWrap(true)
  • +
  • setWrapStyleWord(true)
  • +
+

+

+
Parameters:
rows - The number of rows for the text area
cols - The number of columns for the text area
+
+
+ +

+JSyntaxTextArea

+
+public JSyntaxTextArea(int rows,
+                       int cols,
+                       boolean disableUndo)
+
+
Creates the default syntax highlighting text area. The following are set: +
    +
  • setSyntaxEditingStyle(SyntaxConstants.SYNTAX_STYLE_JAVA)
  • +
  • setCodeFoldingEnabled(true)
  • +
  • setAntiAliasingEnabled(true)
  • +
  • setLineWrap(true)
  • +
  • setWrapStyleWord(true)
  • +
+

+

+
Parameters:
rows - The number of rows for the text area
cols - The number of columns for the text area
disableUndo - true to disable undo manager, defaults to false
+
+ + + + + + + + +
+Method Detail
+ +

+setLanguage

+
+public void setLanguage(String language)
+
+
Sets the language of the text area. +

+

+
Parameters:
language - The language to be set
+
+
+
+ +

+createUndoManager

+
+protected org.fife.ui.rtextarea.RUndoManager createUndoManager()
+
+
Override UndoManager to allow disabling if feature causes issues + See https://github.com/bobbylight/RSyntaxTextArea/issues/19 +

+

+
Overrides:
createUndoManager in class org.fife.ui.rtextarea.RTextArea
+
+
+
+
+
+
+ +

+setInitialText

+
+public void setInitialText(String string)
+
+
Sets initial text resetting undo history +

+

+
Parameters:
string - The initial text to be set
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/util/JTextScrollPane.html b/docs/api/org/apache/jmeter/gui/util/JTextScrollPane.html new file mode 100644 index 00000000000..e48d00c7934 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/util/JTextScrollPane.html @@ -0,0 +1,415 @@ + + + + + +JTextScrollPane (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.util +
+Class JTextScrollPane

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JScrollPane
+                  extended by org.fife.ui.rtextarea.RTextScrollPane
+                      extended by org.apache.jmeter.gui.util.JTextScrollPane
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ScrollPaneConstants
+
+
+
+
public class JTextScrollPane
extends org.fife.ui.rtextarea.RTextScrollPane
+ + +

+Utility class to handle RSyntaxTextArea code +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JScrollPane
JScrollPane.AccessibleJScrollPane, JScrollPane.ScrollBar
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class javax.swing.JScrollPane
columnHeader, horizontalScrollBar, horizontalScrollBarPolicy, lowerLeft, lowerRight, rowHeader, upperLeft, upperRight, verticalScrollBar, verticalScrollBarPolicy, viewport
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface javax.swing.ScrollPaneConstants
COLUMN_HEADER, HORIZONTAL_SCROLLBAR, HORIZONTAL_SCROLLBAR_ALWAYS, HORIZONTAL_SCROLLBAR_AS_NEEDED, HORIZONTAL_SCROLLBAR_NEVER, HORIZONTAL_SCROLLBAR_POLICY, LOWER_LEADING_CORNER, LOWER_LEFT_CORNER, LOWER_RIGHT_CORNER, LOWER_TRAILING_CORNER, ROW_HEADER, UPPER_LEADING_CORNER, UPPER_LEFT_CORNER, UPPER_RIGHT_CORNER, UPPER_TRAILING_CORNER, VERTICAL_SCROLLBAR, VERTICAL_SCROLLBAR_ALWAYS, VERTICAL_SCROLLBAR_AS_NEEDED, VERTICAL_SCROLLBAR_NEVER, VERTICAL_SCROLLBAR_POLICY, VIEWPORT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + + + + + + + +
+Constructor Summary
JTextScrollPane() + +
+          Deprecated. 
JTextScrollPane(JSyntaxTextArea scriptField) + +
+           
JTextScrollPane(JSyntaxTextArea scriptField, + boolean foldIndicatorEnabled) + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class org.fife.ui.rtextarea.RTextScrollPane
getGutter, getLineNumbersEnabled, getTextArea, isFoldIndicatorEnabled, isIconRowHeaderEnabled, setFoldIndicatorEnabled, setIconRowHeaderEnabled, setLineNumbersEnabled, setViewportView
+ + + + + + + +
Methods inherited from class javax.swing.JScrollPane
createHorizontalScrollBar, createVerticalScrollBar, createViewport, getAccessibleContext, getColumnHeader, getCorner, getHorizontalScrollBar, getHorizontalScrollBarPolicy, getRowHeader, getUI, getUIClassID, getVerticalScrollBar, getVerticalScrollBarPolicy, getViewport, getViewportBorder, getViewportBorderBounds, isValidateRoot, isWheelScrollingEnabled, paramString, setColumnHeader, setColumnHeaderView, setComponentOrientation, setCorner, setHorizontalScrollBar, setHorizontalScrollBarPolicy, setLayout, setRowHeader, setRowHeaderView, setUI, setVerticalScrollBar, setVerticalScrollBarPolicy, setViewport, setViewportBorder, setWheelScrollingEnabled, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+JTextScrollPane

+
+@Deprecated
+public JTextScrollPane()
+
+
Deprecated.  +

+

+
+ +

+JTextScrollPane

+
+public JTextScrollPane(JSyntaxTextArea scriptField)
+
+
+
+ +

+JTextScrollPane

+
+public JTextScrollPane(JSyntaxTextArea scriptField,
+                       boolean foldIndicatorEnabled)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/util/MenuFactory.html b/docs/api/org/apache/jmeter/gui/util/MenuFactory.html new file mode 100644 index 00000000000..2439550a521 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/util/MenuFactory.html @@ -0,0 +1,912 @@ + + + + + +MenuFactory (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.util +
+Class MenuFactory

+
+java.lang.Object
+  extended by org.apache.jmeter.gui.util.MenuFactory
+
+
+
+
public final class MenuFactory
extends Object
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static StringASSERTIONS + +
+           
+static StringCONFIG_ELEMENTS + +
+           
+static StringCONTROLLERS + +
+           
+static StringFRAGMENTS + +
+           
+static StringLISTENERS + +
+           
+static StringNON_TEST_ELEMENTS + +
+           
+static StringPOST_PROCESSORS + +
+           
+static StringPRE_PROCESSORS + +
+           
+static StringSAMPLERS + +
+           
+static StringTHREADS + +
+           
+static StringTIMERS + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static voidaddEditMenu(JPopupMenu menu, + boolean removable) + +
+           
+static voidaddFileMenu(JPopupMenu pop) + +
+           
+static voidaddFileMenu(JPopupMenu menu, + boolean addSaveTestFragmentMenu) + +
+           
+static voidaddPasteResetMenu(JPopupMenu menu) + +
+           
+static booleancanAddTo(JMeterTreeNode parentNode, + JMeterTreeNode[] nodes) + +
+          Determine whether or not nodes can be added to this parent.
+static booleancanAddTo(JMeterTreeNode parentNode, + TestElement element) + +
+          Determine whether or not nodes can be added to this parent.
+static JPopupMenugetDefaultAssertionMenu() + +
+           
+static JPopupMenugetDefaultConfigElementMenu() + +
+           
+static JPopupMenugetDefaultControllerMenu() + +
+           
+static JPopupMenugetDefaultExtractorMenu() + +
+           
+static JPopupMenugetDefaultMenu() + +
+           
+static JPopupMenugetDefaultSamplerMenu() + +
+           
+static JPopupMenugetDefaultTimerMenu() + +
+           
+static JPopupMenugetDefaultVisualizerMenu() + +
+           
+static JMenumakeMenu(Collection<MenuInfo> menuInfo, + String actionCommand, + String menuName) + +
+          Create a menu from a collection of items.
+static JMenumakeMenu(String category, + String actionCommand) + +
+          Create a menu from a menu category.
+static ComponentmakeMenuItem(MenuInfo info, + String actionCommand) + +
+          Create a single menu item from a MenuInfo object
+static JMenuItemmakeMenuItem(String label, + String name, + String actionCommand) + +
+          Create a single menu item
+static JMenuItemmakeMenuItem(String label, + String name, + String actionCommand, + KeyStroke accel) + +
+           
+static JMenuItemmakeMenuItemRes(String resource, + String actionCommand) + +
+          Create a single menu item from the resource name.
+static JMenuItemmakeMenuItemRes(String resource, + String actionCommand, + KeyStroke accel) + +
+           
+static JMenumakeMenus(String[] categories, + String label, + String actionCommand) + +
+           
+static voidsetEnabled(JMenu menu) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+THREADS

+
+public static final String THREADS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+FRAGMENTS

+
+public static final String FRAGMENTS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+TIMERS

+
+public static final String TIMERS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CONTROLLERS

+
+public static final String CONTROLLERS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+SAMPLERS

+
+public static final String SAMPLERS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CONFIG_ELEMENTS

+
+public static final String CONFIG_ELEMENTS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+POST_PROCESSORS

+
+public static final String POST_PROCESSORS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PRE_PROCESSORS

+
+public static final String PRE_PROCESSORS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+ASSERTIONS

+
+public static final String ASSERTIONS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+NON_TEST_ELEMENTS

+
+public static final String NON_TEST_ELEMENTS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+LISTENERS

+
+public static final String LISTENERS
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Method Detail
+ +

+addEditMenu

+
+public static void addEditMenu(JPopupMenu menu,
+                               boolean removable)
+
+
+
+
+
+
+ +

+addPasteResetMenu

+
+public static void addPasteResetMenu(JPopupMenu menu)
+
+
+
+
+
+
+ +

+addFileMenu

+
+public static void addFileMenu(JPopupMenu pop)
+
+
+
+
+
+
+ +

+addFileMenu

+
+public static void addFileMenu(JPopupMenu menu,
+                               boolean addSaveTestFragmentMenu)
+
+
+
Parameters:
menu - JPopupMenu
addSaveTestFragmentMenu - Add Save as Test Fragment menu if true
+
+
+
+ +

+makeMenus

+
+public static JMenu makeMenus(String[] categories,
+                              String label,
+                              String actionCommand)
+
+
+
+
+
+
+ +

+getDefaultControllerMenu

+
+public static JPopupMenu getDefaultControllerMenu()
+
+
+
+
+
+
+ +

+getDefaultSamplerMenu

+
+public static JPopupMenu getDefaultSamplerMenu()
+
+
+
+
+
+
+ +

+getDefaultConfigElementMenu

+
+public static JPopupMenu getDefaultConfigElementMenu()
+
+
+
+
+
+
+ +

+getDefaultVisualizerMenu

+
+public static JPopupMenu getDefaultVisualizerMenu()
+
+
+
+
+
+
+ +

+getDefaultTimerMenu

+
+public static JPopupMenu getDefaultTimerMenu()
+
+
+
+
+
+
+ +

+getDefaultAssertionMenu

+
+public static JPopupMenu getDefaultAssertionMenu()
+
+
+
+
+
+
+ +

+getDefaultExtractorMenu

+
+public static JPopupMenu getDefaultExtractorMenu()
+
+
+
+
+
+
+ +

+getDefaultMenu

+
+public static JPopupMenu getDefaultMenu()
+
+
+
+
+
+
+ +

+makeMenu

+
+public static JMenu makeMenu(String category,
+                             String actionCommand)
+
+
Create a menu from a menu category. +

+

+
Parameters:
category - - predefined string (used as key for menuMap HashMap and messages.properties lookup)
actionCommand - - predefined string, e.g. ActionNames.ADD +
Returns:
the menu
See Also:
ActionNames
+
+
+
+ +

+makeMenu

+
+public static JMenu makeMenu(Collection<MenuInfo> menuInfo,
+                             String actionCommand,
+                             String menuName)
+
+
Create a menu from a collection of items. +

+

+
Parameters:
menuInfo - - collection of MenuInfo items
actionCommand - - predefined string, e.g. ActionNames.ADD
menuName - The name of the newly created menu +
Returns:
the menu
See Also:
ActionNames
+
+
+
+ +

+setEnabled

+
+public static void setEnabled(JMenu menu)
+
+
+
+
+
+
+ +

+makeMenuItem

+
+public static JMenuItem makeMenuItem(String label,
+                                     String name,
+                                     String actionCommand)
+
+
Create a single menu item +

+

+
Parameters:
label - for the MenuItem
name - for the MenuItem
actionCommand - - predefined string, e.g. ActionNames.ADD +
Returns:
the menu item
See Also:
ActionNames
+
+
+
+ +

+makeMenuItemRes

+
+public static JMenuItem makeMenuItemRes(String resource,
+                                        String actionCommand)
+
+
Create a single menu item from the resource name. +

+

+
Parameters:
resource - for the MenuItem
actionCommand - - predefined string, e.g. ActionNames.ADD +
Returns:
the menu item
See Also:
ActionNames
+
+
+
+ +

+makeMenuItem

+
+public static Component makeMenuItem(MenuInfo info,
+                                     String actionCommand)
+
+
Create a single menu item from a MenuInfo object +

+

+
Parameters:
info - the MenuInfo object
actionCommand - - predefined string, e.g. ActionNames.ADD +
Returns:
the menu item
See Also:
ActionNames
+
+
+
+ +

+makeMenuItemRes

+
+public static JMenuItem makeMenuItemRes(String resource,
+                                        String actionCommand,
+                                        KeyStroke accel)
+
+
+
+
+
+
+ +

+makeMenuItem

+
+public static JMenuItem makeMenuItem(String label,
+                                     String name,
+                                     String actionCommand,
+                                     KeyStroke accel)
+
+
+
+
+
+
+ +

+canAddTo

+
+public static boolean canAddTo(JMeterTreeNode parentNode,
+                               TestElement element)
+
+
Determine whether or not nodes can be added to this parent. + + Used by Merge +

+

+
Parameters:
parentNode - The JMeterTreeNode to test, if a new element can be + added to it
element - - top-level test element to be added +
Returns:
whether it is OK to add the element to this parent
+
+
+
+ +

+canAddTo

+
+public static boolean canAddTo(JMeterTreeNode parentNode,
+                               JMeterTreeNode[] nodes)
+
+
Determine whether or not nodes can be added to this parent. + + Used by DragNDrop and Paste. +

+

+
Parameters:
parentNode - The JMeterTreeNode to test, if nodes[] + can be added to it
nodes - - array of nodes that are to be added +
Returns:
whether it is OK to add the dragged nodes to this parent
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/util/MenuInfo.html b/docs/api/org/apache/jmeter/gui/util/MenuInfo.html new file mode 100644 index 00000000000..677f3ee685f --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/util/MenuInfo.html @@ -0,0 +1,289 @@ + + + + + +MenuInfo (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.util +
+Class MenuInfo

+
+java.lang.Object
+  extended by org.apache.jmeter.gui.util.MenuInfo
+
+
+
+
public class MenuInfo
extends Object
+ + +

+Class to hold additional information needed when building the GUI lists +

+ +

+


+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
MenuInfo(JMeterGUIComponent item, + String classFullName) + +
+           
MenuInfo(String displayLabel, + String classFullName) + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetClassName() + +
+           
+ StringgetLabel() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+MenuInfo

+
+public MenuInfo(String displayLabel,
+                String classFullName)
+
+
+
+ +

+MenuInfo

+
+public MenuInfo(JMeterGUIComponent item,
+                String classFullName)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getLabel

+
+public String getLabel()
+
+
+
+
+
+
+ +

+getClassName

+
+public String getClassName()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/util/NumberFieldErrorListener.html b/docs/api/org/apache/jmeter/gui/util/NumberFieldErrorListener.html new file mode 100644 index 00000000000..4921c2c8f8a --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/util/NumberFieldErrorListener.html @@ -0,0 +1,283 @@ + + + + + +NumberFieldErrorListener (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.util +
+Class NumberFieldErrorListener

+
+java.lang.Object
+  extended by java.awt.event.FocusAdapter
+      extended by org.apache.jmeter.gui.util.NumberFieldErrorListener
+
+
+
All Implemented Interfaces:
FocusListener, EventListener
+
+
+
+
public class NumberFieldErrorListener
extends FocusAdapter
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
NumberFieldErrorListener() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ voidfocusLost(FocusEvent e) + +
+           
+static NumberFieldErrorListenergetNumberFieldErrorListener() + +
+           
+ + + + + + + +
Methods inherited from class java.awt.event.FocusAdapter
focusGained
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+NumberFieldErrorListener

+
+public NumberFieldErrorListener()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getNumberFieldErrorListener

+
+public static NumberFieldErrorListener getNumberFieldErrorListener()
+
+
+
+
+
+
+ +

+focusLost

+
+public void focusLost(FocusEvent e)
+
+
+
Specified by:
focusLost in interface FocusListener
Overrides:
focusLost in class FocusAdapter
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/util/PowerTableModel.html b/docs/api/org/apache/jmeter/gui/util/PowerTableModel.html new file mode 100644 index 00000000000..6c19607465a --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/util/PowerTableModel.html @@ -0,0 +1,693 @@ + + + + + +PowerTableModel (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.util +
+Class PowerTableModel

+
+java.lang.Object
+  extended by javax.swing.table.AbstractTableModel
+      extended by javax.swing.table.DefaultTableModel
+          extended by org.apache.jmeter.gui.util.PowerTableModel
+
+
+
All Implemented Interfaces:
Serializable, TableModel
+
+
+
+
public class PowerTableModel
extends DefaultTableModel
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class javax.swing.table.DefaultTableModel
columnIdentifiers, dataVector
+ + + + + + + +
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
+  + + + + + + + + + + + + + +
+Constructor Summary
PowerTableModel() + +
+           
PowerTableModel(String[] headers, + Class<?>[] classes) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddNewColumn(String colName, + Class<?> colClass) + +
+           
+ voidaddNewRow() + +
+           
+ voidaddRow(Object[] data) + +
+           
+ voidclearData() + +
+           
+ Class<?>getColumnClass(int column) + +
+           
+ intgetColumnCount() + +
+          Required by table model interface.
+ List<?>getColumnData(String colName) + +
+           
+ StringgetColumnName(int column) + +
+          Required by table model interface.
+ DatagetData() + +
+           
+ intgetRowCount() + +
+          Required by table model interface.
+ Object[]getRowData(int row) + +
+           
+ ObjectgetValueAt(int row, + int column) + +
+          Required by table model interface. return the ValueAt value
+ booleanisCellEditable(int row, + int column) + +
+           
+ voidremoveColumn(int col) + +
+           
+ voidremoveRow(int row) + +
+           
+ voidsetColumnData(int col, + List<?> data) + +
+           
+ voidsetRowValues(int row, + Object[] values) + +
+           
+ voidsetValueAt(Object value, + int row, + int column) + +
+          Sets the ValueAt attribute of the Arguments object.
+ + + + + + + +
Methods inherited from class javax.swing.table.DefaultTableModel
addColumn, addColumn, addColumn, addRow, convertToVector, convertToVector, getDataVector, insertRow, insertRow, moveRow, newDataAvailable, newRowsAdded, rowsRemoved, setColumnCount, setColumnIdentifiers, setColumnIdentifiers, setDataVector, setDataVector, setNumRows, setRowCount
+ + + + + + + +
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+PowerTableModel

+
+public PowerTableModel(String[] headers,
+                       Class<?>[] classes)
+
+
+
+ +

+PowerTableModel

+
+public PowerTableModel()
+
+
+ + + + + + + + +
+Method Detail
+ +

+setRowValues

+
+public void setRowValues(int row,
+                         Object[] values)
+
+
+
+
+
+
+ +

+getData

+
+public Data getData()
+
+
+
+
+
+
+ +

+addNewColumn

+
+public void addNewColumn(String colName,
+                         Class<?> colClass)
+
+
+
+
+
+
+ +

+removeRow

+
+public void removeRow(int row)
+
+
+
Overrides:
removeRow in class DefaultTableModel
+
+
+
+
+
+
+ +

+removeColumn

+
+public void removeColumn(int col)
+
+
+
+
+
+
+ +

+setColumnData

+
+public void setColumnData(int col,
+                          List<?> data)
+
+
+
+
+
+
+ +

+getColumnData

+
+public List<?> getColumnData(String colName)
+
+
+
+
+
+
+ +

+clearData

+
+public void clearData()
+
+
+
+
+
+
+ +

+addRow

+
+public void addRow(Object[] data)
+
+
+
Overrides:
addRow in class DefaultTableModel
+
+
+
+
+
+
+ +

+addNewRow

+
+public void addNewRow()
+
+
+
+
+
+
+ +

+getRowData

+
+public Object[] getRowData(int row)
+
+
+
+
+
+
+ +

+getRowCount

+
+public int getRowCount()
+
+
Required by table model interface. +

+

+
Specified by:
getRowCount in interface TableModel
Overrides:
getRowCount in class DefaultTableModel
+
+
+ +
Returns:
the RowCount value
+
+
+
+ +

+getColumnCount

+
+public int getColumnCount()
+
+
Required by table model interface. +

+

+
Specified by:
getColumnCount in interface TableModel
Overrides:
getColumnCount in class DefaultTableModel
+
+
+ +
Returns:
the ColumnCount value
+
+
+
+ +

+getColumnName

+
+public String getColumnName(int column)
+
+
Required by table model interface. +

+

+
Specified by:
getColumnName in interface TableModel
Overrides:
getColumnName in class DefaultTableModel
+
+
+ +
Returns:
the ColumnName value
+
+
+
+ +

+isCellEditable

+
+public boolean isCellEditable(int row,
+                              int column)
+
+
+
Specified by:
isCellEditable in interface TableModel
Overrides:
isCellEditable in class DefaultTableModel
+
+
+
+
+
+
+ +

+getColumnClass

+
+public Class<?> getColumnClass(int column)
+
+
+
Specified by:
getColumnClass in interface TableModel
Overrides:
getColumnClass in class AbstractTableModel
+
+
+
+
+
+
+ +

+getValueAt

+
+public Object getValueAt(int row,
+                         int column)
+
+
Required by table model interface. return the ValueAt value +

+

+
Specified by:
getValueAt in interface TableModel
Overrides:
getValueAt in class DefaultTableModel
+
+
+
+
+
+
+ +

+setValueAt

+
+public void setValueAt(Object value,
+                       int row,
+                       int column)
+
+
Sets the ValueAt attribute of the Arguments object. +

+

+
Specified by:
setValueAt in interface TableModel
Overrides:
setValueAt in class DefaultTableModel
+
+
+
Parameters:
value - the new ValueAt value
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/util/TextAreaCellRenderer.html b/docs/api/org/apache/jmeter/gui/util/TextAreaCellRenderer.html new file mode 100644 index 00000000000..217c8bd1b60 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/util/TextAreaCellRenderer.html @@ -0,0 +1,286 @@ + + + + + +TextAreaCellRenderer (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.util +
+Class TextAreaCellRenderer

+
+java.lang.Object
+  extended by org.apache.jmeter.gui.util.TextAreaCellRenderer
+
+
+
All Implemented Interfaces:
TableCellRenderer
+
+
+
+
public class TextAreaCellRenderer
extends Object
implements TableCellRenderer
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
TextAreaCellRenderer() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ intgetPreferredHeight() + +
+           
+ ComponentgetTableCellRendererComponent(JTable table, + Object value, + boolean isSelected, + boolean hasFocus, + int row, + int column) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+TextAreaCellRenderer

+
+public TextAreaCellRenderer()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getTableCellRendererComponent

+
+public Component getTableCellRendererComponent(JTable table,
+                                               Object value,
+                                               boolean isSelected,
+                                               boolean hasFocus,
+                                               int row,
+                                               int column)
+
+
+
Specified by:
getTableCellRendererComponent in interface TableCellRenderer
+
+
+
+
+
+
+ +

+getPreferredHeight

+
+public int getPreferredHeight()
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/util/TextAreaTableCellEditor.EditorDelegate.html b/docs/api/org/apache/jmeter/gui/util/TextAreaTableCellEditor.EditorDelegate.html new file mode 100644 index 00000000000..c2999bc7cd6 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/util/TextAreaTableCellEditor.EditorDelegate.html @@ -0,0 +1,552 @@ + + + + + +TextAreaTableCellEditor.EditorDelegate (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.util +
+Class TextAreaTableCellEditor.EditorDelegate

+
+java.lang.Object
+  extended by org.apache.jmeter.gui.util.TextAreaTableCellEditor.EditorDelegate
+
+
+
All Implemented Interfaces:
FocusListener, Serializable, EventListener
+
+
+
Enclosing class:
TextAreaTableCellEditor
+
+
+
+
protected class TextAreaTableCellEditor.EditorDelegate
extends Object
implements FocusListener, Serializable
+ + +

+The protected EditorDelegate class. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Field Summary
+protected  Objectvalue + +
+          The value of this cell.
+  + + + + + + + + + + + +
+Constructor Summary
+protected TextAreaTableCellEditor.EditorDelegate() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidactionPerformed(ActionEvent e) + +
+          When an action is performed, editing is ended.
+ voidcancelCellEditing() + +
+          Cancels editing.
+ voidfocusGained(FocusEvent ev) + +
+           
+ voidfocusLost(FocusEvent ev) + +
+           
+ ObjectgetCellEditorValue() + +
+          Returns the value of this cell.
+ booleanisCellEditable(EventObject anEvent) + +
+          Returns true if anEvent is not a + MouseEvent.
+ voiditemStateChanged(ItemEvent e) + +
+          When an item's state changes, editing is ended.
+ voidsetValue(Object value) + +
+          Sets the value of this cell.
+ booleanshouldSelectCell(EventObject anEvent) + +
+          Returns true to indicate that the editing cell may be selected.
+ booleanstartCellEditing(EventObject anEvent) + +
+          Returns true to indicate that editing has begun.
+ booleanstopCellEditing() + +
+          Stops editing and returns true to indicate that editing has stopped.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+value

+
+protected Object value
+
+
The value of this cell. +

+

+
+
+ + + + + + + + +
+Constructor Detail
+ +

+TextAreaTableCellEditor.EditorDelegate

+
+protected TextAreaTableCellEditor.EditorDelegate()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getCellEditorValue

+
+public Object getCellEditorValue()
+
+
Returns the value of this cell. +

+

+
+
+
+ +
Returns:
the value of this cell
+
+
+
+ +

+setValue

+
+public void setValue(Object value)
+
+
Sets the value of this cell. +

+

+
+
+
+
Parameters:
value - the new value of this cell
+
+
+
+ +

+isCellEditable

+
+public boolean isCellEditable(EventObject anEvent)
+
+
Returns true if anEvent is not a + MouseEvent. Otherwise, it returns true if the + necessary number of clicks have occurred, and returns false + otherwise. +

+

+
+
+
+
Parameters:
anEvent - the event +
Returns:
true if cell is ready for editing, false otherwise
See Also:
TextAreaTableCellEditor.setClickCountToStart(int), +shouldSelectCell(java.util.EventObject)
+
+
+
+ +

+shouldSelectCell

+
+public boolean shouldSelectCell(EventObject anEvent)
+
+
Returns true to indicate that the editing cell may be selected. +

+

+
+
+
+
Parameters:
anEvent - the event +
Returns:
true
See Also:
isCellEditable(java.util.EventObject)
+
+
+
+ +

+startCellEditing

+
+public boolean startCellEditing(EventObject anEvent)
+
+
Returns true to indicate that editing has begun. +

+

+
+
+
+
Parameters:
anEvent - the event +
Returns:
always true
+
+
+
+ +

+stopCellEditing

+
+public boolean stopCellEditing()
+
+
Stops editing and returns true to indicate that editing has stopped. + This method calls fireEditingStopped. +

+

+
+
+
+ +
Returns:
true
+
+
+
+ +

+cancelCellEditing

+
+public void cancelCellEditing()
+
+
Cancels editing. This method calls fireEditingCanceled. +

+

+
+
+
+
+
+
+
+ +

+actionPerformed

+
+public void actionPerformed(ActionEvent e)
+
+
When an action is performed, editing is ended. +

+

+
+
+
+
Parameters:
e - the action event
See Also:
stopCellEditing()
+
+
+
+ +

+itemStateChanged

+
+public void itemStateChanged(ItemEvent e)
+
+
When an item's state changes, editing is ended. +

+

+
+
+
+
Parameters:
e - the action event
See Also:
stopCellEditing()
+
+
+
+ +

+focusLost

+
+public void focusLost(FocusEvent ev)
+
+
+
Specified by:
focusLost in interface FocusListener
+
+
+
+
+
+
+ +

+focusGained

+
+public void focusGained(FocusEvent ev)
+
+
+
Specified by:
focusGained in interface FocusListener
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/util/TextAreaTableCellEditor.html b/docs/api/org/apache/jmeter/gui/util/TextAreaTableCellEditor.html new file mode 100644 index 00000000000..b8ffd1de699 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/util/TextAreaTableCellEditor.html @@ -0,0 +1,633 @@ + + + + + +TextAreaTableCellEditor (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.util +
+Class TextAreaTableCellEditor

+
+java.lang.Object
+  extended by javax.swing.AbstractCellEditor
+      extended by org.apache.jmeter.gui.util.TextAreaTableCellEditor
+
+
+
All Implemented Interfaces:
Serializable, CellEditor, TableCellEditor, TreeCellEditor
+
+
+
+
public class TextAreaTableCellEditor
extends AbstractCellEditor
implements TableCellEditor, TreeCellEditor
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Nested Class Summary
+protected  classTextAreaTableCellEditor.EditorDelegate + +
+          The protected EditorDelegate class.
+ + + + + + + + + + + + + + + + + + +
+Field Summary
+protected  intclickCountToStart + +
+          An integer specifying the number of clicks needed to start editing.
+protected  TextAreaTableCellEditor.EditorDelegatedelegate + +
+          The delegate class which handles all methods sent from the + CellEditor.
+protected  JTextAreaeditorComponent + +
+          The Swing component being edited.
+ + + + + + + +
Fields inherited from class javax.swing.AbstractCellEditor
changeEvent, listenerList
+  + + + + + + + + + + +
+Constructor Summary
TextAreaTableCellEditor() + +
+          Constructs a TableCellEditor that uses a text field.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidcancelCellEditing() + +
+          Forwards the message from the CellEditor to the + delegate.
+ ObjectgetCellEditorValue() + +
+          Forwards the message from the CellEditor to the + delegate.
+ intgetClickCountToStart() + +
+          Returns the number of clicks needed to start editing.
+ ComponentgetComponent() + +
+          Returns a reference to the editor component.
+ ComponentgetTableCellEditorComponent(JTable table, + Object value, + boolean isSelected, + int row, + int column) + +
+          Implements the TableCellEditor interface.
+ ComponentgetTreeCellEditorComponent(JTree tree, + Object value, + boolean isSelected, + boolean expanded, + boolean leaf, + int row) + +
+          Implements the TreeCellEditor interface.
+ booleanisCellEditable(EventObject anEvent) + +
+          Forwards the message from the CellEditor to the + delegate.
+ voidsetClickCountToStart(int count) + +
+          Specifies the number of clicks needed to start editing.
+ booleanshouldSelectCell(EventObject anEvent) + +
+          Forwards the message from the CellEditor to the + delegate.
+ booleanstopCellEditing() + +
+          Forwards the message from the CellEditor to the + delegate.
+ + + + + + + +
Methods inherited from class javax.swing.AbstractCellEditor
addCellEditorListener, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, removeCellEditorListener
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface javax.swing.CellEditor
addCellEditorListener, removeCellEditorListener
+  +

+ + + + + + + + +
+Field Detail
+ +

+editorComponent

+
+protected JTextArea editorComponent
+
+
The Swing component being edited. +

+

+
+
+
+ +

+delegate

+
+protected TextAreaTableCellEditor.EditorDelegate delegate
+
+
The delegate class which handles all methods sent from the + CellEditor. +

+

+
+
+
+ +

+clickCountToStart

+
+protected int clickCountToStart
+
+
An integer specifying the number of clicks needed to start editing. Even + if clickCountToStart is defined as zero, it will not + initiate until a click occurs. +

+

+
+
+ + + + + + + + +
+Constructor Detail
+ +

+TextAreaTableCellEditor

+
+public TextAreaTableCellEditor()
+
+
Constructs a TableCellEditor that uses a text field. +

+

+ + + + + + + + +
+Method Detail
+ +

+getComponent

+
+public Component getComponent()
+
+
Returns a reference to the editor component. +

+

+
+
+
+ +
Returns:
the editor Component
+
+
+
+ +

+setClickCountToStart

+
+public void setClickCountToStart(int count)
+
+
Specifies the number of clicks needed to start editing. +

+

+
+
+
+
Parameters:
count - an int specifying the number of clicks needed to start editing
See Also:
getClickCountToStart()
+
+
+
+ +

+getClickCountToStart

+
+public int getClickCountToStart()
+
+
Returns the number of clicks needed to start editing. +

+

+
+
+
+ +
Returns:
the number of clicks needed to start editing
+
+
+
+ +

+getCellEditorValue

+
+public Object getCellEditorValue()
+
+
Forwards the message from the CellEditor to the + delegate. +

+

+
Specified by:
getCellEditorValue in interface CellEditor
+
+
+
See Also:
TextAreaTableCellEditor.EditorDelegate.getCellEditorValue()
+
+
+
+ +

+isCellEditable

+
+public boolean isCellEditable(EventObject anEvent)
+
+
Forwards the message from the CellEditor to the + delegate. +

+

+
Specified by:
isCellEditable in interface CellEditor
Overrides:
isCellEditable in class AbstractCellEditor
+
+
+
See Also:
TextAreaTableCellEditor.EditorDelegate.isCellEditable(EventObject)
+
+
+
+ +

+shouldSelectCell

+
+public boolean shouldSelectCell(EventObject anEvent)
+
+
Forwards the message from the CellEditor to the + delegate. +

+

+
Specified by:
shouldSelectCell in interface CellEditor
Overrides:
shouldSelectCell in class AbstractCellEditor
+
+
+
See Also:
TextAreaTableCellEditor.EditorDelegate.shouldSelectCell(EventObject)
+
+
+
+ +

+stopCellEditing

+
+public boolean stopCellEditing()
+
+
Forwards the message from the CellEditor to the + delegate. +

+

+
Specified by:
stopCellEditing in interface CellEditor
Overrides:
stopCellEditing in class AbstractCellEditor
+
+
+
See Also:
TextAreaTableCellEditor.EditorDelegate.stopCellEditing()
+
+
+
+ +

+cancelCellEditing

+
+public void cancelCellEditing()
+
+
Forwards the message from the CellEditor to the + delegate. +

+

+
Specified by:
cancelCellEditing in interface CellEditor
Overrides:
cancelCellEditing in class AbstractCellEditor
+
+
+
See Also:
TextAreaTableCellEditor.EditorDelegate.cancelCellEditing()
+
+
+
+ +

+getTreeCellEditorComponent

+
+public Component getTreeCellEditorComponent(JTree tree,
+                                            Object value,
+                                            boolean isSelected,
+                                            boolean expanded,
+                                            boolean leaf,
+                                            int row)
+
+
Implements the TreeCellEditor interface. +

+

+
Specified by:
getTreeCellEditorComponent in interface TreeCellEditor
+
+
+
+
+
+
+ +

+getTableCellEditorComponent

+
+public Component getTableCellEditorComponent(JTable table,
+                                             Object value,
+                                             boolean isSelected,
+                                             int row,
+                                             int column)
+
+
Implements the TableCellEditor interface. +

+

+
Specified by:
getTableCellEditorComponent in interface TableCellEditor
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/util/TextBoxDialoger.TextBoxDoubleClick.html b/docs/api/org/apache/jmeter/gui/util/TextBoxDialoger.TextBoxDoubleClick.html new file mode 100644 index 00000000000..1cd0d7e3a0f --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/util/TextBoxDialoger.TextBoxDoubleClick.html @@ -0,0 +1,272 @@ + + + + + +TextBoxDialoger.TextBoxDoubleClick (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.util +
+Class TextBoxDialoger.TextBoxDoubleClick

+
+java.lang.Object
+  extended by java.awt.event.MouseAdapter
+      extended by org.apache.jmeter.gui.util.TextBoxDialoger.TextBoxDoubleClick
+
+
+
All Implemented Interfaces:
MouseListener, MouseMotionListener, MouseWheelListener, EventListener
+
+
+
Enclosing class:
TextBoxDialoger
+
+
+
+
public static class TextBoxDialoger.TextBoxDoubleClick
extends MouseAdapter
+ + +

+Class to display a dialog box and cell's content + when double click on a table's cell +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
TextBoxDialoger.TextBoxDoubleClick(JTable table) + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ voidmouseClicked(MouseEvent e) + +
+           
+ + + + + + + +
Methods inherited from class java.awt.event.MouseAdapter
mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, mouseWheelMoved
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+TextBoxDialoger.TextBoxDoubleClick

+
+public TextBoxDialoger.TextBoxDoubleClick(JTable table)
+
+
+ + + + + + + + +
+Method Detail
+ +

+mouseClicked

+
+public void mouseClicked(MouseEvent e)
+
+
+
Specified by:
mouseClicked in interface MouseListener
Overrides:
mouseClicked in class MouseAdapter
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/util/TextBoxDialoger.TextBoxDoubleClickPressed.html b/docs/api/org/apache/jmeter/gui/util/TextBoxDialoger.TextBoxDoubleClickPressed.html new file mode 100644 index 00000000000..6185be90177 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/util/TextBoxDialoger.TextBoxDoubleClickPressed.html @@ -0,0 +1,272 @@ + + + + + +TextBoxDialoger.TextBoxDoubleClickPressed (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.util +
+Class TextBoxDialoger.TextBoxDoubleClickPressed

+
+java.lang.Object
+  extended by java.awt.event.MouseAdapter
+      extended by org.apache.jmeter.gui.util.TextBoxDialoger.TextBoxDoubleClickPressed
+
+
+
All Implemented Interfaces:
MouseListener, MouseMotionListener, MouseWheelListener, EventListener
+
+
+
Enclosing class:
TextBoxDialoger
+
+
+
+
public static class TextBoxDialoger.TextBoxDoubleClickPressed
extends MouseAdapter
+ + +

+Class to edit in a dialog box the cell's content + when double (pressed) click on a table's cell which is editable +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
TextBoxDialoger.TextBoxDoubleClickPressed(JTable table) + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ voidmousePressed(MouseEvent e) + +
+           
+ + + + + + + +
Methods inherited from class java.awt.event.MouseAdapter
mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mouseReleased, mouseWheelMoved
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+TextBoxDialoger.TextBoxDoubleClickPressed

+
+public TextBoxDialoger.TextBoxDoubleClickPressed(JTable table)
+
+
+ + + + + + + + +
+Method Detail
+ +

+mousePressed

+
+public void mousePressed(MouseEvent e)
+
+
+
Specified by:
mousePressed in interface MouseListener
Overrides:
mousePressed in class MouseAdapter
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/util/TextBoxDialoger.html b/docs/api/org/apache/jmeter/gui/util/TextBoxDialoger.html new file mode 100644 index 00000000000..2c21c80e611 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/util/TextBoxDialoger.html @@ -0,0 +1,369 @@ + + + + + +TextBoxDialoger (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.util +
+Class TextBoxDialoger

+
+java.lang.Object
+  extended by org.apache.jmeter.gui.util.TextBoxDialoger
+
+
+
All Implemented Interfaces:
ActionListener, EventListener
+
+
+
+
public class TextBoxDialoger
extends Object
implements ActionListener
+ + +

+Dialog text box to display some text in a box +

+ +

+


+ +

+ + + + + + + + + + + + + + + +
+Nested Class Summary
+static classTextBoxDialoger.TextBoxDoubleClick + +
+          Class to display a dialog box and cell's content + when double click on a table's cell
+static classTextBoxDialoger.TextBoxDoubleClickPressed + +
+          Class to edit in a dialog box the cell's content + when double (pressed) click on a table's cell which is editable
+  + + + + + + + + + + + + + + + + +
+Constructor Summary
TextBoxDialoger() + +
+          Dialog text box
TextBoxDialoger(String text) + +
+          Dialog text box
TextBoxDialoger(String text, + boolean editable) + +
+          Dialog text box
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidactionPerformed(ActionEvent e) + +
+           
+ StringgetTextBox() + +
+           
+ voidsetTextBox(String text) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+TextBoxDialoger

+
+public TextBoxDialoger()
+
+
Dialog text box +

+

+
+ +

+TextBoxDialoger

+
+public TextBoxDialoger(String text)
+
+
Dialog text box +

+

+
Parameters:
text - - text to display in a box
+
+
+ +

+TextBoxDialoger

+
+public TextBoxDialoger(String text,
+                       boolean editable)
+
+
Dialog text box +

+

+
Parameters:
text - - text to display in a box
editable - - allow to modify text
+
+ + + + + + + + +
+Method Detail
+ +

+actionPerformed

+
+public void actionPerformed(ActionEvent e)
+
+
+
Specified by:
actionPerformed in interface ActionListener
+
+
+
+
+
+
+ +

+setTextBox

+
+public void setTextBox(String text)
+
+
+
+
+
+
+
+
+
+ +

+getTextBox

+
+public String getTextBox()
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/util/TristateCheckBox.html b/docs/api/org/apache/jmeter/gui/util/TristateCheckBox.html new file mode 100644 index 00000000000..c193c894e5a --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/util/TristateCheckBox.html @@ -0,0 +1,631 @@ + + + + + +TristateCheckBox (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.util +
+Class TristateCheckBox

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.AbstractButton
+                  extended by javax.swing.JToggleButton
+                      extended by javax.swing.JCheckBox
+                          extended by org.apache.jmeter.gui.util.TristateCheckBox
+
+
+
All Implemented Interfaces:
ImageObserver, ItemSelectable, MenuContainer, Serializable, Accessible, SwingConstants
+
+
+
+
public final class TristateCheckBox
extends JCheckBox
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JCheckBox
JCheckBox.AccessibleJCheckBox
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JToggleButton
JToggleButton.AccessibleJToggleButton, JToggleButton.ToggleButtonModel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.AbstractButton
AbstractButton.AccessibleAbstractButton, AbstractButton.ButtonChangeListener
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class javax.swing.JCheckBox
BORDER_PAINTED_FLAT_CHANGED_PROPERTY
+ + + + + + + +
Fields inherited from class javax.swing.AbstractButton
actionListener, BORDER_PAINTED_CHANGED_PROPERTY, changeEvent, changeListener, CONTENT_AREA_FILLED_CHANGED_PROPERTY, DISABLED_ICON_CHANGED_PROPERTY, DISABLED_SELECTED_ICON_CHANGED_PROPERTY, FOCUS_PAINTED_CHANGED_PROPERTY, HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY, HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY, ICON_CHANGED_PROPERTY, itemListener, MARGIN_CHANGED_PROPERTY, MNEMONIC_CHANGED_PROPERTY, model, MODEL_CHANGED_PROPERTY, PRESSED_ICON_CHANGED_PROPERTY, ROLLOVER_ENABLED_CHANGED_PROPERTY, ROLLOVER_ICON_CHANGED_PROPERTY, ROLLOVER_SELECTED_ICON_CHANGED_PROPERTY, SELECTED_ICON_CHANGED_PROPERTY, TEXT_CHANGED_PROPERTY, VERTICAL_ALIGNMENT_CHANGED_PROPERTY, VERTICAL_TEXT_POSITION_CHANGED_PROPERTY
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface javax.swing.SwingConstants
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + + + + + + + + + + +
+Constructor Summary
TristateCheckBox() + +
+           
TristateCheckBox(String text) + +
+           
TristateCheckBox(String text, + boolean selected) + +
+           
TristateCheckBox(String text, + Icon icon, + TristateState initial) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddMouseListener(MouseListener l) + +
+           
+ TristateStategetState() + +
+           
+ org.apache.jmeter.gui.util.TristateCheckBox.TristateButtonModelgetTristateModel() + +
+           
+ booleanisIndeterminate() + +
+           
+ voidsetIndeterminate() + +
+           
+ voidsetModel(ButtonModel newModel) + +
+           
+ voidsetPropertyFromTristate(TestElement element, + String propName) + +
+          Sets a boolean property from a tristate checkbox.
+ voidsetTristateFromProperty(TestElement element, + String propName) + +
+          Set state depending on property
+ + + + + + + +
Methods inherited from class javax.swing.JCheckBox
getAccessibleContext, getUIClassID, isBorderPaintedFlat, paramString, setBorderPaintedFlat, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.AbstractButton
actionPropertyChanged, addActionListener, addChangeListener, addImpl, addItemListener, checkHorizontalKey, checkVerticalKey, configurePropertiesFromAction, createActionListener, createActionPropertyChangeListener, createChangeListener, createItemListener, doClick, doClick, fireActionPerformed, fireItemStateChanged, fireStateChanged, getAction, getActionCommand, getActionListeners, getChangeListeners, getDisabledIcon, getDisabledSelectedIcon, getDisplayedMnemonicIndex, getHideActionText, getHorizontalAlignment, getHorizontalTextPosition, getIcon, getIconTextGap, getItemListeners, getLabel, getMargin, getMnemonic, getModel, getMultiClickThreshhold, getPressedIcon, getRolloverIcon, getRolloverSelectedIcon, getSelectedIcon, getSelectedObjects, getText, getUI, getVerticalAlignment, getVerticalTextPosition, imageUpdate, init, isBorderPainted, isContentAreaFilled, isFocusPainted, isRolloverEnabled, isSelected, paintBorder, removeActionListener, removeChangeListener, removeItemListener, removeNotify, setAction, setActionCommand, setBorderPainted, setContentAreaFilled, setDisabledIcon, setDisabledSelectedIcon, setDisplayedMnemonicIndex, setEnabled, setFocusPainted, setHideActionText, setHorizontalAlignment, setHorizontalTextPosition, setIcon, setIconTextGap, setLabel, setLayout, setMargin, setMnemonic, setMnemonic, setMultiClickThreshhold, setPressedIcon, setRolloverEnabled, setRolloverIcon, setRolloverSelectedIcon, setSelected, setSelectedIcon, setText, setUI, setVerticalAlignment, setVerticalTextPosition
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+TristateCheckBox

+
+public TristateCheckBox()
+
+
+
+ +

+TristateCheckBox

+
+public TristateCheckBox(String text)
+
+
+
+ +

+TristateCheckBox

+
+public TristateCheckBox(String text,
+                        boolean selected)
+
+
+
+ +

+TristateCheckBox

+
+public TristateCheckBox(String text,
+                        Icon icon,
+                        TristateState initial)
+
+
+ + + + + + + + +
+Method Detail
+ +

+setTristateFromProperty

+
+public void setTristateFromProperty(TestElement element,
+                                    String propName)
+
+
Set state depending on property +

+

+
Parameters:
element - TestElement
propName - String property name
+
+
+
+ +

+setPropertyFromTristate

+
+public void setPropertyFromTristate(TestElement element,
+                                    String propName)
+
+
Sets a boolean property from a tristate checkbox. +

+

+
Parameters:
element - the test element
propName - the property name
+
+
+
+ +

+setIndeterminate

+
+public void setIndeterminate()
+
+
+
+
+
+
+ +

+isIndeterminate

+
+public boolean isIndeterminate()
+
+
+
+
+
+
+ +

+getState

+
+public TristateState getState()
+
+
+
+
+
+
+ +

+setModel

+
+public void setModel(ButtonModel newModel)
+
+
+
Overrides:
setModel in class AbstractButton
+
+
+
+
+
+
+ +

+addMouseListener

+
+public void addMouseListener(MouseListener l)
+
+
+
Overrides:
addMouseListener in class Component
+
+
+
+
+
+
+ +

+getTristateModel

+
+public org.apache.jmeter.gui.util.TristateCheckBox.TristateButtonModel getTristateModel()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/util/TristateState.html b/docs/api/org/apache/jmeter/gui/util/TristateState.html new file mode 100644 index 00000000000..43ee8d4cfa3 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/util/TristateState.html @@ -0,0 +1,353 @@ + + + + + +TristateState (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.util +
+Enum TristateState

+
+java.lang.Object
+  extended by java.lang.Enum<TristateState>
+      extended by org.apache.jmeter.gui.util.TristateState
+
+
+
All Implemented Interfaces:
Serializable, Comparable<TristateState>
+
+
+
+
public enum TristateState
extends Enum<TristateState>
+ + +

+


+ +

+ + + + + + + + + + + + + + + + +
+Enum Constant Summary
DESELECTED + +
+           
INDETERMINATE + +
+           
SELECTED + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+abstract  TristateStatenext() + +
+           
+static TristateStatevalueOf(String name) + +
+          Returns the enum constant of this type with the specified name.
+static TristateState[]values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+ + + + + + + +
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
+ + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Enum Constant Detail
+ +

+SELECTED

+
+public static final TristateState SELECTED
+
+
+
+
+
+ +

+INDETERMINATE

+
+public static final TristateState INDETERMINATE
+
+
+
+
+
+ +

+DESELECTED

+
+public static final TristateState DESELECTED
+
+
+
+
+ + + + + + + + +
+Method Detail
+ +

+values

+
+public static TristateState[] values()
+
+
Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
+for (TristateState c : TristateState.values())
+    System.out.println(c);
+
+

+

+ +
Returns:
an array containing the constants of this enum type, in +the order they are declared
+
+
+
+ +

+valueOf

+
+public static TristateState valueOf(String name)
+
+
Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.) +

+

+
Parameters:
name - the name of the enum constant to be returned. +
Returns:
the enum constant with the specified name +
Throws: +
IllegalArgumentException - if this enum type has no constant +with the specified name +
NullPointerException - if the argument is null
+
+
+
+ +

+next

+
+public abstract TristateState next()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/util/VerticalPanel.html b/docs/api/org/apache/jmeter/gui/util/VerticalPanel.html new file mode 100644 index 00000000000..5c2260d0996 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/util/VerticalPanel.html @@ -0,0 +1,413 @@ + + + + + +VerticalPanel (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.gui.util +
+Class VerticalPanel

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.util.VerticalPanel
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible
+
+
+
+
public class VerticalPanel
extends JPanel
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + + + + + + + +
+Constructor Summary
VerticalPanel() + +
+           
VerticalPanel(Color bkg) + +
+           
VerticalPanel(int vgap, + float horizontalAlign) + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ Componentadd(Component c) + +
+          
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+VerticalPanel

+
+public VerticalPanel()
+
+
+
+ +

+VerticalPanel

+
+public VerticalPanel(Color bkg)
+
+
+
+ +

+VerticalPanel

+
+public VerticalPanel(int vgap,
+                     float horizontalAlign)
+
+
+ + + + + + + + +
+Method Detail
+ +

+add

+
+public Component add(Component c)
+
+
+

+

+
Overrides:
add in class Container
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/util/package-frame.html b/docs/api/org/apache/jmeter/gui/util/package-frame.html new file mode 100644 index 00000000000..52e5c2ec295 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/util/package-frame.html @@ -0,0 +1,95 @@ + + + + + +org.apache.jmeter.gui.util (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.gui.util + + + + +
+Classes  + +
+ButtonPanel +
+EscapeDialog +
+FileDialoger +
+FileListPanel +
+FilePanel +
+FilePanelEntry +
+FocusRequester +
+HeaderAsPropertyRenderer +
+HorizontalPanel +
+IconToolbarBean +
+JDateField +
+JLabeledRadioI18N +
+JMeterColor +
+JMeterMenuBar +
+JMeterToolBar +
+JSyntaxTextArea +
+JTextScrollPane +
+MenuFactory +
+MenuInfo +
+NumberFieldErrorListener +
+PowerTableModel +
+TextAreaCellRenderer +
+TextAreaTableCellEditor +
+TextBoxDialoger +
+TextBoxDialoger.TextBoxDoubleClick +
+TextBoxDialoger.TextBoxDoubleClickPressed +
+TristateCheckBox +
+VerticalPanel
+ + + + + + +
+Enums  + +
+TristateState
+ + + + diff --git a/docs/api/org/apache/jmeter/gui/util/package-summary.html b/docs/api/org/apache/jmeter/gui/util/package-summary.html new file mode 100644 index 00000000000..7faf67a6d4a --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/util/package-summary.html @@ -0,0 +1,277 @@ + + + + + +org.apache.jmeter.gui.util (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.gui.util +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
ButtonPanel 
EscapeDialog 
FileDialogerClass implementing a file open dialogue
FileListPanel 
FilePanel 
FilePanelEntry 
FocusRequester 
HeaderAsPropertyRendererRenders items in a JTable by converting from resource names.
HorizontalPanel 
IconToolbarBean 
JDateFieldThis is Date mask control.
JLabeledRadioI18NJLabeledRadioI18N creates a set of Radio buttons with a label.
JMeterColor 
JMeterMenuBar 
JMeterToolBarThe JMeter main toolbar class
JSyntaxTextAreaUtility class to handle RSyntaxTextArea code
JTextScrollPaneUtility class to handle RSyntaxTextArea code
MenuFactory 
MenuInfoClass to hold additional information needed when building the GUI lists
NumberFieldErrorListener 
PowerTableModel 
TextAreaCellRenderer 
TextAreaTableCellEditor 
TextBoxDialogerDialog text box to display some text in a box
TextBoxDialoger.TextBoxDoubleClickClass to display a dialog box and cell's content + when double click on a table's cell
TextBoxDialoger.TextBoxDoubleClickPressedClass to edit in a dialog box the cell's content + when double (pressed) click on a table's cell which is editable
TristateCheckBox 
VerticalPanel 
+  + +

+ + + + + + + + + +
+Enum Summary
TristateState 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/gui/util/package-tree.html b/docs/api/org/apache/jmeter/gui/util/package-tree.html new file mode 100644 index 00000000000..cbdf11c4012 --- /dev/null +++ b/docs/api/org/apache/jmeter/gui/util/package-tree.html @@ -0,0 +1,251 @@ + + + + + +org.apache.jmeter.gui.util Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.gui.util +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +

+Enum Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/modifiers/BSFPreProcessor.html b/docs/api/org/apache/jmeter/modifiers/BSFPreProcessor.html new file mode 100644 index 00000000000..e0eb0ab46c8 --- /dev/null +++ b/docs/api/org/apache/jmeter/modifiers/BSFPreProcessor.html @@ -0,0 +1,313 @@ + + + + + +BSFPreProcessor (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.modifiers +
+Class BSFPreProcessor

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.util.ScriptingTestElement
+          extended by org.apache.jmeter.util.BSFTestElement
+              extended by org.apache.jmeter.modifiers.BSFPreProcessor
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Searchable, PreProcessor, TestBean, TestElement
+
+
+
+
public class BSFPreProcessor
extends BSFTestElement
implements Cloneable, PreProcessor, TestBean
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.util.ScriptingTestElement
scriptLanguage
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
BSFPreProcessor() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ voidprocess() + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.util.BSFTestElement
evalFileOrScript, getManager, getScriptLanguage, initManager, processFileOrScript, setScriptLanguage
+ + + + + + + +
Methods inherited from class org.apache.jmeter.util.ScriptingTestElement
getFilename, getParameters, getScript, setFilename, setParameters, setScript
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+BSFPreProcessor

+
+public BSFPreProcessor()
+
+
+ + + + + + + + +
+Method Detail
+ +

+process

+
+public void process()
+
+
+
Specified by:
process in interface PreProcessor
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/modifiers/BSFPreProcessorBeanInfo.html b/docs/api/org/apache/jmeter/modifiers/BSFPreProcessorBeanInfo.html new file mode 100644 index 00000000000..fb337e978af --- /dev/null +++ b/docs/api/org/apache/jmeter/modifiers/BSFPreProcessorBeanInfo.html @@ -0,0 +1,272 @@ + + + + + +BSFPreProcessorBeanInfo (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.modifiers +
+Class BSFPreProcessorBeanInfo

+
+java.lang.Object
+  extended by java.beans.SimpleBeanInfo
+      extended by org.apache.jmeter.testbeans.BeanInfoSupport
+          extended by org.apache.jmeter.util.ScriptingBeanInfoSupport
+              extended by org.apache.jmeter.util.BSFBeanInfoSupport
+                  extended by org.apache.jmeter.modifiers.BSFPreProcessorBeanInfo
+
+
+
All Implemented Interfaces:
BeanInfo
+
+
+
+
public class BSFPreProcessorBeanInfo
extends BSFBeanInfoSupport
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.testbeans.BeanInfoSupport
DEFAULT, MULTILINE, NOT_EXPRESSION, NOT_OTHER, NOT_UNDEFINED, RESOURCE_BUNDLE, TAGS, TEXT_LANGUAGE
+ + + + + + + +
Fields inherited from interface java.beans.BeanInfo
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32
+  + + + + + + + + + + +
+Constructor Summary
BSFPreProcessorBeanInfo() + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testbeans.BeanInfoSupport
createPropertyGroup, getAdditionalBeanInfo, getBeanDescriptor, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getIcon, getMethodDescriptors, getPropertyDescriptors, property, property, property, setIcon
+ + + + + + + +
Methods inherited from class java.beans.SimpleBeanInfo
loadImage
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+BSFPreProcessorBeanInfo

+
+public BSFPreProcessorBeanInfo()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/modifiers/BeanShellPreProcessor.html b/docs/api/org/apache/jmeter/modifiers/BeanShellPreProcessor.html new file mode 100644 index 00000000000..f39a8d89262 --- /dev/null +++ b/docs/api/org/apache/jmeter/modifiers/BeanShellPreProcessor.html @@ -0,0 +1,316 @@ + + + + + +BeanShellPreProcessor (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.modifiers +
+Class BeanShellPreProcessor

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.util.BeanShellTestElement
+          extended by org.apache.jmeter.modifiers.BeanShellPreProcessor
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Searchable, PreProcessor, TestBean, TestElement, TestStateListener, ThreadListener
+
+
+
+
public class BeanShellPreProcessor
extends BeanShellTestElement
implements Cloneable, PreProcessor, TestBean
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
BeanShellPreProcessor() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+protected  StringgetInitFileProperty() + +
+           
+ voidprocess() + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.util.BeanShellTestElement
clone, getBeanShellInterpreter, getFilename, getParameters, getScript, isResetInterpreter, processFileOrScript, readResolve, setFilename, setParameters, setResetInterpreter, setScript, testEnded, testEnded, testStarted, testStarted, threadFinished, threadStarted
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+BeanShellPreProcessor

+
+public BeanShellPreProcessor()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getInitFileProperty

+
+protected String getInitFileProperty()
+
+
+
Specified by:
getInitFileProperty in class BeanShellTestElement
+
+
+
+
+
+
+ +

+process

+
+public void process()
+
+
+
Specified by:
process in interface PreProcessor
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/modifiers/BeanShellPreProcessorBeanInfo.html b/docs/api/org/apache/jmeter/modifiers/BeanShellPreProcessorBeanInfo.html new file mode 100644 index 00000000000..ac141e8481d --- /dev/null +++ b/docs/api/org/apache/jmeter/modifiers/BeanShellPreProcessorBeanInfo.html @@ -0,0 +1,271 @@ + + + + + +BeanShellPreProcessorBeanInfo (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.modifiers +
+Class BeanShellPreProcessorBeanInfo

+
+java.lang.Object
+  extended by java.beans.SimpleBeanInfo
+      extended by org.apache.jmeter.testbeans.BeanInfoSupport
+          extended by org.apache.jmeter.util.BeanShellBeanInfoSupport
+              extended by org.apache.jmeter.modifiers.BeanShellPreProcessorBeanInfo
+
+
+
All Implemented Interfaces:
BeanInfo
+
+
+
+
public class BeanShellPreProcessorBeanInfo
extends BeanShellBeanInfoSupport
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.testbeans.BeanInfoSupport
DEFAULT, MULTILINE, NOT_EXPRESSION, NOT_OTHER, NOT_UNDEFINED, RESOURCE_BUNDLE, TAGS, TEXT_LANGUAGE
+ + + + + + + +
Fields inherited from interface java.beans.BeanInfo
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32
+  + + + + + + + + + + +
+Constructor Summary
BeanShellPreProcessorBeanInfo() + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testbeans.BeanInfoSupport
createPropertyGroup, getAdditionalBeanInfo, getBeanDescriptor, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getIcon, getMethodDescriptors, getPropertyDescriptors, property, property, property, setIcon
+ + + + + + + +
Methods inherited from class java.beans.SimpleBeanInfo
loadImage
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+BeanShellPreProcessorBeanInfo

+
+public BeanShellPreProcessorBeanInfo()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/modifiers/CounterConfig.html b/docs/api/org/apache/jmeter/modifiers/CounterConfig.html new file mode 100644 index 00000000000..ed7c444cd8d --- /dev/null +++ b/docs/api/org/apache/jmeter/modifiers/CounterConfig.html @@ -0,0 +1,733 @@ + + + + + +CounterConfig (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.modifiers +
+Class CounterConfig

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.modifiers.CounterConfig
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, LoopIterationListener, NoThreadClone, Searchable, TestElement
+
+
+
+
public class CounterConfig
extends AbstractTestElement
implements Serializable, LoopIterationListener, NoThreadClone
+ + +

+Provides a counter per-thread(user) or per-thread group. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
CounterConfig() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ longgetEnd() + +
+           
+ StringgetEndAsString() + +
+           
+ StringgetFormat() + +
+           
+ longgetIncrement() + +
+           
+ StringgetIncrementAsString() + +
+           
+ longgetStart() + +
+           
+ StringgetStartAsString() + +
+           
+ StringgetVarName() + +
+           
+ booleanisPerUser() + +
+           
+ booleanisResetOnThreadGroupIteration() + +
+           
+ voiditerationStart(LoopIterationEvent event) + +
+          Called when a loop iteration is about to start.
+ voidsetEnd(long end) + +
+           
+ voidsetEnd(String end) + +
+           
+ voidsetFormat(String format) + +
+           
+ voidsetIncrement(long inc) + +
+           
+ voidsetIncrement(String incr) + +
+           
+ voidsetIsPerUser(boolean isPer) + +
+           
+ voidsetResetOnThreadGroupIteration(boolean value) + +
+           
+ voidsetStart(long start) + +
+           
+ voidsetStart(String start) + +
+           
+ voidsetVarName(String name) + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+CounterConfig

+
+public CounterConfig()
+
+
+ + + + + + + + +
+Method Detail
+ +

+iterationStart

+
+public void iterationStart(LoopIterationEvent event)
+
+
Description copied from interface: LoopIterationListener
+
Called when a loop iteration is about to start. +

+

+
Specified by:
iterationStart in interface LoopIterationListener
+
+
+
Parameters:
event - the event
See Also:
LoopIterationListener.iterationStart(LoopIterationEvent)
+
+
+
+ +

+setStart

+
+public void setStart(long start)
+
+
+
+
+
+
+
+
+
+ +

+setStart

+
+public void setStart(String start)
+
+
+
+
+
+
+
+
+
+ +

+getStart

+
+public long getStart()
+
+
+
+
+
+
+
+
+
+ +

+getStartAsString

+
+public String getStartAsString()
+
+
+
+
+
+
+
+
+
+ +

+setEnd

+
+public void setEnd(long end)
+
+
+
+
+
+
+
+
+
+ +

+setEnd

+
+public void setEnd(String end)
+
+
+
+
+
+
+
+
+
+ +

+setResetOnThreadGroupIteration

+
+public void setResetOnThreadGroupIteration(boolean value)
+
+
+
+
+
+
Parameters:
value - boolean indicating if counter must be reset on Thread Group Iteration
+
+
+
+ +

+isResetOnThreadGroupIteration

+
+public boolean isResetOnThreadGroupIteration()
+
+
+
+
+
+ +
Returns:
true if counter must be reset on Thread Group Iteration
+
+
+
+ +

+getEnd

+
+public long getEnd()
+
+
+
+
+
+ +
Returns:
counter upper limit (default Long.MAX_VALUE)
+
+
+
+ +

+getEndAsString

+
+public String getEndAsString()
+
+
+
+
+
+
+
+
+
+ +

+setIncrement

+
+public void setIncrement(long inc)
+
+
+
+
+
+
+
+
+
+ +

+setIncrement

+
+public void setIncrement(String incr)
+
+
+
+
+
+
+
+
+
+ +

+getIncrement

+
+public long getIncrement()
+
+
+
+
+
+
+
+
+
+ +

+getIncrementAsString

+
+public String getIncrementAsString()
+
+
+
+
+
+
+
+
+
+ +

+setIsPerUser

+
+public void setIsPerUser(boolean isPer)
+
+
+
+
+
+
+
+
+
+ +

+isPerUser

+
+public boolean isPerUser()
+
+
+
+
+
+
+
+
+
+ +

+setVarName

+
+public void setVarName(String name)
+
+
+
+
+
+
+
+
+
+ +

+getVarName

+
+public String getVarName()
+
+
+
+
+
+
+
+
+
+ +

+setFormat

+
+public void setFormat(String format)
+
+
+
+
+
+
+
+
+
+ +

+getFormat

+
+public String getFormat()
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/modifiers/JSR223PreProcessor.html b/docs/api/org/apache/jmeter/modifiers/JSR223PreProcessor.html new file mode 100644 index 00000000000..3a8c8245d04 --- /dev/null +++ b/docs/api/org/apache/jmeter/modifiers/JSR223PreProcessor.html @@ -0,0 +1,313 @@ + + + + + +JSR223PreProcessor (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.modifiers +
+Class JSR223PreProcessor

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.util.ScriptingTestElement
+          extended by org.apache.jmeter.util.JSR223TestElement
+              extended by org.apache.jmeter.modifiers.JSR223PreProcessor
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Searchable, PreProcessor, TestBean, TestElement, TestStateListener
+
+
+
+
public class JSR223PreProcessor
extends JSR223TestElement
implements Cloneable, PreProcessor, TestBean
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.util.ScriptingTestElement
scriptLanguage
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
JSR223PreProcessor() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ voidprocess() + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.util.JSR223TestElement
getCacheKey, getInstance, getScriptEngine, getScriptLanguage, populateBindings, processFileOrScript, setCacheKey, setScriptLanguage, testEnded, testEnded, testStarted, testStarted
+ + + + + + + +
Methods inherited from class org.apache.jmeter.util.ScriptingTestElement
getFilename, getParameters, getScript, setFilename, setParameters, setScript
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+JSR223PreProcessor

+
+public JSR223PreProcessor()
+
+
+ + + + + + + + +
+Method Detail
+ +

+process

+
+public void process()
+
+
+
Specified by:
process in interface PreProcessor
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/modifiers/JSR223PreProcessorBeanInfo.html b/docs/api/org/apache/jmeter/modifiers/JSR223PreProcessorBeanInfo.html new file mode 100644 index 00000000000..2ae838cec8d --- /dev/null +++ b/docs/api/org/apache/jmeter/modifiers/JSR223PreProcessorBeanInfo.html @@ -0,0 +1,281 @@ + + + + + +JSR223PreProcessorBeanInfo (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.modifiers +
+Class JSR223PreProcessorBeanInfo

+
+java.lang.Object
+  extended by java.beans.SimpleBeanInfo
+      extended by org.apache.jmeter.testbeans.BeanInfoSupport
+          extended by org.apache.jmeter.util.ScriptingBeanInfoSupport
+              extended by org.apache.jmeter.util.JSR223BeanInfoSupport
+                  extended by org.apache.jmeter.modifiers.JSR223PreProcessorBeanInfo
+
+
+
All Implemented Interfaces:
BeanInfo
+
+
+
+
public class JSR223PreProcessorBeanInfo
extends JSR223BeanInfoSupport
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.util.JSR223BeanInfoSupport
LANGUAGE_NAMES
+ + + + + + + +
Fields inherited from class org.apache.jmeter.testbeans.BeanInfoSupport
DEFAULT, MULTILINE, NOT_EXPRESSION, NOT_OTHER, NOT_UNDEFINED, RESOURCE_BUNDLE, TAGS, TEXT_LANGUAGE
+ + + + + + + +
Fields inherited from interface java.beans.BeanInfo
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32
+  + + + + + + + + + + +
+Constructor Summary
JSR223PreProcessorBeanInfo() + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testbeans.BeanInfoSupport
createPropertyGroup, getAdditionalBeanInfo, getBeanDescriptor, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getIcon, getMethodDescriptors, getPropertyDescriptors, property, property, property, setIcon
+ + + + + + + +
Methods inherited from class java.beans.SimpleBeanInfo
loadImage
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+JSR223PreProcessorBeanInfo

+
+public JSR223PreProcessorBeanInfo()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/modifiers/UserParameters.html b/docs/api/org/apache/jmeter/modifiers/UserParameters.html new file mode 100644 index 00000000000..3c78e3f0028 --- /dev/null +++ b/docs/api/org/apache/jmeter/modifiers/UserParameters.html @@ -0,0 +1,612 @@ + + + + + +UserParameters (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.modifiers +
+Class UserParameters

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.modifiers.UserParameters
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, LoopIterationListener, Searchable, PreProcessor, TestElement
+
+
+
+
public class UserParameters
extends AbstractTestElement
implements Serializable, PreProcessor, LoopIterationListener
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + +
+Field Summary
+static StringNAMES + +
+           
+static StringPER_ITERATION + +
+           
+static StringTHREAD_VALUES + +
+           
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
UserParameters() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Objectclone() + +
+           
+ CollectionPropertygetNames() + +
+           
+ CollectionPropertygetThreadLists() + +
+           
+ booleanisPerIteration() + +
+           
+ voiditerationStart(LoopIterationEvent event) + +
+          Called when a loop iteration is about to start.
+protected  voidmergeIn(TestElement element) + +
+          Add to this the properties of element (by reference)
+ voidprocess() + +
+           
+ voidsetNames(Collection<?> list) + +
+          The list of names of the variables to hold values.
+ voidsetNames(CollectionProperty list) + +
+          The list of names of the variables to hold values.
+ voidsetPerIteration(boolean perIter) + +
+           
+ voidsetThreadLists(Collection<?> threadLists) + +
+          The thread list is a list of lists.
+ voidsetThreadLists(CollectionProperty threadLists) + +
+          The thread list is a list of lists.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+NAMES

+
+public static final String NAMES
+
+
+
See Also:
Constant Field Values
+
+
+ +

+THREAD_VALUES

+
+public static final String THREAD_VALUES
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PER_ITERATION

+
+public static final String PER_ITERATION
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+UserParameters

+
+public UserParameters()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getNames

+
+public CollectionProperty getNames()
+
+
+
+
+
+
+
+
+
+ +

+getThreadLists

+
+public CollectionProperty getThreadLists()
+
+
+
+
+
+
+
+
+
+ +

+setNames

+
+public void setNames(Collection<?> list)
+
+
The list of names of the variables to hold values. This list must come in + the same order as the sub lists that are given to + setThreadLists(Collection). +

+

+
+
+
+
Parameters:
list - The ordered list of names
+
+
+
+ +

+setNames

+
+public void setNames(CollectionProperty list)
+
+
The list of names of the variables to hold values. This list must come in + the same order as the sub lists that are given to + setThreadLists(CollectionProperty). +

+

+
+
+
+
Parameters:
list - The ordered list of names
+
+
+
+ +

+setThreadLists

+
+public void setThreadLists(Collection<?> threadLists)
+
+
The thread list is a list of lists. Each list within the parent list is a + collection of values for a simulated user. As many different sets of + values can be supplied in this fashion to cause JMeter to set different + values to variables for different test threads. +

+

+
+
+
+
Parameters:
threadLists - The list of lists of values for each user thread
+
+
+
+ +

+setThreadLists

+
+public void setThreadLists(CollectionProperty threadLists)
+
+
The thread list is a list of lists. Each list within the parent list is a + collection of values for a simulated user. As many different sets of + values can be supplied in this fashion to cause JMeter to set different + values to variables for different test threads. +

+

+
+
+
+
Parameters:
threadLists - The list of lists of values for each user thread
+
+
+
+ +

+isPerIteration

+
+public boolean isPerIteration()
+
+
+
+
+
+
+
+
+
+ +

+setPerIteration

+
+public void setPerIteration(boolean perIter)
+
+
+
+
+
+
+
+
+
+ +

+process

+
+public void process()
+
+
+
Specified by:
process in interface PreProcessor
+
+
+
+
+
+
+ +

+iterationStart

+
+public void iterationStart(LoopIterationEvent event)
+
+
Description copied from interface: LoopIterationListener
+
Called when a loop iteration is about to start. +

+

+
Specified by:
iterationStart in interface LoopIterationListener
+
+
+
Parameters:
event - the event
See Also:
LoopIterationListener.iterationStart(LoopIterationEvent)
+
+
+
+ +

+clone

+
+public Object clone()
+
+
+
Specified by:
clone in interface TestElement
Overrides:
clone in class AbstractTestElement
+
+
+
+
+
+
+ +

+mergeIn

+
+protected void mergeIn(TestElement element)
+
+
Add to this the properties of element (by reference) +

+

+
Overrides:
mergeIn in class AbstractTestElement
+
+
+
Parameters:
element - TestElement
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/modifiers/gui/CounterConfigGui.html b/docs/api/org/apache/jmeter/modifiers/gui/CounterConfigGui.html new file mode 100644 index 00000000000..8faab23dd8d --- /dev/null +++ b/docs/api/org/apache/jmeter/modifiers/gui/CounterConfigGui.html @@ -0,0 +1,558 @@ + + + + + +CounterConfigGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.modifiers.gui +
+Class CounterConfigGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.config.gui.AbstractConfigGui
+                          extended by org.apache.jmeter.modifiers.gui.CounterConfigGui
+
+
+
All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
+
public class CounterConfigGui
extends AbstractConfigGui
implements ActionListener
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
CounterConfigGui() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidactionPerformed(ActionEvent e) + +
+          Disable/Enable resetCounterOnEachThreadGroupIteration when perUserField is disabled / enabled
+ voidclearGui() + +
+          Implements JMeterGUIComponent.clearGui
+ voidconfigure(TestElement element) + +
+          A newly created gui component can be initialized with the contents of a + Test Element object by calling this method.
+ TestElementcreateTestElement() + +
+          JMeter test components are separated into a model and a GUI + representation.
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ voidmodifyTestElement(TestElement c) + +
+          Modifies a given TestElement to mirror the data in the gui components.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.config.gui.AbstractConfigGui
createPopupMenu, getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+CounterConfigGui

+
+public CounterConfigGui()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+
Specified by:
getLabelResource in interface JMeterGUIComponent
+
+
+ +
Returns:
the resource name
+
+
+
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
Description copied from interface: JMeterGUIComponent
+
JMeter test components are separated into a model and a GUI + representation. The model holds the data and the GUI displays it. The GUI + class is responsible for knowing how to create and initialize with data + the model class that it knows how to display, and this method is called + when new test elements are created. +

+

+
Specified by:
createTestElement in interface JMeterGUIComponent
+
+
+ +
Returns:
the Test Element object that the GUI component represents.
See Also:
JMeterGUIComponent.createTestElement()
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement c)
+
+
Modifies a given TestElement to mirror the data in the gui components. +

+

+
Specified by:
modifyTestElement in interface JMeterGUIComponent
+
+
+
Parameters:
c - the TestElement to modify
See Also:
JMeterGUIComponent.modifyTestElement(TestElement)
+
+
+
+ +

+clearGui

+
+public void clearGui()
+
+
Implements JMeterGUIComponent.clearGui +

+

+
Specified by:
clearGui in interface ClearGui
Overrides:
clearGui in class AbstractJMeterGuiComponent
+
+
+
+
+
+
+ +

+configure

+
+public void configure(TestElement element)
+
+
Description copied from class: AbstractJMeterGuiComponent
+
A newly created gui component can be initialized with the contents of a + Test Element object by calling this method. The component is responsible + for querying the Test Element object for the relevant information to + display in its GUI. +

+ AbstractJMeterGuiComponent provides a partial implementation of this + method, setting the name of the component and its enabled status. + Subclasses should override this method, performing their own + configuration as needed, but also calling this super-implementation. +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class AbstractJMeterGuiComponent
+
+
+
Parameters:
element - the TestElement to configure
+
+
+
+ +

+actionPerformed

+
+public void actionPerformed(ActionEvent e)
+
+
Disable/Enable resetCounterOnEachThreadGroupIteration when perUserField is disabled / enabled +

+

+
Specified by:
actionPerformed in interface ActionListener
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/modifiers/gui/UserParametersGui.html b/docs/api/org/apache/jmeter/modifiers/gui/UserParametersGui.html new file mode 100644 index 00000000000..408f022644a --- /dev/null +++ b/docs/api/org/apache/jmeter/modifiers/gui/UserParametersGui.html @@ -0,0 +1,544 @@ + + + + + +UserParametersGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.modifiers.gui +
+Class UserParametersGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.processor.gui.AbstractPreProcessorGui
+                          extended by org.apache.jmeter.modifiers.gui.UserParametersGui
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
+
public class UserParametersGui
extends AbstractPreProcessorGui
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
UserParametersGui() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclearGui() + +
+          Implements JMeterGUIComponent.clearGui
+ voidconfigure(TestElement el) + +
+          A newly created gui component can be initialized with the contents of a + Test Element object by calling this method.
+ TestElementcreateTestElement() + +
+          JMeter test components are separated into a model and a GUI + representation.
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+protected  voidinitTableModel() + +
+           
+ voidmodifyTestElement(TestElement params) + +
+          Modifies a given TestElement to mirror the data in the gui components.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.processor.gui.AbstractPreProcessorGui
createPopupMenu, getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+UserParametersGui

+
+public UserParametersGui()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+ +
Returns:
the resource name
+
+
+
+ +

+configure

+
+public void configure(TestElement el)
+
+
Description copied from class: AbstractJMeterGuiComponent
+
A newly created gui component can be initialized with the contents of a + Test Element object by calling this method. The component is responsible + for querying the Test Element object for the relevant information to + display in its GUI. +

+ AbstractJMeterGuiComponent provides a partial implementation of this + method, setting the name of the component and its enabled status. + Subclasses should override this method, performing their own + configuration as needed, but also calling this super-implementation. +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class AbstractJMeterGuiComponent
+
+
+
Parameters:
el - the TestElement to configure
+
+
+
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
Description copied from interface: JMeterGUIComponent
+
JMeter test components are separated into a model and a GUI + representation. The model holds the data and the GUI displays it. The GUI + class is responsible for knowing how to create and initialize with data + the model class that it knows how to display, and this method is called + when new test elements are created. +

+

+ +
Returns:
the Test Element object that the GUI component represents.
See Also:
JMeterGUIComponent.createTestElement()
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement params)
+
+
Modifies a given TestElement to mirror the data in the gui components. +

+

+
Parameters:
params - the TestElement to modify
See Also:
JMeterGUIComponent.modifyTestElement(TestElement)
+
+
+
+ +

+clearGui

+
+public void clearGui()
+
+
Implements JMeterGUIComponent.clearGui +

+

+
Specified by:
clearGui in interface ClearGui
Overrides:
clearGui in class AbstractJMeterGuiComponent
+
+
+
+
+
+
+ +

+initTableModel

+
+protected void initTableModel()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/modifiers/gui/package-frame.html b/docs/api/org/apache/jmeter/modifiers/gui/package-frame.html new file mode 100644 index 00000000000..dd27977b0b4 --- /dev/null +++ b/docs/api/org/apache/jmeter/modifiers/gui/package-frame.html @@ -0,0 +1,32 @@ + + + + + +org.apache.jmeter.modifiers.gui (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.modifiers.gui + + + + +
+Classes  + +
+CounterConfigGui +
+UserParametersGui
+ + + + diff --git a/docs/api/org/apache/jmeter/modifiers/gui/package-summary.html b/docs/api/org/apache/jmeter/modifiers/gui/package-summary.html new file mode 100644 index 00000000000..2702696364e --- /dev/null +++ b/docs/api/org/apache/jmeter/modifiers/gui/package-summary.html @@ -0,0 +1,157 @@ + + + + + +org.apache.jmeter.modifiers.gui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.modifiers.gui +

+ + + + + + + + + + + + + +
+Class Summary
CounterConfigGui 
UserParametersGui 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/modifiers/gui/package-tree.html b/docs/api/org/apache/jmeter/modifiers/gui/package-tree.html new file mode 100644 index 00000000000..95f3440452d --- /dev/null +++ b/docs/api/org/apache/jmeter/modifiers/gui/package-tree.html @@ -0,0 +1,168 @@ + + + + + +org.apache.jmeter.modifiers.gui Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.modifiers.gui +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/modifiers/package-frame.html b/docs/api/org/apache/jmeter/modifiers/package-frame.html new file mode 100644 index 00000000000..c209d6a59b4 --- /dev/null +++ b/docs/api/org/apache/jmeter/modifiers/package-frame.html @@ -0,0 +1,44 @@ + + + + + +org.apache.jmeter.modifiers (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.modifiers + + + + +
+Classes  + +
+BeanShellPreProcessor +
+BeanShellPreProcessorBeanInfo +
+BSFPreProcessor +
+BSFPreProcessorBeanInfo +
+CounterConfig +
+JSR223PreProcessor +
+JSR223PreProcessorBeanInfo +
+UserParameters
+ + + + diff --git a/docs/api/org/apache/jmeter/modifiers/package-summary.html b/docs/api/org/apache/jmeter/modifiers/package-summary.html new file mode 100644 index 00000000000..3643911e71b --- /dev/null +++ b/docs/api/org/apache/jmeter/modifiers/package-summary.html @@ -0,0 +1,181 @@ + + + + + +org.apache.jmeter.modifiers (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.modifiers +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
BeanShellPreProcessor 
BeanShellPreProcessorBeanInfo 
BSFPreProcessor 
BSFPreProcessorBeanInfo 
CounterConfigProvides a counter per-thread(user) or per-thread group.
JSR223PreProcessor 
JSR223PreProcessorBeanInfo 
UserParameters 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/modifiers/package-tree.html b/docs/api/org/apache/jmeter/modifiers/package-tree.html new file mode 100644 index 00000000000..81e6ad062bb --- /dev/null +++ b/docs/api/org/apache/jmeter/modifiers/package-tree.html @@ -0,0 +1,181 @@ + + + + + +org.apache.jmeter.modifiers Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.modifiers +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/monitor/model/Connector.html b/docs/api/org/apache/jmeter/monitor/model/Connector.html new file mode 100644 index 00000000000..daa3eff779c --- /dev/null +++ b/docs/api/org/apache/jmeter/monitor/model/Connector.html @@ -0,0 +1,338 @@ + + + + + +Connector (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.monitor.model +
+Interface Connector

+
+
All Known Implementing Classes:
ConnectorImpl
+
+
+
+
public interface Connector
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetName() + +
+           
+ RequestInfogetRequestInfo() + +
+           
+ ThreadInfogetThreadInfo() + +
+           
+ WorkersgetWorkers() + +
+           
+ voidsetName(String value) + +
+           
+ voidsetRequestInfo(RequestInfo value) + +
+           
+ voidsetThreadInfo(ThreadInfo value) + +
+           
+ voidsetWorkers(Workers value) + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+getThreadInfo

+
+ThreadInfo getThreadInfo()
+
+
+
+
+
+
+ +

+setThreadInfo

+
+void setThreadInfo(ThreadInfo value)
+
+
+
+
+
+
+ +

+getRequestInfo

+
+RequestInfo getRequestInfo()
+
+
+
+
+
+
+ +

+setRequestInfo

+
+void setRequestInfo(RequestInfo value)
+
+
+
+
+
+
+ +

+getWorkers

+
+Workers getWorkers()
+
+
+
+
+
+
+ +

+setWorkers

+
+void setWorkers(Workers value)
+
+
+
+
+
+
+ +

+getName

+
+String getName()
+
+
+
+
+
+
+ +

+setName

+
+void setName(String value)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/monitor/model/ConnectorImpl.html b/docs/api/org/apache/jmeter/monitor/model/ConnectorImpl.html new file mode 100644 index 00000000000..b6b7b868d55 --- /dev/null +++ b/docs/api/org/apache/jmeter/monitor/model/ConnectorImpl.html @@ -0,0 +1,412 @@ + + + + + +ConnectorImpl (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.monitor.model +
+Class ConnectorImpl

+
+java.lang.Object
+  extended by org.apache.jmeter.monitor.model.ConnectorImpl
+
+
+
All Implemented Interfaces:
Connector
+
+
+
+
public class ConnectorImpl
extends Object
implements Connector
+ + +

+

+
Version:
+
$Revision: 1413262 $
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
ConnectorImpl() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetName() + +
+           
+ RequestInfogetRequestInfo() + +
+           
+ ThreadInfogetThreadInfo() + +
+           
+ WorkersgetWorkers() + +
+           
+ voidsetName(String value) + +
+           
+ voidsetRequestInfo(RequestInfo value) + +
+           
+ voidsetThreadInfo(ThreadInfo value) + +
+           
+ voidsetWorkers(Workers value) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ConnectorImpl

+
+public ConnectorImpl()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getThreadInfo

+
+public ThreadInfo getThreadInfo()
+
+
+
Specified by:
getThreadInfo in interface Connector
+
+
+
+
+
+
+ +

+setThreadInfo

+
+public void setThreadInfo(ThreadInfo value)
+
+
+
Specified by:
setThreadInfo in interface Connector
+
+
+
+
+
+
+ +

+getRequestInfo

+
+public RequestInfo getRequestInfo()
+
+
+
Specified by:
getRequestInfo in interface Connector
+
+
+
+
+
+
+ +

+setRequestInfo

+
+public void setRequestInfo(RequestInfo value)
+
+
+
Specified by:
setRequestInfo in interface Connector
+
+
+
+
+
+
+ +

+getWorkers

+
+public Workers getWorkers()
+
+
+
Specified by:
getWorkers in interface Connector
+
+
+
+
+
+
+ +

+setWorkers

+
+public void setWorkers(Workers value)
+
+
+
Specified by:
setWorkers in interface Connector
+
+
+
+
+
+
+ +

+getName

+
+public String getName()
+
+
+
Specified by:
getName in interface Connector
+
+
+
+
+
+
+ +

+setName

+
+public void setName(String value)
+
+
+
Specified by:
setName in interface Connector
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/monitor/model/Jvm.html b/docs/api/org/apache/jmeter/monitor/model/Jvm.html new file mode 100644 index 00000000000..0323ce185ff --- /dev/null +++ b/docs/api/org/apache/jmeter/monitor/model/Jvm.html @@ -0,0 +1,224 @@ + + + + + +Jvm (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.monitor.model +
+Interface Jvm

+
+
All Known Implementing Classes:
JvmImpl
+
+
+
+
public interface Jvm
+ + +

+


+ +

+ + + + + + + + + + + + + + + + +
+Method Summary
+ MemorygetMemory() + +
+           
+ voidsetMemory(Memory mem) + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+getMemory

+
+Memory getMemory()
+
+
+
+
+
+
+ +

+setMemory

+
+void setMemory(Memory mem)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/monitor/model/JvmImpl.html b/docs/api/org/apache/jmeter/monitor/model/JvmImpl.html new file mode 100644 index 00000000000..5bb2b453bb0 --- /dev/null +++ b/docs/api/org/apache/jmeter/monitor/model/JvmImpl.html @@ -0,0 +1,284 @@ + + + + + +JvmImpl (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.monitor.model +
+Class JvmImpl

+
+java.lang.Object
+  extended by org.apache.jmeter.monitor.model.JvmImpl
+
+
+
All Implemented Interfaces:
Jvm
+
+
+
+
public class JvmImpl
extends Object
implements Jvm
+ + +

+

+
Version:
+
$Revision: 1413262 $
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
JvmImpl() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ MemorygetMemory() + +
+          
+ voidsetMemory(Memory mem) + +
+          
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+JvmImpl

+
+public JvmImpl()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getMemory

+
+public Memory getMemory()
+
+
+

+

+
Specified by:
getMemory in interface Jvm
+
+
+
+
+
+
+ +

+setMemory

+
+public void setMemory(Memory mem)
+
+
+

+

+
Specified by:
setMemory in interface Jvm
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/monitor/model/Memory.html b/docs/api/org/apache/jmeter/monitor/model/Memory.html new file mode 100644 index 00000000000..278ea87dc2e --- /dev/null +++ b/docs/api/org/apache/jmeter/monitor/model/Memory.html @@ -0,0 +1,304 @@ + + + + + +Memory (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.monitor.model +
+Interface Memory

+
+
All Known Implementing Classes:
MemoryImpl
+
+
+
+
public interface Memory
+ + +

+

+
Version:
+
$Revision: 674365 $
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ longgetFree() + +
+           
+ longgetMax() + +
+           
+ longgetTotal() + +
+           
+ voidsetFree(long value) + +
+           
+ voidsetMax(long value) + +
+           
+ voidsetTotal(long value) + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+getMax

+
+long getMax()
+
+
+
+
+
+
+ +

+setMax

+
+void setMax(long value)
+
+
+
+
+
+
+ +

+getFree

+
+long getFree()
+
+
+
+
+
+
+ +

+setFree

+
+void setFree(long value)
+
+
+
+
+
+
+ +

+getTotal

+
+long getTotal()
+
+
+
+
+
+
+ +

+setTotal

+
+void setTotal(long value)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/monitor/model/MemoryImpl.html b/docs/api/org/apache/jmeter/monitor/model/MemoryImpl.html new file mode 100644 index 00000000000..3745cc1fdc4 --- /dev/null +++ b/docs/api/org/apache/jmeter/monitor/model/MemoryImpl.html @@ -0,0 +1,368 @@ + + + + + +MemoryImpl (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.monitor.model +
+Class MemoryImpl

+
+java.lang.Object
+  extended by org.apache.jmeter.monitor.model.MemoryImpl
+
+
+
All Implemented Interfaces:
Memory
+
+
+
+
public class MemoryImpl
extends Object
implements Memory
+ + +

+

+
Version:
+
$Revision: 1413262 $
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
MemoryImpl() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ longgetFree() + +
+           
+ longgetMax() + +
+           
+ longgetTotal() + +
+           
+ voidsetFree(long value) + +
+           
+ voidsetMax(long value) + +
+           
+ voidsetTotal(long value) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+MemoryImpl

+
+public MemoryImpl()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getMax

+
+public long getMax()
+
+
+
Specified by:
getMax in interface Memory
+
+
+
+
+
+
+ +

+setMax

+
+public void setMax(long value)
+
+
+
Specified by:
setMax in interface Memory
+
+
+
+
+
+
+ +

+getFree

+
+public long getFree()
+
+
+
Specified by:
getFree in interface Memory
+
+
+
+
+
+
+ +

+setFree

+
+public void setFree(long value)
+
+
+
Specified by:
setFree in interface Memory
+
+
+
+
+
+
+ +

+getTotal

+
+public long getTotal()
+
+
+
Specified by:
getTotal in interface Memory
+
+
+
+
+
+
+ +

+setTotal

+
+public void setTotal(long value)
+
+
+
Specified by:
setTotal in interface Memory
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/monitor/model/ObjectFactory.MonitorParser.html b/docs/api/org/apache/jmeter/monitor/model/ObjectFactory.MonitorParser.html new file mode 100644 index 00000000000..401594e66bb --- /dev/null +++ b/docs/api/org/apache/jmeter/monitor/model/ObjectFactory.MonitorParser.html @@ -0,0 +1,236 @@ + + + + + +ObjectFactory.MonitorParser (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.monitor.model +
+Class ObjectFactory.MonitorParser

+
+java.lang.Object
+  extended by org.apache.jmeter.monitor.parser.ParserImpl
+      extended by org.apache.jmeter.monitor.model.ObjectFactory.MonitorParser
+
+
+
All Implemented Interfaces:
Parser
+
+
+
Enclosing class:
ObjectFactory
+
+
+
+
protected static class ObjectFactory.MonitorParser
extends ParserImpl
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
ObjectFactory.MonitorParser(ObjectFactory factory) + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class org.apache.jmeter.monitor.parser.ParserImpl
parseBytes, parseSampleResult, parseString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ObjectFactory.MonitorParser

+
+public ObjectFactory.MonitorParser(ObjectFactory factory)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/monitor/model/ObjectFactory.html b/docs/api/org/apache/jmeter/monitor/model/ObjectFactory.html new file mode 100644 index 00000000000..6bcd2eae5b6 --- /dev/null +++ b/docs/api/org/apache/jmeter/monitor/model/ObjectFactory.html @@ -0,0 +1,481 @@ + + + + + +ObjectFactory (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.monitor.model +
+Class ObjectFactory

+
+java.lang.Object
+  extended by org.apache.jmeter.monitor.model.ObjectFactory
+
+
+
+
public class ObjectFactory
extends Object
+ + +

+ObjectFactory is a simple factory class which creates new instances of + objects. It also provides convienant method to parse XML status results. +

+ +

+


+ +

+ + + + + + + + + + + +
+Nested Class Summary
+protected static classObjectFactory.MonitorParser + +
+           
+  + + + + + + + + + + + +
+Constructor Summary
+protected ObjectFactory() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ ConnectorcreateConnector() + +
+           
+ JvmcreateJvm() + +
+           
+ MemorycreateMemory() + +
+           
+ RequestInfocreateRequestInfo() + +
+           
+ StatuscreateStatus() + +
+           
+ ThreadInfocreateThreadInfo() + +
+           
+ WorkercreateWorker() + +
+           
+ WorkerscreateWorkers() + +
+           
+static ObjectFactorygetInstance() + +
+           
+ StatusparseBytes(byte[] bytes) + +
+           
+ StatusparseSampleResult(SampleResult result) + +
+           
+ StatusparseString(String content) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ObjectFactory

+
+protected ObjectFactory()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getInstance

+
+public static ObjectFactory getInstance()
+
+
+
+
+
+
+ +

+parseBytes

+
+public Status parseBytes(byte[] bytes)
+
+
+
+
+
+
+ +

+parseString

+
+public Status parseString(String content)
+
+
+
+
+
+
+ +

+parseSampleResult

+
+public Status parseSampleResult(SampleResult result)
+
+
+
+
+
+
+ +

+createStatus

+
+public Status createStatus()
+
+
+
+
+
+
+ +

+createConnector

+
+public Connector createConnector()
+
+
+
+
+
+
+ +

+createJvm

+
+public Jvm createJvm()
+
+
+
+
+
+
+ +

+createMemory

+
+public Memory createMemory()
+
+
+
+
+
+
+ +

+createRequestInfo

+
+public RequestInfo createRequestInfo()
+
+
+
+
+
+
+ +

+createThreadInfo

+
+public ThreadInfo createThreadInfo()
+
+
+
+
+
+
+ +

+createWorker

+
+public Worker createWorker()
+
+
+
+
+
+
+ +

+createWorkers

+
+public Workers createWorkers()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/monitor/model/RequestInfo.html b/docs/api/org/apache/jmeter/monitor/model/RequestInfo.html new file mode 100644 index 00000000000..b4dc5bb7887 --- /dev/null +++ b/docs/api/org/apache/jmeter/monitor/model/RequestInfo.html @@ -0,0 +1,418 @@ + + + + + +RequestInfo (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.monitor.model +
+Interface RequestInfo

+
+
All Known Implementing Classes:
RequestInfoImpl
+
+
+
+
public interface RequestInfo
+ + +

+

+
Version:
+
$Revision: 674365 $
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ longgetBytesReceived() + +
+           
+ longgetBytesSent() + +
+           
+ longgetErrorCount() + +
+           
+ intgetMaxTime() + +
+           
+ intgetProcessingTime() + +
+           
+ longgetRequestCount() + +
+           
+ voidsetBytesReceived(long value) + +
+           
+ voidsetBytesSent(long value) + +
+           
+ voidsetErrorCount(long value) + +
+           
+ voidsetMaxTime(int value) + +
+           
+ voidsetProcessingTime(int value) + +
+           
+ voidsetRequestCount(long value) + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+getBytesReceived

+
+long getBytesReceived()
+
+
+
+
+
+
+ +

+setBytesReceived

+
+void setBytesReceived(long value)
+
+
+
+
+
+
+ +

+getBytesSent

+
+long getBytesSent()
+
+
+
+
+
+
+ +

+setBytesSent

+
+void setBytesSent(long value)
+
+
+
+
+
+
+ +

+getRequestCount

+
+long getRequestCount()
+
+
+
+
+
+
+ +

+setRequestCount

+
+void setRequestCount(long value)
+
+
+
+
+
+
+ +

+getErrorCount

+
+long getErrorCount()
+
+
+
+
+
+
+ +

+setErrorCount

+
+void setErrorCount(long value)
+
+
+
+
+
+
+ +

+getMaxTime

+
+int getMaxTime()
+
+
+
+
+
+
+ +

+setMaxTime

+
+void setMaxTime(int value)
+
+
+
+
+
+
+ +

+getProcessingTime

+
+int getProcessingTime()
+
+
+
+
+
+
+ +

+setProcessingTime

+
+void setProcessingTime(int value)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/monitor/model/RequestInfoImpl.html b/docs/api/org/apache/jmeter/monitor/model/RequestInfoImpl.html new file mode 100644 index 00000000000..6721f2f6cce --- /dev/null +++ b/docs/api/org/apache/jmeter/monitor/model/RequestInfoImpl.html @@ -0,0 +1,500 @@ + + + + + +RequestInfoImpl (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.monitor.model +
+Class RequestInfoImpl

+
+java.lang.Object
+  extended by org.apache.jmeter.monitor.model.RequestInfoImpl
+
+
+
All Implemented Interfaces:
RequestInfo
+
+
+
+
public class RequestInfoImpl
extends Object
implements RequestInfo
+ + +

+

+
Version:
+
$Revision: 1413262 $
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
RequestInfoImpl() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ longgetBytesReceived() + +
+           
+ longgetBytesSent() + +
+           
+ longgetErrorCount() + +
+           
+ intgetMaxTime() + +
+           
+ intgetProcessingTime() + +
+           
+ longgetRequestCount() + +
+           
+ voidsetBytesReceived(long value) + +
+           
+ voidsetBytesSent(long value) + +
+           
+ voidsetErrorCount(long value) + +
+           
+ voidsetMaxTime(int value) + +
+           
+ voidsetProcessingTime(int value) + +
+           
+ voidsetRequestCount(long value) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+RequestInfoImpl

+
+public RequestInfoImpl()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getBytesReceived

+
+public long getBytesReceived()
+
+
+
Specified by:
getBytesReceived in interface RequestInfo
+
+
+
+
+
+
+ +

+setBytesReceived

+
+public void setBytesReceived(long value)
+
+
+
Specified by:
setBytesReceived in interface RequestInfo
+
+
+
+
+
+
+ +

+getBytesSent

+
+public long getBytesSent()
+
+
+
Specified by:
getBytesSent in interface RequestInfo
+
+
+
+
+
+
+ +

+setBytesSent

+
+public void setBytesSent(long value)
+
+
+
Specified by:
setBytesSent in interface RequestInfo
+
+
+
+
+
+
+ +

+getRequestCount

+
+public long getRequestCount()
+
+
+
Specified by:
getRequestCount in interface RequestInfo
+
+
+
+
+
+
+ +

+setRequestCount

+
+public void setRequestCount(long value)
+
+
+
Specified by:
setRequestCount in interface RequestInfo
+
+
+
+
+
+
+ +

+getErrorCount

+
+public long getErrorCount()
+
+
+
Specified by:
getErrorCount in interface RequestInfo
+
+
+
+
+
+
+ +

+setErrorCount

+
+public void setErrorCount(long value)
+
+
+
Specified by:
setErrorCount in interface RequestInfo
+
+
+
+
+
+
+ +

+getMaxTime

+
+public int getMaxTime()
+
+
+
Specified by:
getMaxTime in interface RequestInfo
+
+
+
+
+
+
+ +

+setMaxTime

+
+public void setMaxTime(int value)
+
+
+
Specified by:
setMaxTime in interface RequestInfo
+
+
+
+
+
+
+ +

+getProcessingTime

+
+public int getProcessingTime()
+
+
+
Specified by:
getProcessingTime in interface RequestInfo
+
+
+
+
+
+
+ +

+setProcessingTime

+
+public void setProcessingTime(int value)
+
+
+
Specified by:
setProcessingTime in interface RequestInfo
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/monitor/model/Status.html b/docs/api/org/apache/jmeter/monitor/model/Status.html new file mode 100644 index 00000000000..cd6c25253eb --- /dev/null +++ b/docs/api/org/apache/jmeter/monitor/model/Status.html @@ -0,0 +1,300 @@ + + + + + +Status (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.monitor.model +
+Interface Status

+
+
All Known Implementing Classes:
StatusImpl
+
+
+
+
public interface Status
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddConnector(Connector conn) + +
+           
+ List<Connector>getConnector() + +
+           
+ StringgetConnectorPrefix() + +
+           
+ JvmgetJvm() + +
+           
+ voidsetConnectorPrefix(String prefix) + +
+           
+ voidsetJvm(Jvm vm) + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+getJvm

+
+Jvm getJvm()
+
+
+
+
+
+
+ +

+setJvm

+
+void setJvm(Jvm vm)
+
+
+
+
+
+
+ +

+getConnector

+
+List<Connector> getConnector()
+
+
+
+
+
+
+ +

+addConnector

+
+void addConnector(Connector conn)
+
+
+
+
+
+
+ +

+setConnectorPrefix

+
+void setConnectorPrefix(String prefix)
+
+
+
+
+
+
+ +

+getConnectorPrefix

+
+String getConnectorPrefix()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/monitor/model/StatusImpl.html b/docs/api/org/apache/jmeter/monitor/model/StatusImpl.html new file mode 100644 index 00000000000..7f3189d0cc5 --- /dev/null +++ b/docs/api/org/apache/jmeter/monitor/model/StatusImpl.html @@ -0,0 +1,374 @@ + + + + + +StatusImpl (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.monitor.model +
+Class StatusImpl

+
+java.lang.Object
+  extended by org.apache.jmeter.monitor.model.StatusImpl
+
+
+
All Implemented Interfaces:
Status
+
+
+
+
public class StatusImpl
extends Object
implements Status
+ + +

+

+
Version:
+
$Revision: 1413262 $
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
StatusImpl() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddConnector(Connector conn) + +
+           
+ List<Connector>getConnector() + +
+          
+ StringgetConnectorPrefix() + +
+           
+ JvmgetJvm() + +
+          
+ voidsetConnectorPrefix(String prefix) + +
+           
+ voidsetJvm(Jvm vm) + +
+          
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+StatusImpl

+
+public StatusImpl()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getJvm

+
+public Jvm getJvm()
+
+
+

+

+
Specified by:
getJvm in interface Status
+
+
+
+
+
+
+ +

+setJvm

+
+public void setJvm(Jvm vm)
+
+
+

+

+
Specified by:
setJvm in interface Status
+
+
+
+
+
+
+ +

+getConnector

+
+public List<Connector> getConnector()
+
+
+

+

+
Specified by:
getConnector in interface Status
+
+
+
+
+
+
+ +

+addConnector

+
+public void addConnector(Connector conn)
+
+
+
Specified by:
addConnector in interface Status
+
+
+
+
+
+
+ +

+setConnectorPrefix

+
+public void setConnectorPrefix(String prefix)
+
+
+
Specified by:
setConnectorPrefix in interface Status
+
+
+
+
+
+
+ +

+getConnectorPrefix

+
+public String getConnectorPrefix()
+
+
+
Specified by:
getConnectorPrefix in interface Status
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/monitor/model/ThreadInfo.html b/docs/api/org/apache/jmeter/monitor/model/ThreadInfo.html new file mode 100644 index 00000000000..a7c8de306e3 --- /dev/null +++ b/docs/api/org/apache/jmeter/monitor/model/ThreadInfo.html @@ -0,0 +1,380 @@ + + + + + +ThreadInfo (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.monitor.model +
+Interface ThreadInfo

+
+
All Known Implementing Classes:
ThreadInfoImpl
+
+
+
+
public interface ThreadInfo
+ + +

+

+
Version:
+
$Revision: 674365 $
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ intgetCurrentThreadCount() + +
+           
+ intgetCurrentThreadsBusy() + +
+           
+ intgetMaxSpareThreads() + +
+           
+ intgetMaxThreads() + +
+           
+ intgetMinSpareThreads() + +
+           
+ voidsetCurrentThreadCount(int value) + +
+           
+ voidsetCurrentThreadsBusy(int value) + +
+           
+ voidsetMaxSpareThreads(int value) + +
+           
+ voidsetMaxThreads(int value) + +
+           
+ voidsetMinSpareThreads(int value) + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+getMaxSpareThreads

+
+int getMaxSpareThreads()
+
+
+
+
+
+
+ +

+setMaxSpareThreads

+
+void setMaxSpareThreads(int value)
+
+
+
+
+
+
+ +

+getMinSpareThreads

+
+int getMinSpareThreads()
+
+
+
+
+
+
+ +

+setMinSpareThreads

+
+void setMinSpareThreads(int value)
+
+
+
+
+
+
+ +

+getMaxThreads

+
+int getMaxThreads()
+
+
+
+
+
+
+ +

+setMaxThreads

+
+void setMaxThreads(int value)
+
+
+
+
+
+
+ +

+getCurrentThreadsBusy

+
+int getCurrentThreadsBusy()
+
+
+
+
+
+
+ +

+setCurrentThreadsBusy

+
+void setCurrentThreadsBusy(int value)
+
+
+
+
+
+
+ +

+getCurrentThreadCount

+
+int getCurrentThreadCount()
+
+
+
+
+
+
+ +

+setCurrentThreadCount

+
+void setCurrentThreadCount(int value)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/monitor/model/ThreadInfoImpl.html b/docs/api/org/apache/jmeter/monitor/model/ThreadInfoImpl.html new file mode 100644 index 00000000000..c66bc1afe9f --- /dev/null +++ b/docs/api/org/apache/jmeter/monitor/model/ThreadInfoImpl.html @@ -0,0 +1,456 @@ + + + + + +ThreadInfoImpl (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.monitor.model +
+Class ThreadInfoImpl

+
+java.lang.Object
+  extended by org.apache.jmeter.monitor.model.ThreadInfoImpl
+
+
+
All Implemented Interfaces:
ThreadInfo
+
+
+
+
public class ThreadInfoImpl
extends Object
implements ThreadInfo
+ + +

+

+
Version:
+
$Revision: 1413262 $
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
ThreadInfoImpl() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ intgetCurrentThreadCount() + +
+           
+ intgetCurrentThreadsBusy() + +
+           
+ intgetMaxSpareThreads() + +
+           
+ intgetMaxThreads() + +
+           
+ intgetMinSpareThreads() + +
+           
+ voidsetCurrentThreadCount(int value) + +
+           
+ voidsetCurrentThreadsBusy(int value) + +
+           
+ voidsetMaxSpareThreads(int value) + +
+           
+ voidsetMaxThreads(int value) + +
+           
+ voidsetMinSpareThreads(int value) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ThreadInfoImpl

+
+public ThreadInfoImpl()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getMaxSpareThreads

+
+public int getMaxSpareThreads()
+
+
+
Specified by:
getMaxSpareThreads in interface ThreadInfo
+
+
+
+
+
+
+ +

+setMaxSpareThreads

+
+public void setMaxSpareThreads(int value)
+
+
+
Specified by:
setMaxSpareThreads in interface ThreadInfo
+
+
+
+
+
+
+ +

+getMinSpareThreads

+
+public int getMinSpareThreads()
+
+
+
Specified by:
getMinSpareThreads in interface ThreadInfo
+
+
+
+
+
+
+ +

+setMinSpareThreads

+
+public void setMinSpareThreads(int value)
+
+
+
Specified by:
setMinSpareThreads in interface ThreadInfo
+
+
+
+
+
+
+ +

+getMaxThreads

+
+public int getMaxThreads()
+
+
+
Specified by:
getMaxThreads in interface ThreadInfo
+
+
+
+
+
+
+ +

+setMaxThreads

+
+public void setMaxThreads(int value)
+
+
+
Specified by:
setMaxThreads in interface ThreadInfo
+
+
+
+
+
+
+ +

+getCurrentThreadsBusy

+
+public int getCurrentThreadsBusy()
+
+
+
Specified by:
getCurrentThreadsBusy in interface ThreadInfo
+
+
+
+
+
+
+ +

+setCurrentThreadsBusy

+
+public void setCurrentThreadsBusy(int value)
+
+
+
Specified by:
setCurrentThreadsBusy in interface ThreadInfo
+
+
+
+
+
+
+ +

+getCurrentThreadCount

+
+public int getCurrentThreadCount()
+
+
+
Specified by:
getCurrentThreadCount in interface ThreadInfo
+
+
+
+
+
+
+ +

+setCurrentThreadCount

+
+public void setCurrentThreadCount(int value)
+
+
+
Specified by:
setCurrentThreadCount in interface ThreadInfo
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/monitor/model/Worker.html b/docs/api/org/apache/jmeter/monitor/model/Worker.html new file mode 100644 index 00000000000..4e86f7f89f9 --- /dev/null +++ b/docs/api/org/apache/jmeter/monitor/model/Worker.html @@ -0,0 +1,570 @@ + + + + + +Worker (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.monitor.model +
+Interface Worker

+
+
All Known Implementing Classes:
WorkerImpl
+
+
+
+
public interface Worker
+ + +

+

+
Version:
+
$Revision: 1377071 $
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetCurrentQueryString() + +
+           
+ StringgetCurrentUri() + +
+           
+ StringgetMethod() + +
+           
+ StringgetProtocol() + +
+           
+ StringgetRemoteAddr() + +
+           
+ longgetRequestBytesReceived() + +
+           
+ longgetRequestBytesSent() + +
+           
+ intgetRequestProcessingTime() + +
+           
+ StringgetStage() + +
+           
+ StringgetVirtualHost() + +
+           
+ voidsetCurrentQueryString(String value) + +
+           
+ voidsetCurrentUri(String value) + +
+           
+ voidsetMethod(String value) + +
+           
+ voidsetProtocol(String value) + +
+           
+ voidsetRemoteAddr(String value) + +
+           
+ voidsetRequestBytesReceived(long value) + +
+           
+ voidsetRequestBytesSent(long value) + +
+           
+ voidsetRequestProcessingTime(int value) + +
+           
+ voidsetStage(String value) + +
+           
+ voidsetVirtualHost(String value) + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+getRequestProcessingTime

+
+int getRequestProcessingTime()
+
+
+
+
+
+
+ +

+setRequestProcessingTime

+
+void setRequestProcessingTime(int value)
+
+
+
+
+
+
+ +

+getRequestBytesSent

+
+long getRequestBytesSent()
+
+
+
+
+
+
+ +

+setRequestBytesSent

+
+void setRequestBytesSent(long value)
+
+
+
+
+
+
+ +

+getCurrentQueryString

+
+String getCurrentQueryString()
+
+
+
+
+
+
+ +

+setCurrentQueryString

+
+void setCurrentQueryString(String value)
+
+
+
+
+
+
+ +

+getRemoteAddr

+
+String getRemoteAddr()
+
+
+
+
+
+
+ +

+setRemoteAddr

+
+void setRemoteAddr(String value)
+
+
+
+
+
+
+ +

+getCurrentUri

+
+String getCurrentUri()
+
+
+
+
+
+
+ +

+setCurrentUri

+
+void setCurrentUri(String value)
+
+
+
+
+
+
+ +

+getStage

+
+String getStage()
+
+
+
+
+
+
+ +

+setStage

+
+void setStage(String value)
+
+
+
+
+
+
+ +

+getVirtualHost

+
+String getVirtualHost()
+
+
+
+
+
+
+ +

+setVirtualHost

+
+void setVirtualHost(String value)
+
+
+
+
+
+
+ +

+getProtocol

+
+String getProtocol()
+
+
+
+
+
+
+ +

+setProtocol

+
+void setProtocol(String value)
+
+
+
+
+
+
+ +

+getRequestBytesReceived

+
+long getRequestBytesReceived()
+
+
+
+
+
+
+ +

+setRequestBytesReceived

+
+void setRequestBytesReceived(long value)
+
+
+
+
+
+
+ +

+getMethod

+
+String getMethod()
+
+
+
+
+
+
+ +

+setMethod

+
+void setMethod(String value)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/monitor/model/WorkerImpl.html b/docs/api/org/apache/jmeter/monitor/model/WorkerImpl.html new file mode 100644 index 00000000000..8b3e82e454b --- /dev/null +++ b/docs/api/org/apache/jmeter/monitor/model/WorkerImpl.html @@ -0,0 +1,672 @@ + + + + + +WorkerImpl (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.monitor.model +
+Class WorkerImpl

+
+java.lang.Object
+  extended by org.apache.jmeter.monitor.model.WorkerImpl
+
+
+
All Implemented Interfaces:
Worker
+
+
+
+
public class WorkerImpl
extends Object
implements Worker
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
WorkerImpl() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetCurrentQueryString() + +
+           
+ StringgetCurrentUri() + +
+           
+ StringgetMethod() + +
+           
+ StringgetProtocol() + +
+           
+ StringgetRemoteAddr() + +
+           
+ longgetRequestBytesReceived() + +
+           
+ longgetRequestBytesSent() + +
+           
+ intgetRequestProcessingTime() + +
+           
+ StringgetStage() + +
+           
+ StringgetVirtualHost() + +
+           
+ voidsetCurrentQueryString(String value) + +
+           
+ voidsetCurrentUri(String value) + +
+           
+ voidsetMethod(String value) + +
+           
+ voidsetProtocol(String value) + +
+           
+ voidsetRemoteAddr(String value) + +
+           
+ voidsetRequestBytesReceived(long value) + +
+           
+ voidsetRequestBytesSent(long value) + +
+           
+ voidsetRequestProcessingTime(int value) + +
+           
+ voidsetStage(String value) + +
+           
+ voidsetVirtualHost(String value) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+WorkerImpl

+
+public WorkerImpl()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getRequestProcessingTime

+
+public int getRequestProcessingTime()
+
+
+
Specified by:
getRequestProcessingTime in interface Worker
+
+
+
+
+
+
+ +

+setRequestProcessingTime

+
+public void setRequestProcessingTime(int value)
+
+
+
Specified by:
setRequestProcessingTime in interface Worker
+
+
+
+
+
+
+ +

+getRequestBytesSent

+
+public long getRequestBytesSent()
+
+
+
Specified by:
getRequestBytesSent in interface Worker
+
+
+
+
+
+
+ +

+setRequestBytesSent

+
+public void setRequestBytesSent(long value)
+
+
+
Specified by:
setRequestBytesSent in interface Worker
+
+
+
+
+
+
+ +

+getCurrentQueryString

+
+public String getCurrentQueryString()
+
+
+
Specified by:
getCurrentQueryString in interface Worker
+
+
+
+
+
+
+ +

+setCurrentQueryString

+
+public void setCurrentQueryString(String value)
+
+
+
Specified by:
setCurrentQueryString in interface Worker
+
+
+
+
+
+
+ +

+getRemoteAddr

+
+public String getRemoteAddr()
+
+
+
Specified by:
getRemoteAddr in interface Worker
+
+
+
+
+
+
+ +

+setRemoteAddr

+
+public void setRemoteAddr(String value)
+
+
+
Specified by:
setRemoteAddr in interface Worker
+
+
+
+
+
+
+ +

+getCurrentUri

+
+public String getCurrentUri()
+
+
+
Specified by:
getCurrentUri in interface Worker
+
+
+
+
+
+
+ +

+setCurrentUri

+
+public void setCurrentUri(String value)
+
+
+
Specified by:
setCurrentUri in interface Worker
+
+
+
+
+
+
+ +

+getStage

+
+public String getStage()
+
+
+
Specified by:
getStage in interface Worker
+
+
+
+
+
+
+ +

+setStage

+
+public void setStage(String value)
+
+
+
Specified by:
setStage in interface Worker
+
+
+
+
+
+
+ +

+getVirtualHost

+
+public String getVirtualHost()
+
+
+
Specified by:
getVirtualHost in interface Worker
+
+
+
+
+
+
+ +

+setVirtualHost

+
+public void setVirtualHost(String value)
+
+
+
Specified by:
setVirtualHost in interface Worker
+
+
+
+
+
+
+ +

+getProtocol

+
+public String getProtocol()
+
+
+
Specified by:
getProtocol in interface Worker
+
+
+
+
+
+
+ +

+setProtocol

+
+public void setProtocol(String value)
+
+
+
Specified by:
setProtocol in interface Worker
+
+
+
+
+
+
+ +

+getRequestBytesReceived

+
+public long getRequestBytesReceived()
+
+
+
Specified by:
getRequestBytesReceived in interface Worker
+
+
+
+
+
+
+ +

+setRequestBytesReceived

+
+public void setRequestBytesReceived(long value)
+
+
+
Specified by:
setRequestBytesReceived in interface Worker
+
+
+
+
+
+
+ +

+getMethod

+
+public String getMethod()
+
+
+
Specified by:
getMethod in interface Worker
+
+
+
+
+
+
+ +

+setMethod

+
+public void setMethod(String value)
+
+
+
Specified by:
setMethod in interface Worker
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/monitor/model/Workers.html b/docs/api/org/apache/jmeter/monitor/model/Workers.html new file mode 100644 index 00000000000..96d90bba755 --- /dev/null +++ b/docs/api/org/apache/jmeter/monitor/model/Workers.html @@ -0,0 +1,209 @@ + + + + + +Workers (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.monitor.model +
+Interface Workers

+
+
All Known Implementing Classes:
WorkersImpl
+
+
+
+
public interface Workers
+ + +

+

+
Version:
+
$Revision: 805173 $
+
+
+ +

+ + + + + + + + + + + + +
+Method Summary
+ List<Worker>getWorker() + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+getWorker

+
+List<Worker> getWorker()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/monitor/model/WorkersImpl.html b/docs/api/org/apache/jmeter/monitor/model/WorkersImpl.html new file mode 100644 index 00000000000..5abcc00af80 --- /dev/null +++ b/docs/api/org/apache/jmeter/monitor/model/WorkersImpl.html @@ -0,0 +1,280 @@ + + + + + +WorkersImpl (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.monitor.model +
+Class WorkersImpl

+
+java.lang.Object
+  extended by org.apache.jmeter.monitor.model.WorkersImpl
+
+
+
All Implemented Interfaces:
Workers
+
+
+
+
public class WorkersImpl
extends Object
implements Workers
+ + +

+

+
Version:
+
$Revision: 1413262 $
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
WorkersImpl() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddWorker(Worker value) + +
+           
+ List<Worker>getWorker() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+WorkersImpl

+
+public WorkersImpl()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getWorker

+
+public List<Worker> getWorker()
+
+
+
Specified by:
getWorker in interface Workers
+
+
+
+
+
+
+ +

+addWorker

+
+public void addWorker(Worker value)
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/monitor/model/package-frame.html b/docs/api/org/apache/jmeter/monitor/model/package-frame.html new file mode 100644 index 00000000000..482bee95643 --- /dev/null +++ b/docs/api/org/apache/jmeter/monitor/model/package-frame.html @@ -0,0 +1,73 @@ + + + + + +org.apache.jmeter.monitor.model (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.monitor.model + + + + +
+Interfaces  + +
+Connector +
+Jvm +
+Memory +
+RequestInfo +
+Status +
+ThreadInfo +
+Worker +
+Workers
+ + + + + + +
+Classes  + +
+ConnectorImpl +
+JvmImpl +
+MemoryImpl +
+ObjectFactory +
+ObjectFactory.MonitorParser +
+RequestInfoImpl +
+StatusImpl +
+ThreadInfoImpl +
+WorkerImpl +
+WorkersImpl
+ + + + diff --git a/docs/api/org/apache/jmeter/monitor/model/package-summary.html b/docs/api/org/apache/jmeter/monitor/model/package-summary.html new file mode 100644 index 00000000000..500e4af3d68 --- /dev/null +++ b/docs/api/org/apache/jmeter/monitor/model/package-summary.html @@ -0,0 +1,232 @@ + + + + + +org.apache.jmeter.monitor.model (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.monitor.model +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Interface Summary
Connector 
Jvm 
Memory 
RequestInfo 
Status 
ThreadInfo 
Worker 
Workers 
+  + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
ConnectorImpl 
JvmImpl 
MemoryImpl 
ObjectFactoryObjectFactory is a simple factory class which creates new instances of + objects.
ObjectFactory.MonitorParser 
RequestInfoImpl 
StatusImpl 
ThreadInfoImpl 
WorkerImpl 
WorkersImpl 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/monitor/model/package-tree.html b/docs/api/org/apache/jmeter/monitor/model/package-tree.html new file mode 100644 index 00000000000..a79e108e8f2 --- /dev/null +++ b/docs/api/org/apache/jmeter/monitor/model/package-tree.html @@ -0,0 +1,165 @@ + + + + + +org.apache.jmeter.monitor.model Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.monitor.model +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+
    +
  • org.apache.jmeter.monitor.model.Connector
  • org.apache.jmeter.monitor.model.Jvm
  • org.apache.jmeter.monitor.model.Memory
  • org.apache.jmeter.monitor.model.RequestInfo
  • org.apache.jmeter.monitor.model.Status
  • org.apache.jmeter.monitor.model.ThreadInfo
  • org.apache.jmeter.monitor.model.Worker
  • org.apache.jmeter.monitor.model.Workers
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/monitor/parser/Constants.html b/docs/api/org/apache/jmeter/monitor/parser/Constants.html new file mode 100644 index 00000000000..9bcd80071c1 --- /dev/null +++ b/docs/api/org/apache/jmeter/monitor/parser/Constants.html @@ -0,0 +1,840 @@ + + + + + +Constants (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.monitor.parser +
+Class Constants

+
+java.lang.Object
+  extended by org.apache.jmeter.monitor.parser.Constants
+
+
+
+
public class Constants
extends Object
+ + +

+Constants for the custom DocumentHandler. +

+ +

+

+
Version:
+
$Revision: 674365 $
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static StringATTRIBUTE_NAME + +
+           
+static StringBYTESRECEIVED + +
+           
+static StringBYTESSENT + +
+           
+static StringCONNECTOR + +
+           
+static StringCURRENTBUSYTHREADS + +
+           
+static StringCURRENTQUERYSTRING + +
+           
+static StringCURRENTTHREADCOUNT + +
+           
+static StringCURRENTURI + +
+           
+static StringERRORCOUNT + +
+           
+static StringJVM + +
+           
+static StringMAXSPARETHREADS + +
+           
+static StringMAXTHREADS + +
+           
+static StringMAXTIME + +
+           
+static StringMEMORY + +
+           
+static StringMEMORY_FREE + +
+           
+static StringMEMORY_MAX + +
+           
+static StringMEMORY_TOTAL + +
+           
+static StringMETHOD + +
+           
+static StringMINSPARETHREADS + +
+           
+static StringPROCESSINGTIME + +
+           
+static StringPROTOCOL + +
+           
+static StringREMOTEADDR + +
+           
+static StringREQUESTBYTESRECEIVED + +
+           
+static StringREQUESTBYTESSENT + +
+           
+static StringREQUESTCOUNT + +
+           
+static StringREQUESTINFO + +
+           
+static StringREQUESTPROCESSINGTIME + +
+           
+static StringSTAGE + +
+           
+static StringSTATUS + +
+           
+static StringTHREADINFO + +
+           
+static StringVIRTUALHOST + +
+           
+static StringWORKER + +
+           
+static StringWORKERS + +
+           
+  + + + + + + + + + + +
+Constructor Summary
Constants() + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+STATUS

+
+public static final String STATUS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+JVM

+
+public static final String JVM
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CONNECTOR

+
+public static final String CONNECTOR
+
+
+
See Also:
Constant Field Values
+
+
+ +

+MEMORY

+
+public static final String MEMORY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+THREADINFO

+
+public static final String THREADINFO
+
+
+
See Also:
Constant Field Values
+
+
+ +

+REQUESTINFO

+
+public static final String REQUESTINFO
+
+
+
See Also:
Constant Field Values
+
+
+ +

+WORKER

+
+public static final String WORKER
+
+
+
See Also:
Constant Field Values
+
+
+ +

+WORKERS

+
+public static final String WORKERS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+MEMORY_FREE

+
+public static final String MEMORY_FREE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+MEMORY_TOTAL

+
+public static final String MEMORY_TOTAL
+
+
+
See Also:
Constant Field Values
+
+
+ +

+MEMORY_MAX

+
+public static final String MEMORY_MAX
+
+
+
See Also:
Constant Field Values
+
+
+ +

+ATTRIBUTE_NAME

+
+public static final String ATTRIBUTE_NAME
+
+
+
See Also:
Constant Field Values
+
+
+ +

+MAXTHREADS

+
+public static final String MAXTHREADS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+MINSPARETHREADS

+
+public static final String MINSPARETHREADS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+MAXSPARETHREADS

+
+public static final String MAXSPARETHREADS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CURRENTTHREADCOUNT

+
+public static final String CURRENTTHREADCOUNT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CURRENTBUSYTHREADS

+
+public static final String CURRENTBUSYTHREADS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+MAXTIME

+
+public static final String MAXTIME
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PROCESSINGTIME

+
+public static final String PROCESSINGTIME
+
+
+
See Also:
Constant Field Values
+
+
+ +

+REQUESTCOUNT

+
+public static final String REQUESTCOUNT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+ERRORCOUNT

+
+public static final String ERRORCOUNT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+BYTESRECEIVED

+
+public static final String BYTESRECEIVED
+
+
+
See Also:
Constant Field Values
+
+
+ +

+BYTESSENT

+
+public static final String BYTESSENT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+STAGE

+
+public static final String STAGE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+REQUESTPROCESSINGTIME

+
+public static final String REQUESTPROCESSINGTIME
+
+
+
See Also:
Constant Field Values
+
+
+ +

+REQUESTBYTESSENT

+
+public static final String REQUESTBYTESSENT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+REQUESTBYTESRECEIVED

+
+public static final String REQUESTBYTESRECEIVED
+
+
+
See Also:
Constant Field Values
+
+
+ +

+REMOTEADDR

+
+public static final String REMOTEADDR
+
+
+
See Also:
Constant Field Values
+
+
+ +

+VIRTUALHOST

+
+public static final String VIRTUALHOST
+
+
+
See Also:
Constant Field Values
+
+
+ +

+METHOD

+
+public static final String METHOD
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CURRENTURI

+
+public static final String CURRENTURI
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CURRENTQUERYSTRING

+
+public static final String CURRENTQUERYSTRING
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PROTOCOL

+
+public static final String PROTOCOL
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+Constants

+
+public Constants()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/monitor/parser/MonitorHandler.html b/docs/api/org/apache/jmeter/monitor/parser/MonitorHandler.html new file mode 100644 index 00000000000..c9faab49669 --- /dev/null +++ b/docs/api/org/apache/jmeter/monitor/parser/MonitorHandler.html @@ -0,0 +1,476 @@ + + + + + +MonitorHandler (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.monitor.parser +
+Class MonitorHandler

+
+java.lang.Object
+  extended by org.xml.sax.helpers.DefaultHandler
+      extended by org.apache.jmeter.monitor.parser.MonitorHandler
+
+
+
All Implemented Interfaces:
ContentHandler, DTDHandler, EntityResolver, ErrorHandler
+
+
+
+
public class MonitorHandler
extends DefaultHandler
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
MonitorHandler(ObjectFactory factory) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidcharacters(char[] ch, + int start, + int length) + +
+          Receive notification of character data inside an element.
+ voidendDocument() + +
+          
+ voidendElement(String uri, + String localName, + String qName) + +
+          Receive notification of the end of an element.
+ StatusgetContents() + +
+          method returns the status object.
+ intparseInt(String data) + +
+          Convienance method for parsing integers.
+ longparseLong(String data) + +
+          Convienance method for parsing long.
+ voidstartDocument() + +
+           
+ voidstartElement(String uri, + String localName, + String qName, + Attributes attributes) + +
+          Receive notification of the start of an element.
+ + + + + + + +
Methods inherited from class org.xml.sax.helpers.DefaultHandler
endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startPrefixMapping, unparsedEntityDecl, warning
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+MonitorHandler

+
+public MonitorHandler(ObjectFactory factory)
+
+
+
Parameters:
factory - ObjectFactory to use
+
+ + + + + + + + +
+Method Detail
+ +

+startDocument

+
+public void startDocument()
+                   throws SAXException
+
+
+
Specified by:
startDocument in interface ContentHandler
Overrides:
startDocument in class DefaultHandler
+
+
+ +
Throws: +
SAXException
+
+
+
+ +

+endDocument

+
+public void endDocument()
+                 throws SAXException
+
+
+

+

+
Specified by:
endDocument in interface ContentHandler
Overrides:
endDocument in class DefaultHandler
+
+
+ +
Throws: +
SAXException
+
+
+
+ +

+startElement

+
+public void startElement(String uri,
+                         String localName,
+                         String qName,
+                         Attributes attributes)
+                  throws SAXException
+
+
Receive notification of the start of an element. + +

+ By default, do nothing. Application writers may override this method in a + subclass to take specific actions at the start of each element (such as + allocating a new tree node or writing output to a file). +

+

+

+
Specified by:
startElement in interface ContentHandler
Overrides:
startElement in class DefaultHandler
+
+
+
Parameters:
uri - The namespace uri, or the empty string, if no namespace is available
localName - The element type name.
qName - The qualified name, or the empty string (must not be null)
attributes - The specified or defaulted attributes. +
Throws: +
SAXException - Any SAX exception, possibly wrapping another exception.
See Also:
ContentHandler.startElement(java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes)
+
+
+
+ +

+endElement

+
+public void endElement(String uri,
+                       String localName,
+                       String qName)
+                throws SAXException
+
+
Receive notification of the end of an element. + +

+ By default, do nothing. Application writers may override this method in a + subclass to take specific actions at the end of each element (such as + finalising a tree node or writing output to a file). +

+

+

+
Specified by:
endElement in interface ContentHandler
Overrides:
endElement in class DefaultHandler
+
+
+
Parameters:
uri - the namespace uri, or the empty string, if no namespace is available
localName - The element type name.
qName - The specified or defaulted attributes. +
Throws: +
SAXException - Any SAX exception, possibly wrapping another exception.
See Also:
ContentHandler.endElement(java.lang.String, java.lang.String, java.lang.String)
+
+
+
+ +

+characters

+
+public void characters(char[] ch,
+                       int start,
+                       int length)
+                throws SAXException
+
+
Receive notification of character data inside an element. + +

+ By default, do nothing. Application writers may override this method to + take specific actions for each chunk of character data (such as adding + the data to a node or buffer, or printing it to a file). +

+

+

+
Specified by:
characters in interface ContentHandler
Overrides:
characters in class DefaultHandler
+
+
+
Parameters:
ch - The characters.
start - The start position in the character array.
length - The number of characters to use from the character array. +
Throws: +
SAXException - Any SAX exception, possibly wrapping another exception.
See Also:
ContentHandler.characters(char[], int, int)
+
+
+
+ +

+parseLong

+
+public long parseLong(String data)
+
+
Convienance method for parsing long. If the string was not a number, the + method returns zero. +

+

+
Parameters:
data - string representation of a Long +
Returns:
the value as a long
+
+
+
+ +

+parseInt

+
+public int parseInt(String data)
+
+
Convienance method for parsing integers. +

+

+
Parameters:
data - string representation of an Integer +
Returns:
the value as an integer
+
+
+
+ +

+getContents

+
+public Status getContents()
+
+
method returns the status object. +

+

+ +
Returns:
the status
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/monitor/parser/Parser.html b/docs/api/org/apache/jmeter/monitor/parser/Parser.html new file mode 100644 index 00000000000..02a9ae78f8a --- /dev/null +++ b/docs/api/org/apache/jmeter/monitor/parser/Parser.html @@ -0,0 +1,243 @@ + + + + + +Parser (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.monitor.parser +
+Interface Parser

+
+
All Known Implementing Classes:
ObjectFactory.MonitorParser, ParserImpl
+
+
+
+
public interface Parser
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StatusparseBytes(byte[] bytes) + +
+           
+ StatusparseSampleResult(SampleResult result) + +
+           
+ StatusparseString(String content) + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+parseBytes

+
+Status parseBytes(byte[] bytes)
+
+
+
+
+
+
+ +

+parseString

+
+Status parseString(String content)
+
+
+
+
+
+
+ +

+parseSampleResult

+
+Status parseSampleResult(SampleResult result)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/monitor/parser/ParserImpl.html b/docs/api/org/apache/jmeter/monitor/parser/ParserImpl.html new file mode 100644 index 00000000000..1a8f410e47b --- /dev/null +++ b/docs/api/org/apache/jmeter/monitor/parser/ParserImpl.html @@ -0,0 +1,310 @@ + + + + + +ParserImpl (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.monitor.parser +
+Class ParserImpl

+
+java.lang.Object
+  extended by org.apache.jmeter.monitor.parser.ParserImpl
+
+
+
All Implemented Interfaces:
Parser
+
+
+
Direct Known Subclasses:
ObjectFactory.MonitorParser
+
+
+
+
public abstract class ParserImpl
extends Object
implements Parser
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
ParserImpl(ObjectFactory factory) + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StatusparseBytes(byte[] bytes) + +
+          parse byte array and return Status object
+ StatusparseSampleResult(SampleResult result) + +
+           
+ StatusparseString(String content) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ParserImpl

+
+public ParserImpl(ObjectFactory factory)
+
+
+
Parameters:
factory - ObjectFactory to use
+
+ + + + + + + + +
+Method Detail
+ +

+parseBytes

+
+public Status parseBytes(byte[] bytes)
+
+
parse byte array and return Status object +

+

+
Specified by:
parseBytes in interface Parser
+
+
+
Parameters:
bytes - bytes to be parsed +
Returns:
Status
+
+
+
+ +

+parseString

+
+public Status parseString(String content)
+
+
+
Specified by:
parseString in interface Parser
+
+
+
Parameters:
content - text to be parsed +
Returns:
Status
+
+
+
+ +

+parseSampleResult

+
+public Status parseSampleResult(SampleResult result)
+
+
+
Specified by:
parseSampleResult in interface Parser
+
+
+
Parameters:
result - SampleResult out of which the + reponseData will be + used for parsing +
Returns:
Status
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/monitor/parser/package-frame.html b/docs/api/org/apache/jmeter/monitor/parser/package-frame.html new file mode 100644 index 00000000000..7c58b9dd4ec --- /dev/null +++ b/docs/api/org/apache/jmeter/monitor/parser/package-frame.html @@ -0,0 +1,45 @@ + + + + + +org.apache.jmeter.monitor.parser (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.monitor.parser + + + + +
+Interfaces  + +
+Parser
+ + + + + + +
+Classes  + +
+Constants +
+MonitorHandler +
+ParserImpl
+ + + + diff --git a/docs/api/org/apache/jmeter/monitor/parser/package-summary.html b/docs/api/org/apache/jmeter/monitor/parser/package-summary.html new file mode 100644 index 00000000000..0a71554820c --- /dev/null +++ b/docs/api/org/apache/jmeter/monitor/parser/package-summary.html @@ -0,0 +1,175 @@ + + + + + +org.apache.jmeter.monitor.parser (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.monitor.parser +

+ + + + + + + + + +
+Interface Summary
Parser 
+  + +

+ + + + + + + + + + + + + + + + + +
+Class Summary
ConstantsConstants for the custom DocumentHandler.
MonitorHandler 
ParserImpl 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/monitor/parser/package-tree.html b/docs/api/org/apache/jmeter/monitor/parser/package-tree.html new file mode 100644 index 00000000000..22536b07af0 --- /dev/null +++ b/docs/api/org/apache/jmeter/monitor/parser/package-tree.html @@ -0,0 +1,158 @@ + + + + + +org.apache.jmeter.monitor.parser Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.monitor.parser +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+
    +
  • org.apache.jmeter.monitor.parser.Parser
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/monitor/util/MemoryBenchmark.html b/docs/api/org/apache/jmeter/monitor/util/MemoryBenchmark.html new file mode 100644 index 00000000000..2d7aa217b61 --- /dev/null +++ b/docs/api/org/apache/jmeter/monitor/util/MemoryBenchmark.html @@ -0,0 +1,252 @@ + + + + + +MemoryBenchmark (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.monitor.util +
+Class MemoryBenchmark

+
+java.lang.Object
+  extended by org.apache.jmeter.monitor.util.MemoryBenchmark
+
+
+
+
public class MemoryBenchmark
extends Object
+ + +

+

+
Version:
+
$Revision: 984221 $
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
MemoryBenchmark() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static voidmain(String[] args) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+MemoryBenchmark

+
+public MemoryBenchmark()
+
+
+ + + + + + + + +
+Method Detail
+ +

+main

+
+public static void main(String[] args)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/monitor/util/Stats.html b/docs/api/org/apache/jmeter/monitor/util/Stats.html new file mode 100644 index 00000000000..d564ac0c4b9 --- /dev/null +++ b/docs/api/org/apache/jmeter/monitor/util/Stats.html @@ -0,0 +1,529 @@ + + + + + +Stats (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.monitor.util +
+Class Stats

+
+java.lang.Object
+  extended by org.apache.jmeter.monitor.util.Stats
+
+
+
+
public class Stats
extends Object
+ + +

+Description: +

+ Stats is responsible for calculating the load and health of a given server. + It uses tomcat's status servlet results. A schema was generated for the XML + output and JAXB was used to generate classes. +

+ The equations are: +

+ memory weight = (int)(50 * (free/max))
+ thread weight = (int)(50 * (current/max)) +

+ The load factors are stored in the properties files. Simply change the values + in the properties to change how load is calculated. The defaults values are + memory (50) and threads (50). The sum of the factors must equal 100. +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static intACTIVE + +
+           
+static doubleACTIVE_PER + +
+           
+static intDEAD + +
+           
+static intDEFAULT_MEMORY_FACTOR + +
+           
+static intDEFAULT_THREAD_FACTOR + +
+           
+static intHEALTHY + +
+           
+static doubleHEALTHY_PER + +
+           
+static intWARNING + +
+           
+static doubleWARNING_PER + +
+           
+  + + + + + + + + + + +
+Constructor Summary
Stats() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static intcalculateLoad(Status stat) + +
+          The method is responsible for taking a status object and calculating an + int value from 1 to 100.
+static intcalculateMemoryLoad(Status stat) + +
+          Method will calculate the memory load: used / max = load.
+static intcalculateStatus(Status stat) + +
+          Method should calculate if the server is: dead, active, warning or + healthy.
+static intcalculateThreadLoad(Status stat) + +
+          Method will calculate the thread load: busy / max = load.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+DEAD

+
+public static final int DEAD
+
+
+
See Also:
Constant Field Values
+
+
+ +

+ACTIVE

+
+public static final int ACTIVE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+WARNING

+
+public static final int WARNING
+
+
+
See Also:
Constant Field Values
+
+
+ +

+HEALTHY

+
+public static final int HEALTHY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DEFAULT_MEMORY_FACTOR

+
+public static final int DEFAULT_MEMORY_FACTOR
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DEFAULT_THREAD_FACTOR

+
+public static final int DEFAULT_THREAD_FACTOR
+
+
+
See Also:
Constant Field Values
+
+
+ +

+HEALTHY_PER

+
+public static final double HEALTHY_PER
+
+
+
See Also:
Constant Field Values
+
+
+ +

+ACTIVE_PER

+
+public static final double ACTIVE_PER
+
+
+
See Also:
Constant Field Values
+
+
+ +

+WARNING_PER

+
+public static final double WARNING_PER
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+Stats

+
+public Stats()
+
+
+ + + + + + + + +
+Method Detail
+ +

+calculateLoad

+
+public static int calculateLoad(Status stat)
+
+
The method is responsible for taking a status object and calculating an + int value from 1 to 100. We use a combination of free memory and free + threads. The current factor is 50/50. +

+

+

+
Parameters:
stat - status information about the server +
Returns:
calculated load value
+
+
+
+ +

+calculateStatus

+
+public static int calculateStatus(Status stat)
+
+
Method should calculate if the server is: dead, active, warning or + healthy. We do this by looking at the current busy threads. +
    +
  1. free > spare is healthy
  2. +
  3. free < spare is active
  4. +
  5. busy threads > 75% is warning
  6. +
  7. none of the above is dead
  8. +
+

+

+
Parameters:
stat - status information about the server +
Returns:
integer representing the status (one of HEALTHY, ACTIVE, WARNING or DEAD)
+
+
+
+ +

+calculateMemoryLoad

+
+public static int calculateMemoryLoad(Status stat)
+
+
Method will calculate the memory load: used / max = load. The load value + is an integer between 1 and 100. It is the percent memory used. Changed + this to be more like other system monitors. Peter Lin 2-11-05 +

+

+
Parameters:
stat - status information about the jvm +
Returns:
memory load
+
+
+
+ +

+calculateThreadLoad

+
+public static int calculateThreadLoad(Status stat)
+
+
Method will calculate the thread load: busy / max = load. The value is an + integer between 1 and 100. It is the percent busy. +

+

+
Parameters:
stat - status information about the server +
Returns:
thread load
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/monitor/util/package-frame.html b/docs/api/org/apache/jmeter/monitor/util/package-frame.html new file mode 100644 index 00000000000..dff9bfd5cbc --- /dev/null +++ b/docs/api/org/apache/jmeter/monitor/util/package-frame.html @@ -0,0 +1,32 @@ + + + + + +org.apache.jmeter.monitor.util (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.monitor.util + + + + +
+Classes  + +
+MemoryBenchmark +
+Stats
+ + + + diff --git a/docs/api/org/apache/jmeter/monitor/util/package-summary.html b/docs/api/org/apache/jmeter/monitor/util/package-summary.html new file mode 100644 index 00000000000..371bae6f19c --- /dev/null +++ b/docs/api/org/apache/jmeter/monitor/util/package-summary.html @@ -0,0 +1,159 @@ + + + + + +org.apache.jmeter.monitor.util (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.monitor.util +

+ + + + + + + + + + + + + +
+Class Summary
MemoryBenchmark 
StatsDescription: + + Stats is responsible for calculating the load and health of a given server.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/monitor/util/package-tree.html b/docs/api/org/apache/jmeter/monitor/util/package-tree.html new file mode 100644 index 00000000000..a3985e0eff3 --- /dev/null +++ b/docs/api/org/apache/jmeter/monitor/util/package-tree.html @@ -0,0 +1,149 @@ + + + + + +org.apache.jmeter.monitor.util Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.monitor.util +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/package-frame.html b/docs/api/org/apache/jmeter/package-frame.html new file mode 100644 index 00000000000..671efce3161 --- /dev/null +++ b/docs/api/org/apache/jmeter/package-frame.html @@ -0,0 +1,36 @@ + + + + + +org.apache.jmeter (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter + + + + +
+Classes  + +
+DynamicClassLoader +
+JMeter +
+NewDriver +
+ProxyAuthenticator
+ + + + diff --git a/docs/api/org/apache/jmeter/package-summary.html b/docs/api/org/apache/jmeter/package-summary.html new file mode 100644 index 00000000000..56ffa572221 --- /dev/null +++ b/docs/api/org/apache/jmeter/package-summary.html @@ -0,0 +1,167 @@ + + + + + +org.apache.jmeter (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter +

+ + + + + + + + + + + + + + + + + + + + + +
+Class Summary
DynamicClassLoaderThis is a basic URL classloader for loading new resources + dynamically.
JMeterMain JMeter class; processes options and starts the GUI, non-GUI or server as appropriate.
NewDriverMain class for JMeter - sets up initial classpath and the loader.
ProxyAuthenticatorProvides JMeter the ability to use proxy servers that require username and + password.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/package-tree.html b/docs/api/org/apache/jmeter/package-tree.html new file mode 100644 index 00000000000..7561c6555dd --- /dev/null +++ b/docs/api/org/apache/jmeter/package-tree.html @@ -0,0 +1,158 @@ + + + + + +org.apache.jmeter Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/plugin/JMeterPlugin.html b/docs/api/org/apache/jmeter/plugin/JMeterPlugin.html new file mode 100644 index 00000000000..69c3fccd0b9 --- /dev/null +++ b/docs/api/org/apache/jmeter/plugin/JMeterPlugin.html @@ -0,0 +1,224 @@ + + + + + +JMeterPlugin (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.plugin +
+Interface JMeterPlugin

+
+
All Known Implementing Classes:
JMeter
+
+
+
+
public interface JMeterPlugin
+ + +

+


+ +

+ + + + + + + + + + + + + + + + +
+Method Summary
+ String[][]getIconMappings() + +
+           
+ String[][]getResourceBundles() + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+getIconMappings

+
+String[][] getIconMappings()
+
+
+
+
+
+
+ +

+getResourceBundles

+
+String[][] getResourceBundles()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/plugin/PluginManager.html b/docs/api/org/apache/jmeter/plugin/PluginManager.html new file mode 100644 index 00000000000..ed2a7f09db1 --- /dev/null +++ b/docs/api/org/apache/jmeter/plugin/PluginManager.html @@ -0,0 +1,219 @@ + + + + + +PluginManager (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.plugin +
+Class PluginManager

+
+java.lang.Object
+  extended by org.apache.jmeter.plugin.PluginManager
+
+
+
+
public final class PluginManager
extends Object
+ + +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+static voidinstall(JMeterPlugin plugin, + boolean useGui) + +
+          Installs a plugin.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+install

+
+public static void install(JMeterPlugin plugin,
+                           boolean useGui)
+
+
Installs a plugin. +

+

+
Parameters:
plugin - the plugin to install
useGui - indication of whether or not the gui will be used
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/plugin/package-frame.html b/docs/api/org/apache/jmeter/plugin/package-frame.html new file mode 100644 index 00000000000..abc29b154f4 --- /dev/null +++ b/docs/api/org/apache/jmeter/plugin/package-frame.html @@ -0,0 +1,41 @@ + + + + + +org.apache.jmeter.plugin (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.plugin + + + + +
+Interfaces  + +
+JMeterPlugin
+ + + + + + +
+Classes  + +
+PluginManager
+ + + + diff --git a/docs/api/org/apache/jmeter/plugin/package-summary.html b/docs/api/org/apache/jmeter/plugin/package-summary.html new file mode 100644 index 00000000000..664121f80fe --- /dev/null +++ b/docs/api/org/apache/jmeter/plugin/package-summary.html @@ -0,0 +1,167 @@ + + + + + +org.apache.jmeter.plugin (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.plugin +

+ + + + + + + + + +
+Interface Summary
JMeterPlugin 
+  + +

+ + + + + + + + + +
+Class Summary
PluginManager 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/plugin/package-tree.html b/docs/api/org/apache/jmeter/plugin/package-tree.html new file mode 100644 index 00000000000..38f8a351230 --- /dev/null +++ b/docs/api/org/apache/jmeter/plugin/package-tree.html @@ -0,0 +1,154 @@ + + + + + +org.apache.jmeter.plugin Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.plugin +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/processor/PostProcessor.html b/docs/api/org/apache/jmeter/processor/PostProcessor.html new file mode 100644 index 00000000000..85a4d03a2d3 --- /dev/null +++ b/docs/api/org/apache/jmeter/processor/PostProcessor.html @@ -0,0 +1,217 @@ + + + + + +PostProcessor (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.processor +
+Interface PostProcessor

+
+
All Known Implementing Classes:
BeanShellPostProcessor, BSFPostProcessor, DebugPostProcessor, HtmlExtractor, JDBCPostProcessor, JSR223PostProcessor, RegexExtractor, XPathExtractor
+
+
+
+
public interface PostProcessor
+ + +

+The PostProcessor is activated after a sample result has been generated. +

+ +

+

+
Version:
+
$Revision: 1377076 $
+
+
+ +

+ + + + + + + + + + + + +
+Method Summary
+ voidprocess() + +
+          Provides the PostProcessor with a SampleResult object from which to + extract values for use in future Queries.
+  +

+ + + + + + + + +
+Method Detail
+ +

+process

+
+void process()
+
+
Provides the PostProcessor with a SampleResult object from which to + extract values for use in future Queries. +

+

+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/processor/PreProcessor.html b/docs/api/org/apache/jmeter/processor/PreProcessor.html new file mode 100644 index 00000000000..de4cb67e7ed --- /dev/null +++ b/docs/api/org/apache/jmeter/processor/PreProcessor.html @@ -0,0 +1,213 @@ + + + + + +PreProcessor (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.processor +
+Interface PreProcessor

+
+
All Known Implementing Classes:
AnchorModifier, BeanShellPreProcessor, BSFPreProcessor, JDBCPreProcessor, JSR223PreProcessor, ParamModifier, RegExUserParameters, URLRewritingModifier, UserParameters
+
+
+
+
public interface PreProcessor
+ + +

+PreProcessors are executed just prior to a sample being run. +

+ +

+

+
Version:
+
$Revision: 1377076 $
+
+
+ +

+ + + + + + + + + + + + +
+Method Summary
+ voidprocess() + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+process

+
+void process()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/processor/gui/AbstractPostProcessorGui.html b/docs/api/org/apache/jmeter/processor/gui/AbstractPostProcessorGui.html new file mode 100644 index 00000000000..bb95c93b5a8 --- /dev/null +++ b/docs/api/org/apache/jmeter/processor/gui/AbstractPostProcessorGui.html @@ -0,0 +1,441 @@ + + + + + +AbstractPostProcessorGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.processor.gui +
+Class AbstractPostProcessorGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.gui.AbstractScopedJMeterGuiComponent
+                          extended by org.apache.jmeter.processor.gui.AbstractPostProcessorGui
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
Direct Known Subclasses:
HtmlExtractorGui, RegexExtractorGui, ResultActionGui, XPathExtractorGui
+
+
+
+
public abstract class AbstractPostProcessorGui
extends AbstractScopedJMeterGuiComponent
+ + +

+This is the base class for JMeter GUI components which manage PostProcessors. + + PostProcessors which can be applied to different scopes (parent, children or both) + need to use the createScopePanel() to add the panel to the GUI, and they also + need to use saveScopeSettings() and showScopeSettings() to keep the test element + and GUI in synch. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
AbstractPostProcessorGui() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ Collection<String>getMenuCategories() + +
+          This is the list of add menu categories this gui component will be + available under.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractScopedJMeterGuiComponent
clearGui, createPopupMenu, createScopePanel, createScopePanel, createScopePanel, saveScopeSettings, showScopeSettings, showScopeSettings
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configure, configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.gui.JMeterGUIComponent
createTestElement, getLabelResource, modifyTestElement
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+AbstractPostProcessorGui

+
+public AbstractPostProcessorGui()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getMenuCategories

+
+public Collection<String> getMenuCategories()
+
+
Description copied from interface: JMeterGUIComponent
+
This is the list of add menu categories this gui component will be + available under. For instance, if this represents a Controller, then the + MenuFactory.CONTROLLERS category should be in the returned collection. + When a user right-clicks on a tree element and looks through the "add" + menu, which category your GUI component shows up in is determined by + which categories are returned by this method. Most GUI's belong to only + one category, but it is possible for a component to exist in multiple + categories. +

+

+ +
Returns:
a Collection of Strings, where each element is one of the + constants defined in MenuFactory
See Also:
MenuFactory
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/processor/gui/AbstractPreProcessorGui.html b/docs/api/org/apache/jmeter/processor/gui/AbstractPreProcessorGui.html new file mode 100644 index 00000000000..906fbb9910b --- /dev/null +++ b/docs/api/org/apache/jmeter/processor/gui/AbstractPreProcessorGui.html @@ -0,0 +1,451 @@ + + + + + +AbstractPreProcessorGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.processor.gui +
+Class AbstractPreProcessorGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.processor.gui.AbstractPreProcessorGui
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
Direct Known Subclasses:
AnchorModifierGui, ParamModifierGui, RegExUserParametersGui, URLRewritingModifierGui, UserParametersGui
+
+
+
+
public abstract class AbstractPreProcessorGui
extends AbstractJMeterGuiComponent
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
AbstractPreProcessorGui() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ JPopupMenucreatePopupMenu() + +
+          When a user right-clicks on the component in the test tree, or selects + the edit menu when the component is selected, the component will be asked + to return a JPopupMenu that provides all the options available to the + user from this component.
+ Collection<String>getMenuCategories() + +
+          This is the list of add menu categories this gui component will be + available under.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
clearGui, configure, configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.gui.JMeterGUIComponent
createTestElement, getLabelResource, modifyTestElement
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+AbstractPreProcessorGui

+
+public AbstractPreProcessorGui()
+
+
+ + + + + + + + +
+Method Detail
+ +

+createPopupMenu

+
+public JPopupMenu createPopupMenu()
+
+
Description copied from interface: JMeterGUIComponent
+
When a user right-clicks on the component in the test tree, or selects + the edit menu when the component is selected, the component will be asked + to return a JPopupMenu that provides all the options available to the + user from this component. +

+

+ +
Returns:
a JPopupMenu appropriate for the component.
+
+
+
+ +

+getMenuCategories

+
+public Collection<String> getMenuCategories()
+
+
Description copied from interface: JMeterGUIComponent
+
This is the list of add menu categories this gui component will be + available under. For instance, if this represents a Controller, then the + MenuFactory.CONTROLLERS category should be in the returned collection. + When a user right-clicks on a tree element and looks through the "add" + menu, which category your GUI component shows up in is determined by + which categories are returned by this method. Most GUI's belong to only + one category, but it is possible for a component to exist in multiple + categories. +

+

+ +
Returns:
a Collection of Strings, where each element is one of the + constants defined in MenuFactory
See Also:
MenuFactory
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/processor/gui/package-frame.html b/docs/api/org/apache/jmeter/processor/gui/package-frame.html new file mode 100644 index 00000000000..bf0793d953c --- /dev/null +++ b/docs/api/org/apache/jmeter/processor/gui/package-frame.html @@ -0,0 +1,32 @@ + + + + + +org.apache.jmeter.processor.gui (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.processor.gui + + + + +
+Classes  + +
+AbstractPostProcessorGui +
+AbstractPreProcessorGui
+ + + + diff --git a/docs/api/org/apache/jmeter/processor/gui/package-summary.html b/docs/api/org/apache/jmeter/processor/gui/package-summary.html new file mode 100644 index 00000000000..a9f4a509290 --- /dev/null +++ b/docs/api/org/apache/jmeter/processor/gui/package-summary.html @@ -0,0 +1,157 @@ + + + + + +org.apache.jmeter.processor.gui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.processor.gui +

+ + + + + + + + + + + + + +
+Class Summary
AbstractPostProcessorGuiThis is the base class for JMeter GUI components which manage PostProcessors.
AbstractPreProcessorGui 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/processor/gui/package-tree.html b/docs/api/org/apache/jmeter/processor/gui/package-tree.html new file mode 100644 index 00000000000..967f80e3908 --- /dev/null +++ b/docs/api/org/apache/jmeter/processor/gui/package-tree.html @@ -0,0 +1,165 @@ + + + + + +org.apache.jmeter.processor.gui Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.processor.gui +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/processor/package-frame.html b/docs/api/org/apache/jmeter/processor/package-frame.html new file mode 100644 index 00000000000..1f6baff0340 --- /dev/null +++ b/docs/api/org/apache/jmeter/processor/package-frame.html @@ -0,0 +1,32 @@ + + + + + +org.apache.jmeter.processor (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.processor + + + + +
+Interfaces  + +
+PostProcessor +
+PreProcessor
+ + + + diff --git a/docs/api/org/apache/jmeter/processor/package-summary.html b/docs/api/org/apache/jmeter/processor/package-summary.html new file mode 100644 index 00000000000..8114d5df5d7 --- /dev/null +++ b/docs/api/org/apache/jmeter/processor/package-summary.html @@ -0,0 +1,157 @@ + + + + + +org.apache.jmeter.processor (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.processor +

+ + + + + + + + + + + + + +
+Interface Summary
PostProcessorThe PostProcessor is activated after a sample result has been generated.
PreProcessorPreProcessors are executed just prior to a sample being run.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/processor/package-tree.html b/docs/api/org/apache/jmeter/processor/package-tree.html new file mode 100644 index 00000000000..dca3a82766c --- /dev/null +++ b/docs/api/org/apache/jmeter/processor/package-tree.html @@ -0,0 +1,147 @@ + + + + + +org.apache.jmeter.processor Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.processor +

+
+
+
Package Hierarchies:
All Packages
+
+

+Interface Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/ftp/config/gui/FtpConfigGui.html b/docs/api/org/apache/jmeter/protocol/ftp/config/gui/FtpConfigGui.html new file mode 100644 index 00000000000..624878a9caf --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/ftp/config/gui/FtpConfigGui.html @@ -0,0 +1,539 @@ + + + + + +FtpConfigGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.ftp.config.gui +
+Class FtpConfigGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.config.gui.AbstractConfigGui
+                          extended by org.apache.jmeter.protocol.ftp.config.gui.FtpConfigGui
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
+
public class FtpConfigGui
extends AbstractConfigGui
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + + + + +
+Constructor Summary
FtpConfigGui() + +
+           
FtpConfigGui(boolean displayName) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclearGui() + +
+          Implements JMeterGUIComponent.clearGui
+ voidconfigure(TestElement element) + +
+          A newly created gui component can be initialized with the contents of a + Test Element object by calling this method.
+ TestElementcreateTestElement() + +
+          JMeter test components are separated into a model and a GUI + representation.
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ voidmodifyTestElement(TestElement element) + +
+          Modifies a given TestElement to mirror the data in the gui components.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.config.gui.AbstractConfigGui
createPopupMenu, getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+FtpConfigGui

+
+public FtpConfigGui()
+
+
+
+ +

+FtpConfigGui

+
+public FtpConfigGui(boolean displayName)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+ +
Returns:
the resource name
+
+
+
+ +

+configure

+
+public void configure(TestElement element)
+
+
Description copied from class: AbstractJMeterGuiComponent
+
A newly created gui component can be initialized with the contents of a + Test Element object by calling this method. The component is responsible + for querying the Test Element object for the relevant information to + display in its GUI. +

+ AbstractJMeterGuiComponent provides a partial implementation of this + method, setting the name of the component and its enabled status. + Subclasses should override this method, performing their own + configuration as needed, but also calling this super-implementation. +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class AbstractJMeterGuiComponent
+
+
+
Parameters:
element - the TestElement to configure
+
+
+
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
Description copied from interface: JMeterGUIComponent
+
JMeter test components are separated into a model and a GUI + representation. The model holds the data and the GUI displays it. The GUI + class is responsible for knowing how to create and initialize with data + the model class that it knows how to display, and this method is called + when new test elements are created. +

+

+ +
Returns:
the Test Element object that the GUI component represents.
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement element)
+
+
Modifies a given TestElement to mirror the data in the gui components. +

+

+
Parameters:
element - the TestElement to modify
See Also:
JMeterGUIComponent.modifyTestElement(TestElement)
+
+
+
+ +

+clearGui

+
+public void clearGui()
+
+
Implements JMeterGUIComponent.clearGui +

+

+
Specified by:
clearGui in interface ClearGui
Overrides:
clearGui in class AbstractJMeterGuiComponent
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/ftp/config/gui/package-frame.html b/docs/api/org/apache/jmeter/protocol/ftp/config/gui/package-frame.html new file mode 100644 index 00000000000..f34f95538aa --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/ftp/config/gui/package-frame.html @@ -0,0 +1,30 @@ + + + + + +org.apache.jmeter.protocol.ftp.config.gui (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.protocol.ftp.config.gui + + + + +
+Classes  + +
+FtpConfigGui
+ + + + diff --git a/docs/api/org/apache/jmeter/protocol/ftp/config/gui/package-summary.html b/docs/api/org/apache/jmeter/protocol/ftp/config/gui/package-summary.html new file mode 100644 index 00000000000..7db0ca755e4 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/ftp/config/gui/package-summary.html @@ -0,0 +1,153 @@ + + + + + +org.apache.jmeter.protocol.ftp.config.gui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.protocol.ftp.config.gui +

+ + + + + + + + + +
+Class Summary
FtpConfigGui 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/ftp/config/gui/package-tree.html b/docs/api/org/apache/jmeter/protocol/ftp/config/gui/package-tree.html new file mode 100644 index 00000000000..f95f26b84ad --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/ftp/config/gui/package-tree.html @@ -0,0 +1,165 @@ + + + + + +org.apache.jmeter.protocol.ftp.config.gui Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.protocol.ftp.config.gui +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/ftp/control/gui/FtpTestSamplerGui.html b/docs/api/org/apache/jmeter/protocol/ftp/control/gui/FtpTestSamplerGui.html new file mode 100644 index 00000000000..f395d3dbcfd --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/ftp/control/gui/FtpTestSamplerGui.html @@ -0,0 +1,525 @@ + + + + + +FtpTestSamplerGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.ftp.control.gui +
+Class FtpTestSamplerGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.samplers.gui.AbstractSamplerGui
+                          extended by org.apache.jmeter.protocol.ftp.control.gui.FtpTestSamplerGui
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
+
public class FtpTestSamplerGui
extends AbstractSamplerGui
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
FtpTestSamplerGui() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclearGui() + +
+          Implements JMeterGUIComponent.clearGui
+ voidconfigure(TestElement element) + +
+          A newly created gui component can be initialized with the contents of a + Test Element object by calling this method.
+ TestElementcreateTestElement() + +
+          JMeter test components are separated into a model and a GUI + representation.
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ voidmodifyTestElement(TestElement sampler) + +
+          Modifies a given TestElement to mirror the data in the gui components.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.samplers.gui.AbstractSamplerGui
createPopupMenu, getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+FtpTestSamplerGui

+
+public FtpTestSamplerGui()
+
+
+ + + + + + + + +
+Method Detail
+ +

+configure

+
+public void configure(TestElement element)
+
+
Description copied from class: AbstractJMeterGuiComponent
+
A newly created gui component can be initialized with the contents of a + Test Element object by calling this method. The component is responsible + for querying the Test Element object for the relevant information to + display in its GUI. +

+ AbstractJMeterGuiComponent provides a partial implementation of this + method, setting the name of the component and its enabled status. + Subclasses should override this method, performing their own + configuration as needed, but also calling this super-implementation. +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class AbstractJMeterGuiComponent
+
+
+
Parameters:
element - the TestElement to configure
+
+
+
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
Description copied from interface: JMeterGUIComponent
+
JMeter test components are separated into a model and a GUI + representation. The model holds the data and the GUI displays it. The GUI + class is responsible for knowing how to create and initialize with data + the model class that it knows how to display, and this method is called + when new test elements are created. +

+

+ +
Returns:
the Test Element object that the GUI component represents.
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement sampler)
+
+
Modifies a given TestElement to mirror the data in the gui components. +

+

+
Parameters:
sampler - the TestElement to modify
See Also:
JMeterGUIComponent.modifyTestElement(TestElement)
+
+
+
+ +

+clearGui

+
+public void clearGui()
+
+
Implements JMeterGUIComponent.clearGui +

+

+
Specified by:
clearGui in interface ClearGui
Overrides:
clearGui in class AbstractJMeterGuiComponent
+
+
+
+
+
+
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+ +
Returns:
the resource name
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/ftp/control/gui/package-frame.html b/docs/api/org/apache/jmeter/protocol/ftp/control/gui/package-frame.html new file mode 100644 index 00000000000..b7cf31231cf --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/ftp/control/gui/package-frame.html @@ -0,0 +1,30 @@ + + + + + +org.apache.jmeter.protocol.ftp.control.gui (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.protocol.ftp.control.gui + + + + +
+Classes  + +
+FtpTestSamplerGui
+ + + + diff --git a/docs/api/org/apache/jmeter/protocol/ftp/control/gui/package-summary.html b/docs/api/org/apache/jmeter/protocol/ftp/control/gui/package-summary.html new file mode 100644 index 00000000000..396f4034d5b --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/ftp/control/gui/package-summary.html @@ -0,0 +1,153 @@ + + + + + +org.apache.jmeter.protocol.ftp.control.gui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.protocol.ftp.control.gui +

+ + + + + + + + + +
+Class Summary
FtpTestSamplerGui 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/ftp/control/gui/package-tree.html b/docs/api/org/apache/jmeter/protocol/ftp/control/gui/package-tree.html new file mode 100644 index 00000000000..4e0880eaa6a --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/ftp/control/gui/package-tree.html @@ -0,0 +1,165 @@ + + + + + +org.apache.jmeter.protocol.ftp.control.gui Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.protocol.ftp.control.gui +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/ftp/sampler/FTPSampler.html b/docs/api/org/apache/jmeter/protocol/ftp/sampler/FTPSampler.html new file mode 100644 index 00000000000..f9e79e38a81 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/ftp/sampler/FTPSampler.html @@ -0,0 +1,799 @@ + + + + + +FTPSampler (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.ftp.sampler +
+Class FTPSampler

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.samplers.AbstractSampler
+          extended by org.apache.jmeter.protocol.ftp.sampler.FTPSampler
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, ConfigMergabilityIndicator, Searchable, Interruptible, Sampler, TestElement
+
+
+
+
public class FTPSampler
extends AbstractSampler
implements Interruptible
+ + +

+A sampler which understands FTP file requests. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static StringBINARY_MODE + +
+           
+static StringINPUT_DATA + +
+           
+static StringLOCAL_FILENAME + +
+           
+static StringPORT + +
+           
+static StringREMOTE_FILENAME + +
+           
+static StringSAVE_RESPONSE + +
+           
+static StringSERVER + +
+           
+static StringUPLOAD_FILE + +
+           
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
FTPSampler() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleanapplies(ConfigTestElement configElement) + +
+          Does configElement apply to Sampler
+ StringgetLabel() + +
+          Returns a formatted string label describing this sampler Example output: + ftp://ftp.nowhere.com/pub/README.txt
+ StringgetLocalFilename() + +
+           
+ StringgetPassword() + +
+           
+ StringgetPort() + +
+           
+ intgetPortAsInt() + +
+           
+ StringgetRemoteFilename() + +
+           
+ StringgetServer() + +
+           
+ StringgetUsername() + +
+           
+ booleaninterrupt() + +
+          Interrupt the current operation if possible.
+ booleanisBinaryMode() + +
+           
+ booleanisSaveResponse() + +
+           
+ booleanisUpload() + +
+           
+ SampleResultsample(Entry e) + +
+          Obtains statistics about the given Entry, and packages the information + into a SampleResult.
+ voidsetPort(String newPort) + +
+           
+ voidsetServer(String newServer) + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.testelement.TestElement
addTestElement, canRemove, clear, clearTestElementChildren, clone, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse
+  +

+ + + + + + + + +
+Field Detail
+ +

+SERVER

+
+public static final String SERVER
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PORT

+
+public static final String PORT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+REMOTE_FILENAME

+
+public static final String REMOTE_FILENAME
+
+
+
See Also:
Constant Field Values
+
+
+ +

+LOCAL_FILENAME

+
+public static final String LOCAL_FILENAME
+
+
+
See Also:
Constant Field Values
+
+
+ +

+INPUT_DATA

+
+public static final String INPUT_DATA
+
+
+
See Also:
Constant Field Values
+
+
+ +

+BINARY_MODE

+
+public static final String BINARY_MODE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+UPLOAD_FILE

+
+public static final String UPLOAD_FILE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+SAVE_RESPONSE

+
+public static final String SAVE_RESPONSE
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+FTPSampler

+
+public FTPSampler()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getUsername

+
+public String getUsername()
+
+
+
+
+
+
+
+
+
+ +

+getPassword

+
+public String getPassword()
+
+
+
+
+
+
+
+
+
+ +

+setServer

+
+public void setServer(String newServer)
+
+
+
+
+
+
+
+
+
+ +

+getServer

+
+public String getServer()
+
+
+
+
+
+
+
+
+
+ +

+setPort

+
+public void setPort(String newPort)
+
+
+
+
+
+
+
+
+
+ +

+getPort

+
+public String getPort()
+
+
+
+
+
+
+
+
+
+ +

+getPortAsInt

+
+public int getPortAsInt()
+
+
+
+
+
+
+
+
+
+ +

+getRemoteFilename

+
+public String getRemoteFilename()
+
+
+
+
+
+
+
+
+
+ +

+getLocalFilename

+
+public String getLocalFilename()
+
+
+
+
+
+
+
+
+
+ +

+isBinaryMode

+
+public boolean isBinaryMode()
+
+
+
+
+
+
+
+
+
+ +

+isSaveResponse

+
+public boolean isSaveResponse()
+
+
+
+
+
+
+
+
+
+ +

+isUpload

+
+public boolean isUpload()
+
+
+
+
+
+
+
+
+
+ +

+getLabel

+
+public String getLabel()
+
+
Returns a formatted string label describing this sampler Example output: + ftp://ftp.nowhere.com/pub/README.txt +

+

+
+
+
+ +
Returns:
a formatted string label describing this sampler
+
+
+
+ +

+sample

+
+public SampleResult sample(Entry e)
+
+
Description copied from interface: Sampler
+
Obtains statistics about the given Entry, and packages the information + into a SampleResult. +

+

+
Specified by:
sample in interface Sampler
+
+
+
Parameters:
e - the Entry (TODO seems to be unused) +
Returns:
information about the sample
+
+
+
+ +

+interrupt

+
+public boolean interrupt()
+
+
Interrupt the current operation if possible. +

+

+
Specified by:
interrupt in interface Interruptible
+
+
+ +
Returns:
true if there was an operation to interrupt.
+
+
+
+ +

+applies

+
+public boolean applies(ConfigTestElement configElement)
+
+
Description copied from class: AbstractSampler
+
Does configElement apply to Sampler +

+

+
Specified by:
applies in interface ConfigMergabilityIndicator
Overrides:
applies in class AbstractSampler
+
+
+
Parameters:
configElement - ConfigTestElement +
Returns:
boolean
See Also:
AbstractSampler.applies(org.apache.jmeter.config.ConfigTestElement)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/ftp/sampler/package-frame.html b/docs/api/org/apache/jmeter/protocol/ftp/sampler/package-frame.html new file mode 100644 index 00000000000..9f3c0110067 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/ftp/sampler/package-frame.html @@ -0,0 +1,30 @@ + + + + + +org.apache.jmeter.protocol.ftp.sampler (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.protocol.ftp.sampler + + + + +
+Classes  + +
+FTPSampler
+ + + + diff --git a/docs/api/org/apache/jmeter/protocol/ftp/sampler/package-summary.html b/docs/api/org/apache/jmeter/protocol/ftp/sampler/package-summary.html new file mode 100644 index 00000000000..af634fffc26 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/ftp/sampler/package-summary.html @@ -0,0 +1,153 @@ + + + + + +org.apache.jmeter.protocol.ftp.sampler (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.protocol.ftp.sampler +

+ + + + + + + + + +
+Class Summary
FTPSamplerA sampler which understands FTP file requests.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/ftp/sampler/package-tree.html b/docs/api/org/apache/jmeter/protocol/ftp/sampler/package-tree.html new file mode 100644 index 00000000000..446ffc0c5e3 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/ftp/sampler/package-tree.html @@ -0,0 +1,156 @@ + + + + + +org.apache.jmeter.protocol.ftp.sampler Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.protocol.ftp.sampler +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/config/MultipartUrlConfig.html b/docs/api/org/apache/jmeter/protocol/http/config/MultipartUrlConfig.html new file mode 100644 index 00000000000..1f6f76a58b3 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/config/MultipartUrlConfig.html @@ -0,0 +1,399 @@ + + + + + +MultipartUrlConfig (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.config +
+Class MultipartUrlConfig

+
+java.lang.Object
+  extended by org.apache.jmeter.protocol.http.config.MultipartUrlConfig
+
+
+
All Implemented Interfaces:
Serializable
+
+
+
+
public class MultipartUrlConfig
extends Object
implements Serializable
+ + +

+Configuration element which handles HTTP Parameters and files to be uploaded +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
MultipartUrlConfig() + +
+          Deprecated. only for use by unit tests
MultipartUrlConfig(String boundary) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddArgument(String name, + String value) + +
+           
+ voidaddArgument(String name, + String value, + String metadata) + +
+           
+ ArgumentsgetArguments() + +
+           
+ StringgetBoundary() + +
+           
+ HTTPFileArgsgetHTTPFileArgs() + +
+           
+ voidparseArguments(String queryString) + +
+          This method allows a proxy server to send over the raw text from a + browser's output stream to be parsed and stored correctly into the + UrlConfig object.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+MultipartUrlConfig

+
+@Deprecated
+public MultipartUrlConfig()
+
+
Deprecated. only for use by unit tests +

+

+
+ +

+MultipartUrlConfig

+
+public MultipartUrlConfig(String boundary)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getBoundary

+
+public String getBoundary()
+
+
+
+
+
+
+
+
+
+ +

+getArguments

+
+public Arguments getArguments()
+
+
+
+
+
+
+
+
+
+ +

+addArgument

+
+public void addArgument(String name,
+                        String value)
+
+
+
+
+
+
+
+
+
+ +

+addArgument

+
+public void addArgument(String name,
+                        String value,
+                        String metadata)
+
+
+
+
+
+
+
+
+
+ +

+getHTTPFileArgs

+
+public HTTPFileArgs getHTTPFileArgs()
+
+
+
+
+
+
+
+
+
+ +

+parseArguments

+
+public void parseArguments(String queryString)
+
+
This method allows a proxy server to send over the raw text from a + browser's output stream to be parsed and stored correctly into the + UrlConfig object. +

+

+
+
+
+
Parameters:
queryString - text to parse
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/config/gui/HttpDefaultsGui.html b/docs/api/org/apache/jmeter/protocol/http/config/gui/HttpDefaultsGui.html new file mode 100644 index 00000000000..55119f56da6 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/config/gui/HttpDefaultsGui.html @@ -0,0 +1,566 @@ + + + + + +HttpDefaultsGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.config.gui +
+Class HttpDefaultsGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.config.gui.AbstractConfigGui
+                          extended by org.apache.jmeter.protocol.http.config.gui.HttpDefaultsGui
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
+
public class HttpDefaultsGui
extends AbstractConfigGui
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
HttpDefaultsGui() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclearGui() + +
+          Implements JMeterGUIComponent.clearGui
+ voidconfigure(TestElement el) + +
+          A newly created gui component can be initialized with the contents of a + Test Element object by calling this method.
+ TestElementcreateTestElement() + +
+          JMeter test components are separated into a model and a GUI + representation.
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ DimensiongetPreferredSize() + +
+           
+ voiditemStateChanged(ItemEvent event) + +
+           
+ voidmodifyTestElement(TestElement config) + +
+          Modifies a given TestElement to mirror the data in the gui components.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.config.gui.AbstractConfigGui
createPopupMenu, getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+HttpDefaultsGui

+
+public HttpDefaultsGui()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+ +
Returns:
the resource name
+
+
+
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
Description copied from interface: JMeterGUIComponent
+
JMeter test components are separated into a model and a GUI + representation. The model holds the data and the GUI displays it. The GUI + class is responsible for knowing how to create and initialize with data + the model class that it knows how to display, and this method is called + when new test elements are created. +

+

+ +
Returns:
the Test Element object that the GUI component represents.
See Also:
JMeterGUIComponent.createTestElement()
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement config)
+
+
Modifies a given TestElement to mirror the data in the gui components. +

+

+
Parameters:
config - the TestElement to modify
See Also:
JMeterGUIComponent.modifyTestElement(TestElement)
+
+
+
+ +

+clearGui

+
+public void clearGui()
+
+
Implements JMeterGUIComponent.clearGui +

+

+
Specified by:
clearGui in interface ClearGui
Overrides:
clearGui in class AbstractJMeterGuiComponent
+
+
+
+
+
+
+ +

+configure

+
+public void configure(TestElement el)
+
+
Description copied from class: AbstractJMeterGuiComponent
+
A newly created gui component can be initialized with the contents of a + Test Element object by calling this method. The component is responsible + for querying the Test Element object for the relevant information to + display in its GUI. +

+ AbstractJMeterGuiComponent provides a partial implementation of this + method, setting the name of the component and its enabled status. + Subclasses should override this method, performing their own + configuration as needed, but also calling this super-implementation. +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class AbstractJMeterGuiComponent
+
+
+
Parameters:
el - the TestElement to configure
+
+
+
+ +

+getPreferredSize

+
+public Dimension getPreferredSize()
+
+
+
Overrides:
getPreferredSize in class JComponent
+
+
+
+
+
+
+ +

+itemStateChanged

+
+public void itemStateChanged(ItemEvent event)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/config/gui/MultipartUrlConfigGui.html b/docs/api/org/apache/jmeter/protocol/http/config/gui/MultipartUrlConfigGui.html new file mode 100644 index 00000000000..d461737541c --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/config/gui/MultipartUrlConfigGui.html @@ -0,0 +1,473 @@ + + + + + +MultipartUrlConfigGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.config.gui +
+Class MultipartUrlConfigGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.protocol.http.config.gui.UrlConfigGui
+                      extended by org.apache.jmeter.protocol.http.config.gui.MultipartUrlConfigGui
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, EventListener, Accessible, ChangeListener
+
+
+
+
public class MultipartUrlConfigGui
extends UrlConfigGui
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + + + + + + + +
+Constructor Summary
MultipartUrlConfigGui() + +
+           
MultipartUrlConfigGui(boolean showSamplerFields) + +
+           
MultipartUrlConfigGui(boolean showSamplerFields, + boolean showImplementation) + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclear() + +
+          
+ voidconfigure(TestElement el) + +
+          Set the text, etc. in the UI.
+ voidmodifyTestElement(TestElement sampler) + +
+          Save the GUI values in the sampler.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.protocol.http.config.gui.UrlConfigGui
createTestElement, getParameterPanel, getPathPanel, getProtocolAndMethodPanel, getProxyServerPanel, getWebServerTimeoutPanel, stateChanged
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+MultipartUrlConfigGui

+
+public MultipartUrlConfigGui()
+
+
+
+ +

+MultipartUrlConfigGui

+
+public MultipartUrlConfigGui(boolean showSamplerFields)
+
+
+
+ +

+MultipartUrlConfigGui

+
+public MultipartUrlConfigGui(boolean showSamplerFields,
+                             boolean showImplementation)
+
+
+ + + + + + + + +
+Method Detail
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement sampler)
+
+
Description copied from class: UrlConfigGui
+
Save the GUI values in the sampler. +

+

+
Overrides:
modifyTestElement in class UrlConfigGui
+
+
+
Parameters:
sampler - TestElement to modify
+
+
+
+ +

+configure

+
+public void configure(TestElement el)
+
+
Description copied from class: UrlConfigGui
+
Set the text, etc. in the UI. +

+

+
Overrides:
configure in class UrlConfigGui
+
+
+
Parameters:
el - contains the data to be displayed
+
+
+
+ +

+clear

+
+public void clear()
+
+
+

+

+
Overrides:
clear in class UrlConfigGui
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/config/gui/UrlConfigGui.html b/docs/api/org/apache/jmeter/protocol/http/config/gui/UrlConfigGui.html new file mode 100644 index 00000000000..306d86472a9 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/config/gui/UrlConfigGui.html @@ -0,0 +1,650 @@ + + + + + +UrlConfigGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.config.gui +
+Class UrlConfigGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.protocol.http.config.gui.UrlConfigGui
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, EventListener, Accessible, ChangeListener
+
+
+
Direct Known Subclasses:
MultipartUrlConfigGui
+
+
+
+
public class UrlConfigGui
extends JPanel
implements ChangeListener
+ + +

+Basic URL / HTTP Request configuration: +

    +
  • host and port
  • +
  • connect and response timeouts
  • +
  • path, method, encoding, parameters
  • +
  • redirects and keepalive
  • +
+

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + + + + + + + +
+Constructor Summary
UrlConfigGui() + +
+          Constructor which is setup to show HTTP implementation, raw body pane and + sampler fields.
UrlConfigGui(boolean showSamplerFields) + +
+          Constructor which is setup to show HTTP implementation and raw body pane.
UrlConfigGui(boolean showSamplerFields, + boolean showImplementation, + boolean showRawBodyPane) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclear() + +
+           
+ voidconfigure(TestElement el) + +
+          Set the text, etc. in the UI.
+ TestElementcreateTestElement() + +
+           
+protected  JTabbedPanegetParameterPanel() + +
+           
+protected  ComponentgetPathPanel() + +
+          This method defines the Panel for the HTTP path, 'Follow Redirects' + 'Use KeepAlive', and 'Use multipart for HTTP POST' elements.
+protected  JPanelgetProtocolAndMethodPanel() + +
+           
+protected  JPanelgetProxyServerPanel() + +
+          Create a panel containing the proxy server details
+protected  JPanelgetWebServerTimeoutPanel() + +
+          Create a panel containing the webserver (domain+port) and timeouts (connect+request).
+ voidmodifyTestElement(TestElement element) + +
+          Save the GUI values in the sampler.
+ voidstateChanged(ChangeEvent e) + +
+           
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+UrlConfigGui

+
+public UrlConfigGui()
+
+
Constructor which is setup to show HTTP implementation, raw body pane and + sampler fields. +

+

+
+ +

+UrlConfigGui

+
+public UrlConfigGui(boolean showSamplerFields)
+
+
Constructor which is setup to show HTTP implementation and raw body pane. +

+

+
Parameters:
showSamplerFields - flag whether sampler fields should be shown.
+
+
+ +

+UrlConfigGui

+
+public UrlConfigGui(boolean showSamplerFields,
+                    boolean showImplementation,
+                    boolean showRawBodyPane)
+
+
+
Parameters:
showSamplerFields - flag whether sampler fields should be shown
showImplementation - Show HTTP Implementation
showRawBodyPane - flag whether the raw body pane should be shown
+
+ + + + + + + + +
+Method Detail
+ +

+clear

+
+public void clear()
+
+
+
+
+
+
+
+
+
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
+
+
+
+
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement element)
+
+
Save the GUI values in the sampler. +

+

+
+
+
+
Parameters:
element - TestElement to modify
+
+
+
+ +

+configure

+
+public void configure(TestElement el)
+
+
Set the text, etc. in the UI. +

+

+
+
+
+
Parameters:
el - contains the data to be displayed
+
+
+
+ +

+getWebServerTimeoutPanel

+
+protected final JPanel getWebServerTimeoutPanel()
+
+
Create a panel containing the webserver (domain+port) and timeouts (connect+request). +

+

+
+
+
+ +
Returns:
the panel
+
+
+
+ +

+getProxyServerPanel

+
+protected final JPanel getProxyServerPanel()
+
+
Create a panel containing the proxy server details +

+

+
+
+
+ +
Returns:
the panel
+
+
+
+ +

+getPathPanel

+
+protected Component getPathPanel()
+
+
This method defines the Panel for the HTTP path, 'Follow Redirects' + 'Use KeepAlive', and 'Use multipart for HTTP POST' elements. +

+

+
+
+
+ +
Returns:
JPanel The Panel for the path, 'Follow Redirects' and 'Use + KeepAlive' elements.
+
+
+
+ +

+getProtocolAndMethodPanel

+
+protected JPanel getProtocolAndMethodPanel()
+
+
+
+
+
+
+
+
+
+ +

+getParameterPanel

+
+protected JTabbedPane getParameterPanel()
+
+
+
+
+
+
+
+
+
+ +

+stateChanged

+
+public void stateChanged(ChangeEvent e)
+
+
+
Specified by:
stateChanged in interface ChangeListener
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/config/gui/package-frame.html b/docs/api/org/apache/jmeter/protocol/http/config/gui/package-frame.html new file mode 100644 index 00000000000..d629a47eb02 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/config/gui/package-frame.html @@ -0,0 +1,34 @@ + + + + + +org.apache.jmeter.protocol.http.config.gui (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.protocol.http.config.gui + + + + +
+Classes  + +
+HttpDefaultsGui +
+MultipartUrlConfigGui +
+UrlConfigGui
+ + + + diff --git a/docs/api/org/apache/jmeter/protocol/http/config/gui/package-summary.html b/docs/api/org/apache/jmeter/protocol/http/config/gui/package-summary.html new file mode 100644 index 00000000000..6579f8aa004 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/config/gui/package-summary.html @@ -0,0 +1,167 @@ + + + + + +org.apache.jmeter.protocol.http.config.gui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.protocol.http.config.gui +

+ + + + + + + + + + + + + + + + + +
+Class Summary
HttpDefaultsGui 
MultipartUrlConfigGui 
UrlConfigGuiBasic URL / HTTP Request configuration: + + host and port + connect and response timeouts + path, method, encoding, parameters + redirects and keepalive +
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/config/gui/package-tree.html b/docs/api/org/apache/jmeter/protocol/http/config/gui/package-tree.html new file mode 100644 index 00000000000..1ce94995c2d --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/config/gui/package-tree.html @@ -0,0 +1,168 @@ + + + + + +org.apache.jmeter.protocol.http.config.gui Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.protocol.http.config.gui +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/config/package-frame.html b/docs/api/org/apache/jmeter/protocol/http/config/package-frame.html new file mode 100644 index 00000000000..3294220f95a --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/config/package-frame.html @@ -0,0 +1,30 @@ + + + + + +org.apache.jmeter.protocol.http.config (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.protocol.http.config + + + + +
+Classes  + +
+MultipartUrlConfig
+ + + + diff --git a/docs/api/org/apache/jmeter/protocol/http/config/package-summary.html b/docs/api/org/apache/jmeter/protocol/http/config/package-summary.html new file mode 100644 index 00000000000..c9acf285106 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/config/package-summary.html @@ -0,0 +1,153 @@ + + + + + +org.apache.jmeter.protocol.http.config (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.protocol.http.config +

+ + + + + + + + + +
+Class Summary
MultipartUrlConfigConfiguration element which handles HTTP Parameters and files to be uploaded
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/config/package-tree.html b/docs/api/org/apache/jmeter/protocol/http/config/package-tree.html new file mode 100644 index 00000000000..0b103f8db76 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/config/package-tree.html @@ -0,0 +1,150 @@ + + + + + +org.apache.jmeter.protocol.http.config Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.protocol.http.config +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/control/AuthManager.Mechanism.html b/docs/api/org/apache/jmeter/protocol/http/control/AuthManager.Mechanism.html new file mode 100644 index 00000000000..2f30a160001 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/control/AuthManager.Mechanism.html @@ -0,0 +1,321 @@ + + + + + +AuthManager.Mechanism (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.control +
+Enum AuthManager.Mechanism

+
+java.lang.Object
+  extended by java.lang.Enum<AuthManager.Mechanism>
+      extended by org.apache.jmeter.protocol.http.control.AuthManager.Mechanism
+
+
+
All Implemented Interfaces:
Serializable, Comparable<AuthManager.Mechanism>
+
+
+
Enclosing class:
AuthManager
+
+
+
+
public static enum AuthManager.Mechanism
extends Enum<AuthManager.Mechanism>
+ + +

+


+ +

+ + + + + + + + + + + + + +
+Enum Constant Summary
BASIC_DIGEST + +
+           
KERBEROS + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+static AuthManager.MechanismvalueOf(String name) + +
+          Returns the enum constant of this type with the specified name.
+static AuthManager.Mechanism[]values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+ + + + + + + +
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
+ + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Enum Constant Detail
+ +

+BASIC_DIGEST

+
+public static final AuthManager.Mechanism BASIC_DIGEST
+
+
+
+
+
+ +

+KERBEROS

+
+public static final AuthManager.Mechanism KERBEROS
+
+
+
+
+ + + + + + + + +
+Method Detail
+ +

+values

+
+public static AuthManager.Mechanism[] values()
+
+
Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
+for (AuthManager.Mechanism c : AuthManager.Mechanism.values())
+    System.out.println(c);
+
+

+

+ +
Returns:
an array containing the constants of this enum type, in +the order they are declared
+
+
+
+ +

+valueOf

+
+public static AuthManager.Mechanism valueOf(String name)
+
+
Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.) +

+

+
Parameters:
name - the name of the enum constant to be returned. +
Returns:
the enum constant with the specified name +
Throws: +
IllegalArgumentException - if this enum type has no constant +with the specified name +
NullPointerException - if the argument is null
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/control/AuthManager.html b/docs/api/org/apache/jmeter/protocol/http/control/AuthManager.html new file mode 100644 index 00000000000..c979d856c43 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/control/AuthManager.html @@ -0,0 +1,1211 @@ + + + + + +AuthManager (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.control +
+Class AuthManager

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.config.ConfigTestElement
+          extended by org.apache.jmeter.protocol.http.control.AuthManager
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, ConfigElement, Searchable, TestElement, TestIterationListener, TestStateListener
+
+
+
+
public class AuthManager
extends ConfigTestElement
implements TestStateListener, TestIterationListener, Serializable
+ + +

+This class provides a way to provide Authorization in jmeter requests. The + format of the authorization file is: URL user pass where URL is an HTTP URL, + user a username to use and pass the appropriate password. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Nested Class Summary
+static classAuthManager.Mechanism + +
+           
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static intCOL_DOMAIN + +
+           
+static intCOL_MECHANISM + +
+           
+static intCOL_PASSWORD + +
+           
+static intCOL_REALM + +
+           
+static intCOL_URL + +
+           
+static intCOL_USERNAME + +
+           
+ + + + + + + +
Fields inherited from class org.apache.jmeter.config.ConfigTestElement
PASSWORD, USERNAME
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
AuthManager() + +
+          Default Constructor.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddAuth() + +
+           
+ voidaddAuth(Authorization newAuthorization) + +
+          Add newAuthorization if it does not already exist
+ voidaddConfigElement(ConfigElement config) + +
+          Add a configuration element to this one.
+ voidaddFile(String authFile) + +
+          Add authentication data from a file.
+ voidclear() + +
+          Clear the TestElement of all data.
+ booleanexpectsModification() + +
+          If your config element expects to be modified in the process of a test + run, and you want those modifications to carry over from sample to sample + (as in a cookie manager - you want to save all cookies that get set + throughout the test), then return true for this method.
+ Authorizationget(int i) + +
+          Return the record at index i
+ intgetAuthCount() + +
+          Return the number of records.
+ AuthorizationgetAuthForURL(URL url) + +
+           
+ StringgetAuthHeaderForURL(URL url) + +
+           
+ AuthorizationgetAuthObjectAt(int row) + +
+           
+ CollectionPropertygetAuthObjects() + +
+           
+ booleangetClearEachIteration() + +
+           
+ Class<?>getColumnClass(int column) + +
+           
+ intgetColumnCount() + +
+           
+ StringgetColumnName(int column) + +
+           
+ SubjectgetSubjectForUrl(URL url) + +
+          Get a Subject for a given URL, if available
+ booleanhasAuthForURL(URL url) + +
+          Tests whether an authorization record is available for a given URL
+ booleanisEditable() + +
+           
+ voidremove(int index) + +
+          Remove an authentication record.
+ voidsave(String authFile) + +
+          Save the authentication data to a file.
+ voidset(int index, + String url, + String user, + String pass, + String domain, + String realm, + AuthManager.Mechanism mechanism) + +
+          Update an authentication record.
+ voidsetClearEachIteration(boolean clear) + +
+           
+ voidsetupCredentials(org.apache.http.client.HttpClient client, + URL url, + org.apache.http.client.CredentialsProvider credentialsProvider, + String localHost) + +
+          Configure credentials and auth scheme on client if an authorization is + available for url
+ voidtestEnded() + +
+           + Called once for all threads after the end of a test.
+ voidtestEnded(String host) + +
+           + Called once for all threads after the end of a test.
+ voidtestIterationStart(LoopIterationEvent event) + +
+          Each time through a Thread Group's test script, an iteration event is + fired for each thread.
+ voidtestStarted() + +
+           + Called just before the start of the test from the main engine thread.
+ voidtestStarted(String host) + +
+           + Called just before the start of the test from the main engine thread.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.config.ConfigTestElement
addTestElement
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, canRemove, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.config.ConfigElement
clone
+  +

+ + + + + + + + +
+Field Detail
+ +

+COL_URL

+
+public static final int COL_URL
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COL_USERNAME

+
+public static final int COL_USERNAME
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COL_PASSWORD

+
+public static final int COL_PASSWORD
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COL_DOMAIN

+
+public static final int COL_DOMAIN
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COL_REALM

+
+public static final int COL_REALM
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COL_MECHANISM

+
+public static final int COL_MECHANISM
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+AuthManager

+
+public AuthManager()
+
+
Default Constructor. +

+

+ + + + + + + + +
+Method Detail
+ +

+clear

+
+public void clear()
+
+
Clear the TestElement of all data. +

+

+
Specified by:
clear in interface TestElement
Overrides:
clear in class AbstractTestElement
+
+
+
+
+
+
+ +

+set

+
+public void set(int index,
+                String url,
+                String user,
+                String pass,
+                String domain,
+                String realm,
+                AuthManager.Mechanism mechanism)
+
+
Update an authentication record. +

+

+
+
+
+
Parameters:
index - index at which position the record should be set
url - url for which the authentication record should be used
user - name of the user
pass - password of the user
domain - domain of the user
realm - realm of the site
mechanism - authentication AuthManager.Mechanism to use
+
+
+
+ +

+getAuthObjects

+
+public CollectionProperty getAuthObjects()
+
+
+
+
+
+
+
+
+
+ +

+getColumnCount

+
+public int getColumnCount()
+
+
+
+
+
+
+
+
+
+ +

+getColumnName

+
+public String getColumnName(int column)
+
+
+
+
+
+
+
+
+
+ +

+getColumnClass

+
+public Class<?> getColumnClass(int column)
+
+
+
+
+
+
+
+
+
+ +

+getAuthObjectAt

+
+public Authorization getAuthObjectAt(int row)
+
+
+
+
+
+
+
+
+
+ +

+isEditable

+
+public boolean isEditable()
+
+
+
+
+
+
+
+
+
+ +

+get

+
+public Authorization get(int i)
+
+
Return the record at index i +

+

+
+
+
+
Parameters:
i - index of the record to get +
Returns:
authorization record at index i
+
+
+
+ +

+getAuthHeaderForURL

+
+public String getAuthHeaderForURL(URL url)
+
+
+
+
+
+
+
+
+
+ +

+getAuthForURL

+
+public Authorization getAuthForURL(URL url)
+
+
+
+
+
+
+
+
+
+ +

+hasAuthForURL

+
+public boolean hasAuthForURL(URL url)
+
+
Tests whether an authorization record is available for a given URL +

+

+
+
+
+
Parameters:
url - URL for which an authorization record should be + available +
Returns:
true if an authorization is setup for url, + false otherwise
+
+
+
+ +

+getSubjectForUrl

+
+public Subject getSubjectForUrl(URL url)
+
+
Get a Subject for a given URL, if available +

+

+
+
+
+
Parameters:
url - URL for which the subject was asked +
Returns:
Subject if Auth Scheme uses Subject and an authorization is setup + for url, null otherwise
+
+
+
+ +

+addConfigElement

+
+public void addConfigElement(ConfigElement config)
+
+
Add a configuration element to this one. This allows config elements to + combine and give a "layered" effect. For example, + HTTPConfigElements have properties for domain, path, method, and + parameters. If element A has everything filled in, but null for domain, + and element B is added, which has only domain filled in, then after + adding B to A, A will have the domain from B. If A already had a domain, + then the correct behavior is for A to ignore the addition of element B. +

+

+
Specified by:
addConfigElement in interface ConfigElement
Overrides:
addConfigElement in class ConfigTestElement
+
+
+
Parameters:
config - the element to be added to this ConfigElement
+
+
+
+ +

+addAuth

+
+public void addAuth(Authorization newAuthorization)
+
+
Add newAuthorization if it does not already exist +

+

+
+
+
+
Parameters:
newAuthorization - authorization to be added
+
+
+
+ +

+addAuth

+
+public void addAuth()
+
+
+
+
+
+
+
+
+
+ +

+expectsModification

+
+public boolean expectsModification()
+
+
If your config element expects to be modified in the process of a test + run, and you want those modifications to carry over from sample to sample + (as in a cookie manager - you want to save all cookies that get set + throughout the test), then return true for this method. Your config + element will not be cloned for each sample. If your config elements are + more static in nature, return false. If in doubt, return false. +

+

+
Specified by:
expectsModification in interface ConfigElement
Overrides:
expectsModification in class ConfigTestElement
+
+
+ +
Returns:
true if the element expects to be modified over the course of a + test run
+
+
+
+ +

+save

+
+public void save(String authFile)
+          throws IOException
+
+
Save the authentication data to a file. +

+

+
+
+
+
Parameters:
authFile - path of the file to save the authentication data to +
Throws: +
IOException - when writing to the file fails
+
+
+
+ +

+addFile

+
+public void addFile(String authFile)
+             throws IOException
+
+
Add authentication data from a file. +

+

+
+
+
+
Parameters:
authFile - path to the file to read the authentication data from +
Throws: +
IOException - when reading the data fails
+
+
+
+ +

+remove

+
+public void remove(int index)
+
+
Remove an authentication record. +

+

+
+
+
+
Parameters:
index - index of the authentication record to remove
+
+
+
+ +

+getClearEachIteration

+
+public boolean getClearEachIteration()
+
+
+
+
+
+ +
Returns:
true if kerberos auth must be cleared on each mail loop iteration
+
+
+
+ +

+setClearEachIteration

+
+public void setClearEachIteration(boolean clear)
+
+
+
+
+
+
+
+
+
+ +

+getAuthCount

+
+public int getAuthCount()
+
+
Return the number of records. +

+

+
+
+
+ +
Returns:
the number of records
+
+
+
+ +

+setupCredentials

+
+public void setupCredentials(org.apache.http.client.HttpClient client,
+                             URL url,
+                             org.apache.http.client.CredentialsProvider credentialsProvider,
+                             String localHost)
+
+
Configure credentials and auth scheme on client if an authorization is + available for url +

+

+
+
+
+
Parameters:
client - HttpClient
url - URL to test
credentialsProvider - CredentialsProvider
localHost - host running JMeter
+
+
+
+ +

+testStarted

+
+public void testStarted()
+
+

+ Called just before the start of the test from the main engine thread. + + This is before the test elements are cloned. + + Note that not all the test + variables will have been set up at this point. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testStarted in interface TestStateListener
+
+
+
See Also:
StandardJMeterEngine.run()
+
+
+
+ +

+testEnded

+
+public void testEnded()
+
+

+ Called once for all threads after the end of a test. + + This will use the same element instances as at the start of the test. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testEnded in interface TestStateListener
+
+
+
See Also:
StandardJMeterEngine.stopTest()
+
+
+
+ +

+testStarted

+
+public void testStarted(String host)
+
+

+ Called just before the start of the test from the main engine thread. + + This is before the test elements are cloned. + + Note that not all the test + variables will have been set up at this point. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testStarted in interface TestStateListener
+
+
+
Parameters:
host - name of host
See Also:
StandardJMeterEngine.run()
+
+
+
+ +

+testEnded

+
+public void testEnded(String host)
+
+

+ Called once for all threads after the end of a test. + + This will use the same element instances as at the start of the test. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testEnded in interface TestStateListener
+
+
+
Parameters:
host - name of host
See Also:
StandardJMeterEngine.stopTest()
+
+
+
+ +

+testIterationStart

+
+public void testIterationStart(LoopIterationEvent event)
+
+
Each time through a Thread Group's test script, an iteration event is + fired for each thread. + + This will be after the test elements have been cloned, so in general + the instance will not be the same as the ones the start/end methods call. +

+

+
Specified by:
testIterationStart in interface TestIterationListener
+
+
+
Parameters:
event - the iteration event
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/control/Authorization.html b/docs/api/org/apache/jmeter/protocol/http/control/Authorization.html new file mode 100644 index 00000000000..f1377e727a7 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/control/Authorization.html @@ -0,0 +1,618 @@ + + + + + +Authorization (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.control +
+Class Authorization

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.protocol.http.control.Authorization
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Searchable, TestElement
+
+
+
+
public class Authorization
extends AbstractTestElement
implements Serializable
+ + +

+This class is an Authorization encapsulator. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
Authorization() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddConfigElement(ConfigElement config) + +
+           
+ booleanexpectsModification() + +
+           
+ StringgetDomain() + +
+           
+ AuthManager.MechanismgetMechanism() + +
+           
+ StringgetPass() + +
+           
+ StringgetRealm() + +
+           
+ StringgetURL() + +
+           
+ StringgetUser() + +
+           
+ voidsetDomain(String domain) + +
+           
+ voidsetMechanism(AuthManager.Mechanism mechanism) + +
+           
+ voidsetPass(String pass) + +
+           
+ voidsetRealm(String realm) + +
+           
+ voidsetURL(String url) + +
+           
+ voidsetUser(String user) + +
+           
+ StringtoBasicHeader() + +
+           
+ StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Authorization

+
+public Authorization()
+
+
+ + + + + + + + +
+Method Detail
+ +

+expectsModification

+
+public boolean expectsModification()
+
+
+
+
+
+
+
+
+
+ +

+addConfigElement

+
+public void addConfigElement(ConfigElement config)
+
+
+
+
+
+
+
+
+
+ +

+getURL

+
+public String getURL()
+
+
+
+
+
+
+
+
+
+ +

+setURL

+
+public void setURL(String url)
+
+
+
+
+
+
+
+
+
+ +

+getUser

+
+public String getUser()
+
+
+
+
+
+
+
+
+
+ +

+setUser

+
+public void setUser(String user)
+
+
+
+
+
+
+
+
+
+ +

+getPass

+
+public String getPass()
+
+
+
+
+
+
+
+
+
+ +

+setPass

+
+public void setPass(String pass)
+
+
+
+
+
+
+
+
+
+ +

+getDomain

+
+public String getDomain()
+
+
+
+
+
+
+
+
+
+ +

+setDomain

+
+public void setDomain(String domain)
+
+
+
+
+
+
+
+
+
+ +

+getRealm

+
+public String getRealm()
+
+
+
+
+
+
+
+
+
+ +

+setRealm

+
+public void setRealm(String realm)
+
+
+
+
+
+
+
+
+
+ +

+getMechanism

+
+public AuthManager.Mechanism getMechanism()
+
+
+
+
+
+
+
+
+
+ +

+setMechanism

+
+public void setMechanism(AuthManager.Mechanism mechanism)
+
+
+
+
+
+
+
+
+
+ +

+toString

+
+public String toString()
+
+
+
Overrides:
toString in class Object
+
+
+
+
+
+
+ +

+toBasicHeader

+
+public String toBasicHeader()
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/control/CacheManager.html b/docs/api/org/apache/jmeter/protocol/http/control/CacheManager.html new file mode 100644 index 00000000000..7f0d12a5234 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/control/CacheManager.html @@ -0,0 +1,912 @@ + + + + + +CacheManager (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.control +
+Class CacheManager

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.config.ConfigTestElement
+          extended by org.apache.jmeter.protocol.http.control.CacheManager
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, ConfigElement, Searchable, TestElement, TestIterationListener, TestStateListener
+
+
+
+
public class CacheManager
extends ConfigTestElement
implements TestStateListener, TestIterationListener, Serializable
+ + +

+Handles HTTP Caching +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + +
+Field Summary
+static StringCLEAR + +
+           
+static StringMAX_SIZE + +
+           
+static StringUSE_EXPIRES + +
+           
+ + + + + + + +
Fields inherited from class org.apache.jmeter.config.ConfigTestElement
PASSWORD, USERNAME
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
CacheManager() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclear() + +
+          Clear the TestElement of all data.
+ booleangetClearEachIteration() + +
+           
+ intgetMaxSize() + +
+           
+ booleangetUseExpires() + +
+           
+ booleaninCache(URL url) + +
+          Check the cache, if the entry has an expires header and the entry has not expired, return true
+ voidsaveDetails(org.apache.commons.httpclient.HttpMethod method, + HTTPSampleResult res) + +
+          Save the Last-Modified, Etag, and Expires headers if the result is + cacheable.
+ voidsaveDetails(org.apache.http.HttpResponse method, + HTTPSampleResult res) + +
+          Save the Last-Modified, Etag, and Expires headers if the result is + cacheable.
+ voidsaveDetails(URLConnection conn, + HTTPSampleResult res) + +
+          Save the Last-Modified, Etag, and Expires headers if the result is cacheable.
+ voidsetClearEachIteration(boolean clear) + +
+           
+ voidsetHeaders(HttpURLConnection conn, + URL url) + +
+          Check the cache, and if there is a match, set the headers: + + If-Modified-Since + If-None-Match +
+ voidsetHeaders(URL url, + org.apache.commons.httpclient.HttpMethod method) + +
+          Check the cache, and if there is a match, set the headers: + + If-Modified-Since + If-None-Match + + Commons HttpClient version
+ voidsetHeaders(URL url, + org.apache.http.client.methods.HttpRequestBase request) + +
+          Check the cache, and if there is a match, set the headers: + + If-Modified-Since + If-None-Match + + Apache HttpClient version.
+ voidsetMaxSize(int size) + +
+           
+ voidsetUseExpires(boolean expires) + +
+           
+ voidtestEnded() + +
+           + Called once for all threads after the end of a test.
+ voidtestEnded(String host) + +
+           + Called once for all threads after the end of a test.
+ voidtestIterationStart(LoopIterationEvent event) + +
+          Each time through a Thread Group's test script, an iteration event is + fired for each thread.
+ voidtestStarted() + +
+           + Called just before the start of the test from the main engine thread.
+ voidtestStarted(String host) + +
+           + Called just before the start of the test from the main engine thread.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.config.ConfigTestElement
addConfigElement, addTestElement, expectsModification
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, canRemove, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.config.ConfigElement
clone
+  +

+ + + + + + + + +
+Field Detail
+ +

+CLEAR

+
+public static final String CLEAR
+
+
+
See Also:
Constant Field Values
+
+
+ +

+USE_EXPIRES

+
+public static final String USE_EXPIRES
+
+
+
See Also:
Constant Field Values
+
+
+ +

+MAX_SIZE

+
+public static final String MAX_SIZE
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+CacheManager

+
+public CacheManager()
+
+
+ + + + + + + + +
+Method Detail
+ +

+saveDetails

+
+public void saveDetails(URLConnection conn,
+                        HTTPSampleResult res)
+
+
Save the Last-Modified, Etag, and Expires headers if the result is cacheable. + Version for Java implementation. +

+

+
+
+
+
Parameters:
conn - connection
res - result
+
+
+
+ +

+saveDetails

+
+public void saveDetails(org.apache.commons.httpclient.HttpMethod method,
+                        HTTPSampleResult res)
+                 throws org.apache.commons.httpclient.URIException
+
+
Save the Last-Modified, Etag, and Expires headers if the result is + cacheable. Version for Commons HttpClient implementation. +

+

+
+
+
+
Parameters:
method - HttpMethod to get header information from
res - result to decide if result is cacheable +
Throws: +
org.apache.commons.httpclient.URIException - if extraction of the the uri from method fails
+
+
+
+ +

+saveDetails

+
+public void saveDetails(org.apache.http.HttpResponse method,
+                        HTTPSampleResult res)
+
+
Save the Last-Modified, Etag, and Expires headers if the result is + cacheable. Version for Apache HttpClient implementation. +

+

+
+
+
+
Parameters:
method - HttpResponse to extract header information from
res - result to decide if result is cacheable
+
+
+
+ +

+setHeaders

+
+public void setHeaders(URL url,
+                       org.apache.commons.httpclient.HttpMethod method)
+
+
Check the cache, and if there is a match, set the headers: +
    +
  • If-Modified-Since
  • +
  • If-None-Match
  • +
+ Commons HttpClient version +

+

+
+
+
+
Parameters:
url - URL to look up in cache
method - where to set the headers
+
+
+
+ +

+setHeaders

+
+public void setHeaders(URL url,
+                       org.apache.http.client.methods.HttpRequestBase request)
+
+
Check the cache, and if there is a match, set the headers: +
    +
  • If-Modified-Since
  • +
  • If-None-Match
  • +
+ Apache HttpClient version. +

+

+
+
+
+
Parameters:
url - URL to look up in cache
request - where to set the headers
+
+
+
+ +

+setHeaders

+
+public void setHeaders(HttpURLConnection conn,
+                       URL url)
+
+
Check the cache, and if there is a match, set the headers: +
    +
  • If-Modified-Since
  • +
  • If-None-Match
  • +
+

+

+
+
+
+
Parameters:
url - URL to look up in cache
conn - where to set the headers
+
+
+
+ +

+inCache

+
+public boolean inCache(URL url)
+
+
Check the cache, if the entry has an expires header and the entry has not expired, return true
+

+

+
+
+
+
Parameters:
url - URL to look up in cache +
Returns:
true if entry has an expires header and the entry has not expired, else false
+
+
+
+ +

+getClearEachIteration

+
+public boolean getClearEachIteration()
+
+
+
+
+
+
+
+
+
+ +

+setClearEachIteration

+
+public void setClearEachIteration(boolean clear)
+
+
+
+
+
+
+
+
+
+ +

+getUseExpires

+
+public boolean getUseExpires()
+
+
+
+
+
+
+
+
+
+ +

+setUseExpires

+
+public void setUseExpires(boolean expires)
+
+
+
+
+
+
+
+
+
+ +

+getMaxSize

+
+public int getMaxSize()
+
+
+
+
+
+ +
Returns:
int cache max size
+
+
+
+ +

+setMaxSize

+
+public void setMaxSize(int size)
+
+
+
+
+
+
Parameters:
size - int cache max size
+
+
+
+ +

+clear

+
+public void clear()
+
+
Description copied from class: AbstractTestElement
+
Clear the TestElement of all data. +

+

+
Specified by:
clear in interface TestElement
Overrides:
clear in class AbstractTestElement
+
+
+
+
+
+
+ +

+testStarted

+
+public void testStarted()
+
+
Description copied from interface: TestStateListener
+

+ Called just before the start of the test from the main engine thread. + + This is before the test elements are cloned. + + Note that not all the test + variables will have been set up at this point. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testStarted in interface TestStateListener
+
+
+
See Also:
StandardJMeterEngine.run()
+
+
+
+ +

+testEnded

+
+public void testEnded()
+
+
Description copied from interface: TestStateListener
+

+ Called once for all threads after the end of a test. + + This will use the same element instances as at the start of the test. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testEnded in interface TestStateListener
+
+
+
See Also:
StandardJMeterEngine.stopTest()
+
+
+
+ +

+testStarted

+
+public void testStarted(String host)
+
+
Description copied from interface: TestStateListener
+

+ Called just before the start of the test from the main engine thread. + + This is before the test elements are cloned. + + Note that not all the test + variables will have been set up at this point. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testStarted in interface TestStateListener
+
+
+
Parameters:
host - name of host
See Also:
StandardJMeterEngine.run()
+
+
+
+ +

+testEnded

+
+public void testEnded(String host)
+
+
Description copied from interface: TestStateListener
+

+ Called once for all threads after the end of a test. + + This will use the same element instances as at the start of the test. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testEnded in interface TestStateListener
+
+
+
Parameters:
host - name of host
See Also:
StandardJMeterEngine.stopTest()
+
+
+
+ +

+testIterationStart

+
+public void testIterationStart(LoopIterationEvent event)
+
+
Description copied from interface: TestIterationListener
+
Each time through a Thread Group's test script, an iteration event is + fired for each thread. + + This will be after the test elements have been cloned, so in general + the instance will not be the same as the ones the start/end methods call. +

+

+
Specified by:
testIterationStart in interface TestIterationListener
+
+
+
Parameters:
event - the iteration event
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/control/Cookie.html b/docs/api/org/apache/jmeter/protocol/http/control/Cookie.html new file mode 100644 index 00000000000..b8c8ef1308b --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/control/Cookie.html @@ -0,0 +1,812 @@ + + + + + +Cookie (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.control +
+Class Cookie

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.protocol.http.control.Cookie
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Searchable, TestElement
+
+
+
+
public class Cookie
extends AbstractTestElement
implements Serializable
+ + +

+This class is a Cookie encapsulator. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + + + + + + + + + + +
+Constructor Summary
Cookie() + +
+          create the coookie
Cookie(String name, + String value, + String domain, + String path, + boolean secure, + long expires) + +
+          create the coookie
Cookie(String name, + String value, + String domain, + String path, + boolean secure, + long expires, + boolean hasPath, + boolean hasDomain) + +
+          create the coookie
Cookie(String name, + String value, + String domain, + String path, + boolean secure, + long expires, + boolean hasPath, + boolean hasDomain, + int version) + +
+          Create a JMeter Cookie.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddConfigElement(ConfigElement config) + +
+           
+ StringgetDomain() + +
+          get the domain for this object.
+ longgetExpires() + +
+          get the expiry time for the cookie
+ longgetExpiresMillis() + +
+          get the expiry time for the cookie
+ StringgetPath() + +
+          get the path for this object.
+ booleangetSecure() + +
+          get the secure for this object.
+ StringgetValue() + +
+          get the value for this object.
+ intgetVersion() + +
+           
+ booleanisDomainSpecified() + +
+           
+ booleanisPathSpecified() + +
+           
+ voidsetDomain(String domain) + +
+          set the domain for this object.
+ voidsetDomainSpecified(boolean b) + +
+           
+ voidsetExpires(long expires) + +
+          set the expiry time for the cookie
+ voidsetPath(String path) + +
+          set the path for this object.
+ voidsetPathSpecified(boolean b) + +
+           
+ voidsetSecure(boolean secure) + +
+          set the secure for this object.
+ voidsetValue(String value) + +
+          set the value for this object.
+ voidsetVersion(int version) + +
+           
+ StringtoString() + +
+          creates a string representation of this cookie
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Cookie

+
+public Cookie()
+
+
create the coookie +

+

+
+ +

+Cookie

+
+public Cookie(String name,
+              String value,
+              String domain,
+              String path,
+              boolean secure,
+              long expires)
+
+
create the coookie +

+

+
Parameters:
name - name of the cookie
value - value of the cookie
domain - domain for which the cookie is valid
path - path for which the cookie is valid
secure - flag whether cookie is to be handled as 'secure'
expires - - this is in seconds
+
+
+ +

+Cookie

+
+public Cookie(String name,
+              String value,
+              String domain,
+              String path,
+              boolean secure,
+              long expires,
+              boolean hasPath,
+              boolean hasDomain)
+
+
create the coookie +

+

+
Parameters:
name - name of the cookie
value - value of the cookie
domain - domain for which the cookie is valid
path - path for which the cookie is valid
secure - flag whether cookie is to be handled as 'secure'
expires - - this is in seconds
hasPath - - was the path explicitly specified?
hasDomain - - was the domain explicitly specified?
+
+
+ +

+Cookie

+
+public Cookie(String name,
+              String value,
+              String domain,
+              String path,
+              boolean secure,
+              long expires,
+              boolean hasPath,
+              boolean hasDomain,
+              int version)
+
+
Create a JMeter Cookie. +

+

+
Parameters:
name - name of the cookie
value - value of the cookie
domain - domain for which the cookie is valid
path - path for which the cookie is valid
secure - flag whether cookie is to be handled as 'secure'
expires - - this is in seconds
hasPath - - was the path explicitly specified?
hasDomain - - was the domain explicitly specified?
version - - cookie spec. version
+
+ + + + + + + + +
+Method Detail
+ +

+addConfigElement

+
+public void addConfigElement(ConfigElement config)
+
+
+
+
+
+
+
+
+
+ +

+getValue

+
+public String getValue()
+
+
get the value for this object. +

+

+
+
+
+ +
Returns:
the value of this cookie
+
+
+
+ +

+setValue

+
+public void setValue(String value)
+
+
set the value for this object. +

+

+
+
+
+
Parameters:
value - the value of this cookie
+
+
+
+ +

+getDomain

+
+public String getDomain()
+
+
get the domain for this object. +

+

+
+
+
+ +
Returns:
the domain for which this cookie is valid
+
+
+
+ +

+setDomain

+
+public void setDomain(String domain)
+
+
set the domain for this object. +

+

+
+
+
+
Parameters:
domain - the domain for which this cookie is valid
+
+
+
+ +

+getExpires

+
+public long getExpires()
+
+
get the expiry time for the cookie +

+

+
+
+
+ +
Returns:
Expiry time in seconds since the Java epoch
+
+
+
+ +

+getExpiresMillis

+
+public long getExpiresMillis()
+
+
get the expiry time for the cookie +

+

+
+
+
+ +
Returns:
Expiry time in milli-seconds since the Java epoch, + i.e. same as System.currentTimeMillis()
+
+
+
+ +

+setExpires

+
+public void setExpires(long expires)
+
+
set the expiry time for the cookie +

+

+
+
+
+
Parameters:
expires - - expiry time in seconds since the Java epoch
+
+
+
+ +

+getSecure

+
+public boolean getSecure()
+
+
get the secure for this object. +

+

+
+
+
+ +
Returns:
flag whether this cookie should be treated as a 'secure' cookie
+
+
+
+ +

+setSecure

+
+public void setSecure(boolean secure)
+
+
set the secure for this object. +

+

+
+
+
+
Parameters:
secure - flag whether this cookie should be treated as a 'secure' cookie
+
+
+
+ +

+getPath

+
+public String getPath()
+
+
get the path for this object. +

+

+
+
+
+ +
Returns:
the path for which this cookie is valid
+
+
+
+ +

+setPath

+
+public void setPath(String path)
+
+
set the path for this object. +

+

+
+
+
+
Parameters:
path - the path for which this cookie is valid
+
+
+
+ +

+setPathSpecified

+
+public void setPathSpecified(boolean b)
+
+
+
+
+
+
+
+
+
+ +

+isPathSpecified

+
+public boolean isPathSpecified()
+
+
+
+
+
+
+
+
+
+ +

+setDomainSpecified

+
+public void setDomainSpecified(boolean b)
+
+
+
+
+
+
+
+
+
+ +

+isDomainSpecified

+
+public boolean isDomainSpecified()
+
+
+
+
+
+
+
+
+
+ +

+toString

+
+public String toString()
+
+
creates a string representation of this cookie +

+

+
Overrides:
toString in class Object
+
+
+
+
+
+
+ +

+getVersion

+
+public int getVersion()
+
+
+
+
+
+ +
Returns:
the version
+
+
+
+ +

+setVersion

+
+public void setVersion(int version)
+
+
+
+
+
+
Parameters:
version - the version to set
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/control/CookieHandler.html b/docs/api/org/apache/jmeter/protocol/http/control/CookieHandler.html new file mode 100644 index 00000000000..4aeb5118b55 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/control/CookieHandler.html @@ -0,0 +1,245 @@ + + + + + +CookieHandler (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.control +
+Interface CookieHandler

+
+
All Known Implementing Classes:
HC3CookieHandler, HC4CookieHandler
+
+
+
+
public interface CookieHandler
+ + +

+Interface to be implemented by CookieHandler +

+ +

+


+ +

+ + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddCookieFromHeader(CookieManager cookieManager, + boolean checkCookies, + String cookieHeader, + URL url) + +
+          Add cookie to CookieManager from cookieHeader and URL
+ StringgetCookieHeaderForURL(CollectionProperty cookiesCP, + URL url, + boolean allowVariableCookie) + +
+          Find cookies applicable to the given URL and build the Cookie header from + them.
+  +

+ + + + + + + + +
+Method Detail
+ +

+addCookieFromHeader

+
+void addCookieFromHeader(CookieManager cookieManager,
+                         boolean checkCookies,
+                         String cookieHeader,
+                         URL url)
+
+
Add cookie to CookieManager from cookieHeader and URL +

+

+
Parameters:
cookieManager - CookieManager on which cookies are added
checkCookies - boolean to indicate if cookies must be validated against spec
cookieHeader - String cookie Header
url - URL
+
+
+
+ +

+getCookieHeaderForURL

+
+String getCookieHeaderForURL(CollectionProperty cookiesCP,
+                             URL url,
+                             boolean allowVariableCookie)
+
+
Find cookies applicable to the given URL and build the Cookie header from + them. +

+

+
Parameters:
cookiesCP - CollectionProperty of Cookie
url - URL of the request to which the returned header will be added.
allowVariableCookie - flag whether to allow jmeter variables in cookie values +
Returns:
the value string for the cookie header (goes after "Cookie: ").
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/control/CookieManager.html b/docs/api/org/apache/jmeter/protocol/http/control/CookieManager.html new file mode 100644 index 00000000000..664f4d198d8 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/control/CookieManager.html @@ -0,0 +1,966 @@ + + + + + +CookieManager (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.control +
+Class CookieManager

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.config.ConfigTestElement
+          extended by org.apache.jmeter.protocol.http.control.CookieManager
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, ConfigElement, Searchable, TestElement, TestIterationListener, TestStateListener
+
+
+
+
public class CookieManager
extends ConfigTestElement
implements TestStateListener, TestIterationListener, Serializable
+ + +

+This class provides an interface to the netscape cookies file to pass cookies + along with a request. + + Now uses Commons HttpClient parsing and matching code (since 2.1.2) +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + +
+Field Summary
+static StringDEFAULT_IMPLEMENTATION + +
+           
+static StringDEFAULT_POLICY + +
+           
+ + + + + + + +
Fields inherited from class org.apache.jmeter.config.ConfigTestElement
PASSWORD, USERNAME
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
CookieManager() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidadd(Cookie c) + +
+          Add a cookie.
+ voidaddCookieFromHeader(String cookieHeader, + URL url) + +
+           
+ voidaddFile(String cookieFile) + +
+          Add cookie data from a file.
+ voidclear() + +
+          Clear the TestElement of all data.
+ Objectclone() + +
+          
+ Cookieget(int i) + +
+          Return the cookie at index i.
+ booleangetClearEachIteration() + +
+           
+ intgetCookieCount() + +
+           
+ StringgetCookieHeaderForURL(URL url) + +
+          Find cookies applicable to the given URL and build the Cookie header from + them.
+ CollectionPropertygetCookies() + +
+           
+ StringgetImplementation() + +
+           
+ StringgetPolicy() + +
+           
+ voidrecoverRunningVersion() + +
+          Tells the test element to return to the state it was in when + setRunningVersion(true) was called.
+ voidremove(int index) + +
+          Remove a cookie.
+ voidsave(String authFile) + +
+          Save the static cookie data to a file.
+ voidsetClearEachIteration(boolean clear) + +
+           
+ voidsetCookiePolicy(String policy) + +
+           
+ voidsetImplementation(String implementation) + +
+           
+ voidsetRunningVersion(boolean running) + +
+          Sets the runningVersion.
+ voidtestEnded() + +
+           + Called once for all threads after the end of a test.
+ voidtestEnded(String host) + +
+           + Called once for all threads after the end of a test.
+ voidtestIterationStart(LoopIterationEvent event) + +
+          Each time through a Thread Group's test script, an iteration event is + fired for each thread.
+ voidtestStarted() + +
+           + Called just before the start of the test from the main engine thread.
+ voidtestStarted(String host) + +
+           + Called just before the start of the test from the main engine thread.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.config.ConfigTestElement
addConfigElement, addTestElement, expectsModification
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, canRemove, clearTemporary, clearTestElementChildren, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+DEFAULT_POLICY

+
+public static final String DEFAULT_POLICY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DEFAULT_IMPLEMENTATION

+
+public static final String DEFAULT_IMPLEMENTATION
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+CookieManager

+
+public CookieManager()
+
+
+ + + + + + + + +
+Method Detail
+ +

+clone

+
+public Object clone()
+
+
+

+

+
Specified by:
clone in interface ConfigElement
Specified by:
clone in interface TestElement
Overrides:
clone in class AbstractTestElement
+
+
+
+
+
+
+ +

+getPolicy

+
+public String getPolicy()
+
+
+
+
+
+
+
+
+
+ +

+setCookiePolicy

+
+public void setCookiePolicy(String policy)
+
+
+
+
+
+
+
+
+
+ +

+getCookies

+
+public CollectionProperty getCookies()
+
+
+
+
+
+
+
+
+
+ +

+getCookieCount

+
+public int getCookieCount()
+
+
+
+
+
+
+
+
+
+ +

+getClearEachIteration

+
+public boolean getClearEachIteration()
+
+
+
+
+
+
+
+
+
+ +

+setClearEachIteration

+
+public void setClearEachIteration(boolean clear)
+
+
+
+
+
+
+
+
+
+ +

+getImplementation

+
+public String getImplementation()
+
+
+
+
+
+
+
+
+
+ +

+setImplementation

+
+public void setImplementation(String implementation)
+
+
+
+
+
+
+
+
+
+ +

+save

+
+public void save(String authFile)
+          throws IOException
+
+
Save the static cookie data to a file. +

+ Cookies are only taken from the GUI - runtime cookies are not included. +

+

+
+
+
+
Parameters:
authFile - name of the file to store the cookies into. If the name is + relative, the system property user.dir will be + prepended +
Throws: +
IOException - when writing to that file fails
+
+
+
+ +

+addFile

+
+public void addFile(String cookieFile)
+             throws IOException
+
+
Add cookie data from a file. +

+

+
+
+
+
Parameters:
cookieFile - name of the file to read the cookies from. If the name is + relative, the system property user.dir will be + prepended +
Throws: +
IOException - if reading the file fails
+
+
+
+ +

+recoverRunningVersion

+
+public void recoverRunningVersion()
+
+
Tells the test element to return to the state it was in when + setRunningVersion(true) was called. +

+

+
Specified by:
recoverRunningVersion in interface TestElement
Overrides:
recoverRunningVersion in class AbstractTestElement
+
+
+
+
+
+
+ +

+setRunningVersion

+
+public void setRunningVersion(boolean running)
+
+
Sets the runningVersion. +

+

+
Specified by:
setRunningVersion in interface TestElement
Overrides:
setRunningVersion in class AbstractTestElement
+
+
+
Parameters:
running - the runningVersion to set
+
+
+
+ +

+add

+
+public void add(Cookie c)
+
+
Add a cookie. +

+

+
+
+
+
Parameters:
c - cookie to be added
+
+
+
+ +

+clear

+
+public void clear()
+
+
Clear the TestElement of all data. +

+

+
Specified by:
clear in interface TestElement
Overrides:
clear in class AbstractTestElement
+
+
+
+
+
+
+ +

+remove

+
+public void remove(int index)
+
+
Remove a cookie. +

+

+
+
+
+
Parameters:
index - index of the cookie to remove
+
+
+
+ +

+get

+
+public Cookie get(int i)
+
+
Return the cookie at index i. +

+

+
+
+
+
Parameters:
i - index of the cookie to get +
Returns:
cookie at index i
+
+
+
+ +

+getCookieHeaderForURL

+
+public String getCookieHeaderForURL(URL url)
+
+
Find cookies applicable to the given URL and build the Cookie header from + them. +

+

+
+
+
+
Parameters:
url - URL of the request to which the returned header will be added. +
Returns:
the value string for the cookie header (goes after "Cookie: ").
+
+
+
+ +

+addCookieFromHeader

+
+public void addCookieFromHeader(String cookieHeader,
+                                URL url)
+
+
+
+
+
+
+
+
+
+ +

+testStarted

+
+public void testStarted()
+
+

+ Called just before the start of the test from the main engine thread. + + This is before the test elements are cloned. + + Note that not all the test + variables will have been set up at this point. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testStarted in interface TestStateListener
+
+
+
See Also:
StandardJMeterEngine.run()
+
+
+
+ +

+testEnded

+
+public void testEnded()
+
+

+ Called once for all threads after the end of a test. + + This will use the same element instances as at the start of the test. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testEnded in interface TestStateListener
+
+
+
See Also:
StandardJMeterEngine.stopTest()
+
+
+
+ +

+testStarted

+
+public void testStarted(String host)
+
+

+ Called just before the start of the test from the main engine thread. + + This is before the test elements are cloned. + + Note that not all the test + variables will have been set up at this point. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testStarted in interface TestStateListener
+
+
+
Parameters:
host - name of host
See Also:
StandardJMeterEngine.run()
+
+
+
+ +

+testEnded

+
+public void testEnded(String host)
+
+

+ Called once for all threads after the end of a test. + + This will use the same element instances as at the start of the test. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testEnded in interface TestStateListener
+
+
+
Parameters:
host - name of host
See Also:
StandardJMeterEngine.stopTest()
+
+
+
+ +

+testIterationStart

+
+public void testIterationStart(LoopIterationEvent event)
+
+
Each time through a Thread Group's test script, an iteration event is + fired for each thread. + + This will be after the test elements have been cloned, so in general + the instance will not be the same as the ones the start/end methods call. +

+

+
Specified by:
testIterationStart in interface TestIterationListener
+
+
+
Parameters:
event - the iteration event
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/control/DNSCacheManager.html b/docs/api/org/apache/jmeter/protocol/http/control/DNSCacheManager.html new file mode 100644 index 00000000000..bfda2c65e6a --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/control/DNSCacheManager.html @@ -0,0 +1,650 @@ + + + + + +DNSCacheManager (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.control +
+Class DNSCacheManager

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.config.ConfigTestElement
+          extended by org.apache.jmeter.protocol.http.control.DNSCacheManager
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, org.apache.http.conn.DnsResolver, ConfigElement, Searchable, TestElement, TestIterationListener
+
+
+
+
public class DNSCacheManager
extends ConfigTestElement
implements TestIterationListener, Serializable, org.apache.http.conn.DnsResolver
+ + +

+This config element provides ability to have flexible control over DNS + caching function. Depending on option from @see + DNSCachePanel, either system or + custom resolver can be used. Custom resolver uses dnsjava library, and gives + ability to bypass both OS and JVM cache. It allows to use paradigm + "1 virtual user - 1 DNS cache" in performance tests. +

+ +

+

+
Since:
+
2.12
+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static StringCLEAR_CACHE_EACH_ITER + +
+           
+static booleanDEFAULT_CLEAR_CACHE_EACH_ITER + +
+           
+static booleanDEFAULT_IS_CUSTOM_RESOLVER + +
+           
+static StringDEFAULT_SERVERS + +
+           
+static StringIS_CUSTOM_RESOLVER + +
+           
+static StringSERVERS + +
+           
+ + + + + + + +
Fields inherited from class org.apache.jmeter.config.ConfigTestElement
PASSWORD, USERNAME
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
DNSCacheManager() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddServer(String dnsServer) + +
+           
+ voidclear() + +
+          Clear the TestElement of all data.
+ Objectclone() + +
+          
+ CollectionPropertygetServers() + +
+           
+ booleanisClearEachIteration() + +
+          Clean DNS cache each iteration
+ booleanisCustomResolver() + +
+           
+ InetAddress[]resolve(String host) + +
+          Resolves address using system or custom DNS resolver
+ voidsetClearEachIteration(boolean clear) + +
+          Clean DNS cache each iteration
+ voidsetCustomResolver(boolean isCustomResolver) + +
+           
+ voidtestIterationStart(LoopIterationEvent event) + +
+          Each time through a Thread Group's test script, an iteration event is + fired for each thread.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.config.ConfigTestElement
addConfigElement, addTestElement, expectsModification
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, canRemove, clearTemporary, clearTestElementChildren, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+CLEAR_CACHE_EACH_ITER

+
+public static final String CLEAR_CACHE_EACH_ITER
+
+
+
See Also:
Constant Field Values
+
+
+ +

+SERVERS

+
+public static final String SERVERS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+IS_CUSTOM_RESOLVER

+
+public static final String IS_CUSTOM_RESOLVER
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DEFAULT_CLEAR_CACHE_EACH_ITER

+
+public static final boolean DEFAULT_CLEAR_CACHE_EACH_ITER
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DEFAULT_SERVERS

+
+public static final String DEFAULT_SERVERS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DEFAULT_IS_CUSTOM_RESOLVER

+
+public static final boolean DEFAULT_IS_CUSTOM_RESOLVER
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+DNSCacheManager

+
+public DNSCacheManager()
+
+
+ + + + + + + + +
+Method Detail
+ +

+clone

+
+public Object clone()
+
+
+

+

+
Specified by:
clone in interface ConfigElement
Specified by:
clone in interface TestElement
Overrides:
clone in class AbstractTestElement
+
+
+
+
+
+
+ +

+resolve

+
+public InetAddress[] resolve(String host)
+                      throws UnknownHostException
+
+
Resolves address using system or custom DNS resolver +

+

+
Specified by:
resolve in interface org.apache.http.conn.DnsResolver
+
+
+ +
Throws: +
UnknownHostException
+
+
+
+ +

+testIterationStart

+
+public void testIterationStart(LoopIterationEvent event)
+
+
Each time through a Thread Group's test script, an iteration event is + fired for each thread. + + This will be after the test elements have been cloned, so in general + the instance will not be the same as the ones the start/end methods call. Clean DNS cache if appropriate check-box was selected +

+

+
Specified by:
testIterationStart in interface TestIterationListener
+
+
+
Parameters:
event - the iteration event
+
+
+
+ +

+clear

+
+public void clear()
+
+
Clear the TestElement of all data. +

+

+
Specified by:
clear in interface TestElement
Overrides:
clear in class AbstractTestElement
+
+
+
+
+
+
+ +

+addServer

+
+public void addServer(String dnsServer)
+
+
+
+
+
+
+
+
+
+ +

+getServers

+
+public CollectionProperty getServers()
+
+
+
+
+
+
+
+
+
+ +

+isClearEachIteration

+
+public boolean isClearEachIteration()
+
+
Clean DNS cache each iteration +

+

+
+
+
+ +
Returns:
boolean
+
+
+
+ +

+setClearEachIteration

+
+public void setClearEachIteration(boolean clear)
+
+
Clean DNS cache each iteration +

+

+
+
+
+
Parameters:
clear - flag whether DNS cache should be cleared on each iteration
+
+
+
+ +

+isCustomResolver

+
+public boolean isCustomResolver()
+
+
+
+
+
+
+
+
+
+ +

+setCustomResolver

+
+public void setCustomResolver(boolean isCustomResolver)
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/control/HC3CookieHandler.html b/docs/api/org/apache/jmeter/protocol/http/control/HC3CookieHandler.html new file mode 100644 index 00000000000..483f8834099 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/control/HC3CookieHandler.html @@ -0,0 +1,300 @@ + + + + + +HC3CookieHandler (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.control +
+Class HC3CookieHandler

+
+java.lang.Object
+  extended by org.apache.jmeter.protocol.http.control.HC3CookieHandler
+
+
+
All Implemented Interfaces:
CookieHandler
+
+
+
+
public class HC3CookieHandler
extends Object
implements CookieHandler
+ + +

+HTTPClient 3.1 implementation +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
HC3CookieHandler(String policy) + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddCookieFromHeader(CookieManager cookieManager, + boolean checkCookies, + String cookieHeader, + URL url) + +
+          Add cookie to CookieManager from cookieHeader and URL
+ StringgetCookieHeaderForURL(CollectionProperty cookiesCP, + URL url, + boolean allowVariableCookie) + +
+          Find cookies applicable to the given URL and build the Cookie header from + them.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+HC3CookieHandler

+
+public HC3CookieHandler(String policy)
+
+
+
Parameters:
policy - cookie policy to which to conform (see + CookiePolicy.getCookieSpec(String)
+
+ + + + + + + + +
+Method Detail
+ +

+getCookieHeaderForURL

+
+public String getCookieHeaderForURL(CollectionProperty cookiesCP,
+                                    URL url,
+                                    boolean allowVariableCookie)
+
+
Find cookies applicable to the given URL and build the Cookie header from + them. +

+

+
Specified by:
getCookieHeaderForURL in interface CookieHandler
+
+
+
Parameters:
url - URL of the request to which the returned header will be added.
cookiesCP - CollectionProperty of Cookie
allowVariableCookie - flag whether to allow jmeter variables in cookie values +
Returns:
the value string for the cookie header (goes after "Cookie: ").
+
+
+
+ +

+addCookieFromHeader

+
+public void addCookieFromHeader(CookieManager cookieManager,
+                                boolean checkCookies,
+                                String cookieHeader,
+                                URL url)
+
+
Add cookie to CookieManager from cookieHeader and URL +

+

+
Specified by:
addCookieFromHeader in interface CookieHandler
+
+
+
Parameters:
cookieManager - CookieManager on which cookies are added
checkCookies - boolean to indicate if cookies must be validated against spec
cookieHeader - String cookie Header
url - URL
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/control/HC4CookieHandler.html b/docs/api/org/apache/jmeter/protocol/http/control/HC4CookieHandler.html new file mode 100644 index 00000000000..e4e66184b64 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/control/HC4CookieHandler.html @@ -0,0 +1,295 @@ + + + + + +HC4CookieHandler (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.control +
+Class HC4CookieHandler

+
+java.lang.Object
+  extended by org.apache.jmeter.protocol.http.control.HC4CookieHandler
+
+
+
All Implemented Interfaces:
CookieHandler
+
+
+
+
public class HC4CookieHandler
extends Object
implements CookieHandler
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
HC4CookieHandler(String policy) + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddCookieFromHeader(CookieManager cookieManager, + boolean checkCookies, + String cookieHeader, + URL url) + +
+          Add cookie to CookieManager from cookieHeader and URL
+ StringgetCookieHeaderForURL(CollectionProperty cookiesCP, + URL url, + boolean allowVariableCookie) + +
+          Find cookies applicable to the given URL and build the Cookie header from + them.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+HC4CookieHandler

+
+public HC4CookieHandler(String policy)
+
+
+ + + + + + + + +
+Method Detail
+ +

+addCookieFromHeader

+
+public void addCookieFromHeader(CookieManager cookieManager,
+                                boolean checkCookies,
+                                String cookieHeader,
+                                URL url)
+
+
Description copied from interface: CookieHandler
+
Add cookie to CookieManager from cookieHeader and URL +

+

+
Specified by:
addCookieFromHeader in interface CookieHandler
+
+
+
Parameters:
cookieManager - CookieManager on which cookies are added
checkCookies - boolean to indicate if cookies must be validated against spec
cookieHeader - String cookie Header
url - URL
+
+
+
+ +

+getCookieHeaderForURL

+
+public String getCookieHeaderForURL(CollectionProperty cookiesCP,
+                                    URL url,
+                                    boolean allowVariableCookie)
+
+
Description copied from interface: CookieHandler
+
Find cookies applicable to the given URL and build the Cookie header from + them. +

+

+
Specified by:
getCookieHeaderForURL in interface CookieHandler
+
+
+
Parameters:
cookiesCP - CollectionProperty of Cookie
url - URL of the request to which the returned header will be added.
allowVariableCookie - flag whether to allow jmeter variables in cookie values +
Returns:
the value string for the cookie header (goes after "Cookie: ").
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/control/Header.html b/docs/api/org/apache/jmeter/protocol/http/control/Header.html new file mode 100644 index 00000000000..eae1c09f954 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/control/Header.html @@ -0,0 +1,454 @@ + + + + + +Header (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.control +
+Class Header

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.protocol.http.control.Header
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Searchable, TestElement
+
+
+
+
public class Header
extends AbstractTestElement
implements Serializable
+ + +

+This class is an HTTP Header encapsulator. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + + + + +
+Constructor Summary
Header() + +
+          Create the header.
Header(String name, + String value) + +
+          Create the header.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddConfigElement(ConfigElement config) + +
+           
+ booleanexpectsModification() + +
+           
+ StringgetName() + +
+          Get the name for this object.
+ StringgetValue() + +
+          Get the value for this object.
+ voidsetName(String name) + +
+          Set the name for this object.
+ voidsetValue(String value) + +
+          Set the value for this object.
+ StringtoString() + +
+          Creates a string representation of this header.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Header

+
+public Header()
+
+
Create the header. Uses an empty name and value as default +

+

+
+ +

+Header

+
+public Header(String name,
+              String value)
+
+
Create the header. +

+

+
Parameters:
name - name of the header
value - name of the header
+
+ + + + + + + + +
+Method Detail
+ +

+addConfigElement

+
+public void addConfigElement(ConfigElement config)
+
+
+
+
+
+
+
+
+
+ +

+expectsModification

+
+public boolean expectsModification()
+
+
+
+
+
+
+
+
+
+ +

+getName

+
+public String getName()
+
+
Get the name for this object. +

+

+
Specified by:
getName in interface TestElement
Overrides:
getName in class AbstractTestElement
+
+
+ +
Returns:
the name of this header
+
+
+
+ +

+setName

+
+public void setName(String name)
+
+
Set the name for this object. +

+

+
Specified by:
setName in interface TestElement
Overrides:
setName in class AbstractTestElement
+
+
+
Parameters:
name - the name of this header
+
+
+
+ +

+getValue

+
+public String getValue()
+
+
Get the value for this object. +

+

+
+
+
+ +
Returns:
the value of this header
+
+
+
+ +

+setValue

+
+public void setValue(String value)
+
+
Set the value for this object. +

+

+
+
+
+
Parameters:
value - the value of this header
+
+
+
+ +

+toString

+
+public String toString()
+
+
Creates a string representation of this header. +

+

+
Overrides:
toString in class Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/control/HeaderManager.html b/docs/api/org/apache/jmeter/protocol/http/control/HeaderManager.html new file mode 100644 index 00000000000..845b5c37e6d --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/control/HeaderManager.html @@ -0,0 +1,745 @@ + + + + + +HeaderManager (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.control +
+Class HeaderManager

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.config.ConfigTestElement
+          extended by org.apache.jmeter.protocol.http.control.HeaderManager
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, ConfigElement, Searchable, TestElement
+
+
+
+
public class HeaderManager
extends ConfigTestElement
implements Serializable
+ + +

+This class provides an interface to headers file to pass HTTP headers along + with a request. +

+ +

+

+
Version:
+
$Revision: 1649126 $
+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Field Summary
+static StringHEADERS + +
+           
+ + + + + + + +
Fields inherited from class org.apache.jmeter.config.ConfigTestElement
PASSWORD, USERNAME
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
HeaderManager() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidadd() + +
+          Add an empty header.
+ voidadd(Header h) + +
+          Add a header.
+ voidaddFile(String headerFile) + +
+          Add header data from a file.
+ voidclear() + +
+          Clear the TestElement of all data.
+ Headerget(int i) + +
+          Return the header at index i.
+ Class<? extends String>getColumnClass(int column) + +
+           
+ intgetColumnCount() + +
+           
+ StringgetColumnName(int column) + +
+           
+ HeadergetHeader(int row) + +
+           
+ CollectionPropertygetHeaders() + +
+          Get the collection of JMeterProperty entries representing the headers.
+ ObjectgetSOAPHeader() + +
+          Added support for SOAP related header stuff. 1-29-04 Peter Lin
+ HeaderManagermerge(TestElement element, + boolean preferLocalValues) + +
+          Merge the attributes with a another HeaderManager's attributes.
+ voidremove(int index) + +
+          Remove a header.
+ voidremoveHeaderNamed(String name) + +
+          Remove from Headers the header named name
+ voidsave(String headFile) + +
+          Save the header data to a file.
+ voidsetSOAPHeader(Object header) + +
+          Set the SOAPHeader with the SOAPHTTPConnection object.
+ intsize() + +
+          Return the number of headers.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.config.ConfigTestElement
addConfigElement, addTestElement, expectsModification
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, canRemove, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.config.ConfigElement
clone
+  +

+ + + + + + + + +
+Field Detail
+ +

+HEADERS

+
+public static final String HEADERS
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+HeaderManager

+
+public HeaderManager()
+
+
+ + + + + + + + +
+Method Detail
+ +

+clear

+
+public void clear()
+
+
Clear the TestElement of all data. +

+

+
Specified by:
clear in interface TestElement
Overrides:
clear in class AbstractTestElement
+
+
+
+
+
+
+ +

+getHeaders

+
+public CollectionProperty getHeaders()
+
+
Get the collection of JMeterProperty entries representing the headers. +

+

+
+
+
+ +
Returns:
the header collection property
+
+
+
+ +

+getColumnCount

+
+public int getColumnCount()
+
+
+
+
+
+
+
+
+
+ +

+getColumnName

+
+public String getColumnName(int column)
+
+
+
+
+
+
+
+
+
+ +

+getColumnClass

+
+public Class<? extends String> getColumnClass(int column)
+
+
+
+
+
+
+
+
+
+ +

+getHeader

+
+public Header getHeader(int row)
+
+
+
+
+
+
+
+
+
+ +

+save

+
+public void save(String headFile)
+          throws IOException
+
+
Save the header data to a file. +

+

+
+
+
+
Parameters:
headFile - name of the file to store headers into. If name is relative + the system property user.dir will be prepended +
Throws: +
IOException - if writing the headers fails
+
+
+
+ +

+addFile

+
+public void addFile(String headerFile)
+             throws IOException
+
+
Add header data from a file. +

+

+
+
+
+
Parameters:
headerFile - name of the file to read headers from. If name is relative the + system property user.dir will be prepended +
Throws: +
IOException - if reading headers fails
+
+
+
+ +

+add

+
+public void add(Header h)
+
+
Add a header. +

+

+
+
+
+
Parameters:
h - Header to add
+
+
+
+ +

+add

+
+public void add()
+
+
Add an empty header. +

+

+
+
+
+
+
+
+
+ +

+remove

+
+public void remove(int index)
+
+
Remove a header. +

+

+
+
+
+
Parameters:
index - index from the header to remove
+
+
+
+ +

+size

+
+public int size()
+
+
Return the number of headers. +

+

+
+
+
+ +
Returns:
number of headers
+
+
+
+ +

+get

+
+public Header get(int i)
+
+
Return the header at index i. +

+

+
+
+
+
Parameters:
i - index of the header to get +
Returns:
Header at index i
+
+
+
+ +

+removeHeaderNamed

+
+public void removeHeaderNamed(String name)
+
+
Remove from Headers the header named name +

+

+
+
+
+
Parameters:
name - header name
+
+
+
+ +

+getSOAPHeader

+
+public Object getSOAPHeader()
+
+
Added support for SOAP related header stuff. 1-29-04 Peter Lin +

+

+
+
+
+ +
Returns:
the SOAP header Object
+
+
+
+ +

+setSOAPHeader

+
+public void setSOAPHeader(Object header)
+
+
Set the SOAPHeader with the SOAPHTTPConnection object. We may or may not + want to rename this to setHeaderObject(Object). Conceivably, other + samplers may need this kind of functionality. 1-29-04 Peter Lin +

+

+
+
+
+
Parameters:
header - soap header
+
+
+
+ +

+merge

+
+public HeaderManager merge(TestElement element,
+                           boolean preferLocalValues)
+
+
Merge the attributes with a another HeaderManager's attributes. +

+

+
+
+
+
Parameters:
element - The object to be merged with
preferLocalValues - When both objects have a value for the same attribute, this + flag determines which value is preferred. +
Returns:
merged HeaderManager +
Throws: +
IllegalArgumentException - if element is not an instance of + HeaderManager
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/control/HttpMirrorControl.html b/docs/api/org/apache/jmeter/protocol/http/control/HttpMirrorControl.html new file mode 100644 index 00000000000..9c04473a094 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/control/HttpMirrorControl.html @@ -0,0 +1,655 @@ + + + + + +HttpMirrorControl (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.control +
+Class HttpMirrorControl

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.protocol.http.control.HttpMirrorControl
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Searchable, TestElement
+
+
+
+
public class HttpMirrorControl
extends AbstractTestElement
+ + +

+Test element that implements the Workbench HTTP Mirror function +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static intDEFAULT_MAX_POOL_SIZE + +
+           
+static intDEFAULT_MAX_QUEUE_SIZE + +
+           
+static StringDEFAULT_PORT_S + +
+           
+static StringMAX_POOL_SIZE + +
+           
+static StringMAX_QUEUE_SIZE + +
+           
+static StringPORT + +
+           
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + + + + +
+Constructor Summary
HttpMirrorControl() + +
+           
HttpMirrorControl(int port) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleancanRemove() + +
+          Called by Remove to determine if it is safe to remove the element.
+ intgetDefaultPort() + +
+           
+ StringgetMaxPoolSizeAsString() + +
+           
+ StringgetMaxQueueSizeAsString() + +
+           
+ intgetPort() + +
+           
+ StringgetPortString() + +
+           
+ booleanisServerAlive() + +
+           
+ voidsetMaxPoolSize(String maxPoolSize) + +
+           
+ voidsetMaxQueueSize(String maxQueueSize) + +
+           
+ voidsetPort(int port) + +
+           
+ voidsetPort(String port) + +
+           
+ voidstartHttpMirror() + +
+           
+ voidstopHttpMirror() + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+DEFAULT_PORT_S

+
+public static final String DEFAULT_PORT_S
+
+
+
+
+
+ +

+PORT

+
+public static final String PORT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+MAX_POOL_SIZE

+
+public static final String MAX_POOL_SIZE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+MAX_QUEUE_SIZE

+
+public static final String MAX_QUEUE_SIZE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DEFAULT_MAX_POOL_SIZE

+
+public static final int DEFAULT_MAX_POOL_SIZE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DEFAULT_MAX_QUEUE_SIZE

+
+public static final int DEFAULT_MAX_QUEUE_SIZE
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+HttpMirrorControl

+
+public HttpMirrorControl()
+
+
+
+ +

+HttpMirrorControl

+
+public HttpMirrorControl(int port)
+
+
+ + + + + + + + +
+Method Detail
+ +

+setPort

+
+public void setPort(int port)
+
+
+
+
+
+
+ +

+setPort

+
+public void setPort(String port)
+
+
+
+
+
+
+ +

+getPort

+
+public int getPort()
+
+
+
+
+
+
+ +

+getPortString

+
+public String getPortString()
+
+
+
+
+
+
+ +

+getMaxPoolSizeAsString

+
+public String getMaxPoolSizeAsString()
+
+
+ +
Returns:
Max Thread Pool size
+
+
+
+ +

+setMaxPoolSize

+
+public void setMaxPoolSize(String maxPoolSize)
+
+
+
Parameters:
maxPoolSize - Max Thread Pool size
+
+
+
+ +

+getMaxQueueSizeAsString

+
+public String getMaxQueueSizeAsString()
+
+
+ +
Returns:
Max Queue size
+
+
+
+ +

+setMaxQueueSize

+
+public void setMaxQueueSize(String maxQueueSize)
+
+
+
Parameters:
maxQueueSize - Max Queue size
+
+
+
+ +

+getDefaultPort

+
+public int getDefaultPort()
+
+
+
+
+
+
+ +

+startHttpMirror

+
+public void startHttpMirror()
+
+
+
+
+
+
+ +

+stopHttpMirror

+
+public void stopHttpMirror()
+
+
+
+
+
+
+ +

+canRemove

+
+public boolean canRemove()
+
+
Description copied from class: AbstractTestElement
+
Called by Remove to determine if it is safe to remove the element. The + element can either clean itself up, and return true, or the element can + return false. +

+

+
Specified by:
canRemove in interface TestElement
Overrides:
canRemove in class AbstractTestElement
+
+
+ +
Returns:
true if safe to remove the element
+
+
+
+ +

+isServerAlive

+
+public boolean isServerAlive()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/control/HttpMirrorServer.html b/docs/api/org/apache/jmeter/protocol/http/control/HttpMirrorServer.html new file mode 100644 index 00000000000..32eebcece71 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/control/HttpMirrorServer.html @@ -0,0 +1,405 @@ + + + + + +HttpMirrorServer (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.control +
+Class HttpMirrorServer

+
+java.lang.Object
+  extended by java.lang.Thread
+      extended by org.apache.jmeter.protocol.http.control.HttpMirrorServer
+
+
+
All Implemented Interfaces:
Runnable, Stoppable
+
+
+
+
public class HttpMirrorServer
extends Thread
implements Stoppable
+ + +

+Server daemon thread. + Creates main socket and listens on it. + For each client request, creates a thread to handle the request. +

+ +

+


+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
+  + + + + + + + + + + + + + +
+Constructor Summary
HttpMirrorServer(int port) + +
+          Create a new Daemon with the specified port and target.
HttpMirrorServer(int port, + int maxThreadPoolSize, + int maxQueueSize) + +
+          Create a new Daemon with the specified port and target.
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ ExceptiongetException() + +
+           
+static voidmain(String[] args) + +
+           
+ voidrun() + +
+          Listen on the daemon port and handle incoming requests.
+ voidstopServer() + +
+          Stop server
+ + + + + + + +
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+HttpMirrorServer

+
+public HttpMirrorServer(int port)
+
+
Create a new Daemon with the specified port and target. +

+

+
Parameters:
port - the port to listen on.
+
+
+ +

+HttpMirrorServer

+
+public HttpMirrorServer(int port,
+                        int maxThreadPoolSize,
+                        int maxQueueSize)
+
+
Create a new Daemon with the specified port and target. +

+

+
Parameters:
port - the port to listen on.
maxThreadPoolSize - Max Thread pool size
maxQueueSize - Max Queue size
+
+ + + + + + + + +
+Method Detail
+ +

+run

+
+public void run()
+
+
Listen on the daemon port and handle incoming requests. This method will + not exit until stopServer() is called or an error occurs. +

+

+
Specified by:
run in interface Runnable
Overrides:
run in class Thread
+
+
+
+
+
+
+ +

+stopServer

+
+public void stopServer()
+
+
Description copied from interface: Stoppable
+
Stop server +

+

+
Specified by:
stopServer in interface Stoppable
+
+
+
+
+
+
+ +

+getException

+
+public Exception getException()
+
+
+
+
+
+
+
+
+
+ +

+main

+
+public static void main(String[] args)
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/control/HttpMirrorThread.html b/docs/api/org/apache/jmeter/protocol/http/control/HttpMirrorThread.html new file mode 100644 index 00000000000..76bc5767770 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/control/HttpMirrorThread.html @@ -0,0 +1,272 @@ + + + + + +HttpMirrorThread (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.control +
+Class HttpMirrorThread

+
+java.lang.Object
+  extended by org.apache.jmeter.protocol.http.control.HttpMirrorThread
+
+
+
All Implemented Interfaces:
Runnable
+
+
+
+
public class HttpMirrorThread
extends Object
implements Runnable
+ + +

+Thread to handle one client request. Gets the request from the client and + sends the response back to the client. + The server responds to some header settings: + X-ResponseStatus - the response code/message; default "200 OK" + X-SetHeaders - pipe-separated list of headers to return + X-ResponseLength - truncates the response to the stated length + X-SetCookie - set a cookie + X-Sleep - sleep before returning + + It also responds to some query strings: + status=nnn Message (overrides X-ResponseStatus) + redirect=location - sends a temporary redirect + v - verbose, i.e. print some details to stdout +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
HttpMirrorThread(Socket _clientSocket) + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ voidrun() + +
+          Main processing method for the HttpMirror object
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+HttpMirrorThread

+
+public HttpMirrorThread(Socket _clientSocket)
+
+
+ + + + + + + + +
+Method Detail
+ +

+run

+
+public void run()
+
+
Main processing method for the HttpMirror object +

+

+
Specified by:
run in interface Runnable
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/control/KerberosManager.html b/docs/api/org/apache/jmeter/protocol/http/control/KerberosManager.html new file mode 100644 index 00000000000..eff5c9c9872 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/control/KerberosManager.html @@ -0,0 +1,352 @@ + + + + + +KerberosManager (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.control +
+Class KerberosManager

+
+java.lang.Object
+  extended by org.apache.jmeter.protocol.http.control.KerberosManager
+
+
+
All Implemented Interfaces:
Serializable
+
+
+
+
public class KerberosManager
extends Object
implements Serializable
+ + +

+Takes in charge Kerberos auth mechanism +

+ +

+

+
Since:
+
2.10
+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
KerberosManager() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetJaasConf() + +
+           
+ StringgetKrb5Conf() + +
+           
+ booleangetKrb5Debug() + +
+           
+ SubjectgetSubjectForUser(String username, + String password) + +
+           
+ StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+KerberosManager

+
+public KerberosManager()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getSubjectForUser

+
+public Subject getSubjectForUser(String username,
+                                 String password)
+
+
+
+
+
+
+
+
+
+ +

+getKrb5Conf

+
+public String getKrb5Conf()
+
+
+
+
+
+
+
+
+
+ +

+getKrb5Debug

+
+public boolean getKrb5Debug()
+
+
+
+
+
+
+
+
+
+ +

+getJaasConf

+
+public String getJaasConf()
+
+
+
+
+
+
+
+
+
+ +

+toString

+
+public String toString()
+
+
+
Overrides:
toString in class Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/control/RecordingController.html b/docs/api/org/apache/jmeter/protocol/http/control/RecordingController.html new file mode 100644 index 00000000000..009514a9458 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/control/RecordingController.html @@ -0,0 +1,281 @@ + + + + + +RecordingController (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.control +
+Class RecordingController

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.control.GenericController
+          extended by org.apache.jmeter.protocol.http.control.RecordingController
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Controller, Searchable, TestElement, TestCompilerHelper
+
+
+
+
public class RecordingController
extends GenericController
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.control.GenericController
current, subControllersAndSamplers
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
RecordingController() + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class org.apache.jmeter.control.GenericController
addIterationListener, addTestElement, addTestElementOnce, currentReturnedNull, fireIterationStart, fireIterEvents, getCurrentElement, getIterCount, getSubControllers, incrementCurrent, incrementIterCount, initialize, initializeSubControllers, isDone, isFirst, next, nextIsAController, nextIsASampler, nextIsNull, readResolve, reInitialize, reInitializeSubController, removeCurrentElement, removeIterationListener, resetCurrent, resetIterCount, setCurrentElement, setDone, setFirst, triggerEndOfLoop
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.testelement.TestElement
canRemove, clear, clearTestElementChildren, clone, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+RecordingController

+
+public RecordingController()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/control/gui/AjpSamplerGui.html b/docs/api/org/apache/jmeter/protocol/http/control/gui/AjpSamplerGui.html new file mode 100644 index 00000000000..6f4dd507661 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/control/gui/AjpSamplerGui.html @@ -0,0 +1,491 @@ + + + + + +AjpSamplerGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.control.gui +
+Class AjpSamplerGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.samplers.gui.AbstractSamplerGui
+                          extended by org.apache.jmeter.protocol.http.control.gui.HttpTestSampleGui
+                              extended by org.apache.jmeter.protocol.http.control.gui.AjpSamplerGui
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
+
public class AjpSamplerGui
extends HttpTestSampleGui
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
AjpSamplerGui() + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ TestElementcreateTestElement() + +
+          JMeter test components are separated into a model and a GUI + representation.
+ StringgetDocAnchor() + +
+          Compute Anchor value to find reference in documentation for a particular component
+ StringgetStaticLabel() + +
+          Get the component's label.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.protocol.http.control.gui.HttpTestSampleGui
clearGui, configure, createEmbeddedRsrcPanel, createOptionalTasksPanel, createSourceAddrPanel, getLabelResource, getPreferredSize, modifyTestElement
+ + + + + + + +
Methods inherited from class org.apache.jmeter.samplers.gui.AbstractSamplerGui
createPopupMenu, getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getName, getNamePanel, getPrintableComponent, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+AjpSamplerGui

+
+public AjpSamplerGui()
+
+
+ + + + + + + + +
+Method Detail
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
Description copied from class: HttpTestSampleGui
+
JMeter test components are separated into a model and a GUI + representation. The model holds the data and the GUI displays it. The GUI + class is responsible for knowing how to create and initialize with data + the model class that it knows how to display, and this method is called + when new test elements are created. +

+

+
Specified by:
createTestElement in interface JMeterGUIComponent
Overrides:
createTestElement in class HttpTestSampleGui
+
+
+ +
Returns:
the Test Element object that the GUI component represents.
+
+
+
+ +

+getStaticLabel

+
+public String getStaticLabel()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's label. This label is used in drop down lists that + give the user the option of choosing one type of component in a list of + many. It should therefore be a descriptive name for the end user to see. + It must be unique to the class. + + It is also used by Help to find the appropriate location in the + documentation. + + Normally getLabelResource() should be overridden instead of + this method; the definition of this method in AbstractJMeterGuiComponent + is intended for general use. +

+

+
Specified by:
getStaticLabel in interface JMeterGUIComponent
Overrides:
getStaticLabel in class AbstractJMeterGuiComponent
+
+
+ +
Returns:
GUI label for the component.
See Also:
JMeterGUIComponent.getLabelResource()
+
+
+
+ +

+getDocAnchor

+
+public String getDocAnchor()
+
+
Description copied from class: AbstractJMeterGuiComponent
+
Compute Anchor value to find reference in documentation for a particular component +

+

+
Specified by:
getDocAnchor in interface JMeterGUIComponent
Overrides:
getDocAnchor in class AbstractJMeterGuiComponent
+
+
+ +
Returns:
String anchor
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/control/gui/HttpMirrorControlGui.html b/docs/api/org/apache/jmeter/protocol/http/control/gui/HttpMirrorControlGui.html new file mode 100644 index 00000000000..9e06486b983 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/control/gui/HttpMirrorControlGui.html @@ -0,0 +1,602 @@ + + + + + +HttpMirrorControlGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.control.gui +
+Class HttpMirrorControlGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.control.gui.AbstractControllerGui
+                          extended by org.apache.jmeter.control.gui.LogicControllerGui
+                              extended by org.apache.jmeter.protocol.http.control.gui.HttpMirrorControlGui
+
+
+
All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, ClearGui, JMeterGUIComponent, UnsharedComponent, Printable
+
+
+
+
public class HttpMirrorControlGui
extends LogicControllerGui
implements JMeterGUIComponent, ActionListener, UnsharedComponent
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
HttpMirrorControlGui() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidactionPerformed(ActionEvent action) + +
+           
+ voidclearGui() + +
+          Provides a default implementation that resets the name field to the value of + getStaticLabel(), reset comment and sets enabled to true.
+ voidconfigure(TestElement element) + +
+          A newly created gui component can be initialized with the contents of a + Test Element object by calling this method.
+ TestElementcreateTestElement() + +
+          JMeter test components are separated into a model and a GUI + representation.
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ Collection<String>getMenuCategories() + +
+          This is the list of menu categories this gui component will be available + under.
+ voidmodifyTestElement(TestElement el) + +
+          Modifies a given TestElement to mirror the data in the gui components.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.control.gui.AbstractControllerGui
createPopupMenu
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.gui.JMeterGUIComponent
createPopupMenu, getDocAnchor, getName, getStaticLabel, isEnabled, setEnabled, setName
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+HttpMirrorControlGui

+
+public HttpMirrorControlGui()
+
+
+ + + + + + + + +
+Method Detail
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
Description copied from interface: JMeterGUIComponent
+
JMeter test components are separated into a model and a GUI + representation. The model holds the data and the GUI displays it. The GUI + class is responsible for knowing how to create and initialize with data + the model class that it knows how to display, and this method is called + when new test elements are created. +

+

+
Specified by:
createTestElement in interface JMeterGUIComponent
Overrides:
createTestElement in class LogicControllerGui
+
+
+ +
Returns:
the Test Element object that the GUI component represents.
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement el)
+
+
Modifies a given TestElement to mirror the data in the gui components. +

+

+
Specified by:
modifyTestElement in interface JMeterGUIComponent
Overrides:
modifyTestElement in class LogicControllerGui
+
+
+
Parameters:
el - the TestElement to modify
See Also:
JMeterGUIComponent.modifyTestElement(TestElement)
+
+
+
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+
Specified by:
getLabelResource in interface JMeterGUIComponent
Overrides:
getLabelResource in class LogicControllerGui
+
+
+ +
Returns:
the resource name
+
+
+
+ +

+getMenuCategories

+
+public Collection<String> getMenuCategories()
+
+
Description copied from class: AbstractControllerGui
+
This is the list of menu categories this gui component will be available + under. This implementation returns + MenuFactory.CONTROLLERS, which is + appropriate for most controller components. +

+

+
Specified by:
getMenuCategories in interface JMeterGUIComponent
Overrides:
getMenuCategories in class AbstractControllerGui
+
+
+ +
Returns:
a Collection of Strings, where each element is one of the + constants defined in MenuFactory
See Also:
MenuFactory
+
+
+
+ +

+configure

+
+public void configure(TestElement element)
+
+
Description copied from class: AbstractJMeterGuiComponent
+
A newly created gui component can be initialized with the contents of a + Test Element object by calling this method. The component is responsible + for querying the Test Element object for the relevant information to + display in its GUI. +

+ AbstractJMeterGuiComponent provides a partial implementation of this + method, setting the name of the component and its enabled status. + Subclasses should override this method, performing their own + configuration as needed, but also calling this super-implementation. +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class AbstractJMeterGuiComponent
+
+
+
Parameters:
element - the TestElement to configure
+
+
+
+ +

+actionPerformed

+
+public void actionPerformed(ActionEvent action)
+
+
+
Specified by:
actionPerformed in interface ActionListener
+
+
+
+
+
+
+ +

+clearGui

+
+public void clearGui()
+
+
Description copied from class: AbstractJMeterGuiComponent
+
Provides a default implementation that resets the name field to the value of + getStaticLabel(), reset comment and sets enabled to true. Your GUI may need more things + cleared, in which case you should override, clear the extra fields, and + still call super.clearGui(). +

+

+
Specified by:
clearGui in interface ClearGui
Overrides:
clearGui in class AbstractJMeterGuiComponent
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/control/gui/HttpTestSampleGui.html b/docs/api/org/apache/jmeter/protocol/http/control/gui/HttpTestSampleGui.html new file mode 100644 index 00000000000..d0e7428c126 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/control/gui/HttpTestSampleGui.html @@ -0,0 +1,638 @@ + + + + + +HttpTestSampleGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.control.gui +
+Class HttpTestSampleGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.samplers.gui.AbstractSamplerGui
+                          extended by org.apache.jmeter.protocol.http.control.gui.HttpTestSampleGui
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
Direct Known Subclasses:
AjpSamplerGui
+
+
+
+
public class HttpTestSampleGui
extends AbstractSamplerGui
+ + +

+HTTP Sampler GUI +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + + + + + + +
+Constructor Summary
+ HttpTestSampleGui() + +
+           
+protected HttpTestSampleGui(boolean ajp) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclearGui() + +
+          Provides a default implementation that resets the name field to the value of + getStaticLabel(), reset comment and sets enabled to true.
+ voidconfigure(TestElement element) + +
+          A newly created gui component can be initialized with the contents of a + Test Element object by calling this method.
+protected  JPanelcreateEmbeddedRsrcPanel() + +
+           
+protected  JPanelcreateOptionalTasksPanel() + +
+           
+protected  JPanelcreateSourceAddrPanel() + +
+           
+ TestElementcreateTestElement() + +
+          JMeter test components are separated into a model and a GUI + representation.
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ DimensiongetPreferredSize() + +
+          
+ voidmodifyTestElement(TestElement sampler) + +
+          Modifies a given TestElement to mirror the data in the gui components.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.samplers.gui.AbstractSamplerGui
createPopupMenu, getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+HttpTestSampleGui

+
+public HttpTestSampleGui()
+
+
+
+ +

+HttpTestSampleGui

+
+protected HttpTestSampleGui(boolean ajp)
+
+
+ + + + + + + + +
+Method Detail
+ +

+configure

+
+public void configure(TestElement element)
+
+
A newly created gui component can be initialized with the contents of a + Test Element object by calling this method. The component is responsible + for querying the Test Element object for the relevant information to + display in its GUI. +

+ AbstractJMeterGuiComponent provides a partial implementation of this + method, setting the name of the component and its enabled status. + Subclasses should override this method, performing their own + configuration as needed, but also calling this super-implementation. +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class AbstractJMeterGuiComponent
+
+
+
Parameters:
element - the TestElement to configure
+
+
+
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
JMeter test components are separated into a model and a GUI + representation. The model holds the data and the GUI displays it. The GUI + class is responsible for knowing how to create and initialize with data + the model class that it knows how to display, and this method is called + when new test elements are created. +

+

+ +
Returns:
the Test Element object that the GUI component represents.
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement sampler)
+
+
Modifies a given TestElement to mirror the data in the gui components. +

+ GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components. This method should + overwrite whatever data is currently in the TestElement as it is called + after a user has filled out the form elements in the gui with new + information. +

+

+
Parameters:
sampler - the TestElement to modify
+
+
+
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+ +
Returns:
the resource name
+
+
+
+ +

+createEmbeddedRsrcPanel

+
+protected JPanel createEmbeddedRsrcPanel()
+
+
+
+
+
+
+ +

+createOptionalTasksPanel

+
+protected JPanel createOptionalTasksPanel()
+
+
+
+
+
+
+ +

+createSourceAddrPanel

+
+protected JPanel createSourceAddrPanel()
+
+
+
+
+
+
+ +

+getPreferredSize

+
+public Dimension getPreferredSize()
+
+
+

+

+
Overrides:
getPreferredSize in class JComponent
+
+
+
+
+
+
+ +

+clearGui

+
+public void clearGui()
+
+
Provides a default implementation that resets the name field to the value of + getStaticLabel(), reset comment and sets enabled to true. Your GUI may need more things + cleared, in which case you should override, clear the extra fields, and + still call super.clearGui(). +

+

+
Specified by:
clearGui in interface ClearGui
Overrides:
clearGui in class AbstractJMeterGuiComponent
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/control/gui/RecordController.html b/docs/api/org/apache/jmeter/protocol/http/control/gui/RecordController.html new file mode 100644 index 00000000000..c8303a26d24 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/control/gui/RecordController.html @@ -0,0 +1,462 @@ + + + + + +RecordController (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.control.gui +
+Class RecordController

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.control.gui.AbstractControllerGui
+                          extended by org.apache.jmeter.control.gui.LogicControllerGui
+                              extended by org.apache.jmeter.protocol.http.control.gui.RecordController
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
+
public class RecordController
extends LogicControllerGui
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
RecordController() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ TestElementcreateTestElement() + +
+          JMeter test components are separated into a model and a GUI + representation.
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.control.gui.LogicControllerGui
modifyTestElement
+ + + + + + + +
Methods inherited from class org.apache.jmeter.control.gui.AbstractControllerGui
createPopupMenu, getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
clearGui, configure, configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+RecordController

+
+public RecordController()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+
Specified by:
getLabelResource in interface JMeterGUIComponent
Overrides:
getLabelResource in class LogicControllerGui
+
+
+ +
Returns:
the resource name
+
+
+
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
Description copied from interface: JMeterGUIComponent
+
JMeter test components are separated into a model and a GUI + representation. The model holds the data and the GUI displays it. The GUI + class is responsible for knowing how to create and initialize with data + the model class that it knows how to display, and this method is called + when new test elements are created. +

+

+
Specified by:
createTestElement in interface JMeterGUIComponent
Overrides:
createTestElement in class LogicControllerGui
+
+
+ +
Returns:
the Test Element object that the GUI component represents.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/control/gui/SoapSamplerGui.html b/docs/api/org/apache/jmeter/protocol/http/control/gui/SoapSamplerGui.html new file mode 100644 index 00000000000..680f8c3b488 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/control/gui/SoapSamplerGui.html @@ -0,0 +1,547 @@ + + + + + +SoapSamplerGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.control.gui +
+Class SoapSamplerGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.samplers.gui.AbstractSamplerGui
+                          extended by org.apache.jmeter.protocol.http.control.gui.SoapSamplerGui
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
+
public class SoapSamplerGui
extends AbstractSamplerGui
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
SoapSamplerGui() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclearGui() + +
+          Implements JMeterGUIComponent.clearGui
+ voidconfigure(TestElement el) + +
+          A newly created gui component can be initialized with the contents of a + Test Element object by calling this method.
+ TestElementcreateTestElement() + +
+          JMeter test components are separated into a model and a GUI + representation.
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ DimensiongetPreferredSize() + +
+          
+ voidmodifyTestElement(TestElement s) + +
+          Modifies a given TestElement to mirror the data in the gui components.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.samplers.gui.AbstractSamplerGui
createPopupMenu, getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SoapSamplerGui

+
+public SoapSamplerGui()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+ +
Returns:
the resource name
+
+
+
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
JMeter test components are separated into a model and a GUI + representation. The model holds the data and the GUI displays it. The GUI + class is responsible for knowing how to create and initialize with data + the model class that it knows how to display, and this method is called + when new test elements are created. +

+

+ +
Returns:
the Test Element object that the GUI component represents.
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement s)
+
+
Modifies a given TestElement to mirror the data in the gui components. +

+

+
Parameters:
s - the TestElement to modify
See Also:
JMeterGUIComponent.modifyTestElement(TestElement)
+
+
+
+ +

+clearGui

+
+public void clearGui()
+
+
Implements JMeterGUIComponent.clearGui +

+

+
Specified by:
clearGui in interface ClearGui
Overrides:
clearGui in class AbstractJMeterGuiComponent
+
+
+
+
+
+
+ +

+configure

+
+public void configure(TestElement el)
+
+
A newly created gui component can be initialized with the contents of a + Test Element object by calling this method. The component is responsible + for querying the Test Element object for the relevant information to + display in its GUI. +

+ AbstractJMeterGuiComponent provides a partial implementation of this + method, setting the name of the component and its enabled status. + Subclasses should override this method, performing their own + configuration as needed, but also calling this super-implementation. +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class AbstractJMeterGuiComponent
+
+
+
Parameters:
el - the TestElement to configure
+
+
+
+ +

+getPreferredSize

+
+public Dimension getPreferredSize()
+
+
+

+

+
Overrides:
getPreferredSize in class JComponent
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/control/gui/WebServiceSamplerGui.html b/docs/api/org/apache/jmeter/protocol/http/control/gui/WebServiceSamplerGui.html new file mode 100644 index 00000000000..3ecbd679d08 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/control/gui/WebServiceSamplerGui.html @@ -0,0 +1,613 @@ + + + + + +WebServiceSamplerGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.control.gui +
+Class WebServiceSamplerGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.samplers.gui.AbstractSamplerGui
+                          extended by org.apache.jmeter.protocol.http.control.gui.WebServiceSamplerGui
+
+
+
All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
+
public class WebServiceSamplerGui
extends AbstractSamplerGui
implements ActionListener
+ + +

+This is the GUI for the webservice samplers. It extends AbstractSamplerGui + and is modeled after the SOAP sampler GUI. I've added instructional notes to + the GUI for instructional purposes. XML parsing is pretty heavy weight, + therefore the notes address those situations.
+ Created on: Jun 26, 2003 +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
WebServiceSamplerGui() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidactionPerformed(ActionEvent event) + +
+          method from ActionListener
+ String[]browseWSDL(String url, + boolean silent) + +
+          The method uses WSDLHelper to get the information from the WSDL.
+ voidclearGui() + +
+          Implements JMeterGUIComponent.clearGui
+ voidconfigure(TestElement el) + +
+          the implementation loads the URL and the soap action for the request.
+ voidconfigureFromWSDL() + +
+          configure the sampler from the WSDL.
+ TestElementcreateTestElement() + +
+          JMeter test components are separated into a model and a GUI + representation.
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ voidmodifyTestElement(TestElement s) + +
+          Modifies a given TestElement to mirror the data in the gui components.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.samplers.gui.AbstractSamplerGui
createPopupMenu, getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+WebServiceSamplerGui

+
+public WebServiceSamplerGui()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+
Specified by:
getLabelResource in interface JMeterGUIComponent
+
+
+ +
Returns:
the resource name
+
+
+
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
Description copied from interface: JMeterGUIComponent
+
JMeter test components are separated into a model and a GUI + representation. The model holds the data and the GUI displays it. The GUI + class is responsible for knowing how to create and initialize with data + the model class that it knows how to display, and this method is called + when new test elements are created. +

+

+
Specified by:
createTestElement in interface JMeterGUIComponent
+
+
+ +
Returns:
the Test Element object that the GUI component represents.
See Also:
JMeterGUIComponent.createTestElement()
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement s)
+
+
Modifies a given TestElement to mirror the data in the gui components. +

+

+
Specified by:
modifyTestElement in interface JMeterGUIComponent
+
+
+
Parameters:
s - the TestElement to modify
See Also:
JMeterGUIComponent.modifyTestElement(TestElement)
+
+
+
+ +

+clearGui

+
+public void clearGui()
+
+
Implements JMeterGUIComponent.clearGui +

+

+
Specified by:
clearGui in interface ClearGui
Overrides:
clearGui in class AbstractJMeterGuiComponent
+
+
+
+
+
+
+ +

+configure

+
+public void configure(TestElement el)
+
+
the implementation loads the URL and the soap action for the request. +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class AbstractJMeterGuiComponent
+
+
+
Parameters:
el - the TestElement to configure
+
+
+
+ +

+configureFromWSDL

+
+public void configureFromWSDL()
+
+
configure the sampler from the WSDL. If the WSDL did not include service + node, it will use the original URL minus the querystring. That may not be + correct, so we should probably add a note. For Microsoft webservices it + will work, since that's how IIS works. +

+

+
+
+
+
+
+
+
+ +

+browseWSDL

+
+public String[] browseWSDL(String url,
+                           boolean silent)
+
+
The method uses WSDLHelper to get the information from the WSDL. Since + the logic for getting the description is isolated to this method, we can + easily replace it with a different WSDL driver later on. +

+

+
+
+
+
Parameters:
url - URL to the WSDL
silent - flag whether errors parsing the WSDL should be shown to the + user. If true errors will be silently ignored +
Returns:
array of web methods
+
+
+
+ +

+actionPerformed

+
+public void actionPerformed(ActionEvent event)
+
+
method from ActionListener +

+

+
Specified by:
actionPerformed in interface ActionListener
+
+
+
Parameters:
event - that occurred
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/control/gui/package-frame.html b/docs/api/org/apache/jmeter/protocol/http/control/gui/package-frame.html new file mode 100644 index 00000000000..ca43fa43a9a --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/control/gui/package-frame.html @@ -0,0 +1,40 @@ + + + + + +org.apache.jmeter.protocol.http.control.gui (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.protocol.http.control.gui + + + + +
+Classes  + +
+AjpSamplerGui +
+HttpMirrorControlGui +
+HttpTestSampleGui +
+RecordController +
+SoapSamplerGui +
+WebServiceSamplerGui
+ + + + diff --git a/docs/api/org/apache/jmeter/protocol/http/control/gui/package-summary.html b/docs/api/org/apache/jmeter/protocol/http/control/gui/package-summary.html new file mode 100644 index 00000000000..783768ef5a2 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/control/gui/package-summary.html @@ -0,0 +1,173 @@ + + + + + +org.apache.jmeter.protocol.http.control.gui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.protocol.http.control.gui +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
AjpSamplerGui 
HttpMirrorControlGui 
HttpTestSampleGuiHTTP Sampler GUI
RecordController 
SoapSamplerGui 
WebServiceSamplerGuiThis is the GUI for the webservice samplers.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/control/gui/package-tree.html b/docs/api/org/apache/jmeter/protocol/http/control/gui/package-tree.html new file mode 100644 index 00000000000..df6e65fceaf --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/control/gui/package-tree.html @@ -0,0 +1,173 @@ + + + + + +org.apache.jmeter.protocol.http.control.gui Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.protocol.http.control.gui +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/control/package-frame.html b/docs/api/org/apache/jmeter/protocol/http/control/package-frame.html new file mode 100644 index 00000000000..e2d5c859a8d --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/control/package-frame.html @@ -0,0 +1,80 @@ + + + + + +org.apache.jmeter.protocol.http.control (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.protocol.http.control + + + + +
+Interfaces  + +
+CookieHandler
+ + + + + + +
+Classes  + +
+AuthManager +
+Authorization +
+CacheManager +
+Cookie +
+CookieManager +
+DNSCacheManager +
+HC3CookieHandler +
+HC4CookieHandler +
+Header +
+HeaderManager +
+HttpMirrorControl +
+HttpMirrorServer +
+HttpMirrorThread +
+KerberosManager +
+RecordingController
+ + + + + + +
+Enums  + +
+AuthManager.Mechanism
+ + + + diff --git a/docs/api/org/apache/jmeter/protocol/http/control/package-summary.html b/docs/api/org/apache/jmeter/protocol/http/control/package-summary.html new file mode 100644 index 00000000000..712983edd18 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/control/package-summary.html @@ -0,0 +1,240 @@ + + + + + +org.apache.jmeter.protocol.http.control (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.protocol.http.control +

+ + + + + + + + + +
+Interface Summary
CookieHandlerInterface to be implemented by CookieHandler
+  + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
AuthManagerThis class provides a way to provide Authorization in jmeter requests.
AuthorizationThis class is an Authorization encapsulator.
CacheManagerHandles HTTP Caching
CookieThis class is a Cookie encapsulator.
CookieManagerThis class provides an interface to the netscape cookies file to pass cookies + along with a request.
DNSCacheManagerThis config element provides ability to have flexible control over DNS + caching function.
HC3CookieHandlerHTTPClient 3.1 implementation
HC4CookieHandler 
HeaderThis class is an HTTP Header encapsulator.
HeaderManagerThis class provides an interface to headers file to pass HTTP headers along + with a request.
HttpMirrorControlTest element that implements the Workbench HTTP Mirror function
HttpMirrorServerServer daemon thread.
HttpMirrorThreadThread to handle one client request.
KerberosManagerTakes in charge Kerberos auth mechanism
RecordingController 
+  + +

+ + + + + + + + + +
+Enum Summary
AuthManager.Mechanism 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/control/package-tree.html b/docs/api/org/apache/jmeter/protocol/http/control/package-tree.html new file mode 100644 index 00000000000..7bbd8b6ce59 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/control/package-tree.html @@ -0,0 +1,189 @@ + + + + + +org.apache.jmeter.protocol.http.control Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.protocol.http.control +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +

+Enum Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/gui/AuthPanel.html b/docs/api/org/apache/jmeter/protocol/http/gui/AuthPanel.html new file mode 100644 index 00000000000..e122160535b --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/gui/AuthPanel.html @@ -0,0 +1,586 @@ + + + + + +AuthPanel (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.gui +
+Class AuthPanel

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.config.gui.AbstractConfigGui
+                          extended by org.apache.jmeter.protocol.http.gui.AuthPanel
+
+
+
All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
+
public class AuthPanel
extends AbstractConfigGui
implements ActionListener
+ + +

+Handles input for determining if authentication services are required for a + Sampler. It also understands how to get AuthManagers for the files that the + user selects. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
AuthPanel() + +
+          Default Constructor.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidactionPerformed(ActionEvent e) + +
+           
+ voidclearGui() + +
+          Implements JMeterGUIComponent.clear
+ voidconfigure(TestElement el) + +
+          A newly created gui component can be initialized with the contents of a + Test Element object by calling this method.
+ JPanelcreateAuthTablePanel() + +
+           
+ TestElementcreateTestElement() + +
+          JMeter test components are separated into a model and a GUI + representation.
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ voidmodifyTestElement(TestElement el) + +
+          Modifies a given TestElement to mirror the data in the gui components.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.config.gui.AbstractConfigGui
createPopupMenu, getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+AuthPanel

+
+public AuthPanel()
+
+
Default Constructor. +

+

+ + + + + + + + +
+Method Detail
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
Description copied from interface: JMeterGUIComponent
+
JMeter test components are separated into a model and a GUI + representation. The model holds the data and the GUI displays it. The GUI + class is responsible for knowing how to create and initialize with data + the model class that it knows how to display, and this method is called + when new test elements are created. +

+

+
Specified by:
createTestElement in interface JMeterGUIComponent
+
+
+ +
Returns:
the Test Element object that the GUI component represents.
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement el)
+
+
Modifies a given TestElement to mirror the data in the gui components. +

+

+
Specified by:
modifyTestElement in interface JMeterGUIComponent
+
+
+
Parameters:
el - the TestElement to modify
See Also:
JMeterGUIComponent.modifyTestElement(TestElement)
+
+
+
+ +

+clearGui

+
+public void clearGui()
+
+
Implements JMeterGUIComponent.clear +

+

+
Specified by:
clearGui in interface ClearGui
Overrides:
clearGui in class AbstractJMeterGuiComponent
+
+
+
+
+
+
+ +

+configure

+
+public void configure(TestElement el)
+
+
Description copied from class: AbstractJMeterGuiComponent
+
A newly created gui component can be initialized with the contents of a + Test Element object by calling this method. The component is responsible + for querying the Test Element object for the relevant information to + display in its GUI. +

+ AbstractJMeterGuiComponent provides a partial implementation of this + method, setting the name of the component and its enabled status. + Subclasses should override this method, performing their own + configuration as needed, but also calling this super-implementation. +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class AbstractJMeterGuiComponent
+
+
+
Parameters:
el - the TestElement to configure
+
+
+
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+
Specified by:
getLabelResource in interface JMeterGUIComponent
+
+
+ +
Returns:
the resource name
+
+
+
+ +

+actionPerformed

+
+public void actionPerformed(ActionEvent e)
+
+
+
Specified by:
actionPerformed in interface ActionListener
+
+
+
+
+
+
+ +

+createAuthTablePanel

+
+public JPanel createAuthTablePanel()
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/gui/CacheManagerGui.html b/docs/api/org/apache/jmeter/protocol/http/gui/CacheManagerGui.html new file mode 100644 index 00000000000..c56876f255e --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/gui/CacheManagerGui.html @@ -0,0 +1,531 @@ + + + + + +CacheManagerGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.gui +
+Class CacheManagerGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.config.gui.AbstractConfigGui
+                          extended by org.apache.jmeter.protocol.http.gui.CacheManagerGui
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
+
public class CacheManagerGui
extends AbstractConfigGui
+ + +

+The GUI for the HTTP Cache Manager +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
CacheManagerGui() + +
+          Create a new LoginConfigGui as a standalone component.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclearGui() + +
+          Implements JMeterGUIComponent.clearGui
+ voidconfigure(TestElement element) + +
+          A newly created component can be initialized with the contents of a Test + Element object by calling this method.
+ TestElementcreateTestElement() + +
+          JMeter test components are separated into a model and a GUI + representation.
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ voidmodifyTestElement(TestElement element) + +
+          GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.config.gui.AbstractConfigGui
createPopupMenu, getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+CacheManagerGui

+
+public CacheManagerGui()
+
+
Create a new LoginConfigGui as a standalone component. +

+

+ + + + + + + + +
+Method Detail
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+ +
Returns:
the resource name
+
+
+
+ +

+configure

+
+public void configure(TestElement element)
+
+
A newly created component can be initialized with the contents of a Test + Element object by calling this method. The component is responsible for + querying the Test Element object for the relevant information to display + in its GUI. +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class AbstractJMeterGuiComponent
+
+
+
Parameters:
element - the TestElement to configure
+
+
+
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
Description copied from interface: JMeterGUIComponent
+
JMeter test components are separated into a model and a GUI + representation. The model holds the data and the GUI displays it. The GUI + class is responsible for knowing how to create and initialize with data + the model class that it knows how to display, and this method is called + when new test elements are created. +

+

+ +
Returns:
the Test Element object that the GUI component represents.
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement element)
+
+
Description copied from interface: JMeterGUIComponent
+
GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components. This method should + overwrite whatever data is currently in the TestElement as it is called + after a user has filled out the form elements in the gui with new + information. +

+

+
Parameters:
element - the TestElement to modify
+
+
+
+ +

+clearGui

+
+public void clearGui()
+
+
Implements JMeterGUIComponent.clearGui +

+

+
Specified by:
clearGui in interface ClearGui
Overrides:
clearGui in class AbstractJMeterGuiComponent
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/gui/CookiePanel.html b/docs/api/org/apache/jmeter/protocol/http/gui/CookiePanel.html new file mode 100644 index 00000000000..7ae969f43a4 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/gui/CookiePanel.html @@ -0,0 +1,587 @@ + + + + + +CookiePanel (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.gui +
+Class CookiePanel

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.config.gui.AbstractConfigGui
+                          extended by org.apache.jmeter.protocol.http.gui.CookiePanel
+
+
+
All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
+
public class CookiePanel
extends AbstractConfigGui
implements ActionListener
+ + +

+This is the GUI for Cookie Manager + + Allows the user to specify if she needs cookie services, and give parameters + for this service. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
CookiePanel() + +
+          Default constructor.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidactionPerformed(ActionEvent e) + +
+           
+ voidclearGui() + +
+          Implements JMeterGUIComponent.clearGui
+ voidconfigure(TestElement el) + +
+          A newly created gui component can be initialized with the contents of a + Test Element object by calling this method.
+ JPanelcreateCookieTablePanel() + +
+           
+ TestElementcreateTestElement() + +
+          JMeter test components are separated into a model and a GUI + representation.
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ voidmodifyTestElement(TestElement cm) + +
+          Modifies a given TestElement to mirror the data in the gui components.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.config.gui.AbstractConfigGui
createPopupMenu, getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+CookiePanel

+
+public CookiePanel()
+
+
Default constructor. +

+

+ + + + + + + + +
+Method Detail
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+
Specified by:
getLabelResource in interface JMeterGUIComponent
+
+
+ +
Returns:
the resource name
+
+
+
+ +

+actionPerformed

+
+public void actionPerformed(ActionEvent e)
+
+
+
Specified by:
actionPerformed in interface ActionListener
+
+
+
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement cm)
+
+
Modifies a given TestElement to mirror the data in the gui components. +

+

+
Specified by:
modifyTestElement in interface JMeterGUIComponent
+
+
+
Parameters:
cm - the TestElement to modify
See Also:
JMeterGUIComponent.modifyTestElement(TestElement)
+
+
+
+ +

+clearGui

+
+public void clearGui()
+
+
Implements JMeterGUIComponent.clearGui +

+

+
Specified by:
clearGui in interface ClearGui
Overrides:
clearGui in class AbstractJMeterGuiComponent
+
+
+
+
+
+
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
Description copied from interface: JMeterGUIComponent
+
JMeter test components are separated into a model and a GUI + representation. The model holds the data and the GUI displays it. The GUI + class is responsible for knowing how to create and initialize with data + the model class that it knows how to display, and this method is called + when new test elements are created. +

+

+
Specified by:
createTestElement in interface JMeterGUIComponent
+
+
+ +
Returns:
the Test Element object that the GUI component represents.
+
+
+
+ +

+configure

+
+public void configure(TestElement el)
+
+
Description copied from class: AbstractJMeterGuiComponent
+
A newly created gui component can be initialized with the contents of a + Test Element object by calling this method. The component is responsible + for querying the Test Element object for the relevant information to + display in its GUI. +

+ AbstractJMeterGuiComponent provides a partial implementation of this + method, setting the name of the component and its enabled status. + Subclasses should override this method, performing their own + configuration as needed, but also calling this super-implementation. +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class AbstractJMeterGuiComponent
+
+
+
Parameters:
el - the TestElement to configure
+
+
+
+ +

+createCookieTablePanel

+
+public JPanel createCookieTablePanel()
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/gui/DNSCachePanel.html b/docs/api/org/apache/jmeter/protocol/http/gui/DNSCachePanel.html new file mode 100644 index 00000000000..51a45346b3a --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/gui/DNSCachePanel.html @@ -0,0 +1,619 @@ + + + + + +DNSCachePanel (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.gui +
+Class DNSCachePanel

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.config.gui.AbstractConfigGui
+                          extended by org.apache.jmeter.protocol.http.gui.DNSCachePanel
+
+
+
All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
+
public class DNSCachePanel
extends AbstractConfigGui
implements ActionListener
+ + +

+This gui part of @see + DNSCacheManager. Using + radiobuttons, user can switch between using system DNS resolver and custom + resolver. Custom resolver functionality is provided by dnsjava library. + "DNS servers" may contain one or more IP/Name of dns server for resolving + name DNS servers are chosen via round-robin. If table is empty - system + resolver is used. +

+ +

+

+
Since:
+
2.12
+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + + + + + +
+Field Summary
+static StringOPTIONS + +
+           
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
DNSCachePanel() + +
+          Default constructor.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidactionPerformed(ActionEvent e) + +
+           
+ voidclearGui() + +
+          Implements JMeterGUIComponent.clearGui
+ voidconfigure(TestElement el) + +
+          A newly created gui component can be initialized with the contents of a + Test Element object by calling this method.
+ JPanelcreateDnsServersTablePanel() + +
+           
+ TestElementcreateTestElement() + +
+          JMeter test components are separated into a model and a GUI + representation.
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ voidmodifyTestElement(TestElement dnsRes) + +
+          Modifies a given TestElement to mirror the data in the gui components.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.config.gui.AbstractConfigGui
createPopupMenu, getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+OPTIONS

+
+public static final String OPTIONS
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+DNSCachePanel

+
+public DNSCachePanel()
+
+
Default constructor. +

+

+ + + + + + + + +
+Method Detail
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+
Specified by:
getLabelResource in interface JMeterGUIComponent
+
+
+ +
Returns:
the resource name
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement dnsRes)
+
+
Modifies a given TestElement to mirror the data in the gui components. +

+

+
Specified by:
modifyTestElement in interface JMeterGUIComponent
+
+
+
Parameters:
dnsRes - the TestElement to modify
See Also:
JMeterGUIComponent.modifyTestElement(org.apache.jmeter.testelement.TestElement)
+
+
+
+ +

+clearGui

+
+public void clearGui()
+
+
Implements JMeterGUIComponent.clearGui +

+

+
Specified by:
clearGui in interface ClearGui
Overrides:
clearGui in class AbstractJMeterGuiComponent
+
+
+
+
+
+
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
Description copied from interface: JMeterGUIComponent
+
JMeter test components are separated into a model and a GUI + representation. The model holds the data and the GUI displays it. The GUI + class is responsible for knowing how to create and initialize with data + the model class that it knows how to display, and this method is called + when new test elements are created. +

+

+
Specified by:
createTestElement in interface JMeterGUIComponent
+
+
+ +
Returns:
the Test Element object that the GUI component represents.
+
+
+
+ +

+configure

+
+public void configure(TestElement el)
+
+
Description copied from class: AbstractJMeterGuiComponent
+
A newly created gui component can be initialized with the contents of a + Test Element object by calling this method. The component is responsible + for querying the Test Element object for the relevant information to + display in its GUI. +

+ AbstractJMeterGuiComponent provides a partial implementation of this + method, setting the name of the component and its enabled status. + Subclasses should override this method, performing their own + configuration as needed, but also calling this super-implementation. +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class AbstractJMeterGuiComponent
+
+
+
Parameters:
el - the TestElement to configure
+
+
+
+ +

+createDnsServersTablePanel

+
+public JPanel createDnsServersTablePanel()
+
+
+
+
+
+
+
+
+
+ +

+actionPerformed

+
+public void actionPerformed(ActionEvent e)
+
+
+
Specified by:
actionPerformed in interface ActionListener
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/gui/HTTPArgumentsPanel.html b/docs/api/org/apache/jmeter/protocol/http/gui/HTTPArgumentsPanel.html new file mode 100644 index 00000000000..f374d8c414c --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/gui/HTTPArgumentsPanel.html @@ -0,0 +1,609 @@ + + + + + +HTTPArgumentsPanel (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.gui +
+Class HTTPArgumentsPanel

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.config.gui.AbstractConfigGui
+                          extended by org.apache.jmeter.config.gui.ArgumentsPanel
+                              extended by org.apache.jmeter.protocol.http.gui.HTTPArgumentsPanel
+
+
+
All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
+
public class HTTPArgumentsPanel
extends ArgumentsPanel
+ + +

+A GUI panel allowing the user to enter HTTP Parameters. + These have names and values, as well as check-boxes to determine whether or not to + include the "=" sign in the output and whether or not to encode the output. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.config.gui.ArgumentsPanel
COLUMN_RESOURCE_NAMES_0, COLUMN_RESOURCE_NAMES_1, COLUMN_RESOURCE_NAMES_2, tableModel
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
HTTPArgumentsPanel() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidconfigure(TestElement el) + +
+          A newly created component can be initialized with the contents of a Test + Element object by calling this method.
+ TestElementcreateTestElement() + +
+          JMeter test components are separated into a model and a GUI + representation.
+ ArgumentsgetParameters() + +
+          Convert the argument panel contents to an Arguments collection.
+protected  voidinitializeTableModel() + +
+          Initialize the table model used for the arguments table.
+protected  booleanisMetaDataNormal(HTTPArgument arg) + +
+           
+protected  HTTPArgumentmakeNewArgument() + +
+          Create a new Argument object.
+protected  voidsizeColumns(JTable table) + +
+          Resize the table columns to appropriate widths.
+static booleantestFunctors() + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.config.gui.ArgumentsPanel
actionPerformed, addArgument, addFromClipboard, checkDeleteStatus, clear, clearGui, deleteArgument, getAddButton, getDeleteButton, getLabelResource, getMenuCategories, getTable, getTableLabel, makeLabelPanel, modifyTestElement, stopTableEditing
+ + + + + + + +
Methods inherited from class org.apache.jmeter.config.gui.AbstractConfigGui
createPopupMenu
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+HTTPArgumentsPanel

+
+public HTTPArgumentsPanel()
+
+
+ + + + + + + + +
+Method Detail
+ +

+initializeTableModel

+
+protected void initializeTableModel()
+
+
Description copied from class: ArgumentsPanel
+
Initialize the table model used for the arguments table. +

+

+
Overrides:
initializeTableModel in class ArgumentsPanel
+
+
+
+
+
+
+ +

+testFunctors

+
+public static boolean testFunctors()
+
+
+
+
+
+
+ +

+sizeColumns

+
+protected void sizeColumns(JTable table)
+
+
Description copied from class: ArgumentsPanel
+
Resize the table columns to appropriate widths. +

+

+
Overrides:
sizeColumns in class ArgumentsPanel
+
+
+
Parameters:
table - the table to resize columns for
+
+
+
+ +

+makeNewArgument

+
+protected HTTPArgument makeNewArgument()
+
+
Description copied from class: ArgumentsPanel
+
Create a new Argument object. +

+

+
Overrides:
makeNewArgument in class ArgumentsPanel
+
+
+ +
Returns:
a new Argument object
+
+
+
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
Description copied from interface: JMeterGUIComponent
+
JMeter test components are separated into a model and a GUI + representation. The model holds the data and the GUI displays it. The GUI + class is responsible for knowing how to create and initialize with data + the model class that it knows how to display, and this method is called + when new test elements are created. +

+

+
Specified by:
createTestElement in interface JMeterGUIComponent
Overrides:
createTestElement in class ArgumentsPanel
+
+
+ +
Returns:
the Test Element object that the GUI component represents.
+
+
+
+ +

+getParameters

+
+public Arguments getParameters()
+
+
Convert the argument panel contents to an Arguments collection. +

+

+ +
Returns:
a collection of HTTPArgument entries
+
+
+
+ +

+configure

+
+public void configure(TestElement el)
+
+
Description copied from class: ArgumentsPanel
+
A newly created component can be initialized with the contents of a Test + Element object by calling this method. The component is responsible for + querying the Test Element object for the relevant information to display + in its GUI. +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class ArgumentsPanel
+
+
+
Parameters:
el - the TestElement to configure
+
+
+
+ +

+isMetaDataNormal

+
+protected boolean isMetaDataNormal(HTTPArgument arg)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/gui/HTTPFileArgsPanel.html b/docs/api/org/apache/jmeter/protocol/http/gui/HTTPFileArgsPanel.html new file mode 100644 index 00000000000..7d53521c96b --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/gui/HTTPFileArgsPanel.html @@ -0,0 +1,532 @@ + + + + + +HTTPFileArgsPanel (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.gui +
+Class HTTPFileArgsPanel

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.protocol.http.gui.HTTPFileArgsPanel
+
+
+
All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible
+
+
+
+
public class HTTPFileArgsPanel
extends JPanel
implements ActionListener
+ + +

+A GUI panel allowing the user to enter file information for http upload. + Used by MultipartUrlConfigGui for use in HTTP Samplers. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + + + + +
+Constructor Summary
HTTPFileArgsPanel() + +
+           
HTTPFileArgsPanel(String label) + +
+          Create a new HTTPFileArgsPanel as an embedded component, using the + specified title.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidactionPerformed(ActionEvent e) + +
+          Invoked when an action occurs.
+ voidclear() + +
+          Clear all rows from the table.
+ voidconfigure(TestElement testElement) + +
+          A newly created component can be initialized with the contents of a + HTTPSamplerBase object by calling this method.
+ voidmodifyTestElement(TestElement testElement) + +
+          Save the GUI data in the HTTPSamplerBase element.
+protected  voidstopTableEditing() + +
+          Stop any editing that is currently being done on the table.
+static booleantestFunctors() + +
+           
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+HTTPFileArgsPanel

+
+public HTTPFileArgsPanel()
+
+
+
+ +

+HTTPFileArgsPanel

+
+public HTTPFileArgsPanel(String label)
+
+
Create a new HTTPFileArgsPanel as an embedded component, using the + specified title. +

+

+
Parameters:
label - the title for the component.
+
+ + + + + + + + +
+Method Detail
+ +

+testFunctors

+
+public static boolean testFunctors()
+
+
+
+
+
+
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement testElement)
+
+
Save the GUI data in the HTTPSamplerBase element. +

+

+
+
+
+
Parameters:
testElement - TestElement to modify
+
+
+
+ +

+configure

+
+public void configure(TestElement testElement)
+
+
A newly created component can be initialized with the contents of a + HTTPSamplerBase object by calling this method. The component is responsible for + querying the Test Element object for the relevant information to display + in its GUI. +

+

+
+
+
+
Parameters:
testElement - the HTTPSamplerBase to be used to configure the GUI
+
+
+
+ +

+clear

+
+public void clear()
+
+
Clear all rows from the table. +

+

+
+
+
+
+
+
+
+ +

+actionPerformed

+
+public void actionPerformed(ActionEvent e)
+
+
Invoked when an action occurs. This implementation supports the add and + delete buttons. +

+

+
Specified by:
actionPerformed in interface ActionListener
+
+
+
Parameters:
e - the event that has occurred
+
+
+
+ +

+stopTableEditing

+
+protected void stopTableEditing()
+
+
Stop any editing that is currently being done on the table. This will + save any changes that have already been made. +

+

+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/gui/HeaderPanel.html b/docs/api/org/apache/jmeter/protocol/http/gui/HeaderPanel.html new file mode 100644 index 00000000000..9b0f812b505 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/gui/HeaderPanel.html @@ -0,0 +1,610 @@ + + + + + +HeaderPanel (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.gui +
+Class HeaderPanel

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.config.gui.AbstractConfigGui
+                          extended by org.apache.jmeter.protocol.http.gui.HeaderPanel
+
+
+
All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
+
public class HeaderPanel
extends AbstractConfigGui
implements ActionListener
+ + +

+Allows the user to specify if she needs HTTP header services, and give + parameters for this service. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
HeaderPanel() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidactionPerformed(ActionEvent e) + +
+           
+protected  voidaddFromClipboard() + +
+          Add values from the clipboard.
+ voidclearGui() + +
+          Implements JMeterGUIComponent.clearGui
+ voidconfigure(TestElement el) + +
+          A newly created gui component can be initialized with the contents of a + Test Element object by calling this method.
+ JPanelcreateHeaderTablePanel() + +
+           
+ TestElementcreateTestElement() + +
+          JMeter test components are separated into a model and a GUI + representation.
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ voidmodifyTestElement(TestElement el) + +
+          Modifies a given TestElement to mirror the data in the gui components.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.config.gui.AbstractConfigGui
createPopupMenu, getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+HeaderPanel

+
+public HeaderPanel()
+
+
+ + + + + + + + +
+Method Detail
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
Description copied from interface: JMeterGUIComponent
+
JMeter test components are separated into a model and a GUI + representation. The model holds the data and the GUI displays it. The GUI + class is responsible for knowing how to create and initialize with data + the model class that it knows how to display, and this method is called + when new test elements are created. +

+

+
Specified by:
createTestElement in interface JMeterGUIComponent
+
+
+ +
Returns:
the Test Element object that the GUI component represents.
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement el)
+
+
Modifies a given TestElement to mirror the data in the gui components. +

+

+
Specified by:
modifyTestElement in interface JMeterGUIComponent
+
+
+
Parameters:
el - the TestElement to modify
See Also:
JMeterGUIComponent.modifyTestElement(TestElement)
+
+
+
+ +

+clearGui

+
+public void clearGui()
+
+
Implements JMeterGUIComponent.clearGui +

+

+
Specified by:
clearGui in interface ClearGui
Overrides:
clearGui in class AbstractJMeterGuiComponent
+
+
+
+
+
+
+ +

+configure

+
+public void configure(TestElement el)
+
+
Description copied from class: AbstractJMeterGuiComponent
+
A newly created gui component can be initialized with the contents of a + Test Element object by calling this method. The component is responsible + for querying the Test Element object for the relevant information to + display in its GUI. +

+ AbstractJMeterGuiComponent provides a partial implementation of this + method, setting the name of the component and its enabled status. + Subclasses should override this method, performing their own + configuration as needed, but also calling this super-implementation. +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class AbstractJMeterGuiComponent
+
+
+
Parameters:
el - the TestElement to configure
+
+
+
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+
Specified by:
getLabelResource in interface JMeterGUIComponent
+
+
+ +
Returns:
the resource name
+
+
+
+ +

+actionPerformed

+
+public void actionPerformed(ActionEvent e)
+
+
+
Specified by:
actionPerformed in interface ActionListener
+
+
+
+
+
+
+ +

+addFromClipboard

+
+protected void addFromClipboard()
+
+
Add values from the clipboard. + The clipboard is first split into lines, and the lines are then split on ':' + to produce the header name and value. + Lines without a ':' are ignored. +

+

+
+
+
+
+
+
+
+ +

+createHeaderTablePanel

+
+public JPanel createHeaderTablePanel()
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/gui/package-frame.html b/docs/api/org/apache/jmeter/protocol/http/gui/package-frame.html new file mode 100644 index 00000000000..c0171db8f00 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/gui/package-frame.html @@ -0,0 +1,42 @@ + + + + + +org.apache.jmeter.protocol.http.gui (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.protocol.http.gui + + + + +
+Classes  + +
+AuthPanel +
+CacheManagerGui +
+CookiePanel +
+DNSCachePanel +
+HeaderPanel +
+HTTPArgumentsPanel +
+HTTPFileArgsPanel
+ + + + diff --git a/docs/api/org/apache/jmeter/protocol/http/gui/package-summary.html b/docs/api/org/apache/jmeter/protocol/http/gui/package-summary.html new file mode 100644 index 00000000000..d4fe77e5eb0 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/gui/package-summary.html @@ -0,0 +1,183 @@ + + + + + +org.apache.jmeter.protocol.http.gui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.protocol.http.gui +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
AuthPanelHandles input for determining if authentication services are required for a + Sampler.
CacheManagerGuiThe GUI for the HTTP Cache Manager
CookiePanelThis is the GUI for Cookie Manager + + Allows the user to specify if she needs cookie services, and give parameters + for this service.
DNSCachePanelThis gui part of @see + DNSCacheManager.
HeaderPanelAllows the user to specify if she needs HTTP header services, and give + parameters for this service.
HTTPArgumentsPanelA GUI panel allowing the user to enter HTTP Parameters.
HTTPFileArgsPanelA GUI panel allowing the user to enter file information for http upload.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/gui/package-tree.html b/docs/api/org/apache/jmeter/protocol/http/gui/package-tree.html new file mode 100644 index 00000000000..5815e8c246c --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/gui/package-tree.html @@ -0,0 +1,173 @@ + + + + + +org.apache.jmeter.protocol.http.gui Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.protocol.http.gui +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/modifier/AnchorModifier.html b/docs/api/org/apache/jmeter/protocol/http/modifier/AnchorModifier.html new file mode 100644 index 00000000000..47720d00441 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/modifier/AnchorModifier.html @@ -0,0 +1,308 @@ + + + + + +AnchorModifier (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.modifier +
+Class AnchorModifier

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.protocol.http.modifier.AnchorModifier
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Searchable, PreProcessor, TestElement
+
+
+
+
public class AnchorModifier
extends AbstractTestElement
implements PreProcessor, Serializable
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
AnchorModifier() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddConfigElement(ConfigElement config) + +
+           
+ voidprocess() + +
+          Modifies an Entry object based on HTML response text.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+AnchorModifier

+
+public AnchorModifier()
+
+
+ + + + + + + + +
+Method Detail
+ +

+process

+
+public void process()
+
+
Modifies an Entry object based on HTML response text. +

+

+
Specified by:
process in interface PreProcessor
+
+
+
+
+
+
+ +

+addConfigElement

+
+public void addConfigElement(ConfigElement config)
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/modifier/ParamMask.html b/docs/api/org/apache/jmeter/protocol/http/modifier/ParamMask.html new file mode 100644 index 00000000000..9b863e37b10 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/modifier/ParamMask.html @@ -0,0 +1,690 @@ + + + + + +ParamMask (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.modifier +
+Class ParamMask

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.protocol.http.modifier.ParamMask
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Searchable, TestElement
+
+
+
+
public class ParamMask
extends AbstractTestElement
implements Serializable
+ + +

+This object defines with what a parameter has its value replaced, and the + policies for how that value changes. Used in ParamModifier. +

+ +

+

+
Version:
+
$Revision: 1639483 $
+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
ParamMask() + +
+          Default constructor.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetFieldName() + +
+           
+ longgetIncrement() + +
+          Accessor method, returns the number by which the parameter value is + incremented between loops.
+ longgetLowerBound() + +
+          Accessor method, returns the lowest possible value that the + long portion of the parameter value may be.
+ StringgetNextValue() + +
+          Returns the current value, prefixed and suffixed, as a string, then + increments it.
+ StringgetPrefix() + +
+          Accessor method to return the String that will be prefixed + to the long value.
+ StringgetSuffix() + +
+          Accessor method to return the String that will be suffixed + to the long value.
+ longgetUpperBound() + +
+          Accessor method, returns the highest possible value that the + long portion of the parameter value may be.
+ voidresetValue() + +
+          This method determines the policy of what value to start (and re-start) + at.
+ voidsetFieldName(String fieldName) + +
+           
+ voidsetIncrement(long incr) + +
+          Sets the number by which the parameter value is incremented between + loops.
+ voidsetLowerBound(long val) + +
+          Sets the lowest possible value that the long portion of + the parameter value may be.
+ voidsetPrefix(String prefix) + +
+          Sets the prefix for the long value.
+ voidsetSuffix(String suffix) + +
+          Sets the suffix for the long value.
+ voidsetUpperBound(long val) + +
+          Sets the highest possible value that the long portion of + the parameter value may be.
+ voidsetValue(long val) + +
+          Set the current value of the long portion of the parameter + value to replace.
+ StringtoString() + +
+          For debugging purposes.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ParamMask

+
+public ParamMask()
+
+
Default constructor. +

+

+ + + + + + + + +
+Method Detail
+ +

+setPrefix

+
+public void setPrefix(String prefix)
+
+
Sets the prefix for the long value. The prefix, the value + and the suffix are concatenated to give the parameter value. This allows + a wider range of posibilities for the parameter values. +

+

+
+
+
+
Parameters:
prefix - a string to prefix to the parameter value
+
+
+
+ +

+setValue

+
+public void setValue(long val)
+
+
Set the current value of the long portion of the parameter + value to replace. This is usually not used, as the method + resetValue() is used to define a policy for the starting value. +

+

+
+
+
+
Parameters:
val - the new parameter value
+
+
+
+ +

+setFieldName

+
+public void setFieldName(String fieldName)
+
+
+
+
+
+
+
+
+
+ +

+setLowerBound

+
+public void setLowerBound(long val)
+
+
Sets the lowest possible value that the long portion of + the parameter value may be. +

+

+
+
+
+
Parameters:
val - the new lowest possible parameter value
+
+
+
+ +

+setUpperBound

+
+public void setUpperBound(long val)
+
+
Sets the highest possible value that the long portion of + the parameter value may be. +

+

+
+
+
+
Parameters:
val - the new highest possible parameter value
+
+
+
+ +

+setIncrement

+
+public void setIncrement(long incr)
+
+
Sets the number by which the parameter value is incremented between + loops. +

+

+
+
+
+
Parameters:
incr - the new increment for the parameter value
+
+
+
+ +

+setSuffix

+
+public void setSuffix(String suffix)
+
+
Sets the suffix for the long value. The prefix, the value + and the suffix are concatenated to give the parameter value. This allows + a wider range of posibilities for the parameter values. +

+

+
+
+
+
Parameters:
suffix - a string to suffix to the parameter value
+
+
+
+ +

+getPrefix

+
+public String getPrefix()
+
+
Accessor method to return the String that will be prefixed + to the long value. +

+

+
+
+
+ +
Returns:
the parameter value prefix
+
+
+
+ +

+getLowerBound

+
+public long getLowerBound()
+
+
Accessor method, returns the lowest possible value that the + long portion of the parameter value may be. +

+

+
+
+
+ +
Returns:
the lower bound of the possible values
+
+
+
+ +

+getUpperBound

+
+public long getUpperBound()
+
+
Accessor method, returns the highest possible value that the + long portion of the parameter value may be. +

+

+
+
+
+ +
Returns:
the higher bound of the possible values
+
+
+
+ +

+getIncrement

+
+public long getIncrement()
+
+
Accessor method, returns the number by which the parameter value is + incremented between loops. +

+

+
+
+
+ +
Returns:
the increment
+
+
+
+ +

+getSuffix

+
+public String getSuffix()
+
+
Accessor method to return the String that will be suffixed + to the long value. +

+

+
+
+
+ +
Returns:
the parameter value suffix
+
+
+
+ +

+getNextValue

+
+public String getNextValue()
+
+
Returns the current value, prefixed and suffixed, as a string, then + increments it. If the incremented value is above the upper bound, the + value is reset to the lower bound.
+

+ This method determines the policy of what happens when an upper bound is + reached/surpassed. +

+

+
+
+
+ +
Returns:
a String representing the current + long value
+
+
+
+ +

+resetValue

+
+public void resetValue()
+
+
This method determines the policy of what value to start (and re-start) + at. +

+

+
+
+
+
+
+
+
+ +

+getFieldName

+
+public String getFieldName()
+
+
+
+
+
+
+
+
+
+ +

+toString

+
+public String toString()
+
+
For debugging purposes. +

+

+
Overrides:
toString in class Object
+
+
+ +
Returns:
a String representing the object
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/modifier/ParamModifier.html b/docs/api/org/apache/jmeter/protocol/http/modifier/ParamModifier.html new file mode 100644 index 00000000000..f063900325f --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/modifier/ParamModifier.html @@ -0,0 +1,481 @@ + + + + + +ParamModifier (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.modifier +
+Class ParamModifier

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.protocol.http.modifier.ParamModifier
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Searchable, PreProcessor, TestElement, TestStateListener
+
+
+
+
public class ParamModifier
extends AbstractTestElement
implements TestStateListener, PreProcessor, Serializable
+ + +

+This modifier will replace any single http sampler's url parameter value with + a value from a given range - thereby "masking" the value set in the http + sampler. The parameter names must match exactly, and the parameter value must + be preset to "*" to diferentiate between duplicate parameter names. +

+ For example, if you set up the modifier with a lower bound of 1, an upper + bound of 10, and an increment of 2, and run the loop 12 times, the parameter + will have the following values (one per loop): 1, 3, 5, 7, 9, 1, 3, 5, 7, 9, + 1, 3 +

+ The ParamMask object contains most of the logic for stepping through + this loop. You can make large modifications to this modifier's behaviour by + changing one or two method implementations there. +

+ +

+

+
Version:
+
$Revision: 1413957 $
+
See Also:
ParamMask, +Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
ParamModifier() + +
+          Default constructor.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ ParamMaskgetMask() + +
+           
+ voidprocess() + +
+          Modifies an entry object to replace the value of any url parameter that + matches a defined mask.
+ voidtestEnded() + +
+           + Called once for all threads after the end of a test.
+ voidtestEnded(String host) + +
+           + Called once for all threads after the end of a test.
+ voidtestStarted() + +
+           + Called just before the start of the test from the main engine thread.
+ voidtestStarted(String host) + +
+           + Called just before the start of the test from the main engine thread.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ParamModifier

+
+public ParamModifier()
+
+
Default constructor. +

+

+ + + + + + + + +
+Method Detail
+ +

+getMask

+
+public ParamMask getMask()
+
+
+
+
+
+
+
+
+
+ +

+testStarted

+
+public void testStarted()
+
+
Description copied from interface: TestStateListener
+

+ Called just before the start of the test from the main engine thread. + + This is before the test elements are cloned. + + Note that not all the test + variables will have been set up at this point. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testStarted in interface TestStateListener
+
+
+
See Also:
StandardJMeterEngine.run()
+
+
+
+ +

+testStarted

+
+public void testStarted(String host)
+
+
Description copied from interface: TestStateListener
+

+ Called just before the start of the test from the main engine thread. + + This is before the test elements are cloned. + + Note that not all the test + variables will have been set up at this point. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testStarted in interface TestStateListener
+
+
+
Parameters:
host - name of host
See Also:
StandardJMeterEngine.run()
+
+
+
+ +

+testEnded

+
+public void testEnded()
+
+
Description copied from interface: TestStateListener
+

+ Called once for all threads after the end of a test. + + This will use the same element instances as at the start of the test. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testEnded in interface TestStateListener
+
+
+
See Also:
StandardJMeterEngine.stopTest()
+
+
+
+ +

+testEnded

+
+public void testEnded(String host)
+
+
Description copied from interface: TestStateListener
+

+ Called once for all threads after the end of a test. + + This will use the same element instances as at the start of the test. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testEnded in interface TestStateListener
+
+
+
Parameters:
host - name of host
See Also:
StandardJMeterEngine.stopTest()
+
+
+
+ +

+process

+
+public void process()
+
+
Modifies an entry object to replace the value of any url parameter that + matches a defined mask. +

+

+
Specified by:
process in interface PreProcessor
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/modifier/RegExUserParameters.html b/docs/api/org/apache/jmeter/protocol/http/modifier/RegExUserParameters.html new file mode 100644 index 00000000000..51ac579cf2f --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/modifier/RegExUserParameters.html @@ -0,0 +1,513 @@ + + + + + +RegExUserParameters (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.modifier +
+Class RegExUserParameters

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.protocol.http.modifier.RegExUserParameters
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Searchable, PreProcessor, TestElement
+
+
+
+
public class RegExUserParameters
extends AbstractTestElement
implements Serializable, PreProcessor
+ + +

+This component allows you to specify reference name of a regular expression that extracts names and values of HTTP request parameters. + Regular expression group numbers must be specified for parameter's name and also for parameter's value. + Replacement will only occur for parameters in the Sampler that uses this RegEx User Parameters which name matches +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + +
+Field Summary
+static StringREG_EX_PARAM_NAMES_GR_NR + +
+           
+static StringREG_EX_PARAM_VALUES_GR_NR + +
+           
+static StringREG_EX_REF_NAME + +
+           
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
RegExUserParameters() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Objectclone() + +
+          A new instance is created for each thread group, and the + clone() method is then called to create copies for each thread in a + thread group.
+ StringgetRegExParamValuesGrNr() + +
+           
+ StringgetRegExRefName() + +
+           
+ StringgetRegParamNamesGrNr() + +
+           
+ voidprocess() + +
+           
+ voidsetRegExParamNamesGrNr(String str) + +
+           
+ voidsetRegExParamValuesGrNr(String str) + +
+           
+ voidsetRegExRefName(String str) + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+REG_EX_REF_NAME

+
+public static final String REG_EX_REF_NAME
+
+
+
See Also:
Constant Field Values
+
+
+ +

+REG_EX_PARAM_NAMES_GR_NR

+
+public static final String REG_EX_PARAM_NAMES_GR_NR
+
+
+
See Also:
Constant Field Values
+
+
+ +

+REG_EX_PARAM_VALUES_GR_NR

+
+public static final String REG_EX_PARAM_VALUES_GR_NR
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+RegExUserParameters

+
+public RegExUserParameters()
+
+
+ + + + + + + + +
+Method Detail
+ +

+process

+
+public void process()
+
+
+
Specified by:
process in interface PreProcessor
+
+
+
+
+
+
+ +

+clone

+
+public Object clone()
+
+
A new instance is created for each thread group, and the + clone() method is then called to create copies for each thread in a + thread group. +

+

+
Specified by:
clone in interface TestElement
Overrides:
clone in class AbstractTestElement
+
+
+
See Also:
Object.clone()
+
+
+
+ +

+setRegExRefName

+
+public void setRegExRefName(String str)
+
+
+
+
+
+
+
+
+
+ +

+getRegExRefName

+
+public String getRegExRefName()
+
+
+
+
+
+
+
+
+
+ +

+setRegExParamNamesGrNr

+
+public void setRegExParamNamesGrNr(String str)
+
+
+
+
+
+
+
+
+
+ +

+getRegParamNamesGrNr

+
+public String getRegParamNamesGrNr()
+
+
+
+
+
+
+
+
+
+ +

+setRegExParamValuesGrNr

+
+public void setRegExParamValuesGrNr(String str)
+
+
+
+
+
+
+
+
+
+ +

+getRegExParamValuesGrNr

+
+public String getRegExParamValuesGrNr()
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/modifier/URLRewritingModifier.html b/docs/api/org/apache/jmeter/protocol/http/modifier/URLRewritingModifier.html new file mode 100644 index 00000000000..4f9f6de5f34 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/modifier/URLRewritingModifier.html @@ -0,0 +1,570 @@ + + + + + +URLRewritingModifier (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.modifier +
+Class URLRewritingModifier

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.protocol.http.modifier.URLRewritingModifier
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Searchable, PreProcessor, TestElement
+
+
+
+
public class URLRewritingModifier
extends AbstractTestElement
implements Serializable, PreProcessor
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
URLRewritingModifier() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleanencode() + +
+           
+ StringgetArgumentName() + +
+           
+ booleanisPathExtension() + +
+           
+ booleanisPathExtensionNoEquals() + +
+           
+ booleanisPathExtensionNoQuestionmark() + +
+           
+ voidprocess() + +
+           
+protected  ObjectreadResolve() + +
+           
+ voidsetArgumentName(String argName) + +
+           
+ voidsetEncode(boolean b) + +
+           
+ voidsetPathExtension(boolean pathExt) + +
+           
+ voidsetPathExtensionNoEquals(boolean pathExtNoEquals) + +
+           
+ voidsetPathExtensionNoQuestionmark(boolean pathExtNoQuestionmark) + +
+           
+ voidsetShouldCache(boolean b) + +
+           
+ booleanshouldCache() + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+URLRewritingModifier

+
+public URLRewritingModifier()
+
+
+ + + + + + + + +
+Method Detail
+ +

+process

+
+public void process()
+
+
+
Specified by:
process in interface PreProcessor
+
+
+
+
+
+
+ +

+setArgumentName

+
+public void setArgumentName(String argName)
+
+
+
+
+
+
+
+
+
+ +

+getArgumentName

+
+public String getArgumentName()
+
+
+
+
+
+
+
+
+
+ +

+setPathExtension

+
+public void setPathExtension(boolean pathExt)
+
+
+
+
+
+
+
+
+
+ +

+setPathExtensionNoEquals

+
+public void setPathExtensionNoEquals(boolean pathExtNoEquals)
+
+
+
+
+
+
+
+
+
+ +

+setPathExtensionNoQuestionmark

+
+public void setPathExtensionNoQuestionmark(boolean pathExtNoQuestionmark)
+
+
+
+
+
+
+
+
+
+ +

+setShouldCache

+
+public void setShouldCache(boolean b)
+
+
+
+
+
+
+
+
+
+ +

+isPathExtension

+
+public boolean isPathExtension()
+
+
+
+
+
+
+
+
+
+ +

+isPathExtensionNoEquals

+
+public boolean isPathExtensionNoEquals()
+
+
+
+
+
+
+
+
+
+ +

+isPathExtensionNoQuestionmark

+
+public boolean isPathExtensionNoQuestionmark()
+
+
+
+
+
+
+
+
+
+ +

+shouldCache

+
+public boolean shouldCache()
+
+
+
+
+
+
+
+
+
+ +

+readResolve

+
+protected Object readResolve()
+
+
+
+
+
+
+
+
+
+ +

+encode

+
+public boolean encode()
+
+
+
+
+
+
+
+
+
+ +

+setEncode

+
+public void setEncode(boolean b)
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/modifier/UserParameterXMLContentHandler.html b/docs/api/org/apache/jmeter/protocol/http/modifier/UserParameterXMLContentHandler.html new file mode 100644 index 00000000000..84b08043636 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/modifier/UserParameterXMLContentHandler.html @@ -0,0 +1,559 @@ + + + + + +UserParameterXMLContentHandler (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.modifier +
+Class UserParameterXMLContentHandler

+
+java.lang.Object
+  extended by org.apache.jmeter.protocol.http.modifier.UserParameterXMLContentHandler
+
+
+
All Implemented Interfaces:
ContentHandler
+
+
+
+
public class UserParameterXMLContentHandler
extends Object
implements ContentHandler
+ + +

+The handler used to read in XML parameter data. +

+ +

+

+
Version:
+
$Revision: 1413957 $
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
UserParameterXMLContentHandler() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidcharacters(char[] ch, + int start, + int length) + +
+           
+ voidendDocument() + +
+           
+ voidendElement(String namespaceURI, + String localName, + String qName) + +
+           
+ voidendPrefixMapping(String prefix) + +
+           
+ List<Map<String,String>>getParsedParameters() + +
+          results of parsing all user parameter data defined in XML file.
+ voidignorableWhitespace(char[] ch, + int start, + int length) + +
+           
+ voidprocessingInstruction(String target, + String date) + +
+           
+ voidsetDocumentLocator(Locator locator) + +
+           
+ voidskippedEntity(String name) + +
+           
+ voidstartDocument() + +
+           
+ voidstartElement(String namespaceURL, + String localName, + String qName, + Attributes atts) + +
+           
+ voidstartPrefixMapping(String prefix, + String uri) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+UserParameterXMLContentHandler

+
+public UserParameterXMLContentHandler()
+
+
+ + + + + + + + +
+Method Detail
+ +

+setDocumentLocator

+
+public void setDocumentLocator(Locator locator)
+
+
+
Specified by:
setDocumentLocator in interface ContentHandler
+
+
+
+
+
+
+ +

+startDocument

+
+public void startDocument()
+                   throws SAXException
+
+
+
Specified by:
startDocument in interface ContentHandler
+
+
+ +
Throws: +
SAXException
+
+
+
+ +

+endDocument

+
+public void endDocument()
+                 throws SAXException
+
+
+
Specified by:
endDocument in interface ContentHandler
+
+
+ +
Throws: +
SAXException
+
+
+
+ +

+startPrefixMapping

+
+public void startPrefixMapping(String prefix,
+                               String uri)
+                        throws SAXException
+
+
+
Specified by:
startPrefixMapping in interface ContentHandler
+
+
+ +
Throws: +
SAXException
+
+
+
+ +

+endPrefixMapping

+
+public void endPrefixMapping(String prefix)
+                      throws SAXException
+
+
+
Specified by:
endPrefixMapping in interface ContentHandler
+
+
+ +
Throws: +
SAXException
+
+
+
+ +

+startElement

+
+public void startElement(String namespaceURL,
+                         String localName,
+                         String qName,
+                         Attributes atts)
+                  throws SAXException
+
+
+
Specified by:
startElement in interface ContentHandler
+
+
+ +
Throws: +
SAXException
+
+
+
+ +

+endElement

+
+public void endElement(String namespaceURI,
+                       String localName,
+                       String qName)
+                throws SAXException
+
+
+
Specified by:
endElement in interface ContentHandler
+
+
+ +
Throws: +
SAXException
+
+
+
+ +

+characters

+
+public void characters(char[] ch,
+                       int start,
+                       int length)
+                throws SAXException
+
+
+
Specified by:
characters in interface ContentHandler
+
+
+ +
Throws: +
SAXException
+
+
+
+ +

+ignorableWhitespace

+
+public void ignorableWhitespace(char[] ch,
+                                int start,
+                                int length)
+                         throws SAXException
+
+
+
Specified by:
ignorableWhitespace in interface ContentHandler
+
+
+ +
Throws: +
SAXException
+
+
+
+ +

+processingInstruction

+
+public void processingInstruction(String target,
+                                  String date)
+                           throws SAXException
+
+
+
Specified by:
processingInstruction in interface ContentHandler
+
+
+ +
Throws: +
SAXException
+
+
+
+ +

+skippedEntity

+
+public void skippedEntity(String name)
+                   throws SAXException
+
+
+
Specified by:
skippedEntity in interface ContentHandler
+
+
+ +
Throws: +
SAXException
+
+
+
+ +

+getParsedParameters

+
+public List<Map<String,String>> getParsedParameters()
+
+
results of parsing all user parameter data defined in XML file. +

+

+
+
+
+ +
Returns:
all users name value pairs obtained from XML file
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/modifier/UserParameterXMLErrorHandler.html b/docs/api/org/apache/jmeter/protocol/http/modifier/UserParameterXMLErrorHandler.html new file mode 100644 index 00000000000..3dc3559f44a --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/modifier/UserParameterXMLErrorHandler.html @@ -0,0 +1,311 @@ + + + + + +UserParameterXMLErrorHandler (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.modifier +
+Class UserParameterXMLErrorHandler

+
+java.lang.Object
+  extended by org.apache.jmeter.protocol.http.modifier.UserParameterXMLErrorHandler
+
+
+
All Implemented Interfaces:
ErrorHandler
+
+
+
+
public class UserParameterXMLErrorHandler
extends Object
implements ErrorHandler
+ + +

+XML Parseing errors for XML parameters file are handled here. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
UserParameterXMLErrorHandler() + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voiderror(SAXParseException exception) + +
+           
+ voidfatalError(SAXParseException exception) + +
+           
+ voidwarning(SAXParseException exception) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+UserParameterXMLErrorHandler

+
+public UserParameterXMLErrorHandler()
+
+
+ + + + + + + + +
+Method Detail
+ +

+warning

+
+public void warning(SAXParseException exception)
+             throws SAXException
+
+
+
Specified by:
warning in interface ErrorHandler
+
+
+ +
Throws: +
SAXException
+
+
+
+ +

+error

+
+public void error(SAXParseException exception)
+           throws SAXException
+
+
+
Specified by:
error in interface ErrorHandler
+
+
+ +
Throws: +
SAXException
+
+
+
+ +

+fatalError

+
+public void fatalError(SAXParseException exception)
+                throws SAXException
+
+
+
Specified by:
fatalError in interface ErrorHandler
+
+
+ +
Throws: +
SAXException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/modifier/UserParameterXMLParser.html b/docs/api/org/apache/jmeter/protocol/http/modifier/UserParameterXMLParser.html new file mode 100644 index 00000000000..f63f2a18670 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/modifier/UserParameterXMLParser.html @@ -0,0 +1,264 @@ + + + + + +UserParameterXMLParser (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.modifier +
+Class UserParameterXMLParser

+
+java.lang.Object
+  extended by org.apache.jmeter.protocol.http.modifier.UserParameterXMLParser
+
+
+Deprecated. This test element is deprecated. Test plans should use User Parameters instead. +

+

+
@Deprecated
+public class UserParameterXMLParser
extends Object
+ + +

+Parse an XML file to obtain parameter name and value information for all + users defined in the XML file. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
UserParameterXMLParser() + +
+          Deprecated.  
+  + + + + + + + + + + + +
+Method Summary
+ List<Map<String,String>>getXMLParameters(String xmlURI) + +
+          Deprecated. Parse all user parameter data defined in XML file.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+UserParameterXMLParser

+
+public UserParameterXMLParser()
+
+
Deprecated. 
+ + + + + + + + +
+Method Detail
+ +

+getXMLParameters

+
+public List<Map<String,String>> getXMLParameters(String xmlURI)
+                                          throws SAXException,
+                                                 IOException
+
+
Deprecated. 
Parse all user parameter data defined in XML file. +

+

+
Parameters:
xmlURI - name of the XML to load users parameter data +
Returns:
all users name value pairs obtained from XML file +
Throws: +
SAXException - when XML pointed to by xmlURI is not valid +
IOException - when XML pointed to by xmlURI can not be read
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/modifier/UserSequence.html b/docs/api/org/apache/jmeter/protocol/http/modifier/UserSequence.html new file mode 100644 index 00000000000..0676ebafd58 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/modifier/UserSequence.html @@ -0,0 +1,288 @@ + + + + + +UserSequence (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.modifier +
+Class UserSequence

+
+java.lang.Object
+  extended by org.apache.jmeter.protocol.http.modifier.UserSequence
+
+
+
All Implemented Interfaces:
Serializable
+
+
+
+
public class UserSequence
extends Object
implements Serializable
+ + +

+This module controls the Sequence in which user details are returned. This + module uses round robin allocation of users. +

+ +

+

+
Version:
+
$Revision: 1649126 $
+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
UserSequence() + +
+           
UserSequence(List<Map<String,String>> allUsers) + +
+          Load all user and parameter data into the sequence module.
+  + + + + + + + + + + + +
+Method Summary
+ Map<String,String>getNextUserMods() + +
+          Returns the parameter data for the next user in the sequence
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+UserSequence

+
+public UserSequence()
+
+
+
+ +

+UserSequence

+
+public UserSequence(List<Map<String,String>> allUsers)
+
+
Load all user and parameter data into the sequence module. +

+ ie a Set of Mapped "parameter names and parameter values" for each user + to be loaded into the sequencer. +

+

+
Parameters:
allUsers - users and parameter data to be used
+
+ + + + + + + + +
+Method Detail
+ +

+getNextUserMods

+
+public Map<String,String> getNextUserMods()
+
+
Returns the parameter data for the next user in the sequence +

+

+
+
+
+ +
Returns:
a Map object of parameter names and matching parameter values for + the next user
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/modifier/gui/AnchorModifierGui.html b/docs/api/org/apache/jmeter/protocol/http/modifier/gui/AnchorModifierGui.html new file mode 100644 index 00000000000..4e3b6f9d9e2 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/modifier/gui/AnchorModifierGui.html @@ -0,0 +1,467 @@ + + + + + +AnchorModifierGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.modifier.gui +
+Class AnchorModifierGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.processor.gui.AbstractPreProcessorGui
+                          extended by org.apache.jmeter.protocol.http.modifier.gui.AnchorModifierGui
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
+
public class AnchorModifierGui
extends AbstractPreProcessorGui
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
AnchorModifierGui() + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ TestElementcreateTestElement() + +
+          JMeter test components are separated into a model and a GUI + representation.
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ voidmodifyTestElement(TestElement modifier) + +
+          Modifies a given TestElement to mirror the data in the gui components.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.processor.gui.AbstractPreProcessorGui
createPopupMenu, getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
clearGui, configure, configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+AnchorModifierGui

+
+public AnchorModifierGui()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+ +
Returns:
the resource name
+
+
+
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
Description copied from interface: JMeterGUIComponent
+
JMeter test components are separated into a model and a GUI + representation. The model holds the data and the GUI displays it. The GUI + class is responsible for knowing how to create and initialize with data + the model class that it knows how to display, and this method is called + when new test elements are created. +

+

+ +
Returns:
the Test Element object that the GUI component represents.
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement modifier)
+
+
Modifies a given TestElement to mirror the data in the gui components. +

+

+
Parameters:
modifier - the TestElement to modify
See Also:
JMeterGUIComponent.modifyTestElement(TestElement)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/modifier/gui/ParamModifierGui.html b/docs/api/org/apache/jmeter/protocol/http/modifier/gui/ParamModifierGui.html new file mode 100644 index 00000000000..3fb85d6eb03 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/modifier/gui/ParamModifierGui.html @@ -0,0 +1,584 @@ + + + + + +ParamModifierGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.modifier.gui +
+Class ParamModifierGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.processor.gui.AbstractPreProcessorGui
+                          extended by org.apache.jmeter.protocol.http.modifier.gui.ParamModifierGui
+
+
+
All Implemented Interfaces:
FocusListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
+
public class ParamModifierGui
extends AbstractPreProcessorGui
implements FocusListener
+ + +

+A swing panel to allow UI with the ParamModifier class. + + Created Jan 18, 2002 +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
ParamModifierGui() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclearGui() + +
+          Implements JMeterGUIComponent.clearGui
+ voidconfigure(TestElement el) + +
+          A newly created gui component can be initialized with the contents of a + Test Element object by calling this method.
+ TestElementcreateTestElement() + +
+          JMeter test components are separated into a model and a GUI + representation.
+ voidfocusGained(FocusEvent evt) + +
+           
+ voidfocusLost(FocusEvent evt) + +
+           
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ voidmodifyTestElement(TestElement m) + +
+          Modifies a given TestElement to mirror the data in the gui components.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.processor.gui.AbstractPreProcessorGui
createPopupMenu, getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ParamModifierGui

+
+public ParamModifierGui()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+
Specified by:
getLabelResource in interface JMeterGUIComponent
+
+
+ +
Returns:
the resource name
+
+
+
+ +

+configure

+
+public void configure(TestElement el)
+
+
Description copied from class: AbstractJMeterGuiComponent
+
A newly created gui component can be initialized with the contents of a + Test Element object by calling this method. The component is responsible + for querying the Test Element object for the relevant information to + display in its GUI. +

+ AbstractJMeterGuiComponent provides a partial implementation of this + method, setting the name of the component and its enabled status. + Subclasses should override this method, performing their own + configuration as needed, but also calling this super-implementation. +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class AbstractJMeterGuiComponent
+
+
+
Parameters:
el - the TestElement to configure
+
+
+
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
Description copied from interface: JMeterGUIComponent
+
JMeter test components are separated into a model and a GUI + representation. The model holds the data and the GUI displays it. The GUI + class is responsible for knowing how to create and initialize with data + the model class that it knows how to display, and this method is called + when new test elements are created. +

+

+
Specified by:
createTestElement in interface JMeterGUIComponent
+
+
+ +
Returns:
the Test Element object that the GUI component represents.
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement m)
+
+
Modifies a given TestElement to mirror the data in the gui components. +

+

+
Specified by:
modifyTestElement in interface JMeterGUIComponent
+
+
+
Parameters:
m - the TestElement to modify
See Also:
JMeterGUIComponent.modifyTestElement(TestElement)
+
+
+
+ +

+clearGui

+
+public void clearGui()
+
+
Implements JMeterGUIComponent.clearGui +

+

+
Specified by:
clearGui in interface ClearGui
Overrides:
clearGui in class AbstractJMeterGuiComponent
+
+
+
+
+
+
+ +

+focusGained

+
+public void focusGained(FocusEvent evt)
+
+
+
Specified by:
focusGained in interface FocusListener
+
+
+
+
+
+
+ +

+focusLost

+
+public void focusLost(FocusEvent evt)
+
+
+
Specified by:
focusLost in interface FocusListener
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/modifier/gui/RegExUserParametersGui.html b/docs/api/org/apache/jmeter/protocol/http/modifier/gui/RegExUserParametersGui.html new file mode 100644 index 00000000000..78dd6d7947e --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/modifier/gui/RegExUserParametersGui.html @@ -0,0 +1,529 @@ + + + + + +RegExUserParametersGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.modifier.gui +
+Class RegExUserParametersGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.processor.gui.AbstractPreProcessorGui
+                          extended by org.apache.jmeter.protocol.http.modifier.gui.RegExUserParametersGui
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
+
public class RegExUserParametersGui
extends AbstractPreProcessorGui
+ + +

+GUI for RegExUserParameters +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
RegExUserParametersGui() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclearGui() + +
+          Implements JMeterGUIComponent.clearGui
+ voidconfigure(TestElement el) + +
+          A newly created gui component can be initialized with the contents of a + Test Element object by calling this method.
+ TestElementcreateTestElement() + +
+          JMeter test components are separated into a model and a GUI + representation.
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ voidmodifyTestElement(TestElement extractor) + +
+          Modifies a given TestElement to mirror the data in the gui components.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.processor.gui.AbstractPreProcessorGui
createPopupMenu, getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+RegExUserParametersGui

+
+public RegExUserParametersGui()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+ +
Returns:
the resource name
+
+
+
+ +

+configure

+
+public void configure(TestElement el)
+
+
Description copied from class: AbstractJMeterGuiComponent
+
A newly created gui component can be initialized with the contents of a + Test Element object by calling this method. The component is responsible + for querying the Test Element object for the relevant information to + display in its GUI. +

+ AbstractJMeterGuiComponent provides a partial implementation of this + method, setting the name of the component and its enabled status. + Subclasses should override this method, performing their own + configuration as needed, but also calling this super-implementation. +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class AbstractJMeterGuiComponent
+
+
+
Parameters:
el - the TestElement to configure
+
+
+
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
Description copied from interface: JMeterGUIComponent
+
JMeter test components are separated into a model and a GUI + representation. The model holds the data and the GUI displays it. The GUI + class is responsible for knowing how to create and initialize with data + the model class that it knows how to display, and this method is called + when new test elements are created. +

+

+ +
Returns:
the Test Element object that the GUI component represents.
See Also:
JMeterGUIComponent.createTestElement()
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement extractor)
+
+
Modifies a given TestElement to mirror the data in the gui components. +

+

+
Parameters:
extractor - the TestElement to modify
See Also:
JMeterGUIComponent.modifyTestElement(TestElement)
+
+
+
+ +

+clearGui

+
+public void clearGui()
+
+
Implements JMeterGUIComponent.clearGui +

+

+
Specified by:
clearGui in interface ClearGui
Overrides:
clearGui in class AbstractJMeterGuiComponent
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/modifier/gui/URLRewritingModifierGui.html b/docs/api/org/apache/jmeter/protocol/http/modifier/gui/URLRewritingModifierGui.html new file mode 100644 index 00000000000..3433d6d1441 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/modifier/gui/URLRewritingModifierGui.html @@ -0,0 +1,533 @@ + + + + + +URLRewritingModifierGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.modifier.gui +
+Class URLRewritingModifierGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.processor.gui.AbstractPreProcessorGui
+                          extended by org.apache.jmeter.protocol.http.modifier.gui.URLRewritingModifierGui
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
+
public class URLRewritingModifierGui
extends AbstractPreProcessorGui
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
URLRewritingModifierGui() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclearGui() + +
+          Provides a default implementation that resets the name field to the value of + getStaticLabel(), reset comment and sets enabled to true.
+ voidconfigure(TestElement el) + +
+          A newly created gui component can be initialized with the contents of a + Test Element object by calling this method.
+ TestElementcreateTestElement() + +
+          JMeter test components are separated into a model and a GUI + representation.
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ voidmodifyTestElement(TestElement modifier) + +
+          Modifies a given TestElement to mirror the data in the gui components.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.processor.gui.AbstractPreProcessorGui
createPopupMenu, getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+URLRewritingModifierGui

+
+public URLRewritingModifierGui()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+ +
Returns:
the resource name
+
+
+
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
JMeter test components are separated into a model and a GUI + representation. The model holds the data and the GUI displays it. The GUI + class is responsible for knowing how to create and initialize with data + the model class that it knows how to display, and this method is called + when new test elements are created. +

+

+ +
Returns:
the Test Element object that the GUI component represents.
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement modifier)
+
+
Modifies a given TestElement to mirror the data in the gui components. +

+ GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components. This method should + overwrite whatever data is currently in the TestElement as it is called + after a user has filled out the form elements in the gui with new + information. +

+

+
Parameters:
modifier - the TestElement to modify
+
+
+
+ +

+clearGui

+
+public void clearGui()
+
+
Provides a default implementation that resets the name field to the value of + getStaticLabel(), reset comment and sets enabled to true. Your GUI may need more things + cleared, in which case you should override, clear the extra fields, and + still call super.clearGui(). +

+

+
Specified by:
clearGui in interface ClearGui
Overrides:
clearGui in class AbstractJMeterGuiComponent
+
+
+
+
+
+
+ +

+configure

+
+public void configure(TestElement el)
+
+
A newly created gui component can be initialized with the contents of a + Test Element object by calling this method. The component is responsible + for querying the Test Element object for the relevant information to + display in its GUI. +

+ AbstractJMeterGuiComponent provides a partial implementation of this + method, setting the name of the component and its enabled status. + Subclasses should override this method, performing their own + configuration as needed, but also calling this super-implementation. +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class AbstractJMeterGuiComponent
+
+
+
Parameters:
el - the TestElement to configure
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/modifier/gui/package-frame.html b/docs/api/org/apache/jmeter/protocol/http/modifier/gui/package-frame.html new file mode 100644 index 00000000000..2382a715d71 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/modifier/gui/package-frame.html @@ -0,0 +1,36 @@ + + + + + +org.apache.jmeter.protocol.http.modifier.gui (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.protocol.http.modifier.gui + + + + +
+Classes  + +
+AnchorModifierGui +
+ParamModifierGui +
+RegExUserParametersGui +
+URLRewritingModifierGui
+ + + + diff --git a/docs/api/org/apache/jmeter/protocol/http/modifier/gui/package-summary.html b/docs/api/org/apache/jmeter/protocol/http/modifier/gui/package-summary.html new file mode 100644 index 00000000000..177a6b488fb --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/modifier/gui/package-summary.html @@ -0,0 +1,165 @@ + + + + + +org.apache.jmeter.protocol.http.modifier.gui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.protocol.http.modifier.gui +

+ + + + + + + + + + + + + + + + + + + + + +
+Class Summary
AnchorModifierGui 
ParamModifierGuiA swing panel to allow UI with the ParamModifier class.
RegExUserParametersGuiGUI for RegExUserParameters
URLRewritingModifierGui 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/modifier/gui/package-tree.html b/docs/api/org/apache/jmeter/protocol/http/modifier/gui/package-tree.html new file mode 100644 index 00000000000..d3771a61c4b --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/modifier/gui/package-tree.html @@ -0,0 +1,166 @@ + + + + + +org.apache.jmeter.protocol.http.modifier.gui Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.protocol.http.modifier.gui +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/modifier/package-frame.html b/docs/api/org/apache/jmeter/protocol/http/modifier/package-frame.html new file mode 100644 index 00000000000..5cfa25d073f --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/modifier/package-frame.html @@ -0,0 +1,46 @@ + + + + + +org.apache.jmeter.protocol.http.modifier (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.protocol.http.modifier + + + + +
+Classes  + +
+AnchorModifier +
+ParamMask +
+ParamModifier +
+RegExUserParameters +
+URLRewritingModifier +
+UserParameterXMLContentHandler +
+UserParameterXMLErrorHandler +
+UserParameterXMLParser +
+UserSequence
+ + + + diff --git a/docs/api/org/apache/jmeter/protocol/http/modifier/package-summary.html b/docs/api/org/apache/jmeter/protocol/http/modifier/package-summary.html new file mode 100644 index 00000000000..f0d11579852 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/modifier/package-summary.html @@ -0,0 +1,188 @@ + + + + + +org.apache.jmeter.protocol.http.modifier (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.protocol.http.modifier +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
AnchorModifier 
ParamMaskThis object defines with what a parameter has its value replaced, and the + policies for how that value changes.
ParamModifierThis modifier will replace any single http sampler's url parameter value with + a value from a given range - thereby "masking" the value set in the http + sampler.
RegExUserParametersThis component allows you to specify reference name of a regular expression that extracts names and values of HTTP request parameters.
URLRewritingModifier 
UserParameterXMLContentHandlerThe handler used to read in XML parameter data.
UserParameterXMLErrorHandlerXML Parseing errors for XML parameters file are handled here.
UserParameterXMLParserDeprecated. This test element is deprecated.
UserSequenceThis module controls the Sequence in which user details are returned.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/modifier/package-tree.html b/docs/api/org/apache/jmeter/protocol/http/modifier/package-tree.html new file mode 100644 index 00000000000..165af954901 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/modifier/package-tree.html @@ -0,0 +1,160 @@ + + + + + +org.apache.jmeter.protocol.http.modifier Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.protocol.http.modifier +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/parser/HTMLParseError.html b/docs/api/org/apache/jmeter/protocol/http/parser/HTMLParseError.html new file mode 100644 index 00000000000..fec18a0d2fe --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/parser/HTMLParseError.html @@ -0,0 +1,289 @@ + + + + + +HTMLParseError (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.parser +
+Class HTMLParseError

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Error
+          extended by org.apache.jmeter.protocol.http.parser.HTMLParseError
+
+
+
All Implemented Interfaces:
Serializable
+
+
+
+
public class HTMLParseError
extends Error
+ + +

+Error class for use with HTMLParser classes. + The main rationale for the class + was to support chained Errors in JDK 1.3, + however it is now used in its own right. +

+ +

+

+
Version:
+
$Revision: 905028 $
+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + + +
+Constructor Summary
HTMLParseError() + +
+           
HTMLParseError(String message) + +
+           
HTMLParseError(String message, + Throwable cause) + +
+           
HTMLParseError(Throwable cause) + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+HTMLParseError

+
+public HTMLParseError()
+
+
+
+ +

+HTMLParseError

+
+public HTMLParseError(String message)
+
+
+
+ +

+HTMLParseError

+
+public HTMLParseError(Throwable cause)
+
+
+
+ +

+HTMLParseError

+
+public HTMLParseError(String message,
+                      Throwable cause)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/parser/HTMLParseException.html b/docs/api/org/apache/jmeter/protocol/http/parser/HTMLParseException.html new file mode 100644 index 00000000000..9274726bbf3 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/parser/HTMLParseException.html @@ -0,0 +1,289 @@ + + + + + +HTMLParseException (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.parser +
+Class HTMLParseException

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by org.apache.jmeter.protocol.http.parser.HTMLParseException
+
+
+
All Implemented Interfaces:
Serializable
+
+
+
+
public class HTMLParseException
extends Exception
+ + +

+Exception class for use with HTMLParser classes. + The main rationale for the class + was to support chained Exceptions in JDK 1.3, + however it is now used in its own right. +

+ +

+

+
Version:
+
$Revision: 905028 $
+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + + +
+Constructor Summary
HTMLParseException() + +
+           
HTMLParseException(String message) + +
+           
HTMLParseException(String message, + Throwable cause) + +
+           
HTMLParseException(Throwable cause) + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+HTMLParseException

+
+public HTMLParseException()
+
+
+
+ +

+HTMLParseException

+
+public HTMLParseException(String message)
+
+
+
+ +

+HTMLParseException

+
+public HTMLParseException(Throwable cause)
+
+
+
+ +

+HTMLParseException

+
+public HTMLParseException(String message,
+                          Throwable cause)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/parser/HTMLParser.html b/docs/api/org/apache/jmeter/protocol/http/parser/HTMLParser.html new file mode 100644 index 00000000000..031d049ac89 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/parser/HTMLParser.html @@ -0,0 +1,975 @@ + + + + + +HTMLParser (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.parser +
+Class HTMLParser

+
+java.lang.Object
+  extended by org.apache.jmeter.protocol.http.parser.HTMLParser
+
+
+
Direct Known Subclasses:
JsoupBasedHtmlParser, LagartoBasedHtmlParser
+
+
+
+
public abstract class HTMLParser
extends Object
+ + +

+HtmlParsers can parse HTML content to obtain URLs. +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+protected static StringATT_BACKGROUND + +
+           
+protected static StringATT_CODE + +
+           
+protected static StringATT_CODEBASE + +
+           
+protected static StringATT_DATA + +
+           
+protected static StringATT_HREF + +
+           
+protected static StringATT_IS_IMAGE + +
+           
+protected static StringATT_REL + +
+           
+protected static StringATT_SRC + +
+           
+protected static StringATT_STYLE + +
+           
+protected static StringATT_TYPE + +
+           
+static StringDEFAULT_PARSER + +
+           
+protected static StringIE_UA + +
+           
+protected static PatternIE_UA_PATTERN + +
+           
+static StringPARSER_CLASSNAME + +
+           
+protected static StringSTYLESHEET + +
+           
+protected static StringTAG_APPLET + +
+           
+protected static StringTAG_BASE + +
+           
+protected static StringTAG_BGSOUND + +
+           
+protected static StringTAG_BODY + +
+           
+protected static StringTAG_EMBED + +
+           
+protected static StringTAG_FRAME + +
+           
+protected static StringTAG_IFRAME + +
+           
+protected static StringTAG_IMAGE + +
+           
+protected static StringTAG_INPUT + +
+           
+protected static StringTAG_LINK + +
+           
+protected static StringTAG_OBJECT + +
+           
+protected static StringTAG_SCRIPT + +
+           
+  + + + + + + + + + + + +
+Constructor Summary
+protected HTMLParser() + +
+          Protected constructor to prevent instantiation except from within + subclasses.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+protected  FloatextractIEVersion(String userAgent) + +
+           
+ Iterator<URL>getEmbeddedResourceURLs(String userAgent, + byte[] html, + URL baseUrl, + Collection<URLString> coll, + String encoding) + +
+          Get the URLs for all the resources that a browser would automatically + download following the download of the HTML content, that is: images, + stylesheets, javascript files, applets, etc...
+ Iterator<URL>getEmbeddedResourceURLs(String userAgent, + byte[] html, + URL baseUrl, + String encoding) + +
+          Get the URLs for all the resources that a browser would automatically + download following the download of the HTML content, that is: images, + stylesheets, javascript files, applets, etc...
+abstract  Iterator<URL>getEmbeddedResourceURLs(String userAgent, + byte[] html, + URL baseUrl, + URLCollection coll, + String encoding) + +
+          Get the URLs for all the resources that a browser would automatically + download following the download of the HTML content, that is: images, + stylesheets, javascript files, applets, etc...
+static HTMLParsergetParser() + +
+           
+static HTMLParsergetParser(String htmlParserClassName) + +
+           
+protected  booleanisEnableConditionalComments(Float ieVersion) + +
+           
+protected  booleanisReusable() + +
+          Parsers should over-ride this method if the parser class is re-usable, in + which case the class will be cached for the next getParser() call.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+ATT_BACKGROUND

+
+protected static final String ATT_BACKGROUND
+
+
+
See Also:
Constant Field Values
+
+
+ +

+ATT_CODE

+
+protected static final String ATT_CODE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+ATT_CODEBASE

+
+protected static final String ATT_CODEBASE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+ATT_DATA

+
+protected static final String ATT_DATA
+
+
+
See Also:
Constant Field Values
+
+
+ +

+ATT_HREF

+
+protected static final String ATT_HREF
+
+
+
See Also:
Constant Field Values
+
+
+ +

+ATT_REL

+
+protected static final String ATT_REL
+
+
+
See Also:
Constant Field Values
+
+
+ +

+ATT_SRC

+
+protected static final String ATT_SRC
+
+
+
See Also:
Constant Field Values
+
+
+ +

+ATT_STYLE

+
+protected static final String ATT_STYLE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+ATT_TYPE

+
+protected static final String ATT_TYPE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+ATT_IS_IMAGE

+
+protected static final String ATT_IS_IMAGE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+TAG_APPLET

+
+protected static final String TAG_APPLET
+
+
+
See Also:
Constant Field Values
+
+
+ +

+TAG_BASE

+
+protected static final String TAG_BASE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+TAG_BGSOUND

+
+protected static final String TAG_BGSOUND
+
+
+
See Also:
Constant Field Values
+
+
+ +

+TAG_BODY

+
+protected static final String TAG_BODY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+TAG_EMBED

+
+protected static final String TAG_EMBED
+
+
+
See Also:
Constant Field Values
+
+
+ +

+TAG_FRAME

+
+protected static final String TAG_FRAME
+
+
+
See Also:
Constant Field Values
+
+
+ +

+TAG_IFRAME

+
+protected static final String TAG_IFRAME
+
+
+
See Also:
Constant Field Values
+
+
+ +

+TAG_IMAGE

+
+protected static final String TAG_IMAGE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+TAG_INPUT

+
+protected static final String TAG_INPUT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+TAG_LINK

+
+protected static final String TAG_LINK
+
+
+
See Also:
Constant Field Values
+
+
+ +

+TAG_OBJECT

+
+protected static final String TAG_OBJECT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+TAG_SCRIPT

+
+protected static final String TAG_SCRIPT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+STYLESHEET

+
+protected static final String STYLESHEET
+
+
+
See Also:
Constant Field Values
+
+
+ +

+IE_UA

+
+protected static final String IE_UA
+
+
+
See Also:
Constant Field Values
+
+
+ +

+IE_UA_PATTERN

+
+protected static final Pattern IE_UA_PATTERN
+
+
+
+
+
+ +

+PARSER_CLASSNAME

+
+public static final String PARSER_CLASSNAME
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DEFAULT_PARSER

+
+public static final String DEFAULT_PARSER
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+HTMLParser

+
+protected HTMLParser()
+
+
Protected constructor to prevent instantiation except from within + subclasses. +

+

+ + + + + + + + +
+Method Detail
+ +

+getParser

+
+public static final HTMLParser getParser()
+
+
+
+
+
+
+ +

+getParser

+
+public static final HTMLParser getParser(String htmlParserClassName)
+
+
+
+
+
+
+ +

+getEmbeddedResourceURLs

+
+public Iterator<URL> getEmbeddedResourceURLs(String userAgent,
+                                             byte[] html,
+                                             URL baseUrl,
+                                             String encoding)
+                                      throws HTMLParseException
+
+
Get the URLs for all the resources that a browser would automatically + download following the download of the HTML content, that is: images, + stylesheets, javascript files, applets, etc... +

+ URLs should not appear twice in the returned iterator. +

+ Malformed URLs can be reported to the caller by having the Iterator + return the corresponding RL String. Overall problems parsing the html + should be reported by throwing an HTMLParseException. +

+

+
Parameters:
userAgent - User Agent
html - HTML code
baseUrl - Base URL from which the HTML code was obtained
encoding - Charset +
Returns:
an Iterator for the resource URLs +
Throws: +
HTMLParseException - when parsing the html fails
+
+
+
+ +

+getEmbeddedResourceURLs

+
+public abstract Iterator<URL> getEmbeddedResourceURLs(String userAgent,
+                                                      byte[] html,
+                                                      URL baseUrl,
+                                                      URLCollection coll,
+                                                      String encoding)
+                                               throws HTMLParseException
+
+
Get the URLs for all the resources that a browser would automatically + download following the download of the HTML content, that is: images, + stylesheets, javascript files, applets, etc... +

+ All URLs should be added to the Collection. +

+ Malformed URLs can be reported to the caller by having the Iterator + return the corresponding RL String. Overall problems parsing the html + should be reported by throwing an HTMLParseException. +

+ N.B. The Iterator returns URLs, but the Collection will contain objects + of class URLString. +

+

+
Parameters:
userAgent - User Agent
html - HTML code
baseUrl - Base URL from which the HTML code was obtained
coll - URLCollection
encoding - Charset +
Returns:
an Iterator for the resource URLs +
Throws: +
HTMLParseException - when parsing the html fails
+
+
+
+ +

+getEmbeddedResourceURLs

+
+public Iterator<URL> getEmbeddedResourceURLs(String userAgent,
+                                             byte[] html,
+                                             URL baseUrl,
+                                             Collection<URLString> coll,
+                                             String encoding)
+                                      throws HTMLParseException
+
+
Get the URLs for all the resources that a browser would automatically + download following the download of the HTML content, that is: images, + stylesheets, javascript files, applets, etc... +

+ N.B. The Iterator returns URLs, but the Collection will contain objects + of class URLString. +

+

+
Parameters:
userAgent - User Agent
html - HTML code
baseUrl - Base URL from which the HTML code was obtained
coll - Collection - will contain URLString objects, not URLs
encoding - Charset +
Returns:
an Iterator for the resource URLs +
Throws: +
HTMLParseException - when parsing the html fails
+
+
+
+ +

+isReusable

+
+protected boolean isReusable()
+
+
Parsers should over-ride this method if the parser class is re-usable, in + which case the class will be cached for the next getParser() call. +

+

+ +
Returns:
true if the Parser is reusable
+
+
+
+ +

+isEnableConditionalComments

+
+protected final boolean isEnableConditionalComments(Float ieVersion)
+
+
+
Parameters:
ieVersion - Float IE version +
Returns:
true if IE version < IE v10
+
+
+
+ +

+extractIEVersion

+
+protected Float extractIEVersion(String userAgent)
+
+
+
Parameters:
userAgent - User Agent +
Returns:
version null if not IE or the version after MSIE
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/parser/HtmlParsingUtils.html b/docs/api/org/apache/jmeter/protocol/http/parser/HtmlParsingUtils.html new file mode 100644 index 00000000000..3f4a0f293d3 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/parser/HtmlParsingUtils.html @@ -0,0 +1,506 @@ + + + + + +HtmlParsingUtils (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.parser +
+Class HtmlParsingUtils

+
+java.lang.Object
+  extended by org.apache.jmeter.protocol.http.parser.HtmlParsingUtils
+
+
+
+
public final class HtmlParsingUtils
extends Object
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static DocumentcreateEmptyDoc() + +
+           
+static HTTPSamplerBasecreateUrlFromAnchor(String parsedUrlString, + URL context) + +
+          Create a new Sampler based on an HREF string plus a contextual URL + object.
+static List<HTTPSamplerBase>createURLFromForm(Node doc, + URL context) + +
+           
+static voidextractStyleURLs(URL baseUrl, + URLCollection urls, + String styleTagStr) + +
+           
+static NodegetDOM(String text) + +
+          Returns a node representing a whole xml given an xml document.
+static org.w3c.tidy.TidygetParser() + +
+          Returns tidy as HTML parser.
+static booleanisAnchorMatched(HTTPSamplerBase newLink, + HTTPSamplerBase config) + +
+          Check if anchor matches by checking against: + - protocol + - domain + - path + - parameter names
+static booleanisArgumentMatched(Argument arg, + Argument patternArg) + +
+          Arguments match if the input name matches the corresponding pattern name + and the input value matches the pattern value, where the matching is done + first using String equals, and then Regular Expression matching if the equals test fails.
+static booleanisEqualOrMatches(String arg, + String pat) + +
+          Match the input argument against the pattern using String.equals() or pattern matching if that fails + using case-insensitive matching.
+static booleanisEqualOrMatches(String arg, + String pat, + org.apache.oro.text.regex.Perl5Matcher matcher, + org.apache.oro.text.PatternCacheLRU cache) + +
+          Match the input argument against the pattern using String.equals() or pattern matching if that fails.
+static booleanisEqualOrMatchesCaseBlind(String arg, + String pat) + +
+          Match the input argument against the pattern using String.equals() or pattern matching if that fails + using case-insensitive matching.
+static booleanisEqualOrMatchesCaseBlind(String arg, + String pat, + org.apache.oro.text.regex.Perl5Matcher matcher, + org.apache.oro.text.PatternCacheLRU cache) + +
+          Match the input argument against the pattern using String.equals() or pattern matching if that fails + using case-insenssitive matching.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+isAnchorMatched

+
+public static boolean isAnchorMatched(HTTPSamplerBase newLink,
+                                      HTTPSamplerBase config)
+
+
Check if anchor matches by checking against: + - protocol + - domain + - path + - parameter names +

+

+
Parameters:
newLink - target to match
config - pattern to match against +
Returns:
true if target URL matches pattern URL
+
+
+
+ +

+isArgumentMatched

+
+public static boolean isArgumentMatched(Argument arg,
+                                        Argument patternArg)
+
+
Arguments match if the input name matches the corresponding pattern name + and the input value matches the pattern value, where the matching is done + first using String equals, and then Regular Expression matching if the equals test fails. +

+

+
Parameters:
arg - - input Argument
patternArg - - pattern to match against +
Returns:
true if both name and value match
+
+
+
+ +

+isEqualOrMatches

+
+public static boolean isEqualOrMatches(String arg,
+                                       String pat,
+                                       org.apache.oro.text.regex.Perl5Matcher matcher,
+                                       org.apache.oro.text.PatternCacheLRU cache)
+
+
Match the input argument against the pattern using String.equals() or pattern matching if that fails. +

+

+
Parameters:
arg - input string
pat - pattern string
matcher - Perl5Matcher
cache - PatternCache +
Returns:
true if input matches the pattern
+
+
+
+ +

+isEqualOrMatchesCaseBlind

+
+public static boolean isEqualOrMatchesCaseBlind(String arg,
+                                                String pat,
+                                                org.apache.oro.text.regex.Perl5Matcher matcher,
+                                                org.apache.oro.text.PatternCacheLRU cache)
+
+
Match the input argument against the pattern using String.equals() or pattern matching if that fails + using case-insenssitive matching. +

+

+
Parameters:
arg - input string
pat - pattern string
matcher - Perl5Matcher
cache - PatternCache +
Returns:
true if input matches the pattern
+
+
+
+ +

+isEqualOrMatches

+
+public static boolean isEqualOrMatches(String arg,
+                                       String pat)
+
+
Match the input argument against the pattern using String.equals() or pattern matching if that fails + using case-insensitive matching. +

+

+
Parameters:
arg - input string
pat - pattern string +
Returns:
true if input matches the pattern
+
+
+
+ +

+isEqualOrMatchesCaseBlind

+
+public static boolean isEqualOrMatchesCaseBlind(String arg,
+                                                String pat)
+
+
Match the input argument against the pattern using String.equals() or pattern matching if that fails + using case-insensitive matching. +

+

+
Parameters:
arg - input string
pat - pattern string +
Returns:
true if input matches the pattern
+
+
+
+ +

+getParser

+
+public static org.w3c.tidy.Tidy getParser()
+
+
Returns tidy as HTML parser. +

+

+ +
Returns:
a tidy HTML parser
+
+
+
+ +

+getDOM

+
+public static Node getDOM(String text)
+
+
Returns a node representing a whole xml given an xml document. +

+

+
Parameters:
text - an xml document +
Returns:
a node representing a whole xml
+
+
+
+ +

+createEmptyDoc

+
+public static Document createEmptyDoc()
+
+
+
+
+
+
+ +

+createUrlFromAnchor

+
+public static HTTPSamplerBase createUrlFromAnchor(String parsedUrlString,
+                                                  URL context)
+                                           throws MalformedURLException
+
+
Create a new Sampler based on an HREF string plus a contextual URL + object. Given that an HREF string might be of three possible forms, some + processing is required. +

+

+
Parameters:
parsedUrlString - the url from the href
context - the context in which the href was found. This is used to + extract url information that might be missing in + parsedUrlString +
Returns:
sampler with filled in information about the fully parsed url +
Throws: +
MalformedURLException - when the given url (parsedUrlString plus + context is malformed)
+
+
+
+ +

+createURLFromForm

+
+public static List<HTTPSamplerBase> createURLFromForm(Node doc,
+                                                      URL context)
+
+
+
+
+
+
+ +

+extractStyleURLs

+
+public static void extractStyleURLs(URL baseUrl,
+                                    URLCollection urls,
+                                    String styleTagStr)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/parser/JsoupBasedHtmlParser.html b/docs/api/org/apache/jmeter/protocol/http/parser/JsoupBasedHtmlParser.html new file mode 100644 index 00000000000..03522762561 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/parser/JsoupBasedHtmlParser.html @@ -0,0 +1,344 @@ + + + + + +JsoupBasedHtmlParser (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.parser +
+Class JsoupBasedHtmlParser

+
+java.lang.Object
+  extended by org.apache.jmeter.protocol.http.parser.HTMLParser
+      extended by org.apache.jmeter.protocol.http.parser.JsoupBasedHtmlParser
+
+
+
+
public class JsoupBasedHtmlParser
extends HTMLParser
+ + +

+Parser based on JSOUP +

+ +

+

+
Since:
+
2.10 + TODO Factor out common code between LagartoBasedHtmlParser and this one (adapter pattern)
+
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.protocol.http.parser.HTMLParser
ATT_BACKGROUND, ATT_CODE, ATT_CODEBASE, ATT_DATA, ATT_HREF, ATT_IS_IMAGE, ATT_REL, ATT_SRC, ATT_STYLE, ATT_TYPE, DEFAULT_PARSER, IE_UA, IE_UA_PATTERN, PARSER_CLASSNAME, STYLESHEET, TAG_APPLET, TAG_BASE, TAG_BGSOUND, TAG_BODY, TAG_EMBED, TAG_FRAME, TAG_IFRAME, TAG_IMAGE, TAG_INPUT, TAG_LINK, TAG_OBJECT, TAG_SCRIPT
+  + + + + + + + + + + +
+Constructor Summary
JsoupBasedHtmlParser() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ Iterator<URL>getEmbeddedResourceURLs(String userAgent, + byte[] html, + URL baseUrl, + URLCollection coll, + String encoding) + +
+          Get the URLs for all the resources that a browser would automatically + download following the download of the HTML content, that is: images, + stylesheets, javascript files, applets, etc...
+protected  booleanisReusable() + +
+          Parsers should over-ride this method if the parser class is re-usable, in + which case the class will be cached for the next getParser() call.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.protocol.http.parser.HTMLParser
extractIEVersion, getEmbeddedResourceURLs, getEmbeddedResourceURLs, getParser, getParser, isEnableConditionalComments
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+JsoupBasedHtmlParser

+
+public JsoupBasedHtmlParser()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getEmbeddedResourceURLs

+
+public Iterator<URL> getEmbeddedResourceURLs(String userAgent,
+                                             byte[] html,
+                                             URL baseUrl,
+                                             URLCollection coll,
+                                             String encoding)
+                                      throws HTMLParseException
+
+
Description copied from class: HTMLParser
+
Get the URLs for all the resources that a browser would automatically + download following the download of the HTML content, that is: images, + stylesheets, javascript files, applets, etc... +

+ All URLs should be added to the Collection. +

+ Malformed URLs can be reported to the caller by having the Iterator + return the corresponding RL String. Overall problems parsing the html + should be reported by throwing an HTMLParseException. +

+ N.B. The Iterator returns URLs, but the Collection will contain objects + of class URLString. +

+

+
Specified by:
getEmbeddedResourceURLs in class HTMLParser
+
+
+
Parameters:
userAgent - User Agent
html - HTML code
baseUrl - Base URL from which the HTML code was obtained
coll - URLCollection
encoding - Charset +
Returns:
an Iterator for the resource URLs +
Throws: +
HTMLParseException - when parsing the html fails
+
+
+
+ +

+isReusable

+
+protected boolean isReusable()
+
+
Description copied from class: HTMLParser
+
Parsers should over-ride this method if the parser class is re-usable, in + which case the class will be cached for the next getParser() call. +

+

+
Overrides:
isReusable in class HTMLParser
+
+
+ +
Returns:
true if the Parser is reusable
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/parser/LagartoBasedHtmlParser.html b/docs/api/org/apache/jmeter/protocol/http/parser/LagartoBasedHtmlParser.html new file mode 100644 index 00000000000..ad3eccb46dd --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/parser/LagartoBasedHtmlParser.html @@ -0,0 +1,343 @@ + + + + + +LagartoBasedHtmlParser (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.parser +
+Class LagartoBasedHtmlParser

+
+java.lang.Object
+  extended by org.apache.jmeter.protocol.http.parser.HTMLParser
+      extended by org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser
+
+
+
+
public class LagartoBasedHtmlParser
extends HTMLParser
+ + +

+Parser based on Lagarto +

+ +

+

+
Since:
+
2.10
+
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.protocol.http.parser.HTMLParser
ATT_BACKGROUND, ATT_CODE, ATT_CODEBASE, ATT_DATA, ATT_HREF, ATT_IS_IMAGE, ATT_REL, ATT_SRC, ATT_STYLE, ATT_TYPE, DEFAULT_PARSER, IE_UA, IE_UA_PATTERN, PARSER_CLASSNAME, STYLESHEET, TAG_APPLET, TAG_BASE, TAG_BGSOUND, TAG_BODY, TAG_EMBED, TAG_FRAME, TAG_IFRAME, TAG_IMAGE, TAG_INPUT, TAG_LINK, TAG_OBJECT, TAG_SCRIPT
+  + + + + + + + + + + +
+Constructor Summary
LagartoBasedHtmlParser() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ Iterator<URL>getEmbeddedResourceURLs(String userAgent, + byte[] html, + URL baseUrl, + URLCollection coll, + String encoding) + +
+          Get the URLs for all the resources that a browser would automatically + download following the download of the HTML content, that is: images, + stylesheets, javascript files, applets, etc...
+protected  booleanisReusable() + +
+          Parsers should over-ride this method if the parser class is re-usable, in + which case the class will be cached for the next getParser() call.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.protocol.http.parser.HTMLParser
extractIEVersion, getEmbeddedResourceURLs, getEmbeddedResourceURLs, getParser, getParser, isEnableConditionalComments
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+LagartoBasedHtmlParser

+
+public LagartoBasedHtmlParser()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getEmbeddedResourceURLs

+
+public Iterator<URL> getEmbeddedResourceURLs(String userAgent,
+                                             byte[] html,
+                                             URL baseUrl,
+                                             URLCollection coll,
+                                             String encoding)
+                                      throws HTMLParseException
+
+
Description copied from class: HTMLParser
+
Get the URLs for all the resources that a browser would automatically + download following the download of the HTML content, that is: images, + stylesheets, javascript files, applets, etc... +

+ All URLs should be added to the Collection. +

+ Malformed URLs can be reported to the caller by having the Iterator + return the corresponding RL String. Overall problems parsing the html + should be reported by throwing an HTMLParseException. +

+ N.B. The Iterator returns URLs, but the Collection will contain objects + of class URLString. +

+

+
Specified by:
getEmbeddedResourceURLs in class HTMLParser
+
+
+
Parameters:
userAgent - User Agent
html - HTML code
baseUrl - Base URL from which the HTML code was obtained
coll - URLCollection
encoding - Charset +
Returns:
an Iterator for the resource URLs +
Throws: +
HTMLParseException - when parsing the html fails
+
+
+
+ +

+isReusable

+
+protected boolean isReusable()
+
+
Description copied from class: HTMLParser
+
Parsers should over-ride this method if the parser class is re-usable, in + which case the class will be cached for the next getParser() call. +

+

+
Overrides:
isReusable in class HTMLParser
+
+
+ +
Returns:
true if the Parser is reusable
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/parser/URLCollection.html b/docs/api/org/apache/jmeter/protocol/http/parser/URLCollection.html new file mode 100644 index 00000000000..0bfcdd51d4a --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/parser/URLCollection.html @@ -0,0 +1,313 @@ + + + + + +URLCollection (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.parser +
+Class URLCollection

+
+java.lang.Object
+  extended by org.apache.jmeter.protocol.http.parser.URLCollection
+
+
+
+
public class URLCollection
extends Object
+ + +

+Collection class designed for handling URLs +

+ Before a URL is added to the collection, it is wrapped in a URLString class. + The iterator unwraps the URL before return. +

+ N.B. Designed for use by HTMLParser, so is not a full implementation - e.g. + does not support remove() +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
URLCollection(Collection<URLString> c) + +
+          Creates a new URLCollection from an existing Collection
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleanadd(URL u) + +
+          Adds the URL to the Collection, first wrapping it in the URLString class
+ booleanaddURL(String url, + URL baseUrl) + +
+          Convenience method for adding URLs to the collection.
+ Iterator<URL>iterator() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+URLCollection

+
+public URLCollection(Collection<URLString> c)
+
+
Creates a new URLCollection from an existing Collection +

+

+
Parameters:
c - collection to start with
+
+ + + + + + + + +
+Method Detail
+ +

+add

+
+public boolean add(URL u)
+
+
Adds the URL to the Collection, first wrapping it in the URLString class +

+

+
Parameters:
u - URL to add +
Returns:
boolean condition returned by the add() method of the underlying + collection
+
+
+
+ +

+addURL

+
+public boolean addURL(String url,
+                      URL baseUrl)
+
+
Convenience method for adding URLs to the collection. If the url + parameter is null, empty or URL is malformed, nothing is + done +

+

+
Parameters:
url - String, may be null or empty
baseUrl - base for url to add information, which might be + missing in url +
Returns:
boolean condition returned by the add() method of the underlying + collection
+
+
+
+ +

+iterator

+
+public Iterator<URL> iterator()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/parser/URLString.html b/docs/api/org/apache/jmeter/protocol/http/parser/URLString.html new file mode 100644 index 00000000000..41fa678f4bb --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/parser/URLString.html @@ -0,0 +1,360 @@ + + + + + +URLString (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.parser +
+Class URLString

+
+java.lang.Object
+  extended by org.apache.jmeter.protocol.http.parser.URLString
+
+
+
All Implemented Interfaces:
Comparable<URLString>
+
+
+
+
public class URLString
extends Object
implements Comparable<URLString>
+ + +

+Helper class to allow URLs to be stored in Collections without incurring the + cost of the hostname lookup performed by the URL methods equals() and + hashCode() URL is a final class, so cannot be extended ... +

+ +

+

+
Version:
+
$Revision: 1493403 $
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
URLString(URL u) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ intcompareTo(URLString o) + +
+          
+ booleanequals(Object o) + +
+          
+ URLgetURL() + +
+           
+ inthashCode() + +
+          
+ StringtoString() + +
+          
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+URLString

+
+public URLString(URL u)
+
+
+ + + + + + + + +
+Method Detail
+ +

+toString

+
+public String toString()
+
+
+

+

+
Overrides:
toString in class Object
+
+
+
+
+
+
+ +

+getURL

+
+public URL getURL()
+
+
+
+
+
+
+
+
+
+ +

+compareTo

+
+public int compareTo(URLString o)
+
+
+

+

+
Specified by:
compareTo in interface Comparable<URLString>
+
+
+
+
+
+
+ +

+equals

+
+public boolean equals(Object o)
+
+
+

+

+
Overrides:
equals in class Object
+
+
+
+
+
+
+ +

+hashCode

+
+public int hashCode()
+
+
+

+

+
Overrides:
hashCode in class Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/parser/package-frame.html b/docs/api/org/apache/jmeter/protocol/http/parser/package-frame.html new file mode 100644 index 00000000000..363b1bf1569 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/parser/package-frame.html @@ -0,0 +1,62 @@ + + + + + +org.apache.jmeter.protocol.http.parser (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.protocol.http.parser + + + + +
+Classes  + +
+HTMLParser +
+HtmlParsingUtils +
+JsoupBasedHtmlParser +
+LagartoBasedHtmlParser +
+URLCollection +
+URLString
+ + + + + + +
+Exceptions  + +
+HTMLParseException
+ + + + + + +
+Errors  + +
+HTMLParseError
+ + + + diff --git a/docs/api/org/apache/jmeter/protocol/http/parser/package-summary.html b/docs/api/org/apache/jmeter/protocol/http/parser/package-summary.html new file mode 100644 index 00000000000..3c1bf574a43 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/parser/package-summary.html @@ -0,0 +1,205 @@ + + + + + +org.apache.jmeter.protocol.http.parser (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.protocol.http.parser +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
HTMLParserHtmlParsers can parse HTML content to obtain URLs.
HtmlParsingUtils 
JsoupBasedHtmlParserParser based on JSOUP
LagartoBasedHtmlParserParser based on Lagarto
URLCollectionCollection class designed for handling URLs + + Before a URL is added to the collection, it is wrapped in a URLString class.
URLStringHelper class to allow URLs to be stored in Collections without incurring the + cost of the hostname lookup performed by the URL methods equals() and + hashCode() URL is a final class, so cannot be extended ...
+  + +

+ + + + + + + + + +
+Exception Summary
HTMLParseExceptionException class for use with HTMLParser classes.
+  + +

+ + + + + + + + + +
+Error Summary
HTMLParseErrorError class for use with HTMLParser classes.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/parser/package-tree.html b/docs/api/org/apache/jmeter/protocol/http/parser/package-tree.html new file mode 100644 index 00000000000..9ee857eace2 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/parser/package-tree.html @@ -0,0 +1,159 @@ + + + + + +org.apache.jmeter.protocol.http.parser Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.protocol.http.parser +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/proxy/AbstractSamplerCreator.html b/docs/api/org/apache/jmeter/protocol/http/proxy/AbstractSamplerCreator.html new file mode 100644 index 00000000000..7d837da3cfd --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/proxy/AbstractSamplerCreator.html @@ -0,0 +1,538 @@ + + + + + +AbstractSamplerCreator (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.proxy +
+Class AbstractSamplerCreator

+
+java.lang.Object
+  extended by org.apache.jmeter.protocol.http.proxy.AbstractSamplerCreator
+
+
+
All Implemented Interfaces:
SamplerCreator
+
+
+
Direct Known Subclasses:
DefaultSamplerCreator
+
+
+
+
public abstract class AbstractSamplerCreator
extends Object
implements SamplerCreator
+ + +

+Base class for SamplerCreator +

+ +

+


+ +

+ + + + + + + + + + + + + + + +
+Field Summary
+protected static StringHTTP + +
+           
+protected static StringHTTPS + +
+           
+  + + + + + + + + + + +
+Constructor Summary
AbstractSamplerCreator() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ HTTPSamplerBasecreateAndPopulateSampler(HttpRequestHdr request, + Map<String,String> pageEncodings, + Map<String,String> formEncodings) + +
+          Default implementation calls: + + SamplerCreatorSamplerCreator.createSampler(HttpRequestHdr, Map, Map) + SamplerCreatorSamplerCreator.populateSampler(HTTPSamplerBase, HttpRequestHdr, Map, Map) +
+ List<TestElement>createChildren(HTTPSamplerBase sampler, + SampleResult result) + +
+          Default implementation returns an empty list
+protected  StringgetBinaryDirectory() + +
+           
+protected  StringgetBinaryFileSuffix() + +
+           
+protected static intgetRequestNumber() + +
+           
+protected static voidincrementRequestNumber() + +
+          Increment request number
+protected  booleanisBinaryContent(String contentType) + +
+           
+protected static booleanisNumberRequests() + +
+           
+ voidpostProcessSampler(HTTPSamplerBase sampler, + SampleResult result) + +
+          Post process sampler + Called after sampling
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.protocol.http.proxy.SamplerCreator
createSampler, getManagedContentTypes, populateSampler
+  +

+ + + + + + + + +
+Field Detail
+ +

+HTTP

+
+protected static final String HTTP
+
+
+
See Also:
Constant Field Values
+
+
+ +

+HTTPS

+
+protected static final String HTTPS
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+AbstractSamplerCreator

+
+public AbstractSamplerCreator()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getRequestNumber

+
+protected static int getRequestNumber()
+
+
+
+
+
+ +
Returns:
int request number
+
+
+
+ +

+incrementRequestNumber

+
+protected static void incrementRequestNumber()
+
+
Increment request number +

+

+
+
+
+
+
+
+
+ +

+isNumberRequests

+
+protected static boolean isNumberRequests()
+
+
+
+
+
+ +
Returns:
boolean is numbering requests is required
+
+
+
+ +

+isBinaryContent

+
+protected boolean isBinaryContent(String contentType)
+
+
+
+
+
+
Parameters:
contentType - String content type +
Returns:
true if contentType is part of binary declared types
+
+
+
+ +

+getBinaryFileSuffix

+
+protected String getBinaryFileSuffix()
+
+
+
+
+
+ +
Returns:
String binary file suffix
+
+
+
+ +

+getBinaryDirectory

+
+protected String getBinaryDirectory()
+
+
+
+
+
+ +
Returns:
String binary directory
+
+
+
+ +

+postProcessSampler

+
+public void postProcessSampler(HTTPSamplerBase sampler,
+                               SampleResult result)
+
+
Description copied from interface: SamplerCreator
+
Post process sampler + Called after sampling +

+

+
Specified by:
postProcessSampler in interface SamplerCreator
+
+
+
Parameters:
sampler - HTTPSamplerBase
result - SampleResult
See Also:
SamplerCreator.postProcessSampler(org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase, org.apache.jmeter.samplers.SampleResult)
+
+
+
+ +

+createAndPopulateSampler

+
+public HTTPSamplerBase createAndPopulateSampler(HttpRequestHdr request,
+                                                Map<String,String> pageEncodings,
+                                                Map<String,String> formEncodings)
+                                         throws Exception
+
+
Description copied from interface: SamplerCreator
+
Default implementation calls: +
    +
  1. SamplerCreatorSamplerCreator.createSampler(HttpRequestHdr, Map, Map)
  2. +
  3. SamplerCreatorSamplerCreator.populateSampler(HTTPSamplerBase, HttpRequestHdr, Map, Map)
  4. +
+

+

+
Specified by:
createAndPopulateSampler in interface SamplerCreator
+
+
+
Parameters:
request - HttpRequestHdr
pageEncodings - Map of page encodings
formEncodings - Map of form encodings +
Returns:
HTTPSamplerBase +
Throws: +
Exception - when something fails
See Also:
SamplerCreator.createAndPopulateSampler(org.apache.jmeter.protocol.http.proxy.HttpRequestHdr, java.util.Map, java.util.Map)
+
+
+
+ +

+createChildren

+
+public List<TestElement> createChildren(HTTPSamplerBase sampler,
+                                        SampleResult result)
+
+
Default implementation returns an empty list +

+

+
Specified by:
createChildren in interface SamplerCreator
+
+
+
Parameters:
sampler - HTTPSamplerBase
result - SampleResult +
Returns:
List
See Also:
SamplerCreator.createChildren(HTTPSamplerBase, SampleResult)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/proxy/Daemon.html b/docs/api/org/apache/jmeter/protocol/http/proxy/Daemon.html new file mode 100644 index 00000000000..0e03d696d71 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/proxy/Daemon.html @@ -0,0 +1,379 @@ + + + + + +Daemon (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.proxy +
+Class Daemon

+
+java.lang.Object
+  extended by java.lang.Thread
+      extended by org.apache.jmeter.protocol.http.proxy.Daemon
+
+
+
All Implemented Interfaces:
Runnable, Stoppable
+
+
+
+
public class Daemon
extends Thread
implements Stoppable
+ + +

+Web daemon thread. Creates main socket on port 8080 and listens on it + forever. For each client request, creates a Proxy thread to handle the + request. +

+ +

+


+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
+  + + + + + + + + + + + + + +
+Constructor Summary
Daemon(int port, + ProxyControl target) + +
+          Create a new Daemon with the specified port and target.
Daemon(int port, + ProxyControl target, + Class<? extends Proxy> proxyClass) + +
+          Create a new Daemon with the specified port and target, using the + specified class to handle individual requests.
+  + + + + + + + + + + + + + + + +
+Method Summary
+ voidrun() + +
+          Listen on the daemon port and handle incoming requests.
+ voidstopServer() + +
+          Stop the proxy daemon.
+ + + + + + + +
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Daemon

+
+public Daemon(int port,
+              ProxyControl target)
+       throws IOException
+
+
Create a new Daemon with the specified port and target. +

+

+
Parameters:
port - the port to listen on.
target - the target which will receive the generated JMeter test + components. +
Throws: +
IOException - if an I/O error occurs opening the socket +
IllegalArgumentException - if port is outside the allowed range from 0 to 65535 +
SocketException - when something is wrong on the underlying protocol layer
+
+
+ +

+Daemon

+
+public Daemon(int port,
+              ProxyControl target,
+              Class<? extends Proxy> proxyClass)
+       throws IOException
+
+
Create a new Daemon with the specified port and target, using the + specified class to handle individual requests. +

+

+
Parameters:
port - the port to listen on.
target - the target which will receive the generated JMeter test + components.
proxyClass - the proxy class to use to handle individual requests. This + class must be the Proxy class or a subclass. +
Throws: +
IOException - if an I/O error occurs opening the socket +
IllegalArgumentException - if port is outside the allowed range from 0 to 65535 +
SocketException - when something is wrong on the underlying protocol layer
+
+ + + + + + + + +
+Method Detail
+ +

+run

+
+public void run()
+
+
Listen on the daemon port and handle incoming requests. This method will + not exit until stopServer() is called or an error occurs. +

+

+
Specified by:
run in interface Runnable
Overrides:
run in class Thread
+
+
+
+
+
+
+ +

+stopServer

+
+public void stopServer()
+
+
Stop the proxy daemon. The daemon may not stop immediately. + + see #ACCEPT_TIMEOUT +

+

+
Specified by:
stopServer in interface Stoppable
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/proxy/DefaultSamplerCreator.html b/docs/api/org/apache/jmeter/protocol/http/proxy/DefaultSamplerCreator.html new file mode 100644 index 00000000000..14334703702 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/proxy/DefaultSamplerCreator.html @@ -0,0 +1,597 @@ + + + + + +DefaultSamplerCreator (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.proxy +
+Class DefaultSamplerCreator

+
+java.lang.Object
+  extended by org.apache.jmeter.protocol.http.proxy.AbstractSamplerCreator
+      extended by org.apache.jmeter.protocol.http.proxy.DefaultSamplerCreator
+
+
+
All Implemented Interfaces:
SamplerCreator
+
+
+
+
public class DefaultSamplerCreator
extends AbstractSamplerCreator
+ + +

+Default implementation that handles classical HTTP textual + Multipart requests +

+ +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.protocol.http.proxy.AbstractSamplerCreator
HTTP, HTTPS
+  + + + + + + + + + + +
+Constructor Summary
DefaultSamplerCreator() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+protected  StringcomputeContentEncoding(HttpRequestHdr request, + Map<String,String> pageEncodings, + Map<String,String> formEncodings, + String urlWithoutQuery) + +
+          Computes content encoding from request and if not found uses pageEncoding + and formEncoding to see if URL was previously computed with a content type
+protected  voidcomputeContentEncoding(HTTPSamplerBase sampler, + HttpRequestHdr request, + Map<String,String> pageEncodings, + Map<String,String> formEncodings) + +
+          Compute content encoding
+protected  voidcomputeDomain(HTTPSamplerBase sampler, + HttpRequestHdr request) + +
+          Set domain on sampler
+protected  voidcomputeFromHeader(HTTPSamplerBase sampler, + HttpRequestHdr request, + Map<String,String> pageEncodings, + Map<String,String> formEncodings) + +
+          Compute sampler informations from Request Header
+protected  voidcomputeFromPostBody(HTTPSamplerBase sampler, + HttpRequestHdr request) + +
+          Compute sampler informations from Request Header
+protected  voidcomputeMethod(HTTPSamplerBase sampler, + HttpRequestHdr request) + +
+          Set method on sampler
+protected  voidcomputePath(HTTPSamplerBase sampler, + HttpRequestHdr request) + +
+          Set path on sampler
+protected  voidcomputePort(HTTPSamplerBase sampler, + HttpRequestHdr request) + +
+          Set Port on sampler
+protected  voidcomputeProtocol(HTTPSamplerBase sampler, + HttpRequestHdr request) + +
+          Set protocol on sampler
+protected  voidcomputeSamplerName(HTTPSamplerBase sampler, + HttpRequestHdr request) + +
+          Compute sampler name
+ HTTPSamplerBasecreateSampler(HttpRequestHdr request, + Map<String,String> pageEncodings, + Map<String,String> formEncodings) + +
+          Create HTTPSamplerBase
+ String[]getManagedContentTypes() + +
+           
+ voidpopulateSampler(HTTPSamplerBase sampler, + HttpRequestHdr request, + Map<String,String> pageEncodings, + Map<String,String> formEncodings) + +
+          Populate sampler from request
+ + + + + + + +
Methods inherited from class org.apache.jmeter.protocol.http.proxy.AbstractSamplerCreator
createAndPopulateSampler, createChildren, getBinaryDirectory, getBinaryFileSuffix, getRequestNumber, incrementRequestNumber, isBinaryContent, isNumberRequests, postProcessSampler
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+DefaultSamplerCreator

+
+public DefaultSamplerCreator()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getManagedContentTypes

+
+public String[] getManagedContentTypes()
+
+
+ +
Returns:
String[] array of Content types managed by Factory
See Also:
SamplerCreator.getManagedContentTypes()
+
+
+
+ +

+createSampler

+
+public HTTPSamplerBase createSampler(HttpRequestHdr request,
+                                     Map<String,String> pageEncodings,
+                                     Map<String,String> formEncodings)
+
+
Description copied from interface: SamplerCreator
+
Create HTTPSamplerBase +

+

+
Parameters:
request - HttpRequestHdr
pageEncodings - Map of page encodings
formEncodings - Map of form encodings +
Returns:
HTTPSamplerBase
See Also:
SamplerCreator.createSampler(org.apache.jmeter.protocol.http.proxy.HttpRequestHdr, java.util.Map, java.util.Map)
+
+
+
+ +

+populateSampler

+
+public final void populateSampler(HTTPSamplerBase sampler,
+                                  HttpRequestHdr request,
+                                  Map<String,String> pageEncodings,
+                                  Map<String,String> formEncodings)
+                           throws Exception
+
+
Description copied from interface: SamplerCreator
+
Populate sampler from request +

+

+
Parameters:
sampler - HTTPSamplerBase
request - HttpRequestHdr
pageEncodings - Map of page encodings
formEncodings - Map of form encodings +
Throws: +
Exception - when something fails
See Also:
SamplerCreator.populateSampler(org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase, org.apache.jmeter.protocol.http.proxy.HttpRequestHdr, java.util.Map, java.util.Map)
+
+
+
+ +

+computeFromHeader

+
+protected void computeFromHeader(HTTPSamplerBase sampler,
+                                 HttpRequestHdr request,
+                                 Map<String,String> pageEncodings,
+                                 Map<String,String> formEncodings)
+                          throws Exception
+
+
Compute sampler informations from Request Header +

+

+
Parameters:
sampler - HTTPSamplerBase
request - HttpRequestHdr
pageEncodings - Map of page encodings
formEncodings - Map of form encodings +
Throws: +
Exception - when something fails
+
+
+
+ +

+computeFromPostBody

+
+protected void computeFromPostBody(HTTPSamplerBase sampler,
+                                   HttpRequestHdr request)
+                            throws Exception
+
+
Compute sampler informations from Request Header +

+

+
Parameters:
sampler - HTTPSamplerBase
request - HttpRequestHdr +
Throws: +
Exception - when something fails
+
+
+
+ +

+computeSamplerName

+
+protected void computeSamplerName(HTTPSamplerBase sampler,
+                                  HttpRequestHdr request)
+
+
Compute sampler name +

+

+
Parameters:
sampler - HTTPSamplerBase
request - HttpRequestHdr
+
+
+
+ +

+computePath

+
+protected void computePath(HTTPSamplerBase sampler,
+                           HttpRequestHdr request)
+
+
Set path on sampler +

+

+
Parameters:
sampler - HTTPSamplerBase
request - HttpRequestHdr
+
+
+
+ +

+computeContentEncoding

+
+protected void computeContentEncoding(HTTPSamplerBase sampler,
+                                      HttpRequestHdr request,
+                                      Map<String,String> pageEncodings,
+                                      Map<String,String> formEncodings)
+                               throws MalformedURLException
+
+
Compute content encoding +

+

+
Parameters:
sampler - HTTPSamplerBase
request - HttpRequestHdr
pageEncodings - Map of page encodings
formEncodings - Map of form encodings +
Throws: +
MalformedURLException - when no URL could be built from + sampler and request
+
+
+
+ +

+computeContentEncoding

+
+protected String computeContentEncoding(HttpRequestHdr request,
+                                        Map<String,String> pageEncodings,
+                                        Map<String,String> formEncodings,
+                                        String urlWithoutQuery)
+
+
Computes content encoding from request and if not found uses pageEncoding + and formEncoding to see if URL was previously computed with a content type +

+

+
Parameters:
request - HttpRequestHdr
pageEncodings - Map of page encodings
formEncodings - Map of form encodings
urlWithoutQuery - the request URL without the query parameters +
Returns:
String content encoding
+
+
+
+ +

+computeProtocol

+
+protected void computeProtocol(HTTPSamplerBase sampler,
+                               HttpRequestHdr request)
+
+
Set protocol on sampler +

+

+
Parameters:
sampler - HTTPSamplerBase
request - HttpRequestHdr
+
+
+
+ +

+computePort

+
+protected void computePort(HTTPSamplerBase sampler,
+                           HttpRequestHdr request)
+
+
Set Port on sampler +

+

+
Parameters:
sampler - HTTPSamplerBase
request - HttpRequestHdr
+
+
+
+ +

+computeMethod

+
+protected void computeMethod(HTTPSamplerBase sampler,
+                             HttpRequestHdr request)
+
+
Set method on sampler +

+

+
Parameters:
sampler - HTTPSamplerBase
request - HttpRequestHdr
+
+
+
+ +

+computeDomain

+
+protected void computeDomain(HTTPSamplerBase sampler,
+                             HttpRequestHdr request)
+
+
Set domain on sampler +

+

+
Parameters:
sampler - HTTPSamplerBase
request - HttpRequestHdr
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/proxy/FormCharSetFinder.html b/docs/api/org/apache/jmeter/protocol/http/proxy/FormCharSetFinder.html new file mode 100644 index 00000000000..961888e1ad5 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/proxy/FormCharSetFinder.html @@ -0,0 +1,261 @@ + + + + + +FormCharSetFinder (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.proxy +
+Class FormCharSetFinder

+
+java.lang.Object
+  extended by org.apache.jmeter.protocol.http.proxy.FormCharSetFinder
+
+
+
+
public class FormCharSetFinder
extends Object
+ + +

+A parser for html, to find the form tags, and their accept-charset value +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
FormCharSetFinder() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ voidaddFormActionsAndCharSet(String html, + Map<String,String> formEncodings, + String pageEncoding) + +
+          Add form action urls and their corresponding encodings for all forms on the page
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+FormCharSetFinder

+
+public FormCharSetFinder()
+
+
+ + + + + + + + +
+Method Detail
+ +

+addFormActionsAndCharSet

+
+public void addFormActionsAndCharSet(String html,
+                                     Map<String,String> formEncodings,
+                                     String pageEncoding)
+                              throws HTMLParseException
+
+
Add form action urls and their corresponding encodings for all forms on the page +

+

+
Parameters:
html - the html to parse for form encodings
formEncodings - the Map where form encodings should be added
pageEncoding - the encoding used for the whole page +
Throws: +
HTMLParseException - when parsing the html fails
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/proxy/HttpReplyHdr.html b/docs/api/org/apache/jmeter/protocol/http/proxy/HttpReplyHdr.html new file mode 100644 index 00000000000..70eb3326416 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/proxy/HttpReplyHdr.html @@ -0,0 +1,624 @@ + + + + + +HttpReplyHdr (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.proxy +
+Class HttpReplyHdr

+
+java.lang.Object
+  extended by org.apache.jmeter.protocol.http.proxy.HttpReplyHdr
+
+
+
+
public final class HttpReplyHdr
extends Object
+ + +

+Utility class to generate HTTP responses of various types. +

+ +

+

+
Version:
+
$Revision: 1518164 $
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static StringformAccepted() + +
+          Indicates the document was accepted.
+static StringformCreated() + +
+          Indicates a new file was created.
+static StringformForbidden() + +
+          Client if forbidden to get the request service.
+static StringformFound() + +
+          Never seen this used.
+static StringformInternalError() + +
+          The server had a problem and could not fulfill the request.
+static StringformMethod() + +
+          The requested method is not implemented by the server.
+static StringformMoved() + +
+          Indicates a requested URL has moved to a new address or name.
+static StringformNotAllowed() + +
+          Indicates the client is not allowed to access the object.
+static StringformNotFound() + +
+          The requested object was not found.
+static StringformNotImplemented() + +
+          Server does not do the requested feature.
+static StringformNotImplemented(String reason) + +
+          Server does not do the requested feature.
+static StringformNotModified() + +
+          Indicates remote copy of the requested object is current.
+static StringformOk(String contentType, + long contentLength) + +
+          Forms a http ok reply header
+static StringformOverloaded() + +
+          Server is overloaded, client should try again latter.
+static StringformPartial() + +
+          Indicates only a partial responce was sent.
+static StringformPaymentNeeded() + +
+          Payment is required for service.
+static StringformServerNotFound() + +
+          Indicates the client's proxies could not locate a server.
+static StringformTimeout() + +
+          Indicates the request took to long.
+static StringformUnauthorized() + +
+          Client not authorized for the request.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+formOk

+
+public static String formOk(String contentType,
+                            long contentLength)
+
+
Forms a http ok reply header +

+

+
Parameters:
contentType - the mime-type of the content
contentLength - the length of the content +
Returns:
a string with the header in it
+
+
+
+ +

+formCreated

+
+public static String formCreated()
+
+
Indicates a new file was created. +

+

+ +
Returns:
The header in a string;
+
+
+
+ +

+formAccepted

+
+public static String formAccepted()
+
+
Indicates the document was accepted. +

+

+ +
Returns:
The header in a string;
+
+
+
+ +

+formPartial

+
+public static String formPartial()
+
+
Indicates only a partial responce was sent. +

+

+ +
Returns:
The header in a string;
+
+
+
+ +

+formMoved

+
+public static String formMoved()
+
+
Indicates a requested URL has moved to a new address or name. +

+

+ +
Returns:
The header in a string;
+
+
+
+ +

+formFound

+
+public static String formFound()
+
+
Never seen this used. +

+

+ +
Returns:
The header in a string;
+
+
+
+ +

+formMethod

+
+public static String formMethod()
+
+
The requested method is not implemented by the server. +

+

+ +
Returns:
The header in a string;
+
+
+
+ +

+formNotModified

+
+public static String formNotModified()
+
+
Indicates remote copy of the requested object is current. +

+

+ +
Returns:
The header in a string;
+
+
+
+ +

+formUnauthorized

+
+public static String formUnauthorized()
+
+
Client not authorized for the request. +

+

+ +
Returns:
The header in a string;
+
+
+
+ +

+formPaymentNeeded

+
+public static String formPaymentNeeded()
+
+
Payment is required for service. +

+

+ +
Returns:
The header in a string;
+
+
+
+ +

+formForbidden

+
+public static String formForbidden()
+
+
Client if forbidden to get the request service. +

+

+ +
Returns:
The header in a string;
+
+
+
+ +

+formNotFound

+
+public static String formNotFound()
+
+
The requested object was not found. +

+

+ +
Returns:
The header in a string;
+
+
+
+ +

+formInternalError

+
+public static String formInternalError()
+
+
The server had a problem and could not fulfill the request. +

+

+ +
Returns:
The header in a string;
+
+
+
+ +

+formNotImplemented

+
+public static String formNotImplemented()
+
+
Server does not do the requested feature. +

+

+ +
Returns:
The header in a string;
+
+
+
+ +

+formNotImplemented

+
+public static String formNotImplemented(String reason)
+
+
Server does not do the requested feature. +

+

+
Parameters:
reason - detailed information for causing the failure +
Returns:
The header in a string;
+
+
+
+ +

+formOverloaded

+
+public static String formOverloaded()
+
+
Server is overloaded, client should try again latter. +

+

+ +
Returns:
The header in a string;
+
+
+
+ +

+formTimeout

+
+public static String formTimeout()
+
+
Indicates the request took to long. +

+

+ +
Returns:
The header in a string;
+
+
+
+ +

+formServerNotFound

+
+public static String formServerNotFound()
+
+
Indicates the client's proxies could not locate a server. +

+

+ +
Returns:
The header in a string;
+
+
+
+ +

+formNotAllowed

+
+public static String formNotAllowed()
+
+
Indicates the client is not allowed to access the object. +

+

+ +
Returns:
The header in a string;
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/proxy/HttpRequestHdr.html b/docs/api/org/apache/jmeter/protocol/http/proxy/HttpRequestHdr.html new file mode 100644 index 00000000000..6b622512791 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/proxy/HttpRequestHdr.html @@ -0,0 +1,593 @@ + + + + + +HttpRequestHdr (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.proxy +
+Class HttpRequestHdr

+
+java.lang.Object
+  extended by org.apache.jmeter.protocol.http.proxy.HttpRequestHdr
+
+
+
+
public class HttpRequestHdr
extends Object
+ + +

+The headers of the client HTTP request. +

+ +

+


+ +

+ + + + + + + + + + + + + + + +
+Field Summary
+static StringCONTENT_LENGTH + +
+           
+static StringCONTENT_TYPE + +
+           
+  + + + + + + + + + + + + + +
+Constructor Summary
HttpRequestHdr() + +
+           
HttpRequestHdr(String httpSamplerName) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetContentType() + +
+           
+ StringgetFirstLine() + +
+           
+ HeaderManagergetHeaderManager() + +
+           
+ StringgetHttpSamplerName() + +
+           
+ StringgetMethod() + +
+          Returns the method string extracted from the first line of the client request.
+ MultipartUrlConfiggetMultipartConfig(String contentType) + +
+           
+ StringgetPath() + +
+          Find the /some/file.xxxx from http://server.ect:PORT/some/file.xxx
+ StringgetProtocol(HTTPSamplerBase sampler) + +
+           
+ byte[]getRawPostData() + +
+           
+ StringgetUrl() + +
+          Returns the url string extracted from the first line of the client request.
+ StringgetUrlWithoutQuery(URL _url) + +
+           
+ byte[]parse(InputStream in) + +
+          Parses a http header from a stream.
+ StringserverName() + +
+          Find the //server.name from an url.
+ intserverPort() + +
+          Find the :PORT from http://server.ect:PORT/some/file.xxx
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+CONTENT_TYPE

+
+public static final String CONTENT_TYPE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CONTENT_LENGTH

+
+public static final String CONTENT_LENGTH
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+HttpRequestHdr

+
+public HttpRequestHdr()
+
+
+
+ +

+HttpRequestHdr

+
+public HttpRequestHdr(String httpSamplerName)
+
+
+
Parameters:
httpSamplerName - the http sampler name
+
+ + + + + + + + +
+Method Detail
+ +

+parse

+
+public byte[] parse(InputStream in)
+             throws IOException
+
+
Parses a http header from a stream. +

+

+
Parameters:
in - the stream to parse. +
Returns:
array of bytes from client. +
Throws: +
IOException - when reading the input stream fails
+
+
+
+ +

+getHeaderManager

+
+public HeaderManager getHeaderManager()
+
+
+
+
+
+
+ +

+getContentType

+
+public String getContentType()
+
+
+
+
+
+
+ +

+getMultipartConfig

+
+public MultipartUrlConfig getMultipartConfig(String contentType)
+
+
+
+
+
+
+ +

+serverName

+
+public String serverName()
+
+
Find the //server.name from an url. +

+

+ +
Returns:
server's internet name
+
+
+
+ +

+serverPort

+
+public int serverPort()
+
+
Find the :PORT from http://server.ect:PORT/some/file.xxx +

+

+ +
Returns:
server's port (or UNSPECIFIED if not found)
+
+
+
+ +

+getPath

+
+public String getPath()
+
+
Find the /some/file.xxxx from http://server.ect:PORT/some/file.xxx +

+

+ +
Returns:
the path
+
+
+
+ +

+getUrl

+
+public String getUrl()
+
+
Returns the url string extracted from the first line of the client request. +

+

+ +
Returns:
the url
+
+
+
+ +

+getMethod

+
+public String getMethod()
+
+
Returns the method string extracted from the first line of the client request. +

+

+ +
Returns:
the method (will always be upper case)
+
+
+
+ +

+getFirstLine

+
+public String getFirstLine()
+
+
+
+
+
+
+ +

+getUrlWithoutQuery

+
+public String getUrlWithoutQuery(URL _url)
+
+
+
+
+
+
+ +

+getHttpSamplerName

+
+public String getHttpSamplerName()
+
+
+ +
Returns:
the httpSamplerName
+
+
+
+ +

+getRawPostData

+
+public byte[] getRawPostData()
+
+
+ +
Returns:
byte[] Raw post data
+
+
+
+ +

+getProtocol

+
+public String getProtocol(HTTPSamplerBase sampler)
+
+
+
Parameters:
sampler - HTTPSamplerBase +
Returns:
String Protocol (http or https)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/proxy/Proxy.html b/docs/api/org/apache/jmeter/protocol/http/proxy/Proxy.html new file mode 100644 index 00000000000..09cedcffa84 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/proxy/Proxy.html @@ -0,0 +1,312 @@ + + + + + +Proxy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.proxy +
+Class Proxy

+
+java.lang.Object
+  extended by java.lang.Thread
+      extended by org.apache.jmeter.protocol.http.proxy.Proxy
+
+
+
All Implemented Interfaces:
Runnable
+
+
+
+
public class Proxy
extends Thread
+ + +

+Thread to handle one client request. Gets the request from the client and + passes it on to the server, then sends the response back to the client. + Information about the request and response is stored so it can be used in a + JMeter test plan. +

+ +

+


+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
+  + + + + + + + + + + +
+Constructor Summary
Proxy() + +
+          Default constructor - used by newInstance call in Daemon
+  + + + + + + + + + + + +
+Method Summary
+ voidrun() + +
+          Main processing method for the Proxy object
+ + + + + + + +
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Proxy

+
+public Proxy()
+
+
Default constructor - used by newInstance call in Daemon +

+

+ + + + + + + + +
+Method Detail
+ +

+run

+
+public void run()
+
+
Main processing method for the Proxy object +

+

+
Specified by:
run in interface Runnable
Overrides:
run in class Thread
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/proxy/ProxyControl.KeystoreMode.html b/docs/api/org/apache/jmeter/protocol/http/proxy/ProxyControl.KeystoreMode.html new file mode 100644 index 00000000000..24e8a9c1f7e --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/proxy/ProxyControl.KeystoreMode.html @@ -0,0 +1,353 @@ + + + + + +ProxyControl.KeystoreMode (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.proxy +
+Enum ProxyControl.KeystoreMode

+
+java.lang.Object
+  extended by java.lang.Enum<ProxyControl.KeystoreMode>
+      extended by org.apache.jmeter.protocol.http.proxy.ProxyControl.KeystoreMode
+
+
+
All Implemented Interfaces:
Serializable, Comparable<ProxyControl.KeystoreMode>
+
+
+
Enclosing class:
ProxyControl
+
+
+
+
public static enum ProxyControl.KeystoreMode
extends Enum<ProxyControl.KeystoreMode>
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + +
+Enum Constant Summary
DYNAMIC_KEYSTORE + +
+           
JMETER_KEYSTORE + +
+           
NONE + +
+           
USER_KEYSTORE + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+static ProxyControl.KeystoreModevalueOf(String name) + +
+          Returns the enum constant of this type with the specified name.
+static ProxyControl.KeystoreMode[]values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+ + + + + + + +
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
+ + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Enum Constant Detail
+ +

+USER_KEYSTORE

+
+public static final ProxyControl.KeystoreMode USER_KEYSTORE
+
+
+
+
+
+ +

+JMETER_KEYSTORE

+
+public static final ProxyControl.KeystoreMode JMETER_KEYSTORE
+
+
+
+
+
+ +

+DYNAMIC_KEYSTORE

+
+public static final ProxyControl.KeystoreMode DYNAMIC_KEYSTORE
+
+
+
+
+
+ +

+NONE

+
+public static final ProxyControl.KeystoreMode NONE
+
+
+
+
+ + + + + + + + +
+Method Detail
+ +

+values

+
+public static ProxyControl.KeystoreMode[] values()
+
+
Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
+for (ProxyControl.KeystoreMode c : ProxyControl.KeystoreMode.values())
+    System.out.println(c);
+
+

+

+ +
Returns:
an array containing the constants of this enum type, in +the order they are declared
+
+
+
+ +

+valueOf

+
+public static ProxyControl.KeystoreMode valueOf(String name)
+
+
Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.) +

+

+
Parameters:
name - the name of the enum constant to be returned. +
Returns:
the enum constant with the specified name +
Throws: +
IllegalArgumentException - if this enum type has no constant +with the specified name +
NullPointerException - if the argument is null
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/proxy/ProxyControl.html b/docs/api/org/apache/jmeter/protocol/http/proxy/ProxyControl.html new file mode 100644 index 00000000000..3d161a62181 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/proxy/ProxyControl.html @@ -0,0 +1,1350 @@ + + + + + +ProxyControl (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.proxy +
+Class ProxyControl

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.control.GenericController
+          extended by org.apache.jmeter.protocol.http.proxy.ProxyControl
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Controller, Searchable, TestElement, TestCompilerHelper
+
+
+
+
public class ProxyControl
extends GenericController
+ + +

+Class handles storing of generated samples, etc +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Nested Class Summary
+static classProxyControl.KeystoreMode + +
+           
+ + + + + + + + + + + + + + +
+Field Summary
+static intDEFAULT_PORT + +
+           
+static StringDEFAULT_PORT_S + +
+           
+ + + + + + + +
Fields inherited from class org.apache.jmeter.control.GenericController
current, subControllersAndSamplers
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
ProxyControl() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddConfigElement(ConfigElement config) + +
+           
+ voidaddExcludedPattern(String pattern) + +
+           
+ voidaddIncludedPattern(String pattern) + +
+           
+ booleancanRemove() + +
+          Called by Remove to determine if it is safe to remove the element.
+ voidclearExcludedPatterns() + +
+           
+ voidclearIncludedPatterns() + +
+           
+ voiddeliverSampler(HTTPSamplerBase sampler, + TestElement[] subConfigs, + SampleResult result) + +
+          Receives the recorded sampler from the proxy server for placing in the + test tree; this is skipped if the sampler is null (e.g. for recording SSL errors) + Always sends the result to any registered sample listeners.
+ JMeterTreeNodefindTargetControllerNode() + +
+          Finds the controller where samplers have to be stored, that is: + + The controller specified by the target property.
+ booleangetAssertions() + +
+           
+ booleangetCaptureHttpHeaders() + +
+           
+ String[]getCertificateDetails() + +
+           
+ StringgetContentTypeExclude() + +
+           
+ StringgetContentTypeInclude() + +
+           
+ intgetDefaultPort() + +
+           
+ CollectionPropertygetExcludePatterns() + +
+           
+ intgetGroupingMode() + +
+           
+ CollectionPropertygetIncludePatterns() + +
+           
+ booleangetNotifyChildSamplerListenerOfFilteredSamplers() + +
+           
+ intgetPort() + +
+           
+ StringgetPortString() + +
+           
+ booleangetRegexMatch() + +
+           
+ booleangetSamplerDownloadImages() + +
+           
+ booleangetSamplerFollowRedirects() + +
+           
+ booleangetSamplerRedirectAutomatically() + +
+           
+ StringgetSamplerTypeName() + +
+           
+ StringgetSslDomains() + +
+           
+ JMeterTreeNodegetTarget() + +
+           
+ booleangetUseKeepalive() + +
+           
+static booleanisDynamicMode() + +
+           
+ voidsetAssertions(boolean b) + +
+           
+ voidsetCaptureHttpHeaders(boolean capture) + +
+           
+ voidsetContentTypeExclude(String contentTypeExclude) + +
+           
+ voidsetContentTypeInclude(String contentTypeInclude) + +
+           
+ voidsetExcludeList(Collection<String> list) + +
+           
+ voidsetGroupingMode(int grouping) + +
+           
+ voidsetIncludeList(Collection<String> list) + +
+           
+ voidsetNotifyChildSamplerListenerOfFilteredSamplers(boolean b) + +
+           
+ voidsetPort(int port) + +
+           
+ voidsetPort(String port) + +
+           
+ voidsetRegexMatch(boolean b) + +
+           
+ voidsetSamplerDownloadImages(boolean b) + +
+           
+ voidsetSamplerFollowRedirects(boolean b) + +
+           
+ voidsetSamplerRedirectAutomatically(boolean b) + +
+           
+ voidsetSamplerTypeName(int samplerTypeName) + +
+          Deprecated. 
+ voidsetSamplerTypeName(String samplerTypeName) + +
+           
+ voidsetSslDomains(String domains) + +
+           
+ voidsetTarget(JMeterTreeNode target) + +
+          Sets the target node where the samples generated by the proxy have to be + stored.
+ voidsetUseKeepAlive(boolean b) + +
+           
+ voidstartProxy() + +
+           
+ voidstopProxy() + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.control.GenericController
addIterationListener, addTestElement, addTestElementOnce, currentReturnedNull, fireIterationStart, fireIterEvents, getCurrentElement, getIterCount, getSubControllers, incrementCurrent, incrementIterCount, initialize, initializeSubControllers, isDone, isFirst, next, nextIsAController, nextIsASampler, nextIsNull, readResolve, reInitialize, reInitializeSubController, removeCurrentElement, removeIterationListener, resetCurrent, resetIterCount, setCurrentElement, setDone, setFirst, triggerEndOfLoop
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.testelement.TestElement
clear, clearTestElementChildren, clone, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse
+  +

+ + + + + + + + +
+Field Detail
+ +

+DEFAULT_PORT

+
+public static final int DEFAULT_PORT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DEFAULT_PORT_S

+
+public static final String DEFAULT_PORT_S
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+ProxyControl

+
+public ProxyControl()
+
+
+ + + + + + + + +
+Method Detail
+ +

+setPort

+
+public void setPort(int port)
+
+
+
+
+
+
+ +

+setPort

+
+public void setPort(String port)
+
+
+
+
+
+
+ +

+setSslDomains

+
+public void setSslDomains(String domains)
+
+
+
+
+
+
+ +

+getSslDomains

+
+public String getSslDomains()
+
+
+
+
+
+
+ +

+setCaptureHttpHeaders

+
+public void setCaptureHttpHeaders(boolean capture)
+
+
+
+
+
+
+ +

+setGroupingMode

+
+public void setGroupingMode(int grouping)
+
+
+
+
+
+
+ +

+setAssertions

+
+public void setAssertions(boolean b)
+
+
+
+
+
+
+ +

+setSamplerTypeName

+
+@Deprecated
+public void setSamplerTypeName(int samplerTypeName)
+
+
Deprecated.  +

+

+
+
+
+
+ +

+setSamplerTypeName

+
+public void setSamplerTypeName(String samplerTypeName)
+
+
+
+
+
+
+ +

+setSamplerRedirectAutomatically

+
+public void setSamplerRedirectAutomatically(boolean b)
+
+
+
+
+
+
+ +

+setSamplerFollowRedirects

+
+public void setSamplerFollowRedirects(boolean b)
+
+
+
+
+
+
+ +

+setUseKeepAlive

+
+public void setUseKeepAlive(boolean b)
+
+
+
Parameters:
b - flag whether keep alive should be used
+
+
+
+ +

+setSamplerDownloadImages

+
+public void setSamplerDownloadImages(boolean b)
+
+
+
+
+
+
+ +

+setNotifyChildSamplerListenerOfFilteredSamplers

+
+public void setNotifyChildSamplerListenerOfFilteredSamplers(boolean b)
+
+
+
+
+
+
+ +

+setIncludeList

+
+public void setIncludeList(Collection<String> list)
+
+
+
+
+
+
+ +

+setExcludeList

+
+public void setExcludeList(Collection<String> list)
+
+
+
+
+
+
+ +

+setRegexMatch

+
+public void setRegexMatch(boolean b)
+
+
+
Parameters:
b - flag whether regex matching should be used
+
+
+
+ +

+setContentTypeExclude

+
+public void setContentTypeExclude(String contentTypeExclude)
+
+
+
+
+
+
+ +

+setContentTypeInclude

+
+public void setContentTypeInclude(String contentTypeInclude)
+
+
+
+
+
+
+ +

+getAssertions

+
+public boolean getAssertions()
+
+
+
+
+
+
+ +

+getGroupingMode

+
+public int getGroupingMode()
+
+
+
+
+
+
+ +

+getPort

+
+public int getPort()
+
+
+
+
+
+
+ +

+getPortString

+
+public String getPortString()
+
+
+
+
+
+
+ +

+getDefaultPort

+
+public int getDefaultPort()
+
+
+
+
+
+
+ +

+getCaptureHttpHeaders

+
+public boolean getCaptureHttpHeaders()
+
+
+
+
+
+
+ +

+getSamplerTypeName

+
+public String getSamplerTypeName()
+
+
+
+
+
+
+ +

+getSamplerRedirectAutomatically

+
+public boolean getSamplerRedirectAutomatically()
+
+
+
+
+
+
+ +

+getSamplerFollowRedirects

+
+public boolean getSamplerFollowRedirects()
+
+
+
+
+
+
+ +

+getUseKeepalive

+
+public boolean getUseKeepalive()
+
+
+
+
+
+
+ +

+getSamplerDownloadImages

+
+public boolean getSamplerDownloadImages()
+
+
+
+
+
+
+ +

+getNotifyChildSamplerListenerOfFilteredSamplers

+
+public boolean getNotifyChildSamplerListenerOfFilteredSamplers()
+
+
+
+
+
+
+ +

+getRegexMatch

+
+public boolean getRegexMatch()
+
+
+
+
+
+
+ +

+getContentTypeExclude

+
+public String getContentTypeExclude()
+
+
+
+
+
+
+ +

+getContentTypeInclude

+
+public String getContentTypeInclude()
+
+
+
+
+
+
+ +

+addConfigElement

+
+public void addConfigElement(ConfigElement config)
+
+
+
+
+
+
+ +

+startProxy

+
+public void startProxy()
+                throws IOException
+
+
+ +
Throws: +
IOException
+
+
+
+ +

+addExcludedPattern

+
+public void addExcludedPattern(String pattern)
+
+
+
+
+
+
+ +

+getExcludePatterns

+
+public CollectionProperty getExcludePatterns()
+
+
+
+
+
+
+ +

+addIncludedPattern

+
+public void addIncludedPattern(String pattern)
+
+
+
+
+
+
+ +

+getIncludePatterns

+
+public CollectionProperty getIncludePatterns()
+
+
+
+
+
+
+ +

+clearExcludedPatterns

+
+public void clearExcludedPatterns()
+
+
+
+
+
+
+ +

+clearIncludedPatterns

+
+public void clearIncludedPatterns()
+
+
+
+
+
+
+ +

+getTarget

+
+public JMeterTreeNode getTarget()
+
+
+ +
Returns:
the target controller node
+
+
+
+ +

+setTarget

+
+public void setTarget(JMeterTreeNode target)
+
+
Sets the target node where the samples generated by the proxy have to be + stored. +

+

+
Parameters:
target - target node to store generated samples
+
+
+
+ +

+deliverSampler

+
+public void deliverSampler(HTTPSamplerBase sampler,
+                           TestElement[] subConfigs,
+                           SampleResult result)
+
+
Receives the recorded sampler from the proxy server for placing in the + test tree; this is skipped if the sampler is null (e.g. for recording SSL errors) + Always sends the result to any registered sample listeners. +

+

+
Parameters:
sampler - the sampler, may be null
subConfigs - the configuration elements to be added (e.g. header namager)
result - the sample result, not null + TODO param serverResponse to be added to allow saving of the + server's response while recording.
+
+
+
+ +

+stopProxy

+
+public void stopProxy()
+
+
+
+
+
+
+ +

+getCertificateDetails

+
+public String[] getCertificateDetails()
+
+
+
+
+
+
+ +

+findTargetControllerNode

+
+public JMeterTreeNode findTargetControllerNode()
+
+
Finds the controller where samplers have to be stored, that is: +
    +
  • The controller specified by the target property. +
  • If none was specified, the first RecordingController in the tree. +
  • If none is found, the first AbstractThreadGroup in the tree. +
  • If none is found, the Workspace. +
+

+

+ +
Returns:
the tree node for the controller where the proxy must store the + generated samplers.
+
+
+
+ +

+canRemove

+
+public boolean canRemove()
+
+
Description copied from class: AbstractTestElement
+
Called by Remove to determine if it is safe to remove the element. The + element can either clean itself up, and return true, or the element can + return false. +

+

+
Specified by:
canRemove in interface TestElement
Overrides:
canRemove in class AbstractTestElement
+
+
+ +
Returns:
true if safe to remove the element
+
+
+
+ +

+isDynamicMode

+
+public static boolean isDynamicMode()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/proxy/SamplerCreator.html b/docs/api/org/apache/jmeter/protocol/http/proxy/SamplerCreator.html new file mode 100644 index 00000000000..8be9336d9cf --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/proxy/SamplerCreator.html @@ -0,0 +1,359 @@ + + + + + +SamplerCreator (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.proxy +
+Interface SamplerCreator

+
+
All Known Implementing Classes:
AbstractSamplerCreator, DefaultSamplerCreator
+
+
+
+
public interface SamplerCreator
+ + +

+Factory of sampler +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ HTTPSamplerBasecreateAndPopulateSampler(HttpRequestHdr request, + Map<String,String> pageEncodings, + Map<String,String> formEncodings) + +
+          Default implementation calls: + + SamplerCreatorcreateSampler(HttpRequestHdr, Map, Map) + SamplerCreatorpopulateSampler(HTTPSamplerBase, HttpRequestHdr, Map, Map) +
+ List<TestElement>createChildren(HTTPSamplerBase sampler, + SampleResult result) + +
+          Create sampler children.
+ HTTPSamplerBasecreateSampler(HttpRequestHdr request, + Map<String,String> pageEncodings, + Map<String,String> formEncodings) + +
+          Create HTTPSamplerBase
+ String[]getManagedContentTypes() + +
+           
+ voidpopulateSampler(HTTPSamplerBase sampler, + HttpRequestHdr request, + Map<String,String> pageEncodings, + Map<String,String> formEncodings) + +
+          Populate sampler from request
+ voidpostProcessSampler(HTTPSamplerBase sampler, + SampleResult result) + +
+          Post process sampler + Called after sampling
+  +

+ + + + + + + + +
+Method Detail
+ +

+getManagedContentTypes

+
+String[] getManagedContentTypes()
+
+
+ +
Returns:
String[] array of Content types managed by Factory
+
+
+
+ +

+createSampler

+
+HTTPSamplerBase createSampler(HttpRequestHdr request,
+                              Map<String,String> pageEncodings,
+                              Map<String,String> formEncodings)
+
+
Create HTTPSamplerBase +

+

+
Parameters:
request - HttpRequestHdr
pageEncodings - Map of page encodings
formEncodings - Map of form encodings +
Returns:
HTTPSamplerBase
+
+
+
+ +

+populateSampler

+
+void populateSampler(HTTPSamplerBase sampler,
+                     HttpRequestHdr request,
+                     Map<String,String> pageEncodings,
+                     Map<String,String> formEncodings)
+                     throws Exception
+
+
Populate sampler from request +

+

+
Parameters:
sampler - HTTPSamplerBase
request - HttpRequestHdr
pageEncodings - Map of page encodings
formEncodings - Map of form encodings +
Throws: +
Exception - when something fails
+
+
+
+ +

+postProcessSampler

+
+void postProcessSampler(HTTPSamplerBase sampler,
+                        SampleResult result)
+
+
Post process sampler + Called after sampling +

+

+
Parameters:
sampler - HTTPSamplerBase
result - SampleResult
Since:
+
2.9
+
+
+
+
+ +

+createAndPopulateSampler

+
+HTTPSamplerBase createAndPopulateSampler(HttpRequestHdr request,
+                                         Map<String,String> pageEncodings,
+                                         Map<String,String> formEncodings)
+                                         throws Exception
+
+
Default implementation calls: +
    +
  1. SamplerCreatorcreateSampler(HttpRequestHdr, Map, Map)
  2. +
  3. SamplerCreatorpopulateSampler(HTTPSamplerBase, HttpRequestHdr, Map, Map)
  4. +
+

+

+
Parameters:
request - HttpRequestHdr
pageEncodings - Map of page encodings
formEncodings - Map of form encodings +
Returns:
HTTPSamplerBase +
Throws: +
Exception - when something fails
Since:
+
2.9
+
+
+
+
+ +

+createChildren

+
+List<TestElement> createChildren(HTTPSamplerBase sampler,
+                                 SampleResult result)
+
+
Create sampler children. + This method can be used to add PostProcessor or ResponseAssertions by + implementations of SamplerCreator. + Return empty list if nothing to create +

+

+
Parameters:
sampler - HTTPSamplerBase
result - SampleResult +
Returns:
List
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/proxy/SamplerCreatorFactory.html b/docs/api/org/apache/jmeter/protocol/http/proxy/SamplerCreatorFactory.html new file mode 100644 index 00000000000..85d7d9e436e --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/proxy/SamplerCreatorFactory.html @@ -0,0 +1,259 @@ + + + + + +SamplerCreatorFactory (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.proxy +
+Class SamplerCreatorFactory

+
+java.lang.Object
+  extended by org.apache.jmeter.protocol.http.proxy.SamplerCreatorFactory
+
+
+
+
public class SamplerCreatorFactory
extends Object
+ + +

+SamplerCreator factory +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
SamplerCreatorFactory() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ SamplerCreatorgetSamplerCreator(HttpRequestHdr request, + Map<String,String> pageEncodings, + Map<String,String> formEncodings) + +
+          Gets SamplerCreator for content type, if none is found returns DefaultSamplerCreator
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SamplerCreatorFactory

+
+public SamplerCreatorFactory()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getSamplerCreator

+
+public SamplerCreator getSamplerCreator(HttpRequestHdr request,
+                                        Map<String,String> pageEncodings,
+                                        Map<String,String> formEncodings)
+
+
Gets SamplerCreator for content type, if none is found returns DefaultSamplerCreator +

+

+
Parameters:
request - HttpRequestHdr from which the content type should be used
pageEncodings - Map of pageEncodings
formEncodings - Map of formEncodings +
Returns:
SamplerCreator for the content type of the request, or DefaultSamplerCreator when none is found
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/proxy/gui/ProxyControlGui.html b/docs/api/org/apache/jmeter/protocol/http/proxy/gui/ProxyControlGui.html new file mode 100644 index 00000000000..b9c6ceba947 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/proxy/gui/ProxyControlGui.html @@ -0,0 +1,795 @@ + + + + + +ProxyControlGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.proxy.gui +
+Class ProxyControlGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.control.gui.AbstractControllerGui
+                          extended by org.apache.jmeter.control.gui.LogicControllerGui
+                              extended by org.apache.jmeter.protocol.http.proxy.gui.ProxyControlGui
+
+
+
All Implemented Interfaces:
ActionListener, ItemListener, KeyListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, ClearGui, JMeterGUIComponent, UnsharedComponent, Printable
+
+
+
+
public class ProxyControlGui
extends LogicControllerGui
implements JMeterGUIComponent, ActionListener, ItemListener, KeyListener, UnsharedComponent
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
ProxyControlGui() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidactionPerformed(ActionEvent action) + +
+          
+protected  voidaddFromClipboard(JTable table) + +
+          Add values from the clipboard to table
+protected  voidaddSuggestedExcludes(JTable table) + +
+          Add suggested excludes to exclude table
+ voidconfigure(TestElement element) + +
+          A newly created gui component can be initialized with the contents of a + Test Element object by calling this method.
+ TestElementcreateTestElement() + +
+          JMeter test components are separated into a model and a GUI + representation.
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ Collection<String>getMenuCategories() + +
+          This is the list of menu categories this gui component will be available + under.
+ voiditemStateChanged(ItemEvent e) + +
+          
+ voidkeyPressed(KeyEvent e) + +
+          
+ voidkeyReleased(KeyEvent e) + +
+          
+ voidkeyTyped(KeyEvent e) + +
+          
+protected  ProxyControlmakeProxyControl() + +
+           
+ voidmodifyTestElement(TestElement el) + +
+          GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components.
+protected  voidsetExcludeListInProxyControl(ProxyControl element) + +
+           
+protected  voidsetIncludeListInProxyControl(ProxyControl element) + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.control.gui.AbstractControllerGui
createPopupMenu
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
clearGui, configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.gui.JMeterGUIComponent
createPopupMenu, getDocAnchor, getName, getStaticLabel, isEnabled, setEnabled, setName
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.gui.ClearGui
clearGui
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ProxyControlGui

+
+public ProxyControlGui()
+
+
+ + + + + + + + +
+Method Detail
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
JMeter test components are separated into a model and a GUI + representation. The model holds the data and the GUI displays it. The GUI + class is responsible for knowing how to create and initialize with data + the model class that it knows how to display, and this method is called + when new test elements are created. +

+

+
Specified by:
createTestElement in interface JMeterGUIComponent
Overrides:
createTestElement in class LogicControllerGui
+
+
+ +
Returns:
the Test Element object that the GUI component represents.
+
+
+
+ +

+makeProxyControl

+
+protected ProxyControl makeProxyControl()
+
+
+
+
+
+
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement el)
+
+
GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components. This method should + overwrite whatever data is currently in the TestElement as it is called + after a user has filled out the form elements in the gui with new + information. +

+

+
Specified by:
modifyTestElement in interface JMeterGUIComponent
Overrides:
modifyTestElement in class LogicControllerGui
+
+
+
Parameters:
el - the TestElement to modify
+
+
+
+ +

+setIncludeListInProxyControl

+
+protected void setIncludeListInProxyControl(ProxyControl element)
+
+
+
+
+
+
+
+
+
+ +

+setExcludeListInProxyControl

+
+protected void setExcludeListInProxyControl(ProxyControl element)
+
+
+
+
+
+
+
+
+
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+
Specified by:
getLabelResource in interface JMeterGUIComponent
Overrides:
getLabelResource in class LogicControllerGui
+
+
+ +
Returns:
the resource name
+
+
+
+ +

+getMenuCategories

+
+public Collection<String> getMenuCategories()
+
+
This is the list of menu categories this gui component will be available + under. This implementation returns + MenuFactory.CONTROLLERS, which is + appropriate for most controller components. +

+

+
Specified by:
getMenuCategories in interface JMeterGUIComponent
Overrides:
getMenuCategories in class AbstractControllerGui
+
+
+ +
Returns:
a Collection of Strings, where each element is one of the + constants defined in MenuFactory
See Also:
MenuFactory
+
+
+
+ +

+configure

+
+public void configure(TestElement element)
+
+
A newly created gui component can be initialized with the contents of a + Test Element object by calling this method. The component is responsible + for querying the Test Element object for the relevant information to + display in its GUI. +

+ AbstractJMeterGuiComponent provides a partial implementation of this + method, setting the name of the component and its enabled status. + Subclasses should override this method, performing their own + configuration as needed, but also calling this super-implementation. +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class AbstractJMeterGuiComponent
+
+
+
Parameters:
element - the TestElement to configure
+
+
+
+ +

+itemStateChanged

+
+public void itemStateChanged(ItemEvent e)
+
+
+

+

+
Specified by:
itemStateChanged in interface ItemListener
+
+
+
+
+
+
+ +

+actionPerformed

+
+public void actionPerformed(ActionEvent action)
+
+
+

+

+
Specified by:
actionPerformed in interface ActionListener
+
+
+
+
+
+
+ +

+addSuggestedExcludes

+
+protected void addSuggestedExcludes(JTable table)
+
+
Add suggested excludes to exclude table +

+

+
+
+
+
Parameters:
table - JTable
+
+
+
+ +

+addFromClipboard

+
+protected void addFromClipboard(JTable table)
+
+
Add values from the clipboard to table +

+

+
+
+
+
Parameters:
table - JTable
+
+
+
+ +

+keyPressed

+
+public void keyPressed(KeyEvent e)
+
+
+

+

+
Specified by:
keyPressed in interface KeyListener
+
+
+
+
+
+
+ +

+keyTyped

+
+public void keyTyped(KeyEvent e)
+
+
+

+

+
Specified by:
keyTyped in interface KeyListener
+
+
+
+
+
+
+ +

+keyReleased

+
+public void keyReleased(KeyEvent e)
+
+
+

+

+
Specified by:
keyReleased in interface KeyListener
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/proxy/gui/package-frame.html b/docs/api/org/apache/jmeter/protocol/http/proxy/gui/package-frame.html new file mode 100644 index 00000000000..e95133dbafd --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/proxy/gui/package-frame.html @@ -0,0 +1,30 @@ + + + + + +org.apache.jmeter.protocol.http.proxy.gui (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.protocol.http.proxy.gui + + + + +
+Classes  + +
+ProxyControlGui
+ + + + diff --git a/docs/api/org/apache/jmeter/protocol/http/proxy/gui/package-summary.html b/docs/api/org/apache/jmeter/protocol/http/proxy/gui/package-summary.html new file mode 100644 index 00000000000..ca9224ff304 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/proxy/gui/package-summary.html @@ -0,0 +1,153 @@ + + + + + +org.apache.jmeter.protocol.http.proxy.gui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.protocol.http.proxy.gui +

+ + + + + + + + + +
+Class Summary
ProxyControlGui 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/proxy/gui/package-tree.html b/docs/api/org/apache/jmeter/protocol/http/proxy/gui/package-tree.html new file mode 100644 index 00000000000..c650498fac4 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/proxy/gui/package-tree.html @@ -0,0 +1,168 @@ + + + + + +org.apache.jmeter.protocol.http.proxy.gui Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.protocol.http.proxy.gui +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/proxy/package-frame.html b/docs/api/org/apache/jmeter/protocol/http/proxy/package-frame.html new file mode 100644 index 00000000000..d2f980fde39 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/proxy/package-frame.html @@ -0,0 +1,68 @@ + + + + + +org.apache.jmeter.protocol.http.proxy (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.protocol.http.proxy + + + + +
+Interfaces  + +
+SamplerCreator
+ + + + + + +
+Classes  + +
+AbstractSamplerCreator +
+Daemon +
+DefaultSamplerCreator +
+FormCharSetFinder +
+HttpReplyHdr +
+HttpRequestHdr +
+Proxy +
+ProxyControl +
+SamplerCreatorFactory
+ + + + + + +
+Enums  + +
+ProxyControl.KeystoreMode
+ + + + diff --git a/docs/api/org/apache/jmeter/protocol/http/proxy/package-summary.html b/docs/api/org/apache/jmeter/protocol/http/proxy/package-summary.html new file mode 100644 index 00000000000..68bce96e8da --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/proxy/package-summary.html @@ -0,0 +1,213 @@ + + + + + +org.apache.jmeter.protocol.http.proxy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.protocol.http.proxy +

+ + + + + + + + + +
+Interface Summary
SamplerCreatorFactory of sampler
+  + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
AbstractSamplerCreatorBase class for SamplerCreator
DaemonWeb daemon thread.
DefaultSamplerCreatorDefault implementation that handles classical HTTP textual + Multipart requests
FormCharSetFinderA parser for html, to find the form tags, and their accept-charset value
HttpReplyHdrUtility class to generate HTTP responses of various types.
HttpRequestHdrThe headers of the client HTTP request.
ProxyThread to handle one client request.
ProxyControlClass handles storing of generated samples, etc
SamplerCreatorFactorySamplerCreator factory
+  + +

+ + + + + + + + + +
+Enum Summary
ProxyControl.KeystoreMode 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/proxy/package-tree.html b/docs/api/org/apache/jmeter/protocol/http/proxy/package-tree.html new file mode 100644 index 00000000000..19edb721d49 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/proxy/package-tree.html @@ -0,0 +1,177 @@ + + + + + +org.apache.jmeter.protocol.http.proxy Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.protocol.http.proxy +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +

+Enum Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/sampler/AccessLogSampler.html b/docs/api/org/apache/jmeter/protocol/http/sampler/AccessLogSampler.html new file mode 100644 index 00000000000..aaeaac548ee --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/sampler/AccessLogSampler.html @@ -0,0 +1,902 @@ + + + + + +AccessLogSampler (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.sampler +
+Class AccessLogSampler

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.samplers.AbstractSampler
+          extended by org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase
+              extended by org.apache.jmeter.protocol.http.sampler.HTTPSampler
+                  extended by org.apache.jmeter.protocol.http.sampler.AccessLogSampler
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, ConfigMergabilityIndicator, Searchable, HTTPConstantsInterface, Interruptible, Sampler, TestBean, TestElement, TestIterationListener, TestStateListener, ThreadListener
+
+
+
+
public class AccessLogSampler
extends HTTPSampler
implements TestBean, ThreadListener
+ + +

+Description:
+
+ AccessLogSampler is responsible for a couple of things: +

    +
  • creating instances of Generator +
  • creating instances of Parser +
  • triggering popup windows +
  • calling Generator.generateRequest() +
  • checking to make sure the classes are valid +
  • making sure a class can be instantiated +
+ The intent of this sampler is it uses the generator and parser to create a + HTTPSampler when it is needed. It does not contain logic about how to parse + the logs. It also doesn't care how Generator is implemented, as long as it + implements the interface. This means a person could simply implement a dummy + parser to generate random parameters and the generator consumes the results. + This wasn't the original intent of the sampler. I originaly wanted to write + this sampler, so that I can take production logs to simulate production + traffic in a test environment. Doing so is desirable to study odd or unusual + behavior. It's also good to compare a new system against an existing system + to get near apples-to-apples comparison. I've been asked if benchmarks are + really fair comparisons just about every single time, so this helps me + accomplish that task. +

+ Some bugs only appear under production traffic, so it is useful to generate + traffic using production logs. This way, JMeter can record when problems + occur and provide a way to match the server logs. +

+ Created on: Jun 26, 2003 +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase
HTTPSamplerBase.SourceType
+  + + + + + + + + + + + +
+Field Summary
+static StringDEFAULT_CLASS + +
+           
+ + + + + + + +
Fields inherited from class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase
ARGUMENTS, AUTH_MANAGER, AUTO_REDIRECTS, BROWSER_COMPATIBLE_MULTIPART, BROWSER_COMPATIBLE_MULTIPART_MODE_DEFAULT, CACHE_MANAGER, CONCURRENT_DWN, CONCURRENT_POOL, CONCURRENT_POOL_SIZE, CONNECT_TIMEOUT, CONTENT_ENCODING, CONTENT_TYPE, COOKIE_MANAGER, DEFAULT_METHOD, DNS_CACHE_MANAGER, DO_MULTIPART_POST, DOMAIN, EMBEDDED_URL_RE, FOLLOW_REDIRECTS, HEADER_MANAGER, IMAGE_PARSER, IMPLEMENTATION, IP_SOURCE, IP_SOURCE_TYPE, MAX_FRAME_DEPTH, MAX_REDIRECTS, METHOD, MONITOR, NON_HTTP_RESPONSE_CODE, NON_HTTP_RESPONSE_MESSAGE, PATH, PORT, POST_BODY_RAW, POST_BODY_RAW_DEFAULT, PROTOCOL, PROXYHOST, PROXYPASS, PROXYPORT, PROXYUSER, RESPONSE_TIMEOUT, UNSPECIFIED_PORT, UNSPECIFIED_PORT_AS_STRING, URL, URL_UNSPECIFIED_PORT, URL_UNSPECIFIED_PORT_AS_STRING, USE_KEEPALIVE
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.protocol.http.util.HTTPConstantsInterface
APPLICATION_X_WWW_FORM_URLENCODED, CACHE_CONTROL, CONNECT, CONNECTION_CLOSE, COPY, DATE, DEFAULT_HTTP_PORT, DEFAULT_HTTP_PORT_STRING, DEFAULT_HTTPS_PORT, DEFAULT_HTTPS_PORT_STRING, DELETE, ENCODING_GZIP, ETAG, EXPIRES, GET, HEAD, HEADER_AUTHORIZATION, HEADER_CONNECTION, HEADER_CONTENT_DISPOSITION, HEADER_CONTENT_ENCODING, HEADER_CONTENT_LENGTH, HEADER_CONTENT_TYPE, HEADER_COOKIE, HEADER_HOST, HEADER_LOCAL_ADDRESS, HEADER_LOCATION, HEADER_SET_COOKIE, HTTP_1_1, IF_MODIFIED_SINCE, IF_NONE_MATCH, KEEP_ALIVE, LAST_MODIFIED, LOCK, MKCALENDAR, MKCOL, MOVE, MULTIPART_FORM_DATA, OPTIONS, PATCH, POST, PROPFIND, PROPPATCH, PROTOCOL_HTTP, PROTOCOL_HTTPS, PUT, REPORT, TRACE, TRANSFER_ENCODING, UNLOCK
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
AccessLogSampler() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Objectclone() + +
+          
+ StringgetDomain() + +
+           
+ StringgetFilterClassName() + +
+           
+ StringgetLogFile() + +
+          Get the path where XML messages are stored. this is the directory where + JMeter will randomly select a file.
+ StringgetParserClassName() + +
+          Get the file location of the xml file.
+ StringgetPortString() + +
+           
+protected  voidinitFilter() + +
+           
+ voidinstantiateParser() + +
+          Method will instantiate the log parser based on the class in the text + field.
+ booleanisImageParsing() + +
+           
+ SampleResultsample(Entry e) + +
+          sample(Entry e) simply calls sample().
+ SampleResultsampleWithParser() + +
+          sample gets a new HTTPSampler from the generator and calls it's sample() + method.
+ voidsetDomain(String domain) + +
+           
+ voidsetFilterClassName(String filterClassName) + +
+           
+ voidsetImageParsing(boolean imageParsing) + +
+           
+ voidsetLogFile(String path) + +
+          Set the path where XML messages are stored for random selection.
+ voidsetParserClassName(String classname) + +
+          it's kinda obvious, but we state it anyways.
+ voidsetPortString(String port) + +
+           
+ voidtestEnded() + +
+           + Called once for all threads after the end of a test.
+ voidtestStarted() + +
+           + Called just before the start of the test from the main engine thread.
+ voidthreadFinished() + +
+          Called for each thread after all samples have been processed.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.protocol.http.sampler.HTTPSampler
interrupt, sample
+ + + + + + + +
Methods inherited from class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase
addArgument, addArgument, addEncodedArgument, addEncodedArgument, addEncodedArgument, addNonEncodedArgument, addTestElement, applies, clearTestElementChildren, downloadPageResources, encodeBackSlashes, encodeSpaces, errorResult, followRedirects, getArguments, getAuthManager, getAutoRedirects, getCacheManager, getConcurrentPool, getConnectTimeout, getContentEncoding, getCookieManager, getDefaultPort, getDNSResolver, getDoBrowserCompatibleMultipart, getDoMultipartPost, getEmbeddedUrlRE, getFollowRedirects, getHeaderManager, getHTTPFileCount, getHTTPFiles, getImplementation, getIpSource, getIpSourceType, getMethod, getMonitor, getPath, getPort, getPortIfSpecified, getPostBodyRaw, getProtocol, getProxyHost, getProxyPass, getProxyPortInt, getProxyUser, getQueryString, getQueryString, getResponseTimeout, getSendFileAsPostBody, getSendParameterValuesAsPostBody, getSourceTypeList, getUrl, getUseKeepAlive, getUseMultipartForPost, getValidMethodsAsArray, hasArguments, isConcurrentDwn, isImageParser, isMonitor, isProtocolDefaultPort, isSecure, isSecure, isSuccessCode, parseArguments, parseArguments, readResponse, resultProcessing, sample, setArguments, setAuthManager, setAutoRedirects, setCacheManager, setConcurrentDwn, setConcurrentPool, setConnectTimeout, setContentEncoding, setCookieManager, setDNSResolver, setDoBrowserCompatibleMultipart, setDoMultipartPost, setEmbeddedUrlRE, setFollowRedirects, setHeaderManager, setHTTPFiles, setImageParser, setImplementation, setIpSource, setIpSourceType, setMD5, setMethod, setMonitor, setMonitor, setPath, setPath, setPort, setPostBodyRaw, setProtocol, setResponseTimeout, setUseKeepAlive, testEnded, testIterationStart, testStarted, threadStarted, toString, useMD5
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, canRemove, clear, clearTemporary, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.testelement.ThreadListener
threadStarted
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.testelement.TestElement
canRemove, clear, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse
+  +

+ + + + + + + + +
+Field Detail
+ +

+DEFAULT_CLASS

+
+public static final String DEFAULT_CLASS
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+AccessLogSampler

+
+public AccessLogSampler()
+
+
+ + + + + + + + +
+Method Detail
+ +

+setLogFile

+
+public void setLogFile(String path)
+
+
Set the path where XML messages are stored for random selection. +

+

+
+
+
+
Parameters:
path - path where to store XML messages
+
+
+
+ +

+getLogFile

+
+public String getLogFile()
+
+
Get the path where XML messages are stored. this is the directory where + JMeter will randomly select a file. +

+

+
+
+
+ +
Returns:
path where XML messages are stored
+
+
+
+ +

+setParserClassName

+
+public void setParserClassName(String classname)
+
+
it's kinda obvious, but we state it anyways. Set the xml file with a + string path. +

+

+
+
+
+
Parameters:
classname - - + parser class name
+
+
+
+ +

+getParserClassName

+
+public String getParserClassName()
+
+
Get the file location of the xml file. +

+

+
+
+
+ +
Returns:
String file path.
+
+
+
+ +

+sampleWithParser

+
+public SampleResult sampleWithParser()
+
+
sample gets a new HTTPSampler from the generator and calls it's sample() + method. +

+

+
+
+
+ +
Returns:
newly generated and called sample
+
+
+
+ +

+sample

+
+public SampleResult sample(Entry e)
+
+
sample(Entry e) simply calls sample(). +

+

+
Specified by:
sample in interface Sampler
Overrides:
sample in class HTTPSamplerBase
+
+
+
Parameters:
e - - + ignored +
Returns:
the new sample
+
+
+
+ +

+instantiateParser

+
+public void instantiateParser()
+
+
Method will instantiate the log parser based on the class in the text + field. This was done to make it easier for people to plugin their own log + parser and use different log parser. +

+

+
+
+
+
+
+
+
+ +

+getFilterClassName

+
+public String getFilterClassName()
+
+
+
+
+
+ +
Returns:
Returns the filterClassName.
+
+
+
+ +

+setFilterClassName

+
+public void setFilterClassName(String filterClassName)
+
+
+
+
+
+
Parameters:
filterClassName - The filterClassName to set.
+
+
+
+ +

+getDomain

+
+public String getDomain()
+
+
+
Overrides:
getDomain in class HTTPSamplerBase
+
+
+ +
Returns:
Returns the domain.
+
+
+
+ +

+setDomain

+
+public void setDomain(String domain)
+
+
+
Overrides:
setDomain in class HTTPSamplerBase
+
+
+
Parameters:
domain - The domain to set.
+
+
+
+ +

+isImageParsing

+
+public boolean isImageParsing()
+
+
+
+
+
+ +
Returns:
Returns the imageParsing.
+
+
+
+ +

+setImageParsing

+
+public void setImageParsing(boolean imageParsing)
+
+
+
+
+
+
Parameters:
imageParsing - The imageParsing to set.
+
+
+
+ +

+getPortString

+
+public String getPortString()
+
+
+
+
+
+ +
Returns:
Returns the port.
+
+
+
+ +

+setPortString

+
+public void setPortString(String port)
+
+
+
+
+
+
Parameters:
port - The port to set.
+
+
+
+ +

+initFilter

+
+protected void initFilter()
+
+
+
+
+
+
+
+
+
+ +

+clone

+
+public Object clone()
+
+
+

+

+
Specified by:
clone in interface TestElement
Overrides:
clone in class HTTPSamplerBase
+
+
+
+
+
+
+ +

+testEnded

+
+public void testEnded()
+
+

+ Called once for all threads after the end of a test. + + This will use the same element instances as at the start of the test. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testEnded in interface TestStateListener
Overrides:
testEnded in class HTTPSamplerBase
+
+
+
See Also:
StandardJMeterEngine.stopTest()
+
+
+
+ +

+testStarted

+
+public void testStarted()
+
+

+ Called just before the start of the test from the main engine thread. + + This is before the test elements are cloned. + + Note that not all the test + variables will have been set up at this point. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testStarted in interface TestStateListener
Overrides:
testStarted in class HTTPSamplerBase
+
+
+
See Also:
StandardJMeterEngine.run()
+
+
+
+ +

+threadFinished

+
+public void threadFinished()
+
+
Called for each thread after all samples have been processed. +

+

+
Specified by:
threadFinished in interface ThreadListener
Overrides:
threadFinished in class HTTPSamplerBase
+
+
+
See Also:
JMeterThread.threadFinished(org.apache.jmeter.engine.event.LoopIterationListener)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/sampler/AccessLogSamplerBeanInfo.html b/docs/api/org/apache/jmeter/protocol/http/sampler/AccessLogSamplerBeanInfo.html new file mode 100644 index 00000000000..26be19fe50f --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/sampler/AccessLogSamplerBeanInfo.html @@ -0,0 +1,270 @@ + + + + + +AccessLogSamplerBeanInfo (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.sampler +
+Class AccessLogSamplerBeanInfo

+
+java.lang.Object
+  extended by java.beans.SimpleBeanInfo
+      extended by org.apache.jmeter.testbeans.BeanInfoSupport
+          extended by org.apache.jmeter.protocol.http.sampler.AccessLogSamplerBeanInfo
+
+
+
All Implemented Interfaces:
BeanInfo
+
+
+
+
public class AccessLogSamplerBeanInfo
extends BeanInfoSupport
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.testbeans.BeanInfoSupport
DEFAULT, MULTILINE, NOT_EXPRESSION, NOT_OTHER, NOT_UNDEFINED, RESOURCE_BUNDLE, TAGS, TEXT_LANGUAGE
+ + + + + + + +
Fields inherited from interface java.beans.BeanInfo
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32
+  + + + + + + + + + + +
+Constructor Summary
AccessLogSamplerBeanInfo() + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testbeans.BeanInfoSupport
createPropertyGroup, getAdditionalBeanInfo, getBeanDescriptor, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getIcon, getMethodDescriptors, getPropertyDescriptors, property, property, property, setIcon
+ + + + + + + +
Methods inherited from class java.beans.SimpleBeanInfo
loadImage
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+AccessLogSamplerBeanInfo

+
+public AccessLogSamplerBeanInfo()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/sampler/AjpSampler.html b/docs/api/org/apache/jmeter/protocol/http/sampler/AjpSampler.html new file mode 100644 index 00000000000..19ecdae941e --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/sampler/AjpSampler.html @@ -0,0 +1,417 @@ + + + + + +AjpSampler (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.sampler +
+Class AjpSampler

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.samplers.AbstractSampler
+          extended by org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase
+              extended by org.apache.jmeter.protocol.http.sampler.AjpSampler
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, ConfigMergabilityIndicator, Searchable, HTTPConstantsInterface, Interruptible, Sampler, TestElement, TestIterationListener, TestStateListener, ThreadListener
+
+
+
+
public class AjpSampler
extends HTTPSamplerBase
implements Interruptible
+ + +

+Selector for the AJP/1.3 protocol + (i.e. what Tomcat uses with mod_jk) + It allows you to test Tomcat in AJP mode without + actually having Apache installed and configured +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase
HTTPSamplerBase.SourceType
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase
ARGUMENTS, AUTH_MANAGER, AUTO_REDIRECTS, BROWSER_COMPATIBLE_MULTIPART, BROWSER_COMPATIBLE_MULTIPART_MODE_DEFAULT, CACHE_MANAGER, CONCURRENT_DWN, CONCURRENT_POOL, CONCURRENT_POOL_SIZE, CONNECT_TIMEOUT, CONTENT_ENCODING, CONTENT_TYPE, COOKIE_MANAGER, DEFAULT_METHOD, DNS_CACHE_MANAGER, DO_MULTIPART_POST, DOMAIN, EMBEDDED_URL_RE, FOLLOW_REDIRECTS, HEADER_MANAGER, IMAGE_PARSER, IMPLEMENTATION, IP_SOURCE, IP_SOURCE_TYPE, MAX_FRAME_DEPTH, MAX_REDIRECTS, METHOD, MONITOR, NON_HTTP_RESPONSE_CODE, NON_HTTP_RESPONSE_MESSAGE, PATH, PORT, POST_BODY_RAW, POST_BODY_RAW_DEFAULT, PROTOCOL, PROXYHOST, PROXYPASS, PROXYPORT, PROXYUSER, RESPONSE_TIMEOUT, UNSPECIFIED_PORT, UNSPECIFIED_PORT_AS_STRING, URL, URL_UNSPECIFIED_PORT, URL_UNSPECIFIED_PORT_AS_STRING, USE_KEEPALIVE
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.protocol.http.util.HTTPConstantsInterface
APPLICATION_X_WWW_FORM_URLENCODED, CACHE_CONTROL, CONNECT, CONNECTION_CLOSE, COPY, DATE, DEFAULT_HTTP_PORT, DEFAULT_HTTP_PORT_STRING, DEFAULT_HTTPS_PORT, DEFAULT_HTTPS_PORT_STRING, DELETE, ENCODING_GZIP, ETAG, EXPIRES, GET, HEAD, HEADER_AUTHORIZATION, HEADER_CONNECTION, HEADER_CONTENT_DISPOSITION, HEADER_CONTENT_ENCODING, HEADER_CONTENT_LENGTH, HEADER_CONTENT_TYPE, HEADER_COOKIE, HEADER_HOST, HEADER_LOCAL_ADDRESS, HEADER_LOCATION, HEADER_SET_COOKIE, HTTP_1_1, IF_MODIFIED_SINCE, IF_NONE_MATCH, KEEP_ALIVE, LAST_MODIFIED, LOCK, MKCALENDAR, MKCOL, MOVE, MULTIPART_FORM_DATA, OPTIONS, PATCH, POST, PROPFIND, PROPPATCH, PROTOCOL_HTTP, PROTOCOL_HTTPS, PUT, REPORT, TRACE, TRANSFER_ENCODING, UNLOCK
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
AjpSampler() + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleaninterrupt() + +
+          Interrupt the current operation if possible.
+protected  HTTPSampleResultsample(URL url, + String method, + boolean frd, + int fd) + +
+          Samples the URL passed in and stores the result in + HTTPSampleResult, following redirects and downloading + page resources as appropriate.
+ voidthreadFinished() + +
+          Called for each thread after all samples have been processed.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase
addArgument, addArgument, addEncodedArgument, addEncodedArgument, addEncodedArgument, addNonEncodedArgument, addTestElement, applies, clearTestElementChildren, clone, downloadPageResources, encodeBackSlashes, encodeSpaces, errorResult, followRedirects, getArguments, getAuthManager, getAutoRedirects, getCacheManager, getConcurrentPool, getConnectTimeout, getContentEncoding, getCookieManager, getDefaultPort, getDNSResolver, getDoBrowserCompatibleMultipart, getDomain, getDoMultipartPost, getEmbeddedUrlRE, getFollowRedirects, getHeaderManager, getHTTPFileCount, getHTTPFiles, getImplementation, getIpSource, getIpSourceType, getMethod, getMonitor, getPath, getPort, getPortIfSpecified, getPostBodyRaw, getProtocol, getProxyHost, getProxyPass, getProxyPortInt, getProxyUser, getQueryString, getQueryString, getResponseTimeout, getSendFileAsPostBody, getSendParameterValuesAsPostBody, getSourceTypeList, getUrl, getUseKeepAlive, getUseMultipartForPost, getValidMethodsAsArray, hasArguments, isConcurrentDwn, isImageParser, isMonitor, isProtocolDefaultPort, isSecure, isSecure, isSuccessCode, parseArguments, parseArguments, readResponse, resultProcessing, sample, sample, setArguments, setAuthManager, setAutoRedirects, setCacheManager, setConcurrentDwn, setConcurrentPool, setConnectTimeout, setContentEncoding, setCookieManager, setDNSResolver, setDoBrowserCompatibleMultipart, setDomain, setDoMultipartPost, setEmbeddedUrlRE, setFollowRedirects, setHeaderManager, setHTTPFiles, setImageParser, setImplementation, setIpSource, setIpSourceType, setMD5, setMethod, setMonitor, setMonitor, setPath, setPath, setPort, setPostBodyRaw, setProtocol, setResponseTimeout, setUseKeepAlive, testEnded, testEnded, testIterationStart, testStarted, testStarted, threadStarted, toString, useMD5
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, canRemove, clear, clearTemporary, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.testelement.TestElement
canRemove, clear, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+AjpSampler

+
+public AjpSampler()
+
+
+ + + + + + + + +
+Method Detail
+ +

+sample

+
+protected HTTPSampleResult sample(URL url,
+                                  String method,
+                                  boolean frd,
+                                  int fd)
+
+
Description copied from class: HTTPSamplerBase
+
Samples the URL passed in and stores the result in + HTTPSampleResult, following redirects and downloading + page resources as appropriate. +

+ When getting a redirect target, redirects are not followed and resources + are not downloaded. The caller will take care of this. +

+

+
Specified by:
sample in class HTTPSamplerBase
+
+
+
Parameters:
url - URL to sample
method - HTTP method: GET, POST,...
frd - whether we're getting a redirect target
fd - Depth of this target in the frame structure. Used only to + prevent infinite recursion. +
Returns:
results of the sampling, can be null if u is in CacheManager
+
+
+
+ +

+threadFinished

+
+public void threadFinished()
+
+
Description copied from interface: ThreadListener
+
Called for each thread after all samples have been processed. +

+

+
Specified by:
threadFinished in interface ThreadListener
Overrides:
threadFinished in class HTTPSamplerBase
+
+
+
See Also:
JMeterThread.threadFinished(org.apache.jmeter.engine.event.LoopIterationListener)
+
+
+
+ +

+interrupt

+
+public boolean interrupt()
+
+
Description copied from interface: Interruptible
+
Interrupt the current operation if possible. +

+

+
Specified by:
interrupt in interface Interruptible
+
+
+ +
Returns:
true if there was an operation to interrupt.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/sampler/HTTPAbstractImpl.html b/docs/api/org/apache/jmeter/protocol/http/sampler/HTTPAbstractImpl.html new file mode 100644 index 00000000000..6ae4b9c66f8 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/sampler/HTTPAbstractImpl.html @@ -0,0 +1,1232 @@ + + + + + +HTTPAbstractImpl (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.sampler +
+Class HTTPAbstractImpl

+
+java.lang.Object
+  extended by org.apache.jmeter.protocol.http.sampler.HTTPAbstractImpl
+
+
+
All Implemented Interfaces:
HTTPConstantsInterface, Interruptible
+
+
+
Direct Known Subclasses:
HTTPFileImpl, HTTPHCAbstractImpl, HTTPJavaImpl
+
+
+
+
public abstract class HTTPAbstractImpl
extends Object
implements Interruptible, HTTPConstantsInterface
+ + +

+Base class for HTTP implementations used by the HTTPSamplerProxy sampler. +

+ +

+


+ +

+ + + + + + + + + + + +
+Field Summary
+protected  HTTPSamplerBasetestElement + +
+           
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.protocol.http.util.HTTPConstantsInterface
APPLICATION_X_WWW_FORM_URLENCODED, CACHE_CONTROL, CONNECT, CONNECTION_CLOSE, COPY, DATE, DEFAULT_HTTP_PORT, DEFAULT_HTTP_PORT_STRING, DEFAULT_HTTPS_PORT, DEFAULT_HTTPS_PORT_STRING, DELETE, ENCODING_GZIP, ETAG, EXPIRES, GET, HEAD, HEADER_AUTHORIZATION, HEADER_CONNECTION, HEADER_CONTENT_DISPOSITION, HEADER_CONTENT_ENCODING, HEADER_CONTENT_LENGTH, HEADER_CONTENT_TYPE, HEADER_COOKIE, HEADER_HOST, HEADER_LOCAL_ADDRESS, HEADER_LOCATION, HEADER_SET_COOKIE, HTTP_1_1, IF_MODIFIED_SINCE, IF_NONE_MATCH, KEEP_ALIVE, LAST_MODIFIED, LOCK, MKCALENDAR, MKCOL, MOVE, MULTIPART_FORM_DATA, OPTIONS, PATCH, POST, PROPFIND, PROPPATCH, PROTOCOL_HTTP, PROTOCOL_HTTPS, PUT, REPORT, TRACE, TRANSFER_ENCODING, UNLOCK
+  + + + + + + + + + + + +
+Constructor Summary
+protected HTTPAbstractImpl(HTTPSamplerBase testElement) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+protected  HTTPSampleResulterrorResult(Throwable t, + HTTPSampleResult res) + +
+          Populates the provided HTTPSampleResult with details from the Exception.
+protected  ArgumentsgetArguments() + +
+          Invokes HTTPSamplerBase.getArguments()
+protected  AuthManagergetAuthManager() + +
+          Invokes HTTPSamplerBase.getAuthManager()
+protected  booleangetAutoRedirects() + +
+          Invokes HTTPSamplerBase.getAutoRedirects()
+protected  CacheManagergetCacheManager() + +
+          Invokes HTTPSamplerBase.getCacheManager()
+protected  intgetConnectTimeout() + +
+          Invokes HTTPSamplerBase.getConnectTimeout()
+protected  StringgetContentEncoding() + +
+          Invokes HTTPSamplerBase.getContentEncoding()
+protected  CookieManagergetCookieManager() + +
+          Invokes HTTPSamplerBase.getCookieManager()
+protected  booleangetDoBrowserCompatibleMultipart() + +
+          Invokes HTTPSamplerBase.getDoBrowserCompatibleMultipart()
+protected  HeaderManagergetHeaderManager() + +
+          Invokes HTTPSamplerBase.getHeaderManager()
+protected  HTTPFileArg[]getHTTPFiles() + +
+          Get the collection of files as a list.
+protected  StringgetIpSource() + +
+          Invokes HTTPSamplerBase.getIpSource()
+protected  InetAddressgetIpSourceAddress() + +
+          Gets the IP source address (IP spoofing) if one has been provided.
+protected  StringgetProxyHost() + +
+          Invokes HTTPSamplerBase.getProxyHost()
+protected  StringgetProxyPass() + +
+          Invokes HTTPSamplerBase.getProxyPass()
+protected  intgetProxyPortInt() + +
+          Invokes HTTPSamplerBase.getProxyPortInt()
+protected  StringgetProxyUser() + +
+          Invokes HTTPSamplerBase.getProxyUser()
+protected  intgetResponseTimeout() + +
+          Invokes HTTPSamplerBase.getResponseTimeout()
+protected  booleangetSendFileAsPostBody() + +
+          Determine whether to send a file as the entire body of an + entity enclosing request such as POST, PUT or PATCH.
+protected  booleangetSendParameterValuesAsPostBody() + +
+          Determine whether to send concatenated parameters as the entire body of an + entity enclosing request such as POST, PUT or PATCH.
+protected  booleangetUseKeepAlive() + +
+          Invokes HTTPSamplerBase.getUseKeepAlive()
+protected  booleangetUseMultipartForPost() + +
+          Determine if we should use multipart/form-data or + application/x-www-form-urlencoded for the post + + Invokes HTTPSamplerBase.getUseMultipartForPost()
+protected  booleanhasArguments() + +
+          Invokes HTTPSamplerBase.hasArguments()
+protected  booleanisMonitor() + +
+          Invokes HTTPSamplerBase.isMonitor()
+protected  booleanisSuccessCode(int errorLevel) + +
+          Determine if the HTTP status code is successful or not i.e. in range 200 + to 399 inclusive + + Invokes HTTPSamplerBase.isSuccessCode(int)
+protected  voidnotifyFirstSampleAfterLoopRestart() + +
+           
+protected  voidnotifySSLContextWasReset() + +
+          Called by testIterationStart if the SSL Context was reset.
+protected  byte[]readResponse(SampleResult res, + BufferedInputStream in, + int contentLength) + +
+          Read response from the input stream, converting to MD5 digest if the + useMD5 property is set.
+protected  byte[]readResponse(SampleResult res, + InputStream instream, + int responseContentLength) + +
+          Read response from the input stream, converting to MD5 digest if the + useMD5 property is set.
+protected  HTTPSampleResultresultProcessing(boolean areFollowingRedirect, + int frameDepth, + HTTPSampleResult res) + +
+          Follow redirects and download page resources if appropriate. this works, + but the container stuff here is what's doing it. followRedirects() is + actually doing the work to make sure we have only one container to make + this work more naturally, I think this method - sample() - needs to take + an HTTPSamplerResult container parameter instead of a + boolean:areFollowingRedirect.
+protected abstract  HTTPSampleResultsample(URL url, + String method, + boolean areFollowingRedirect, + int frameDepth) + +
+           
+protected  voidsetUseKeepAlive(boolean b) + +
+          Invokes HTTPSamplerBase.setUseKeepAlive(boolean)
+protected  voidthreadFinished() + +
+           
+protected  HTTPSampleResultupdateSampleResultForResourceInCache(HTTPSampleResult res) + +
+          Update HTTPSampleResult for a resource in cache
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.samplers.Interruptible
interrupt
+  +

+ + + + + + + + +
+Field Detail
+ +

+testElement

+
+protected final HTTPSamplerBase testElement
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+HTTPAbstractImpl

+
+protected HTTPAbstractImpl(HTTPSamplerBase testElement)
+
+
+ + + + + + + + +
+Method Detail
+ +

+sample

+
+protected abstract HTTPSampleResult sample(URL url,
+                                           String method,
+                                           boolean areFollowingRedirect,
+                                           int frameDepth)
+
+
+
+
+
+
+
+
+
+ +

+threadFinished

+
+protected void threadFinished()
+
+
+
+
+
+
+
+
+
+ +

+notifyFirstSampleAfterLoopRestart

+
+protected void notifyFirstSampleAfterLoopRestart()
+
+
+
+
+
+
+
+
+
+ +

+errorResult

+
+protected HTTPSampleResult errorResult(Throwable t,
+                                       HTTPSampleResult res)
+
+
Populates the provided HTTPSampleResult with details from the Exception. + Does not create a new instance, so should not be used directly to add a + subsample. +

+ See HTTPSamplerBase.errorResult(Throwable, HTTPSampleResult) +

+

+
+
+
+
Parameters:
t - Exception representing the error.
res - SampleResult to be modified +
Returns:
the modified sampling result containing details of the Exception. + Invokes
+
+
+
+ +

+getArguments

+
+protected Arguments getArguments()
+
+
Invokes HTTPSamplerBase.getArguments() +

+

+
+
+
+ +
Returns:
the arguments of the associated test element
+
+
+
+ +

+getAuthManager

+
+protected AuthManager getAuthManager()
+
+
Invokes HTTPSamplerBase.getAuthManager() +

+

+
+
+
+ +
Returns:
the AuthManager of the associated test element
+
+
+
+ +

+getAutoRedirects

+
+protected boolean getAutoRedirects()
+
+
Invokes HTTPSamplerBase.getAutoRedirects() +

+

+
+
+
+ +
Returns:
flag whether to do auto redirects
+
+
+
+ +

+getCacheManager

+
+protected CacheManager getCacheManager()
+
+
Invokes HTTPSamplerBase.getCacheManager() +

+

+
+
+
+ +
Returns:
the CacheManager of the associated test element
+
+
+
+ +

+getConnectTimeout

+
+protected int getConnectTimeout()
+
+
Invokes HTTPSamplerBase.getConnectTimeout() +

+

+
+
+
+ +
Returns:
the connect timeout of the associated test element
+
+
+
+ +

+getContentEncoding

+
+protected String getContentEncoding()
+
+
Invokes HTTPSamplerBase.getContentEncoding() +

+

+
+
+
+ +
Returns:
the encoding of the content, i.e. its charset name
+
+
+
+ +

+getCookieManager

+
+protected CookieManager getCookieManager()
+
+
Invokes HTTPSamplerBase.getCookieManager() +

+

+
+
+
+ +
Returns:
the CookieManager of the associated test element
+
+
+
+ +

+getHeaderManager

+
+protected HeaderManager getHeaderManager()
+
+
Invokes HTTPSamplerBase.getHeaderManager() +

+

+
+
+
+ +
Returns:
the HeaderManager of the associated test element
+
+
+
+ +

+getHTTPFiles

+
+protected HTTPFileArg[] getHTTPFiles()
+
+
Get the collection of files as a list. + The list is built up from the filename/filefield/mimetype properties, + plus any additional entries saved in the FILE_ARGS property. +

+ If there are no valid file entries, then an empty list is returned. +

+ Invokes HTTPSamplerBase.getHTTPFiles() +

+

+
+
+
+ +
Returns:
an array of file arguments (never null)
+
+
+
+ +

+getIpSource

+
+protected String getIpSource()
+
+
Invokes HTTPSamplerBase.getIpSource() +

+

+
+
+
+ +
Returns:
the configured ip source for the associated test element
+
+
+
+ +

+getIpSourceAddress

+
+protected InetAddress getIpSourceAddress()
+                                  throws UnknownHostException,
+                                         SocketException
+
+
Gets the IP source address (IP spoofing) if one has been provided. +

+

+
+
+
+ +
Returns:
the IP source address to use (or null, if none provided or the device address could not be found) +
Throws: +
UnknownHostException - if the hostname/ip for getIpSource() could not be resolved or not interface was found for it +
SocketException - if an I/O error occurs
+
+
+
+ +

+getProxyHost

+
+protected String getProxyHost()
+
+
Invokes HTTPSamplerBase.getProxyHost() +

+

+
+
+
+ +
Returns:
the configured host to use as a proxy
+
+
+
+ +

+getProxyPass

+
+protected String getProxyPass()
+
+
Invokes HTTPSamplerBase.getProxyPass() +

+

+
+
+
+ +
Returns:
the configured password to use for the proxy
+
+
+
+ +

+getProxyPortInt

+
+protected int getProxyPortInt()
+
+
Invokes HTTPSamplerBase.getProxyPortInt() +

+

+
+
+
+ +
Returns:
the configured port to use for the proxy
+
+
+
+ +

+getProxyUser

+
+protected String getProxyUser()
+
+
Invokes HTTPSamplerBase.getProxyUser() +

+

+
+
+
+ +
Returns:
the configured user to use for the proxy
+
+
+
+ +

+getResponseTimeout

+
+protected int getResponseTimeout()
+
+
Invokes HTTPSamplerBase.getResponseTimeout() +

+

+
+
+
+ +
Returns:
the configured timeout for responses
+
+
+
+ +

+getSendFileAsPostBody

+
+protected boolean getSendFileAsPostBody()
+
+
Determine whether to send a file as the entire body of an + entity enclosing request such as POST, PUT or PATCH. + + Invokes HTTPSamplerBase.getSendFileAsPostBody() +

+

+
+
+
+ +
Returns:
flag whether to send a file as POST, PUT or PATCH
+
+
+
+ +

+getSendParameterValuesAsPostBody

+
+protected boolean getSendParameterValuesAsPostBody()
+
+
Determine whether to send concatenated parameters as the entire body of an + entity enclosing request such as POST, PUT or PATCH. + + Invokes HTTPSamplerBase.getSendParameterValuesAsPostBody() +

+

+
+
+
+ +
Returns:
flag whether to send concatenated parameters as the entire body
+
+
+
+ +

+getUseKeepAlive

+
+protected boolean getUseKeepAlive()
+
+
Invokes HTTPSamplerBase.getUseKeepAlive() +

+

+
+
+
+ +
Returns:
flag whether to use keep-alive for requests
+
+
+
+ +

+getUseMultipartForPost

+
+protected boolean getUseMultipartForPost()
+
+
Determine if we should use multipart/form-data or + application/x-www-form-urlencoded for the post +

+ Invokes HTTPSamplerBase.getUseMultipartForPost() +

+

+
+
+
+ +
Returns:
true if multipart/form-data should be + used and method is POST
+
+
+
+ +

+getDoBrowserCompatibleMultipart

+
+protected boolean getDoBrowserCompatibleMultipart()
+
+
Invokes HTTPSamplerBase.getDoBrowserCompatibleMultipart() +

+

+
+
+
+ +
Returns:
flag whether we should do browser compatible multiparts
+
+
+
+ +

+hasArguments

+
+protected boolean hasArguments()
+
+
Invokes HTTPSamplerBase.hasArguments() +

+

+
+
+
+ +
Returns:
flag whether we have arguments to send
+
+
+
+ +

+isMonitor

+
+protected boolean isMonitor()
+
+
Invokes HTTPSamplerBase.isMonitor() +

+

+
+
+
+ +
Returns:
flag whether monitor is enabled
+
+
+
+ +

+isSuccessCode

+
+protected boolean isSuccessCode(int errorLevel)
+
+
Determine if the HTTP status code is successful or not i.e. in range 200 + to 399 inclusive +

+ Invokes HTTPSamplerBase.isSuccessCode(int) +

+

+
+
+
+
Parameters:
errorLevel - status code to check +
Returns:
whether in range 200-399 or not
+
+
+
+ +

+readResponse

+
+protected byte[] readResponse(SampleResult res,
+                              InputStream instream,
+                              int responseContentLength)
+                       throws IOException
+
+
Read response from the input stream, converting to MD5 digest if the + useMD5 property is set. +

+ For the MD5 case, the result byte count is set to the size of the + original response. +

+ Closes the inputStream +

+ Invokes + HTTPSamplerBase.readResponse(SampleResult, InputStream, int) +

+

+
+
+
+
Parameters:
res - sample to store information about the response into
instream - input stream from which to read the response
responseContentLength - expected input length or zero +
Returns:
the response or the MD5 of the response +
Throws: +
IOException - if reading the result fails
+
+
+
+ +

+readResponse

+
+protected byte[] readResponse(SampleResult res,
+                              BufferedInputStream in,
+                              int contentLength)
+                       throws IOException
+
+
Read response from the input stream, converting to MD5 digest if the + useMD5 property is set. +

+ For the MD5 case, the result byte count is set to the size of the + original response. +

+ Closes the inputStream +

+ Invokes HTTPSamplerBase.readResponse(SampleResult, InputStream, int) +

+

+
+
+
+
Parameters:
res - sample to store information about the response into
in - input stream from which to read the response
contentLength - expected input length or zero +
Returns:
the response or the MD5 of the response +
Throws: +
IOException - when reading the result fails
+
+
+
+ +

+resultProcessing

+
+protected HTTPSampleResult resultProcessing(boolean areFollowingRedirect,
+                                            int frameDepth,
+                                            HTTPSampleResult res)
+
+
Follow redirects and download page resources if appropriate. this works, + but the container stuff here is what's doing it. followRedirects() is + actually doing the work to make sure we have only one container to make + this work more naturally, I think this method - sample() - needs to take + an HTTPSamplerResult container parameter instead of a + boolean:areFollowingRedirect. +

+ Invokes + HTTPSamplerBase.resultProcessing(boolean, int, HTTPSampleResult) +

+

+
+
+
+
Parameters:
areFollowingRedirect - flag whether we are getting a redirect target
frameDepth - Depth of this target in the frame structure. Used only to + prevent infinite recursion.
res - sample result to process +
Returns:
the sample result
+
+
+
+ +

+setUseKeepAlive

+
+protected void setUseKeepAlive(boolean b)
+
+
Invokes HTTPSamplerBase.setUseKeepAlive(boolean) +

+

+
+
+
+
Parameters:
b - flag whether to use keep-alive for requests
+
+
+
+ +

+notifySSLContextWasReset

+
+protected void notifySSLContextWasReset()
+
+
Called by testIterationStart if the SSL Context was reset. + + This implementation does nothing. +

+

+
+
+
+
+
+
+
+ +

+updateSampleResultForResourceInCache

+
+protected HTTPSampleResult updateSampleResultForResourceInCache(HTTPSampleResult res)
+
+
Update HTTPSampleResult for a resource in cache +

+

+
+
+
+
Parameters:
res - HTTPSampleResult +
Returns:
HTTPSampleResult
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/sampler/HTTPFileImpl.html b/docs/api/org/apache/jmeter/protocol/http/sampler/HTTPFileImpl.html new file mode 100644 index 00000000000..c8e3002fed6 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/sampler/HTTPFileImpl.html @@ -0,0 +1,326 @@ + + + + + +HTTPFileImpl (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.sampler +
+Class HTTPFileImpl

+
+java.lang.Object
+  extended by org.apache.jmeter.protocol.http.sampler.HTTPAbstractImpl
+      extended by org.apache.jmeter.protocol.http.sampler.HTTPFileImpl
+
+
+
All Implemented Interfaces:
HTTPConstantsInterface, Interruptible
+
+
+
+
public class HTTPFileImpl
extends HTTPAbstractImpl
+ + +

+HTTP Sampler which can read from file: URLs +

+ +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.protocol.http.sampler.HTTPAbstractImpl
testElement
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.protocol.http.util.HTTPConstantsInterface
APPLICATION_X_WWW_FORM_URLENCODED, CACHE_CONTROL, CONNECT, CONNECTION_CLOSE, COPY, DATE, DEFAULT_HTTP_PORT, DEFAULT_HTTP_PORT_STRING, DEFAULT_HTTPS_PORT, DEFAULT_HTTPS_PORT_STRING, DELETE, ENCODING_GZIP, ETAG, EXPIRES, GET, HEAD, HEADER_AUTHORIZATION, HEADER_CONNECTION, HEADER_CONTENT_DISPOSITION, HEADER_CONTENT_ENCODING, HEADER_CONTENT_LENGTH, HEADER_CONTENT_TYPE, HEADER_COOKIE, HEADER_HOST, HEADER_LOCAL_ADDRESS, HEADER_LOCATION, HEADER_SET_COOKIE, HTTP_1_1, IF_MODIFIED_SINCE, IF_NONE_MATCH, KEEP_ALIVE, LAST_MODIFIED, LOCK, MKCALENDAR, MKCOL, MOVE, MULTIPART_FORM_DATA, OPTIONS, PATCH, POST, PROPFIND, PROPPATCH, PROTOCOL_HTTP, PROTOCOL_HTTPS, PUT, REPORT, TRACE, TRANSFER_ENCODING, UNLOCK
+  + + + + + + + + + + + +
+Constructor Summary
+protected HTTPFileImpl(HTTPSamplerBase base) + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ booleaninterrupt() + +
+          Interrupt the current operation if possible.
+protected  HTTPSampleResultsample(URL url, + String method, + boolean areFollowingRedirect, + int frameDepth) + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.protocol.http.sampler.HTTPAbstractImpl
errorResult, getArguments, getAuthManager, getAutoRedirects, getCacheManager, getConnectTimeout, getContentEncoding, getCookieManager, getDoBrowserCompatibleMultipart, getHeaderManager, getHTTPFiles, getIpSource, getIpSourceAddress, getProxyHost, getProxyPass, getProxyPortInt, getProxyUser, getResponseTimeout, getSendFileAsPostBody, getSendParameterValuesAsPostBody, getUseKeepAlive, getUseMultipartForPost, hasArguments, isMonitor, isSuccessCode, notifyFirstSampleAfterLoopRestart, notifySSLContextWasReset, readResponse, readResponse, resultProcessing, setUseKeepAlive, threadFinished, updateSampleResultForResourceInCache
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+HTTPFileImpl

+
+protected HTTPFileImpl(HTTPSamplerBase base)
+
+
+ + + + + + + + +
+Method Detail
+ +

+interrupt

+
+public boolean interrupt()
+
+
Description copied from interface: Interruptible
+
Interrupt the current operation if possible. +

+

+ +
Returns:
true if there was an operation to interrupt.
+
+
+
+ +

+sample

+
+protected HTTPSampleResult sample(URL url,
+                                  String method,
+                                  boolean areFollowingRedirect,
+                                  int frameDepth)
+
+
+
Specified by:
sample in class HTTPAbstractImpl
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/sampler/HTTPHC3Impl.html b/docs/api/org/apache/jmeter/protocol/http/sampler/HTTPHC3Impl.html new file mode 100644 index 00000000000..2eb18a0cb3a --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/sampler/HTTPHC3Impl.html @@ -0,0 +1,525 @@ + + + + + +HTTPHC3Impl (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.sampler +
+Class HTTPHC3Impl

+
+java.lang.Object
+  extended by org.apache.jmeter.protocol.http.sampler.HTTPAbstractImpl
+      extended by org.apache.jmeter.protocol.http.sampler.HTTPHCAbstractImpl
+          extended by org.apache.jmeter.protocol.http.sampler.HTTPHC3Impl
+
+
+
All Implemented Interfaces:
HTTPConstantsInterface, Interruptible
+
+
+
+
public class HTTPHC3Impl
extends HTTPHCAbstractImpl
+ + +

+HTTP sampler using Apache (Jakarta) Commons HttpClient 3.1. +

+ +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.protocol.http.sampler.HTTPHCAbstractImpl
CPS_HTTP, CPS_HTTPS, HTTP_VERSION, localAddress, localHost, NONPROXY_HOSTS, nonProxyHostFull, nonProxyHostSuffix, nonProxyHostSuffixSize, PROXY_DEFINED, PROXY_DOMAIN, PROXY_HOST, PROXY_PASS, PROXY_PORT, PROXY_USER, SO_TIMEOUT, USE_CACHED_SSL_CONTEXT, USE_LOOPBACK
+ + + + + + + +
Fields inherited from class org.apache.jmeter.protocol.http.sampler.HTTPAbstractImpl
testElement
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.protocol.http.util.HTTPConstantsInterface
APPLICATION_X_WWW_FORM_URLENCODED, CACHE_CONTROL, CONNECT, CONNECTION_CLOSE, COPY, DATE, DEFAULT_HTTP_PORT, DEFAULT_HTTP_PORT_STRING, DEFAULT_HTTPS_PORT, DEFAULT_HTTPS_PORT_STRING, DELETE, ENCODING_GZIP, ETAG, EXPIRES, GET, HEAD, HEADER_AUTHORIZATION, HEADER_CONNECTION, HEADER_CONTENT_DISPOSITION, HEADER_CONTENT_ENCODING, HEADER_CONTENT_LENGTH, HEADER_CONTENT_TYPE, HEADER_COOKIE, HEADER_HOST, HEADER_LOCAL_ADDRESS, HEADER_LOCATION, HEADER_SET_COOKIE, HTTP_1_1, IF_MODIFIED_SINCE, IF_NONE_MATCH, KEEP_ALIVE, LAST_MODIFIED, LOCK, MKCALENDAR, MKCOL, MOVE, MULTIPART_FORM_DATA, OPTIONS, PATCH, POST, PROPFIND, PROPPATCH, PROTOCOL_HTTP, PROTOCOL_HTTPS, PUT, REPORT, TRACE, TRANSFER_ENCODING, UNLOCK
+  + + + + + + + + + + + +
+Constructor Summary
+protected HTTPHC3Impl(HTTPSamplerBase base) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+protected  StringgetConnectionHeaders(org.apache.commons.httpclient.HttpMethod method) + +
+          Get all the request headers for the HttpMethod
+protected  StringgetResponseHeaders(org.apache.commons.httpclient.HttpMethod method) + +
+          Gets the ResponseHeaders
+ booleaninterrupt() + +
+          Interrupt the current operation if possible.
+protected  voidnotifyFirstSampleAfterLoopRestart() + +
+           
+protected  HTTPSampleResultsample(URL url, + String method, + boolean areFollowingRedirect, + int frameDepth) + +
+          Samples the URL passed in and stores the result in + HTTPSampleResult, following redirects and downloading + page resources as appropriate.
+protected  voidsaveConnectionCookies(org.apache.commons.httpclient.HttpMethod method, + URL u, + CookieManager cookieManager) + +
+          From the HttpMethod, store all the "set-cookie" key-pair + values in the cookieManager of the UrlConfig.
+protected  voidsetDefaultRequestHeaders(org.apache.commons.httpclient.HttpMethod httpMethod) + +
+          Set any default request headers to include
+protected  org.apache.commons.httpclient.HttpClientsetupConnection(URL u, + org.apache.commons.httpclient.HttpMethodBase httpMethod, + HTTPSampleResult res) + +
+          Returns an HttpConnection fully ready to attempt + connection.
+protected  voidthreadFinished() + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.protocol.http.sampler.HTTPHCAbstractImpl
isDynamicProxy, isNonProxy, isNullOrEmptyTrimmed, isPartialMatch, isStaticProxy
+ + + + + + + +
Methods inherited from class org.apache.jmeter.protocol.http.sampler.HTTPAbstractImpl
errorResult, getArguments, getAuthManager, getAutoRedirects, getCacheManager, getConnectTimeout, getContentEncoding, getCookieManager, getDoBrowserCompatibleMultipart, getHeaderManager, getHTTPFiles, getIpSource, getIpSourceAddress, getProxyHost, getProxyPass, getProxyPortInt, getProxyUser, getResponseTimeout, getSendFileAsPostBody, getSendParameterValuesAsPostBody, getUseKeepAlive, getUseMultipartForPost, hasArguments, isMonitor, isSuccessCode, notifySSLContextWasReset, readResponse, readResponse, resultProcessing, setUseKeepAlive, updateSampleResultForResourceInCache
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+HTTPHC3Impl

+
+protected HTTPHC3Impl(HTTPSamplerBase base)
+
+
+ + + + + + + + +
+Method Detail
+ +

+sample

+
+protected HTTPSampleResult sample(URL url,
+                                  String method,
+                                  boolean areFollowingRedirect,
+                                  int frameDepth)
+
+
Samples the URL passed in and stores the result in + HTTPSampleResult, following redirects and downloading + page resources as appropriate. +

+ When getting a redirect target, redirects are not followed and resources + are not downloaded. The caller will take care of this. +

+

+
Specified by:
sample in class HTTPAbstractImpl
+
+
+
Parameters:
url - URL to sample
method - HTTP method: GET, POST,...
areFollowingRedirect - whether we're getting a redirect target
frameDepth - Depth of this target in the frame structure. Used only to + prevent infinite recursion. +
Returns:
results of the sampling
+
+
+
+ +

+setupConnection

+
+protected org.apache.commons.httpclient.HttpClient setupConnection(URL u,
+                                                                   org.apache.commons.httpclient.HttpMethodBase httpMethod,
+                                                                   HTTPSampleResult res)
+                                                            throws IOException
+
+
Returns an HttpConnection fully ready to attempt + connection. This means it sets the request method (GET or POST), headers, + cookies, and authorization for the URL request. +

+ The request infos are saved into the sample result if one is provided. +

+

+
Parameters:
u - URL of the URL request
httpMethod - GET/PUT/HEAD etc
res - sample result to save request infos to +
Returns:
HttpConnection ready for .connect +
Throws: +
IOException - if an I/O Exception occurs
+
+
+
+ +

+setDefaultRequestHeaders

+
+protected void setDefaultRequestHeaders(org.apache.commons.httpclient.HttpMethod httpMethod)
+
+
Set any default request headers to include +

+

+
Parameters:
httpMethod - the HttpMethod used for the request
+
+
+
+ +

+getResponseHeaders

+
+protected String getResponseHeaders(org.apache.commons.httpclient.HttpMethod method)
+
+
Gets the ResponseHeaders +

+

+
Parameters:
method - the method used to perform the request +
Returns:
string containing the headers, one per line
+
+
+
+ +

+getConnectionHeaders

+
+protected String getConnectionHeaders(org.apache.commons.httpclient.HttpMethod method)
+
+
Get all the request headers for the HttpMethod +

+

+
Parameters:
method - HttpMethod which represents the request +
Returns:
the headers as a string
+
+
+
+ +

+saveConnectionCookies

+
+protected void saveConnectionCookies(org.apache.commons.httpclient.HttpMethod method,
+                                     URL u,
+                                     CookieManager cookieManager)
+
+
From the HttpMethod, store all the "set-cookie" key-pair + values in the cookieManager of the UrlConfig. +

+

+
Parameters:
method - HttpMethod which represents the request
u - URL of the URL request
cookieManager - the CookieManager containing all the cookies
+
+
+
+ +

+threadFinished

+
+protected void threadFinished()
+
+
+
Overrides:
threadFinished in class HTTPAbstractImpl
+
+
+
+
+
+
+ +

+notifyFirstSampleAfterLoopRestart

+
+protected void notifyFirstSampleAfterLoopRestart()
+
+
+
Overrides:
notifyFirstSampleAfterLoopRestart in class HTTPAbstractImpl
+
+
+
+
+
+
+ +

+interrupt

+
+public boolean interrupt()
+
+
Interrupt the current operation if possible. +

+

+ +
Returns:
true if there was an operation to interrupt.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.HttpDelete.html b/docs/api/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.HttpDelete.html new file mode 100644 index 00000000000..4ac227c30a5 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.HttpDelete.html @@ -0,0 +1,323 @@ + + + + + +HTTPHC4Impl.HttpDelete (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.sampler +
+Class HTTPHC4Impl.HttpDelete

+
+java.lang.Object
+  extended by org.apache.http.message.AbstractHttpMessage
+      extended by org.apache.http.client.methods.HttpRequestBase
+          extended by org.apache.http.client.methods.HttpEntityEnclosingRequestBase
+              extended by org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl.HttpDelete
+
+
+
All Implemented Interfaces:
Cloneable, org.apache.http.client.methods.AbortableHttpRequest, org.apache.http.client.methods.HttpUriRequest, org.apache.http.HttpEntityEnclosingRequest, org.apache.http.HttpMessage, org.apache.http.HttpRequest
+
+
+
Enclosing class:
HTTPHC4Impl
+
+
+
+
public static final class HTTPHC4Impl.HttpDelete
extends org.apache.http.client.methods.HttpEntityEnclosingRequestBase
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.http.message.AbstractHttpMessage
headergroup, params
+  + + + + + + + + + + +
+Constructor Summary
HTTPHC4Impl.HttpDelete(URI uri) + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ StringgetMethod() + +
+           
+ + + + + + + +
Methods inherited from class org.apache.http.client.methods.HttpEntityEnclosingRequestBase
clone, expectContinue, getEntity, setEntity
+ + + + + + + +
Methods inherited from class org.apache.http.client.methods.HttpRequestBase
abort, getProtocolVersion, getRequestLine, getURI, isAborted, releaseConnection, reset, setConnectionRequest, setReleaseTrigger, setURI, toString
+ + + + + + + +
Methods inherited from class org.apache.http.message.AbstractHttpMessage
addHeader, addHeader, containsHeader, getAllHeaders, getFirstHeader, getHeaders, getLastHeader, getParams, headerIterator, headerIterator, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setParams
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.http.HttpRequest
getRequestLine
+ + + + + + + +
Methods inherited from interface org.apache.http.HttpMessage
addHeader, addHeader, containsHeader, getAllHeaders, getFirstHeader, getHeaders, getLastHeader, getParams, getProtocolVersion, headerIterator, headerIterator, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setParams
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+HTTPHC4Impl.HttpDelete

+
+public HTTPHC4Impl.HttpDelete(URI uri)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getMethod

+
+public String getMethod()
+
+
+
Specified by:
getMethod in interface org.apache.http.client.methods.HttpUriRequest
Specified by:
getMethod in class org.apache.http.client.methods.HttpRequestBase
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.html b/docs/api/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.html new file mode 100644 index 00000000000..ab302aba5ea --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.html @@ -0,0 +1,672 @@ + + + + + +HTTPHC4Impl (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.sampler +
+Class HTTPHC4Impl

+
+java.lang.Object
+  extended by org.apache.jmeter.protocol.http.sampler.HTTPAbstractImpl
+      extended by org.apache.jmeter.protocol.http.sampler.HTTPHCAbstractImpl
+          extended by org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl
+
+
+
All Implemented Interfaces:
HTTPConstantsInterface, Interruptible
+
+
+
+
public class HTTPHC4Impl
extends HTTPHCAbstractImpl
+ + +

+HTTP Sampler using Apache HttpClient 4.x. +

+ +

+


+ +

+ + + + + + + + + + + +
+Nested Class Summary
+static classHTTPHC4Impl.HttpDelete + +
+           
+ + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.protocol.http.sampler.HTTPHCAbstractImpl
CPS_HTTP, CPS_HTTPS, HTTP_VERSION, localAddress, localHost, NONPROXY_HOSTS, nonProxyHostFull, nonProxyHostSuffix, nonProxyHostSuffixSize, PROXY_DEFINED, PROXY_DOMAIN, PROXY_HOST, PROXY_PASS, PROXY_PORT, PROXY_USER, SO_TIMEOUT, USE_CACHED_SSL_CONTEXT, USE_LOOPBACK
+ + + + + + + +
Fields inherited from class org.apache.jmeter.protocol.http.sampler.HTTPAbstractImpl
testElement
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.protocol.http.util.HTTPConstantsInterface
APPLICATION_X_WWW_FORM_URLENCODED, CACHE_CONTROL, CONNECT, CONNECTION_CLOSE, COPY, DATE, DEFAULT_HTTP_PORT, DEFAULT_HTTP_PORT_STRING, DEFAULT_HTTPS_PORT, DEFAULT_HTTPS_PORT_STRING, DELETE, ENCODING_GZIP, ETAG, EXPIRES, GET, HEAD, HEADER_AUTHORIZATION, HEADER_CONNECTION, HEADER_CONTENT_DISPOSITION, HEADER_CONTENT_ENCODING, HEADER_CONTENT_LENGTH, HEADER_CONTENT_TYPE, HEADER_COOKIE, HEADER_HOST, HEADER_LOCAL_ADDRESS, HEADER_LOCATION, HEADER_SET_COOKIE, HTTP_1_1, IF_MODIFIED_SINCE, IF_NONE_MATCH, KEEP_ALIVE, LAST_MODIFIED, LOCK, MKCALENDAR, MKCOL, MOVE, MULTIPART_FORM_DATA, OPTIONS, PATCH, POST, PROPFIND, PROPPATCH, PROTOCOL_HTTP, PROTOCOL_HTTPS, PUT, REPORT, TRACE, TRANSFER_ENCODING, UNLOCK
+  + + + + + + + + + + + +
+Constructor Summary
+protected HTTPHC4Impl(HTTPSamplerBase testElement) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+protected  HTTPSampleResultcreateSampleResult(URL url, + String method) + +
+          Create HTTPSampleResult filling url, method and SampleLabel.
+protected  StringgetCharsetWithDefault(org.apache.http.params.HttpParams putParams) + +
+          If contentEncoding is not set by user, then Platform encoding will be used to convert to String
+protected  voidhandleMethod(String method, + HTTPSampleResult result, + org.apache.http.client.methods.HttpRequestBase httpRequest, + org.apache.http.protocol.HttpContext localContext) + +
+          Calls sendPostData(HttpPost) if method is POST and + sendEntityData(HttpEntityEnclosingRequestBase) if method is + PUT or PATCH + + Field HTTPSampleResult#queryString of result is modified in the 2 cases
+ booleaninterrupt() + +
+          Interrupt the current operation if possible.
+protected  voidnotifyFirstSampleAfterLoopRestart() + +
+           
+protected  HTTPSampleResultsample(URL url, + String method, + boolean areFollowingRedirect, + int frameDepth) + +
+           
+protected  StringsendEntityData(org.apache.http.client.methods.HttpEntityEnclosingRequestBase entity) + +
+          Creates the entity data to be sent.
+protected  StringsendPostData(org.apache.http.client.methods.HttpPost post) + +
+           
+protected  StringsetConnectionCookie(org.apache.http.HttpRequest request, + URL url, + CookieManager cookieManager) + +
+          Extracts all the required cookies for that particular URL request and + sets them in the HttpMethod passed in.
+protected  voidsetConnectionHeaders(org.apache.http.client.methods.HttpRequestBase request, + URL url, + HeaderManager headerManager, + CacheManager cacheManager) + +
+          Extracts all the required non-cookie headers for that particular URL request and + sets them in the HttpMethod passed in
+protected  voidsetDefaultRequestHeaders(org.apache.http.HttpRequest request) + +
+          Set any default request headers to include
+protected  voidsetupRequest(URL url, + org.apache.http.client.methods.HttpRequestBase httpRequest, + HTTPSampleResult res) + +
+          Setup following elements on httpRequest: + + ConnRoutePNames.LOCAL_ADDRESS enabling IP-SPOOFING + Socket and connection timeout + Redirect handling + Keep Alive header or Connection Close + Calls setConnectionHeaders to setup headers + Calls setConnectionCookie to setup Cookie +
+protected  voidthreadFinished() + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.protocol.http.sampler.HTTPHCAbstractImpl
isDynamicProxy, isNonProxy, isNullOrEmptyTrimmed, isPartialMatch, isStaticProxy
+ + + + + + + +
Methods inherited from class org.apache.jmeter.protocol.http.sampler.HTTPAbstractImpl
errorResult, getArguments, getAuthManager, getAutoRedirects, getCacheManager, getConnectTimeout, getContentEncoding, getCookieManager, getDoBrowserCompatibleMultipart, getHeaderManager, getHTTPFiles, getIpSource, getIpSourceAddress, getProxyHost, getProxyPass, getProxyPortInt, getProxyUser, getResponseTimeout, getSendFileAsPostBody, getSendParameterValuesAsPostBody, getUseKeepAlive, getUseMultipartForPost, hasArguments, isMonitor, isSuccessCode, notifySSLContextWasReset, readResponse, readResponse, resultProcessing, setUseKeepAlive, updateSampleResultForResourceInCache
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+HTTPHC4Impl

+
+protected HTTPHC4Impl(HTTPSamplerBase testElement)
+
+
+ + + + + + + + +
+Method Detail
+ +

+sample

+
+protected HTTPSampleResult sample(URL url,
+                                  String method,
+                                  boolean areFollowingRedirect,
+                                  int frameDepth)
+
+
+
Specified by:
sample in class HTTPAbstractImpl
+
+
+
+
+
+
+ +

+handleMethod

+
+protected void handleMethod(String method,
+                            HTTPSampleResult result,
+                            org.apache.http.client.methods.HttpRequestBase httpRequest,
+                            org.apache.http.protocol.HttpContext localContext)
+                     throws IOException
+
+
Calls sendPostData(HttpPost) if method is POST and + sendEntityData(HttpEntityEnclosingRequestBase) if method is + PUT or PATCH +

+ Field HTTPSampleResult#queryString of result is modified in the 2 cases +

+

+
Parameters:
method - String HTTP method
result - HTTPSampleResult
httpRequest - HttpRequestBase
localContext - HttpContext +
Throws: +
IOException - when posting data fails due to I/O
+
+
+
+ +

+createSampleResult

+
+protected HTTPSampleResult createSampleResult(URL url,
+                                              String method)
+
+
Create HTTPSampleResult filling url, method and SampleLabel. + Monitor field is computed calling isMonitor() +

+

+
Parameters:
url - URL
method - HTTP Method +
Returns:
HTTPSampleResult
+
+
+
+ +

+setupRequest

+
+protected void setupRequest(URL url,
+                            org.apache.http.client.methods.HttpRequestBase httpRequest,
+                            HTTPSampleResult res)
+                     throws IOException
+
+
Setup following elements on httpRequest: +
    +
  • ConnRoutePNames.LOCAL_ADDRESS enabling IP-SPOOFING
  • +
  • Socket and connection timeout
  • +
  • Redirect handling
  • +
  • Keep Alive header or Connection Close
  • +
  • Calls setConnectionHeaders to setup headers
  • +
  • Calls setConnectionCookie to setup Cookie
  • +
+

+

+
Parameters:
url - URL of the request
httpRequest - http request for the request
res - sample result to set cookies on +
Throws: +
IOException - if hostname/ip to use could not be figured out
+
+
+
+ +

+setDefaultRequestHeaders

+
+protected void setDefaultRequestHeaders(org.apache.http.HttpRequest request)
+
+
Set any default request headers to include +

+

+
Parameters:
request - the HttpRequest to be used
+
+
+
+ +

+setConnectionCookie

+
+protected String setConnectionCookie(org.apache.http.HttpRequest request,
+                                     URL url,
+                                     CookieManager cookieManager)
+
+
Extracts all the required cookies for that particular URL request and + sets them in the HttpMethod passed in. +

+

+
Parameters:
request - HttpRequest for the request
url - URL of the request
cookieManager - the CookieManager containing all the cookies +
Returns:
a String containing the cookie details (for the response) + May be null
+
+
+
+ +

+setConnectionHeaders

+
+protected void setConnectionHeaders(org.apache.http.client.methods.HttpRequestBase request,
+                                    URL url,
+                                    HeaderManager headerManager,
+                                    CacheManager cacheManager)
+
+
Extracts all the required non-cookie headers for that particular URL request and + sets them in the HttpMethod passed in +

+

+
Parameters:
request - HttpRequest which represents the request
url - URL of the URL request
headerManager - the HeaderManager containing all the cookies + for this UrlConfig
cacheManager - the CacheManager (may be null)
+
+
+
+ +

+sendPostData

+
+protected String sendPostData(org.apache.http.client.methods.HttpPost post)
+                       throws IOException
+
+
+
Parameters:
post - HttpPost +
Returns:
String posted body if computable +
Throws: +
IOException - if sending the data fails due to I/O
+
+
+
+ +

+sendEntityData

+
+protected String sendEntityData(org.apache.http.client.methods.HttpEntityEnclosingRequestBase entity)
+                         throws IOException
+
+
Creates the entity data to be sent. +

+ If there is a file entry with a non-empty MIME type we use that to + set the request Content-Type header, otherwise we default to whatever + header is present from a Header Manager. +

+ If the content charset HTTPAbstractImpl.getContentEncoding() is null or empty + we use the HC4 default provided by HTTP.DEF_CONTENT_CHARSET which is + ISO-8859-1. +

+

+
Parameters:
entity - to be processed, e.g. PUT or PATCH +
Returns:
the entity content, may be empty +
Throws: +
UnsupportedEncodingException - for invalid charset name +
IOException - cannot really occur for ByteArrayOutputStream methods
+
+
+
+ +

+getCharsetWithDefault

+
+protected String getCharsetWithDefault(org.apache.http.params.HttpParams putParams)
+
+
If contentEncoding is not set by user, then Platform encoding will be used to convert to String +

+

+
Parameters:
putParams - HttpParams +
Returns:
String charset
+
+
+
+ +

+notifyFirstSampleAfterLoopRestart

+
+protected void notifyFirstSampleAfterLoopRestart()
+
+
+
Overrides:
notifyFirstSampleAfterLoopRestart in class HTTPAbstractImpl
+
+
+
+
+
+
+ +

+threadFinished

+
+protected void threadFinished()
+
+
+
Overrides:
threadFinished in class HTTPAbstractImpl
+
+
+
+
+
+
+ +

+interrupt

+
+public boolean interrupt()
+
+
Description copied from interface: Interruptible
+
Interrupt the current operation if possible. +

+

+ +
Returns:
true if there was an operation to interrupt.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/sampler/HTTPHCAbstractImpl.html b/docs/api/org/apache/jmeter/protocol/http/sampler/HTTPHCAbstractImpl.html new file mode 100644 index 00000000000..858667614d1 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/sampler/HTTPHCAbstractImpl.html @@ -0,0 +1,727 @@ + + + + + +HTTPHCAbstractImpl (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.sampler +
+Class HTTPHCAbstractImpl

+
+java.lang.Object
+  extended by org.apache.jmeter.protocol.http.sampler.HTTPAbstractImpl
+      extended by org.apache.jmeter.protocol.http.sampler.HTTPHCAbstractImpl
+
+
+
All Implemented Interfaces:
HTTPConstantsInterface, Interruptible
+
+
+
Direct Known Subclasses:
HTTPHC3Impl, HTTPHC4Impl
+
+
+
+
public abstract class HTTPHCAbstractImpl
extends HTTPAbstractImpl
+ + +

+Common parent class for HttpClient implementations. + + Includes system property settings that are handled internally by the Java HTTP implementation, + but which need to be explicitly configured in HttpClient implementations. +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+protected static intCPS_HTTP + +
+           
+protected static intCPS_HTTPS + +
+           
+protected static StringHTTP_VERSION + +
+           
+protected static InetAddresslocalAddress + +
+           
+protected static StringlocalHost + +
+           
+protected static StringNONPROXY_HOSTS + +
+           
+protected static Set<String>nonProxyHostFull + +
+           
+protected static List<String>nonProxyHostSuffix + +
+           
+protected static intnonProxyHostSuffixSize + +
+           
+protected static booleanPROXY_DEFINED + +
+           
+protected static StringPROXY_DOMAIN + +
+           
+protected static StringPROXY_HOST + +
+           
+protected static StringPROXY_PASS + +
+           
+protected static intPROXY_PORT + +
+           
+protected static StringPROXY_USER + +
+           
+protected static intSO_TIMEOUT + +
+           
+protected static booleanUSE_CACHED_SSL_CONTEXT + +
+           
+protected static booleanUSE_LOOPBACK + +
+           
+ + + + + + + +
Fields inherited from class org.apache.jmeter.protocol.http.sampler.HTTPAbstractImpl
testElement
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.protocol.http.util.HTTPConstantsInterface
APPLICATION_X_WWW_FORM_URLENCODED, CACHE_CONTROL, CONNECT, CONNECTION_CLOSE, COPY, DATE, DEFAULT_HTTP_PORT, DEFAULT_HTTP_PORT_STRING, DEFAULT_HTTPS_PORT, DEFAULT_HTTPS_PORT_STRING, DELETE, ENCODING_GZIP, ETAG, EXPIRES, GET, HEAD, HEADER_AUTHORIZATION, HEADER_CONNECTION, HEADER_CONTENT_DISPOSITION, HEADER_CONTENT_ENCODING, HEADER_CONTENT_LENGTH, HEADER_CONTENT_TYPE, HEADER_COOKIE, HEADER_HOST, HEADER_LOCAL_ADDRESS, HEADER_LOCATION, HEADER_SET_COOKIE, HTTP_1_1, IF_MODIFIED_SINCE, IF_NONE_MATCH, KEEP_ALIVE, LAST_MODIFIED, LOCK, MKCALENDAR, MKCOL, MOVE, MULTIPART_FORM_DATA, OPTIONS, PATCH, POST, PROPFIND, PROPPATCH, PROTOCOL_HTTP, PROTOCOL_HTTPS, PUT, REPORT, TRACE, TRANSFER_ENCODING, UNLOCK
+  + + + + + + + + + + + +
+Constructor Summary
+protected HTTPHCAbstractImpl(HTTPSamplerBase testElement) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+protected  booleanisDynamicProxy(String proxyHost, + int proxyPort) + +
+          Is a dynamic proxy defined?
+protected static booleanisNonProxy(String host) + +
+           
+protected static booleanisNullOrEmptyTrimmed(String value) + +
+           
+protected static booleanisPartialMatch(String host) + +
+           
+protected static booleanisStaticProxy(String host) + +
+          Is a static proxy defined?
+ + + + + + + +
Methods inherited from class org.apache.jmeter.protocol.http.sampler.HTTPAbstractImpl
errorResult, getArguments, getAuthManager, getAutoRedirects, getCacheManager, getConnectTimeout, getContentEncoding, getCookieManager, getDoBrowserCompatibleMultipart, getHeaderManager, getHTTPFiles, getIpSource, getIpSourceAddress, getProxyHost, getProxyPass, getProxyPortInt, getProxyUser, getResponseTimeout, getSendFileAsPostBody, getSendParameterValuesAsPostBody, getUseKeepAlive, getUseMultipartForPost, hasArguments, isMonitor, isSuccessCode, notifyFirstSampleAfterLoopRestart, notifySSLContextWasReset, readResponse, readResponse, resultProcessing, sample, setUseKeepAlive, threadFinished, updateSampleResultForResourceInCache
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.samplers.Interruptible
interrupt
+  +

+ + + + + + + + +
+Field Detail
+ +

+PROXY_HOST

+
+protected static final String PROXY_HOST
+
+
+
+
+
+ +

+NONPROXY_HOSTS

+
+protected static final String NONPROXY_HOSTS
+
+
+
+
+
+ +

+PROXY_PORT

+
+protected static final int PROXY_PORT
+
+
+
+
+
+ +

+PROXY_DEFINED

+
+protected static final boolean PROXY_DEFINED
+
+
+
+
+
+ +

+PROXY_USER

+
+protected static final String PROXY_USER
+
+
+
+
+
+ +

+PROXY_PASS

+
+protected static final String PROXY_PASS
+
+
+
+
+
+ +

+PROXY_DOMAIN

+
+protected static final String PROXY_DOMAIN
+
+
+
+
+
+ +

+localAddress

+
+protected static final InetAddress localAddress
+
+
+
+
+
+ +

+localHost

+
+protected static final String localHost
+
+
+
+
+
+ +

+nonProxyHostFull

+
+protected static final Set<String> nonProxyHostFull
+
+
+
+
+
+ +

+nonProxyHostSuffix

+
+protected static final List<String> nonProxyHostSuffix
+
+
+
+
+
+ +

+nonProxyHostSuffixSize

+
+protected static final int nonProxyHostSuffixSize
+
+
+
+
+
+ +

+CPS_HTTP

+
+protected static final int CPS_HTTP
+
+
+
+
+
+ +

+CPS_HTTPS

+
+protected static final int CPS_HTTPS
+
+
+
+
+
+ +

+USE_LOOPBACK

+
+protected static final boolean USE_LOOPBACK
+
+
+
+
+
+ +

+HTTP_VERSION

+
+protected static final String HTTP_VERSION
+
+
+
+
+
+ +

+SO_TIMEOUT

+
+protected static final int SO_TIMEOUT
+
+
+
+
+
+ +

+USE_CACHED_SSL_CONTEXT

+
+protected static final boolean USE_CACHED_SSL_CONTEXT
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+HTTPHCAbstractImpl

+
+protected HTTPHCAbstractImpl(HTTPSamplerBase testElement)
+
+
+ + + + + + + + +
+Method Detail
+ +

+isNonProxy

+
+protected static boolean isNonProxy(String host)
+
+
+
+
+
+
+ +

+isPartialMatch

+
+protected static boolean isPartialMatch(String host)
+
+
+
+
+
+
+ +

+isDynamicProxy

+
+protected boolean isDynamicProxy(String proxyHost,
+                                 int proxyPort)
+
+
Is a dynamic proxy defined? +

+

+
Parameters:
proxyHost - the host to check
proxyPort - the port to check +
Returns:
true iff both ProxyPort and ProxyHost are defined.
+
+
+
+ +

+isStaticProxy

+
+protected static boolean isStaticProxy(String host)
+
+
Is a static proxy defined? +

+

+
Parameters:
host - to check against non-proxy hosts +
Returns:
true iff a static proxy has been defined.
+
+
+
+ +

+isNullOrEmptyTrimmed

+
+protected static boolean isNullOrEmptyTrimmed(String value)
+
+
+
Parameters:
value - String value to test +
Returns:
true if value is null or empty trimmed
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/sampler/HTTPJavaImpl.html b/docs/api/org/apache/jmeter/protocol/http/sampler/HTTPJavaImpl.html new file mode 100644 index 00000000000..c1cf690ae97 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/sampler/HTTPJavaImpl.html @@ -0,0 +1,489 @@ + + + + + +HTTPJavaImpl (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.sampler +
+Class HTTPJavaImpl

+
+java.lang.Object
+  extended by org.apache.jmeter.protocol.http.sampler.HTTPAbstractImpl
+      extended by org.apache.jmeter.protocol.http.sampler.HTTPJavaImpl
+
+
+
All Implemented Interfaces:
HTTPConstantsInterface, Interruptible
+
+
+
+
public class HTTPJavaImpl
extends HTTPAbstractImpl
+ + +

+A sampler which understands all the parts necessary to read statistics about + HTTP requests, including cookies and authentication. +

+ +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.protocol.http.sampler.HTTPAbstractImpl
testElement
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.protocol.http.util.HTTPConstantsInterface
APPLICATION_X_WWW_FORM_URLENCODED, CACHE_CONTROL, CONNECT, CONNECTION_CLOSE, COPY, DATE, DEFAULT_HTTP_PORT, DEFAULT_HTTP_PORT_STRING, DEFAULT_HTTPS_PORT, DEFAULT_HTTPS_PORT_STRING, DELETE, ENCODING_GZIP, ETAG, EXPIRES, GET, HEAD, HEADER_AUTHORIZATION, HEADER_CONNECTION, HEADER_CONTENT_DISPOSITION, HEADER_CONTENT_ENCODING, HEADER_CONTENT_LENGTH, HEADER_CONTENT_TYPE, HEADER_COOKIE, HEADER_HOST, HEADER_LOCAL_ADDRESS, HEADER_LOCATION, HEADER_SET_COOKIE, HTTP_1_1, IF_MODIFIED_SINCE, IF_NONE_MATCH, KEEP_ALIVE, LAST_MODIFIED, LOCK, MKCALENDAR, MKCOL, MOVE, MULTIPART_FORM_DATA, OPTIONS, PATCH, POST, PROPFIND, PROPPATCH, PROTOCOL_HTTP, PROTOCOL_HTTPS, PUT, REPORT, TRACE, TRANSFER_ENCODING, UNLOCK
+  + + + + + + + + + + + +
+Constructor Summary
+protected HTTPJavaImpl(HTTPSamplerBase base) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+protected  voiddisconnect(HttpURLConnection conn) + +
+           
+protected  StringgetResponseHeaders(HttpURLConnection conn) + +
+          Gets the ResponseHeaders from the URLConnection
+ booleaninterrupt() + +
+          Interrupt the current operation if possible.
+protected  byte[]readResponse(HttpURLConnection conn, + SampleResult res) + +
+          Reads the response from the URL connection.
+protected  HTTPSampleResultsample(URL url, + String method, + boolean areFollowingRedirect, + int frameDepth) + +
+          Samples the URL passed in and stores the result in + HTTPSampleResult, following redirects and downloading + page resources as appropriate.
+protected  StringsendPostData(URLConnection connection) + +
+          Send POST data from Entry to the open connection.
+protected  voidsetPostHeaders(URLConnection conn) + +
+          Set request headers in preparation to opening a connection.
+protected  HttpURLConnectionsetupConnection(URL u, + String method, + HTTPSampleResult res) + +
+          Returns an HttpURLConnection fully ready to attempt + connection.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.protocol.http.sampler.HTTPAbstractImpl
errorResult, getArguments, getAuthManager, getAutoRedirects, getCacheManager, getConnectTimeout, getContentEncoding, getCookieManager, getDoBrowserCompatibleMultipart, getHeaderManager, getHTTPFiles, getIpSource, getIpSourceAddress, getProxyHost, getProxyPass, getProxyPortInt, getProxyUser, getResponseTimeout, getSendFileAsPostBody, getSendParameterValuesAsPostBody, getUseKeepAlive, getUseMultipartForPost, hasArguments, isMonitor, isSuccessCode, notifyFirstSampleAfterLoopRestart, notifySSLContextWasReset, readResponse, readResponse, resultProcessing, setUseKeepAlive, threadFinished, updateSampleResultForResourceInCache
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+HTTPJavaImpl

+
+protected HTTPJavaImpl(HTTPSamplerBase base)
+
+
+ + + + + + + + +
+Method Detail
+ +

+setPostHeaders

+
+protected void setPostHeaders(URLConnection conn)
+                       throws IOException
+
+
Set request headers in preparation to opening a connection. +

+

+
Parameters:
conn - URLConnection to set headers on +
Throws: +
IOException - if an I/O exception occurs
+
+
+
+ +

+sendPostData

+
+protected String sendPostData(URLConnection connection)
+                       throws IOException
+
+
Send POST data from Entry to the open connection. + This also handles sending data for PUT requests +

+

+
Parameters:
connection - URLConnection where POST data should be sent +
Returns:
a String show what was posted. Will not contain actual file upload content +
Throws: +
IOException - if an I/O exception occurs
+
+
+
+ +

+setupConnection

+
+protected HttpURLConnection setupConnection(URL u,
+                                            String method,
+                                            HTTPSampleResult res)
+                                     throws IOException
+
+
Returns an HttpURLConnection fully ready to attempt + connection. This means it sets the request method (GET or POST), headers, + cookies, and authorization for the URL request. +

+ The request infos are saved into the sample result if one is provided. +

+

+
Parameters:
u - URL of the URL request
method - GET, POST etc
res - sample result to save request infos to +
Returns:
HttpURLConnection ready for .connect +
Throws: +
IOException - if an I/O Exception occurs
+
+
+
+ +

+readResponse

+
+protected byte[] readResponse(HttpURLConnection conn,
+                              SampleResult res)
+                       throws IOException
+
+
Reads the response from the URL connection. +

+

+
Parameters:
conn - URL from which to read response
res - SampleResult to read response into +
Returns:
response content +
Throws: +
IOException - if an I/O exception occurs
+
+
+
+ +

+getResponseHeaders

+
+protected String getResponseHeaders(HttpURLConnection conn)
+
+
Gets the ResponseHeaders from the URLConnection +

+

+
Parameters:
conn - connection from which the headers are read +
Returns:
string containing the headers, one per line
+
+
+
+ +

+sample

+
+protected HTTPSampleResult sample(URL url,
+                                  String method,
+                                  boolean areFollowingRedirect,
+                                  int frameDepth)
+
+
Samples the URL passed in and stores the result in + HTTPSampleResult, following redirects and downloading + page resources as appropriate. +

+ When getting a redirect target, redirects are not followed and resources + are not downloaded. The caller will take care of this. +

+

+
Specified by:
sample in class HTTPAbstractImpl
+
+
+
Parameters:
url - URL to sample
method - HTTP method: GET, POST,...
areFollowingRedirect - whether we're getting a redirect target
frameDepth - Depth of this target in the frame structure. Used only to + prevent infinite recursion. +
Returns:
results of the sampling
+
+
+
+ +

+disconnect

+
+protected void disconnect(HttpURLConnection conn)
+
+
+
+
+
+
+ +

+interrupt

+
+public boolean interrupt()
+
+
Interrupt the current operation if possible. +

+

+ +
Returns:
true if there was an operation to interrupt.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/sampler/HTTPSampleResult.html b/docs/api/org/apache/jmeter/protocol/http/sampler/HTTPSampleResult.html new file mode 100644 index 00000000000..7d270403fca --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/sampler/HTTPSampleResult.html @@ -0,0 +1,586 @@ + + + + + +HTTPSampleResult (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.sampler +
+Class HTTPSampleResult

+
+java.lang.Object
+  extended by org.apache.jmeter.samplers.SampleResult
+      extended by org.apache.jmeter.protocol.http.sampler.HTTPSampleResult
+
+
+
All Implemented Interfaces:
Serializable, Cloneable
+
+
+
+
public class HTTPSampleResult
extends SampleResult
+ + +

+This is a specialisation of the SampleResult class for the HTTP protocol. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.samplers.SampleResult
BINARY, DEFAULT_ENCODING, DEFAULT_HTTP_ENCODING, EMPTY_BA, TEXT
+  + + + + + + + + + + + + + + + + +
+Constructor Summary
HTTPSampleResult() + +
+           
HTTPSampleResult(HTTPSampleResult res) + +
+          Construct a 'parent' result for an already-existing result, essentially + cloning it
HTTPSampleResult(long elapsed) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetCookies() + +
+           
+ StringgetDataEncodingNoDefault() + +
+          Overrides the method from SampleResult - so the encoding can be extracted from + the Meta content-type if necessary.
+ StringgetDataEncodingWithDefault(String defaultEncoding) + +
+          Overrides the method from SampleResult - so the encoding can be extracted from + the Meta content-type if necessary.
+ StringgetHTTPMethod() + +
+           
+ StringgetQueryString() + +
+          Fetch the query string
+ StringgetRedirectLocation() + +
+           
+ StringgetSamplerData() + +
+          Overrides version in Sampler data to provide more details + +
+ booleanisRedirect() + +
+          Determine whether this result is a redirect.
+ voidsetCookies(String string) + +
+           
+ voidsetHTTPMethod(String method) + +
+           
+ voidsetQueryString(String string) + +
+          Save the query string
+ voidsetRedirectLocation(String redirectLocation) + +
+           
+ voidsetResponseNoContent() + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.samplers.SampleResult
addAssertionResult, addRawSubResult, addSubResult, cleanAfterSample, clone, connectEnd, createTestSample, createTestSample, currentTimeInMillis, getAllThreads, getAssertionResults, getBodySize, getBytes, getConnectTime, getContentType, getDataEncodingWithDefault, getDataType, getEndTime, getErrorCount, getGroupThreads, getHeadersSize, getIdleTime, getLatency, getMediaType, getParent, getRequestHeaders, getResponseCode, getResponseData, getResponseDataAsString, getResponseHeaders, getResponseMessage, getResultFileName, getSampleCount, getSampleLabel, getSampleLabel, getSaveConfig, getStartTime, getSubResults, getThreadName, getTime, getTimeStamp, getURL, getUrlAsString, isMonitor, isResponseCodeOK, isStampedAtStart, isStartNextThreadLoop, isStopTest, isStopTestNow, isStopThread, isSuccessful, latencyEnd, markFile, removeAssertionResults, removeSubResults, sampleEnd, samplePause, sampleResume, sampleStart, setAllThreads, setBodySize, setBytes, setConnectTime, setContentType, setDataEncoding, setDataType, setEncodingAndType, setEndTime, setErrorCount, setGroupThreads, setHeadersSize, setIdleTime, setLatency, setMonitor, setParent, setRequestHeaders, setResponseCode, setResponseCodeOK, setResponseData, setResponseData, setResponseData, setResponseHeaders, setResponseMessage, setResponseMessageOK, setResponseOK, setResultFileName, setSampleCount, setSampleLabel, setSamplerData, setSaveConfig, setStampAndTime, setStartNextThreadLoop, setStartTime, setStopTest, setStopTestNow, setStopThread, setSuccessful, setThreadName, setTimeStamp, setURL, storeSubResult, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+HTTPSampleResult

+
+public HTTPSampleResult()
+
+
+
+ +

+HTTPSampleResult

+
+public HTTPSampleResult(long elapsed)
+
+
+
+ +

+HTTPSampleResult

+
+public HTTPSampleResult(HTTPSampleResult res)
+
+
Construct a 'parent' result for an already-existing result, essentially + cloning it +

+

+
Parameters:
res - existing sample result
+
+ + + + + + + + +
+Method Detail
+ +

+setHTTPMethod

+
+public void setHTTPMethod(String method)
+
+
+
+
+
+
+ +

+getHTTPMethod

+
+public String getHTTPMethod()
+
+
+
+
+
+
+ +

+setRedirectLocation

+
+public void setRedirectLocation(String redirectLocation)
+
+
+
+
+
+
+ +

+getRedirectLocation

+
+public String getRedirectLocation()
+
+
+
+
+
+
+ +

+isRedirect

+
+public boolean isRedirect()
+
+
Determine whether this result is a redirect. + Returns true for: 301,302,303 and 307(GET or HEAD) +

+

+ +
Returns:
true iff res is an HTTP redirect response
+
+
+
+ +

+getSamplerData

+
+public String getSamplerData()
+
+
Overrides version in Sampler data to provide more details +

+ +

+

+
Overrides:
getSamplerData in class SampleResult
+
+
+
+
+
+
+ +

+getCookies

+
+public String getCookies()
+
+
+ +
Returns:
cookies as a string
+
+
+
+ +

+setCookies

+
+public void setCookies(String string)
+
+
+
Parameters:
string - representing the cookies
+
+
+
+ +

+getQueryString

+
+public String getQueryString()
+
+
Fetch the query string +

+

+ +
Returns:
the query string
+
+
+
+ +

+setQueryString

+
+public void setQueryString(String string)
+
+
Save the query string +

+

+
Parameters:
string - the query string
+
+
+
+ +

+getDataEncodingWithDefault

+
+public String getDataEncodingWithDefault(String defaultEncoding)
+
+
Overrides the method from SampleResult - so the encoding can be extracted from + the Meta content-type if necessary. + + Updates the dataEncoding field if the content-type is found. +

+

+
Overrides:
getDataEncodingWithDefault in class SampleResult
+
+
+
Parameters:
defaultEncoding - Default encoding used if there is no data encoding +
Returns:
the dataEncoding value as a String
+
+
+
+ +

+getDataEncodingNoDefault

+
+public String getDataEncodingNoDefault()
+
+
Overrides the method from SampleResult - so the encoding can be extracted from + the Meta content-type if necessary. + + Updates the dataEncoding field if the content-type is found. +

+

+
Overrides:
getDataEncodingNoDefault in class SampleResult
+
+
+ +
Returns:
the dataEncoding value as a String
+
+
+
+ +

+setResponseNoContent

+
+public void setResponseNoContent()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/sampler/HTTPSampler.html b/docs/api/org/apache/jmeter/protocol/http/sampler/HTTPSampler.html new file mode 100644 index 00000000000..c412ca18b36 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/sampler/HTTPSampler.html @@ -0,0 +1,394 @@ + + + + + +HTTPSampler (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.sampler +
+Class HTTPSampler

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.samplers.AbstractSampler
+          extended by org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase
+              extended by org.apache.jmeter.protocol.http.sampler.HTTPSampler
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, ConfigMergabilityIndicator, Searchable, HTTPConstantsInterface, Interruptible, Sampler, TestElement, TestIterationListener, TestStateListener, ThreadListener
+
+
+
Direct Known Subclasses:
AccessLogSampler
+
+
+
+
public class HTTPSampler
extends HTTPSamplerBase
implements Interruptible
+ + +

+A sampler which understands all the parts necessary to read statistics about + HTTP requests, including cookies and authentication. + This sampler uses the default Java HTTP implementation +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase
HTTPSamplerBase.SourceType
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase
ARGUMENTS, AUTH_MANAGER, AUTO_REDIRECTS, BROWSER_COMPATIBLE_MULTIPART, BROWSER_COMPATIBLE_MULTIPART_MODE_DEFAULT, CACHE_MANAGER, CONCURRENT_DWN, CONCURRENT_POOL, CONCURRENT_POOL_SIZE, CONNECT_TIMEOUT, CONTENT_ENCODING, CONTENT_TYPE, COOKIE_MANAGER, DEFAULT_METHOD, DNS_CACHE_MANAGER, DO_MULTIPART_POST, DOMAIN, EMBEDDED_URL_RE, FOLLOW_REDIRECTS, HEADER_MANAGER, IMAGE_PARSER, IMPLEMENTATION, IP_SOURCE, IP_SOURCE_TYPE, MAX_FRAME_DEPTH, MAX_REDIRECTS, METHOD, MONITOR, NON_HTTP_RESPONSE_CODE, NON_HTTP_RESPONSE_MESSAGE, PATH, PORT, POST_BODY_RAW, POST_BODY_RAW_DEFAULT, PROTOCOL, PROXYHOST, PROXYPASS, PROXYPORT, PROXYUSER, RESPONSE_TIMEOUT, UNSPECIFIED_PORT, UNSPECIFIED_PORT_AS_STRING, URL, URL_UNSPECIFIED_PORT, URL_UNSPECIFIED_PORT_AS_STRING, USE_KEEPALIVE
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.protocol.http.util.HTTPConstantsInterface
APPLICATION_X_WWW_FORM_URLENCODED, CACHE_CONTROL, CONNECT, CONNECTION_CLOSE, COPY, DATE, DEFAULT_HTTP_PORT, DEFAULT_HTTP_PORT_STRING, DEFAULT_HTTPS_PORT, DEFAULT_HTTPS_PORT_STRING, DELETE, ENCODING_GZIP, ETAG, EXPIRES, GET, HEAD, HEADER_AUTHORIZATION, HEADER_CONNECTION, HEADER_CONTENT_DISPOSITION, HEADER_CONTENT_ENCODING, HEADER_CONTENT_LENGTH, HEADER_CONTENT_TYPE, HEADER_COOKIE, HEADER_HOST, HEADER_LOCAL_ADDRESS, HEADER_LOCATION, HEADER_SET_COOKIE, HTTP_1_1, IF_MODIFIED_SINCE, IF_NONE_MATCH, KEEP_ALIVE, LAST_MODIFIED, LOCK, MKCALENDAR, MKCOL, MOVE, MULTIPART_FORM_DATA, OPTIONS, PATCH, POST, PROPFIND, PROPPATCH, PROTOCOL_HTTP, PROTOCOL_HTTPS, PUT, REPORT, TRACE, TRANSFER_ENCODING, UNLOCK
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
HTTPSampler() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ booleaninterrupt() + +
+          Interrupt the current operation if possible.
+protected  HTTPSampleResultsample(URL u, + String method, + boolean areFollowingRedirect, + int depth) + +
+          Samples the URL passed in and stores the result in + HTTPSampleResult, following redirects and downloading + page resources as appropriate.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase
addArgument, addArgument, addEncodedArgument, addEncodedArgument, addEncodedArgument, addNonEncodedArgument, addTestElement, applies, clearTestElementChildren, clone, downloadPageResources, encodeBackSlashes, encodeSpaces, errorResult, followRedirects, getArguments, getAuthManager, getAutoRedirects, getCacheManager, getConcurrentPool, getConnectTimeout, getContentEncoding, getCookieManager, getDefaultPort, getDNSResolver, getDoBrowserCompatibleMultipart, getDomain, getDoMultipartPost, getEmbeddedUrlRE, getFollowRedirects, getHeaderManager, getHTTPFileCount, getHTTPFiles, getImplementation, getIpSource, getIpSourceType, getMethod, getMonitor, getPath, getPort, getPortIfSpecified, getPostBodyRaw, getProtocol, getProxyHost, getProxyPass, getProxyPortInt, getProxyUser, getQueryString, getQueryString, getResponseTimeout, getSendFileAsPostBody, getSendParameterValuesAsPostBody, getSourceTypeList, getUrl, getUseKeepAlive, getUseMultipartForPost, getValidMethodsAsArray, hasArguments, isConcurrentDwn, isImageParser, isMonitor, isProtocolDefaultPort, isSecure, isSecure, isSuccessCode, parseArguments, parseArguments, readResponse, resultProcessing, sample, sample, setArguments, setAuthManager, setAutoRedirects, setCacheManager, setConcurrentDwn, setConcurrentPool, setConnectTimeout, setContentEncoding, setCookieManager, setDNSResolver, setDoBrowserCompatibleMultipart, setDomain, setDoMultipartPost, setEmbeddedUrlRE, setFollowRedirects, setHeaderManager, setHTTPFiles, setImageParser, setImplementation, setIpSource, setIpSourceType, setMD5, setMethod, setMonitor, setMonitor, setPath, setPath, setPort, setPostBodyRaw, setProtocol, setResponseTimeout, setUseKeepAlive, testEnded, testEnded, testIterationStart, testStarted, testStarted, threadFinished, threadStarted, toString, useMD5
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, canRemove, clear, clearTemporary, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.testelement.TestElement
canRemove, clear, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+HTTPSampler

+
+public HTTPSampler()
+
+
+ + + + + + + + +
+Method Detail
+ +

+interrupt

+
+public boolean interrupt()
+
+
Description copied from interface: Interruptible
+
Interrupt the current operation if possible. +

+

+
Specified by:
interrupt in interface Interruptible
+
+
+ +
Returns:
true if there was an operation to interrupt.
+
+
+
+ +

+sample

+
+protected HTTPSampleResult sample(URL u,
+                                  String method,
+                                  boolean areFollowingRedirect,
+                                  int depth)
+
+
Description copied from class: HTTPSamplerBase
+
Samples the URL passed in and stores the result in + HTTPSampleResult, following redirects and downloading + page resources as appropriate. +

+ When getting a redirect target, redirects are not followed and resources + are not downloaded. The caller will take care of this. +

+

+
Specified by:
sample in class HTTPSamplerBase
+
+
+
Parameters:
u - URL to sample
method - HTTP method: GET, POST,...
areFollowingRedirect - whether we're getting a redirect target
depth - Depth of this target in the frame structure. Used only to + prevent infinite recursion. +
Returns:
results of the sampling, can be null if u is in CacheManager
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/sampler/HTTPSampler2.html b/docs/api/org/apache/jmeter/protocol/http/sampler/HTTPSampler2.html new file mode 100644 index 00000000000..06ffa160cf9 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/sampler/HTTPSampler2.html @@ -0,0 +1,545 @@ + + + + + +HTTPSampler2 (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.sampler +
+Class HTTPSampler2

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.samplers.AbstractSampler
+          extended by org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase
+              extended by org.apache.jmeter.protocol.http.sampler.HTTPSampler2
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, ConfigMergabilityIndicator, Searchable, HTTPConstantsInterface, Interruptible, Sampler, TestElement, TestIterationListener, TestStateListener, ThreadListener
+
+
+
Direct Known Subclasses:
SoapSampler
+
+
+
+
public class HTTPSampler2
extends HTTPSamplerBase
implements Interruptible
+ + +

+A sampler which understands all the parts necessary to read statistics about + HTTP requests, including cookies and authentication. + This sampler uses HttpClient 3.1. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase
HTTPSamplerBase.SourceType
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase
ARGUMENTS, AUTH_MANAGER, AUTO_REDIRECTS, BROWSER_COMPATIBLE_MULTIPART, BROWSER_COMPATIBLE_MULTIPART_MODE_DEFAULT, CACHE_MANAGER, CONCURRENT_DWN, CONCURRENT_POOL, CONCURRENT_POOL_SIZE, CONNECT_TIMEOUT, CONTENT_ENCODING, CONTENT_TYPE, COOKIE_MANAGER, DEFAULT_METHOD, DNS_CACHE_MANAGER, DO_MULTIPART_POST, DOMAIN, EMBEDDED_URL_RE, FOLLOW_REDIRECTS, HEADER_MANAGER, IMAGE_PARSER, IMPLEMENTATION, IP_SOURCE, IP_SOURCE_TYPE, MAX_FRAME_DEPTH, MAX_REDIRECTS, METHOD, MONITOR, NON_HTTP_RESPONSE_CODE, NON_HTTP_RESPONSE_MESSAGE, PATH, PORT, POST_BODY_RAW, POST_BODY_RAW_DEFAULT, PROTOCOL, PROXYHOST, PROXYPASS, PROXYPORT, PROXYUSER, RESPONSE_TIMEOUT, UNSPECIFIED_PORT, UNSPECIFIED_PORT_AS_STRING, URL, URL_UNSPECIFIED_PORT, URL_UNSPECIFIED_PORT_AS_STRING, USE_KEEPALIVE
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.protocol.http.util.HTTPConstantsInterface
APPLICATION_X_WWW_FORM_URLENCODED, CACHE_CONTROL, CONNECT, CONNECTION_CLOSE, COPY, DATE, DEFAULT_HTTP_PORT, DEFAULT_HTTP_PORT_STRING, DEFAULT_HTTPS_PORT, DEFAULT_HTTPS_PORT_STRING, DELETE, ENCODING_GZIP, ETAG, EXPIRES, GET, HEAD, HEADER_AUTHORIZATION, HEADER_CONNECTION, HEADER_CONTENT_DISPOSITION, HEADER_CONTENT_ENCODING, HEADER_CONTENT_LENGTH, HEADER_CONTENT_TYPE, HEADER_COOKIE, HEADER_HOST, HEADER_LOCAL_ADDRESS, HEADER_LOCATION, HEADER_SET_COOKIE, HTTP_1_1, IF_MODIFIED_SINCE, IF_NONE_MATCH, KEEP_ALIVE, LAST_MODIFIED, LOCK, MKCALENDAR, MKCOL, MOVE, MULTIPART_FORM_DATA, OPTIONS, PATCH, POST, PROPFIND, PROPPATCH, PROTOCOL_HTTP, PROTOCOL_HTTPS, PUT, REPORT, TRACE, TRANSFER_ENCODING, UNLOCK
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
HTTPSampler2() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+protected  StringgetConnectionHeaders(org.apache.commons.httpclient.HttpMethod httpMethod) + +
+           
+protected  StringgetResponseHeaders(org.apache.commons.httpclient.HttpMethod httpMethod) + +
+           
+ booleaninterrupt() + +
+          Interrupt the current operation if possible.
+protected  HTTPSampleResultsample(URL u, + String method, + boolean areFollowingRedirect, + int depth) + +
+          Samples the URL passed in and stores the result in + HTTPSampleResult, following redirects and downloading + page resources as appropriate.
+protected  voidsaveConnectionCookies(org.apache.commons.httpclient.HttpMethod httpMethod, + URL url, + CookieManager cookieManager) + +
+           
+protected  voidsetSavedClient(org.apache.commons.httpclient.HttpClient savedClient) + +
+           
+protected  org.apache.commons.httpclient.HttpClientsetupConnection(URL url, + org.apache.commons.httpclient.HttpMethodBase httpMethod, + HTTPSampleResult res) + +
+           
+ voidtestIterationStart(LoopIterationEvent event) + +
+          Each time through a Thread Group's test script, an iteration event is + fired for each thread.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase
addArgument, addArgument, addEncodedArgument, addEncodedArgument, addEncodedArgument, addNonEncodedArgument, addTestElement, applies, clearTestElementChildren, clone, downloadPageResources, encodeBackSlashes, encodeSpaces, errorResult, followRedirects, getArguments, getAuthManager, getAutoRedirects, getCacheManager, getConcurrentPool, getConnectTimeout, getContentEncoding, getCookieManager, getDefaultPort, getDNSResolver, getDoBrowserCompatibleMultipart, getDomain, getDoMultipartPost, getEmbeddedUrlRE, getFollowRedirects, getHeaderManager, getHTTPFileCount, getHTTPFiles, getImplementation, getIpSource, getIpSourceType, getMethod, getMonitor, getPath, getPort, getPortIfSpecified, getPostBodyRaw, getProtocol, getProxyHost, getProxyPass, getProxyPortInt, getProxyUser, getQueryString, getQueryString, getResponseTimeout, getSendFileAsPostBody, getSendParameterValuesAsPostBody, getSourceTypeList, getUrl, getUseKeepAlive, getUseMultipartForPost, getValidMethodsAsArray, hasArguments, isConcurrentDwn, isImageParser, isMonitor, isProtocolDefaultPort, isSecure, isSecure, isSuccessCode, parseArguments, parseArguments, readResponse, resultProcessing, sample, sample, setArguments, setAuthManager, setAutoRedirects, setCacheManager, setConcurrentDwn, setConcurrentPool, setConnectTimeout, setContentEncoding, setCookieManager, setDNSResolver, setDoBrowserCompatibleMultipart, setDomain, setDoMultipartPost, setEmbeddedUrlRE, setFollowRedirects, setHeaderManager, setHTTPFiles, setImageParser, setImplementation, setIpSource, setIpSourceType, setMD5, setMethod, setMonitor, setMonitor, setPath, setPath, setPort, setPostBodyRaw, setProtocol, setResponseTimeout, setUseKeepAlive, testEnded, testEnded, testStarted, testStarted, threadFinished, threadStarted, toString, useMD5
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, canRemove, clear, clearTemporary, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.testelement.TestElement
canRemove, clear, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+HTTPSampler2

+
+public HTTPSampler2()
+
+
+ + + + + + + + +
+Method Detail
+ +

+interrupt

+
+public boolean interrupt()
+
+
Description copied from interface: Interruptible
+
Interrupt the current operation if possible. +

+

+
Specified by:
interrupt in interface Interruptible
+
+
+ +
Returns:
true if there was an operation to interrupt.
+
+
+
+ +

+sample

+
+protected HTTPSampleResult sample(URL u,
+                                  String method,
+                                  boolean areFollowingRedirect,
+                                  int depth)
+
+
Description copied from class: HTTPSamplerBase
+
Samples the URL passed in and stores the result in + HTTPSampleResult, following redirects and downloading + page resources as appropriate. +

+ When getting a redirect target, redirects are not followed and resources + are not downloaded. The caller will take care of this. +

+

+
Specified by:
sample in class HTTPSamplerBase
+
+
+
Parameters:
u - URL to sample
method - HTTP method: GET, POST,...
areFollowingRedirect - whether we're getting a redirect target
depth - Depth of this target in the frame structure. Used only to + prevent infinite recursion. +
Returns:
results of the sampling, can be null if u is in CacheManager
+
+
+
+ +

+setupConnection

+
+protected org.apache.commons.httpclient.HttpClient setupConnection(URL url,
+                                                                   org.apache.commons.httpclient.HttpMethodBase httpMethod,
+                                                                   HTTPSampleResult res)
+                                                            throws IOException
+
+
+
+
+
+ +
Throws: +
IOException
+
+
+
+ +

+saveConnectionCookies

+
+protected void saveConnectionCookies(org.apache.commons.httpclient.HttpMethod httpMethod,
+                                     URL url,
+                                     CookieManager cookieManager)
+
+
+
+
+
+
+
+
+
+ +

+getResponseHeaders

+
+protected String getResponseHeaders(org.apache.commons.httpclient.HttpMethod httpMethod)
+
+
+
+
+
+
+
+
+
+ +

+getConnectionHeaders

+
+protected String getConnectionHeaders(org.apache.commons.httpclient.HttpMethod httpMethod)
+
+
+
+
+
+
+
+
+
+ +

+setSavedClient

+
+protected void setSavedClient(org.apache.commons.httpclient.HttpClient savedClient)
+
+
+
+
+
+
+
+
+
+ +

+testIterationStart

+
+public void testIterationStart(LoopIterationEvent event)
+
+
Description copied from interface: TestIterationListener
+
Each time through a Thread Group's test script, an iteration event is + fired for each thread. + + This will be after the test elements have been cloned, so in general + the instance will not be the same as the ones the start/end methods call. +

+

+
Specified by:
testIterationStart in interface TestIterationListener
Overrides:
testIterationStart in class HTTPSamplerBase
+
+
+
Parameters:
event - the iteration event
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/sampler/HTTPSamplerBase.SourceType.html b/docs/api/org/apache/jmeter/protocol/http/sampler/HTTPSamplerBase.SourceType.html new file mode 100644 index 00000000000..1814866e1f9 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/sampler/HTTPSamplerBase.SourceType.html @@ -0,0 +1,389 @@ + + + + + +HTTPSamplerBase.SourceType (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.sampler +
+Enum HTTPSamplerBase.SourceType

+
+java.lang.Object
+  extended by java.lang.Enum<HTTPSamplerBase.SourceType>
+      extended by org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.SourceType
+
+
+
All Implemented Interfaces:
Serializable, Comparable<HTTPSamplerBase.SourceType>
+
+
+
Enclosing class:
HTTPSamplerBase
+
+
+
+
public static enum HTTPSamplerBase.SourceType
extends Enum<HTTPSamplerBase.SourceType>
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + +
+Enum Constant Summary
DEVICE + +
+           
DEVICE_IPV4 + +
+           
DEVICE_IPV6 + +
+           
HOSTNAME + +
+           
+ + + + + + + + + + +
+Field Summary
+ StringpropertyName + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+static HTTPSamplerBase.SourceTypevalueOf(String name) + +
+          Returns the enum constant of this type with the specified name.
+static HTTPSamplerBase.SourceType[]values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+ + + + + + + +
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
+ + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Enum Constant Detail
+ +

+HOSTNAME

+
+public static final HTTPSamplerBase.SourceType HOSTNAME
+
+
+
+
+
+ +

+DEVICE

+
+public static final HTTPSamplerBase.SourceType DEVICE
+
+
+
+
+
+ +

+DEVICE_IPV4

+
+public static final HTTPSamplerBase.SourceType DEVICE_IPV4
+
+
+
+
+
+ +

+DEVICE_IPV6

+
+public static final HTTPSamplerBase.SourceType DEVICE_IPV6
+
+
+
+
+ + + + + + + + +
+Field Detail
+ +

+propertyName

+
+public final String propertyName
+
+
+
+
+ + + + + + + + +
+Method Detail
+ +

+values

+
+public static HTTPSamplerBase.SourceType[] values()
+
+
Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
+for (HTTPSamplerBase.SourceType c : HTTPSamplerBase.SourceType.values())
+    System.out.println(c);
+
+

+

+ +
Returns:
an array containing the constants of this enum type, in +the order they are declared
+
+
+
+ +

+valueOf

+
+public static HTTPSamplerBase.SourceType valueOf(String name)
+
+
Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.) +

+

+
Parameters:
name - the name of the enum constant to be returned. +
Returns:
the enum constant with the specified name +
Throws: +
IllegalArgumentException - if this enum type has no constant +with the specified name +
NullPointerException - if the argument is null
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/sampler/HTTPSamplerBase.html b/docs/api/org/apache/jmeter/protocol/http/sampler/HTTPSamplerBase.html new file mode 100644 index 00000000000..2e2ddf79df1 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/sampler/HTTPSamplerBase.html @@ -0,0 +1,3954 @@ + + + + + +HTTPSamplerBase (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.sampler +
+Class HTTPSamplerBase

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.samplers.AbstractSampler
+          extended by org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, ConfigMergabilityIndicator, Searchable, HTTPConstantsInterface, Sampler, TestElement, TestIterationListener, TestStateListener, ThreadListener
+
+
+
Direct Known Subclasses:
AjpSampler, HTTPSampler, HTTPSampler2, HTTPSamplerProxy, WebServiceSampler
+
+
+
+
public abstract class HTTPSamplerBase
extends AbstractSampler
implements TestStateListener, TestIterationListener, ThreadListener, HTTPConstantsInterface
+ + +

+Common constants and methods for HTTP samplers +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Nested Class Summary
+static classHTTPSamplerBase.SourceType + +
+           
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static StringARGUMENTS + +
+           
+static StringAUTH_MANAGER + +
+           
+static StringAUTO_REDIRECTS + +
+           
+static StringBROWSER_COMPATIBLE_MULTIPART + +
+           
+static booleanBROWSER_COMPATIBLE_MULTIPART_MODE_DEFAULT + +
+           
+static StringCACHE_MANAGER + +
+           
+static StringCONCURRENT_DWN + +
+           
+static StringCONCURRENT_POOL + +
+           
+static intCONCURRENT_POOL_SIZE + +
+           
+static StringCONNECT_TIMEOUT + +
+           
+static StringCONTENT_ENCODING + +
+          This is the encoding used for the content, i.e. the charset name, not the header "Content-Encoding"
+static StringCONTENT_TYPE + +
+           
+static StringCOOKIE_MANAGER + +
+           
+static StringDEFAULT_METHOD + +
+           
+static StringDNS_CACHE_MANAGER + +
+           
+static StringDO_MULTIPART_POST + +
+           
+static StringDOMAIN + +
+           
+static StringEMBEDDED_URL_RE + +
+           
+static StringFOLLOW_REDIRECTS + +
+           
+static StringHEADER_MANAGER + +
+           
+static StringIMAGE_PARSER + +
+           
+static StringIMPLEMENTATION + +
+           
+static StringIP_SOURCE + +
+          IP source to use - does not apply to Java HTTP implementation currently
+static StringIP_SOURCE_TYPE + +
+           
+protected static intMAX_FRAME_DEPTH + +
+           
+protected static intMAX_REDIRECTS + +
+           
+static StringMETHOD + +
+           
+static StringMONITOR + +
+           
+protected static StringNON_HTTP_RESPONSE_CODE + +
+           
+protected static StringNON_HTTP_RESPONSE_MESSAGE + +
+           
+static StringPATH + +
+           
+static StringPORT + +
+           
+static StringPOST_BODY_RAW + +
+           
+static booleanPOST_BODY_RAW_DEFAULT + +
+           
+static StringPROTOCOL + +
+           
+static StringPROXYHOST + +
+           
+static StringPROXYPASS + +
+           
+static StringPROXYPORT + +
+           
+static StringPROXYUSER + +
+           
+static StringRESPONSE_TIMEOUT + +
+           
+static intUNSPECIFIED_PORT + +
+          A number to indicate that the port has not been set.
+static StringUNSPECIFIED_PORT_AS_STRING + +
+           
+static StringURL + +
+           
+static intURL_UNSPECIFIED_PORT + +
+          If the port is not present in a URL, getPort() returns -1
+static StringURL_UNSPECIFIED_PORT_AS_STRING + +
+           
+static StringUSE_KEEPALIVE + +
+           
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.protocol.http.util.HTTPConstantsInterface
APPLICATION_X_WWW_FORM_URLENCODED, CACHE_CONTROL, CONNECT, CONNECTION_CLOSE, COPY, DATE, DEFAULT_HTTP_PORT, DEFAULT_HTTP_PORT_STRING, DEFAULT_HTTPS_PORT, DEFAULT_HTTPS_PORT_STRING, DELETE, ENCODING_GZIP, ETAG, EXPIRES, GET, HEAD, HEADER_AUTHORIZATION, HEADER_CONNECTION, HEADER_CONTENT_DISPOSITION, HEADER_CONTENT_ENCODING, HEADER_CONTENT_LENGTH, HEADER_CONTENT_TYPE, HEADER_COOKIE, HEADER_HOST, HEADER_LOCAL_ADDRESS, HEADER_LOCATION, HEADER_SET_COOKIE, HTTP_1_1, IF_MODIFIED_SINCE, IF_NONE_MATCH, KEEP_ALIVE, LAST_MODIFIED, LOCK, MKCALENDAR, MKCOL, MOVE, MULTIPART_FORM_DATA, OPTIONS, PATCH, POST, PROPFIND, PROPPATCH, PROTOCOL_HTTP, PROTOCOL_HTTPS, PUT, REPORT, TRACE, TRANSFER_ENCODING, UNLOCK
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
HTTPSamplerBase() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddArgument(String name, + String value) + +
+           
+ voidaddArgument(String name, + String value, + String metadata) + +
+           
+ voidaddEncodedArgument(String name, + String value) + +
+          Add an argument which has already been encoded
+ voidaddEncodedArgument(String name, + String value, + String metaData) + +
+           
+ voidaddEncodedArgument(String name, + String value, + String metaData, + String contentEncoding) + +
+          Creates an HTTPArgument and adds it to the current set getArguments() of arguments.
+ voidaddNonEncodedArgument(String name, + String value, + String metadata) + +
+           
+ voidaddTestElement(TestElement el) + +
+          
+ booleanapplies(ConfigTestElement configElement) + +
+          Does configElement apply to Sampler
+ voidclearTestElementChildren() + +
+          This method should clear any test element properties that are merged + by TestElement.addTestElement(TestElement).
+ Objectclone() + +
+          
+protected  HTTPSampleResultdownloadPageResources(HTTPSampleResult res, + HTTPSampleResult container, + int frameDepth) + +
+          Download the resources of an HTML page.
+protected static StringencodeBackSlashes(String value) + +
+           
+protected  StringencodeSpaces(String path) + +
+           
+protected  HTTPSampleResulterrorResult(Throwable e, + HTTPSampleResult res) + +
+          Populates the provided HTTPSampleResult with details from the Exception.
+protected  HTTPSampleResultfollowRedirects(HTTPSampleResult res, + int frameDepth) + +
+          Iteratively download the redirect targets of a redirect response.
+ ArgumentsgetArguments() + +
+           
+ AuthManagergetAuthManager() + +
+           
+ booleangetAutoRedirects() + +
+           
+ CacheManagergetCacheManager() + +
+           
+ StringgetConcurrentPool() + +
+          Get the pool size for concurrent thread pool to get embedded resources.
+ intgetConnectTimeout() + +
+           
+ StringgetContentEncoding() + +
+           
+ CookieManagergetCookieManager() + +
+           
+static intgetDefaultPort(String protocol, + int port) + +
+          Get the port number for a URL, applying defaults if necessary.
+ DNSCacheManagergetDNSResolver() + +
+           
+ booleangetDoBrowserCompatibleMultipart() + +
+           
+ StringgetDomain() + +
+           
+ booleangetDoMultipartPost() + +
+           
+ StringgetEmbeddedUrlRE() + +
+          Get the regular expression URLs must match.
+ booleangetFollowRedirects() + +
+           
+ HeaderManagergetHeaderManager() + +
+           
+ intgetHTTPFileCount() + +
+           
+ HTTPFileArg[]getHTTPFiles() + +
+          Get the collection of files as a list.
+ StringgetImplementation() + +
+           
+ StringgetIpSource() + +
+          get IP source to use - does not apply to Java HTTP implementation currently
+ intgetIpSourceType() + +
+          get IP/address source type to use
+ StringgetMethod() + +
+           
+ StringgetMonitor() + +
+           
+ StringgetPath() + +
+           
+ intgetPort() + +
+          Get the port; apply the default for the protocol if necessary.
+ intgetPortIfSpecified() + +
+          Get the port number from the port string, allowing for trailing blanks.
+ booleangetPostBodyRaw() + +
+           
+ StringgetProtocol() + +
+          Gets the protocol, with default.
+ StringgetProxyHost() + +
+           
+ StringgetProxyPass() + +
+           
+ intgetProxyPortInt() + +
+           
+ StringgetProxyUser() + +
+           
+ StringgetQueryString() + +
+          Gets the QueryString attribute of the UrlConfig object, using + UTF-8 to encode the URL
+ StringgetQueryString(String contentEncoding) + +
+          Gets the QueryString attribute of the UrlConfig object, using the + specified encoding to encode the parameter values put into the URL
+ intgetResponseTimeout() + +
+           
+ booleangetSendFileAsPostBody() + +
+          Determine if the file should be sent as the entire Content body, + i.e. without any additional wrapping.
+ booleangetSendParameterValuesAsPostBody() + +
+          Determine if none of the parameters have a name, and if that + is the case, it means that the parameter values should be sent + as the entity body
+static String[]getSourceTypeList() + +
+           
+ URLgetUrl() + +
+          Get the URL, built from its component parts.
+ booleangetUseKeepAlive() + +
+           
+ booleangetUseMultipartForPost() + +
+          Determine if we should use multipart/form-data or + application/x-www-form-urlencoded for the post
+static String[]getValidMethodsAsArray() + +
+           
+ booleanhasArguments() + +
+           
+ booleanisConcurrentDwn() + +
+          Return if used a concurrent thread pool to get embedded resources.
+ booleanisImageParser() + +
+           
+ booleanisMonitor() + +
+           
+ booleanisProtocolDefaultPort() + +
+          Tell whether the default port for the specified protocol is used
+static booleanisSecure(String protocol) + +
+           
+static booleanisSecure(URL url) + +
+           
+protected  booleanisSuccessCode(int code) + +
+          Determine if the HTTP status code is successful or not + i.e. in range 200 to 399 inclusive
+ voidparseArguments(String queryString) + +
+           
+ voidparseArguments(String queryString, + String contentEncoding) + +
+          This method allows a proxy server to send over the raw text from a + browser's output stream to be parsed and stored correctly into the + UrlConfig object.
+ byte[]readResponse(SampleResult sampleResult, + InputStream in, + int length) + +
+          Read response from the input stream, converting to MD5 digest if the useMD5 property is set.
+protected  HTTPSampleResultresultProcessing(boolean areFollowingRedirect, + int frameDepth, + HTTPSampleResult res) + +
+          Follow redirects and download page resources if appropriate. this works, + but the container stuff here is what's doing it. followRedirects() is + actually doing the work to make sure we have only one container to make + this work more naturally, I think this method - sample() - needs to take + an HTTPSamplerResult container parameter instead of a + boolean:areFollowingRedirect.
+ SampleResultsample() + +
+          Perform a sample, and return the results
+ SampleResultsample(Entry e) + +
+          Do a sampling and return its results.
+protected abstract  HTTPSampleResultsample(URL u, + String method, + boolean areFollowingRedirect, + int depth) + +
+          Samples the URL passed in and stores the result in + HTTPSampleResult, following redirects and downloading + page resources as appropriate.
+ voidsetArguments(Arguments value) + +
+           
+ voidsetAuthManager(AuthManager value) + +
+           
+ voidsetAutoRedirects(boolean value) + +
+           
+ voidsetCacheManager(CacheManager value) + +
+           
+ voidsetConcurrentDwn(boolean concurrentDwn) + +
+           
+ voidsetConcurrentPool(String poolSize) + +
+           
+ voidsetConnectTimeout(String value) + +
+           
+ voidsetContentEncoding(String charsetName) + +
+          Sets the value of the encoding to be used for the content.
+ voidsetCookieManager(CookieManager value) + +
+           
+ voidsetDNSResolver(DNSCacheManager cacheManager) + +
+           
+ voidsetDoBrowserCompatibleMultipart(boolean value) + +
+           
+ voidsetDomain(String value) + +
+           
+ voidsetDoMultipartPost(boolean value) + +
+           
+ voidsetEmbeddedUrlRE(String regex) + +
+           
+ voidsetFollowRedirects(boolean value) + +
+           
+ voidsetHeaderManager(HeaderManager value) + +
+           
+ voidsetHTTPFiles(HTTPFileArg[] files) + +
+          Saves the list of files.
+ voidsetImageParser(boolean parseImages) + +
+           
+ voidsetImplementation(String value) + +
+           
+ voidsetIpSource(String value) + +
+          set IP source to use - does not apply to Java HTTP implementation currently
+ voidsetIpSourceType(int value) + +
+          set IP/address source type to use
+ voidsetMD5(boolean truth) + +
+           
+ voidsetMethod(String value) + +
+           
+ voidsetMonitor(boolean truth) + +
+           
+ voidsetMonitor(String value) + +
+           
+ voidsetPath(String path) + +
+          Sets the Path attribute of the UrlConfig object Also calls parseArguments + to extract and store any query arguments
+ voidsetPath(String path, + String contentEncoding) + +
+          Sets the PATH property; if the request is a GET or DELETE (and the path + does not start with http[s]://) it also calls parseArguments(String, String) + to extract and store any query arguments.
+ voidsetPort(int value) + +
+           
+ voidsetPostBodyRaw(boolean value) + +
+           
+ voidsetProtocol(String value) + +
+           
+ voidsetResponseTimeout(String value) + +
+           
+ voidsetUseKeepAlive(boolean value) + +
+           
+ voidtestEnded() + +
+           + Called once for all threads after the end of a test.
+ voidtestEnded(String host) + +
+           + Called once for all threads after the end of a test.
+ voidtestIterationStart(LoopIterationEvent event) + +
+          Each time through a Thread Group's test script, an iteration event is + fired for each thread.
+ voidtestStarted() + +
+           + Called just before the start of the test from the main engine thread.
+ voidtestStarted(String host) + +
+           + Called just before the start of the test from the main engine thread.
+ voidthreadFinished() + +
+          Called for each thread after all samples have been processed.
+ voidthreadStarted() + +
+          Called for each thread before starting sampling.
+ StringtoString() + +
+           
+ booleanuseMD5() + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, canRemove, clear, clearTemporary, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.testelement.TestElement
canRemove, clear, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse
+  +

+ + + + + + + + +
+Field Detail
+ +

+ARGUMENTS

+
+public static final String ARGUMENTS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+AUTH_MANAGER

+
+public static final String AUTH_MANAGER
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COOKIE_MANAGER

+
+public static final String COOKIE_MANAGER
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CACHE_MANAGER

+
+public static final String CACHE_MANAGER
+
+
+
See Also:
Constant Field Values
+
+
+ +

+HEADER_MANAGER

+
+public static final String HEADER_MANAGER
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DNS_CACHE_MANAGER

+
+public static final String DNS_CACHE_MANAGER
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DOMAIN

+
+public static final String DOMAIN
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PORT

+
+public static final String PORT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PROXYHOST

+
+public static final String PROXYHOST
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PROXYPORT

+
+public static final String PROXYPORT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PROXYUSER

+
+public static final String PROXYUSER
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PROXYPASS

+
+public static final String PROXYPASS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CONNECT_TIMEOUT

+
+public static final String CONNECT_TIMEOUT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+RESPONSE_TIMEOUT

+
+public static final String RESPONSE_TIMEOUT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+METHOD

+
+public static final String METHOD
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CONTENT_ENCODING

+
+public static final String CONTENT_ENCODING
+
+
This is the encoding used for the content, i.e. the charset name, not the header "Content-Encoding" +

+

+
See Also:
Constant Field Values
+
+
+ +

+IMPLEMENTATION

+
+public static final String IMPLEMENTATION
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PATH

+
+public static final String PATH
+
+
+
See Also:
Constant Field Values
+
+
+ +

+FOLLOW_REDIRECTS

+
+public static final String FOLLOW_REDIRECTS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+AUTO_REDIRECTS

+
+public static final String AUTO_REDIRECTS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PROTOCOL

+
+public static final String PROTOCOL
+
+
+
See Also:
Constant Field Values
+
+
+ +

+URL

+
+public static final String URL
+
+
+
See Also:
Constant Field Values
+
+
+ +

+IP_SOURCE

+
+public static final String IP_SOURCE
+
+
IP source to use - does not apply to Java HTTP implementation currently +

+

+
See Also:
Constant Field Values
+
+
+ +

+IP_SOURCE_TYPE

+
+public static final String IP_SOURCE_TYPE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+USE_KEEPALIVE

+
+public static final String USE_KEEPALIVE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DO_MULTIPART_POST

+
+public static final String DO_MULTIPART_POST
+
+
+
See Also:
Constant Field Values
+
+
+ +

+BROWSER_COMPATIBLE_MULTIPART

+
+public static final String BROWSER_COMPATIBLE_MULTIPART
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CONCURRENT_DWN

+
+public static final String CONCURRENT_DWN
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CONCURRENT_POOL

+
+public static final String CONCURRENT_POOL
+
+
+
See Also:
Constant Field Values
+
+
+ +

+BROWSER_COMPATIBLE_MULTIPART_MODE_DEFAULT

+
+public static final boolean BROWSER_COMPATIBLE_MULTIPART_MODE_DEFAULT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CONCURRENT_POOL_SIZE

+
+public static final int CONCURRENT_POOL_SIZE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DEFAULT_METHOD

+
+public static final String DEFAULT_METHOD
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CONTENT_TYPE

+
+public static final String CONTENT_TYPE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+IMAGE_PARSER

+
+public static final String IMAGE_PARSER
+
+
+
See Also:
Constant Field Values
+
+
+ +

+EMBEDDED_URL_RE

+
+public static final String EMBEDDED_URL_RE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+MONITOR

+
+public static final String MONITOR
+
+
+
See Also:
Constant Field Values
+
+
+ +

+UNSPECIFIED_PORT

+
+public static final int UNSPECIFIED_PORT
+
+
A number to indicate that the port has not been set. +

+

+
See Also:
Constant Field Values
+
+
+ +

+UNSPECIFIED_PORT_AS_STRING

+
+public static final String UNSPECIFIED_PORT_AS_STRING
+
+
+
See Also:
Constant Field Values
+
+
+ +

+URL_UNSPECIFIED_PORT

+
+public static final int URL_UNSPECIFIED_PORT
+
+
If the port is not present in a URL, getPort() returns -1 +

+

+
See Also:
Constant Field Values
+
+
+ +

+URL_UNSPECIFIED_PORT_AS_STRING

+
+public static final String URL_UNSPECIFIED_PORT_AS_STRING
+
+
+
See Also:
Constant Field Values
+
+
+ +

+NON_HTTP_RESPONSE_CODE

+
+protected static final String NON_HTTP_RESPONSE_CODE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+NON_HTTP_RESPONSE_MESSAGE

+
+protected static final String NON_HTTP_RESPONSE_MESSAGE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+POST_BODY_RAW

+
+public static final String POST_BODY_RAW
+
+
+
See Also:
Constant Field Values
+
+
+ +

+POST_BODY_RAW_DEFAULT

+
+public static final boolean POST_BODY_RAW_DEFAULT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+MAX_REDIRECTS

+
+protected static final int MAX_REDIRECTS
+
+
+
+
+
+ +

+MAX_FRAME_DEPTH

+
+protected static final int MAX_FRAME_DEPTH
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+HTTPSamplerBase

+
+public HTTPSamplerBase()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getSourceTypeList

+
+public static final String[] getSourceTypeList()
+
+
+
+
+
+
+
+
+
+ +

+getSendFileAsPostBody

+
+public boolean getSendFileAsPostBody()
+
+
Determine if the file should be sent as the entire Content body, + i.e. without any additional wrapping. +

+

+
+
+
+ +
Returns:
true if specified file is to be sent as the body, + i.e. there is a single file entry which has a non-empty path and + an empty Parameter name.
+
+
+
+ +

+getSendParameterValuesAsPostBody

+
+public boolean getSendParameterValuesAsPostBody()
+
+
Determine if none of the parameters have a name, and if that + is the case, it means that the parameter values should be sent + as the entity body +

+

+
+
+
+ +
Returns:
true if none of the parameters have a name specified
+
+
+
+ +

+getUseMultipartForPost

+
+public boolean getUseMultipartForPost()
+
+
Determine if we should use multipart/form-data or + application/x-www-form-urlencoded for the post +

+

+
+
+
+ +
Returns:
true if multipart/form-data should be used and method is POST
+
+
+
+ +

+setProtocol

+
+public void setProtocol(String value)
+
+
+
+
+
+
+
+
+
+ +

+getProtocol

+
+public String getProtocol()
+
+
Gets the protocol, with default. +

+

+
+
+
+ +
Returns:
the protocol
+
+
+
+ +

+setPath

+
+public void setPath(String path)
+
+
Sets the Path attribute of the UrlConfig object Also calls parseArguments + to extract and store any query arguments +

+

+
+
+
+
Parameters:
path - The new Path value
+
+
+
+ +

+setPath

+
+public void setPath(String path,
+                    String contentEncoding)
+
+
Sets the PATH property; if the request is a GET or DELETE (and the path + does not start with http[s]://) it also calls parseArguments(String, String) + to extract and store any query arguments. +

+

+
+
+
+
Parameters:
path - The new Path value
contentEncoding - The encoding used for the querystring parameter values
+
+
+
+ +

+getPath

+
+public String getPath()
+
+
+
+
+
+
+
+
+
+ +

+setFollowRedirects

+
+public void setFollowRedirects(boolean value)
+
+
+
+
+
+
+
+
+
+ +

+getFollowRedirects

+
+public boolean getFollowRedirects()
+
+
+
+
+
+
+
+
+
+ +

+setAutoRedirects

+
+public void setAutoRedirects(boolean value)
+
+
+
+
+
+
+
+
+
+ +

+getAutoRedirects

+
+public boolean getAutoRedirects()
+
+
+
+
+
+
+
+
+
+ +

+setMethod

+
+public void setMethod(String value)
+
+
+
+
+
+
+
+
+
+ +

+getMethod

+
+public String getMethod()
+
+
+
+
+
+
+
+
+
+ +

+setContentEncoding

+
+public void setContentEncoding(String charsetName)
+
+
Sets the value of the encoding to be used for the content. +

+

+
+
+
+
Parameters:
charsetName - the name of the encoding to be used
+
+
+
+ +

+getContentEncoding

+
+public String getContentEncoding()
+
+
+
+
+
+ +
Returns:
the encoding of the content, i.e. its charset name
+
+
+
+ +

+setUseKeepAlive

+
+public void setUseKeepAlive(boolean value)
+
+
+
+
+
+
+
+
+
+ +

+getUseKeepAlive

+
+public boolean getUseKeepAlive()
+
+
+
+
+
+
+
+
+
+ +

+setDoMultipartPost

+
+public void setDoMultipartPost(boolean value)
+
+
+
+
+
+
+
+
+
+ +

+getDoMultipartPost

+
+public boolean getDoMultipartPost()
+
+
+
+
+
+
+
+
+
+ +

+setDoBrowserCompatibleMultipart

+
+public void setDoBrowserCompatibleMultipart(boolean value)
+
+
+
+
+
+
+
+
+
+ +

+getDoBrowserCompatibleMultipart

+
+public boolean getDoBrowserCompatibleMultipart()
+
+
+
+
+
+
+
+
+
+ +

+setMonitor

+
+public void setMonitor(String value)
+
+
+
+
+
+
+
+
+
+ +

+setMonitor

+
+public void setMonitor(boolean truth)
+
+
+
+
+
+
+
+
+
+ +

+getMonitor

+
+public String getMonitor()
+
+
+
+
+
+
+
+
+
+ +

+isMonitor

+
+public boolean isMonitor()
+
+
+
+
+
+
+
+
+
+ +

+setImplementation

+
+public void setImplementation(String value)
+
+
+
+
+
+
+
+
+
+ +

+getImplementation

+
+public String getImplementation()
+
+
+
+
+
+
+
+
+
+ +

+useMD5

+
+public boolean useMD5()
+
+
+
+
+
+
+
+
+
+ +

+setMD5

+
+public void setMD5(boolean truth)
+
+
+
+
+
+
+
+
+
+ +

+addEncodedArgument

+
+public void addEncodedArgument(String name,
+                               String value)
+
+
Add an argument which has already been encoded +

+

+
+
+
+
Parameters:
name - name of the argument
value - value of the argument
+
+
+
+ +

+addEncodedArgument

+
+public void addEncodedArgument(String name,
+                               String value,
+                               String metaData,
+                               String contentEncoding)
+
+
Creates an HTTPArgument and adds it to the current set getArguments() of arguments. +

+

+
+
+
+
Parameters:
name - - the parameter name
value - - the parameter value
metaData - - normally just '='
contentEncoding - - the encoding, may be null
+
+
+
+ +

+addEncodedArgument

+
+public void addEncodedArgument(String name,
+                               String value,
+                               String metaData)
+
+
+
+
+
+
+
+
+
+ +

+addNonEncodedArgument

+
+public void addNonEncodedArgument(String name,
+                                  String value,
+                                  String metadata)
+
+
+
+
+
+
+
+
+
+ +

+addArgument

+
+public void addArgument(String name,
+                        String value)
+
+
+
+
+
+
+
+
+
+ +

+addArgument

+
+public void addArgument(String name,
+                        String value,
+                        String metadata)
+
+
+
+
+
+
+
+
+
+ +

+hasArguments

+
+public boolean hasArguments()
+
+
+
+
+
+
+
+
+
+ +

+addTestElement

+
+public void addTestElement(TestElement el)
+
+
Description copied from class: AbstractTestElement
+
+

+

+
Specified by:
addTestElement in interface TestElement
Overrides:
addTestElement in class AbstractTestElement
+
+
+
+
+
+
+ +

+clearTestElementChildren

+
+public void clearTestElementChildren()
+
+
This method should clear any test element properties that are merged + by TestElement.addTestElement(TestElement). +

+ Default implementation - does nothing +

+ Clears the Header Manager property so subsequent loops don't keep merging more elements +

+

+
Specified by:
clearTestElementChildren in interface TestElement
Overrides:
clearTestElementChildren in class AbstractTestElement
+
+
+
+
+
+
+ +

+setPort

+
+public void setPort(int value)
+
+
+
+
+
+
+
+
+
+ +

+getDefaultPort

+
+public static int getDefaultPort(String protocol,
+                                 int port)
+
+
Get the port number for a URL, applying defaults if necessary. + (Called by CookieManager.) +

+

+
+
+
+
Parameters:
protocol - from URL.getProtocol()
port - number from URL.getPort() +
Returns:
the default port for the protocol
+
+
+
+ +

+getPortIfSpecified

+
+public int getPortIfSpecified()
+
+
Get the port number from the port string, allowing for trailing blanks. +

+

+
+
+
+ +
Returns:
port number or UNSPECIFIED_PORT (== 0)
+
+
+
+ +

+isProtocolDefaultPort

+
+public boolean isProtocolDefaultPort()
+
+
Tell whether the default port for the specified protocol is used +

+

+
+
+
+ +
Returns:
true if the default port number for the protocol is used, false otherwise
+
+
+
+ +

+getPort

+
+public int getPort()
+
+
Get the port; apply the default for the protocol if necessary. +

+

+
+
+
+ +
Returns:
the port number, with default applied if required.
+
+
+
+ +

+setDomain

+
+public void setDomain(String value)
+
+
+
+
+
+
+
+
+
+ +

+getDomain

+
+public String getDomain()
+
+
+
+
+
+
+
+
+
+ +

+setConnectTimeout

+
+public void setConnectTimeout(String value)
+
+
+
+
+
+
+
+
+
+ +

+getConnectTimeout

+
+public int getConnectTimeout()
+
+
+
+
+
+
+
+
+
+ +

+setResponseTimeout

+
+public void setResponseTimeout(String value)
+
+
+
+
+
+
+
+
+
+ +

+getResponseTimeout

+
+public int getResponseTimeout()
+
+
+
+
+
+
+
+
+
+ +

+getProxyHost

+
+public String getProxyHost()
+
+
+
+
+
+
+
+
+
+ +

+getProxyPortInt

+
+public int getProxyPortInt()
+
+
+
+
+
+
+
+
+
+ +

+getProxyUser

+
+public String getProxyUser()
+
+
+
+
+
+
+
+
+
+ +

+getProxyPass

+
+public String getProxyPass()
+
+
+
+
+
+
+
+
+
+ +

+setArguments

+
+public void setArguments(Arguments value)
+
+
+
+
+
+
+
+
+
+ +

+getArguments

+
+public Arguments getArguments()
+
+
+
+
+
+
+
+
+
+ +

+setPostBodyRaw

+
+public void setPostBodyRaw(boolean value)
+
+
+
+
+
+
Parameters:
value - Boolean that indicates body will be sent as is
+
+
+
+ +

+getPostBodyRaw

+
+public boolean getPostBodyRaw()
+
+
+
+
+
+ +
Returns:
boolean that indicates body will be sent as is
+
+
+
+ +

+setAuthManager

+
+public void setAuthManager(AuthManager value)
+
+
+
+
+
+
+
+
+
+ +

+getAuthManager

+
+public AuthManager getAuthManager()
+
+
+
+
+
+
+
+
+
+ +

+setHeaderManager

+
+public void setHeaderManager(HeaderManager value)
+
+
+
+
+
+
+
+
+
+ +

+getHeaderManager

+
+public HeaderManager getHeaderManager()
+
+
+
+
+
+
+
+
+
+ +

+setCookieManager

+
+public void setCookieManager(CookieManager value)
+
+
+
+
+
+
+
+
+
+ +

+getCookieManager

+
+public CookieManager getCookieManager()
+
+
+
+
+
+
+
+
+
+ +

+setCacheManager

+
+public void setCacheManager(CacheManager value)
+
+
+
+
+
+
+
+
+
+ +

+getCacheManager

+
+public CacheManager getCacheManager()
+
+
+
+
+
+
+
+
+
+ +

+getDNSResolver

+
+public DNSCacheManager getDNSResolver()
+
+
+
+
+
+
+
+
+
+ +

+setDNSResolver

+
+public void setDNSResolver(DNSCacheManager cacheManager)
+
+
+
+
+
+
+
+
+
+ +

+isImageParser

+
+public boolean isImageParser()
+
+
+
+
+
+
+
+
+
+ +

+setImageParser

+
+public void setImageParser(boolean parseImages)
+
+
+
+
+
+
+
+
+
+ +

+getEmbeddedUrlRE

+
+public String getEmbeddedUrlRE()
+
+
Get the regular expression URLs must match. +

+

+
+
+
+ +
Returns:
regular expression (or empty) string
+
+
+
+ +

+setEmbeddedUrlRE

+
+public void setEmbeddedUrlRE(String regex)
+
+
+
+
+
+
+
+
+
+ +

+errorResult

+
+protected HTTPSampleResult errorResult(Throwable e,
+                                       HTTPSampleResult res)
+
+
Populates the provided HTTPSampleResult with details from the Exception. + Does not create a new instance, so should not be used directly to add a subsample. +

+

+
+
+
+
Parameters:
e - Exception representing the error.
res - SampleResult to be modified +
Returns:
the modified sampling result containing details of the Exception.
+
+
+
+ +

+getUrl

+
+public URL getUrl()
+           throws MalformedURLException
+
+
Get the URL, built from its component parts. + +

+ As a special case, if the path starts with "http[s]://", + then the path is assumed to be the entire URL. +

+

+

+
+
+
+ +
Returns:
The URL to be requested by this sampler. +
Throws: +
MalformedURLException - if url is malformed
+
+
+
+ +

+getQueryString

+
+public String getQueryString()
+
+
Gets the QueryString attribute of the UrlConfig object, using + UTF-8 to encode the URL +

+

+
+
+
+ +
Returns:
the QueryString value
+
+
+
+ +

+getQueryString

+
+public String getQueryString(String contentEncoding)
+
+
Gets the QueryString attribute of the UrlConfig object, using the + specified encoding to encode the parameter values put into the URL +

+

+
+
+
+
Parameters:
contentEncoding - the encoding to use for encoding parameter values +
Returns:
the QueryString value
+
+
+
+ +

+parseArguments

+
+public void parseArguments(String queryString,
+                           String contentEncoding)
+
+
This method allows a proxy server to send over the raw text from a + browser's output stream to be parsed and stored correctly into the + UrlConfig object. + + For each name found, addArgument() is called +

+

+
+
+
+
Parameters:
queryString - - + the query string, might be the post body of a http post request.
contentEncoding - - + the content encoding of the query string; + if non-null then it is used to decode the
+
+
+
+ +

+parseArguments

+
+public void parseArguments(String queryString)
+
+
+
+
+
+
+
+
+
+ +

+toString

+
+public String toString()
+
+
+
Overrides:
toString in class Object
+
+
+
+
+
+
+ +

+sample

+
+public SampleResult sample(Entry e)
+
+
Do a sampling and return its results. +

+

+
Specified by:
sample in interface Sampler
+
+
+
Parameters:
e - Entry to be sampled +
Returns:
results of the sampling
+
+
+
+ +

+sample

+
+public SampleResult sample()
+
+
Perform a sample, and return the results +

+

+
+
+
+ +
Returns:
results of the sampling
+
+
+
+ +

+sample

+
+protected abstract HTTPSampleResult sample(URL u,
+                                           String method,
+                                           boolean areFollowingRedirect,
+                                           int depth)
+
+
Samples the URL passed in and stores the result in + HTTPSampleResult, following redirects and downloading + page resources as appropriate. +

+ When getting a redirect target, redirects are not followed and resources + are not downloaded. The caller will take care of this. +

+

+
+
+
+
Parameters:
u - URL to sample
method - HTTP method: GET, POST,...
areFollowingRedirect - whether we're getting a redirect target
depth - Depth of this target in the frame structure. Used only to + prevent infinite recursion. +
Returns:
results of the sampling, can be null if u is in CacheManager
+
+
+
+ +

+downloadPageResources

+
+protected HTTPSampleResult downloadPageResources(HTTPSampleResult res,
+                                                 HTTPSampleResult container,
+                                                 int frameDepth)
+
+
Download the resources of an HTML page. +

+

+
+
+
+
Parameters:
res - result of the initial request - must contain an HTML response
container - for storing the results, if any
frameDepth - Depth of this target in the frame structure. Used only to + prevent infinite recursion. +
Returns:
res if no resources exist, otherwise the "Container" result with one subsample per request issued
+
+
+
+ +

+encodeSpaces

+
+protected String encodeSpaces(String path)
+
+
+
+
+
+
+
+
+
+ +

+testEnded

+
+public void testEnded()
+
+

+ Called once for all threads after the end of a test. + + This will use the same element instances as at the start of the test. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testEnded in interface TestStateListener
+
+
+
See Also:
StandardJMeterEngine.stopTest()
+
+
+
+ +

+testEnded

+
+public void testEnded(String host)
+
+

+ Called once for all threads after the end of a test. + + This will use the same element instances as at the start of the test. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testEnded in interface TestStateListener
+
+
+
Parameters:
host - name of host
See Also:
StandardJMeterEngine.stopTest()
+
+
+
+ +

+testStarted

+
+public void testStarted()
+
+

+ Called just before the start of the test from the main engine thread. + + This is before the test elements are cloned. + + Note that not all the test + variables will have been set up at this point. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testStarted in interface TestStateListener
+
+
+
See Also:
StandardJMeterEngine.run()
+
+
+
+ +

+testStarted

+
+public void testStarted(String host)
+
+

+ Called just before the start of the test from the main engine thread. + + This is before the test elements are cloned. + + Note that not all the test + variables will have been set up at this point. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testStarted in interface TestStateListener
+
+
+
Parameters:
host - name of host
See Also:
StandardJMeterEngine.run()
+
+
+
+ +

+clone

+
+public Object clone()
+
+
+

+

+
Specified by:
clone in interface TestElement
Overrides:
clone in class AbstractTestElement
+
+
+
+
+
+
+ +

+followRedirects

+
+protected HTTPSampleResult followRedirects(HTTPSampleResult res,
+                                           int frameDepth)
+
+
Iteratively download the redirect targets of a redirect response. +

+ The returned result will contain one subsample for each request issued, + including the original one that was passed in. It will be an + HTTPSampleResult that should mostly look as if the final destination of + the redirect chain had been obtained in a single shot. +

+

+
+
+
+
Parameters:
res - result of the initial request - must be a redirect response
frameDepth - Depth of this target in the frame structure. Used only to + prevent infinite recursion. +
Returns:
"Container" result with one subsample per request issued
+
+
+
+ +

+resultProcessing

+
+protected HTTPSampleResult resultProcessing(boolean areFollowingRedirect,
+                                            int frameDepth,
+                                            HTTPSampleResult res)
+
+
Follow redirects and download page resources if appropriate. this works, + but the container stuff here is what's doing it. followRedirects() is + actually doing the work to make sure we have only one container to make + this work more naturally, I think this method - sample() - needs to take + an HTTPSamplerResult container parameter instead of a + boolean:areFollowingRedirect. +

+

+
+
+
+
Parameters:
areFollowingRedirect - flag whether we are getting a redirect target
frameDepth - Depth of this target in the frame structure. Used only to prevent infinite recursion.
res - sample result to process +
Returns:
the sample result
+
+
+
+ +

+isSuccessCode

+
+protected boolean isSuccessCode(int code)
+
+
Determine if the HTTP status code is successful or not + i.e. in range 200 to 399 inclusive +

+

+
+
+
+
Parameters:
code - status code to check +
Returns:
whether in range 200-399 or not
+
+
+
+ +

+encodeBackSlashes

+
+protected static String encodeBackSlashes(String value)
+
+
+
+
+
+
+
+
+
+ +

+getHTTPFiles

+
+public HTTPFileArg[] getHTTPFiles()
+
+
Get the collection of files as a list. + The list is built up from the filename/filefield/mimetype properties, + plus any additional entries saved in the FILE_ARGS property. + + If there are no valid file entries, then an empty list is returned. +

+

+
+
+
+ +
Returns:
an array of file arguments (never null)
+
+
+
+ +

+getHTTPFileCount

+
+public int getHTTPFileCount()
+
+
+
+
+
+
+
+
+
+ +

+setHTTPFiles

+
+public void setHTTPFiles(HTTPFileArg[] files)
+
+
Saves the list of files. + The first file is saved in the Filename/field/mimetype properties. + Any additional files are saved in the FILE_ARGS array. +

+

+
+
+
+
Parameters:
files - list of files to save
+
+
+
+ +

+getValidMethodsAsArray

+
+public static String[] getValidMethodsAsArray()
+
+
+
+
+
+
+
+
+
+ +

+isSecure

+
+public static boolean isSecure(String protocol)
+
+
+
+
+
+
+
+
+
+ +

+isSecure

+
+public static boolean isSecure(URL url)
+
+
+
+
+
+
+
+
+
+ +

+threadStarted

+
+public void threadStarted()
+
+
Description copied from interface: ThreadListener
+
Called for each thread before starting sampling. + WARNING: this is called before any Config test elements are processed, + so any properties they define will not have been merged in yet. +

+

+
Specified by:
threadStarted in interface ThreadListener
+
+
+
See Also:
JMeterThread.threadStarted()
+
+
+
+ +

+threadFinished

+
+public void threadFinished()
+
+
Description copied from interface: ThreadListener
+
Called for each thread after all samples have been processed. +

+

+
Specified by:
threadFinished in interface ThreadListener
+
+
+
See Also:
JMeterThread.threadFinished(org.apache.jmeter.engine.event.LoopIterationListener)
+
+
+
+ +

+testIterationStart

+
+public void testIterationStart(LoopIterationEvent event)
+
+
Description copied from interface: TestIterationListener
+
Each time through a Thread Group's test script, an iteration event is + fired for each thread. + + This will be after the test elements have been cloned, so in general + the instance will not be the same as the ones the start/end methods call. +

+

+
Specified by:
testIterationStart in interface TestIterationListener
+
+
+
Parameters:
event - the iteration event
+
+
+
+ +

+readResponse

+
+public byte[] readResponse(SampleResult sampleResult,
+                           InputStream in,
+                           int length)
+                    throws IOException
+
+
Read response from the input stream, converting to MD5 digest if the useMD5 property is set. +

+ For the MD5 case, the result byte count is set to the size of the original response. +

+ Closes the inputStream +

+

+
+
+
+
Parameters:
sampleResult - sample to store information about the response into
in - input stream from which to read the response
length - expected input length or zero +
Returns:
the response or the MD5 of the response +
Throws: +
IOException - if reading the result fails
+
+
+
+ +

+setIpSource

+
+public void setIpSource(String value)
+
+
set IP source to use - does not apply to Java HTTP implementation currently +

+

+
+
+
+
Parameters:
value - IP source to use
+
+
+
+ +

+getIpSource

+
+public String getIpSource()
+
+
get IP source to use - does not apply to Java HTTP implementation currently +

+

+
+
+
+ +
Returns:
IP source to use
+
+
+
+ +

+setIpSourceType

+
+public void setIpSourceType(int value)
+
+
set IP/address source type to use +

+

+
+
+
+
Parameters:
value - type of the IP/address source
+
+
+
+ +

+getIpSourceType

+
+public int getIpSourceType()
+
+
get IP/address source type to use +

+

+
+
+
+ +
Returns:
address source type
+
+
+
+ +

+isConcurrentDwn

+
+public boolean isConcurrentDwn()
+
+
Return if used a concurrent thread pool to get embedded resources. +

+

+
+
+
+ +
Returns:
true if used
+
+
+
+ +

+setConcurrentDwn

+
+public void setConcurrentDwn(boolean concurrentDwn)
+
+
+
+
+
+
+
+
+
+ +

+getConcurrentPool

+
+public String getConcurrentPool()
+
+
Get the pool size for concurrent thread pool to get embedded resources. +

+

+
+
+
+ +
Returns:
the pool size
+
+
+
+ +

+setConcurrentPool

+
+public void setConcurrentPool(String poolSize)
+
+
+
+
+
+
+
+
+
+ +

+applies

+
+public boolean applies(ConfigTestElement configElement)
+
+
Description copied from class: AbstractSampler
+
Does configElement apply to Sampler +

+

+
Specified by:
applies in interface ConfigMergabilityIndicator
Overrides:
applies in class AbstractSampler
+
+
+
Parameters:
configElement - ConfigTestElement +
Returns:
boolean
See Also:
AbstractSampler.applies(org.apache.jmeter.config.ConfigTestElement)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/sampler/HTTPSamplerBaseBeanInfo.html b/docs/api/org/apache/jmeter/protocol/http/sampler/HTTPSamplerBaseBeanInfo.html new file mode 100644 index 00000000000..adc7f4701ab --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/sampler/HTTPSamplerBaseBeanInfo.html @@ -0,0 +1,256 @@ + + + + + +HTTPSamplerBaseBeanInfo (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.sampler +
+Class HTTPSamplerBaseBeanInfo

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElementBeanInfo
+      extended by org.apache.jmeter.protocol.http.sampler.HTTPSamplerBaseBeanInfo
+
+
+
All Implemented Interfaces:
BeanInfo
+
+
+
+
public class HTTPSamplerBaseBeanInfo
extends AbstractTestElementBeanInfo
+ + +

+This is the BeanInfo class for the TestBean HTTPSamplerBase. + (every TestBean has to have a BeanInfo class) +

+ +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from interface java.beans.BeanInfo
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32
+  + + + + + + + + + + +
+Constructor Summary
HTTPSamplerBaseBeanInfo() + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElementBeanInfo
getAdditionalBeanInfo, getBeanDescriptor, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getIcon, getMethodDescriptors, getPropertyDescriptors
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+HTTPSamplerBaseBeanInfo

+
+public HTTPSamplerBaseBeanInfo()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/sampler/HTTPSamplerBaseConverter.html b/docs/api/org/apache/jmeter/protocol/http/sampler/HTTPSamplerBaseConverter.html new file mode 100644 index 00000000000..0707350aa5c --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/sampler/HTTPSamplerBaseConverter.html @@ -0,0 +1,334 @@ + + + + + +HTTPSamplerBaseConverter (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.sampler +
+Class HTTPSamplerBaseConverter

+
+java.lang.Object
+  extended by com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter
+      extended by org.apache.jmeter.save.converters.TestElementConverter
+          extended by org.apache.jmeter.protocol.http.sampler.HTTPSamplerBaseConverter
+
+
+
All Implemented Interfaces:
com.thoughtworks.xstream.converters.Converter, com.thoughtworks.xstream.converters.ConverterMatcher
+
+
+
+
public class HTTPSamplerBaseConverter
extends TestElementConverter
+ + +

+Class for XStream conversion of HTTPResult +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
HTTPSamplerBaseConverter(com.thoughtworks.xstream.mapper.Mapper arg0) + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleancanConvert(Class arg0) + +
+          
+static StringgetVersion() + +
+          Returns the converter version; used to check for possible + incompatibilities
+ Objectunmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, + com.thoughtworks.xstream.converters.UnmarshallingContext context) + +
+          Override TestElementConverter; convert HTTPSamplerBase to merge + the two means of providing file names into a single list.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.save.converters.TestElementConverter
marshal
+ + + + + + + +
Methods inherited from class com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter
createCollection, mapper, readItem, writeItem
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+HTTPSamplerBaseConverter

+
+public HTTPSamplerBaseConverter(com.thoughtworks.xstream.mapper.Mapper arg0)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getVersion

+
+public static String getVersion()
+
+
Returns the converter version; used to check for possible + incompatibilities +

+

+ +
Returns:
the version of this component
+
+
+
+ +

+canConvert

+
+public boolean canConvert(Class arg0)
+
+
+

+

+
Specified by:
canConvert in interface com.thoughtworks.xstream.converters.ConverterMatcher
Overrides:
canConvert in class TestElementConverter
+
+
+
+
+
+
+ +

+unmarshal

+
+public Object unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader,
+                        com.thoughtworks.xstream.converters.UnmarshallingContext context)
+
+
Override TestElementConverter; convert HTTPSamplerBase to merge + the two means of providing file names into a single list. + + +

+

+
Specified by:
unmarshal in interface com.thoughtworks.xstream.converters.Converter
Overrides:
unmarshal in class TestElementConverter
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/sampler/HTTPSamplerFactory.html b/docs/api/org/apache/jmeter/protocol/http/sampler/HTTPSamplerFactory.html new file mode 100644 index 00000000000..726af5c47c2 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/sampler/HTTPSamplerFactory.html @@ -0,0 +1,417 @@ + + + + + +HTTPSamplerFactory (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.sampler +
+Class HTTPSamplerFactory

+
+java.lang.Object
+  extended by org.apache.jmeter.protocol.http.sampler.HTTPSamplerFactory
+
+
+
+
public final class HTTPSamplerFactory
extends Object
+ + +

+Factory to return the appropriate HTTPSampler for use with classes that need + an HTTPSampler; also creates the implementations for use with HTTPSamplerProxy. +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static StringDEFAULT_CLASSNAME + +
+           
+static StringHTTP_SAMPLER_APACHE + +
+          Use Apache HTTPClient HTTP implementation
+static StringHTTP_SAMPLER_JAVA + +
+          Use the the default Java HTTP implementation
+static StringIMPL_HTTP_CLIENT3_1 + +
+           
+static StringIMPL_HTTP_CLIENT4 + +
+           
+static StringIMPL_JAVA + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static HTTPAbstractImplgetImplementation(String impl, + HTTPSamplerBase base) + +
+           
+static String[]getImplementations() + +
+           
+static HTTPSamplerBasenewInstance() + +
+          Create a new instance of the default sampler
+static HTTPSamplerBasenewInstance(String alias) + +
+          Create a new instance of the required sampler type
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+HTTP_SAMPLER_JAVA

+
+public static final String HTTP_SAMPLER_JAVA
+
+
Use the the default Java HTTP implementation +

+

+
See Also:
Constant Field Values
+
+
+ +

+HTTP_SAMPLER_APACHE

+
+public static final String HTTP_SAMPLER_APACHE
+
+
Use Apache HTTPClient HTTP implementation +

+

+
See Also:
Constant Field Values
+
+
+ +

+IMPL_HTTP_CLIENT4

+
+public static final String IMPL_HTTP_CLIENT4
+
+
+
See Also:
Constant Field Values
+
+
+ +

+IMPL_HTTP_CLIENT3_1

+
+public static final String IMPL_HTTP_CLIENT3_1
+
+
+
See Also:
Constant Field Values
+
+
+ +

+IMPL_JAVA

+
+public static final String IMPL_JAVA
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DEFAULT_CLASSNAME

+
+public static final String DEFAULT_CLASSNAME
+
+
+
+
+ + + + + + + + +
+Method Detail
+ +

+newInstance

+
+public static HTTPSamplerBase newInstance()
+
+
Create a new instance of the default sampler +

+

+ +
Returns:
instance of default sampler
+
+
+
+ +

+newInstance

+
+public static HTTPSamplerBase newInstance(String alias)
+
+
Create a new instance of the required sampler type +

+

+
Parameters:
alias - HTTP_SAMPLER or HTTP_SAMPLER_APACHE or IMPL_HTTP_CLIENT3_1 or IMPL_HTTP_CLIENT4 +
Returns:
the appropriate sampler +
Throws: +
UnsupportedOperationException - if alias is not recognised
+
+
+
+ +

+getImplementations

+
+public static String[] getImplementations()
+
+
+
+
+
+
+ +

+getImplementation

+
+public static HTTPAbstractImpl getImplementation(String impl,
+                                                 HTTPSamplerBase base)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/sampler/HTTPSamplerProxy.html b/docs/api/org/apache/jmeter/protocol/http/sampler/HTTPSamplerProxy.html new file mode 100644 index 00000000000..ad72e34f9af --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/sampler/HTTPSamplerProxy.html @@ -0,0 +1,465 @@ + + + + + +HTTPSamplerProxy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.sampler +
+Class HTTPSamplerProxy

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.samplers.AbstractSampler
+          extended by org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase
+              extended by org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, ConfigMergabilityIndicator, Searchable, HTTPConstantsInterface, Interruptible, Sampler, TestElement, TestIterationListener, TestStateListener, ThreadListener
+
+
+
+
public final class HTTPSamplerProxy
extends HTTPSamplerBase
implements Interruptible
+ + +

+Proxy class that dispatches to the appropriate HTTP sampler. +

+ This class is stored in the test plan, and holds all the configuration settings. + The actual implementation is created at run-time, and is passed a reference to this class + so it can get access to all the settings stored by HTTPSamplerProxy. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase
HTTPSamplerBase.SourceType
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase
ARGUMENTS, AUTH_MANAGER, AUTO_REDIRECTS, BROWSER_COMPATIBLE_MULTIPART, BROWSER_COMPATIBLE_MULTIPART_MODE_DEFAULT, CACHE_MANAGER, CONCURRENT_DWN, CONCURRENT_POOL, CONCURRENT_POOL_SIZE, CONNECT_TIMEOUT, CONTENT_ENCODING, CONTENT_TYPE, COOKIE_MANAGER, DEFAULT_METHOD, DNS_CACHE_MANAGER, DO_MULTIPART_POST, DOMAIN, EMBEDDED_URL_RE, FOLLOW_REDIRECTS, HEADER_MANAGER, IMAGE_PARSER, IMPLEMENTATION, IP_SOURCE, IP_SOURCE_TYPE, MAX_FRAME_DEPTH, MAX_REDIRECTS, METHOD, MONITOR, NON_HTTP_RESPONSE_CODE, NON_HTTP_RESPONSE_MESSAGE, PATH, PORT, POST_BODY_RAW, POST_BODY_RAW_DEFAULT, PROTOCOL, PROXYHOST, PROXYPASS, PROXYPORT, PROXYUSER, RESPONSE_TIMEOUT, UNSPECIFIED_PORT, UNSPECIFIED_PORT_AS_STRING, URL, URL_UNSPECIFIED_PORT, URL_UNSPECIFIED_PORT_AS_STRING, USE_KEEPALIVE
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.protocol.http.util.HTTPConstantsInterface
APPLICATION_X_WWW_FORM_URLENCODED, CACHE_CONTROL, CONNECT, CONNECTION_CLOSE, COPY, DATE, DEFAULT_HTTP_PORT, DEFAULT_HTTP_PORT_STRING, DEFAULT_HTTPS_PORT, DEFAULT_HTTPS_PORT_STRING, DELETE, ENCODING_GZIP, ETAG, EXPIRES, GET, HEAD, HEADER_AUTHORIZATION, HEADER_CONNECTION, HEADER_CONTENT_DISPOSITION, HEADER_CONTENT_ENCODING, HEADER_CONTENT_LENGTH, HEADER_CONTENT_TYPE, HEADER_COOKIE, HEADER_HOST, HEADER_LOCAL_ADDRESS, HEADER_LOCATION, HEADER_SET_COOKIE, HTTP_1_1, IF_MODIFIED_SINCE, IF_NONE_MATCH, KEEP_ALIVE, LAST_MODIFIED, LOCK, MKCALENDAR, MKCOL, MOVE, MULTIPART_FORM_DATA, OPTIONS, PATCH, POST, PROPFIND, PROPPATCH, PROTOCOL_HTTP, PROTOCOL_HTTPS, PUT, REPORT, TRACE, TRANSFER_ENCODING, UNLOCK
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + + + + +
+Constructor Summary
HTTPSamplerProxy() + +
+           
HTTPSamplerProxy(String impl) + +
+          Convenience method used to initialise the implementation.
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleaninterrupt() + +
+          Interrupt the current operation if possible.
+protected  HTTPSampleResultsample(URL u, + String method, + boolean areFollowingRedirect, + int depth) + +
+          Samples the URL passed in and stores the result in + HTTPSampleResult, following redirects and downloading + page resources as appropriate.
+ voidtestIterationStart(LoopIterationEvent event) + +
+          Each time through a Thread Group's test script, an iteration event is + fired for each thread.
+ voidthreadFinished() + +
+          Called for each thread after all samples have been processed.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase
addArgument, addArgument, addEncodedArgument, addEncodedArgument, addEncodedArgument, addNonEncodedArgument, addTestElement, applies, clearTestElementChildren, clone, downloadPageResources, encodeBackSlashes, encodeSpaces, errorResult, followRedirects, getArguments, getAuthManager, getAutoRedirects, getCacheManager, getConcurrentPool, getConnectTimeout, getContentEncoding, getCookieManager, getDefaultPort, getDNSResolver, getDoBrowserCompatibleMultipart, getDomain, getDoMultipartPost, getEmbeddedUrlRE, getFollowRedirects, getHeaderManager, getHTTPFileCount, getHTTPFiles, getImplementation, getIpSource, getIpSourceType, getMethod, getMonitor, getPath, getPort, getPortIfSpecified, getPostBodyRaw, getProtocol, getProxyHost, getProxyPass, getProxyPortInt, getProxyUser, getQueryString, getQueryString, getResponseTimeout, getSendFileAsPostBody, getSendParameterValuesAsPostBody, getSourceTypeList, getUrl, getUseKeepAlive, getUseMultipartForPost, getValidMethodsAsArray, hasArguments, isConcurrentDwn, isImageParser, isMonitor, isProtocolDefaultPort, isSecure, isSecure, isSuccessCode, parseArguments, parseArguments, readResponse, resultProcessing, sample, sample, setArguments, setAuthManager, setAutoRedirects, setCacheManager, setConcurrentDwn, setConcurrentPool, setConnectTimeout, setContentEncoding, setCookieManager, setDNSResolver, setDoBrowserCompatibleMultipart, setDomain, setDoMultipartPost, setEmbeddedUrlRE, setFollowRedirects, setHeaderManager, setHTTPFiles, setImageParser, setImplementation, setIpSource, setIpSourceType, setMD5, setMethod, setMonitor, setMonitor, setPath, setPath, setPort, setPostBodyRaw, setProtocol, setResponseTimeout, setUseKeepAlive, testEnded, testEnded, testStarted, testStarted, threadStarted, toString, useMD5
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, canRemove, clear, clearTemporary, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.testelement.TestElement
canRemove, clear, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+HTTPSamplerProxy

+
+public HTTPSamplerProxy()
+
+
+
+ +

+HTTPSamplerProxy

+
+public HTTPSamplerProxy(String impl)
+
+
Convenience method used to initialise the implementation. +

+

+
Parameters:
impl - the implementation to use.
+
+ + + + + + + + +
+Method Detail
+ +

+sample

+
+protected HTTPSampleResult sample(URL u,
+                                  String method,
+                                  boolean areFollowingRedirect,
+                                  int depth)
+
+
Samples the URL passed in and stores the result in + HTTPSampleResult, following redirects and downloading + page resources as appropriate. +

+ When getting a redirect target, redirects are not followed and resources + are not downloaded. The caller will take care of this. +

+

+
Specified by:
sample in class HTTPSamplerBase
+
+
+
Parameters:
u - URL to sample
method - HTTP method: GET, POST,...
areFollowingRedirect - whether we're getting a redirect target
depth - Depth of this target in the frame structure. Used only to + prevent infinite recursion. +
Returns:
results of the sampling, can be null if u is in CacheManager
+
+
+
+ +

+threadFinished

+
+public void threadFinished()
+
+
Description copied from interface: ThreadListener
+
Called for each thread after all samples have been processed. +

+

+
Specified by:
threadFinished in interface ThreadListener
Overrides:
threadFinished in class HTTPSamplerBase
+
+
+
See Also:
JMeterThread.threadFinished(org.apache.jmeter.engine.event.LoopIterationListener)
+
+
+
+ +

+interrupt

+
+public boolean interrupt()
+
+
Description copied from interface: Interruptible
+
Interrupt the current operation if possible. +

+

+
Specified by:
interrupt in interface Interruptible
+
+
+ +
Returns:
true if there was an operation to interrupt.
+
+
+
+ +

+testIterationStart

+
+public void testIterationStart(LoopIterationEvent event)
+
+
Description copied from interface: TestIterationListener
+
Each time through a Thread Group's test script, an iteration event is + fired for each thread. + + This will be after the test elements have been cloned, so in general + the instance will not be the same as the ones the start/end methods call. +

+

+
Specified by:
testIterationStart in interface TestIterationListener
Overrides:
testIterationStart in class HTTPSamplerBase
+
+
+
Parameters:
event - the iteration event
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/sampler/HttpClientDefaultParameters.html b/docs/api/org/apache/jmeter/protocol/http/sampler/HttpClientDefaultParameters.html new file mode 100644 index 00000000000..11e75a7c86d --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/sampler/HttpClientDefaultParameters.html @@ -0,0 +1,242 @@ + + + + + +HttpClientDefaultParameters (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.sampler +
+Class HttpClientDefaultParameters

+
+java.lang.Object
+  extended by org.apache.jmeter.protocol.http.sampler.HttpClientDefaultParameters
+
+
+
+
public class HttpClientDefaultParameters
extends Object
+ + +

+


+ +

+ + + + + + + + + + + + + + + + +
+Method Summary
+static voidload(String file, + org.apache.commons.httpclient.params.HttpParams params) + +
+          Loads a property file and converts parameters as necessary.
+static voidload(String file, + org.apache.http.params.HttpParams params) + +
+          Loads a property file and converts parameters as necessary.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+load

+
+public static void load(String file,
+                        org.apache.commons.httpclient.params.HttpParams params)
+
+
Loads a property file and converts parameters as necessary. +

+

+
Parameters:
file - the file to load
params - Commons HttpClient parameter instance
+
+
+
+ +

+load

+
+public static void load(String file,
+                        org.apache.http.params.HttpParams params)
+
+
Loads a property file and converts parameters as necessary. +

+

+
Parameters:
file - the file to load
params - Apache HttpClient parameter instance
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/sampler/HttpWebdav.html b/docs/api/org/apache/jmeter/protocol/http/sampler/HttpWebdav.html new file mode 100644 index 00000000000..d32a3d76f8c --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/sampler/HttpWebdav.html @@ -0,0 +1,352 @@ + + + + + +HttpWebdav (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.sampler +
+Class HttpWebdav

+
+java.lang.Object
+  extended by org.apache.http.message.AbstractHttpMessage
+      extended by org.apache.http.client.methods.HttpRequestBase
+          extended by org.apache.http.client.methods.HttpEntityEnclosingRequestBase
+              extended by org.apache.jmeter.protocol.http.sampler.HttpWebdav
+
+
+
All Implemented Interfaces:
Cloneable, org.apache.http.client.methods.AbortableHttpRequest, org.apache.http.client.methods.HttpUriRequest, org.apache.http.HttpEntityEnclosingRequest, org.apache.http.HttpMessage, org.apache.http.HttpRequest
+
+
+
+
public final class HttpWebdav
extends org.apache.http.client.methods.HttpEntityEnclosingRequestBase
+ + +

+WebDav request +

+ +

+

+
Since:
+
2.12
+
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.http.message.AbstractHttpMessage
headergroup, params
+  + + + + + + + + + + +
+Constructor Summary
HttpWebdav(String davMethod, + URI uri) + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetMethod() + +
+           
+static booleanisWebdavMethod(String method) + +
+           
+ + + + + + + +
Methods inherited from class org.apache.http.client.methods.HttpEntityEnclosingRequestBase
clone, expectContinue, getEntity, setEntity
+ + + + + + + +
Methods inherited from class org.apache.http.client.methods.HttpRequestBase
abort, getProtocolVersion, getRequestLine, getURI, isAborted, releaseConnection, reset, setConnectionRequest, setReleaseTrigger, setURI, toString
+ + + + + + + +
Methods inherited from class org.apache.http.message.AbstractHttpMessage
addHeader, addHeader, containsHeader, getAllHeaders, getFirstHeader, getHeaders, getLastHeader, getParams, headerIterator, headerIterator, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setParams
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.http.HttpRequest
getRequestLine
+ + + + + + + +
Methods inherited from interface org.apache.http.HttpMessage
addHeader, addHeader, containsHeader, getAllHeaders, getFirstHeader, getHeaders, getLastHeader, getParams, getProtocolVersion, headerIterator, headerIterator, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setParams
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+HttpWebdav

+
+public HttpWebdav(String davMethod,
+                  URI uri)
+
+
+
Parameters:
davMethod - method to use (has to be a Webdav method as identified by isWebdavMethod(String))
uri - URI to use
+
+ + + + + + + + +
+Method Detail
+ +

+getMethod

+
+public String getMethod()
+
+
+
Specified by:
getMethod in interface org.apache.http.client.methods.HttpUriRequest
Specified by:
getMethod in class org.apache.http.client.methods.HttpRequestBase
+
+
+
+
+
+
+ +

+isWebdavMethod

+
+public static boolean isWebdavMethod(String method)
+
+
+
Parameters:
method - Http Method +
Returns:
true if method is a Webdav one
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/sampler/MeasuringConnectionManager.html b/docs/api/org/apache/jmeter/protocol/http/sampler/MeasuringConnectionManager.html new file mode 100644 index 00000000000..a6b6d2a1fa0 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/sampler/MeasuringConnectionManager.html @@ -0,0 +1,293 @@ + + + + + +MeasuringConnectionManager (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.sampler +
+Class MeasuringConnectionManager

+
+java.lang.Object
+  extended by org.apache.http.impl.conn.PoolingClientConnectionManager
+      extended by org.apache.jmeter.protocol.http.sampler.MeasuringConnectionManager
+
+
+
All Implemented Interfaces:
org.apache.http.conn.ClientConnectionManager, org.apache.http.pool.ConnPoolControl<org.apache.http.conn.routing.HttpRoute>
+
+
+
+
public class MeasuringConnectionManager
extends org.apache.http.impl.conn.PoolingClientConnectionManager
+ + +

+Adapter for PoolingClientConnectionManager + that wraps all connection requests into time-measured implementation a private + MeasuringConnectionRequest +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
MeasuringConnectionManager(org.apache.http.conn.scheme.SchemeRegistry schemeRegistry, + org.apache.http.conn.DnsResolver resolver) + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ org.apache.http.conn.ClientConnectionRequestrequestConnection(org.apache.http.conn.routing.HttpRoute route, + Object state) + +
+           
+ voidsetSample(SampleResult sample) + +
+           
+ + + + + + + +
Methods inherited from class org.apache.http.impl.conn.PoolingClientConnectionManager
closeExpiredConnections, closeIdleConnections, createConnectionOperator, finalize, getDefaultMaxPerRoute, getMaxPerRoute, getMaxTotal, getSchemeRegistry, getStats, getTotalStats, releaseConnection, setDefaultMaxPerRoute, setMaxPerRoute, setMaxTotal, shutdown
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+MeasuringConnectionManager

+
+public MeasuringConnectionManager(org.apache.http.conn.scheme.SchemeRegistry schemeRegistry,
+                                  org.apache.http.conn.DnsResolver resolver)
+
+
+ + + + + + + + +
+Method Detail
+ +

+requestConnection

+
+public org.apache.http.conn.ClientConnectionRequest requestConnection(org.apache.http.conn.routing.HttpRoute route,
+                                                                      Object state)
+
+
+
Specified by:
requestConnection in interface org.apache.http.conn.ClientConnectionManager
Overrides:
requestConnection in class org.apache.http.impl.conn.PoolingClientConnectionManager
+
+
+
+
+
+
+ +

+setSample

+
+public void setSample(SampleResult sample)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/sampler/PostWriter.html b/docs/api/org/apache/jmeter/protocol/http/sampler/PostWriter.html new file mode 100644 index 00000000000..3bfef2cb439 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/sampler/PostWriter.html @@ -0,0 +1,428 @@ + + + + + +PostWriter (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.sampler +
+Class PostWriter

+
+java.lang.Object
+  extended by org.apache.jmeter.protocol.http.sampler.PostWriter
+
+
+
Direct Known Subclasses:
PutWriter
+
+
+
+
public class PostWriter
extends Object
+ + +

+Class for setting the necessary headers for a POST request, and sending the + body of the POST. +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+protected static StringBOUNDARY + +
+          The boundary string between multiparts
+static StringENCODING + +
+           
+protected  byte[]formDataPostBody + +
+          The form data that is going to be sent in post body
+protected  byte[]formDataUrlEncoded + +
+          The form data that is going to be sent as url encoded
+  + + + + + + + + + + + + + +
+Constructor Summary
PostWriter() + +
+          Constructor for PostWriter.
PostWriter(String boundary) + +
+          Constructor for PostWriter
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+protected  StringgetBoundary() + +
+          Get the boundary string, used to separate multiparts
+ StringsendPostData(URLConnection connection, + HTTPSamplerBase sampler) + +
+          Send POST data from Entry to the open connection.
+ voidsetHeaders(URLConnection connection, + HTTPSamplerBase sampler) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+BOUNDARY

+
+protected static final String BOUNDARY
+
+
The boundary string between multiparts +

+

+
See Also:
Constant Field Values
+
+
+ +

+ENCODING

+
+public static final String ENCODING
+
+
+
See Also:
Constant Field Values
+
+
+ +

+formDataUrlEncoded

+
+protected byte[] formDataUrlEncoded
+
+
The form data that is going to be sent as url encoded +

+

+
+
+
+ +

+formDataPostBody

+
+protected byte[] formDataPostBody
+
+
The form data that is going to be sent in post body +

+

+
+
+ + + + + + + + +
+Constructor Detail
+ +

+PostWriter

+
+public PostWriter()
+
+
Constructor for PostWriter. + Uses the PostWriter.BOUNDARY as the boundary string +

+

+
+ +

+PostWriter

+
+public PostWriter(String boundary)
+
+
Constructor for PostWriter +

+

+
Parameters:
boundary - the boundary string to use as marker between multipart parts
+
+ + + + + + + + +
+Method Detail
+ +

+sendPostData

+
+public String sendPostData(URLConnection connection,
+                           HTTPSamplerBase sampler)
+                    throws IOException
+
+
Send POST data from Entry to the open connection. +

+

+
Parameters:
connection - the open connection to use for sending data
sampler - sampler to get information about what to send +
Returns:
the post body sent. Actual file content is not returned, it is + just shown as a placeholder text "actual file content" +
Throws: +
IOException - when writing data fails
+
+
+
+ +

+setHeaders

+
+public void setHeaders(URLConnection connection,
+                       HTTPSamplerBase sampler)
+                throws IOException
+
+
+ +
Throws: +
IOException
+
+
+
+ +

+getBoundary

+
+protected String getBoundary()
+
+
Get the boundary string, used to separate multiparts +

+

+ +
Returns:
the boundary string
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/sampler/PutWriter.html b/docs/api/org/apache/jmeter/protocol/http/sampler/PutWriter.html new file mode 100644 index 00000000000..8899c6cfb69 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/sampler/PutWriter.html @@ -0,0 +1,291 @@ + + + + + +PutWriter (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.sampler +
+Class PutWriter

+
+java.lang.Object
+  extended by org.apache.jmeter.protocol.http.sampler.PostWriter
+      extended by org.apache.jmeter.protocol.http.sampler.PutWriter
+
+
+
+
public class PutWriter
extends PostWriter
+ + +

+Class for setting the necessary headers for a PUT request, and sending the + body of the PUT. +

+ +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.protocol.http.sampler.PostWriter
BOUNDARY, ENCODING, formDataPostBody, formDataUrlEncoded
+  + + + + + + + + + + +
+Constructor Summary
PutWriter() + +
+          Constructor for PutWriter.
+  + + + + + + + + + + + +
+Method Summary
+ voidsetHeaders(URLConnection connection, + HTTPSamplerBase sampler) + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.protocol.http.sampler.PostWriter
getBoundary, sendPostData
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+PutWriter

+
+public PutWriter()
+
+
Constructor for PutWriter. +

+

+ + + + + + + + +
+Method Detail
+ +

+setHeaders

+
+public void setHeaders(URLConnection connection,
+                       HTTPSamplerBase sampler)
+                throws IOException
+
+
+
Overrides:
setHeaders in class PostWriter
+
+
+ +
Throws: +
IOException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/sampler/SoapSampler.html b/docs/api/org/apache/jmeter/protocol/http/sampler/SoapSampler.html new file mode 100644 index 00000000000..b21ec65d60d --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/sampler/SoapSampler.html @@ -0,0 +1,785 @@ + + + + + +SoapSampler (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.sampler +
+Class SoapSampler

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.samplers.AbstractSampler
+          extended by org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase
+              extended by org.apache.jmeter.protocol.http.sampler.HTTPSampler2
+                  extended by org.apache.jmeter.protocol.http.sampler.SoapSampler
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, ConfigMergabilityIndicator, Searchable, HTTPConstantsInterface, Interruptible, Sampler, TestElement, TestIterationListener, TestStateListener, ThreadListener
+
+
+
+
public class SoapSampler
extends HTTPSampler2
implements Interruptible
+ + +

+Commons HTTPClient based soap sampler +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase
HTTPSamplerBase.SourceType
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static StringSEND_SOAP_ACTION + +
+           
+static StringSOAP_ACTION + +
+           
+static StringURL_DATA + +
+           
+static StringXML_DATA + +
+           
+static StringXML_DATA_FILE + +
+           
+ + + + + + + +
Fields inherited from class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase
ARGUMENTS, AUTH_MANAGER, AUTO_REDIRECTS, BROWSER_COMPATIBLE_MULTIPART, BROWSER_COMPATIBLE_MULTIPART_MODE_DEFAULT, CACHE_MANAGER, CONCURRENT_DWN, CONCURRENT_POOL, CONCURRENT_POOL_SIZE, CONNECT_TIMEOUT, CONTENT_ENCODING, CONTENT_TYPE, COOKIE_MANAGER, DEFAULT_METHOD, DNS_CACHE_MANAGER, DO_MULTIPART_POST, DOMAIN, EMBEDDED_URL_RE, FOLLOW_REDIRECTS, HEADER_MANAGER, IMAGE_PARSER, IMPLEMENTATION, IP_SOURCE, IP_SOURCE_TYPE, MAX_FRAME_DEPTH, MAX_REDIRECTS, METHOD, MONITOR, NON_HTTP_RESPONSE_CODE, NON_HTTP_RESPONSE_MESSAGE, PATH, PORT, POST_BODY_RAW, POST_BODY_RAW_DEFAULT, PROTOCOL, PROXYHOST, PROXYPASS, PROXYPORT, PROXYUSER, RESPONSE_TIMEOUT, UNSPECIFIED_PORT, UNSPECIFIED_PORT_AS_STRING, URL, URL_UNSPECIFIED_PORT, URL_UNSPECIFIED_PORT_AS_STRING, USE_KEEPALIVE
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.protocol.http.util.HTTPConstantsInterface
APPLICATION_X_WWW_FORM_URLENCODED, CACHE_CONTROL, CONNECT, CONNECTION_CLOSE, COPY, DATE, DEFAULT_HTTP_PORT, DEFAULT_HTTP_PORT_STRING, DEFAULT_HTTPS_PORT, DEFAULT_HTTPS_PORT_STRING, DELETE, ENCODING_GZIP, ETAG, EXPIRES, GET, HEAD, HEADER_AUTHORIZATION, HEADER_CONNECTION, HEADER_CONTENT_DISPOSITION, HEADER_CONTENT_ENCODING, HEADER_CONTENT_LENGTH, HEADER_CONTENT_TYPE, HEADER_COOKIE, HEADER_HOST, HEADER_LOCAL_ADDRESS, HEADER_LOCATION, HEADER_SET_COOKIE, HTTP_1_1, IF_MODIFIED_SINCE, IF_NONE_MATCH, KEEP_ALIVE, LAST_MODIFIED, LOCK, MKCALENDAR, MKCOL, MOVE, MULTIPART_FORM_DATA, OPTIONS, PATCH, POST, PROPFIND, PROPPATCH, PROTOCOL_HTTP, PROTOCOL_HTTPS, PUT, REPORT, TRACE, TRANSFER_ENCODING, UNLOCK
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
SoapSampler() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleangetSendSOAPAction() + +
+           
+ StringgetSOAPAction() + +
+           
+ StringgetSOAPActionQuoted() + +
+           
+ URLgetUrl() + +
+          Get the URL, built from its component parts.
+ StringgetURLData() + +
+           
+ StringgetXmlData() + +
+           
+ StringgetXmlFile() + +
+          Get the file location of the xml file.
+protected  HTTPSampleResultsample(URL url, + String method, + boolean areFollowingRedirect, + int frameDepth) + +
+          Samples the URL passed in and stores the result in + HTTPSampleResult, following redirects and downloading + page resources as appropriate.
+protected  intsetPostHeaders(org.apache.commons.httpclient.methods.PostMethod post) + +
+           
+ voidsetSendSOAPAction(boolean action) + +
+           
+ voidsetSOAPAction(String action) + +
+           
+ voidsetURLData(String url) + +
+           
+ voidsetXmlData(String data) + +
+           
+ voidsetXmlFile(String filename) + +
+          it's kinda obvious, but we state it anyways.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.protocol.http.sampler.HTTPSampler2
getConnectionHeaders, getResponseHeaders, interrupt, saveConnectionCookies, setSavedClient, setupConnection, testIterationStart
+ + + + + + + +
Methods inherited from class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase
addArgument, addArgument, addEncodedArgument, addEncodedArgument, addEncodedArgument, addNonEncodedArgument, addTestElement, applies, clearTestElementChildren, clone, downloadPageResources, encodeBackSlashes, encodeSpaces, errorResult, followRedirects, getArguments, getAuthManager, getAutoRedirects, getCacheManager, getConcurrentPool, getConnectTimeout, getContentEncoding, getCookieManager, getDefaultPort, getDNSResolver, getDoBrowserCompatibleMultipart, getDomain, getDoMultipartPost, getEmbeddedUrlRE, getFollowRedirects, getHeaderManager, getHTTPFileCount, getHTTPFiles, getImplementation, getIpSource, getIpSourceType, getMethod, getMonitor, getPath, getPort, getPortIfSpecified, getPostBodyRaw, getProtocol, getProxyHost, getProxyPass, getProxyPortInt, getProxyUser, getQueryString, getQueryString, getResponseTimeout, getSendFileAsPostBody, getSendParameterValuesAsPostBody, getSourceTypeList, getUseKeepAlive, getUseMultipartForPost, getValidMethodsAsArray, hasArguments, isConcurrentDwn, isImageParser, isMonitor, isProtocolDefaultPort, isSecure, isSecure, isSuccessCode, parseArguments, parseArguments, readResponse, resultProcessing, sample, sample, setArguments, setAuthManager, setAutoRedirects, setCacheManager, setConcurrentDwn, setConcurrentPool, setConnectTimeout, setContentEncoding, setCookieManager, setDNSResolver, setDoBrowserCompatibleMultipart, setDomain, setDoMultipartPost, setEmbeddedUrlRE, setFollowRedirects, setHeaderManager, setHTTPFiles, setImageParser, setImplementation, setIpSource, setIpSourceType, setMD5, setMethod, setMonitor, setMonitor, setPath, setPath, setPort, setPostBodyRaw, setProtocol, setResponseTimeout, setUseKeepAlive, testEnded, testEnded, testStarted, testStarted, threadFinished, threadStarted, toString, useMD5
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, canRemove, clear, clearTemporary, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.samplers.Interruptible
interrupt
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.testelement.TestElement
canRemove, clear, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse
+  +

+ + + + + + + + +
+Field Detail
+ +

+XML_DATA

+
+public static final String XML_DATA
+
+
+
See Also:
Constant Field Values
+
+
+ +

+URL_DATA

+
+public static final String URL_DATA
+
+
+
See Also:
Constant Field Values
+
+
+ +

+SOAP_ACTION

+
+public static final String SOAP_ACTION
+
+
+
See Also:
Constant Field Values
+
+
+ +

+SEND_SOAP_ACTION

+
+public static final String SEND_SOAP_ACTION
+
+
+
See Also:
Constant Field Values
+
+
+ +

+XML_DATA_FILE

+
+public static final String XML_DATA_FILE
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+SoapSampler

+
+public SoapSampler()
+
+
+ + + + + + + + +
+Method Detail
+ +

+setXmlData

+
+public void setXmlData(String data)
+
+
+
+
+
+
+
+
+
+ +

+getXmlData

+
+public String getXmlData()
+
+
+
+
+
+
+
+
+
+ +

+setXmlFile

+
+public void setXmlFile(String filename)
+
+
it's kinda obvious, but we state it anyways. Set the xml file with a + string path. +

+

+
+
+
+
Parameters:
filename - path to the xml file
+
+
+
+ +

+getXmlFile

+
+public String getXmlFile()
+
+
Get the file location of the xml file. +

+

+
+
+
+ +
Returns:
String file path.
+
+
+
+ +

+getURLData

+
+public String getURLData()
+
+
+
+
+
+
+
+
+
+ +

+setURLData

+
+public void setURLData(String url)
+
+
+
+
+
+
+
+
+
+ +

+getSOAPAction

+
+public String getSOAPAction()
+
+
+
+
+
+
+
+
+
+ +

+getSOAPActionQuoted

+
+public String getSOAPActionQuoted()
+
+
+
+
+
+
+
+
+
+ +

+setSOAPAction

+
+public void setSOAPAction(String action)
+
+
+
+
+
+
+
+
+
+ +

+getSendSOAPAction

+
+public boolean getSendSOAPAction()
+
+
+
+
+
+
+
+
+
+ +

+setSendSOAPAction

+
+public void setSendSOAPAction(boolean action)
+
+
+
+
+
+
+
+
+
+ +

+setPostHeaders

+
+protected int setPostHeaders(org.apache.commons.httpclient.methods.PostMethod post)
+
+
+
+
+
+
+
+
+
+ +

+sample

+
+protected HTTPSampleResult sample(URL url,
+                                  String method,
+                                  boolean areFollowingRedirect,
+                                  int frameDepth)
+
+
Description copied from class: HTTPSamplerBase
+
Samples the URL passed in and stores the result in + HTTPSampleResult, following redirects and downloading + page resources as appropriate. +

+ When getting a redirect target, redirects are not followed and resources + are not downloaded. The caller will take care of this. +

+

+
Overrides:
sample in class HTTPSampler2
+
+
+
Parameters:
url - URL to sample
method - HTTP method: GET, POST,...
areFollowingRedirect - whether we're getting a redirect target
frameDepth - Depth of this target in the frame structure. Used only to + prevent infinite recursion. +
Returns:
results of the sampling, can be null if u is in CacheManager
+
+
+
+ +

+getUrl

+
+public URL getUrl()
+           throws MalformedURLException
+
+
Description copied from class: HTTPSamplerBase
+
Get the URL, built from its component parts. + +

+ As a special case, if the path starts with "http[s]://", + then the path is assumed to be the entire URL. +

+

+

+
Overrides:
getUrl in class HTTPSamplerBase
+
+
+ +
Returns:
The URL to be requested by this sampler. +
Throws: +
MalformedURLException - if url is malformed
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/sampler/WebServiceSampler.html b/docs/api/org/apache/jmeter/protocol/http/sampler/WebServiceSampler.html new file mode 100644 index 00000000000..ffa608e02b3 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/sampler/WebServiceSampler.html @@ -0,0 +1,1104 @@ + + + + + +WebServiceSampler (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.sampler +
+Class WebServiceSampler

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.samplers.AbstractSampler
+          extended by org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase
+              extended by org.apache.jmeter.protocol.http.sampler.WebServiceSampler
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, ConfigMergabilityIndicator, Searchable, HTTPConstantsInterface, Sampler, TestElement, TestIterationListener, TestStateListener, ThreadListener
+
+
+
+
public class WebServiceSampler
extends HTTPSamplerBase
+ + +

+Sampler to handle Web Service requests. It uses Apache SOAP drivers to + perform the XML generation, connection, SOAP encoding and other SOAP + functions. +

+ Created on: Jun 26, 2003 +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase
HTTPSamplerBase.SourceType
+  + + + + + + + + + + + +
+Field Summary
+static booleanMAINTAIN_SESSION_DEFAULT + +
+           
+ + + + + + + +
Fields inherited from class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase
ARGUMENTS, AUTH_MANAGER, AUTO_REDIRECTS, BROWSER_COMPATIBLE_MULTIPART, BROWSER_COMPATIBLE_MULTIPART_MODE_DEFAULT, CACHE_MANAGER, CONCURRENT_DWN, CONCURRENT_POOL, CONCURRENT_POOL_SIZE, CONNECT_TIMEOUT, CONTENT_ENCODING, CONTENT_TYPE, COOKIE_MANAGER, DEFAULT_METHOD, DNS_CACHE_MANAGER, DO_MULTIPART_POST, DOMAIN, EMBEDDED_URL_RE, FOLLOW_REDIRECTS, HEADER_MANAGER, IMAGE_PARSER, IMPLEMENTATION, IP_SOURCE, IP_SOURCE_TYPE, MAX_FRAME_DEPTH, MAX_REDIRECTS, METHOD, MONITOR, NON_HTTP_RESPONSE_CODE, NON_HTTP_RESPONSE_MESSAGE, PATH, PORT, POST_BODY_RAW, POST_BODY_RAW_DEFAULT, PROTOCOL, PROXYHOST, PROXYPASS, PROXYPORT, PROXYUSER, RESPONSE_TIMEOUT, UNSPECIFIED_PORT, UNSPECIFIED_PORT_AS_STRING, URL, URL_UNSPECIFIED_PORT, URL_UNSPECIFIED_PORT_AS_STRING, USE_KEEPALIVE
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.protocol.http.util.HTTPConstantsInterface
APPLICATION_X_WWW_FORM_URLENCODED, CACHE_CONTROL, CONNECT, CONNECTION_CLOSE, COPY, DATE, DEFAULT_HTTP_PORT, DEFAULT_HTTP_PORT_STRING, DEFAULT_HTTPS_PORT, DEFAULT_HTTPS_PORT_STRING, DELETE, ENCODING_GZIP, ETAG, EXPIRES, GET, HEAD, HEADER_AUTHORIZATION, HEADER_CONNECTION, HEADER_CONTENT_DISPOSITION, HEADER_CONTENT_ENCODING, HEADER_CONTENT_LENGTH, HEADER_CONTENT_TYPE, HEADER_COOKIE, HEADER_HOST, HEADER_LOCAL_ADDRESS, HEADER_LOCATION, HEADER_SET_COOKIE, HTTP_1_1, IF_MODIFIED_SINCE, IF_NONE_MATCH, KEEP_ALIVE, LAST_MODIFIED, LOCK, MKCALENDAR, MKCOL, MOVE, MULTIPART_FORM_DATA, OPTIONS, PATCH, POST, PROPFIND, PROPPATCH, PROTOCOL_HTTP, PROTOCOL_HTTPS, PUT, REPORT, TRACE, TRANSFER_ENCODING, UNLOCK
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
WebServiceSampler() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddEncodedArgument(String name, + String value, + String metaData) + +
+          We override this to prevent the wrong encoding and provide no + implementation.
+ StringconvertSoapHeaders(Map<String,String> ht) + +
+           
+ booleangetMaintainSession() + +
+          Get the maintain session option.
+ booleangetMemoryCache() + +
+          Get the memory cache.
+ StringgetProxyHost() + +
+          Return the proxy hostname
+ intgetProxyPort() + +
+          Return the proxy port
+protected  StringgetRandomFileName() + +
+          Method is used internally to check if a random file should be used for + the message.
+ booleangetReadResponse() + +
+          Return whether or not to read the response.
+ StringgetSoapAction() + +
+          Return the soap action string.
+ StringgetTimeout() + +
+           
+ intgetTimeoutAsInt() + +
+           
+ booleangetUseProxy() + +
+          Return whether or not to use proxy
+ StringgetWsdlURL() + +
+          method returns the WSDL URL
+ StringgetXmlData() + +
+          Get the XML data as a string.
+ StringgetXmlFile() + +
+          Get the file location of the xml file.
+ StringgetXmlPathLoc() + +
+          Get the path where XML messages are stored.
+ SampleResultsample() + +
+          Sample the URL using Apache SOAP driver.
+protected  HTTPSampleResultsample(URL u, + String s, + boolean b, + int i) + +
+          Samples the URL passed in and stores the result in + HTTPSampleResult, following redirects and downloading + page resources as appropriate.
+ voidsetMaintainSession(boolean maintainSession) + +
+          Set the maintain session option.
+ voidsetMemoryCache(boolean cache) + +
+          Set the memory cache.
+ voidsetProxyHost(String host) + +
+          Set the proxy hostname
+ voidsetProxyPort(String port) + +
+          Set the proxy port
+ voidsetReadResponse(boolean read) + +
+          Set whether the sampler should read the response or not.
+ voidsetSoapAction(String data) + +
+          Set the soap action which should be in the form of an URN.
+ voidsetTimeout(String text) + +
+           
+ voidsetUseProxy(boolean proxy) + +
+          Set whether or not to use a proxy
+ voidsetWsdlURL(String url) + +
+           
+ voidsetXmlData(String data) + +
+          Set the XML data.
+ voidsetXmlFile(String filename) + +
+          it's kinda obvious, but we state it anyways.
+ voidsetXmlPathLoc(String path) + +
+          Set the path where XML messages are stored for random selection.
+ voidtestEnded() + +
+           + Called once for all threads after the end of a test.
+ voidtestEnded(String host) + +
+           + Called once for all threads after the end of a test.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase
addArgument, addArgument, addEncodedArgument, addEncodedArgument, addNonEncodedArgument, addTestElement, applies, clearTestElementChildren, clone, downloadPageResources, encodeBackSlashes, encodeSpaces, errorResult, followRedirects, getArguments, getAuthManager, getAutoRedirects, getCacheManager, getConcurrentPool, getConnectTimeout, getContentEncoding, getCookieManager, getDefaultPort, getDNSResolver, getDoBrowserCompatibleMultipart, getDomain, getDoMultipartPost, getEmbeddedUrlRE, getFollowRedirects, getHeaderManager, getHTTPFileCount, getHTTPFiles, getImplementation, getIpSource, getIpSourceType, getMethod, getMonitor, getPath, getPort, getPortIfSpecified, getPostBodyRaw, getProtocol, getProxyPass, getProxyPortInt, getProxyUser, getQueryString, getQueryString, getResponseTimeout, getSendFileAsPostBody, getSendParameterValuesAsPostBody, getSourceTypeList, getUrl, getUseKeepAlive, getUseMultipartForPost, getValidMethodsAsArray, hasArguments, isConcurrentDwn, isImageParser, isMonitor, isProtocolDefaultPort, isSecure, isSecure, isSuccessCode, parseArguments, parseArguments, readResponse, resultProcessing, sample, setArguments, setAuthManager, setAutoRedirects, setCacheManager, setConcurrentDwn, setConcurrentPool, setConnectTimeout, setContentEncoding, setCookieManager, setDNSResolver, setDoBrowserCompatibleMultipart, setDomain, setDoMultipartPost, setEmbeddedUrlRE, setFollowRedirects, setHeaderManager, setHTTPFiles, setImageParser, setImplementation, setIpSource, setIpSourceType, setMD5, setMethod, setMonitor, setMonitor, setPath, setPath, setPort, setPostBodyRaw, setProtocol, setResponseTimeout, setUseKeepAlive, testIterationStart, testStarted, testStarted, threadFinished, threadStarted, toString, useMD5
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, canRemove, clear, clearTemporary, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.testelement.TestElement
canRemove, clear, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse
+  +

+ + + + + + + + +
+Field Detail
+ +

+MAINTAIN_SESSION_DEFAULT

+
+public static final boolean MAINTAIN_SESSION_DEFAULT
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+WebServiceSampler

+
+public WebServiceSampler()
+
+
+ + + + + + + + +
+Method Detail
+ +

+setXmlPathLoc

+
+public void setXmlPathLoc(String path)
+
+
Set the path where XML messages are stored for random selection. +

+

+
Parameters:
path - where XML messages are stored
+
+
+
+ +

+getXmlPathLoc

+
+public String getXmlPathLoc()
+
+
Get the path where XML messages are stored. This is the directory where + JMeter will randomly select a file. +

+

+ +
Returns:
path where XML messages are stored
+
+
+
+ +

+setXmlFile

+
+public void setXmlFile(String filename)
+
+
it's kinda obvious, but we state it anyways. Set the xml file with a + string path. +

+

+
Parameters:
filename - path to xml file
+
+
+
+ +

+getXmlFile

+
+public String getXmlFile()
+
+
Get the file location of the xml file. +

+

+ +
Returns:
String file path.
+
+
+
+ +

+getRandomFileName

+
+protected String getRandomFileName()
+
+
Method is used internally to check if a random file should be used for + the message. Messages must be valid. This is one way to load test with + different messages. The limitation of this approach is parsing XML takes + CPU resources, so it could affect JMeter GUI responsiveness. +

+

+ +
Returns:
String filename
+
+
+
+ +

+setXmlData

+
+public void setXmlData(String data)
+
+
Set the XML data. +

+

+
Parameters:
data - xml data
+
+
+
+ +

+getXmlData

+
+public String getXmlData()
+
+
Get the XML data as a string. +

+

+ +
Returns:
String data
+
+
+
+ +

+setSoapAction

+
+public void setSoapAction(String data)
+
+
Set the soap action which should be in the form of an URN. +

+

+
Parameters:
data - soap action
+
+
+
+ +

+getSoapAction

+
+public String getSoapAction()
+
+
Return the soap action string. +

+

+ +
Returns:
String soap action
+
+
+
+ +

+setMaintainSession

+
+public void setMaintainSession(boolean maintainSession)
+
+
Set the maintain session option. +

+

+
Parameters:
maintainSession - flag whether to maintain a session
+
+
+
+ +

+getMaintainSession

+
+public boolean getMaintainSession()
+
+
Get the maintain session option. +

+

+ +
Returns:
flag whether to maintain a session
+
+
+
+ +

+setMemoryCache

+
+public void setMemoryCache(boolean cache)
+
+
Set the memory cache. +

+

+
Parameters:
cache - flag whether to use the memory cache
+
+
+
+ +

+getMemoryCache

+
+public boolean getMemoryCache()
+
+
Get the memory cache. +

+

+ +
Returns:
flag whether to use the memory cache
+
+
+
+ +

+setReadResponse

+
+public void setReadResponse(boolean read)
+
+
Set whether the sampler should read the response or not. +

+

+
Parameters:
read - flag whether the response should be read
+
+
+
+ +

+getReadResponse

+
+public boolean getReadResponse()
+
+
Return whether or not to read the response. +

+

+ +
Returns:
flag whether the response should be read
+
+
+
+ +

+setUseProxy

+
+public void setUseProxy(boolean proxy)
+
+
Set whether or not to use a proxy +

+

+
Parameters:
proxy - flag whether to use a proxy
+
+
+
+ +

+getUseProxy

+
+public boolean getUseProxy()
+
+
Return whether or not to use proxy +

+

+ +
Returns:
true if a proxy should be used
+
+
+
+ +

+setProxyHost

+
+public void setProxyHost(String host)
+
+
Set the proxy hostname +

+

+
Parameters:
host - the hostname of the proxy
+
+
+
+ +

+getProxyHost

+
+public String getProxyHost()
+
+
Return the proxy hostname +

+

+
Overrides:
getProxyHost in class HTTPSamplerBase
+
+
+ +
Returns:
the proxy hostname
+
+
+
+ +

+setProxyPort

+
+public void setProxyPort(String port)
+
+
Set the proxy port +

+

+
Parameters:
port - the port of the proxy
+
+
+
+ +

+getProxyPort

+
+public int getProxyPort()
+
+
Return the proxy port +

+

+ +
Returns:
the proxy port
+
+
+
+ +

+setWsdlURL

+
+public void setWsdlURL(String url)
+
+
+
Parameters:
url - the URL of the WSDL
+
+
+
+ +

+getWsdlURL

+
+public String getWsdlURL()
+
+
method returns the WSDL URL +

+

+ +
Returns:
the WSDL URL
+
+
+
+ +

+sample

+
+protected HTTPSampleResult sample(URL u,
+                                  String s,
+                                  boolean b,
+                                  int i)
+
+
Description copied from class: HTTPSamplerBase
+
Samples the URL passed in and stores the result in + HTTPSampleResult, following redirects and downloading + page resources as appropriate. +

+ When getting a redirect target, redirects are not followed and resources + are not downloaded. The caller will take care of this. +

+

+
Specified by:
sample in class HTTPSamplerBase
+
+
+
Parameters:
u - URL to sample
s - HTTP method: GET, POST,...
b - whether we're getting a redirect target
i - Depth of this target in the frame structure. Used only to + prevent infinite recursion. +
Returns:
results of the sampling, can be null if u is in CacheManager
+
+
+
+ +

+sample

+
+public SampleResult sample()
+
+
Sample the URL using Apache SOAP driver. Implementation note for myself + and those that are curious. Current logic marks the end after the + response has been read. If read response is set to false, the buffered + reader will read, but do nothing with it. Essentially, the stream from + the server goes into the ether. +

+

+
Overrides:
sample in class HTTPSamplerBase
+
+
+ +
Returns:
results of the sampling
+
+
+
+ +

+addEncodedArgument

+
+public void addEncodedArgument(String name,
+                               String value,
+                               String metaData)
+
+
We override this to prevent the wrong encoding and provide no + implementation. We want to reuse the other parts of HTTPSampler, but not + the connection. The connection is handled by the Apache SOAP driver. +

+

+
Overrides:
addEncodedArgument in class HTTPSamplerBase
+
+
+
+
+
+
+ +

+convertSoapHeaders

+
+public String convertSoapHeaders(Map<String,String> ht)
+
+
+
+
+
+
+ +

+getTimeout

+
+public String getTimeout()
+
+
+
+
+
+
+ +

+getTimeoutAsInt

+
+public int getTimeoutAsInt()
+
+
+
+
+
+
+ +

+setTimeout

+
+public void setTimeout(String text)
+
+
+
+
+
+
+ +

+testEnded

+
+public void testEnded()
+
+
Description copied from class: HTTPSamplerBase
+

+ Called once for all threads after the end of a test. + + This will use the same element instances as at the start of the test. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testEnded in interface TestStateListener
Overrides:
testEnded in class HTTPSamplerBase
+
+
+
See Also:
StandardJMeterEngine.stopTest()
+
+
+
+ +

+testEnded

+
+public void testEnded(String host)
+
+
Description copied from class: HTTPSamplerBase
+

+ Called once for all threads after the end of a test. + + This will use the same element instances as at the start of the test. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testEnded in interface TestStateListener
Overrides:
testEnded in class HTTPSamplerBase
+
+
+
Parameters:
host - name of host
See Also:
StandardJMeterEngine.stopTest()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/sampler/package-frame.html b/docs/api/org/apache/jmeter/protocol/http/sampler/package-frame.html new file mode 100644 index 00000000000..3fbaf5f9f04 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/sampler/package-frame.html @@ -0,0 +1,89 @@ + + + + + +org.apache.jmeter.protocol.http.sampler (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.protocol.http.sampler + + + + +
+Classes  + +
+AccessLogSampler +
+AccessLogSamplerBeanInfo +
+AjpSampler +
+HTTPAbstractImpl +
+HttpClientDefaultParameters +
+HTTPFileImpl +
+HTTPHC3Impl +
+HTTPHC4Impl +
+HTTPHC4Impl.HttpDelete +
+HTTPHCAbstractImpl +
+HTTPJavaImpl +
+HTTPSampler +
+HTTPSampler2 +
+HTTPSamplerBase +
+HTTPSamplerBaseBeanInfo +
+HTTPSamplerBaseConverter +
+HTTPSampleResult +
+HTTPSamplerFactory +
+HTTPSamplerProxy +
+HttpWebdav +
+MeasuringConnectionManager +
+PostWriter +
+PutWriter +
+SoapSampler +
+WebServiceSampler
+ + + + + + +
+Enums  + +
+HTTPSamplerBase.SourceType
+ + + + diff --git a/docs/api/org/apache/jmeter/protocol/http/sampler/package-summary.html b/docs/api/org/apache/jmeter/protocol/http/sampler/package-summary.html new file mode 100644 index 00000000000..624e55b8978 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/sampler/package-summary.html @@ -0,0 +1,286 @@ + + + + + +org.apache.jmeter.protocol.http.sampler (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.protocol.http.sampler +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
AccessLogSamplerDescription:
+
+ AccessLogSampler is responsible for a couple of things: + + creating instances of Generator + creating instances of Parser + triggering popup windows + calling Generator.generateRequest() + checking to make sure the classes are valid + making sure a class can be instantiated + + The intent of this sampler is it uses the generator and parser to create a + HTTPSampler when it is needed.
AccessLogSamplerBeanInfo 
AjpSamplerSelector for the AJP/1.3 protocol + (i.e. what Tomcat uses with mod_jk) + It allows you to test Tomcat in AJP mode without + actually having Apache installed and configured
HTTPAbstractImplBase class for HTTP implementations used by the HTTPSamplerProxy sampler.
HttpClientDefaultParameters 
HTTPFileImplHTTP Sampler which can read from file: URLs
HTTPHC3ImplHTTP sampler using Apache (Jakarta) Commons HttpClient 3.1.
HTTPHC4ImplHTTP Sampler using Apache HttpClient 4.x.
HTTPHC4Impl.HttpDelete 
HTTPHCAbstractImplCommon parent class for HttpClient implementations.
HTTPJavaImplA sampler which understands all the parts necessary to read statistics about + HTTP requests, including cookies and authentication.
HTTPSamplerA sampler which understands all the parts necessary to read statistics about + HTTP requests, including cookies and authentication.
HTTPSampler2A sampler which understands all the parts necessary to read statistics about + HTTP requests, including cookies and authentication.
HTTPSamplerBaseCommon constants and methods for HTTP samplers
HTTPSamplerBaseBeanInfoThis is the BeanInfo class for the TestBean HTTPSamplerBase.
HTTPSamplerBaseConverterClass for XStream conversion of HTTPResult
HTTPSampleResultThis is a specialisation of the SampleResult class for the HTTP protocol.
HTTPSamplerFactoryFactory to return the appropriate HTTPSampler for use with classes that need + an HTTPSampler; also creates the implementations for use with HTTPSamplerProxy.
HTTPSamplerProxyProxy class that dispatches to the appropriate HTTP sampler.
HttpWebdavWebDav request
MeasuringConnectionManagerAdapter for PoolingClientConnectionManager + that wraps all connection requests into time-measured implementation a private + MeasuringConnectionRequest
PostWriterClass for setting the necessary headers for a POST request, and sending the + body of the POST.
PutWriterClass for setting the necessary headers for a PUT request, and sending the + body of the PUT.
SoapSamplerCommons HTTPClient based soap sampler
WebServiceSamplerSampler to handle Web Service requests.
+  + +

+ + + + + + + + + +
+Enum Summary
HTTPSamplerBase.SourceType 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/sampler/package-tree.html b/docs/api/org/apache/jmeter/protocol/http/sampler/package-tree.html new file mode 100644 index 00000000000..8cb0569b7e7 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/sampler/package-tree.html @@ -0,0 +1,213 @@ + + + + + +org.apache.jmeter.protocol.http.sampler Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.protocol.http.sampler +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +

+Enum Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/util/Base64Encoder.html b/docs/api/org/apache/jmeter/protocol/http/util/Base64Encoder.html new file mode 100644 index 00000000000..09d16171c99 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/util/Base64Encoder.html @@ -0,0 +1,266 @@ + + + + + +Base64Encoder (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.util +
+Class Base64Encoder

+
+java.lang.Object
+  extended by org.apache.jmeter.protocol.http.util.Base64Encoder
+
+
+
+
public final class Base64Encoder
extends Object
+ + +

+This class provides an implementation of Base64 encoding without relying on + the the sun.* packages. +

+ +

+

+
Version:
+
$Revision: 1380893 $
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static Stringencode(byte[] bs) + +
+           
+static Stringencode(String s) + +
+           
+static StringencodeAtom(byte[] b, + int strt, + int left) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+encode

+
+public static String encode(String s)
+
+
+
+
+
+
+ +

+encode

+
+public static String encode(byte[] bs)
+
+
+
+
+
+
+ +

+encodeAtom

+
+public static String encodeAtom(byte[] b,
+                                int strt,
+                                int left)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/util/ConversionUtils.html b/docs/api/org/apache/jmeter/protocol/http/util/ConversionUtils.html new file mode 100644 index 00000000000..7a12e910607 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/util/ConversionUtils.html @@ -0,0 +1,366 @@ + + + + + +ConversionUtils (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.util +
+Class ConversionUtils

+
+java.lang.Object
+  extended by org.apache.jmeter.protocol.http.util.ConversionUtils
+
+
+
+
public class ConversionUtils
extends Object
+ + +

+General purpose conversion utilities related to HTTP/HTML +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
ConversionUtils() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static StringescapeIllegalURLCharacters(String url) + +
+           
+static StringgetEncodingFromContentType(String contentType) + +
+          Extract the encoding (charset) from the Content-Type, e.g.
+static URLmakeRelativeURL(URL baseURL, + String location) + +
+          Generate an absolute URL from a possibly relative location, + allowing for extraneous leading "../" segments.
+static StringremoveSlashDotDot(String url) + +
+          collapses absolute or relative URLs containing '/..' converting + http://host/path1/..
+static URIsanitizeUrl(URL url) + +
+          Checks a URL and encodes it if necessary, + i.e. if it is not currently correctly encoded.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ConversionUtils

+
+public ConversionUtils()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getEncodingFromContentType

+
+public static String getEncodingFromContentType(String contentType)
+
+
Extract the encoding (charset) from the Content-Type, e.g. + "text/html; charset=utf-8". +

+

+
Parameters:
contentType - string from which the encoding should be extracted +
Returns:
the charset encoding - or null, if none was found or + the charset is not supported +
Throws: +
IllegalCharsetNameException - if the found charset is not supported
+
+
+
+ +

+makeRelativeURL

+
+public static URL makeRelativeURL(URL baseURL,
+                                  String location)
+                           throws MalformedURLException
+
+
Generate an absolute URL from a possibly relative location, + allowing for extraneous leading "../" segments. + The Java URL.URL(URL, String) constructor does not remove these. +

+

+
Parameters:
baseURL - the base URL which is used to resolve missing protocol/host in the location
location - the location, possibly with extraneous leading "../" +
Returns:
URL with extraneous ../ removed +
Throws: +
MalformedURLException - when the given URL is malformed
See Also:
Bug 46690 - handling of 302 redirects with invalid relative paths
+
+
+
+ +

+escapeIllegalURLCharacters

+
+public static String escapeIllegalURLCharacters(String url)
+                                         throws Exception
+
+
+
Parameters:
url - String Url to escape +
Returns:
String cleaned up url +
Throws: +
Exception - when given url leads to a malformed URL or URI
+
+
+
+ +

+sanitizeUrl

+
+public static final URI sanitizeUrl(URL url)
+                             throws URISyntaxException
+
+
Checks a URL and encodes it if necessary, + i.e. if it is not currently correctly encoded. + Warning: it may not work on all unencoded URLs. +

+

+
Parameters:
url - non-encoded URL +
Returns:
URI which has been encoded as necessary +
Throws: +
URISyntaxException - if parts of the url form a non valid URI
+
+
+
+ +

+removeSlashDotDot

+
+public static String removeSlashDotDot(String url)
+
+
collapses absolute or relative URLs containing '/..' converting + http://host/path1/../path2 to http://host/path2 + or /one/two/../three to + /one/three +

+

+
Parameters:
url - in which the '/..'s should be removed +
Returns:
collapsed URL
See Also:
Bug 49083 - collapse /.. in redirect URLs
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/util/DOMPool.html b/docs/api/org/apache/jmeter/protocol/http/util/DOMPool.html new file mode 100644 index 00000000000..7c2b11ab31b --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/util/DOMPool.html @@ -0,0 +1,278 @@ + + + + + +DOMPool (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.util +
+Class DOMPool

+
+java.lang.Object
+  extended by org.apache.jmeter.protocol.http.util.DOMPool
+
+
+
+
public final class DOMPool
extends Object
+ + +

+The purpose of this class is to cache the DOM Documents in memory and by-pass + parsing. For old systems or laptops, it's not practical to parse the XML + documents every time. Therefore using a memory cache can reduce the CPU + usage. +

+ For now this is a simple version to test the feasibility of caching. If it + works, this class will be replaced with an Apache commons or something + equivalent. If I was familiar with Apache Commons Pool, I would probably use + it, but since I don't know the API, it is quicker for Proof of Concept to + just write a dumb one. If the number documents in the pool exceed several + hundred, it will take a long time for the lookup. +

+ Created on: Jun 17, 2003
+

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static voidclear() + +
+          Clear cache
+static DocumentgetDocument(Object key) + +
+          Return a document.
+static voidputDocument(Object key, + Document data) + +
+          Add an object to the cache.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+getDocument

+
+public static Document getDocument(Object key)
+
+
Return a document. +

+

+
Parameters:
key - key of the document +
Returns:
Document
+
+
+
+ +

+putDocument

+
+public static void putDocument(Object key,
+                               Document data)
+
+
Add an object to the cache. +

+

+
Parameters:
key - key of the document
data - Document to store
+
+
+
+ +

+clear

+
+public static void clear()
+
+
Clear cache +

+

+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/util/EncoderCache.html b/docs/api/org/apache/jmeter/protocol/http/util/EncoderCache.html new file mode 100644 index 00000000000..c4b064b6bd4 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/util/EncoderCache.html @@ -0,0 +1,316 @@ + + + + + +EncoderCache (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.util +
+Class EncoderCache

+
+java.lang.Object
+  extended by org.apache.jmeter.protocol.http.util.EncoderCache
+
+
+
+
public class EncoderCache
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Field Summary
+static StringURL_ARGUMENT_ENCODING + +
+          The encoding which should be usd for URLs, according to HTTP specification
+  + + + + + + + + + + +
+Constructor Summary
EncoderCache(int cacheSize) + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetEncoded(String k) + +
+          Get the specified value URL encoded using UTF-8 encoding
+ StringgetEncoded(String k, + String contentEncoding) + +
+          Get the specified value URL encoded using the specified encoding
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+URL_ARGUMENT_ENCODING

+
+public static final String URL_ARGUMENT_ENCODING
+
+
The encoding which should be usd for URLs, according to HTTP specification +

+

+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+EncoderCache

+
+public EncoderCache(int cacheSize)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getEncoded

+
+public String getEncoded(String k)
+
+
Get the specified value URL encoded using UTF-8 encoding +

+

+
Parameters:
k - the value to encode +
Returns:
the value URL encoded using UTF-8
+
+
+
+ +

+getEncoded

+
+public String getEncoded(String k,
+                         String contentEncoding)
+                  throws UnsupportedEncodingException
+
+
Get the specified value URL encoded using the specified encoding +

+

+
Parameters:
k - the value to encode
contentEncoding - the encoding to use when URL encoding +
Returns:
the value URL encoded using the specified encoding +
Throws: +
UnsupportedEncodingException - if the specified encoding is not supported
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/util/HC4TrustAllSSLSocketFactory.html b/docs/api/org/apache/jmeter/protocol/http/util/HC4TrustAllSSLSocketFactory.html new file mode 100644 index 00000000000..e24d0c5ea28 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/util/HC4TrustAllSSLSocketFactory.html @@ -0,0 +1,384 @@ + + + + + +HC4TrustAllSSLSocketFactory (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.util +
+Class HC4TrustAllSSLSocketFactory

+
+java.lang.Object
+  extended by org.apache.http.conn.ssl.SSLSocketFactory
+      extended by org.apache.jmeter.protocol.http.util.HC4TrustAllSSLSocketFactory
+
+
+
All Implemented Interfaces:
org.apache.http.conn.scheme.LayeredSchemeSocketFactory, org.apache.http.conn.scheme.LayeredSocketFactory, org.apache.http.conn.scheme.SchemeLayeredSocketFactory, org.apache.http.conn.scheme.SchemeSocketFactory, org.apache.http.conn.scheme.SocketFactory
+
+
+
Direct Known Subclasses:
SlowHC4SSLSocketFactory
+
+
+
+
public class HC4TrustAllSSLSocketFactory
extends org.apache.http.conn.ssl.SSLSocketFactory
+ + +

+Apache HttpClient protocol factory to generate SSL sockets +

+ +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.http.conn.ssl.SSLSocketFactory
ALLOW_ALL_HOSTNAME_VERIFIER, BROWSER_COMPATIBLE_HOSTNAME_VERIFIER, SSL, SSLV2, STRICT_HOSTNAME_VERIFIER, TLS
+  + + + + + + + + + + + + + + + +
+Constructor Summary
+ HC4TrustAllSSLSocketFactory() + +
+          Create an SSL factory which trusts all certificates and hosts.
+protected HC4TrustAllSSLSocketFactory(SSLSocketFactory factory) + +
+          Create an SSL factory which trusts all certificates and hosts.
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ SocketcreateLayeredSocket(Socket socket, + String host, + int port, + boolean autoClose) + +
+           
+ SocketcreateSocket() + +
+           
+ SocketcreateSocket(org.apache.http.params.HttpParams params) + +
+           
+ + + + + + + +
Methods inherited from class org.apache.http.conn.ssl.SSLSocketFactory
connectSocket, connectSocket, createLayeredSocket, createSocket, getHostnameVerifier, getSocketFactory, getSystemSocketFactory, isSecure, prepareSocket, setHostnameVerifier
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+HC4TrustAllSSLSocketFactory

+
+public HC4TrustAllSSLSocketFactory()
+                            throws GeneralSecurityException
+
+
Create an SSL factory which trusts all certificates and hosts. + SSLSocketFactory.SSLSocketFactory(TrustStrategy, org.apache.http.conn.ssl.X509HostnameVerifier) +

+

+ +
Throws: +
GeneralSecurityException - if there's a problem setting up the security
+
+
+ +

+HC4TrustAllSSLSocketFactory

+
+protected HC4TrustAllSSLSocketFactory(SSLSocketFactory factory)
+                               throws GeneralSecurityException
+
+
Create an SSL factory which trusts all certificates and hosts. + SSLSocketFactory.SSLSocketFactory(TrustStrategy, org.apache.http.conn.ssl.X509HostnameVerifier) +

+

+
Parameters:
factory - javax.net.ssl.SSLSocketFactory +
Throws: +
GeneralSecurityException - if there's a problem setting up the security
+
+ + + + + + + + +
+Method Detail
+ +

+createSocket

+
+public Socket createSocket(org.apache.http.params.HttpParams params)
+                    throws IOException
+
+
+
Specified by:
createSocket in interface org.apache.http.conn.scheme.SchemeSocketFactory
Overrides:
createSocket in class org.apache.http.conn.ssl.SSLSocketFactory
+
+
+ +
Throws: +
IOException
+
+
+
+ +

+createSocket

+
+public Socket createSocket()
+                    throws IOException
+
+
+
Specified by:
createSocket in interface org.apache.http.conn.scheme.SocketFactory
Overrides:
createSocket in class org.apache.http.conn.ssl.SSLSocketFactory
+
+
+ +
Throws: +
IOException
+
+
+
+ +

+createLayeredSocket

+
+public Socket createLayeredSocket(Socket socket,
+                                  String host,
+                                  int port,
+                                  boolean autoClose)
+                           throws IOException,
+                                  UnknownHostException
+
+
+
Specified by:
createLayeredSocket in interface org.apache.http.conn.scheme.LayeredSchemeSocketFactory
Overrides:
createLayeredSocket in class org.apache.http.conn.ssl.SSLSocketFactory
+
+
+ +
Throws: +
IOException +
UnknownHostException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/util/HTTPArgument.html b/docs/api/org/apache/jmeter/protocol/http/util/HTTPArgument.html new file mode 100644 index 00000000000..7d7b859c4ec --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/util/HTTPArgument.html @@ -0,0 +1,649 @@ + + + + + +HTTPArgument (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.util +
+Class HTTPArgument

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.config.Argument
+          extended by org.apache.jmeter.protocol.http.util.HTTPArgument
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Searchable, TestElement
+
+
+
+
public class HTTPArgument
extends Argument
implements Serializable
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.config.Argument
ARG_NAME, DESCRIPTION, METADATA, VALUE
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Constructor Summary
HTTPArgument() + +
+          Constructor for the Argument object
HTTPArgument(Argument arg) + +
+           
HTTPArgument(String name, + String value) + +
+          Constructor for the Argument object.
HTTPArgument(String name, + String value, + boolean alreadyEncoded) + +
+           
HTTPArgument(String name, + String value, + boolean alreadyEncoded, + String contentEncoding) + +
+          Construct a new HTTPArgument instance; alwaysEncoded is set to true.
HTTPArgument(String name, + String value, + String metadata) + +
+          Constructor for the Argument object.
HTTPArgument(String name, + String value, + String metaData, + boolean alreadyEncoded) + +
+          Construct a new HTTPArgument instance
HTTPArgument(String name, + String value, + String metaData, + boolean alreadyEncoded, + String contentEncoding) + +
+          Construct a new HTTPArgument instance
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static voidconvertArgumentsToHTTP(Arguments args) + +
+          Converts all Argument entries in the collection to HTTPArgument entries.
+ StringgetEncodedName() + +
+           
+ StringgetEncodedValue() + +
+          Get the argument value encoded using UTF-8
+ StringgetEncodedValue(String contentEncoding) + +
+          Get the argument value encoded in the specified encoding
+ booleanisAlwaysEncoded() + +
+           
+ booleanisUseEquals() + +
+           
+ voidsetAlwaysEncoded(boolean ae) + +
+           
+ voidsetName(String newName) + +
+          Sets the Name attribute of the Argument object.
+ voidsetUseEquals(boolean ue) + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.config.Argument
getDescription, getMetaData, getName, getValue, isSkippable, setDescription, setMetaData, setValue, toString
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+HTTPArgument

+
+public HTTPArgument(String name,
+                    String value,
+                    String metadata)
+
+
Constructor for the Argument object. +

+ The value is assumed to be not encoded. +

+

+
Parameters:
name - name of the paramter
value - value of the parameter
metadata - the separator to use between name and value
+
+
+ +

+HTTPArgument

+
+public HTTPArgument(String name,
+                    String value)
+
+
Constructor for the Argument object. +

+ The value is assumed to be not encoded. +

+

+
Parameters:
name - name of the parameter
value - value of the parameter
+
+
+ +

+HTTPArgument

+
+public HTTPArgument(String name,
+                    String value,
+                    boolean alreadyEncoded)
+
+
+
Parameters:
name - name of the parameter
value - value of the parameter
alreadyEncoded - true if the value is already encoded, in which + case they are decoded before storage
+
+
+ +

+HTTPArgument

+
+public HTTPArgument(String name,
+                    String value,
+                    boolean alreadyEncoded,
+                    String contentEncoding)
+
+
Construct a new HTTPArgument instance; alwaysEncoded is set to true. +

+

+
Parameters:
name - the name of the parameter
value - the value of the parameter
alreadyEncoded - true if the name and value is already encoded, in which case they are decoded before storage.
contentEncoding - the encoding used for the parameter value
+
+
+ +

+HTTPArgument

+
+public HTTPArgument(String name,
+                    String value,
+                    String metaData,
+                    boolean alreadyEncoded)
+
+
Construct a new HTTPArgument instance +

+

+
Parameters:
name - the name of the parameter
value - the value of the parameter
metaData - the separator to use between name and value
alreadyEncoded - true if the name and value is already encoded
+
+
+ +

+HTTPArgument

+
+public HTTPArgument(String name,
+                    String value,
+                    String metaData,
+                    boolean alreadyEncoded,
+                    String contentEncoding)
+
+
Construct a new HTTPArgument instance +

+

+
Parameters:
name - the name of the parameter
value - the value of the parameter
metaData - the separator to use between name and value
alreadyEncoded - true if the name and value is already encoded
contentEncoding - the encoding used for the parameter value
+
+
+ +

+HTTPArgument

+
+public HTTPArgument(Argument arg)
+
+
+
+ +

+HTTPArgument

+
+public HTTPArgument()
+
+
Constructor for the Argument object +

+

+ + + + + + + + +
+Method Detail
+ +

+setUseEquals

+
+public void setUseEquals(boolean ue)
+
+
+
+
+
+
+
+
+
+ +

+isUseEquals

+
+public boolean isUseEquals()
+
+
+
+
+
+
+
+
+
+ +

+setAlwaysEncoded

+
+public void setAlwaysEncoded(boolean ae)
+
+
+
+
+
+
+
+
+
+ +

+isAlwaysEncoded

+
+public boolean isAlwaysEncoded()
+
+
+
+
+
+
+
+
+
+ +

+setName

+
+public void setName(String newName)
+
+
Sets the Name attribute of the Argument object. +

+

+
Specified by:
setName in interface TestElement
Overrides:
setName in class Argument
+
+
+
Parameters:
newName - the new Name value
+
+
+
+ +

+getEncodedValue

+
+public String getEncodedValue()
+
+
Get the argument value encoded using UTF-8 +

+

+
+
+
+ +
Returns:
the argument value encoded in UTF-8
+
+
+
+ +

+getEncodedValue

+
+public String getEncodedValue(String contentEncoding)
+                       throws UnsupportedEncodingException
+
+
Get the argument value encoded in the specified encoding +

+

+
+
+
+
Parameters:
contentEncoding - the encoding to use when encoding the argument value +
Returns:
the argument value encoded in the specified encoding +
Throws: +
UnsupportedEncodingException - of the encoding is not supported
+
+
+
+ +

+getEncodedName

+
+public String getEncodedName()
+
+
+
+
+
+
+
+
+
+ +

+convertArgumentsToHTTP

+
+public static void convertArgumentsToHTTP(Arguments args)
+
+
Converts all Argument entries in the collection to HTTPArgument entries. +

+

+
+
+
+
Parameters:
args - collection of Argument and/or HTTPArgument entries
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/util/HTTPConstants.html b/docs/api/org/apache/jmeter/protocol/http/util/HTTPConstants.html new file mode 100644 index 00000000000..0080bd9cbd0 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/util/HTTPConstants.html @@ -0,0 +1,247 @@ + + + + + +HTTPConstants (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.util +
+Class HTTPConstants

+
+java.lang.Object
+  extended by org.apache.jmeter.protocol.http.util.HTTPConstants
+
+
+
All Implemented Interfaces:
HTTPConstantsInterface
+
+
+
+
public class HTTPConstants
extends Object
implements HTTPConstantsInterface
+ + +

+Constants used in HTTP, mainly header names. + This is a class suitable for extending + or for accessing individual constants without needing to import them all. +

+ +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.protocol.http.util.HTTPConstantsInterface
APPLICATION_X_WWW_FORM_URLENCODED, CACHE_CONTROL, CONNECT, CONNECTION_CLOSE, COPY, DATE, DEFAULT_HTTP_PORT, DEFAULT_HTTP_PORT_STRING, DEFAULT_HTTPS_PORT, DEFAULT_HTTPS_PORT_STRING, DELETE, ENCODING_GZIP, ETAG, EXPIRES, GET, HEAD, HEADER_AUTHORIZATION, HEADER_CONNECTION, HEADER_CONTENT_DISPOSITION, HEADER_CONTENT_ENCODING, HEADER_CONTENT_LENGTH, HEADER_CONTENT_TYPE, HEADER_COOKIE, HEADER_HOST, HEADER_LOCAL_ADDRESS, HEADER_LOCATION, HEADER_SET_COOKIE, HTTP_1_1, IF_MODIFIED_SINCE, IF_NONE_MATCH, KEEP_ALIVE, LAST_MODIFIED, LOCK, MKCALENDAR, MKCOL, MOVE, MULTIPART_FORM_DATA, OPTIONS, PATCH, POST, PROPFIND, PROPPATCH, PROTOCOL_HTTP, PROTOCOL_HTTPS, PUT, REPORT, TRACE, TRANSFER_ENCODING, UNLOCK
+  + + + + + + + + + + +
+Constructor Summary
HTTPConstants() + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+HTTPConstants

+
+public HTTPConstants()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/util/HTTPConstantsInterface.html b/docs/api/org/apache/jmeter/protocol/http/util/HTTPConstantsInterface.html new file mode 100644 index 00000000000..dc332e228ff --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/util/HTTPConstantsInterface.html @@ -0,0 +1,1071 @@ + + + + + +HTTPConstantsInterface (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.util +
+Interface HTTPConstantsInterface

+
+
All Known Implementing Classes:
AccessLogSampler, AjpSampler, HTTPAbstractImpl, HTTPConstants, HTTPFileImpl, HTTPHC3Impl, HTTPHC4Impl, HTTPHCAbstractImpl, HTTPJavaImpl, HTTPSampler, HTTPSampler2, HTTPSamplerBase, HTTPSamplerProxy, SoapSampler, WebServiceSampler
+
+
+
+
public interface HTTPConstantsInterface
+ + +

+Constants used in HTTP, mainly header names. +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static StringAPPLICATION_X_WWW_FORM_URLENCODED + +
+           
+static StringCACHE_CONTROL + +
+           
+static StringCONNECT + +
+           
+static StringCONNECTION_CLOSE + +
+           
+static StringCOPY + +
+           
+static StringDATE + +
+           
+static intDEFAULT_HTTP_PORT + +
+           
+static StringDEFAULT_HTTP_PORT_STRING + +
+           
+static intDEFAULT_HTTPS_PORT + +
+           
+static StringDEFAULT_HTTPS_PORT_STRING + +
+           
+static StringDELETE + +
+           
+static StringENCODING_GZIP + +
+           
+static StringETAG + +
+           
+static StringEXPIRES + +
+           
+static StringGET + +
+           
+static StringHEAD + +
+           
+static StringHEADER_AUTHORIZATION + +
+           
+static StringHEADER_CONNECTION + +
+           
+static StringHEADER_CONTENT_DISPOSITION + +
+           
+static StringHEADER_CONTENT_ENCODING + +
+           
+static StringHEADER_CONTENT_LENGTH + +
+           
+static StringHEADER_CONTENT_TYPE + +
+           
+static StringHEADER_COOKIE + +
+           
+static StringHEADER_HOST + +
+           
+static StringHEADER_LOCAL_ADDRESS + +
+           
+static StringHEADER_LOCATION + +
+           
+static StringHEADER_SET_COOKIE + +
+           
+static StringHTTP_1_1 + +
+           
+static StringIF_MODIFIED_SINCE + +
+           
+static StringIF_NONE_MATCH + +
+           
+static StringKEEP_ALIVE + +
+           
+static StringLAST_MODIFIED + +
+           
+static StringLOCK + +
+           
+static StringMKCALENDAR + +
+           
+static StringMKCOL + +
+           
+static StringMOVE + +
+           
+static StringMULTIPART_FORM_DATA + +
+           
+static StringOPTIONS + +
+           
+static StringPATCH + +
+           
+static StringPOST + +
+           
+static StringPROPFIND + +
+           
+static StringPROPPATCH + +
+           
+static StringPROTOCOL_HTTP + +
+           
+static StringPROTOCOL_HTTPS + +
+           
+static StringPUT + +
+           
+static StringREPORT + +
+           
+static StringTRACE + +
+           
+static StringTRANSFER_ENCODING + +
+           
+static StringUNLOCK + +
+           
+  +

+ + + + + + + + +
+Field Detail
+ +

+DEFAULT_HTTPS_PORT

+
+static final int DEFAULT_HTTPS_PORT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DEFAULT_HTTPS_PORT_STRING

+
+static final String DEFAULT_HTTPS_PORT_STRING
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DEFAULT_HTTP_PORT

+
+static final int DEFAULT_HTTP_PORT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DEFAULT_HTTP_PORT_STRING

+
+static final String DEFAULT_HTTP_PORT_STRING
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PROTOCOL_HTTP

+
+static final String PROTOCOL_HTTP
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PROTOCOL_HTTPS

+
+static final String PROTOCOL_HTTPS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+HEAD

+
+static final String HEAD
+
+
+
See Also:
Constant Field Values
+
+
+ +

+POST

+
+static final String POST
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PUT

+
+static final String PUT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+GET

+
+static final String GET
+
+
+
See Also:
Constant Field Values
+
+
+ +

+OPTIONS

+
+static final String OPTIONS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+TRACE

+
+static final String TRACE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DELETE

+
+static final String DELETE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PATCH

+
+static final String PATCH
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PROPFIND

+
+static final String PROPFIND
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PROPPATCH

+
+static final String PROPPATCH
+
+
+
See Also:
Constant Field Values
+
+
+ +

+MKCOL

+
+static final String MKCOL
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COPY

+
+static final String COPY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+MOVE

+
+static final String MOVE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+LOCK

+
+static final String LOCK
+
+
+
See Also:
Constant Field Values
+
+
+ +

+UNLOCK

+
+static final String UNLOCK
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CONNECT

+
+static final String CONNECT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+REPORT

+
+static final String REPORT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+MKCALENDAR

+
+static final String MKCALENDAR
+
+
+
See Also:
Constant Field Values
+
+
+ +

+HEADER_AUTHORIZATION

+
+static final String HEADER_AUTHORIZATION
+
+
+
See Also:
Constant Field Values
+
+
+ +

+HEADER_COOKIE

+
+static final String HEADER_COOKIE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+HEADER_CONNECTION

+
+static final String HEADER_CONNECTION
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CONNECTION_CLOSE

+
+static final String CONNECTION_CLOSE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+KEEP_ALIVE

+
+static final String KEEP_ALIVE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+TRANSFER_ENCODING

+
+static final String TRANSFER_ENCODING
+
+
+
See Also:
Constant Field Values
+
+
+ +

+HEADER_CONTENT_ENCODING

+
+static final String HEADER_CONTENT_ENCODING
+
+
+
See Also:
Constant Field Values
+
+
+ +

+HTTP_1_1

+
+static final String HTTP_1_1
+
+
+
See Also:
Constant Field Values
+
+
+ +

+HEADER_SET_COOKIE

+
+static final String HEADER_SET_COOKIE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+ENCODING_GZIP

+
+static final String ENCODING_GZIP
+
+
+
See Also:
Constant Field Values
+
+
+ +

+HEADER_CONTENT_DISPOSITION

+
+static final String HEADER_CONTENT_DISPOSITION
+
+
+
See Also:
Constant Field Values
+
+
+ +

+HEADER_CONTENT_TYPE

+
+static final String HEADER_CONTENT_TYPE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+HEADER_CONTENT_LENGTH

+
+static final String HEADER_CONTENT_LENGTH
+
+
+
See Also:
Constant Field Values
+
+
+ +

+HEADER_HOST

+
+static final String HEADER_HOST
+
+
+
See Also:
Constant Field Values
+
+
+ +

+HEADER_LOCAL_ADDRESS

+
+static final String HEADER_LOCAL_ADDRESS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+HEADER_LOCATION

+
+static final String HEADER_LOCATION
+
+
+
See Also:
Constant Field Values
+
+
+ +

+APPLICATION_X_WWW_FORM_URLENCODED

+
+static final String APPLICATION_X_WWW_FORM_URLENCODED
+
+
+
See Also:
Constant Field Values
+
+
+ +

+MULTIPART_FORM_DATA

+
+static final String MULTIPART_FORM_DATA
+
+
+
See Also:
Constant Field Values
+
+
+ +

+IF_NONE_MATCH

+
+static final String IF_NONE_MATCH
+
+
+
See Also:
Constant Field Values
+
+
+ +

+IF_MODIFIED_SINCE

+
+static final String IF_MODIFIED_SINCE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+ETAG

+
+static final String ETAG
+
+
+
See Also:
Constant Field Values
+
+
+ +

+LAST_MODIFIED

+
+static final String LAST_MODIFIED
+
+
+
See Also:
Constant Field Values
+
+
+ +

+EXPIRES

+
+static final String EXPIRES
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CACHE_CONTROL

+
+static final String CACHE_CONTROL
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DATE

+
+static final String DATE
+
+
+
See Also:
Constant Field Values
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/util/HTTPFileArg.html b/docs/api/org/apache/jmeter/protocol/http/util/HTTPFileArg.html new file mode 100644 index 00000000000..250c648e296 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/util/HTTPFileArg.html @@ -0,0 +1,615 @@ + + + + + +HTTPFileArg (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.util +
+Class HTTPFileArg

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.protocol.http.util.HTTPFileArg
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Searchable, TestElement
+
+
+
+
public class HTTPFileArg
extends AbstractTestElement
implements Serializable
+ + +

+Class representing a file parameter for http upload. + Consists of a http parameter name/file path pair with (optional) mimetype. + + Also provides temporary storage for the headers which are sent with files. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + + + + + + + + + + + + + +
+Constructor Summary
HTTPFileArg() + +
+          Constructor for an empty HTTPFileArg object
HTTPFileArg(HTTPFileArg file) + +
+          Copy Constructor.
HTTPFileArg(JMeterProperty path, + JMeterProperty paramname, + JMeterProperty mimetype) + +
+          Constructor for the HTTPFileArg object with full information, + using existing properties
HTTPFileArg(String path) + +
+          Constructor for the HTTPFileArg object with given path.
HTTPFileArg(String path, + String paramname, + String mimetype) + +
+          Constructor for the HTTPFileArg object with full information.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetHeader() + +
+          Gets the saved body header for the HTTPFileArg object.
+ StringgetMimeType() + +
+          Get the mimetype of the File.
+ StringgetParamName() + +
+          Get the http parameter name of the File.
+ StringgetPath() + +
+          Get the path of the File.
+ booleanisNotEmpty() + +
+          Check if the entry is not empty.
+ voidsetHeader(String newHeader) + +
+          Sets the body header for the HTTPFileArg object.
+ voidsetMimeType(String newMimeType) + +
+          Set the mimetype of the File.
+ voidsetParamName(String newParamName) + +
+          Set the http parameter name of the File.
+ voidsetPath(String newPath) + +
+          Set the path of the File.
+ StringtoString() + +
+          returns path, param name, mime type information of + HTTPFileArg object.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+HTTPFileArg

+
+public HTTPFileArg()
+
+
Constructor for an empty HTTPFileArg object +

+

+
+ +

+HTTPFileArg

+
+public HTTPFileArg(String path)
+
+
Constructor for the HTTPFileArg object with given path. +

+

+
Parameters:
path - path to the file to use +
Throws: +
IllegalArgumentException - if path is null
+
+
+ +

+HTTPFileArg

+
+public HTTPFileArg(String path,
+                   String paramname,
+                   String mimetype)
+
+
Constructor for the HTTPFileArg object with full information. +

+

+
Parameters:
path - path of the file to use
paramname - name of the http parameter to use for the file
mimetype - mimetype of the file +
Throws: +
IllegalArgumentException - if any parameter is null
+
+
+ +

+HTTPFileArg

+
+public HTTPFileArg(JMeterProperty path,
+                   JMeterProperty paramname,
+                   JMeterProperty mimetype)
+
+
Constructor for the HTTPFileArg object with full information, + using existing properties +

+

+
Parameters:
path - path of the file to use
paramname - name of the http parameter to use for the file
mimetype - mimetype of the file +
Throws: +
IllegalArgumentException - if any parameter is null
+
+
+ +

+HTTPFileArg

+
+public HTTPFileArg(HTTPFileArg file)
+
+
Copy Constructor. +

+

+
Parameters:
file - HTTPFileArg to get information about the path, http + parameter name and mimetype of the file +
Throws: +
IllegalArgumentException - if any of those retrieved information is null
+
+ + + + + + + + +
+Method Detail
+ +

+setParamName

+
+public void setParamName(String newParamName)
+
+
Set the http parameter name of the File. +

+

+
+
+
+
Parameters:
newParamName - the new http parameter name
+
+
+
+ +

+getParamName

+
+public String getParamName()
+
+
Get the http parameter name of the File. +

+

+
+
+
+ +
Returns:
the http parameter name
+
+
+
+ +

+setMimeType

+
+public void setMimeType(String newMimeType)
+
+
Set the mimetype of the File. +

+

+
+
+
+
Parameters:
newMimeType - the new mimetype
+
+
+
+ +

+getMimeType

+
+public String getMimeType()
+
+
Get the mimetype of the File. +

+

+
+
+
+ +
Returns:
the http parameter mimetype
+
+
+
+ +

+setPath

+
+public void setPath(String newPath)
+
+
Set the path of the File. +

+

+
+
+
+
Parameters:
newPath - the new path
+
+
+
+ +

+getPath

+
+public String getPath()
+
+
Get the path of the File. +

+

+
+
+
+ +
Returns:
the file's path
+
+
+
+ +

+setHeader

+
+public void setHeader(String newHeader)
+
+
Sets the body header for the HTTPFileArg object. Header + contains path, parameter name and mime type information. + This is only intended for use by methods which need to store information + temporarily whilst creating the HTTP body. +

+

+
+
+
+
Parameters:
newHeader - the new Header value
+
+
+
+ +

+getHeader

+
+public String getHeader()
+
+
Gets the saved body header for the HTTPFileArg object. +

+

+
+
+
+ +
Returns:
saved body header
+
+
+
+ +

+toString

+
+public String toString()
+
+
returns path, param name, mime type information of + HTTPFileArg object. +

+

+
Overrides:
toString in class Object
+
+
+ +
Returns:
the string demonstration of HTTPFileArg object in this + format: + "path:'<PATH>'|param:'<PARAM NAME>'|mimetype:'<MIME TYPE>'"
+
+
+
+ +

+isNotEmpty

+
+public boolean isNotEmpty()
+
+
Check if the entry is not empty. +

+

+
+
+
+ +
Returns:
true if Path, name or mimetype fields are not the empty string
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/util/HTTPFileArgs.html b/docs/api/org/apache/jmeter/protocol/http/util/HTTPFileArgs.html new file mode 100644 index 00000000000..f924dd490b8 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/util/HTTPFileArgs.html @@ -0,0 +1,694 @@ + + + + + +HTTPFileArgs (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.util +
+Class HTTPFileArgs

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.config.ConfigTestElement
+          extended by org.apache.jmeter.protocol.http.util.HTTPFileArgs
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, ConfigElement, Searchable, TestElement
+
+
+
+
public class HTTPFileArgs
extends ConfigTestElement
implements Serializable
+ + +

+A set of HTTPFileArg objects. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.config.ConfigTestElement
PASSWORD, USERNAME
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
HTTPFileArgs() + +
+          Create a new HTTPFileArgs object with no files.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddEmptyHTTPFileArg() + +
+          Add a new empty file to the list.
+ voidaddHTTPFileArg(HTTPFileArg file) + +
+          Add a new file.
+ voidaddHTTPFileArg(String path) + +
+          Add a new file with the given path.
+ voidaddHTTPFileArg(String path, + String param, + String mime) + +
+          adds a new File to the HTTPFileArgs list to be uploaded with http + request.
+ HTTPFileArg[]asArray() + +
+          Get the current arguments as an array.
+ voidclear() + +
+          Clear the files.
+ HTTPFileArggetHTTPFileArg(int row) + +
+          Get a single file.
+ intgetHTTPFileArgCount() + +
+          Get the number of files in the list.
+ CollectionPropertygetHTTPFileArgsCollection() + +
+          Get the files.
+ PropertyIteratoriterator() + +
+          Get a PropertyIterator of the files.
+ voidremoveAllHTTPFileArgs() + +
+          Remove all files from the list.
+ voidremoveHTTPFileArg(HTTPFileArg file) + +
+          Remove the specified file from the list.
+ voidremoveHTTPFileArg(int row) + +
+          Remove the specified file from the list.
+ voidremoveHTTPFileArg(String filePath) + +
+          Remove the file with the specified path.
+ voidsetHTTPFileArgs(List<HTTPFileArg> files) + +
+          Set the list of files.
+ StringtoString() + +
+          Create a string representation of the files.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.config.ConfigTestElement
addConfigElement, addTestElement, expectsModification
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, canRemove, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.config.ConfigElement
clone
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+HTTPFileArgs

+
+public HTTPFileArgs()
+
+
Create a new HTTPFileArgs object with no files. +

+

+ + + + + + + + +
+Method Detail
+ +

+getHTTPFileArgsCollection

+
+public CollectionProperty getHTTPFileArgsCollection()
+
+
Get the files. +

+

+
+
+
+ +
Returns:
the files
+
+
+
+ +

+clear

+
+public void clear()
+
+
Clear the files. +

+

+
Specified by:
clear in interface TestElement
Overrides:
clear in class AbstractTestElement
+
+
+
+
+
+
+ +

+setHTTPFileArgs

+
+public void setHTTPFileArgs(List<HTTPFileArg> files)
+
+
Set the list of files. Any existing files will be lost. +

+

+
+
+
+
Parameters:
files - the new files
+
+
+
+ +

+addHTTPFileArg

+
+public void addHTTPFileArg(String path)
+
+
Add a new file with the given path. +

+

+
+
+
+
Parameters:
path - the path of the file
+
+
+
+ +

+addHTTPFileArg

+
+public void addHTTPFileArg(HTTPFileArg file)
+
+
Add a new file. +

+

+
+
+
+
Parameters:
file - the new file
+
+
+
+ +

+addHTTPFileArg

+
+public void addHTTPFileArg(String path,
+                           String param,
+                           String mime)
+
+
adds a new File to the HTTPFileArgs list to be uploaded with http + request. +

+

+
+
+
+
Parameters:
path - file full path.
param - http parameter name.
mime - mime type of file.
+
+
+
+ +

+iterator

+
+public PropertyIterator iterator()
+
+
Get a PropertyIterator of the files. +

+

+
+
+
+ +
Returns:
an iteration of the files
+
+
+
+ +

+asArray

+
+public HTTPFileArg[] asArray()
+
+
Get the current arguments as an array. +

+

+
+
+
+ +
Returns:
an array of file arguments
+
+
+
+ +

+toString

+
+public String toString()
+
+
Create a string representation of the files. +

+

+
Overrides:
toString in class Object
+
+
+ +
Returns:
the string representation of the files
+
+
+
+ +

+removeHTTPFileArg

+
+public void removeHTTPFileArg(int row)
+
+
Remove the specified file from the list. +

+

+
+
+
+
Parameters:
row - the index of the file to remove
+
+
+
+ +

+removeHTTPFileArg

+
+public void removeHTTPFileArg(HTTPFileArg file)
+
+
Remove the specified file from the list. +

+

+
+
+
+
Parameters:
file - the file to remove
+
+
+
+ +

+removeHTTPFileArg

+
+public void removeHTTPFileArg(String filePath)
+
+
Remove the file with the specified path. +

+

+
+
+
+
Parameters:
filePath - the path of the file to remove
+
+
+
+ +

+removeAllHTTPFileArgs

+
+public void removeAllHTTPFileArgs()
+
+
Remove all files from the list. +

+

+
+
+
+
+
+
+
+ +

+addEmptyHTTPFileArg

+
+public void addEmptyHTTPFileArg()
+
+
Add a new empty file to the list. The new file will have the + empty string as its path. +

+

+
+
+
+
+
+
+
+ +

+getHTTPFileArgCount

+
+public int getHTTPFileArgCount()
+
+
Get the number of files in the list. +

+

+
+
+
+ +
Returns:
the number of files
+
+
+
+ +

+getHTTPFileArg

+
+public HTTPFileArg getHTTPFileArg(int row)
+
+
Get a single file. +

+

+
+
+
+
Parameters:
row - the index of the file to return. +
Returns:
the file at the specified index, or null if no file + exists at that index.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/util/HTTPResultConverter.html b/docs/api/org/apache/jmeter/protocol/http/util/HTTPResultConverter.html new file mode 100644 index 00000000000..2a33fea21aa --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/util/HTTPResultConverter.html @@ -0,0 +1,378 @@ + + + + + +HTTPResultConverter (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.util +
+Class HTTPResultConverter

+
+java.lang.Object
+  extended by com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter
+      extended by org.apache.jmeter.save.converters.SampleResultConverter
+          extended by org.apache.jmeter.protocol.http.util.HTTPResultConverter
+
+
+
All Implemented Interfaces:
com.thoughtworks.xstream.converters.Converter, com.thoughtworks.xstream.converters.ConverterMatcher
+
+
+
+
public class HTTPResultConverter
extends SampleResultConverter
+ + +

+Class for XStream conversion of HTTPResult +

+ +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.save.converters.SampleResultConverter
TAG_COOKIES, TAG_METHOD, TAG_QUERY_STRING, TAG_REDIRECT_LOCATION, TAG_REQUEST_HEADER, TAG_RESPONSE_DATA, TAG_RESPONSE_FILE, TAG_RESPONSE_HEADER, TAG_SAMPLER_DATA
+  + + + + + + + + + + +
+Constructor Summary
HTTPResultConverter(com.thoughtworks.xstream.mapper.Mapper arg0) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleancanConvert(Class arg0) + +
+          
+static StringgetVersion() + +
+          Returns the converter version; used to check for possible + incompatibilities
+ voidmarshal(Object obj, + com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, + com.thoughtworks.xstream.converters.MarshallingContext context) + +
+          
+ Objectunmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, + com.thoughtworks.xstream.converters.UnmarshallingContext context) + +
+          
+ + + + + + + +
Methods inherited from class org.apache.jmeter.save.converters.SampleResultConverter
readFile, retrieveAttributes, retrieveItem, saveAssertions, saveRequestHeaders, saveResponseData, saveResponseHeaders, saveSamplerData, saveSubResults, setAttributes, writeString
+ + + + + + + +
Methods inherited from class com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter
createCollection, mapper, readItem, writeItem
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+HTTPResultConverter

+
+public HTTPResultConverter(com.thoughtworks.xstream.mapper.Mapper arg0)
+
+
+
Parameters:
arg0 - the mapper
+
+ + + + + + + + +
+Method Detail
+ +

+getVersion

+
+public static String getVersion()
+
+
Returns the converter version; used to check for possible + incompatibilities +

+

+ +
Returns:
the version of this component
+
+
+
+ +

+canConvert

+
+public boolean canConvert(Class arg0)
+
+
+

+

+
Specified by:
canConvert in interface com.thoughtworks.xstream.converters.ConverterMatcher
Overrides:
canConvert in class SampleResultConverter
+
+
+
+
+
+
+ +

+marshal

+
+public void marshal(Object obj,
+                    com.thoughtworks.xstream.io.HierarchicalStreamWriter writer,
+                    com.thoughtworks.xstream.converters.MarshallingContext context)
+
+
+

+

+
Specified by:
marshal in interface com.thoughtworks.xstream.converters.Converter
Overrides:
marshal in class SampleResultConverter
+
+
+
+
+
+
+ +

+unmarshal

+
+public Object unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader,
+                        com.thoughtworks.xstream.converters.UnmarshallingContext context)
+
+
+

+

+
Specified by:
unmarshal in interface com.thoughtworks.xstream.converters.Converter
Overrides:
unmarshal in class SampleResultConverter
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/util/LoopbackHTTPSocket.html b/docs/api/org/apache/jmeter/protocol/http/util/LoopbackHTTPSocket.html new file mode 100644 index 00000000000..b250778256c --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/util/LoopbackHTTPSocket.html @@ -0,0 +1,350 @@ + + + + + +LoopbackHTTPSocket (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.util +
+Class LoopbackHTTPSocket

+
+java.lang.Object
+  extended by java.net.Socket
+      extended by org.apache.jmeter.protocol.http.util.LoopbackHTTPSocket
+
+
+
+
public class LoopbackHTTPSocket
extends Socket
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + +
+Constructor Summary
LoopbackHTTPSocket(String host, + int port) + +
+           
LoopbackHTTPSocket(String host, + int port, + InetAddress localAddr, + int localPort) + +
+           
LoopbackHTTPSocket(String host, + int port, + InetAddress localAddress, + int localPort, + int timeout) + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ InputStreamgetInputStream() + +
+           
+ OutputStreamgetOutputStream() + +
+           
+ + + + + + + +
Methods inherited from class java.net.Socket
bind, close, connect, connect, getChannel, getInetAddress, getKeepAlive, getLocalAddress, getLocalPort, getLocalSocketAddress, getOOBInline, getPort, getReceiveBufferSize, getRemoteSocketAddress, getReuseAddress, getSendBufferSize, getSoLinger, getSoTimeout, getTcpNoDelay, getTrafficClass, isBound, isClosed, isConnected, isInputShutdown, isOutputShutdown, sendUrgentData, setKeepAlive, setOOBInline, setPerformancePreferences, setReceiveBufferSize, setReuseAddress, setSendBufferSize, setSocketImplFactory, setSoLinger, setSoTimeout, setTcpNoDelay, setTrafficClass, shutdownInput, shutdownOutput, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+LoopbackHTTPSocket

+
+public LoopbackHTTPSocket(String host,
+                          int port,
+                          InetAddress localAddress,
+                          int localPort,
+                          int timeout)
+                   throws IOException
+
+
+ +
Throws: +
IOException
+
+
+ +

+LoopbackHTTPSocket

+
+public LoopbackHTTPSocket(String host,
+                          int port,
+                          InetAddress localAddr,
+                          int localPort)
+                   throws IOException
+
+
+ +
Throws: +
IOException
+
+
+ +

+LoopbackHTTPSocket

+
+public LoopbackHTTPSocket(String host,
+                          int port)
+                   throws UnknownHostException,
+                          IOException
+
+
+ +
Throws: +
UnknownHostException +
IOException
+
+ + + + + + + + +
+Method Detail
+ +

+getOutputStream

+
+public OutputStream getOutputStream()
+                             throws IOException
+
+
+
Overrides:
getOutputStream in class Socket
+
+
+ +
Throws: +
IOException
+
+
+
+ +

+getInputStream

+
+public InputStream getInputStream()
+                           throws IOException
+
+
+
Overrides:
getInputStream in class Socket
+
+
+ +
Throws: +
IOException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/util/LoopbackHttpClientSocketFactory.html b/docs/api/org/apache/jmeter/protocol/http/util/LoopbackHttpClientSocketFactory.html new file mode 100644 index 00000000000..d77522e8d7a --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/util/LoopbackHttpClientSocketFactory.html @@ -0,0 +1,362 @@ + + + + + +LoopbackHttpClientSocketFactory (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.util +
+Class LoopbackHttpClientSocketFactory

+
+java.lang.Object
+  extended by org.apache.jmeter.protocol.http.util.LoopbackHttpClientSocketFactory
+
+
+
All Implemented Interfaces:
org.apache.commons.httpclient.protocol.ProtocolSocketFactory
+
+
+
+
public class LoopbackHttpClientSocketFactory
extends Object
implements org.apache.commons.httpclient.protocol.ProtocolSocketFactory
+ + +

+Commons HttpClient protocol factory to generate Loopback HTTP sockets +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
LoopbackHttpClientSocketFactory() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ SocketcreateSocket(String host, + int port) + +
+           
+ SocketcreateSocket(String host, + int port, + InetAddress clientHost, + int clientPort) + +
+           
+ SocketcreateSocket(String host, + int port, + InetAddress localAddress, + int localPort, + org.apache.commons.httpclient.params.HttpConnectionParams params) + +
+           
+static voidsetup() + +
+          Convenience method to set up the necessary HttpClient protocol and URL handler.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+LoopbackHttpClientSocketFactory

+
+public LoopbackHttpClientSocketFactory()
+
+
+ + + + + + + + +
+Method Detail
+ +

+createSocket

+
+public Socket createSocket(String host,
+                           int port,
+                           InetAddress clientHost,
+                           int clientPort)
+                    throws IOException,
+                           UnknownHostException
+
+
+
Specified by:
createSocket in interface org.apache.commons.httpclient.protocol.ProtocolSocketFactory
+
+
+ +
Throws: +
IOException +
UnknownHostException
+
+
+
+ +

+createSocket

+
+public Socket createSocket(String host,
+                           int port)
+                    throws IOException,
+                           UnknownHostException
+
+
+
Specified by:
createSocket in interface org.apache.commons.httpclient.protocol.ProtocolSocketFactory
+
+
+ +
Throws: +
IOException +
UnknownHostException
+
+
+
+ +

+createSocket

+
+public Socket createSocket(String host,
+                           int port,
+                           InetAddress localAddress,
+                           int localPort,
+                           org.apache.commons.httpclient.params.HttpConnectionParams params)
+                    throws IOException,
+                           UnknownHostException,
+                           org.apache.commons.httpclient.ConnectTimeoutException
+
+
+
Specified by:
createSocket in interface org.apache.commons.httpclient.protocol.ProtocolSocketFactory
+
+
+ +
Throws: +
IOException +
UnknownHostException +
org.apache.commons.httpclient.ConnectTimeoutException
+
+
+
+ +

+setup

+
+public static void setup()
+
+
Convenience method to set up the necessary HttpClient protocol and URL handler. + + Only works for HttpClient, because it's not possible (or at least very difficult) + to provide a different socket factory for the HttpURLConnection class. +

+

+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/util/SlowHC4SSLSocketFactory.html b/docs/api/org/apache/jmeter/protocol/http/util/SlowHC4SSLSocketFactory.html new file mode 100644 index 00000000000..9af6ca82518 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/util/SlowHC4SSLSocketFactory.html @@ -0,0 +1,273 @@ + + + + + +SlowHC4SSLSocketFactory (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.util +
+Class SlowHC4SSLSocketFactory

+
+java.lang.Object
+  extended by org.apache.http.conn.ssl.SSLSocketFactory
+      extended by org.apache.jmeter.protocol.http.util.HC4TrustAllSSLSocketFactory
+          extended by org.apache.jmeter.protocol.http.util.SlowHC4SSLSocketFactory
+
+
+
All Implemented Interfaces:
org.apache.http.conn.scheme.LayeredSchemeSocketFactory, org.apache.http.conn.scheme.LayeredSocketFactory, org.apache.http.conn.scheme.SchemeLayeredSocketFactory, org.apache.http.conn.scheme.SchemeSocketFactory, org.apache.http.conn.scheme.SocketFactory
+
+
+
+
public class SlowHC4SSLSocketFactory
extends HC4TrustAllSSLSocketFactory
+ + +

+Apache HttpClient protocol factory to generate "slow" SSL sockets for emulating dial-up modems +

+ +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.http.conn.ssl.SSLSocketFactory
ALLOW_ALL_HOSTNAME_VERIFIER, BROWSER_COMPATIBLE_HOSTNAME_VERIFIER, SSL, SSLV2, STRICT_HOSTNAME_VERIFIER, TLS
+  + + + + + + + + + + +
+Constructor Summary
SlowHC4SSLSocketFactory(int cps) + +
+          Create a factory
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class org.apache.jmeter.protocol.http.util.HC4TrustAllSSLSocketFactory
createLayeredSocket, createSocket, createSocket
+ + + + + + + +
Methods inherited from class org.apache.http.conn.ssl.SSLSocketFactory
connectSocket, connectSocket, createLayeredSocket, createSocket, getHostnameVerifier, getSocketFactory, getSystemSocketFactory, isSecure, prepareSocket, setHostnameVerifier
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SlowHC4SSLSocketFactory

+
+public SlowHC4SSLSocketFactory(int cps)
+                        throws GeneralSecurityException
+
+
Create a factory +

+

+
Parameters:
cps - - characters per second, must be > 0 +
Throws: +
GeneralSecurityException - if there's a problem setting up the security +
IllegalArgumentException - if cps ≤ 0
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/util/SlowHC4SocketFactory.html b/docs/api/org/apache/jmeter/protocol/http/util/SlowHC4SocketFactory.html new file mode 100644 index 00000000000..ef662b545c4 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/util/SlowHC4SocketFactory.html @@ -0,0 +1,294 @@ + + + + + +SlowHC4SocketFactory (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.util +
+Class SlowHC4SocketFactory

+
+java.lang.Object
+  extended by org.apache.http.conn.scheme.PlainSocketFactory
+      extended by org.apache.jmeter.protocol.http.util.SlowHC4SocketFactory
+
+
+
All Implemented Interfaces:
org.apache.http.conn.scheme.SchemeSocketFactory, org.apache.http.conn.scheme.SocketFactory
+
+
+
+
public class SlowHC4SocketFactory
extends org.apache.http.conn.scheme.PlainSocketFactory
+ + +

+Apache HttpClient protocol factory to generate "slow" sockets for emulating dial-up modems +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
SlowHC4SocketFactory(int cps) + +
+          Create a factory
+  + + + + + + + + + + + + + + + +
+Method Summary
+ SocketcreateSocket() + +
+           
+ SocketcreateSocket(org.apache.http.params.HttpParams params) + +
+           
+ + + + + + + +
Methods inherited from class org.apache.http.conn.scheme.PlainSocketFactory
connectSocket, connectSocket, getSocketFactory, isSecure
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SlowHC4SocketFactory

+
+public SlowHC4SocketFactory(int cps)
+
+
Create a factory +

+

+
Parameters:
cps - - characters per second
+
+ + + + + + + + +
+Method Detail
+ +

+createSocket

+
+public Socket createSocket(org.apache.http.params.HttpParams params)
+
+
+
Specified by:
createSocket in interface org.apache.http.conn.scheme.SchemeSocketFactory
Overrides:
createSocket in class org.apache.http.conn.scheme.PlainSocketFactory
+
+
+
+
+
+
+ +

+createSocket

+
+public Socket createSocket()
+
+
+
Specified by:
createSocket in interface org.apache.http.conn.scheme.SocketFactory
Overrides:
createSocket in class org.apache.http.conn.scheme.PlainSocketFactory
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/util/SlowHttpClientSocketFactory.html b/docs/api/org/apache/jmeter/protocol/http/util/SlowHttpClientSocketFactory.html new file mode 100644 index 00000000000..70970635aff --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/util/SlowHttpClientSocketFactory.html @@ -0,0 +1,337 @@ + + + + + +SlowHttpClientSocketFactory (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.util +
+Class SlowHttpClientSocketFactory

+
+java.lang.Object
+  extended by org.apache.jmeter.protocol.http.util.SlowHttpClientSocketFactory
+
+
+
All Implemented Interfaces:
org.apache.commons.httpclient.protocol.ProtocolSocketFactory
+
+
+
+
public class SlowHttpClientSocketFactory
extends Object
implements org.apache.commons.httpclient.protocol.ProtocolSocketFactory
+ + +

+Commons HttpClient protocol factory to generate "slow" sockets for emulating dial-up modems +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
SlowHttpClientSocketFactory(int cps) + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ SocketcreateSocket(String host, + int port) + +
+           
+ SocketcreateSocket(String host, + int port, + InetAddress clientHost, + int clientPort) + +
+           
+ SocketcreateSocket(String host, + int port, + InetAddress localAddress, + int localPort, + org.apache.commons.httpclient.params.HttpConnectionParams params) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SlowHttpClientSocketFactory

+
+public SlowHttpClientSocketFactory(int cps)
+
+
+
Parameters:
cps - - characters per second
+
+ + + + + + + + +
+Method Detail
+ +

+createSocket

+
+public Socket createSocket(String host,
+                           int port,
+                           InetAddress clientHost,
+                           int clientPort)
+                    throws IOException,
+                           UnknownHostException
+
+
+
Specified by:
createSocket in interface org.apache.commons.httpclient.protocol.ProtocolSocketFactory
+
+
+ +
Throws: +
IOException +
UnknownHostException
+
+
+
+ +

+createSocket

+
+public Socket createSocket(String host,
+                           int port)
+                    throws IOException,
+                           UnknownHostException
+
+
+
Specified by:
createSocket in interface org.apache.commons.httpclient.protocol.ProtocolSocketFactory
+
+
+ +
Throws: +
IOException +
UnknownHostException
+
+
+
+ +

+createSocket

+
+public Socket createSocket(String host,
+                           int port,
+                           InetAddress localAddress,
+                           int localPort,
+                           org.apache.commons.httpclient.params.HttpConnectionParams params)
+                    throws IOException,
+                           UnknownHostException,
+                           org.apache.commons.httpclient.ConnectTimeoutException
+
+
+
Specified by:
createSocket in interface org.apache.commons.httpclient.protocol.ProtocolSocketFactory
+
+
+ +
Throws: +
IOException +
UnknownHostException +
org.apache.commons.httpclient.ConnectTimeoutException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/util/WSDLException.html b/docs/api/org/apache/jmeter/protocol/http/util/WSDLException.html new file mode 100644 index 00000000000..104c309d82c --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/util/WSDLException.html @@ -0,0 +1,272 @@ + + + + + +WSDLException (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.util +
+Class WSDLException

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by org.apache.jmeter.protocol.http.util.WSDLException
+
+
+
All Implemented Interfaces:
Serializable
+
+
+
+
public class WSDLException
extends Exception
+ + +

+Created on: Jun 3, 2003
+

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + +
+Constructor Summary
WSDLException() + +
+           
WSDLException(Exception exception) + +
+           
WSDLException(String message) + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+WSDLException

+
+public WSDLException()
+
+
+
+ +

+WSDLException

+
+public WSDLException(String message)
+
+
+
Parameters:
message - detailed error message to include in exception
+
+
+ +

+WSDLException

+
+public WSDLException(Exception exception)
+
+
+
Parameters:
exception - exception to extract the detailed message from and include that message as detailed message in this exception
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/util/WSDLHelper.html b/docs/api/org/apache/jmeter/protocol/http/util/WSDLHelper.html new file mode 100644 index 00000000000..8d674697e6d --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/util/WSDLHelper.html @@ -0,0 +1,672 @@ + + + + + +WSDLHelper (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.util +
+Class WSDLHelper

+
+java.lang.Object
+  extended by org.apache.jmeter.protocol.http.util.WSDLHelper
+
+
+
+
public class WSDLHelper
extends Object
+ + +

+For now I use DOM for WSDLHelper, but it would be more efficient to use JAXB + to generate an object model for WSDL and use it to perform serialization and + deserialization. It also makes it easier to traverse the WSDL to get + necessary information. +

+ Created on: Jun 3, 2003
+

+ +

+


+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
WSDLHelper(String url) + +
+          Default constructor takes a string URL
WSDLHelper(String url, + AuthManager auth) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+protected  voidbuildDocument() + +
+          Method is used internally to parse the InputStream and build the document + using javax.xml.parser API.
+protected  voidclose() + +
+          We try to close the connection to make sure it doesn't hang around.
+protected  voidconnect() + +
+          Method is used internally to connect to the URL.
+ StringgetBinding() + +
+          Returns the binding point for the webservice.
+ StringgetBindingHost() + +
+          Return the host in the WSDL binding address
+ StringgetBindingPath() + +
+          Return the path in the WSDL for the binding address
+ intgetBindingPort() + +
+          Return the port for the binding address
+ Object[]getOperations() + +
+          Look at the bindings with soap operations and get the soap operations.
+ StringgetProtocol() + +
+          Return the protocol from the URL. this is needed, so that HTTPS works + as expected.
+ StringgetSoapAction(String key) + +
+          Return the soap action matching the operation name.
+ StringgetSoapActionName(String soapAction) + +
+          return the "wsdl method name" from a soap action
+ Object[]getSOAPBindings() + +
+          Method will look at the binding nodes and see if the first child is a + soap:binding.
+ URLgetURL() + +
+          Returns the URL
+ String[]getWebMethods() + +
+          Get a list of the web methods as a string array.
+ DocumentgetWSDLDocument() + +
+          Get the wsdl document.
+static voidmain(String[] args) + +
+          Simple test for the class uses bidbuy.wsdl from Apache's soap driver + examples.
+ voidparse() + +
+          Call this method to retrieve the WSDL.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+WSDLHelper

+
+public WSDLHelper(String url)
+           throws MalformedURLException
+
+
Default constructor takes a string URL +

+

+
Parameters:
url - url to the wsdl +
Throws: +
MalformedURLException - if url is malformed
+
+
+ +

+WSDLHelper

+
+public WSDLHelper(String url,
+                  AuthManager auth)
+           throws MalformedURLException
+
+
+
Parameters:
url - url to the wsdl
auth - AuthManager to use +
Throws: +
MalformedURLException - if url is malformed
+
+ + + + + + + + +
+Method Detail
+ +

+getURL

+
+public URL getURL()
+
+
Returns the URL +

+

+ +
Returns:
the URL
+
+
+
+ +

+getProtocol

+
+public String getProtocol()
+
+
Return the protocol from the URL. this is needed, so that HTTPS works + as expected. +

+

+ +
Returns:
protocol extracted from url
+
+
+
+ +

+getBindingHost

+
+public String getBindingHost()
+
+
Return the host in the WSDL binding address +

+

+ +
Returns:
host extracted from url
+
+
+
+ +

+getBindingPath

+
+public String getBindingPath()
+
+
Return the path in the WSDL for the binding address +

+

+ +
Returns:
path extracted from url
+
+
+
+ +

+getBindingPort

+
+public int getBindingPort()
+
+
Return the port for the binding address +

+

+ +
Returns:
port extracted from url
+
+
+
+ +

+getBinding

+
+public String getBinding()
+
+
Returns the binding point for the webservice. Right now it naively + assumes there's only one binding point with numerous soap operations. +

+

+ +
Returns:
String
+
+
+
+ +

+connect

+
+protected void connect()
+                throws IOException
+
+
Method is used internally to connect to the URL. It's protected; + therefore external classes should use parse to get the resource at the + given location. +

+

+ +
Throws: +
IOException - when I/O error occurs
+
+
+
+ +

+close

+
+protected void close()
+
+
We try to close the connection to make sure it doesn't hang around. +

+

+
+
+
+
+ +

+buildDocument

+
+protected void buildDocument()
+                      throws ParserConfigurationException,
+                             IOException,
+                             SAXException
+
+
Method is used internally to parse the InputStream and build the document + using javax.xml.parser API. +

+

+ +
Throws: +
ParserConfigurationException - When building DocumentBuilder fails +
IOException - when reading the document fails +
SAXException - when parsing the document fails
+
+
+
+ +

+parse

+
+public void parse()
+           throws WSDLException
+
+
Call this method to retrieve the WSDL. This method must be called, + otherwise a connection to the URL won't be made and the stream won't be + parsed. +

+

+ +
Throws: +
WSDLException - when parsing fails
+
+
+
+ +

+getWebMethods

+
+public String[] getWebMethods()
+
+
Get a list of the web methods as a string array. +

+

+ +
Returns:
list of web methods
+
+
+
+ +

+getSoapAction

+
+public String getSoapAction(String key)
+
+
Return the soap action matching the operation name. +

+

+
Parameters:
key - name of the operation +
Returns:
associated action
+
+
+
+ +

+getWSDLDocument

+
+public Document getWSDLDocument()
+
+
Get the wsdl document. +

+

+ +
Returns:
wsdl document
+
+
+
+ +

+getSOAPBindings

+
+public Object[] getSOAPBindings()
+
+
Method will look at the binding nodes and see if the first child is a + soap:binding. If it is, it adds it to an array. +

+

+ +
Returns:
Node[]
+
+
+
+ +

+getOperations

+
+public Object[] getOperations()
+
+
Look at the bindings with soap operations and get the soap operations. + Since WSDL may describe multiple bindings and each binding may have + multiple soap operations, we iterate through the binding nodes with a + first child that is a soap binding. If a WSDL doesn't use the same + formatting convention, it is possible we may not get a list of all the + soap operations. If that is the case, getSOAPBindings() will need to be + changed. I should double check the WSDL spec to see what the official + requirement is. Another option is to get all operation nodes and check to + see if the first child is a soap:operation. The benefit of not getting + all operation nodes is WSDL could contain duplicate operations that are + not SOAP methods. If there are a large number of methods and half of them + are HTTP operations, getting all operations could slow things down. +

+

+ +
Returns:
Node[]
+
+
+
+ +

+getSoapActionName

+
+public String getSoapActionName(String soapAction)
+
+
return the "wsdl method name" from a soap action +

+

+
Parameters:
soapAction - the soap action +
Returns:
the associated "wsdl method name" or null if not found
+
+
+
+ +

+main

+
+public static void main(String[] args)
+
+
Simple test for the class uses bidbuy.wsdl from Apache's soap driver + examples. +

+

+
Parameters:
args - standard arguments for a main class (not used here)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/util/accesslog/Filter.html b/docs/api/org/apache/jmeter/protocol/http/util/accesslog/Filter.html new file mode 100644 index 00000000000..5c511717ac7 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/util/accesslog/Filter.html @@ -0,0 +1,392 @@ + + + + + +Filter (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.util.accesslog +
+Interface Filter

+
+
All Known Implementing Classes:
LogFilter, SessionFilter
+
+
+
+
public interface Filter
+ + +

+Description:
+
+ Filter interface is designed to make it easier to use Access Logs for JMeter + test plans. Normally, a person would have to clean a log file manually and + create the JMeter requests. The access log parse utility uses the filter to + include/exclude files by either file name or regular expression pattern. +

+ It will also be used by HttpSamplers that use access logs. Using access logs + is intended as a way to simulate production traffic. For functional testing, + it is better to use the standard functional testing tools in JMeter. Using + access logs can also reduce the amount of memory needed to run large test + plans.
+

+ +

+

+
Version:
+
$Revision: 1649516 $
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidexcludeFiles(String[] filenames) + +
+          Exclude all files in the array
+ voidexcludePattern(String[] regexp) + +
+          Exclude any log entry that contains the following regular expression + pattern.
+ Stringfilter(String text) + +
+          In case the user wants to replace the file extension, log parsers should + call this method.
+ voidincludeFiles(String[] filenames) + +
+          Include all files in the array.
+ voidincludePattern(String[] regexp) + +
+          Include any log entry that contains the following regular expression + pattern.
+ booleanisFiltered(String path, + TestElement sampler) + +
+          Log parser will call this method to see if a particular entry should be + filtered or not.
+ voidreset() + +
+          Tell the filter when the parsing has reached the end of the log file and + is about to begin again.
+ voidsetReplaceExtension(String oldextension, + String newextension) + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+setReplaceExtension

+
+void setReplaceExtension(String oldextension,
+                         String newextension)
+
+
+
Parameters:
oldextension - old extension
newextension - new extension
+
+
+
+ +

+includeFiles

+
+void includeFiles(String[] filenames)
+
+
Include all files in the array. +

+

+
Parameters:
filenames - names of files to include
+
+
+
+ +

+excludeFiles

+
+void excludeFiles(String[] filenames)
+
+
Exclude all files in the array +

+

+
Parameters:
filenames - names of files to exclude
+
+
+
+ +

+includePattern

+
+void includePattern(String[] regexp)
+
+
Include any log entry that contains the following regular expression + pattern. +

+

+
Parameters:
regexp - list of regexp that match entries that should be included
+
+
+
+ +

+excludePattern

+
+void excludePattern(String[] regexp)
+
+
Exclude any log entry that contains the following regular expression + pattern. +

+

+
Parameters:
regexp - list of regexp that match entries that should be excluded
+
+
+
+ +

+isFiltered

+
+boolean isFiltered(String path,
+                   TestElement sampler)
+
+
Log parser will call this method to see if a particular entry should be + filtered or not. +

+

+
Parameters:
path - log line that should be checked if it should to be filtered + out
sampler - TestElement in which the line would be added +
Returns:
boolean true if line should be filtered out, + false otherwise
+
+
+
+ +

+filter

+
+String filter(String text)
+
+
In case the user wants to replace the file extension, log parsers should + call this method. This is useful for regression test plans. If a website + is migrating from one platform to another and the file extension changes, + the filter provides an easy way to do it without spending a lot of time. +

+

+
Parameters:
text - log line to be filtered +
Returns:
String
+
+
+
+ +

+reset

+
+void reset()
+
+
Tell the filter when the parsing has reached the end of the log file and + is about to begin again. Gives the filter a chance to adjust it's values, + if needed. +

+

+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/util/accesslog/Generator.html b/docs/api/org/apache/jmeter/protocol/http/util/accesslog/Generator.html new file mode 100644 index 00000000000..4016649d80c --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/util/accesslog/Generator.html @@ -0,0 +1,495 @@ + + + + + +Generator (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.util.accesslog +
+Interface Generator

+
+
All Known Implementing Classes:
StandardGenerator
+
+
+
+
public interface Generator
+ + +

+Description:
+
+ Generator is a base interface that defines the minimum methods needed to + implement a concrete generator. The reason for creating this interface is + eventually JMeter could use the logs directly rather than pre- process the + logs into a JMeter .jmx file. In situations where a test plan simulates load + from production logs, it is more efficient for JMeter to use the logs + directly. +

+ From first hand experience, loading a test plan with 10K or more Requests + requires a lot of memory. It's important to keep in mind this type of testing + is closer to functional and regression testing than the typical stress tests. + Typically, this kind of testing is most useful for search sites that get a + large number of requests per day, but the request parameters vary + dramatically. E-commerce sites typically have limited inventory, therefore it + is better to design test plans that use data from the database. +

+

+ +

+

+
Version:
+
$Revision: 1649531 $
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclose() + +
+          close the generator
+ ObjectgenerateRequest() + +
+          The method is responsible for calling the necessary methods to generate a + valid request.
+ voidreset() + +
+          The purpose of the reset is so Samplers can explicitly call reset to + create a new instance of HTTPSampler.
+ voidsave() + +
+          If the generator is converting the logs to a .jmx file, save should be + called.
+ voidsetHost(String host) + +
+          The host is the name of the server.
+ voidsetLabel(String label) + +
+          This is the label for the request, which is used in the logs and results.
+ voidsetMethod(String post_get) + +
+          The method is the HTTP request method.
+ voidsetParams(NVPair[] params) + +
+          Set the request parameters
+ voidsetPath(String path) + +
+          The path is the web page you want to test.
+ voidsetPort(int port) + +
+          The default port for HTTP is 80, but not all servers run on that port.
+ voidsetQueryString(String querystring) + +
+          Set the querystring for the request if the method is GET.
+ voidsetSourceLogs(String sourcefile) + +
+          The source logs is the location where the access log resides.
+ voidsetTarget(Object target) + +
+          The target can be either a java.io.File or a Sampler.
+  +

+ + + + + + + + +
+Method Detail
+ +

+close

+
+void close()
+
+
close the generator +

+

+
+
+
+
+ +

+setHost

+
+void setHost(String host)
+
+
The host is the name of the server. +

+

+
Parameters:
host - name of the server
+
+
+
+ +

+setLabel

+
+void setLabel(String label)
+
+
This is the label for the request, which is used in the logs and results. +

+

+
Parameters:
label - label of the request
+
+
+
+ +

+setMethod

+
+void setMethod(String post_get)
+
+
The method is the HTTP request method. It's normally POST or GET. +

+

+
Parameters:
post_get - method of the HTTP request
+
+
+
+ +

+setParams

+
+void setParams(NVPair[] params)
+
+
Set the request parameters +

+

+
Parameters:
params - request parameter
+
+
+
+ +

+setPath

+
+void setPath(String path)
+
+
The path is the web page you want to test. +

+

+
Parameters:
path - path of the web page
+
+
+
+ +

+setPort

+
+void setPort(int port)
+
+
The default port for HTTP is 80, but not all servers run on that port. +

+

+
Parameters:
port - - + port number
+
+
+
+ +

+setQueryString

+
+void setQueryString(String querystring)
+
+
Set the querystring for the request if the method is GET. +

+

+
Parameters:
querystring - query string of the request
+
+
+
+ +

+setSourceLogs

+
+void setSourceLogs(String sourcefile)
+
+
The source logs is the location where the access log resides. +

+

+
Parameters:
sourcefile - path to the access log file
+
+
+
+ +

+setTarget

+
+void setTarget(Object target)
+
+
The target can be either a java.io.File or a Sampler. We make it generic, + so that later on we can use these classes directly from a HTTPSampler. +

+

+
Parameters:
target - target to generate into
+
+
+
+ +

+generateRequest

+
+Object generateRequest()
+
+
The method is responsible for calling the necessary methods to generate a + valid request. If the generator is used to pre-process access logs, the + method wouldn't return anything. If the generator is used by a control + element, it should return the correct Sampler class with the required + fields set. +

+

+ +
Returns:
prefilled sampler
+
+
+
+ +

+save

+
+void save()
+
+
If the generator is converting the logs to a .jmx file, save should be + called. +

+

+
+
+
+
+ +

+reset

+
+void reset()
+
+
The purpose of the reset is so Samplers can explicitly call reset to + create a new instance of HTTPSampler. +

+

+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/util/accesslog/LogFilter.html b/docs/api/org/apache/jmeter/protocol/http/util/accesslog/LogFilter.html new file mode 100644 index 00000000000..883afa7486c --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/util/accesslog/LogFilter.html @@ -0,0 +1,971 @@ + + + + + +LogFilter (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.util.accesslog +
+Class LogFilter

+
+java.lang.Object
+  extended by org.apache.jmeter.protocol.http.util.accesslog.LogFilter
+
+
+
All Implemented Interfaces:
Serializable, Filter
+
+
+
+
public class LogFilter
extends Object
implements Filter, Serializable
+ + +

+Description:
+
+ LogFilter is a basic implementation of Filter interface. This implementation + will keep a record of the filtered strings to avoid repeating the process + unnecessarily. +

+ The current implementation supports replacing the file extension. The reason + for supporting this is from first hand experience porting an existing website + to Tomcat + JSP. Later on we may want to provide the ability to replace the + whole filename. If the need materializes, we can add it later. +

+ Example of how to use it is provided in the main method. An example is + provided below. +

+ testf = new LogFilter();
+ String[] incl = { "hello.html", "index.html", "/index.jsp" };
+ String[] thefiles = { "/test/hello.jsp", "/test/one/hello.html", "hello.jsp", "hello.htm", "/test/open.jsp",
+      "/test/open.html", "/index.jsp", "/index.jhtml", "newindex.jsp", "oldindex.jsp", "oldindex1.jsp",
+      "oldindex2.jsp", "oldindex3.jsp", "oldindex4.jsp", "oldindex5.jsp", "oldindex6.jsp", "/test/index.htm" };
+ testf.excludeFiles(incl);
+ System.out.println(" ------------ exclude test -------------");
+ for (int idx = 0; idx < thefiles.length; idx++) {
+  boolean fl = testf.isFiltered(thefiles[idx]);
+  String line = testf.filter(thefiles[idx]);
+  if (line != null) {
+     System.out.println("the file: " + line);
+  }
+ }
+ 
+ + As a general note. Both isFiltered and filter() have to be called. Calling + either one will not produce the desired result. isFiltered(string) will tell + you if a string should be filtered. The second step is to filter the string, + which will return null if it is filtered and replace any part of the string + that should be replaced. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+protected  booleanCHANGEEXT + +
+           
+protected  String[]EXCFILE + +
+           
+protected  ArrayList<org.apache.oro.text.regex.Pattern>EXCPATTERNS + +
+           
+protected  String[]EXCPTRN + +
+           
+protected  booleanFILEFILTER + +
+           
+protected  String[]INCFILE + +
+           
+protected  ArrayList<org.apache.oro.text.regex.Pattern>INCPATTERNS + +
+           
+protected  String[]INCPTRN + +
+           
+protected  StringNEWEXT + +
+           
+protected  StringNEWFILE + +
+           
+protected  StringOLDEXT + +
+           
+protected  booleanPTRNFILTER + +
+           
+protected  booleanUSEFILE + +
+           
+  + + + + + + + + + + +
+Constructor Summary
LogFilter() + +
+          The default constructor is empty
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ org.apache.oro.text.regex.PatterncreatePattern(String pattern) + +
+          create a new pattern object from the string.
+ booleanexcFile(String text) + +
+          Method implements the logic for filtering file name exclusion.
+ voidexcludeFiles(String[] filenames) + +
+          Give the filter a list of files to exclude
+ voidexcludePattern(String[] regexp) + +
+          Give the filter a set of regular expressions to filter with for + exclusion.
+protected  booleanexcPattern(String text) + +
+          The method assumes by default the text is not excluded.
+ Stringfilter(String text) + +
+          The current implementation checks the boolean if the text should be used + or not. isFilter( string) has to be called first.
+protected  booleanfilterFile(String file) + +
+          Filter the file.
+protected  booleanfilterPattern(String text) + +
+          The current implementation assumes the user has checked the regular + expressions so that they don't cancel each other.
+ booleanincFile(String text) + +
+          Method implements the logic for filtering file name inclusion.
+ voidincludeFiles(String[] filenames) + +
+          Give the filter a list of files to include
+ voidincludePattern(String[] regexp) + +
+          Give the filter a set of regular expressions to filter with for + inclusion.
+protected  booleanincPattern(String text) + +
+          By default, the method assumes the entry is not included, unless it + matches.
+ booleanisFiltered(String path, + TestElement el) + +
+          In the case of log filtering the important thing is whether the log entry + should be used.
+ booleanreplaceExtension(String text) + +
+          Method uses indexOf to replace the old extension with the new extension.
+ voidreset() + +
+          Tell the filter when the parsing has reached the end of the log file and + is about to begin again.
+ voidsetReplaceExtension(String oldext, + String newext) + +
+          The method will replace the file extension with the new one.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+CHANGEEXT

+
+protected boolean CHANGEEXT
+
+
+
+
+
+ +

+OLDEXT

+
+protected String OLDEXT
+
+
+
+
+
+ +

+NEWEXT

+
+protected String NEWEXT
+
+
+
+
+
+ +

+INCFILE

+
+protected String[] INCFILE
+
+
+
+
+
+ +

+EXCFILE

+
+protected String[] EXCFILE
+
+
+
+
+
+ +

+FILEFILTER

+
+protected boolean FILEFILTER
+
+
+
+
+
+ +

+USEFILE

+
+protected boolean USEFILE
+
+
+
+
+
+ +

+INCPTRN

+
+protected String[] INCPTRN
+
+
+
+
+
+ +

+EXCPTRN

+
+protected String[] EXCPTRN
+
+
+
+
+
+ +

+PTRNFILTER

+
+protected boolean PTRNFILTER
+
+
+
+
+
+ +

+EXCPATTERNS

+
+protected ArrayList<org.apache.oro.text.regex.Pattern> EXCPATTERNS
+
+
+
+
+
+ +

+INCPATTERNS

+
+protected ArrayList<org.apache.oro.text.regex.Pattern> INCPATTERNS
+
+
+
+
+
+ +

+NEWFILE

+
+protected String NEWFILE
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+LogFilter

+
+public LogFilter()
+
+
The default constructor is empty +

+

+ + + + + + + + +
+Method Detail
+ +

+setReplaceExtension

+
+public void setReplaceExtension(String oldext,
+                                String newext)
+
+
The method will replace the file extension with the new one. You can + either provide the extension without the period ".", or with. The method + will check for period and add it if it isn't present. +

+

+
Specified by:
setReplaceExtension in interface Filter
+
+
+
Parameters:
oldext - old extension
newext - new extension
See Also:
Filter.setReplaceExtension(java.lang.String, + java.lang.String)
+
+
+
+ +

+includeFiles

+
+public void includeFiles(String[] filenames)
+
+
Give the filter a list of files to include +

+

+
Specified by:
includeFiles in interface Filter
+
+
+
Parameters:
filenames - list of files to include
See Also:
Filter.includeFiles(java.lang.String[])
+
+
+
+ +

+excludeFiles

+
+public void excludeFiles(String[] filenames)
+
+
Give the filter a list of files to exclude +

+

+
Specified by:
excludeFiles in interface Filter
+
+
+
Parameters:
filenames - list of files to exclude
See Also:
Filter.excludeFiles(java.lang.String[])
+
+
+
+ +

+includePattern

+
+public void includePattern(String[] regexp)
+
+
Give the filter a set of regular expressions to filter with for + inclusion. This method hasn't been fully implemented and test yet. The + implementation is not complete. +

+

+
Specified by:
includePattern in interface Filter
+
+
+
Parameters:
regexp - list of regular expressions
See Also:
Filter.includePattern(String[])
+
+
+
+ +

+excludePattern

+
+public void excludePattern(String[] regexp)
+
+
Give the filter a set of regular expressions to filter with for + exclusion. This method hasn't been fully implemented and test yet. The + implementation is not complete. +

+

+
Specified by:
excludePattern in interface Filter
+
+
+
Parameters:
regexp - list of regular expressions
See Also:
Filter.excludePattern(String[])
+
+
+
+ +

+isFiltered

+
+public boolean isFiltered(String path,
+                          TestElement el)
+
+
In the case of log filtering the important thing is whether the log entry + should be used. Therefore, the method will only return true if the entry + should be used. Since the interface defines both inclusion and exclusion, + that means by default inclusion filtering assumes all entries are + excluded unless it matches. In the case of exclusion filtering, it assumes + all entries are included unless it matches, which means it should be + excluded. +

+

+
Specified by:
isFiltered in interface Filter
+
+
+
Parameters:
path - path to be tested
el - TestElement in which the line would be added +
Returns:
true if entry should be excluded
See Also:
Filter.isFiltered(String, TestElement)
+
+
+
+ +

+filterFile

+
+protected boolean filterFile(String file)
+
+
Filter the file. The implementation performs the exclusion first before + the inclusion. This means if a file name is in both string arrays, the + exclusion will take priority. Depending on how users expect this to work, + we may want to change the priority so that inclusion is performed first + and exclusion second. Another possible alternative is to perform both + inclusion and exclusion. Doing so would make the most sense if the method + throws an exception and tells the user the same filename is in both the + include and exclude array. +

+

+
+
+
+
Parameters:
file - the file to filter +
Returns:
boolean
+
+
+
+ +

+incFile

+
+public boolean incFile(String text)
+
+
Method implements the logic for filtering file name inclusion. The method + iterates through the array and uses indexOf. Once it finds a match, it + won't bother with the rest of the filenames in the array. +

+

+
+
+
+
Parameters:
text - name of the file to tested (must not be null) +
Returns:
boolean include
+
+
+
+ +

+excFile

+
+public boolean excFile(String text)
+
+
Method implements the logic for filtering file name exclusion. The method + iterates through the array and uses indexOf. Once it finds a match, it + won't bother with the rest of the filenames in the array. +

+

+
+
+
+
Parameters:
text - name of the file to be tested (must not be null) +
Returns:
boolean exclude
+
+
+
+ +

+filterPattern

+
+protected boolean filterPattern(String text)
+
+
The current implementation assumes the user has checked the regular + expressions so that they don't cancel each other. The basic assumption is + the method will return true if the text should be filtered. If not, it + will return false, which means it should not be filtered. +

+

+
+
+
+
Parameters:
text - text to be checked +
Returns:
boolean
+
+
+
+ +

+incPattern

+
+protected boolean incPattern(String text)
+
+
By default, the method assumes the entry is not included, unless it + matches. In that case, it will return true. +

+

+
+
+
+
Parameters:
text - text to be checked +
Returns:
true if text is included
+
+
+
+ +

+excPattern

+
+protected boolean excPattern(String text)
+
+
The method assumes by default the text is not excluded. If the text + matches the pattern, it will then return true. +

+

+
+
+
+
Parameters:
text - text to be checked +
Returns:
true if text is excluded
+
+
+
+ +

+replaceExtension

+
+public boolean replaceExtension(String text)
+
+
Method uses indexOf to replace the old extension with the new extension. + It might be good to use regular expression, but for now this is a simple + method. The method isn't designed to replace multiple instances of the + text, since that isn't how file extensions work. If the string contains + more than one instance of the old extension, only the first instance will + be replaced. +

+

+
+
+
+
Parameters:
text - name of the file in which the extension should be replaced + (must not be null) +
Returns:
true if the extension could be replaced, + false otherwise
+
+
+
+ +

+filter

+
+public String filter(String text)
+
+
The current implementation checks the boolean if the text should be used + or not. isFilter( string) has to be called first. +

+

+
Specified by:
filter in interface Filter
+
+
+
Parameters:
text - log line to be filtered +
Returns:
String
See Also:
Filter.filter(java.lang.String)
+
+
+
+ +

+createPattern

+
+public org.apache.oro.text.regex.Pattern createPattern(String pattern)
+
+
create a new pattern object from the string. +

+

+
+
+
+
Parameters:
pattern - string representation of the perl5 compatible regex pattern +
Returns:
compiled Pattern, or null if no pattern could be + compiled
+
+
+
+ +

+reset

+
+public void reset()
+
+
Tell the filter when the parsing has reached the end of the log file and + is about to begin again. Gives the filter a chance to adjust it's values, + if needed. +

+

+
Specified by:
reset in interface Filter
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/util/accesslog/LogParser.html b/docs/api/org/apache/jmeter/protocol/http/util/accesslog/LogParser.html new file mode 100644 index 00000000000..b90841131e6 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/util/accesslog/LogParser.html @@ -0,0 +1,302 @@ + + + + + +LogParser (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.util.accesslog +
+Interface LogParser

+
+
All Known Implementing Classes:
OrderPreservingLogParser, SharedTCLogParser, TCLogParser
+
+
+
+
public interface LogParser
+ + +

+Description:
+
+ LogParser is the base interface for classes implementing concrete parse + logic. For an example of how to use the interface, look at the Tomcat access + log parser. +

+ The original log parser was written in 2 hours to parse access logs. Since + then, the design and implementation has been rewritten from scratch several + times to make it more generic and extensible. The first version was hard + coded and written over the weekend. +

+

+ +

+

+
Version:
+
$Revision: 1649516 $
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclose() + +
+          close the any streams or readers.
+ intparseAndConfigure(int count, + TestElement el) + +
+          the method will parse the given number of lines.
+ voidsetFilter(Filter filter) + +
+          We allow for filters, so that users can simply point to an Access log + without having to clean it up.
+ voidsetSourceFile(String source) + +
+          The method is provided to make it easy to dynamically create new classes + using Class.newInstance().
+  +

+ + + + + + + + +
+Method Detail
+ +

+close

+
+void close()
+
+
close the any streams or readers. +

+

+
+
+
+
+ +

+parseAndConfigure

+
+int parseAndConfigure(int count,
+                      TestElement el)
+
+
the method will parse the given number of lines. Pass "-1" to parse the + entire file. If the end of the file is reached without parsing a line, a + 0 is returned. If the method is subsequently called again, it will + restart parsing at the beginning. +

+

+
Parameters:
count - max lines to parse, or -1 for the entire file
el - TestElement to read lines into +
Returns:
number of lines parsed
+
+
+
+ +

+setFilter

+
+void setFilter(Filter filter)
+
+
We allow for filters, so that users can simply point to an Access log + without having to clean it up. This makes it significantly easier and + reduces the amount of work. Plus I'm lazy, so going through a log file to + clean it up is a bit tedious. One example of this is using the filter to + exclude any log entry that has a 505 response code. +

+

+
Parameters:
filter - Filter to use
+
+
+
+ +

+setSourceFile

+
+void setSourceFile(String source)
+
+
The method is provided to make it easy to dynamically create new classes + using Class.newInstance(). Then the access log file is set using this + method. +

+

+
Parameters:
source - name of the access log file
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/util/accesslog/NVPair.html b/docs/api/org/apache/jmeter/protocol/http/util/accesslog/NVPair.html new file mode 100644 index 00000000000..d3ef701d7e6 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/util/accesslog/NVPair.html @@ -0,0 +1,400 @@ + + + + + +NVPair (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.util.accesslog +
+Class NVPair

+
+java.lang.Object
+  extended by org.apache.jmeter.protocol.http.util.accesslog.NVPair
+
+
+
+
public class NVPair
extends Object
+ + +

+Description:
+
+

+ +

+

+
Version:
+
$Revision: 1648732 $
+
+
+ +

+ + + + + + + + + + + + + + + +
+Field Summary
+protected  StringNAME + +
+           
+protected  StringVALUE + +
+           
+  + + + + + + + + + + + + + +
+Constructor Summary
NVPair() + +
+           
NVPair(String name, + String value) + +
+          The constructor takes a name and value which represent HTTP request + parameters.
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetName() + +
+          Return the name
+ StringgetValue() + +
+          Return the value
+ voidsetName(String name) + +
+          Set the name
+ voidsetValue(String value) + +
+          Set the value
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+NAME

+
+protected String NAME
+
+
+
+
+
+ +

+VALUE

+
+protected String VALUE
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+NVPair

+
+public NVPair()
+
+
+
+ +

+NVPair

+
+public NVPair(String name,
+              String value)
+
+
The constructor takes a name and value which represent HTTP request + parameters. +

+

+
Parameters:
name - name of the request parameter
value - value of the request parameter
+
+ + + + + + + + +
+Method Detail
+ +

+setName

+
+public void setName(String name)
+
+
Set the name +

+

+
Parameters:
name - name of the request parameter
+
+
+
+ +

+setValue

+
+public void setValue(String value)
+
+
Set the value +

+

+
Parameters:
value - value of the request parameter
+
+
+
+ +

+getName

+
+public String getName()
+
+
Return the name +

+

+ +
Returns:
name
+
+
+
+ +

+getValue

+
+public String getValue()
+
+
Return the value +

+

+ +
Returns:
value
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/util/accesslog/OrderPreservingLogParser.html b/docs/api/org/apache/jmeter/protocol/http/util/accesslog/OrderPreservingLogParser.html new file mode 100644 index 00000000000..78ad9410d5e --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/util/accesslog/OrderPreservingLogParser.html @@ -0,0 +1,313 @@ + + + + + +OrderPreservingLogParser (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.util.accesslog +
+Class OrderPreservingLogParser

+
+java.lang.Object
+  extended by org.apache.jmeter.protocol.http.util.accesslog.TCLogParser
+      extended by org.apache.jmeter.protocol.http.util.accesslog.SharedTCLogParser
+          extended by org.apache.jmeter.protocol.http.util.accesslog.OrderPreservingLogParser
+
+
+
All Implemented Interfaces:
Cloneable, LogParser, TestCloneable
+
+
+
+
public class OrderPreservingLogParser
extends SharedTCLogParser
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.protocol.http.util.accesslog.TCLogParser
decode, FILENAME, FILTER, GET, HEAD, log, POST, READER, RMETHOD, SOURCE, URL_PATH, useFILE
+  + + + + + + + + + + + + + +
+Constructor Summary
OrderPreservingLogParser() + +
+           
OrderPreservingLogParser(String source) + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ intparseAndConfigure(int count, + TestElement el) + +
+          parse a set number of lines from the access log.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.protocol.http.util.accesslog.SharedTCLogParser
clone, close, parse, parse
+ + + + + + + +
Methods inherited from class org.apache.jmeter.protocol.http.util.accesslog.TCLogParser
checkMethod, checkParamFormat, checkURL, cleanURL, convertStringToJMRequest, convertStringtoNVPair, decodeParameterValue, parse, parseLine, parseOneParameter, parseParameters, setDecodeParameterValues, setFilter, setSourceFile, setUseParsedFile, stripFile, tokenize
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+OrderPreservingLogParser

+
+public OrderPreservingLogParser()
+
+
+
+ +

+OrderPreservingLogParser

+
+public OrderPreservingLogParser(String source)
+
+
+ + + + + + + + +
+Method Detail
+ +

+parseAndConfigure

+
+public int parseAndConfigure(int count,
+                             TestElement el)
+
+
parse a set number of lines from the access log. Keep in mind the number + of lines parsed will depend the filter and number of lines in the log. + The method returns the actual lines parsed. +

+

+
Specified by:
parseAndConfigure in interface LogParser
Overrides:
parseAndConfigure in class TCLogParser
+
+
+
Parameters:
count - number of max lines to read
el - TestElement to read lines into +
Returns:
lines parsed
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/util/accesslog/SessionFilter.html b/docs/api/org/apache/jmeter/protocol/http/util/accesslog/SessionFilter.html new file mode 100644 index 00000000000..78a7a095293 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/util/accesslog/SessionFilter.html @@ -0,0 +1,667 @@ + + + + + +SessionFilter (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.util.accesslog +
+Class SessionFilter

+
+java.lang.Object
+  extended by org.apache.jmeter.protocol.http.util.accesslog.SessionFilter
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Filter, TestCloneable, ThreadListener
+
+
+
+
public class SessionFilter
extends Object
implements Filter, Serializable, TestCloneable, ThreadListener
+ + +

+Provides Session Filtering for the AccessLog Sampler. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + +
+Field Summary
+protected  Map<String,CookieManager>cookieManagers + +
+          These objects are static across multiple threads in a test, via clone() + method.
+protected  CookieManagerlastUsed + +
+           
+protected  Set<CookieManager>managersInUse + +
+           
+  + + + + + + + + + + +
+Constructor Summary
SessionFilter() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Objectclone() + +
+          
+ voidexcludeFiles(String[] filenames) + +
+          Exclude all files in the array
+ voidexcludePattern(String[] regexp) + +
+          Exclude any log entry that contains the following regular expression + pattern.
+ Stringfilter(String text) + +
+          In case the user wants to replace the file extension, log parsers should + call this method.
+protected  CookieManagergetCookieManager(String ipAddr) + +
+           
+protected  StringgetIpAddress(String logLine) + +
+           
+protected  booleanhasExcPattern(String text) + +
+           
+ voidincludeFiles(String[] filenames) + +
+          Include all files in the array.
+ voidincludePattern(String[] regexp) + +
+          Include any log entry that contains the following regular expression + pattern.
+ booleanisFiltered(String path, + TestElement sampler) + +
+          Log parser will call this method to see if a particular entry should be + filtered or not.
+ voidreset() + +
+          Tell the filter when the parsing has reached the end of the log file and + is about to begin again.
+ voidsetReplaceExtension(String oldextension, + String newextension) + +
+          
+ voidthreadFinished() + +
+          Called for each thread after all samples have been processed.
+ voidthreadStarted() + +
+          Called for each thread before starting sampling.
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+cookieManagers

+
+protected Map<String,CookieManager> cookieManagers
+
+
These objects are static across multiple threads in a test, via clone() + method. +

+

+
+
+
+ +

+managersInUse

+
+protected Set<CookieManager> managersInUse
+
+
+
+
+
+ +

+lastUsed

+
+protected CookieManager lastUsed
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+SessionFilter

+
+public SessionFilter()
+
+
+ + + + + + + + +
+Method Detail
+ +

+hasExcPattern

+
+protected boolean hasExcPattern(String text)
+
+
+
+
+
+
+
+
+
+ +

+getIpAddress

+
+protected String getIpAddress(String logLine)
+
+
+
+
+
+
+
+
+
+ +

+reset

+
+public void reset()
+
+
Tell the filter when the parsing has reached the end of the log file and + is about to begin again. Gives the filter a chance to adjust it's values, + if needed. +

+

+
Specified by:
reset in interface Filter
+
+
+
+
+
+
+ +

+clone

+
+public Object clone()
+
+
+

+

+
Specified by:
clone in interface TestCloneable
Overrides:
clone in class Object
+
+
+
+
+
+
+ +

+excludeFiles

+
+public void excludeFiles(String[] filenames)
+
+
Exclude all files in the array +

+

+
Specified by:
excludeFiles in interface Filter
+
+
+
Parameters:
filenames - names of files to exclude
+
+
+
+ +

+excludePattern

+
+public void excludePattern(String[] regexp)
+
+
Exclude any log entry that contains the following regular expression + pattern. +

+

+
Specified by:
excludePattern in interface Filter
+
+
+
Parameters:
regexp - list of regexp that match entries that should be excluded
+
+
+
+ +

+filter

+
+public String filter(String text)
+
+
In case the user wants to replace the file extension, log parsers should + call this method. This is useful for regression test plans. If a website + is migrating from one platform to another and the file extension changes, + the filter provides an easy way to do it without spending a lot of time. +

+

+
Specified by:
filter in interface Filter
+
+
+
Parameters:
text - log line to be filtered +
Returns:
String
+
+
+
+ +

+includeFiles

+
+public void includeFiles(String[] filenames)
+
+
Include all files in the array. +

+

+
Specified by:
includeFiles in interface Filter
+
+
+
Parameters:
filenames - names of files to include
+
+
+
+ +

+includePattern

+
+public void includePattern(String[] regexp)
+
+
Include any log entry that contains the following regular expression + pattern. +

+

+
Specified by:
includePattern in interface Filter
+
+
+
Parameters:
regexp - list of regexp that match entries that should be included
+
+
+
+ +

+isFiltered

+
+public boolean isFiltered(String path,
+                          TestElement sampler)
+
+
Log parser will call this method to see if a particular entry should be + filtered or not. +

+

+
Specified by:
isFiltered in interface Filter
+
+
+
Parameters:
path - log line that should be checked if it should to be filtered + out
sampler - TestElement in which the line would be added +
Returns:
boolean true if line should be filtered out, + false otherwise
+
+
+
+ +

+getCookieManager

+
+protected CookieManager getCookieManager(String ipAddr)
+
+
+
+
+
+
+
+
+
+ +

+setReplaceExtension

+
+public void setReplaceExtension(String oldextension,
+                                String newextension)
+
+
+

+

+
Specified by:
setReplaceExtension in interface Filter
+
+
+
Parameters:
oldextension - old extension
newextension - new extension
+
+
+
+ +

+threadFinished

+
+public void threadFinished()
+
+
Called for each thread after all samples have been processed. +

+

+
Specified by:
threadFinished in interface ThreadListener
+
+
+
See Also:
JMeterThread.threadFinished(org.apache.jmeter.engine.event.LoopIterationListener)
+
+
+
+ +

+threadStarted

+
+public void threadStarted()
+
+
Called for each thread before starting sampling. + WARNING: this is called before any Config test elements are processed, + so any properties they define will not have been merged in yet. +

+

+
Specified by:
threadStarted in interface ThreadListener
+
+
+
See Also:
JMeterThread.threadStarted()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/util/accesslog/SharedTCLogParser.html b/docs/api/org/apache/jmeter/protocol/http/util/accesslog/SharedTCLogParser.html new file mode 100644 index 00000000000..f948b7dbad1 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/util/accesslog/SharedTCLogParser.html @@ -0,0 +1,383 @@ + + + + + +SharedTCLogParser (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.util.accesslog +
+Class SharedTCLogParser

+
+java.lang.Object
+  extended by org.apache.jmeter.protocol.http.util.accesslog.TCLogParser
+      extended by org.apache.jmeter.protocol.http.util.accesslog.SharedTCLogParser
+
+
+
All Implemented Interfaces:
Cloneable, LogParser, TestCloneable
+
+
+
Direct Known Subclasses:
OrderPreservingLogParser
+
+
+
+
public class SharedTCLogParser
extends TCLogParser
implements TestCloneable
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.protocol.http.util.accesslog.TCLogParser
decode, FILENAME, FILTER, GET, HEAD, log, POST, READER, RMETHOD, SOURCE, URL_PATH, useFILE
+  + + + + + + + + + + + + + +
+Constructor Summary
SharedTCLogParser() + +
+           
SharedTCLogParser(String source) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Objectclone() + +
+          
+ voidclose() + +
+          close the any streams or readers.
+protected  intparse(FileServer breader, + TestElement el, + int parseCount) + +
+          The method is responsible for reading each line, and breaking out of the + while loop if a set number of lines is given.
+ intparse(TestElement el, + int parseCount) + +
+          parse the entire file.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.protocol.http.util.accesslog.TCLogParser
checkMethod, checkParamFormat, checkURL, cleanURL, convertStringToJMRequest, convertStringtoNVPair, decodeParameterValue, parse, parseAndConfigure, parseLine, parseOneParameter, parseParameters, setDecodeParameterValues, setFilter, setSourceFile, setUseParsedFile, stripFile, tokenize
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SharedTCLogParser

+
+public SharedTCLogParser()
+
+
+
+ +

+SharedTCLogParser

+
+public SharedTCLogParser(String source)
+
+
+ + + + + + + + +
+Method Detail
+ +

+clone

+
+public Object clone()
+
+
+

+

+
Specified by:
clone in interface TestCloneable
Overrides:
clone in class Object
+
+
+
+
+
+
+ +

+parse

+
+public int parse(TestElement el,
+                 int parseCount)
+
+
parse the entire file. +

+

+
Overrides:
parse in class TCLogParser
+
+
+
Parameters:
el - TestElement to read the lines into
parseCount - number of max lines to read +
Returns:
number of read lines, or -1 if an error occurred while reading
+
+
+
+ +

+parse

+
+protected int parse(FileServer breader,
+                    TestElement el,
+                    int parseCount)
+
+
The method is responsible for reading each line, and breaking out of the + while loop if a set number of lines is given. +

+

+
+
+
+
Parameters:
breader - reader to read lines from
el - TestElement in which to add the parsed lines
parseCount - max number of lines to parse +
Returns:
number of read lines
+
+
+
+ +

+close

+
+public void close()
+
+
close the any streams or readers. +

+

+
Specified by:
close in interface LogParser
Overrides:
close in class TCLogParser
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/util/accesslog/StandardGenerator.html b/docs/api/org/apache/jmeter/protocol/http/util/accesslog/StandardGenerator.html new file mode 100644 index 00000000000..ebbc63eda72 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/util/accesslog/StandardGenerator.html @@ -0,0 +1,730 @@ + + + + + +StandardGenerator (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.util.accesslog +
+Class StandardGenerator

+
+java.lang.Object
+  extended by org.apache.jmeter.protocol.http.util.accesslog.StandardGenerator
+
+
+
All Implemented Interfaces:
Serializable, Generator
+
+
+
+
public class StandardGenerator
extends Object
implements Generator, Serializable
+ + +

+Description:
+
+ StandardGenerator will be the default generator used to pre-process logs. It + uses JMeter classes to generate the .jmx file. The first version of the + utility only generated the HTTP requests as XML, but it required users to + copy and paste it into a blank jmx file. Doing that way isn't flexible and + would require changes to keep the format in sync. +

+ This version is a completely new class with a totally different + implementation, since generating the XML is no longer handled by the + generator. The generator is only responsible for handling the parsed results + and passing it to the appropriate JMeter class. +

+ Notes:
+ the class needs to first create a thread group and add it to the HashTree. + Then the samplers should be added to the thread group. Listeners shouldn't be + added and should be left up to the user. One option is to provide parameters, + so the user can pass the desired listener to the tool. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+protected  FileFILE + +
+           
+protected  StringFILENAME + +
+           
+protected  OutputStreamOUTPUT + +
+           
+protected  HTTPSamplerBaseSAMPLE + +
+           
+protected  FileWriterWRITER + +
+           
+  + + + + + + + + + + + + + +
+Constructor Summary
StandardGenerator() + +
+          The constructor is used by GUI and samplers to generate request objects.
StandardGenerator(String file) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclose() + +
+          close the generator
+ ObjectgenerateRequest() + +
+          The method is responsible for calling the necessary methods to generate a + valid request.
+protected  voidinitStream() + +
+          Create the FileWriter to save the JMX file.
+ voidreset() + +
+          Reset the HTTPSampler to make sure it is a new instance.
+ voidsave() + +
+          save must be called to write the jmx file, otherwise it will not be + saved.
+ voidsetHost(String host) + +
+          The host is the name of the server.
+ voidsetLabel(String label) + +
+          This is the label for the request, which is used in the logs and results.
+ voidsetMethod(String post_get) + +
+          The method is the HTTP request method.
+ voidsetParams(NVPair[] params) + +
+          Set the request parameters
+ voidsetPath(String path) + +
+          The path is the web page you want to test.
+ voidsetPort(int port) + +
+          The default port for HTTP is 80, but not all servers run on that port.
+ voidsetQueryString(String querystring) + +
+          Set the querystring for the request if the method is GET.
+ voidsetSourceLogs(String sourcefile) + +
+          The source logs is the location where the access log resides.
+ voidsetTarget(Object target) + +
+          The target can be either a java.io.File or a Sampler.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+SAMPLE

+
+protected HTTPSamplerBase SAMPLE
+
+
+
+
+
+ +

+WRITER

+
+protected transient FileWriter WRITER
+
+
+
+
+
+ +

+OUTPUT

+
+protected transient OutputStream OUTPUT
+
+
+
+
+
+ +

+FILENAME

+
+protected String FILENAME
+
+
+
+
+
+ +

+FILE

+
+protected File FILE
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+StandardGenerator

+
+public StandardGenerator()
+
+
The constructor is used by GUI and samplers to generate request objects. +

+

+
+ +

+StandardGenerator

+
+public StandardGenerator(String file)
+
+
+
Parameters:
file - name of a file (TODO seems not to be used anywhere)
+
+ + + + + + + + +
+Method Detail
+ +

+initStream

+
+protected void initStream()
+
+
Create the FileWriter to save the JMX file. +

+

+
+
+
+
+
+
+
+ +

+close

+
+public void close()
+
+
close the generator +

+

+
Specified by:
close in interface Generator
+
+
+
+
+
+
+ +

+setHost

+
+public void setHost(String host)
+
+
The host is the name of the server. +

+

+
Specified by:
setHost in interface Generator
+
+
+
Parameters:
host - name of the server
+
+
+
+ +

+setLabel

+
+public void setLabel(String label)
+
+
This is the label for the request, which is used in the logs and results. +

+

+
Specified by:
setLabel in interface Generator
+
+
+
Parameters:
label - label of the request
+
+
+
+ +

+setMethod

+
+public void setMethod(String post_get)
+
+
The method is the HTTP request method. It's normally POST or GET. +

+

+
Specified by:
setMethod in interface Generator
+
+
+
Parameters:
post_get - method of the HTTP request
+
+
+
+ +

+setParams

+
+public void setParams(NVPair[] params)
+
+
Set the request parameters +

+

+
Specified by:
setParams in interface Generator
+
+
+
Parameters:
params - request parameter
+
+
+
+ +

+setPath

+
+public void setPath(String path)
+
+
The path is the web page you want to test. +

+

+
Specified by:
setPath in interface Generator
+
+
+
Parameters:
path - path of the web page
+
+
+
+ +

+setPort

+
+public void setPort(int port)
+
+
The default port for HTTP is 80, but not all servers run on that port. +

+

+
Specified by:
setPort in interface Generator
+
+
+
Parameters:
port - - + port number
+
+
+
+ +

+setQueryString

+
+public void setQueryString(String querystring)
+
+
Set the querystring for the request if the method is GET. +

+

+
Specified by:
setQueryString in interface Generator
+
+
+
Parameters:
querystring - query string of the request
+
+
+
+ +

+setSourceLogs

+
+public void setSourceLogs(String sourcefile)
+
+
The source logs is the location where the access log resides. +

+

+
Specified by:
setSourceLogs in interface Generator
+
+
+
Parameters:
sourcefile - path to the access log file
+
+
+
+ +

+setTarget

+
+public void setTarget(Object target)
+
+
The target can be either a java.io.File or a Sampler. We make it generic, + so that later on we can use these classes directly from a HTTPSampler. +

+

+
Specified by:
setTarget in interface Generator
+
+
+
Parameters:
target - target to generate into
+
+
+
+ +

+generateRequest

+
+public Object generateRequest()
+
+
The method is responsible for calling the necessary methods to generate a + valid request. If the generator is used to pre-process access logs, the + method wouldn't return anything. If the generator is used by a control + element, it should return the correct Sampler class with the required + fields set. +

+

+
Specified by:
generateRequest in interface Generator
+
+
+ +
Returns:
prefilled sampler
+
+
+
+ +

+save

+
+public void save()
+
+
save must be called to write the jmx file, otherwise it will not be + saved. +

+

+
Specified by:
save in interface Generator
+
+
+
+
+
+
+ +

+reset

+
+public void reset()
+
+
Reset the HTTPSampler to make sure it is a new instance. +

+ The purpose of the reset is so Samplers can explicitly call reset to + create a new instance of HTTPSampler. +

+

+
Specified by:
reset in interface Generator
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/util/accesslog/TCLogParser.html b/docs/api/org/apache/jmeter/protocol/http/util/accesslog/TCLogParser.html new file mode 100644 index 00000000000..b0b0228207f --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/util/accesslog/TCLogParser.html @@ -0,0 +1,1081 @@ + + + + + +TCLogParser (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.util.accesslog +
+Class TCLogParser

+
+java.lang.Object
+  extended by org.apache.jmeter.protocol.http.util.accesslog.TCLogParser
+
+
+
All Implemented Interfaces:
LogParser
+
+
+
Direct Known Subclasses:
SharedTCLogParser
+
+
+
+
public class TCLogParser
extends Object
implements LogParser
+ + +

+Description:
+
+ Currently the parser only handles GET/POST requests. It's easy enough to add + support for other request methods by changing checkMethod. The is a complete + rewrite of a tool I wrote for myself earlier. The older algorithm was basic + and did not provide the same level of flexibility I want, so I wrote a new + one using a totally new algorithm. This implementation reads one line at a + time using BufferedReader. When it gets to the end of the file and the + sampler needs to get more requests, the parser will re-initialize the + BufferedReader. The implementation uses StringTokenizer to create tokens. +

+ The parse algorithm is the following: +

    +
  1. cleans the entry by looking for backslash "\" +
  2. looks to see if GET or POST is in the line +
  3. tokenizes using quotes " +
  4. finds the token with the request method +
  5. gets the string of the token and tokenizes it using space +
  6. finds the first token beginning with slash character +
  7. tokenizes the string using question mark "?" +
  8. get the path from the first token +
  9. returns the second token and checks it for parameters +
  10. tokenizes the string using ampersand "&" +
  11. parses each token to name/value pairs +
+

+ Extending this class is fairly simple. Most access logs use the same format + starting from the request method. Therefore, changing the implementation of + cleanURL(string) method should be sufficient to support new log formats. + Tomcat uses common log format, so any webserver that uses the format should + work with this parser. Servers that are known to use non standard formats are + IIS and Netscape. +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+protected  booleandecode + +
+          by default, we probably should decode the parameter values
+protected  StringFILENAME + +
+           
+protected  FilterFILTER + +
+          Handles to supporting classes
+static StringGET + +
+           
+static StringHEAD + +
+           
+protected static org.apache.log.Loggerlog + +
+           
+static StringPOST + +
+           
+protected  BufferedReaderREADER + +
+           
+protected  StringRMETHOD + +
+          protected members *
+protected  FileSOURCE + +
+           
+protected  StringURL_PATH + +
+          The path to the access log file
+protected  booleanuseFILE + +
+           
+  + + + + + + + + + + + + + +
+Constructor Summary
TCLogParser() + +
+           
TCLogParser(String source) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleancheckMethod(String text) + +
+          The method checks for POST, GET and HEAD methods currently.
+ booleancheckParamFormat(String text) + +
+          Checks the string to see if it contains "&" and "=".
+ booleancheckURL(String url) + +
+          Checks the string to make sure it has /path/file?
+ StringcleanURL(String entry) + +
+          The method cleans the URL using the following algorithm.
+ voidclose() + +
+          close the any streams or readers.
+ voidconvertStringToJMRequest(String text, + TestElement el) + +
+          Convert a single line into XML
+ NVPair[]convertStringtoNVPair(String stringparams) + +
+          Parse the string parameters into NVPair[] array.
+ booleandecodeParameterValue() + +
+          decode the parameter values is to true by default
+protected  intparse(BufferedReader breader, + TestElement el, + int parseCount) + +
+          The method is responsible for reading each line, and breaking out of the + while loop if a set number of lines is given.
+ intparse(TestElement el, + int parseCount) + +
+          parse the entire file.
+ intparseAndConfigure(int count, + TestElement el) + +
+          parse a set number of lines from the access log.
+protected  intparseLine(String line, + TestElement el) + +
+          parseLine calls the other parse methods to parse the given text.
+protected  NVPairparseOneParameter(String parameter) + +
+          Method expects name and value to be separated by an equal sign "=".
+protected  List<String>parseParameters(String parameters) + +
+          Method uses StringTokenizer to convert the string into single pairs.
+ voidsetDecodeParameterValues(boolean decodeparams) + +
+          by default decode is set to true. if the parameters shouldn't be + decoded, call the method with false
+ voidsetFilter(Filter filter) + +
+          Use the filter to include/exclude files in the access logs.
+ voidsetSourceFile(String source) + +
+          Sets the source file.
+ voidsetUseParsedFile(boolean file) + +
+          Calls this method to set whether or not to use the path in the log.
+ StringstripFile(String url, + TestElement el) + +
+          Tokenize the URL into two tokens.
+ StringTokenizertokenize(String line, + String delim) + +
+          Parses the line using java.util.StringTokenizer.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+log

+
+protected static final org.apache.log.Logger log
+
+
+
+
+
+ +

+GET

+
+public static final String GET
+
+
+
See Also:
Constant Field Values
+
+
+ +

+POST

+
+public static final String POST
+
+
+
See Also:
Constant Field Values
+
+
+ +

+HEAD

+
+public static final String HEAD
+
+
+
See Also:
Constant Field Values
+
+
+ +

+RMETHOD

+
+protected String RMETHOD
+
+
protected members * +

+

+
+
+
+ +

+URL_PATH

+
+protected String URL_PATH
+
+
The path to the access log file +

+

+
+
+
+ +

+useFILE

+
+protected boolean useFILE
+
+
+
+
+
+ +

+SOURCE

+
+protected File SOURCE
+
+
+
+
+
+ +

+FILENAME

+
+protected String FILENAME
+
+
+
+
+
+ +

+READER

+
+protected BufferedReader READER
+
+
+
+
+
+ +

+FILTER

+
+protected Filter FILTER
+
+
Handles to supporting classes +

+

+
+
+
+ +

+decode

+
+protected boolean decode
+
+
by default, we probably should decode the parameter values +

+

+
+
+ + + + + + + + +
+Constructor Detail
+ +

+TCLogParser

+
+public TCLogParser()
+
+
+
+ +

+TCLogParser

+
+public TCLogParser(String source)
+
+
+
Parameters:
source - name of the source file
+
+ + + + + + + + +
+Method Detail
+ +

+setDecodeParameterValues

+
+public void setDecodeParameterValues(boolean decodeparams)
+
+
by default decode is set to true. if the parameters shouldn't be + decoded, call the method with false +

+

+
+
+
+
Parameters:
decodeparams - flag whether parameters should be decoded
+
+
+
+ +

+decodeParameterValue

+
+public boolean decodeParameterValue()
+
+
decode the parameter values is to true by default +

+

+
+
+
+ +
Returns:
true if parameter values should be decoded, false otherwise
+
+
+
+ +

+setUseParsedFile

+
+public void setUseParsedFile(boolean file)
+
+
Calls this method to set whether or not to use the path in the log. We + may want to provide the ability to filter the log file later on. By + default, the parser uses the file in the log. +

+

+
+
+
+
Parameters:
file - flag whether to use the path from the log
+
+
+
+ +

+setFilter

+
+public void setFilter(Filter filter)
+
+
Use the filter to include/exclude files in the access logs. This is + provided as a convenience and reduce the need to spend hours cleaning up + log files. +

+

+
Specified by:
setFilter in interface LogParser
+
+
+
Parameters:
filter - Filter to be used while reading the log lines
+
+
+
+ +

+setSourceFile

+
+public void setSourceFile(String source)
+
+
Sets the source file. +

+

+
Specified by:
setSourceFile in interface LogParser
+
+
+
Parameters:
source - name of the source file
+
+
+
+ +

+parse

+
+public int parse(TestElement el,
+                 int parseCount)
+
+
parse the entire file. +

+

+
+
+
+
Parameters:
el - TestElement to read the lines into
parseCount - number of max lines to read +
Returns:
number of read lines, or -1 if an error occurred while reading
+
+
+
+ +

+parseAndConfigure

+
+public int parseAndConfigure(int count,
+                             TestElement el)
+
+
parse a set number of lines from the access log. Keep in mind the number + of lines parsed will depend on the filter and number of lines in the log. + The method returns the actual number of lines parsed. +

+

+
Specified by:
parseAndConfigure in interface LogParser
+
+
+
Parameters:
count - number of lines to read
el - TestElement to read lines into +
Returns:
lines parsed
+
+
+
+ +

+parse

+
+protected int parse(BufferedReader breader,
+                    TestElement el,
+                    int parseCount)
+
+
The method is responsible for reading each line, and breaking out of the + while loop if a set number of lines is given.
+ Note: empty lines will not be counted +

+

+
+
+
+
Parameters:
breader - BufferedReader to read lines from
el - TestElement to read lines into
parseCount - number of lines to read +
Returns:
number of lines parsed
+
+
+
+ +

+parseLine

+
+protected int parseLine(String line,
+                        TestElement el)
+
+
parseLine calls the other parse methods to parse the given text. +

+

+
+
+
+
Parameters:
line - single line to be parsed
el - TestElement in which the line will be added +
Returns:
number of lines parsed (zero or one, actually)
+
+
+
+ +

+cleanURL

+
+public String cleanURL(String entry)
+
+
The method cleans the URL using the following algorithm. +
    +
  1. check for double quotes +
  2. check the request method +
  3. tokenize using double quotes +
  4. find first token containing request method +
  5. tokenize string using space +
  6. find first token that begins with "/" +
+ Example Tomcat log entry: +

+ 127.0.0.1 - - [08/Jan/2003:07:03:54 -0500] "GET /addrbook/ HTTP/1.1" 200 + 1981 +

+ would result in the extracted url /addrbook/ +

+

+
+
+
+
Parameters:
entry - line from which the url is to be extracted +
Returns:
cleaned url
+
+
+
+ +

+checkMethod

+
+public boolean checkMethod(String text)
+
+
The method checks for POST, GET and HEAD methods currently. + The other methods aren't supported yet. +

+

+
+
+
+
Parameters:
text - text to be checked for HTTP method +
Returns:
true if method is supported, false otherwise
+
+
+
+ +

+stripFile

+
+public String stripFile(String url,
+                        TestElement el)
+
+
Tokenize the URL into two tokens. If the URL has more than one "?", the + parse may fail. Only the first two tokens are used. The first token is + automatically parsed and set at URL_PATH. +

+

+
+
+
+
Parameters:
url - url which should be stripped from parameters
el - TestElement to parse url into +
Returns:
String presenting the parameters, or null when none where found
+
+
+
+ +

+checkURL

+
+public boolean checkURL(String url)
+
+
Checks the string to make sure it has /path/file?name=value format. If + the string doesn't contains a "?", it will return false. +

+

+
+
+
+
Parameters:
url - url to check for parameters +
Returns:
true if url contains a ?, + false otherwise
+
+
+
+ +

+checkParamFormat

+
+public boolean checkParamFormat(String text)
+
+
Checks the string to see if it contains "&" and "=". If it does, return + true, so that it can be parsed. +

+

+
+
+
+
Parameters:
text - text to be checked for & and = +
Returns:
true if text contains both & + and =, false otherwise
+
+
+
+ +

+convertStringToJMRequest

+
+public void convertStringToJMRequest(String text,
+                                     TestElement el)
+
+
Convert a single line into XML +

+

+
+
+
+
Parameters:
text - to be be converted
el - HTTPSamplerBase which consumes the text
+
+
+
+ +

+convertStringtoNVPair

+
+public NVPair[] convertStringtoNVPair(String stringparams)
+
+
Parse the string parameters into NVPair[] array. Once they are parsed, it + is returned. The method uses parseOneParameter(string) to convert each + pair. +

+

+
+
+
+
Parameters:
stringparams - String with parameters to be parsed +
Returns:
array of NVPairs
+
+
+
+ +

+parseOneParameter

+
+protected NVPair parseOneParameter(String parameter)
+
+
Method expects name and value to be separated by an equal sign "=". The + method uses StringTokenizer to make a NVPair object. If there happens to + be more than one "=" sign, the others are ignored. The chance of a string + containing more than one is unlikely and would not conform to HTTP spec. + I should double check the protocol spec to make sure this is accurate. +

+

+
+
+
+
Parameters:
parameter - to be parsed +
Returns:
NVPair with the parsed name and value of the parameter
+
+
+
+ +

+parseParameters

+
+protected List<String> parseParameters(String parameters)
+
+
Method uses StringTokenizer to convert the string into single pairs. The + string should conform to HTTP protocol spec, which means the name/value + pairs are separated by the ampersand symbol "&". Someone could write the + querystrings by hand, but that would be round about and go against the + purpose of this utility. +

+

+
+
+
+
Parameters:
parameters - string to be parsed +
Returns:
List of name/value pairs
+
+
+
+ +

+tokenize

+
+public StringTokenizer tokenize(String line,
+                                String delim)
+
+
Parses the line using java.util.StringTokenizer. +

+

+
+
+
+
Parameters:
line - line to be parsed
delim - delimiter +
Returns:
StringTokenizer constructed with line and delim
+
+
+
+ +

+close

+
+public void close()
+
+
Description copied from interface: LogParser
+
close the any streams or readers. +

+

+
Specified by:
close in interface LogParser
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/util/accesslog/package-frame.html b/docs/api/org/apache/jmeter/protocol/http/util/accesslog/package-frame.html new file mode 100644 index 00000000000..117e17d55cf --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/util/accesslog/package-frame.html @@ -0,0 +1,57 @@ + + + + + +org.apache.jmeter.protocol.http.util.accesslog (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.protocol.http.util.accesslog + + + + +
+Interfaces  + +
+Filter +
+Generator +
+LogParser
+ + + + + + +
+Classes  + +
+LogFilter +
+NVPair +
+OrderPreservingLogParser +
+SessionFilter +
+SharedTCLogParser +
+StandardGenerator +
+TCLogParser
+ + + + diff --git a/docs/api/org/apache/jmeter/protocol/http/util/accesslog/package-summary.html b/docs/api/org/apache/jmeter/protocol/http/util/accesslog/package-summary.html new file mode 100644 index 00000000000..bf6dd9b638a --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/util/accesslog/package-summary.html @@ -0,0 +1,215 @@ + + + + + +org.apache.jmeter.protocol.http.util.accesslog (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.protocol.http.util.accesslog +

+ + + + + + + + + + + + + + + + + +
+Interface Summary
FilterDescription:
+
+ Filter interface is designed to make it easier to use Access Logs for JMeter + test plans.
GeneratorDescription:
+
+ Generator is a base interface that defines the minimum methods needed to + implement a concrete generator.
LogParserDescription:
+
+ LogParser is the base interface for classes implementing concrete parse + logic.
+  + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
LogFilterDescription:
+
+ LogFilter is a basic implementation of Filter interface.
NVPairDescription:
+
OrderPreservingLogParser 
SessionFilterProvides Session Filtering for the AccessLog Sampler.
SharedTCLogParser 
StandardGeneratorDescription:
+
+ StandardGenerator will be the default generator used to pre-process logs.
TCLogParserDescription:
+
+ Currently the parser only handles GET/POST requests.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/util/accesslog/package-tree.html b/docs/api/org/apache/jmeter/protocol/http/util/accesslog/package-tree.html new file mode 100644 index 00000000000..040fef7ecba --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/util/accesslog/package-tree.html @@ -0,0 +1,163 @@ + + + + + +org.apache.jmeter.protocol.http.util.accesslog Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.protocol.http.util.accesslog +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+
    +
  • org.apache.jmeter.protocol.http.util.accesslog.Filter
  • org.apache.jmeter.protocol.http.util.accesslog.Generator
  • org.apache.jmeter.protocol.http.util.accesslog.LogParser
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/util/package-frame.html b/docs/api/org/apache/jmeter/protocol/http/util/package-frame.html new file mode 100644 index 00000000000..5a0762a5978 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/util/package-frame.html @@ -0,0 +1,82 @@ + + + + + +org.apache.jmeter.protocol.http.util (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.protocol.http.util + + + + +
+Interfaces  + +
+HTTPConstantsInterface
+ + + + + + +
+Classes  + +
+Base64Encoder +
+ConversionUtils +
+DOMPool +
+EncoderCache +
+HC4TrustAllSSLSocketFactory +
+HTTPArgument +
+HTTPConstants +
+HTTPFileArg +
+HTTPFileArgs +
+HTTPResultConverter +
+LoopbackHttpClientSocketFactory +
+LoopbackHTTPSocket +
+SlowHC4SocketFactory +
+SlowHC4SSLSocketFactory +
+SlowHttpClientSocketFactory +
+WSDLHelper
+ + + + + + +
+Exceptions  + +
+WSDLException
+ + + + diff --git a/docs/api/org/apache/jmeter/protocol/http/util/package-summary.html b/docs/api/org/apache/jmeter/protocol/http/util/package-summary.html new file mode 100644 index 00000000000..f8d6aed3c61 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/util/package-summary.html @@ -0,0 +1,245 @@ + + + + + +org.apache.jmeter.protocol.http.util (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.protocol.http.util +

+ + + + + + + + + +
+Interface Summary
HTTPConstantsInterfaceConstants used in HTTP, mainly header names.
+  + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
Base64EncoderThis class provides an implementation of Base64 encoding without relying on + the the sun.* packages.
ConversionUtilsGeneral purpose conversion utilities related to HTTP/HTML
DOMPoolThe purpose of this class is to cache the DOM Documents in memory and by-pass + parsing.
EncoderCache 
HC4TrustAllSSLSocketFactoryApache HttpClient protocol factory to generate SSL sockets
HTTPArgument 
HTTPConstantsConstants used in HTTP, mainly header names.
HTTPFileArgClass representing a file parameter for http upload.
HTTPFileArgsA set of HTTPFileArg objects.
HTTPResultConverterClass for XStream conversion of HTTPResult
LoopbackHttpClientSocketFactoryCommons HttpClient protocol factory to generate Loopback HTTP sockets
LoopbackHTTPSocket 
SlowHC4SocketFactoryApache HttpClient protocol factory to generate "slow" sockets for emulating dial-up modems
SlowHC4SSLSocketFactoryApache HttpClient protocol factory to generate "slow" SSL sockets for emulating dial-up modems
SlowHttpClientSocketFactoryCommons HttpClient protocol factory to generate "slow" sockets for emulating dial-up modems
WSDLHelperFor now I use DOM for WSDLHelper, but it would be more efficient to use JAXB + to generate an object model for WSDL and use it to perform serialization and + deserialization.
+  + +

+ + + + + + + + + +
+Exception Summary
WSDLExceptionCreated on: Jun 3, 2003
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/util/package-tree.html b/docs/api/org/apache/jmeter/protocol/http/util/package-tree.html new file mode 100644 index 00000000000..13065b0459f --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/util/package-tree.html @@ -0,0 +1,189 @@ + + + + + +org.apache.jmeter.protocol.http.util Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.protocol.http.util +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/visualizers/RequestViewHTTP.html b/docs/api/org/apache/jmeter/protocol/http/visualizers/RequestViewHTTP.html new file mode 100644 index 00000000000..d912afa2c93 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/visualizers/RequestViewHTTP.html @@ -0,0 +1,413 @@ + + + + + +RequestViewHTTP (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.http.visualizers +
+Class RequestViewHTTP

+
+java.lang.Object
+  extended by org.apache.jmeter.protocol.http.visualizers.RequestViewHTTP
+
+
+
All Implemented Interfaces:
RequestView
+
+
+
+
public class RequestViewHTTP
extends Object
implements RequestView
+ + +

+Specializer panel to view a HTTP request parsed +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
RequestViewHTTP() + +
+          Pane to view HTTP request sample in view results tree
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclearData() + +
+          Clear all data in panel
+static StringdecodeQuery(String query) + +
+          Decode a query string
+ StringgetLabel() + +
+          Get the label.
+ JPanelgetPanel() + +
+          Get the panel
+static Map<String,String>getQueryMap(String query) + +
+           
+ voidinit() + +
+          Init the panel
+ voidsetSamplerResult(Object objectResult) + +
+          Put the result bean to display in panel
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+RequestViewHTTP

+
+public RequestViewHTTP()
+
+
Pane to view HTTP request sample in view results tree +

+

+ + + + + + + + +
+Method Detail
+ +

+init

+
+public void init()
+
+
Description copied from interface: RequestView
+
Init the panel +

+

+
Specified by:
init in interface RequestView
+
+
+
+
+
+
+ +

+clearData

+
+public void clearData()
+
+
Description copied from interface: RequestView
+
Clear all data in panel +

+

+
Specified by:
clearData in interface RequestView
+
+
+
+
+
+
+ +

+setSamplerResult

+
+public void setSamplerResult(Object objectResult)
+
+
Description copied from interface: RequestView
+
Put the result bean to display in panel +

+

+
Specified by:
setSamplerResult in interface RequestView
+
+
+
Parameters:
objectResult - result to display
+
+
+
+ +

+getQueryMap

+
+public static Map<String,String> getQueryMap(String query)
+
+
+
+
+
+
Parameters:
query - query to parse for param and value pairs +
Returns:
Map params and Svalue
+
+
+
+ +

+decodeQuery

+
+public static String decodeQuery(String query)
+
+
Decode a query string +

+

+
+
+
+
Parameters:
query - to decode +
Returns:
a decode query string
+
+
+
+ +

+getPanel

+
+public JPanel getPanel()
+
+
Description copied from interface: RequestView
+
Get the panel +

+

+
Specified by:
getPanel in interface RequestView
+
+
+ +
Returns:
the panel viewer
+
+
+
+ +

+getLabel

+
+public String getLabel()
+
+
Description copied from interface: RequestView
+
Get the label. Use as name for bottom tab +

+

+
Specified by:
getLabel in interface RequestView
+
+
+ +
Returns:
the label's panel
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/visualizers/package-frame.html b/docs/api/org/apache/jmeter/protocol/http/visualizers/package-frame.html new file mode 100644 index 00000000000..1dc3cfa250a --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/visualizers/package-frame.html @@ -0,0 +1,30 @@ + + + + + +org.apache.jmeter.protocol.http.visualizers (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.protocol.http.visualizers + + + + +
+Classes  + +
+RequestViewHTTP
+ + + + diff --git a/docs/api/org/apache/jmeter/protocol/http/visualizers/package-summary.html b/docs/api/org/apache/jmeter/protocol/http/visualizers/package-summary.html new file mode 100644 index 00000000000..906cb4ff5e0 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/visualizers/package-summary.html @@ -0,0 +1,153 @@ + + + + + +org.apache.jmeter.protocol.http.visualizers (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.protocol.http.visualizers +

+ + + + + + + + + +
+Class Summary
RequestViewHTTPSpecializer panel to view a HTTP request parsed
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/http/visualizers/package-tree.html b/docs/api/org/apache/jmeter/protocol/http/visualizers/package-tree.html new file mode 100644 index 00000000000..0ef55fa45e2 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/http/visualizers/package-tree.html @@ -0,0 +1,150 @@ + + + + + +org.apache.jmeter.protocol.http.visualizers Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.protocol.http.visualizers +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/java/config/JavaConfig.html b/docs/api/org/apache/jmeter/protocol/java/config/JavaConfig.html new file mode 100644 index 00000000000..45d386ef3b1 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/java/config/JavaConfig.html @@ -0,0 +1,465 @@ + + + + + +JavaConfig (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.java.config +
+Class JavaConfig

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.config.ConfigTestElement
+          extended by org.apache.jmeter.protocol.java.config.JavaConfig
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, ConfigElement, Searchable, TestElement
+
+
+
+
public class JavaConfig
extends ConfigTestElement
implements Serializable
+ + +

+The JavaConfig class contains the configuration data necessary + for the Java protocol. This data is used to configure a + JavaSamplerClient instance to + perform performance test samples. +

+ +

+

+
Version:
+
$Revision: 905028 $
+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.config.ConfigTestElement
PASSWORD, USERNAME
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
JavaConfig() + +
+          Constructor for the JavaConfig object
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddArgument(String name, + String value) + +
+          Adds an argument to the list of arguments for this JavaConfig object.
+ ArgumentsgetArguments() + +
+          Gets the arguments for this JavaConfig object.
+ StringgetClassname() + +
+          Gets the class name attribute of the JavaConfig object.
+ voidremoveArguments() + +
+          Removes all of the arguments associated with this JavaConfig object.
+ voidsetArguments(Arguments args) + +
+          Set all of the arguments for this JavaConfig object.
+ voidsetClassname(String classname) + +
+          Sets the class name attribute of the JavaConfig object.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.config.ConfigTestElement
addConfigElement, addTestElement, expectsModification
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.config.ConfigElement
clone
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+JavaConfig

+
+public JavaConfig()
+
+
Constructor for the JavaConfig object +

+

+ + + + + + + + +
+Method Detail
+ +

+setClassname

+
+public void setClassname(String classname)
+
+
Sets the class name attribute of the JavaConfig object. This is the class + name of the + JavaSamplerClient + implementation which will be used to execute the test. +

+

+
+
+
+
Parameters:
classname - the new classname value
+
+
+
+ +

+getClassname

+
+public String getClassname()
+
+
Gets the class name attribute of the JavaConfig object. This is the class + name of the + JavaSamplerClient + implementation which will be used to execute the test. +

+

+
+
+
+ +
Returns:
the classname value
+
+
+
+ +

+addArgument

+
+public void addArgument(String name,
+                        String value)
+
+
Adds an argument to the list of arguments for this JavaConfig object. The + JavaSamplerClient + implementation can access these arguments through the + JavaSamplerContext. +

+

+
+
+
+
Parameters:
name - the name of the argument to be added
value - the value of the argument to be added
+
+
+
+ +

+removeArguments

+
+public void removeArguments()
+
+
Removes all of the arguments associated with this JavaConfig object. +

+

+
+
+
+
+
+
+
+ +

+setArguments

+
+public void setArguments(Arguments args)
+
+
Set all of the arguments for this JavaConfig object. This will replace + any previously added arguments. The + JavaSamplerClient + implementation can access these arguments through the + JavaSamplerContext. +

+

+
+
+
+
Parameters:
args - the new arguments
+
+
+
+ +

+getArguments

+
+public Arguments getArguments()
+
+
Gets the arguments for this JavaConfig object. The + JavaSamplerClient + implementation can access these arguments through the + JavaSamplerContext. +

+

+
+
+
+ +
Returns:
the arguments
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/java/config/gui/JavaConfigGui.html b/docs/api/org/apache/jmeter/protocol/java/config/gui/JavaConfigGui.html new file mode 100644 index 00000000000..891408462ed --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/java/config/gui/JavaConfigGui.html @@ -0,0 +1,595 @@ + + + + + +JavaConfigGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.java.config.gui +
+Class JavaConfigGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.config.gui.AbstractConfigGui
+                          extended by org.apache.jmeter.protocol.java.config.gui.JavaConfigGui
+
+
+
All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
+
public class JavaConfigGui
extends AbstractConfigGui
implements ActionListener
+ + +

+The JavaConfigGui class provides the user interface for the + JavaConfig object. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + + + + +
+Constructor Summary
JavaConfigGui() + +
+          Create a new JavaConfigGui as a standalone component.
JavaConfigGui(boolean displayNameField) + +
+          Create a new JavaConfigGui as either a standalone or an embedded + component.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidactionPerformed(ActionEvent evt) + +
+          Handle action events for this component.
+ voidclearGui() + +
+          Provides a default implementation that resets the name field to the value of + getStaticLabel(), reset comment and sets enabled to true.
+ voidconfigure(TestElement config) + +
+          A newly created gui component can be initialized with the contents of a + Test Element object by calling this method.
+ TestElementcreateTestElement() + +
+          JMeter test components are separated into a model and a GUI + representation.
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ voidmodifyTestElement(TestElement config) + +
+          GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.config.gui.AbstractConfigGui
createPopupMenu, getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+JavaConfigGui

+
+public JavaConfigGui()
+
+
Create a new JavaConfigGui as a standalone component. +

+

+
+ +

+JavaConfigGui

+
+public JavaConfigGui(boolean displayNameField)
+
+
Create a new JavaConfigGui as either a standalone or an embedded + component. +

+

+
Parameters:
displayNameField - tells whether the component name should be displayed with the + GUI. If true, this is a standalone component. If false, this + component is embedded in some other component.
+
+ + + + + + + + +
+Method Detail
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+
Specified by:
getLabelResource in interface JMeterGUIComponent
+
+
+ +
Returns:
the resource name
+
+
+
+ +

+actionPerformed

+
+public void actionPerformed(ActionEvent evt)
+
+
Handle action events for this component. This method currently handles + events for the classname combo box. +

+

+
Specified by:
actionPerformed in interface ActionListener
+
+
+
Parameters:
evt - the ActionEvent to be handled
+
+
+
+ +

+configure

+
+public void configure(TestElement config)
+
+
A newly created gui component can be initialized with the contents of a + Test Element object by calling this method. The component is responsible + for querying the Test Element object for the relevant information to + display in its GUI. +

+ AbstractJMeterGuiComponent provides a partial implementation of this + method, setting the name of the component and its enabled status. + Subclasses should override this method, performing their own + configuration as needed, but also calling this super-implementation. +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class AbstractJMeterGuiComponent
+
+
+
Parameters:
config - the TestElement to configure
+
+
+
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
JMeter test components are separated into a model and a GUI + representation. The model holds the data and the GUI displays it. The GUI + class is responsible for knowing how to create and initialize with data + the model class that it knows how to display, and this method is called + when new test elements are created. +

+

+
Specified by:
createTestElement in interface JMeterGUIComponent
+
+
+ +
Returns:
the Test Element object that the GUI component represents.
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement config)
+
+
GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components. This method should + overwrite whatever data is currently in the TestElement as it is called + after a user has filled out the form elements in the gui with new + information. +

+

+
Specified by:
modifyTestElement in interface JMeterGUIComponent
+
+
+
Parameters:
config - the TestElement to modify
+
+
+
+ +

+clearGui

+
+public void clearGui()
+
+
Description copied from class: AbstractJMeterGuiComponent
+
Provides a default implementation that resets the name field to the value of + getStaticLabel(), reset comment and sets enabled to true. Your GUI may need more things + cleared, in which case you should override, clear the extra fields, and + still call super.clearGui(). +

+

+
Specified by:
clearGui in interface ClearGui
Overrides:
clearGui in class AbstractJMeterGuiComponent
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/java/config/gui/package-frame.html b/docs/api/org/apache/jmeter/protocol/java/config/gui/package-frame.html new file mode 100644 index 00000000000..3b056112d84 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/java/config/gui/package-frame.html @@ -0,0 +1,30 @@ + + + + + +org.apache.jmeter.protocol.java.config.gui (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.protocol.java.config.gui + + + + +
+Classes  + +
+JavaConfigGui
+ + + + diff --git a/docs/api/org/apache/jmeter/protocol/java/config/gui/package-summary.html b/docs/api/org/apache/jmeter/protocol/java/config/gui/package-summary.html new file mode 100644 index 00000000000..bb852204e5a --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/java/config/gui/package-summary.html @@ -0,0 +1,154 @@ + + + + + +org.apache.jmeter.protocol.java.config.gui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.protocol.java.config.gui +

+ + + + + + + + + +
+Class Summary
JavaConfigGuiThe JavaConfigGui class provides the user interface for the + JavaConfig object.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/java/config/gui/package-tree.html b/docs/api/org/apache/jmeter/protocol/java/config/gui/package-tree.html new file mode 100644 index 00000000000..c99c4cdb1e2 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/java/config/gui/package-tree.html @@ -0,0 +1,166 @@ + + + + + +org.apache.jmeter.protocol.java.config.gui Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.protocol.java.config.gui +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/java/config/package-frame.html b/docs/api/org/apache/jmeter/protocol/java/config/package-frame.html new file mode 100644 index 00000000000..28dfb92e44d --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/java/config/package-frame.html @@ -0,0 +1,30 @@ + + + + + +org.apache.jmeter.protocol.java.config (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.protocol.java.config + + + + +
+Classes  + +
+JavaConfig
+ + + + diff --git a/docs/api/org/apache/jmeter/protocol/java/config/package-summary.html b/docs/api/org/apache/jmeter/protocol/java/config/package-summary.html new file mode 100644 index 00000000000..58f051a5011 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/java/config/package-summary.html @@ -0,0 +1,154 @@ + + + + + +org.apache.jmeter.protocol.java.config (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.protocol.java.config +

+ + + + + + + + + +
+Class Summary
JavaConfigThe JavaConfig class contains the configuration data necessary + for the Java protocol.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/java/config/package-tree.html b/docs/api/org/apache/jmeter/protocol/java/config/package-tree.html new file mode 100644 index 00000000000..de139c2e65e --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/java/config/package-tree.html @@ -0,0 +1,156 @@ + + + + + +org.apache.jmeter.protocol.java.config Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.protocol.java.config +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/java/control/gui/BeanShellSamplerGui.html b/docs/api/org/apache/jmeter/protocol/java/control/gui/BeanShellSamplerGui.html new file mode 100644 index 00000000000..77ed63e24db --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/java/control/gui/BeanShellSamplerGui.html @@ -0,0 +1,525 @@ + + + + + +BeanShellSamplerGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.java.control.gui +
+Class BeanShellSamplerGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.samplers.gui.AbstractSamplerGui
+                          extended by org.apache.jmeter.protocol.java.control.gui.BeanShellSamplerGui
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
+
public class BeanShellSamplerGui
extends AbstractSamplerGui
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
BeanShellSamplerGui() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclearGui() + +
+          Implements JMeterGUIComponent.clearGui
+ voidconfigure(TestElement element) + +
+          A newly created gui component can be initialized with the contents of a + Test Element object by calling this method.
+ TestElementcreateTestElement() + +
+          JMeter test components are separated into a model and a GUI + representation.
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ voidmodifyTestElement(TestElement te) + +
+          Modifies a given TestElement to mirror the data in the gui components.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.samplers.gui.AbstractSamplerGui
createPopupMenu, getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+BeanShellSamplerGui

+
+public BeanShellSamplerGui()
+
+
+ + + + + + + + +
+Method Detail
+ +

+configure

+
+public void configure(TestElement element)
+
+
Description copied from class: AbstractJMeterGuiComponent
+
A newly created gui component can be initialized with the contents of a + Test Element object by calling this method. The component is responsible + for querying the Test Element object for the relevant information to + display in its GUI. +

+ AbstractJMeterGuiComponent provides a partial implementation of this + method, setting the name of the component and its enabled status. + Subclasses should override this method, performing their own + configuration as needed, but also calling this super-implementation. +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class AbstractJMeterGuiComponent
+
+
+
Parameters:
element - the TestElement to configure
+
+
+
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
Description copied from interface: JMeterGUIComponent
+
JMeter test components are separated into a model and a GUI + representation. The model holds the data and the GUI displays it. The GUI + class is responsible for knowing how to create and initialize with data + the model class that it knows how to display, and this method is called + when new test elements are created. +

+

+ +
Returns:
the Test Element object that the GUI component represents.
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement te)
+
+
Modifies a given TestElement to mirror the data in the gui components. +

+

+
Parameters:
te - the TestElement to modify
See Also:
JMeterGUIComponent.modifyTestElement(TestElement)
+
+
+
+ +

+clearGui

+
+public void clearGui()
+
+
Implements JMeterGUIComponent.clearGui +

+

+
Specified by:
clearGui in interface ClearGui
Overrides:
clearGui in class AbstractJMeterGuiComponent
+
+
+
+
+
+
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+ +
Returns:
the resource name
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/java/control/gui/JUnitTestSamplerGui.html b/docs/api/org/apache/jmeter/protocol/java/control/gui/JUnitTestSamplerGui.html new file mode 100644 index 00000000000..81baf4657fa --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/java/control/gui/JUnitTestSamplerGui.html @@ -0,0 +1,625 @@ + + + + + +JUnitTestSamplerGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.java.control.gui +
+Class JUnitTestSamplerGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.samplers.gui.AbstractSamplerGui
+                          extended by org.apache.jmeter.protocol.java.control.gui.JUnitTestSamplerGui
+
+
+
All Implemented Interfaces:
ActionListener, ItemListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, ChangeListener, ClearGui, JMeterGUIComponent, Printable
+
+
+
+
public class JUnitTestSamplerGui
extends AbstractSamplerGui
implements ChangeListener, ActionListener, ItemListener
+ + +

+The JUnitTestSamplerGui class provides the user interface + for the JUnitSampler. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
JUnitTestSamplerGui() + +
+          Constructor for JUnitTestSamplerGui
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidactionPerformed(ActionEvent evt) + +
+          Handle action events for this component.
+ voidclearGui() + +
+          Provides a default implementation that resets the name field to the value of + getStaticLabel(), reset comment and sets enabled to true.
+ voidconfigure(TestElement el) + +
+          A newly created gui component can be initialized with the contents of a + Test Element object by calling this method.
+ TestElementcreateTestElement() + +
+          JMeter test components are separated into a model and a GUI + representation.
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ voiditemStateChanged(ItemEvent event) + +
+          Handle change events: currently handles events for the JUnit4 + checkbox, and sets up the relevant class names.
+ voidmodifyTestElement(TestElement el) + +
+          GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components.
+ voidstateChanged(ChangeEvent event) + +
+          the current implementation checks to see if the source + of the event is the filterpkg field.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.samplers.gui.AbstractSamplerGui
createPopupMenu, getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+JUnitTestSamplerGui

+
+public JUnitTestSamplerGui()
+
+
Constructor for JUnitTestSamplerGui +

+

+ + + + + + + + +
+Method Detail
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+
Specified by:
getLabelResource in interface JMeterGUIComponent
+
+
+ +
Returns:
the resource name
+
+
+
+ +

+clearGui

+
+public void clearGui()
+
+
Provides a default implementation that resets the name field to the value of + getStaticLabel(), reset comment and sets enabled to true. Your GUI may need more things + cleared, in which case you should override, clear the extra fields, and + still call super.clearGui(). +

+

+
Specified by:
clearGui in interface ClearGui
Overrides:
clearGui in class AbstractJMeterGuiComponent
+
+
+
+
+
+
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
JMeter test components are separated into a model and a GUI + representation. The model holds the data and the GUI displays it. The GUI + class is responsible for knowing how to create and initialize with data + the model class that it knows how to display, and this method is called + when new test elements are created. +

+

+
Specified by:
createTestElement in interface JMeterGUIComponent
+
+
+ +
Returns:
the Test Element object that the GUI component represents.
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement el)
+
+
GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components. This method should + overwrite whatever data is currently in the TestElement as it is called + after a user has filled out the form elements in the gui with new + information. +

+

+
Specified by:
modifyTestElement in interface JMeterGUIComponent
+
+
+
Parameters:
el - the TestElement to modify
+
+
+
+ +

+configure

+
+public void configure(TestElement el)
+
+
A newly created gui component can be initialized with the contents of a + Test Element object by calling this method. The component is responsible + for querying the Test Element object for the relevant information to + display in its GUI. +

+ AbstractJMeterGuiComponent provides a partial implementation of this + method, setting the name of the component and its enabled status. + Subclasses should override this method, performing their own + configuration as needed, but also calling this super-implementation. +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class AbstractJMeterGuiComponent
+
+
+
Parameters:
el - the TestElement to configure
+
+
+
+ +

+actionPerformed

+
+public void actionPerformed(ActionEvent evt)
+
+
Handle action events for this component. This method currently handles + events for the classname combo box, and sets up the associated method names. +

+

+
Specified by:
actionPerformed in interface ActionListener
+
+
+
Parameters:
evt - the ActionEvent to be handled
+
+
+
+ +

+itemStateChanged

+
+public void itemStateChanged(ItemEvent event)
+
+
Handle change events: currently handles events for the JUnit4 + checkbox, and sets up the relevant class names. +

+

+
Specified by:
itemStateChanged in interface ItemListener
+
+
+
+
+
+
+ +

+stateChanged

+
+public void stateChanged(ChangeEvent event)
+
+
the current implementation checks to see if the source + of the event is the filterpkg field. +

+

+
Specified by:
stateChanged in interface ChangeListener
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/java/control/gui/JavaTestSamplerGui.html b/docs/api/org/apache/jmeter/protocol/java/control/gui/JavaTestSamplerGui.html new file mode 100644 index 00000000000..a8a7cfbbb8a --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/java/control/gui/JavaTestSamplerGui.html @@ -0,0 +1,543 @@ + + + + + +JavaTestSamplerGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.java.control.gui +
+Class JavaTestSamplerGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.samplers.gui.AbstractSamplerGui
+                          extended by org.apache.jmeter.protocol.java.control.gui.JavaTestSamplerGui
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
+
public class JavaTestSamplerGui
extends AbstractSamplerGui
+ + +

+The JavaTestSamplerGui class provides the user interface for + the JavaSampler. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
JavaTestSamplerGui() + +
+          Constructor for JavaTestSamplerGui
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclearGui() + +
+          Provides a default implementation that resets the name field to the value of + getStaticLabel(), reset comment and sets enabled to true.
+ voidconfigure(TestElement el) + +
+          A newly created gui component can be initialized with the contents of a + Test Element object by calling this method.
+ TestElementcreateTestElement() + +
+          JMeter test components are separated into a model and a GUI + representation.
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ voidmodifyTestElement(TestElement sampler) + +
+          GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.samplers.gui.AbstractSamplerGui
createPopupMenu, getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+JavaTestSamplerGui

+
+public JavaTestSamplerGui()
+
+
Constructor for JavaTestSamplerGui +

+

+ + + + + + + + +
+Method Detail
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+ +
Returns:
the resource name
+
+
+
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
Description copied from interface: JMeterGUIComponent
+
JMeter test components are separated into a model and a GUI + representation. The model holds the data and the GUI displays it. The GUI + class is responsible for knowing how to create and initialize with data + the model class that it knows how to display, and this method is called + when new test elements are created. +

+

+ +
Returns:
the Test Element object that the GUI component represents.
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement sampler)
+
+
Description copied from interface: JMeterGUIComponent
+
GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components. This method should + overwrite whatever data is currently in the TestElement as it is called + after a user has filled out the form elements in the gui with new + information. +

+

+
Parameters:
sampler - the TestElement to modify
+
+
+
+ +

+configure

+
+public void configure(TestElement el)
+
+
Description copied from class: AbstractJMeterGuiComponent
+
A newly created gui component can be initialized with the contents of a + Test Element object by calling this method. The component is responsible + for querying the Test Element object for the relevant information to + display in its GUI. +

+ AbstractJMeterGuiComponent provides a partial implementation of this + method, setting the name of the component and its enabled status. + Subclasses should override this method, performing their own + configuration as needed, but also calling this super-implementation. +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class AbstractJMeterGuiComponent
+
+
+
Parameters:
el - the TestElement to configure
+
+
+
+ +

+clearGui

+
+public void clearGui()
+
+
Description copied from class: AbstractJMeterGuiComponent
+
Provides a default implementation that resets the name field to the value of + getStaticLabel(), reset comment and sets enabled to true. Your GUI may need more things + cleared, in which case you should override, clear the extra fields, and + still call super.clearGui(). +

+

+
Specified by:
clearGui in interface ClearGui
Overrides:
clearGui in class AbstractJMeterGuiComponent
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/java/control/gui/package-frame.html b/docs/api/org/apache/jmeter/protocol/java/control/gui/package-frame.html new file mode 100644 index 00000000000..a535828139c --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/java/control/gui/package-frame.html @@ -0,0 +1,34 @@ + + + + + +org.apache.jmeter.protocol.java.control.gui (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.protocol.java.control.gui + + + + +
+Classes  + +
+BeanShellSamplerGui +
+JavaTestSamplerGui +
+JUnitTestSamplerGui
+ + + + diff --git a/docs/api/org/apache/jmeter/protocol/java/control/gui/package-summary.html b/docs/api/org/apache/jmeter/protocol/java/control/gui/package-summary.html new file mode 100644 index 00000000000..3984af641b4 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/java/control/gui/package-summary.html @@ -0,0 +1,163 @@ + + + + + +org.apache.jmeter.protocol.java.control.gui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.protocol.java.control.gui +

+ + + + + + + + + + + + + + + + + +
+Class Summary
BeanShellSamplerGui 
JavaTestSamplerGuiThe JavaTestSamplerGui class provides the user interface for + the JavaSampler.
JUnitTestSamplerGuiThe JUnitTestSamplerGui class provides the user interface + for the JUnitSampler.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/java/control/gui/package-tree.html b/docs/api/org/apache/jmeter/protocol/java/control/gui/package-tree.html new file mode 100644 index 00000000000..df2b9860cc1 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/java/control/gui/package-tree.html @@ -0,0 +1,166 @@ + + + + + +org.apache.jmeter.protocol.java.control.gui Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.protocol.java.control.gui +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/java/sampler/AbstractJavaSamplerClient.html b/docs/api/org/apache/jmeter/protocol/java/sampler/AbstractJavaSamplerClient.html new file mode 100644 index 00000000000..41878fb3b0e --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/java/sampler/AbstractJavaSamplerClient.html @@ -0,0 +1,388 @@ + + + + + +AbstractJavaSamplerClient (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.java.sampler +
+Class AbstractJavaSamplerClient

+
+java.lang.Object
+  extended by org.apache.jmeter.protocol.java.sampler.AbstractJavaSamplerClient
+
+
+
All Implemented Interfaces:
JavaSamplerClient
+
+
+
Direct Known Subclasses:
JavaTest, SleepTest
+
+
+
+
public abstract class AbstractJavaSamplerClient
extends Object
implements JavaSamplerClient
+ + +

+An abstract implementation of the JavaSamplerClient interface. This + implementation provides default implementations of most of the methods in the + interface, as well as some convenience methods, in order to simplify + development of JavaSamplerClient implementations. +

+ See SleepTest for an example of + how to extend this class. +

+ While it may be necessary to make changes to the JavaSamplerClient interface + from time to time (therefore requiring changes to any implementations of this + interface), we intend to make this abstract class provide reasonable + implementations of any new methods so that subclasses do not necessarily need + to be updated for new versions. Therefore, when creating a new + JavaSamplerClient implementation, developers are encouraged to subclass this + abstract class rather than implementing the JavaSamplerClient interface + directly. Implementing JavaSamplerClient directly will continue to be + supported for cases where extending this class is not possible (for example, + when the client class is already a subclass of some other class). +

+ The runTest() method of JavaSamplerClient does not have a default + implementation here, so subclasses must define at least this method. It may + be useful to override other methods as well. +

+ +

+

+
Version:
+
$Revision: 1413958 $
+
See Also:
JavaSamplerClient.runTest(JavaSamplerContext)
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
AbstractJavaSamplerClient() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ ArgumentsgetDefaultParameters() + +
+          Provide a list of parameters which this test supports.
+protected  org.apache.log.LoggergetLogger() + +
+          Get a Logger instance which can be used by subclasses to log information.
+ voidsetupTest(JavaSamplerContext context) + +
+          Do any initialization required by this client.
+ voidteardownTest(JavaSamplerContext context) + +
+          Do any clean-up required by this test at the end of a test run.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.protocol.java.sampler.JavaSamplerClient
runTest
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+AbstractJavaSamplerClient

+
+public AbstractJavaSamplerClient()
+
+
+ + + + + + + + +
+Method Detail
+ +

+setupTest

+
+public void setupTest(JavaSamplerContext context)
+
+
Description copied from interface: JavaSamplerClient
+
Do any initialization required by this client. It is generally + recommended to do any initialization such as getting parameter values in + the setupTest method rather than the runTest method in order to add as + little overhead as possible to the test. +

+

+
Specified by:
setupTest in interface JavaSamplerClient
+
+
+
Parameters:
context - the context to run with. This provides access to + initialization parameters.
+
+
+
+ +

+teardownTest

+
+public void teardownTest(JavaSamplerContext context)
+
+
Description copied from interface: JavaSamplerClient
+
Do any clean-up required by this test at the end of a test run. +

+

+
Specified by:
teardownTest in interface JavaSamplerClient
+
+
+
Parameters:
context - the context to run with. This provides access to + initialization parameters.
+
+
+
+ +

+getDefaultParameters

+
+public Arguments getDefaultParameters()
+
+
Description copied from interface: JavaSamplerClient
+
Provide a list of parameters which this test supports. Any parameter + names and associated values returned by this method will appear in the + GUI by default so the user doesn't have to remember the exact names. The + user can add other parameters which are not listed here. If this method + returns null then no parameters will be listed. If the value for some + parameter is null then that parameter will be listed in the GUI with an + empty value. +

+

+
Specified by:
getDefaultParameters in interface JavaSamplerClient
+
+
+ +
Returns:
a specification of the parameters used by this test which should + be listed in the GUI, or null if no parameters should be listed.
+
+
+
+ +

+getLogger

+
+protected org.apache.log.Logger getLogger()
+
+
Get a Logger instance which can be used by subclasses to log information. + This is the same Logger which is used by the base JavaSampler classes + (jmeter.protocol.java). +

+

+
+
+
+ +
Returns:
a Logger instance which can be used for logging
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/java/sampler/BSFSampler.html b/docs/api/org/apache/jmeter/protocol/java/sampler/BSFSampler.html new file mode 100644 index 00000000000..97818f7e5b3 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/java/sampler/BSFSampler.html @@ -0,0 +1,358 @@ + + + + + +BSFSampler (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.java.sampler +
+Class BSFSampler

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.util.ScriptingTestElement
+          extended by org.apache.jmeter.util.BSFTestElement
+              extended by org.apache.jmeter.protocol.java.sampler.BSFSampler
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, ConfigMergabilityIndicator, Searchable, Sampler, TestBean, TestElement
+
+
+
+
public class BSFSampler
extends BSFTestElement
implements Sampler, TestBean, ConfigMergabilityIndicator
+ + +

+A sampler which understands BSF +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.util.ScriptingTestElement
scriptLanguage
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
BSFSampler() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ booleanapplies(ConfigTestElement configElement) + +
+          Does configElement apply to Sampler
+ SampleResultsample(Entry e) + +
+          Obtains statistics about the given Entry, and packages the information + into a SampleResult.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.util.BSFTestElement
evalFileOrScript, getManager, getScriptLanguage, initManager, processFileOrScript, setScriptLanguage
+ + + + + + + +
Methods inherited from class org.apache.jmeter.util.ScriptingTestElement
getFilename, getParameters, getScript, setFilename, setParameters, setScript
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.testelement.TestElement
addTestElement, canRemove, clear, clearTestElementChildren, clone, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+BSFSampler

+
+public BSFSampler()
+
+
+ + + + + + + + +
+Method Detail
+ +

+sample

+
+public SampleResult sample(Entry e)
+
+
Description copied from interface: Sampler
+
Obtains statistics about the given Entry, and packages the information + into a SampleResult. +

+

+
Specified by:
sample in interface Sampler
+
+
+
Parameters:
e - the Entry (TODO seems to be unused) +
Returns:
information about the sample
+
+
+
+ +

+applies

+
+public boolean applies(ConfigTestElement configElement)
+
+
Description copied from interface: ConfigMergabilityIndicator
+
Does configElement apply to Sampler +

+

+
Specified by:
applies in interface ConfigMergabilityIndicator
+
+
+
Parameters:
configElement - ConfigTestElement +
Returns:
boolean
See Also:
AbstractSampler.applies(org.apache.jmeter.config.ConfigTestElement)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/java/sampler/BSFSamplerBeanInfo.html b/docs/api/org/apache/jmeter/protocol/java/sampler/BSFSamplerBeanInfo.html new file mode 100644 index 00000000000..58574c447ed --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/java/sampler/BSFSamplerBeanInfo.html @@ -0,0 +1,276 @@ + + + + + +BSFSamplerBeanInfo (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.java.sampler +
+Class BSFSamplerBeanInfo

+
+java.lang.Object
+  extended by java.beans.SimpleBeanInfo
+      extended by org.apache.jmeter.testbeans.BeanInfoSupport
+          extended by org.apache.jmeter.util.ScriptingBeanInfoSupport
+              extended by org.apache.jmeter.util.BSFBeanInfoSupport
+                  extended by org.apache.jmeter.protocol.java.sampler.BSFSamplerBeanInfo
+
+
+
All Implemented Interfaces:
BeanInfo
+
+
+
+
public class BSFSamplerBeanInfo
extends BSFBeanInfoSupport
+ + +

+BSF Sampler Bean Info +

+ +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.testbeans.BeanInfoSupport
DEFAULT, MULTILINE, NOT_EXPRESSION, NOT_OTHER, NOT_UNDEFINED, RESOURCE_BUNDLE, TAGS, TEXT_LANGUAGE
+ + + + + + + +
Fields inherited from interface java.beans.BeanInfo
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32
+  + + + + + + + + + + +
+Constructor Summary
BSFSamplerBeanInfo() + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testbeans.BeanInfoSupport
createPropertyGroup, getAdditionalBeanInfo, getBeanDescriptor, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getIcon, getMethodDescriptors, getPropertyDescriptors, property, property, property, setIcon
+ + + + + + + +
Methods inherited from class java.beans.SimpleBeanInfo
loadImage
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+BSFSamplerBeanInfo

+
+public BSFSamplerBeanInfo()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/java/sampler/BeanShellSampler.html b/docs/api/org/apache/jmeter/protocol/java/sampler/BeanShellSampler.html new file mode 100644 index 00000000000..a38d16838f6 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/java/sampler/BeanShellSampler.html @@ -0,0 +1,580 @@ + + + + + +BeanShellSampler (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.java.sampler +
+Class BeanShellSampler

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.util.BeanShellTestElement
+          extended by org.apache.jmeter.protocol.java.sampler.BeanShellSampler
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, ConfigMergabilityIndicator, Searchable, Interruptible, Sampler, TestElement, TestStateListener, ThreadListener
+
+
+
+
public class BeanShellSampler
extends BeanShellTestElement
implements Sampler, Interruptible, ConfigMergabilityIndicator
+ + +

+A sampler which understands BeanShell +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static StringFILENAME + +
+           
+static StringINIT_FILE + +
+           
+static StringPARAMETERS + +
+           
+static StringRESET_INTERPRETER + +
+           
+static StringSCRIPT + +
+           
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
BeanShellSampler() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleanapplies(ConfigTestElement configElement) + +
+          Does configElement apply to Sampler
+ StringgetFilename() + +
+           
+protected  StringgetInitFileProperty() + +
+           
+ StringgetParameters() + +
+           
+ StringgetScript() + +
+          Return the script (TestBean version).
+ booleaninterrupt() + +
+          Interrupt the current operation if possible.
+ booleanisResetInterpreter() + +
+           
+ SampleResultsample(Entry e) + +
+          Obtains statistics about the given Entry, and packages the information + into a SampleResult.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.util.BeanShellTestElement
clone, getBeanShellInterpreter, processFileOrScript, readResolve, setFilename, setParameters, setResetInterpreter, setScript, testEnded, testEnded, testStarted, testStarted, threadFinished, threadStarted
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.testelement.TestElement
addTestElement, canRemove, clear, clearTestElementChildren, clone, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse
+  +

+ + + + + + + + +
+Field Detail
+ +

+FILENAME

+
+public static final String FILENAME
+
+
+
See Also:
Constant Field Values
+
+
+ +

+SCRIPT

+
+public static final String SCRIPT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PARAMETERS

+
+public static final String PARAMETERS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+INIT_FILE

+
+public static final String INIT_FILE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+RESET_INTERPRETER

+
+public static final String RESET_INTERPRETER
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+BeanShellSampler

+
+public BeanShellSampler()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getInitFileProperty

+
+protected String getInitFileProperty()
+
+
+
Specified by:
getInitFileProperty in class BeanShellTestElement
+
+
+
+
+
+
+ +

+getScript

+
+public String getScript()
+
+
Description copied from class: BeanShellTestElement
+
Return the script (TestBean version). + Must be overridden for subclasses that don't implement TestBean + otherwise the clone() method won't work. +

+

+
Overrides:
getScript in class BeanShellTestElement
+
+
+ +
Returns:
the script to execute
+
+
+
+ +

+getFilename

+
+public String getFilename()
+
+
+
Overrides:
getFilename in class BeanShellTestElement
+
+
+
+
+
+
+ +

+getParameters

+
+public String getParameters()
+
+
+
Overrides:
getParameters in class BeanShellTestElement
+
+
+
+
+
+
+ +

+isResetInterpreter

+
+public boolean isResetInterpreter()
+
+
+
Overrides:
isResetInterpreter in class BeanShellTestElement
+
+
+
+
+
+
+ +

+sample

+
+public SampleResult sample(Entry e)
+
+
Description copied from interface: Sampler
+
Obtains statistics about the given Entry, and packages the information + into a SampleResult. +

+

+
Specified by:
sample in interface Sampler
+
+
+
Parameters:
e - the Entry (TODO seems to be unused) +
Returns:
information about the sample
+
+
+
+ +

+interrupt

+
+public boolean interrupt()
+
+
Description copied from interface: Interruptible
+
Interrupt the current operation if possible. +

+

+
Specified by:
interrupt in interface Interruptible
+
+
+ +
Returns:
true if there was an operation to interrupt.
+
+
+
+ +

+applies

+
+public boolean applies(ConfigTestElement configElement)
+
+
Description copied from interface: ConfigMergabilityIndicator
+
Does configElement apply to Sampler +

+

+
Specified by:
applies in interface ConfigMergabilityIndicator
+
+
+
Parameters:
configElement - ConfigTestElement +
Returns:
boolean
See Also:
AbstractSampler.applies(org.apache.jmeter.config.ConfigTestElement)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/java/sampler/JSR223Sampler.html b/docs/api/org/apache/jmeter/protocol/java/sampler/JSR223Sampler.html new file mode 100644 index 00000000000..f7b3d9b2b60 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/java/sampler/JSR223Sampler.html @@ -0,0 +1,354 @@ + + + + + +JSR223Sampler (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.java.sampler +
+Class JSR223Sampler

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.util.ScriptingTestElement
+          extended by org.apache.jmeter.util.JSR223TestElement
+              extended by org.apache.jmeter.protocol.java.sampler.JSR223Sampler
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, ConfigMergabilityIndicator, Searchable, Sampler, TestBean, TestElement, TestStateListener
+
+
+
+
public class JSR223Sampler
extends JSR223TestElement
implements Cloneable, Sampler, TestBean, ConfigMergabilityIndicator
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.util.ScriptingTestElement
scriptLanguage
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
JSR223Sampler() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ booleanapplies(ConfigTestElement configElement) + +
+          Does configElement apply to Sampler
+ SampleResultsample(Entry entry) + +
+          Obtains statistics about the given Entry, and packages the information + into a SampleResult.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.util.JSR223TestElement
getCacheKey, getInstance, getScriptEngine, getScriptLanguage, populateBindings, processFileOrScript, setCacheKey, setScriptLanguage, testEnded, testEnded, testStarted, testStarted
+ + + + + + + +
Methods inherited from class org.apache.jmeter.util.ScriptingTestElement
getFilename, getParameters, getScript, setFilename, setParameters, setScript
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.testelement.TestElement
addTestElement, canRemove, clear, clearTestElementChildren, clone, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+JSR223Sampler

+
+public JSR223Sampler()
+
+
+ + + + + + + + +
+Method Detail
+ +

+sample

+
+public SampleResult sample(Entry entry)
+
+
Description copied from interface: Sampler
+
Obtains statistics about the given Entry, and packages the information + into a SampleResult. +

+

+
Specified by:
sample in interface Sampler
+
+
+
Parameters:
entry - the Entry (TODO seems to be unused) +
Returns:
information about the sample
+
+
+
+ +

+applies

+
+public boolean applies(ConfigTestElement configElement)
+
+
Description copied from interface: ConfigMergabilityIndicator
+
Does configElement apply to Sampler +

+

+
Specified by:
applies in interface ConfigMergabilityIndicator
+
+
+
Parameters:
configElement - ConfigTestElement +
Returns:
boolean
See Also:
AbstractSampler.applies(org.apache.jmeter.config.ConfigTestElement)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/java/sampler/JSR223SamplerBeanInfo.html b/docs/api/org/apache/jmeter/protocol/java/sampler/JSR223SamplerBeanInfo.html new file mode 100644 index 00000000000..09fdfa3c7b1 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/java/sampler/JSR223SamplerBeanInfo.html @@ -0,0 +1,281 @@ + + + + + +JSR223SamplerBeanInfo (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.java.sampler +
+Class JSR223SamplerBeanInfo

+
+java.lang.Object
+  extended by java.beans.SimpleBeanInfo
+      extended by org.apache.jmeter.testbeans.BeanInfoSupport
+          extended by org.apache.jmeter.util.ScriptingBeanInfoSupport
+              extended by org.apache.jmeter.util.JSR223BeanInfoSupport
+                  extended by org.apache.jmeter.protocol.java.sampler.JSR223SamplerBeanInfo
+
+
+
All Implemented Interfaces:
BeanInfo
+
+
+
+
public class JSR223SamplerBeanInfo
extends JSR223BeanInfoSupport
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.util.JSR223BeanInfoSupport
LANGUAGE_NAMES
+ + + + + + + +
Fields inherited from class org.apache.jmeter.testbeans.BeanInfoSupport
DEFAULT, MULTILINE, NOT_EXPRESSION, NOT_OTHER, NOT_UNDEFINED, RESOURCE_BUNDLE, TAGS, TEXT_LANGUAGE
+ + + + + + + +
Fields inherited from interface java.beans.BeanInfo
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32
+  + + + + + + + + + + +
+Constructor Summary
JSR223SamplerBeanInfo() + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testbeans.BeanInfoSupport
createPropertyGroup, getAdditionalBeanInfo, getBeanDescriptor, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getIcon, getMethodDescriptors, getPropertyDescriptors, property, property, property, setIcon
+ + + + + + + +
Methods inherited from class java.beans.SimpleBeanInfo
loadImage
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+JSR223SamplerBeanInfo

+
+public JSR223SamplerBeanInfo()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/java/sampler/JUnitSampler.html b/docs/api/org/apache/jmeter/protocol/java/sampler/JUnitSampler.html new file mode 100644 index 00000000000..a7284316533 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/java/sampler/JUnitSampler.html @@ -0,0 +1,1101 @@ + + + + + +JUnitSampler (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.java.sampler +
+Class JUnitSampler

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.samplers.AbstractSampler
+          extended by org.apache.jmeter.protocol.java.sampler.JUnitSampler
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, ConfigMergabilityIndicator, Searchable, Sampler, TestElement, ThreadListener
+
+
+
+
public class JUnitSampler
extends AbstractSampler
implements ThreadListener
+ + +

+This is a basic implementation that runs a single test method of + a JUnit test case. The current implementation will use the string + constructor first. If the test class does not declare a string + constructor, the sampler will try empty constructor. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
JUnitSampler() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleangetAppendError() + +
+          If append error is not set, by default it is set to false, + which means users have to explicitly set the sampler to + append the assert errors.
+ booleangetAppendException() + +
+          If append exception is not set, by default it is set to false.
+ StringgetClassname() + +
+          Gets the Classname attribute of the JavaConfig object
+ StringgetConstructorString() + +
+           
+ booleangetCreateOneInstancePerSample() + +
+           
+ booleangetDoNotSetUpTearDown() + +
+          if the sample shouldn't call setup/teardown, the + method returns true.
+ StringgetError() + +
+           
+ StringgetErrorCode() + +
+           
+ StringgetFailure() + +
+           
+ StringgetFailureCode() + +
+           
+ StringgetFilterString() + +
+           
+ booleangetJunit4() + +
+          Check if JUnit4 (annotations) are to be used instead of + the JUnit3 style (TestClass and specific method names)
+ StringgetMethod() + +
+           
+ StringgetSuccess() + +
+           
+ StringgetSuccessCode() + +
+           
+ SampleResultsample(Entry entry) + +
+          Obtains statistics about the given Entry, and packages the information + into a SampleResult.
+ voidsetAppendError(boolean error) + +
+          Set whether to append errors or not.
+ voidsetAppendException(boolean exc) + +
+          Set whether to append exceptions or not.
+ voidsetClassname(String classname) + +
+          Sets the Classname attribute of the JavaConfig object
+ voidsetConstructorString(String constr) + +
+          Set the string label used to create an instance of the + test with the string constructor.
+ voidsetCreateOneInstancePerSample(boolean createOneInstancePerSample) + +
+           
+ voidsetDoNotSetUpTearDown(boolean setup) + +
+          set the setup/teardown option
+ voidsetError(String error) + +
+          provide a descriptive error for the test method.
+ voidsetErrorCode(String code) + +
+          Provide an unique error code for when the test + does not pass the assert test.
+ voidsetFailure(String fail) + +
+          set the failure message
+ voidsetFailureCode(String code) + +
+          Provide some unique code to denote a type of failure
+ voidsetFilterString(String text) + +
+          set the filter string in comma separated format
+ voidsetJunit4(boolean junit4) + +
+          Set whether to use JUnit4 style or not.
+ voidsetMethod(String methodName) + +
+          Method should add the JUnit testXXX method to the list at + the end, since the sequence matters.
+ voidsetSuccess(String success) + +
+          set the success message
+ voidsetSuccessCode(String code) + +
+          Set the success code.
+ voidthreadFinished() + +
+          Called for each thread after all samples have been processed.
+ voidthreadStarted() + +
+          Set up all variables that don't change between samples.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.samplers.AbstractSampler
applies
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.testelement.TestElement
addTestElement, canRemove, clear, clearTestElementChildren, clone, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+JUnitSampler

+
+public JUnitSampler()
+
+
+ + + + + + + + +
+Method Detail
+ +

+setClassname

+
+public void setClassname(String classname)
+
+
Sets the Classname attribute of the JavaConfig object +

+

+
+
+
+
Parameters:
classname - the new Classname value
+
+
+
+ +

+getClassname

+
+public String getClassname()
+
+
Gets the Classname attribute of the JavaConfig object +

+

+
+
+
+ +
Returns:
the Classname value
+
+
+
+ +

+setConstructorString

+
+public void setConstructorString(String constr)
+
+
Set the string label used to create an instance of the + test with the string constructor. +

+

+
+
+
+
Parameters:
constr - the string passed to the constructor
+
+
+
+ +

+getConstructorString

+
+public String getConstructorString()
+
+
+
+
+
+ +
Returns:
the string passed to the string constructor
+
+
+
+ +

+getMethod

+
+public String getMethod()
+
+
+
+
+
+ +
Returns:
the name of the method to test
+
+
+
+ +

+setMethod

+
+public void setMethod(String methodName)
+
+
Method should add the JUnit testXXX method to the list at + the end, since the sequence matters. +

+

+
+
+
+
Parameters:
methodName - name of the method to test
+
+
+
+ +

+getSuccess

+
+public String getSuccess()
+
+
+
+
+
+ +
Returns:
the success message
+
+
+
+ +

+setSuccess

+
+public void setSuccess(String success)
+
+
set the success message +

+

+
+
+
+
Parameters:
success - message to be used for success
+
+
+
+ +

+getSuccessCode

+
+public String getSuccessCode()
+
+
+
+
+
+ +
Returns:
the success code defined by the user
+
+
+
+ +

+setSuccessCode

+
+public void setSuccessCode(String code)
+
+
Set the success code. The success code should + be unique. +

+

+
+
+
+
Parameters:
code - unique success code
+
+
+
+ +

+getFailure

+
+public String getFailure()
+
+
+
+
+
+ +
Returns:
the failure message
+
+
+
+ +

+setFailure

+
+public void setFailure(String fail)
+
+
set the failure message +

+

+
+
+
+
Parameters:
fail - the failure message
+
+
+
+ +

+getFailureCode

+
+public String getFailureCode()
+
+
+
+
+
+ +
Returns:
The failure code that is used by other components
+
+
+
+ +

+setFailureCode

+
+public void setFailureCode(String code)
+
+
Provide some unique code to denote a type of failure +

+

+
+
+
+
Parameters:
code - unique code to denote the type of failure
+
+
+
+ +

+getError

+
+public String getError()
+
+
+
+
+
+ +
Returns:
the descriptive error for the test
+
+
+
+ +

+setError

+
+public void setError(String error)
+
+
provide a descriptive error for the test method. For + a description of the difference between failure and + error, please refer to the + junit faq +

+

+
+
+
+
Parameters:
error - the description of the error
+
+
+
+ +

+getErrorCode

+
+public String getErrorCode()
+
+
+
+
+
+ +
Returns:
the error code for the test method. It should + be an unique error code.
+
+
+
+ +

+setErrorCode

+
+public void setErrorCode(String code)
+
+
Provide an unique error code for when the test + does not pass the assert test. +

+

+
+
+
+
Parameters:
code - unique error code
+
+
+
+ +

+getFilterString

+
+public String getFilterString()
+
+
+
+
+
+ +
Returns:
the comma separated string for the filter
+
+
+
+ +

+setFilterString

+
+public void setFilterString(String text)
+
+
set the filter string in comma separated format +

+

+
+
+
+
Parameters:
text - comma separated filter
+
+
+
+ +

+getDoNotSetUpTearDown

+
+public boolean getDoNotSetUpTearDown()
+
+
if the sample shouldn't call setup/teardown, the + method returns true. It's meant for onetimesetup + and onetimeteardown. +

+

+
+
+
+ +
Returns:
flag whether setup/teardown methods should not be called
+
+
+
+ +

+setDoNotSetUpTearDown

+
+public void setDoNotSetUpTearDown(boolean setup)
+
+
set the setup/teardown option +

+

+
+
+
+
Parameters:
setup - flag whether the setup/teardown methods should not be called
+
+
+
+ +

+getAppendError

+
+public boolean getAppendError()
+
+
If append error is not set, by default it is set to false, + which means users have to explicitly set the sampler to + append the assert errors. Because of how junit works, there + should only be one error +

+

+
+
+
+ +
Returns:
flag whether errors should be appended
+
+
+
+ +

+setAppendError

+
+public void setAppendError(boolean error)
+
+
Set whether to append errors or not. +

+

+
+
+
+
Parameters:
error - the setting to apply
+
+
+
+ +

+getAppendException

+
+public boolean getAppendException()
+
+
If append exception is not set, by default it is set to false. + Users have to explicitly set it to true to see the exceptions + in the result tree. +

+

+
+
+
+ +
Returns:
flag whether exceptions should be appended to the result tree
+
+
+
+ +

+setAppendException

+
+public void setAppendException(boolean exc)
+
+
Set whether to append exceptions or not. +

+

+
+
+
+
Parameters:
exc - the setting to apply.
+
+
+
+ +

+getJunit4

+
+public boolean getJunit4()
+
+
Check if JUnit4 (annotations) are to be used instead of + the JUnit3 style (TestClass and specific method names) +

+

+
+
+
+ +
Returns:
true if JUnit4 (annotations) are to be used. + Default is false.
+
+
+
+ +

+setJunit4

+
+public void setJunit4(boolean junit4)
+
+
Set whether to use JUnit4 style or not. +

+

+
+
+
+
Parameters:
junit4 - true if JUnit4 style is to be used.
+
+
+
+ +

+sample

+
+public SampleResult sample(Entry entry)
+
+
Obtains statistics about the given Entry, and packages the information + into a SampleResult. +

+

+
Specified by:
sample in interface Sampler
+
+
+
Parameters:
entry - the Entry (TODO seems to be unused) +
Returns:
information about the sample
+
+
+
+ +

+threadFinished

+
+public void threadFinished()
+
+
Description copied from interface: ThreadListener
+
Called for each thread after all samples have been processed. +

+

+
Specified by:
threadFinished in interface ThreadListener
+
+
+
See Also:
JMeterThread.threadFinished(org.apache.jmeter.engine.event.LoopIterationListener)
+
+
+
+ +

+threadStarted

+
+public void threadStarted()
+
+
Set up all variables that don't change between samples. +

+

+
Specified by:
threadStarted in interface ThreadListener
+
+
+
See Also:
JMeterThread.threadStarted()
+
+
+
+ +

+setCreateOneInstancePerSample

+
+public void setCreateOneInstancePerSample(boolean createOneInstancePerSample)
+
+
+
+
+
+
Parameters:
createOneInstancePerSample - flag whether a new instance for each call should be created
+
+
+
+ +

+getCreateOneInstancePerSample

+
+public boolean getCreateOneInstancePerSample()
+
+
+
+
+
+ +
Returns:
boolean create New Instance For Each Call
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/java/sampler/JavaSampler.html b/docs/api/org/apache/jmeter/protocol/java/sampler/JavaSampler.html new file mode 100644 index 00000000000..962bf8ed2ca --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/java/sampler/JavaSampler.html @@ -0,0 +1,649 @@ + + + + + +JavaSampler (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.java.sampler +
+Class JavaSampler

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.samplers.AbstractSampler
+          extended by org.apache.jmeter.protocol.java.sampler.JavaSampler
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, ConfigMergabilityIndicator, Searchable, Sampler, TestElement, TestStateListener
+
+
+
+
public class JavaSampler
extends AbstractSampler
implements TestStateListener
+ + +

+A sampler for executing custom Java code in each sample. See + JavaSamplerClient and AbstractJavaSamplerClient for + information on writing Java code to be executed by this sampler. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + +
+Field Summary
+static StringARGUMENTS + +
+          Property key representing the arguments for the JavaSamplerClient.
+static StringCLASSNAME + +
+          Property key representing the classname of the JavaSamplerClient to user.
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
JavaSampler() + +
+          Create a JavaSampler.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleanapplies(ConfigTestElement configElement) + +
+          Does configElement apply to Sampler
+ Objectclone() + +
+           
+ ArgumentsgetArguments() + +
+          Get the arguments (parameters) for the JavaSamplerClient to be executed + with.
+ StringgetClassname() + +
+          Gets the Classname attribute of the JavaConfig object
+ SampleResultsample(Entry entry) + +
+          Performs a test sample.
+ voidsetArguments(Arguments args) + +
+          Set the arguments (parameters) for the JavaSamplerClient to be executed + with.
+ voidsetClassname(String classname) + +
+          Sets the Classname attribute of the JavaConfig object
+ voidtestEnded() + +
+          Method called at the end of the test.
+ voidtestEnded(String host) + +
+           + Called once for all threads after the end of a test.
+ voidtestStarted() + +
+           + Called just before the start of the test from the main engine thread.
+ voidtestStarted(String host) + +
+           + Called just before the start of the test from the main engine thread.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.testelement.TestElement
addTestElement, canRemove, clear, clearTestElementChildren, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse
+  +

+ + + + + + + + +
+Field Detail
+ +

+CLASSNAME

+
+public static final String CLASSNAME
+
+
Property key representing the classname of the JavaSamplerClient to user. +

+

+
See Also:
Constant Field Values
+
+
+ +

+ARGUMENTS

+
+public static final String ARGUMENTS
+
+
Property key representing the arguments for the JavaSamplerClient. +

+

+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+JavaSampler

+
+public JavaSampler()
+
+
Create a JavaSampler. +

+

+ + + + + + + + +
+Method Detail
+ +

+clone

+
+public Object clone()
+
+
+
Specified by:
clone in interface TestElement
Overrides:
clone in class AbstractTestElement
+
+
+
+
+
+
+ +

+setArguments

+
+public void setArguments(Arguments args)
+
+
Set the arguments (parameters) for the JavaSamplerClient to be executed + with. +

+

+
+
+
+
Parameters:
args - the new arguments. These replace any existing arguments.
+
+
+
+ +

+getArguments

+
+public Arguments getArguments()
+
+
Get the arguments (parameters) for the JavaSamplerClient to be executed + with. +

+

+
+
+
+ +
Returns:
the arguments
+
+
+
+ +

+setClassname

+
+public void setClassname(String classname)
+
+
Sets the Classname attribute of the JavaConfig object +

+

+
+
+
+
Parameters:
classname - the new Classname value
+
+
+
+ +

+getClassname

+
+public String getClassname()
+
+
Gets the Classname attribute of the JavaConfig object +

+

+
+
+
+ +
Returns:
the Classname value
+
+
+
+ +

+sample

+
+public SampleResult sample(Entry entry)
+
+
Performs a test sample. + + The sample() method retrieves the reference to the Java + client and calls its runTest() method. +

+

+
Specified by:
sample in interface Sampler
+
+
+
Parameters:
entry - the Entry for this sample +
Returns:
test SampleResult
See Also:
JavaSamplerClient.runTest(JavaSamplerContext)
+
+
+
+ +

+testStarted

+
+public void testStarted()
+
+
Description copied from interface: TestStateListener
+

+ Called just before the start of the test from the main engine thread. + + This is before the test elements are cloned. + + Note that not all the test + variables will have been set up at this point. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testStarted in interface TestStateListener
+
+
+
See Also:
StandardJMeterEngine.run()
+
+
+
+ +

+testStarted

+
+public void testStarted(String host)
+
+
Description copied from interface: TestStateListener
+

+ Called just before the start of the test from the main engine thread. + + This is before the test elements are cloned. + + Note that not all the test + variables will have been set up at this point. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testStarted in interface TestStateListener
+
+
+
Parameters:
host - name of host
See Also:
StandardJMeterEngine.run()
+
+
+
+ +

+testEnded

+
+public void testEnded()
+
+
Method called at the end of the test. This is called only on one instance + of JavaSampler. This method will loop through all of the other + JavaSamplers which have been registered (automatically in the + constructor) and notify them that the test has ended, allowing the + JavaSamplerClients to cleanup. +

+

+
Specified by:
testEnded in interface TestStateListener
+
+
+
See Also:
StandardJMeterEngine.stopTest()
+
+
+
+ +

+testEnded

+
+public void testEnded(String host)
+
+
Description copied from interface: TestStateListener
+

+ Called once for all threads after the end of a test. + + This will use the same element instances as at the start of the test. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testEnded in interface TestStateListener
+
+
+
Parameters:
host - name of host
See Also:
StandardJMeterEngine.stopTest()
+
+
+
+ +

+applies

+
+public boolean applies(ConfigTestElement configElement)
+
+
Description copied from class: AbstractSampler
+
Does configElement apply to Sampler +

+

+
Specified by:
applies in interface ConfigMergabilityIndicator
Overrides:
applies in class AbstractSampler
+
+
+
Parameters:
configElement - ConfigTestElement +
Returns:
boolean
See Also:
AbstractSampler.applies(org.apache.jmeter.config.ConfigTestElement)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/java/sampler/JavaSamplerClient.html b/docs/api/org/apache/jmeter/protocol/java/sampler/JavaSamplerClient.html new file mode 100644 index 00000000000..39a321943e6 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/java/sampler/JavaSamplerClient.html @@ -0,0 +1,336 @@ + + + + + +JavaSamplerClient (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.java.sampler +
+Interface JavaSamplerClient

+
+
All Known Implementing Classes:
AbstractJavaSamplerClient, JavaTest, SleepTest
+
+
+
+
public interface JavaSamplerClient
+ + +

+This interface defines the interactions between the JavaSampler and external + Java programs which can be executed by JMeter. Any Java class which wants to + be executed as a JMeter test must implement this interface (either directly + or indirectly through AbstractJavaSamplerClient). +

+ JMeter will create one instance of a JavaSamplerClient implementation for + each user/thread in the test. Additional instances may be created for + internal use by JMeter (for example, to find out what parameters are + supported by the client). +

+ When the test is started, setupTest() will be called on each thread's + JavaSamplerClient instance to initialize the client. Then runTest() will be + called for each iteration of the test. Finally, teardownTest() will be called + to allow the client to do any necessary clean-up. +

+ The JMeter JavaSampler GUI allows a list of parameters to be defined for the + test. These are passed to the various test methods through the + JavaSamplerContext. A list of default parameters can be defined + through the getDefaultParameters() method. These parameters and any default + values associated with them will be shown in the GUI. Users can add other + parameters as well. +

+ When possible, Java tests should extend AbstractJavaSamplerClient rather than implementing JavaSamplerClient + directly. This should protect your tests from future changes to the + interface. While it may be necessary to make changes to the JavaSamplerClient + interface from time to time (therefore requiring changes to any + implementations of this interface), we intend to make this abstract class + provide reasonable default implementations of any new methods so that + subclasses do not necessarily need to be updated for new versions. + Implementing JavaSamplerClient directly will continue to be supported for + cases where extending this class is not possible (for example, when the + client class is already a subclass of some other class). +

+ See SleepTest for an example of + how to implement this interface. +

+ +

+

+
Version:
+
$Revision: 674365 $
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ ArgumentsgetDefaultParameters() + +
+          Provide a list of parameters which this test supports.
+ SampleResultrunTest(JavaSamplerContext context) + +
+          Perform a single sample for each iteration.
+ voidsetupTest(JavaSamplerContext context) + +
+          Do any initialization required by this client.
+ voidteardownTest(JavaSamplerContext context) + +
+          Do any clean-up required by this test at the end of a test run.
+  +

+ + + + + + + + +
+Method Detail
+ +

+setupTest

+
+void setupTest(JavaSamplerContext context)
+
+
Do any initialization required by this client. It is generally + recommended to do any initialization such as getting parameter values in + the setupTest method rather than the runTest method in order to add as + little overhead as possible to the test. +

+

+
Parameters:
context - the context to run with. This provides access to + initialization parameters.
+
+
+
+ +

+runTest

+
+SampleResult runTest(JavaSamplerContext context)
+
+
Perform a single sample for each iteration. This method returns a + SampleResult object. SampleResult has many + fields which can be used. At a minimum, the test should use + SampleResult.sampleStart and + SampleResult.sampleEndto set the time that the test + required to execute. It is also a good idea to set the sampleLabel and + the successful flag. +

+

+
Parameters:
context - the context to run with. This provides access to + initialization parameters. +
Returns:
a SampleResult giving the results of this sample.
See Also:
SampleResult.sampleStart(), +SampleResult.sampleEnd(), +SampleResult.setSuccessful(boolean), +SampleResult.setSampleLabel(String)
+
+
+
+ +

+teardownTest

+
+void teardownTest(JavaSamplerContext context)
+
+
Do any clean-up required by this test at the end of a test run. +

+

+
Parameters:
context - the context to run with. This provides access to + initialization parameters.
+
+
+
+ +

+getDefaultParameters

+
+Arguments getDefaultParameters()
+
+
Provide a list of parameters which this test supports. Any parameter + names and associated values returned by this method will appear in the + GUI by default so the user doesn't have to remember the exact names. The + user can add other parameters which are not listed here. If this method + returns null then no parameters will be listed. If the value for some + parameter is null then that parameter will be listed in the GUI with an + empty value. +

+

+ +
Returns:
a specification of the parameters used by this test which should + be listed in the GUI, or null if no parameters should be listed.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/java/sampler/JavaSamplerContext.html b/docs/api/org/apache/jmeter/protocol/java/sampler/JavaSamplerContext.html new file mode 100644 index 00000000000..dd0129a3f4c --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/java/sampler/JavaSamplerContext.html @@ -0,0 +1,463 @@ + + + + + +JavaSamplerContext (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.java.sampler +
+Class JavaSamplerContext

+
+java.lang.Object
+  extended by org.apache.jmeter.protocol.java.sampler.JavaSamplerContext
+
+
+
+
public class JavaSamplerContext
extends Object
+ + +

+JavaSamplerContext is used to provide context information to a + JavaSamplerClient implementation. This currently consists of the + initialization parameters which were specified in the GUI. Additional data + may be accessible through JavaSamplerContext in the future. +

+ +

+

+
Version:
+
$Revision: 901937 $
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
JavaSamplerContext(Arguments args) + +
+          Create a new JavaSampler with the specified initialization parameters.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleancontainsParameter(String name) + +
+          Determine whether or not a value has been specified for the parameter + with this name.
+ intgetIntParameter(String name) + +
+          Get the value of a specified parameter as an integer.
+ intgetIntParameter(String name, + int defaultValue) + +
+          Get the value of a specified parameter as an integer, or return the + specified default value if the value was not specified or is not an + integer.
+ longgetLongParameter(String name) + +
+          Get the value of a specified parameter as a long.
+ longgetLongParameter(String name, + long defaultValue) + +
+          Get the value of a specified parameter as along, or return the specified + default value if the value was not specified or is not a long.
+ StringgetParameter(String name) + +
+          Get the value of a specific parameter as a String, or null if the value + was not specified.
+ StringgetParameter(String name, + String defaultValue) + +
+          Get the value of a specified parameter as a String, or return the + specified default value if the value was not specified.
+ Iterator<String>getParameterNamesIterator() + +
+          Get an iterator of the parameter names.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+JavaSamplerContext

+
+public JavaSamplerContext(Arguments args)
+
+
Create a new JavaSampler with the specified initialization parameters. +

+

+
Parameters:
args - the initialization parameters.
+
+ + + + + + + + +
+Method Detail
+ +

+containsParameter

+
+public boolean containsParameter(String name)
+
+
Determine whether or not a value has been specified for the parameter + with this name. +

+

+
Parameters:
name - the name of the parameter to test +
Returns:
true if the parameter value has been specified, false otherwise.
+
+
+
+ +

+getParameterNamesIterator

+
+public Iterator<String> getParameterNamesIterator()
+
+
Get an iterator of the parameter names. Each entry in the Iterator is a + String. +

+

+ +
Returns:
an Iterator of Strings listing the names of the parameters which + have been specified for this test.
+
+
+
+ +

+getParameter

+
+public String getParameter(String name)
+
+
Get the value of a specific parameter as a String, or null if the value + was not specified. +

+

+
Parameters:
name - the name of the parameter whose value should be retrieved +
Returns:
the value of the parameter, or null if the value was not + specified
+
+
+
+ +

+getParameter

+
+public String getParameter(String name,
+                           String defaultValue)
+
+
Get the value of a specified parameter as a String, or return the + specified default value if the value was not specified. +

+

+
Parameters:
name - the name of the parameter whose value should be retrieved
defaultValue - the default value to return if the value of this parameter was + not specified +
Returns:
the value of the parameter, or the default value if the parameter + was not specified
+
+
+
+ +

+getIntParameter

+
+public int getIntParameter(String name)
+                    throws NumberFormatException
+
+
Get the value of a specified parameter as an integer. An exception will + be thrown if the parameter is not specified or if it is not an integer. + The value may be specified in decimal, hexadecimal, or octal, as defined + by Integer.decode(). +

+

+
Parameters:
name - the name of the parameter whose value should be retrieved +
Returns:
the value of the parameter +
Throws: +
NumberFormatException - if the parameter is not specified or is not an integer
See Also:
Integer.decode(java.lang.String)
+
+
+
+ +

+getIntParameter

+
+public int getIntParameter(String name,
+                           int defaultValue)
+
+
Get the value of a specified parameter as an integer, or return the + specified default value if the value was not specified or is not an + integer. A warning will be logged if the value is not an integer. The + value may be specified in decimal, hexadecimal, or octal, as defined by + Integer.decode(). +

+

+
Parameters:
name - the name of the parameter whose value should be retrieved
defaultValue - the default value to return if the value of this parameter was + not specified +
Returns:
the value of the parameter, or the default value if the parameter + was not specified
See Also:
Integer.decode(java.lang.String)
+
+
+
+ +

+getLongParameter

+
+public long getLongParameter(String name)
+                      throws NumberFormatException
+
+
Get the value of a specified parameter as a long. An exception will be + thrown if the parameter is not specified or if it is not a long. The + value may be specified in decimal, hexadecimal, or octal, as defined by + Long.decode(). +

+

+
Parameters:
name - the name of the parameter whose value should be retrieved +
Returns:
the value of the parameter +
Throws: +
NumberFormatException - if the parameter is not specified or is not a long
See Also:
Long.decode(String)
+
+
+
+ +

+getLongParameter

+
+public long getLongParameter(String name,
+                             long defaultValue)
+
+
Get the value of a specified parameter as along, or return the specified + default value if the value was not specified or is not a long. A warning + will be logged if the value is not a long. The value may be specified in + decimal, hexadecimal, or octal, as defined by Long.decode(). +

+

+
Parameters:
name - the name of the parameter whose value should be retrieved
defaultValue - the default value to return if the value of this parameter was + not specified +
Returns:
the value of the parameter, or the default value if the parameter + was not specified
See Also:
Long.decode(String)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/java/sampler/package-frame.html b/docs/api/org/apache/jmeter/protocol/java/sampler/package-frame.html new file mode 100644 index 00000000000..339501117fb --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/java/sampler/package-frame.html @@ -0,0 +1,57 @@ + + + + + +org.apache.jmeter.protocol.java.sampler (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.protocol.java.sampler + + + + +
+Interfaces  + +
+JavaSamplerClient
+ + + + + + +
+Classes  + +
+AbstractJavaSamplerClient +
+BeanShellSampler +
+BSFSampler +
+BSFSamplerBeanInfo +
+JavaSampler +
+JavaSamplerContext +
+JSR223Sampler +
+JSR223SamplerBeanInfo +
+JUnitSampler
+ + + + diff --git a/docs/api/org/apache/jmeter/protocol/java/sampler/package-summary.html b/docs/api/org/apache/jmeter/protocol/java/sampler/package-summary.html new file mode 100644 index 00000000000..303212c1238 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/java/sampler/package-summary.html @@ -0,0 +1,202 @@ + + + + + +org.apache.jmeter.protocol.java.sampler (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.protocol.java.sampler +

+ + + + + + + + + +
+Interface Summary
JavaSamplerClientThis interface defines the interactions between the JavaSampler and external + Java programs which can be executed by JMeter.
+  + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
AbstractJavaSamplerClientAn abstract implementation of the JavaSamplerClient interface.
BeanShellSamplerA sampler which understands BeanShell
BSFSamplerA sampler which understands BSF
BSFSamplerBeanInfoBSF Sampler Bean Info
JavaSamplerA sampler for executing custom Java code in each sample.
JavaSamplerContextJavaSamplerContext is used to provide context information to a + JavaSamplerClient implementation.
JSR223Sampler 
JSR223SamplerBeanInfo 
JUnitSamplerThis is a basic implementation that runs a single test method of + a JUnit test case.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/java/sampler/package-tree.html b/docs/api/org/apache/jmeter/protocol/java/sampler/package-tree.html new file mode 100644 index 00000000000..3a976c5e360 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/java/sampler/package-tree.html @@ -0,0 +1,188 @@ + + + + + +org.apache.jmeter.protocol.java.sampler Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.protocol.java.sampler +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/java/test/JavaTest.html b/docs/api/org/apache/jmeter/protocol/java/test/JavaTest.html new file mode 100644 index 00000000000..bd8e1b8478c --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/java/test/JavaTest.html @@ -0,0 +1,456 @@ + + + + + +JavaTest (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.java.test +
+Class JavaTest

+
+java.lang.Object
+  extended by org.apache.jmeter.protocol.java.sampler.AbstractJavaSamplerClient
+      extended by org.apache.jmeter.protocol.java.test.JavaTest
+
+
+
All Implemented Interfaces:
Serializable, JavaSamplerClient
+
+
+
+
public class JavaTest
extends AbstractJavaSamplerClient
implements Serializable
+ + +

+The JavaTest class is a simple sampler which is intended for + use when developing test plans. The sampler generates results internally, so + does not need access to any external resources such as web, ftp or LDAP + servers. In addition, because the exact values of most of the SampleResult + can be directly set, it is possible to easily test most Assertions that use + the sample results. + +

+ During each sample, this client will sleep for some amount of time. The + amount of time to sleep is determined from the two parameters Sleep_Time and + Sleep_Mask using the formula: + +

+ totalSleepTime = Sleep_Time + (System.currentTimeMillis() % Sleep_Mask)
+ 
+ + Thus, the Sleep_Mask provides a way to add a random component to the sleep + time. +

+ The sampler is able to define the precise values of: + +

+
+  - responseCode
+  - responseMessage
+  - Label
+  - success/fail status
+
+ 
+ + The elapsed time and end-time cannot be directly controlled. +

+ Note: this class was derived from SleepTest. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + +
+Field Summary
+static longDEFAULT_SLEEP_MASK + +
+          The default value of the SleepMask parameter.
+static longDEFAULT_SLEEP_TIME + +
+          The default value of the SleepTime parameter, in milliseconds.
+  + + + + + + + + + + +
+Constructor Summary
JavaTest() + +
+          Default constructor for JavaTest.
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ ArgumentsgetDefaultParameters() + +
+          Provide a list of parameters which this test supports.
+ SampleResultrunTest(JavaSamplerContext context) + +
+          Perform a single sample.
+ voidsetupTest(JavaSamplerContext context) + +
+          Do any initialization required by this client.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.protocol.java.sampler.AbstractJavaSamplerClient
getLogger, teardownTest
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+DEFAULT_SLEEP_TIME

+
+public static final long DEFAULT_SLEEP_TIME
+
+
The default value of the SleepTime parameter, in milliseconds. +

+

+
See Also:
Constant Field Values
+
+
+ +

+DEFAULT_SLEEP_MASK

+
+public static final long DEFAULT_SLEEP_MASK
+
+
The default value of the SleepMask parameter. +

+

+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+JavaTest

+
+public JavaTest()
+
+
Default constructor for JavaTest. + + The Java Sampler uses the default constructor to instantiate an instance + of the client class. +

+

+ + + + + + + + +
+Method Detail
+ +

+setupTest

+
+public void setupTest(JavaSamplerContext context)
+
+
Do any initialization required by this client. + + There is none, as it is done in runTest() in order to be able to vary the + data for each sample. +

+

+
Specified by:
setupTest in interface JavaSamplerClient
Overrides:
setupTest in class AbstractJavaSamplerClient
+
+
+
Parameters:
context - the context to run with. This provides access to + initialization parameters.
+
+
+
+ +

+getDefaultParameters

+
+public Arguments getDefaultParameters()
+
+
Provide a list of parameters which this test supports. Any parameter + names and associated values returned by this method will appear in the + GUI by default so the user doesn't have to remember the exact names. The + user can add other parameters which are not listed here. If this method + returns null then no parameters will be listed. If the value for some + parameter is null then that parameter will be listed in the GUI with an + empty value. +

+

+
Specified by:
getDefaultParameters in interface JavaSamplerClient
Overrides:
getDefaultParameters in class AbstractJavaSamplerClient
+
+
+ +
Returns:
a specification of the parameters used by this test which should + be listed in the GUI, or null if no parameters should be listed.
+
+
+
+ +

+runTest

+
+public SampleResult runTest(JavaSamplerContext context)
+
+
Perform a single sample.
+ In this case, this method will simply sleep for some amount of time. + + This method returns a SampleResult object. + +
+
+  The following fields are always set:
+  - responseCode (default "")
+  - responseMessage (default "")
+  - label (set from LABEL_NAME parameter if it exists, else element name)
+  - success (default true)
+
+ 
+ + The following fields are set from the user-defined parameters, if + supplied: + +
+ -samplerData - responseData
+ 
+

+

+
Specified by:
runTest in interface JavaSamplerClient
+
+
+
Parameters:
context - the context to run with. This provides access to + initialization parameters. +
Returns:
a SampleResult giving the results of this sample.
See Also:
SampleResult.sampleStart(), +SampleResult.sampleEnd(), +SampleResult.setSuccessful(boolean), +SampleResult.setSampleLabel(String), +SampleResult.setResponseCode(String), +SampleResult.setResponseMessage(String), +SampleResult.setResponseData(byte []), +SampleResult.setDataType(String)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/java/test/SleepTest.html b/docs/api/org/apache/jmeter/protocol/java/test/SleepTest.html new file mode 100644 index 00000000000..8334dd6f090 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/java/test/SleepTest.html @@ -0,0 +1,424 @@ + + + + + +SleepTest (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.java.test +
+Class SleepTest

+
+java.lang.Object
+  extended by org.apache.jmeter.protocol.java.sampler.AbstractJavaSamplerClient
+      extended by org.apache.jmeter.protocol.java.test.SleepTest
+
+
+
All Implemented Interfaces:
Serializable, JavaSamplerClient
+
+
+
+
public class SleepTest
extends AbstractJavaSamplerClient
implements Serializable
+ + +

+The SleepTest class is a simple example class for a JMeter + Java protocol client. The class implements the JavaSamplerClient + interface. +

+ During each sample, this client will sleep for some amount of time. The + amount of time to sleep is determined from the two parameters SleepTime and + SleepMask using the formula: + +

+ totalSleepTime = SleepTime + (System.currentTimeMillis() % SleepMask)
+ 
+ + Thus, the SleepMask provides a way to add a random component to the sleep + time. +

+ +

+

+
Version:
+
$Revision: 1516231 $
+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + +
+Field Summary
+static longDEFAULT_SLEEP_MASK + +
+          The default value of the SleepMask parameter.
+static longDEFAULT_SLEEP_TIME + +
+          The default value of the SleepTime parameter, in milliseconds.
+  + + + + + + + + + + +
+Constructor Summary
SleepTest() + +
+          Default constructor for SleepTest.
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ ArgumentsgetDefaultParameters() + +
+          Provide a list of parameters which this test supports.
+ SampleResultrunTest(JavaSamplerContext context) + +
+          Perform a single sample.
+ voidsetupTest(JavaSamplerContext context) + +
+          Do any initialization required by this client.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.protocol.java.sampler.AbstractJavaSamplerClient
getLogger, teardownTest
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+DEFAULT_SLEEP_TIME

+
+public static final long DEFAULT_SLEEP_TIME
+
+
The default value of the SleepTime parameter, in milliseconds. +

+

+
See Also:
Constant Field Values
+
+
+ +

+DEFAULT_SLEEP_MASK

+
+public static final long DEFAULT_SLEEP_MASK
+
+
The default value of the SleepMask parameter. +

+

+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+SleepTest

+
+public SleepTest()
+
+
Default constructor for SleepTest. + + The Java Sampler uses the default constructor to instantiate an instance + of the client class. +

+

+ + + + + + + + +
+Method Detail
+ +

+setupTest

+
+public void setupTest(JavaSamplerContext context)
+
+
Do any initialization required by this client. In this case, + initialization consists of getting the values of the SleepTime and + SleepMask parameters. It is generally recommended to do any + initialization such as getting parameter values in the setupTest method + rather than the runTest method in order to add as little overhead as + possible to the test. +

+

+
Specified by:
setupTest in interface JavaSamplerClient
Overrides:
setupTest in class AbstractJavaSamplerClient
+
+
+
Parameters:
context - the context to run with. This provides access to + initialization parameters.
+
+
+
+ +

+runTest

+
+public SampleResult runTest(JavaSamplerContext context)
+
+
Perform a single sample. In this case, this method will simply sleep for + some amount of time. Perform a single sample for each iteration. This + method returns a SampleResult object. + SampleResult has many fields which can be used. At a + minimum, the test should use SampleResult.sampleStart and + SampleResult.sampleEndto set the time that the test + required to execute. It is also a good idea to set the sampleLabel and + the successful flag. +

+

+
Specified by:
runTest in interface JavaSamplerClient
+
+
+
Parameters:
context - the context to run with. This provides access to + initialization parameters. +
Returns:
a SampleResult giving the results of this sample.
See Also:
SampleResult.sampleStart(), +SampleResult.sampleEnd(), +SampleResult.setSuccessful(boolean), +SampleResult.setSampleLabel(String)
+
+
+
+ +

+getDefaultParameters

+
+public Arguments getDefaultParameters()
+
+
Provide a list of parameters which this test supports. Any parameter + names and associated values returned by this method will appear in the + GUI by default so the user doesn't have to remember the exact names. The + user can add other parameters which are not listed here. If this method + returns null then no parameters will be listed. If the value for some + parameter is null then that parameter will be listed in the GUI with an + empty value. +

+

+
Specified by:
getDefaultParameters in interface JavaSamplerClient
Overrides:
getDefaultParameters in class AbstractJavaSamplerClient
+
+
+ +
Returns:
a specification of the parameters used by this test which should + be listed in the GUI, or null if no parameters should be listed.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/java/test/package-frame.html b/docs/api/org/apache/jmeter/protocol/java/test/package-frame.html new file mode 100644 index 00000000000..66e1fe1d498 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/java/test/package-frame.html @@ -0,0 +1,32 @@ + + + + + +org.apache.jmeter.protocol.java.test (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.protocol.java.test + + + + +
+Classes  + +
+JavaTest +
+SleepTest
+ + + + diff --git a/docs/api/org/apache/jmeter/protocol/java/test/package-summary.html b/docs/api/org/apache/jmeter/protocol/java/test/package-summary.html new file mode 100644 index 00000000000..aa23be70737 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/java/test/package-summary.html @@ -0,0 +1,159 @@ + + + + + +org.apache.jmeter.protocol.java.test (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.protocol.java.test +

+ + + + + + + + + + + + + +
+Class Summary
JavaTestThe JavaTest class is a simple sampler which is intended for + use when developing test plans.
SleepTestThe SleepTest class is a simple example class for a JMeter + Java protocol client.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/java/test/package-tree.html b/docs/api/org/apache/jmeter/protocol/java/test/package-tree.html new file mode 100644 index 00000000000..823b03c3ec1 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/java/test/package-tree.html @@ -0,0 +1,154 @@ + + + + + +org.apache.jmeter.protocol.java.test Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.protocol.java.test +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/jdbc/AbstractJDBCTestElement.html b/docs/api/org/apache/jmeter/protocol/jdbc/AbstractJDBCTestElement.html new file mode 100644 index 00000000000..47fb88f1d40 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/jdbc/AbstractJDBCTestElement.html @@ -0,0 +1,993 @@ + + + + + +AbstractJDBCTestElement (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.jdbc +
+Class AbstractJDBCTestElement

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.protocol.jdbc.AbstractJDBCTestElement
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Searchable, TestElement, TestStateListener
+
+
+
Direct Known Subclasses:
AbstractJDBCProcessor, JDBCSampler
+
+
+
+
public abstract class AbstractJDBCTestElement
extends AbstractTestElement
implements TestStateListener
+ + +

+A base class for all JDBC test elements handling the basics of a SQL request. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Field Summary
+protected static StringENCODING + +
+           
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + + +
+Constructor Summary
+protected AbstractJDBCTestElement() + +
+          Creates a JDBCSampler.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static voidclose(Connection c) + +
+           
+static voidclose(ResultSet rs) + +
+           
+static voidclose(Statement s) + +
+           
+protected  byte[]execute(Connection conn) + +
+          Execute the test element.
+ StringgetDataSource() + +
+           
+ intgetIntegerQueryTimeout() + +
+           
+ StringgetQuery() + +
+           
+ StringgetQueryArguments() + +
+           
+ StringgetQueryArgumentsTypes() + +
+           
+ StringgetQueryTimeout() + +
+           
+ StringgetQueryType() + +
+           
+ StringgetResultSetHandler() + +
+           
+ StringgetResultVariable() + +
+           
+ StringgetVariableNames() + +
+           
+ voidsetDataSource(String dataSource) + +
+           
+ voidsetQuery(String query) + +
+           
+ voidsetQueryArguments(String queryArguments) + +
+           
+ voidsetQueryArgumentsTypes(String queryArgumentsType) + +
+           
+ voidsetQueryTimeout(String queryTimeout) + +
+           
+ voidsetQueryType(String queryType) + +
+           
+ voidsetResultSetHandler(String resultSetHandler) + +
+           
+ voidsetResultVariable(String resultVariable) + +
+           
+ voidsetVariableNames(String variableNames) + +
+           
+ voidtestEnded() + +
+           + Called once for all threads after the end of a test.
+ voidtestEnded(String host) + +
+           + Called once for all threads after the end of a test.
+ voidtestStarted() + +
+           + Called just before the start of the test from the main engine thread.
+ voidtestStarted(String host) + +
+           + Called just before the start of the test from the main engine thread.
+ StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+ENCODING

+
+protected static final String ENCODING
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+AbstractJDBCTestElement

+
+protected AbstractJDBCTestElement()
+
+
Creates a JDBCSampler. +

+

+ + + + + + + + +
+Method Detail
+ +

+execute

+
+protected byte[] execute(Connection conn)
+                  throws SQLException,
+                         UnsupportedEncodingException,
+                         IOException,
+                         UnsupportedOperationException
+
+
Execute the test element. +

+

+
+
+
+
Parameters:
conn - a SampleResult in case the test should sample; null if only execution is requested +
Returns:
the result of the execute command +
Throws: +
SQLException - if a database error occurs +
UnsupportedEncodingException - when the result can not be converted to the required charset +
IOException - when I/O error occurs +
UnsupportedOperationException - if the user provided incorrect query type
+
+
+
+ +

+close

+
+public static void close(Connection c)
+
+
+
+
+
+
+
+
+
+ +

+close

+
+public static void close(Statement s)
+
+
+
+
+
+
+
+
+
+ +

+close

+
+public static void close(ResultSet rs)
+
+
+
+
+
+
+
+
+
+ +

+getIntegerQueryTimeout

+
+public int getIntegerQueryTimeout()
+
+
+
+
+
+ +
Returns:
the integer representation queryTimeout
+
+
+
+ +

+getQueryTimeout

+
+public String getQueryTimeout()
+
+
+
+
+
+ +
Returns:
the queryTimeout
+
+
+
+ +

+setQueryTimeout

+
+public void setQueryTimeout(String queryTimeout)
+
+
+
+
+
+
Parameters:
queryTimeout - query timeout in seconds
+
+
+
+ +

+getQuery

+
+public String getQuery()
+
+
+
+
+
+
+
+
+
+ +

+toString

+
+public String toString()
+
+
+
Overrides:
toString in class Object
+
+
+
+
+
+
+ +

+setQuery

+
+public void setQuery(String query)
+
+
+
+
+
+
Parameters:
query - The query to set.
+
+
+
+ +

+getDataSource

+
+public String getDataSource()
+
+
+
+
+
+ +
Returns:
Returns the dataSource.
+
+
+
+ +

+setDataSource

+
+public void setDataSource(String dataSource)
+
+
+
+
+
+
Parameters:
dataSource - The dataSource to set.
+
+
+
+ +

+getQueryType

+
+public String getQueryType()
+
+
+
+
+
+ +
Returns:
Returns the queryType.
+
+
+
+ +

+setQueryType

+
+public void setQueryType(String queryType)
+
+
+
+
+
+
Parameters:
queryType - The queryType to set.
+
+
+
+ +

+getQueryArguments

+
+public String getQueryArguments()
+
+
+
+
+
+
+
+
+
+ +

+setQueryArguments

+
+public void setQueryArguments(String queryArguments)
+
+
+
+
+
+
+
+
+
+ +

+getQueryArgumentsTypes

+
+public String getQueryArgumentsTypes()
+
+
+
+
+
+
+
+
+
+ +

+setQueryArgumentsTypes

+
+public void setQueryArgumentsTypes(String queryArgumentsType)
+
+
+
+
+
+
+
+
+
+ +

+getVariableNames

+
+public String getVariableNames()
+
+
+
+
+
+ +
Returns:
the variableNames
+
+
+
+ +

+setVariableNames

+
+public void setVariableNames(String variableNames)
+
+
+
+
+
+
Parameters:
variableNames - the variableNames to set
+
+
+
+ +

+getResultSetHandler

+
+public String getResultSetHandler()
+
+
+
+
+
+ +
Returns:
the resultSetHandler
+
+
+
+ +

+setResultSetHandler

+
+public void setResultSetHandler(String resultSetHandler)
+
+
+
+
+
+
Parameters:
resultSetHandler - the resultSetHandler to set
+
+
+
+ +

+getResultVariable

+
+public String getResultVariable()
+
+
+
+
+
+ +
Returns:
the resultVariable
+
+
+
+ +

+setResultVariable

+
+public void setResultVariable(String resultVariable)
+
+
+
+
+
+
Parameters:
resultVariable - the variable name in which results will be stored
+
+
+
+ +

+testStarted

+
+public void testStarted()
+
+

+ Called just before the start of the test from the main engine thread. + + This is before the test elements are cloned. + + Note that not all the test + variables will have been set up at this point. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testStarted in interface TestStateListener
+
+
+
See Also:
TestStateListener.testStarted()
+
+
+
+ +

+testStarted

+
+public void testStarted(String host)
+
+

+ Called just before the start of the test from the main engine thread. + + This is before the test elements are cloned. + + Note that not all the test + variables will have been set up at this point. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testStarted in interface TestStateListener
+
+
+
Parameters:
host - name of host
See Also:
TestStateListener.testStarted(java.lang.String)
+
+
+
+ +

+testEnded

+
+public void testEnded()
+
+

+ Called once for all threads after the end of a test. + + This will use the same element instances as at the start of the test. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testEnded in interface TestStateListener
+
+
+
See Also:
TestStateListener.testEnded()
+
+
+
+ +

+testEnded

+
+public void testEnded(String host)
+
+

+ Called once for all threads after the end of a test. + + This will use the same element instances as at the start of the test. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testEnded in interface TestStateListener
+
+
+
Parameters:
host - name of host
See Also:
TestStateListener.testEnded(java.lang.String)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/jdbc/JDBCTestElementBeanInfoSupport.html b/docs/api/org/apache/jmeter/protocol/jdbc/JDBCTestElementBeanInfoSupport.html new file mode 100644 index 00000000000..cf7f722c8a1 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/jdbc/JDBCTestElementBeanInfoSupport.html @@ -0,0 +1,275 @@ + + + + + +JDBCTestElementBeanInfoSupport (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.jdbc +
+Class JDBCTestElementBeanInfoSupport

+
+java.lang.Object
+  extended by java.beans.SimpleBeanInfo
+      extended by org.apache.jmeter.testbeans.BeanInfoSupport
+          extended by org.apache.jmeter.protocol.jdbc.JDBCTestElementBeanInfoSupport
+
+
+
All Implemented Interfaces:
BeanInfo
+
+
+
Direct Known Subclasses:
JDBCPostProcessorBeanInfo, JDBCPreProcessorBeanInfo, JDBCSamplerBeanInfo
+
+
+
+
public abstract class JDBCTestElementBeanInfoSupport
extends BeanInfoSupport
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.testbeans.BeanInfoSupport
DEFAULT, MULTILINE, NOT_EXPRESSION, NOT_OTHER, NOT_UNDEFINED, RESOURCE_BUNDLE, TAGS, TEXT_LANGUAGE
+ + + + + + + +
Fields inherited from interface java.beans.BeanInfo
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32
+  + + + + + + + + + + +
+Constructor Summary
JDBCTestElementBeanInfoSupport(Class<? extends TestBean> beanClass) + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testbeans.BeanInfoSupport
createPropertyGroup, getAdditionalBeanInfo, getBeanDescriptor, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getIcon, getMethodDescriptors, getPropertyDescriptors, property, property, property, setIcon
+ + + + + + + +
Methods inherited from class java.beans.SimpleBeanInfo
loadImage
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+JDBCTestElementBeanInfoSupport

+
+public JDBCTestElementBeanInfoSupport(Class<? extends TestBean> beanClass)
+
+
+
Parameters:
beanClass - class to create bean info for
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/jdbc/config/DataSourceElement.html b/docs/api/org/apache/jmeter/protocol/jdbc/config/DataSourceElement.html new file mode 100644 index 00000000000..81b613ca402 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/jdbc/config/DataSourceElement.html @@ -0,0 +1,1111 @@ + + + + + +DataSourceElement (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.jdbc.config +
+Class DataSourceElement

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.protocol.jdbc.config.DataSourceElement
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, ConfigElement, Searchable, TestBean, TestElement, TestStateListener
+
+
+
+
public class DataSourceElement
extends AbstractTestElement
implements ConfigElement, TestStateListener, TestBean
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
DataSourceElement() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddConfigElement(ConfigElement config) + +
+          Add a configuration element to this one.
+ Objectclone() + +
+           
+ booleanexpectsModification() + +
+          If your config element expects to be modified in the process of a test + run, and you want those modifications to carry over from sample to sample + (as in a cookie manager - you want to save all cookies that get set + throughout the test), then return true for this method.
+ StringgetCheckQuery() + +
+           
+static ConnectiongetConnection(String poolName) + +
+           
+ StringgetConnectionAge() + +
+           
+ StringgetDataSource() + +
+           
+ StringgetDbUrl() + +
+           
+ StringgetDriver() + +
+           
+ StringgetPassword() + +
+           
+ StringgetPoolMax() + +
+           
+ StringgetTimeout() + +
+           
+ StringgetTransactionIsolation() + +
+           
+ StringgetTrimInterval() + +
+           
+ StringgetUsername() + +
+           
+ booleanisAutocommit() + +
+           
+ booleanisKeepAlive() + +
+           
+ voidsetAutocommit(boolean autocommit) + +
+           
+ voidsetCheckQuery(String checkQuery) + +
+           
+ voidsetConnectionAge(String connectionAge) + +
+           
+ voidsetDataSource(String dataSource) + +
+           
+ voidsetDbUrl(String dbUrl) + +
+           
+ voidsetDriver(String driver) + +
+           
+ voidsetKeepAlive(boolean keepAlive) + +
+           
+ voidsetPassword(String password) + +
+           
+ voidsetPoolMax(String poolMax) + +
+           
+ voidsetTimeout(String timeout) + +
+           
+ voidsetTransactionIsolation(String transactionIsolation) + +
+           
+ voidsetTrimInterval(String trimInterval) + +
+           
+ voidsetUsername(String username) + +
+           
+ voidtestEnded() + +
+           + Called once for all threads after the end of a test.
+ voidtestEnded(String host) + +
+           + Called once for all threads after the end of a test.
+ voidtestStarted() + +
+           + Called just before the start of the test from the main engine thread.
+ voidtestStarted(String host) + +
+           + Called just before the start of the test from the main engine thread.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+DataSourceElement

+
+public DataSourceElement()
+
+
+ + + + + + + + +
+Method Detail
+ +

+testEnded

+
+public void testEnded()
+
+
Description copied from interface: TestStateListener
+

+ Called once for all threads after the end of a test. + + This will use the same element instances as at the start of the test. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testEnded in interface TestStateListener
+
+
+
See Also:
StandardJMeterEngine.stopTest()
+
+
+
+ +

+testEnded

+
+public void testEnded(String host)
+
+
Description copied from interface: TestStateListener
+

+ Called once for all threads after the end of a test. + + This will use the same element instances as at the start of the test. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testEnded in interface TestStateListener
+
+
+
Parameters:
host - name of host
See Also:
StandardJMeterEngine.stopTest()
+
+
+
+ +

+testStarted

+
+public void testStarted()
+
+
Description copied from interface: TestStateListener
+

+ Called just before the start of the test from the main engine thread. + + This is before the test elements are cloned. + + Note that not all the test + variables will have been set up at this point. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testStarted in interface TestStateListener
+
+
+
See Also:
StandardJMeterEngine.run()
+
+
+
+ +

+testStarted

+
+public void testStarted(String host)
+
+
Description copied from interface: TestStateListener
+

+ Called just before the start of the test from the main engine thread. + + This is before the test elements are cloned. + + Note that not all the test + variables will have been set up at this point. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testStarted in interface TestStateListener
+
+
+
Parameters:
host - name of host
See Also:
StandardJMeterEngine.run()
+
+
+
+ +

+clone

+
+public Object clone()
+
+
+
Specified by:
clone in interface ConfigElement
Specified by:
clone in interface TestElement
Overrides:
clone in class AbstractTestElement
+
+
+
+
+
+
+ +

+getConnection

+
+public static Connection getConnection(String poolName)
+                                throws SQLException
+
+
+
+
+
+ +
Throws: +
SQLException
+
+
+
+ +

+addConfigElement

+
+public void addConfigElement(ConfigElement config)
+
+
Description copied from interface: ConfigElement
+
Add a configuration element to this one. This allows config elements to + combine and give a "layered" effect. For example, + HTTPConfigElements have properties for domain, path, method, and + parameters. If element A has everything filled in, but null for domain, + and element B is added, which has only domain filled in, then after + adding B to A, A will have the domain from B. If A already had a domain, + then the correct behavior is for A to ignore the addition of element B. +

+

+
Specified by:
addConfigElement in interface ConfigElement
+
+
+
Parameters:
config - the element to be added to this ConfigElement
+
+
+
+ +

+expectsModification

+
+public boolean expectsModification()
+
+
Description copied from interface: ConfigElement
+
If your config element expects to be modified in the process of a test + run, and you want those modifications to carry over from sample to sample + (as in a cookie manager - you want to save all cookies that get set + throughout the test), then return true for this method. Your config + element will not be cloned for each sample. If your config elements are + more static in nature, return false. If in doubt, return false. +

+

+
Specified by:
expectsModification in interface ConfigElement
+
+
+ +
Returns:
true if the element expects to be modified over the course of a + test run
+
+
+
+ +

+getCheckQuery

+
+public String getCheckQuery()
+
+
+
+
+
+ +
Returns:
Returns the checkQuery.
+
+
+
+ +

+setCheckQuery

+
+public void setCheckQuery(String checkQuery)
+
+
+
+
+
+
Parameters:
checkQuery - The checkQuery to set.
+
+
+
+ +

+getConnectionAge

+
+public String getConnectionAge()
+
+
+
+
+
+ +
Returns:
Returns the connectionAge.
+
+
+
+ +

+setConnectionAge

+
+public void setConnectionAge(String connectionAge)
+
+
+
+
+
+
Parameters:
connectionAge - The connectionAge to set.
+
+
+
+ +

+getDataSource

+
+public String getDataSource()
+
+
+
+
+
+ +
Returns:
Returns the poolname.
+
+
+
+ +

+setDataSource

+
+public void setDataSource(String dataSource)
+
+
+
+
+
+
Parameters:
dataSource - The poolname to set.
+
+
+
+ +

+getDbUrl

+
+public String getDbUrl()
+
+
+
+
+
+ +
Returns:
Returns the dbUrl.
+
+
+
+ +

+setDbUrl

+
+public void setDbUrl(String dbUrl)
+
+
+
+
+
+
Parameters:
dbUrl - The dbUrl to set.
+
+
+
+ +

+getDriver

+
+public String getDriver()
+
+
+
+
+
+ +
Returns:
Returns the driver.
+
+
+
+ +

+setDriver

+
+public void setDriver(String driver)
+
+
+
+
+
+
Parameters:
driver - The driver to set.
+
+
+
+ +

+getPassword

+
+public String getPassword()
+
+
+
+
+
+ +
Returns:
Returns the password.
+
+
+
+ +

+setPassword

+
+public void setPassword(String password)
+
+
+
+
+
+
Parameters:
password - The password to set.
+
+
+
+ +

+getPoolMax

+
+public String getPoolMax()
+
+
+
+
+
+ +
Returns:
Returns the poolMax.
+
+
+
+ +

+setPoolMax

+
+public void setPoolMax(String poolMax)
+
+
+
+
+
+
Parameters:
poolMax - The poolMax to set.
+
+
+
+ +

+getTimeout

+
+public String getTimeout()
+
+
+
+
+
+ +
Returns:
Returns the timeout.
+
+
+
+ +

+setTimeout

+
+public void setTimeout(String timeout)
+
+
+
+
+
+
Parameters:
timeout - The timeout to set.
+
+
+
+ +

+getTrimInterval

+
+public String getTrimInterval()
+
+
+
+
+
+ +
Returns:
Returns the trimInterval.
+
+
+
+ +

+setTrimInterval

+
+public void setTrimInterval(String trimInterval)
+
+
+
+
+
+
Parameters:
trimInterval - The trimInterval to set.
+
+
+
+ +

+getUsername

+
+public String getUsername()
+
+
+
+
+
+ +
Returns:
Returns the username.
+
+
+
+ +

+setUsername

+
+public void setUsername(String username)
+
+
+
+
+
+
Parameters:
username - The username to set.
+
+
+
+ +

+isAutocommit

+
+public boolean isAutocommit()
+
+
+
+
+
+ +
Returns:
Returns the autocommit.
+
+
+
+ +

+setAutocommit

+
+public void setAutocommit(boolean autocommit)
+
+
+
+
+
+
Parameters:
autocommit - The autocommit to set.
+
+
+
+ +

+isKeepAlive

+
+public boolean isKeepAlive()
+
+
+
+
+
+ +
Returns:
Returns the keepAlive.
+
+
+
+ +

+setKeepAlive

+
+public void setKeepAlive(boolean keepAlive)
+
+
+
+
+
+
Parameters:
keepAlive - The keepAlive to set.
+
+
+
+ +

+getTransactionIsolation

+
+public String getTransactionIsolation()
+
+
+
+
+
+ +
Returns:
the transaction isolation level
+
+
+
+ +

+setTransactionIsolation

+
+public void setTransactionIsolation(String transactionIsolation)
+
+
+
+
+
+
Parameters:
transactionIsolation - The transaction isolation level to set. NULL to + use the default of the driver.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/jdbc/config/DataSourceElementBeanInfo.html b/docs/api/org/apache/jmeter/protocol/jdbc/config/DataSourceElementBeanInfo.html new file mode 100644 index 00000000000..3c8eba41a75 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/jdbc/config/DataSourceElementBeanInfo.html @@ -0,0 +1,310 @@ + + + + + +DataSourceElementBeanInfo (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.jdbc.config +
+Class DataSourceElementBeanInfo

+
+java.lang.Object
+  extended by java.beans.SimpleBeanInfo
+      extended by org.apache.jmeter.testbeans.BeanInfoSupport
+          extended by org.apache.jmeter.protocol.jdbc.config.DataSourceElementBeanInfo
+
+
+
All Implemented Interfaces:
BeanInfo
+
+
+
+
public class DataSourceElementBeanInfo
extends BeanInfoSupport
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.testbeans.BeanInfoSupport
DEFAULT, MULTILINE, NOT_EXPRESSION, NOT_OTHER, NOT_UNDEFINED, RESOURCE_BUNDLE, TAGS, TEXT_LANGUAGE
+ + + + + + + +
Fields inherited from interface java.beans.BeanInfo
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32
+  + + + + + + + + + + +
+Constructor Summary
DataSourceElementBeanInfo() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static intgetTransactionIsolationMode(String tag) + +
+          Converts a string description of a valid transaction isolation mode to the respective integer value.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testbeans.BeanInfoSupport
createPropertyGroup, getAdditionalBeanInfo, getBeanDescriptor, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getIcon, getMethodDescriptors, getPropertyDescriptors, property, property, property, setIcon
+ + + + + + + +
Methods inherited from class java.beans.SimpleBeanInfo
loadImage
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+DataSourceElementBeanInfo

+
+public DataSourceElementBeanInfo()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getTransactionIsolationMode

+
+public static int getTransactionIsolationMode(String tag)
+
+
Converts a string description of a valid transaction isolation mode to the respective integer value. + Currently supported tags and their values are: +
+
DEFAULT
-1
+
TRANSACTION_NONE
0
+
TRANSACTION_REAd_COMMITTED
2
+
TRANSACTION_READ_UNCOMMITTED
1
+
TRANSACTION_REPEATABLE_READ
4
+
TRANSACTION_SERIALIZABLE
8
+
+

+

+
Parameters:
tag - name of the transaction isolation mode +
Returns:
integer value of the given transaction isolation mode
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/jdbc/config/package-frame.html b/docs/api/org/apache/jmeter/protocol/jdbc/config/package-frame.html new file mode 100644 index 00000000000..b5fcc9d2961 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/jdbc/config/package-frame.html @@ -0,0 +1,32 @@ + + + + + +org.apache.jmeter.protocol.jdbc.config (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.protocol.jdbc.config + + + + +
+Classes  + +
+DataSourceElement +
+DataSourceElementBeanInfo
+ + + + diff --git a/docs/api/org/apache/jmeter/protocol/jdbc/config/package-summary.html b/docs/api/org/apache/jmeter/protocol/jdbc/config/package-summary.html new file mode 100644 index 00000000000..521a712c310 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/jdbc/config/package-summary.html @@ -0,0 +1,157 @@ + + + + + +org.apache.jmeter.protocol.jdbc.config (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.protocol.jdbc.config +

+ + + + + + + + + + + + + +
+Class Summary
DataSourceElement 
DataSourceElementBeanInfo 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/jdbc/config/package-tree.html b/docs/api/org/apache/jmeter/protocol/jdbc/config/package-tree.html new file mode 100644 index 00000000000..194744e2614 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/jdbc/config/package-tree.html @@ -0,0 +1,158 @@ + + + + + +org.apache.jmeter.protocol.jdbc.config Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.protocol.jdbc.config +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/jdbc/package-frame.html b/docs/api/org/apache/jmeter/protocol/jdbc/package-frame.html new file mode 100644 index 00000000000..a59792f0f8f --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/jdbc/package-frame.html @@ -0,0 +1,32 @@ + + + + + +org.apache.jmeter.protocol.jdbc (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.protocol.jdbc + + + + +
+Classes  + +
+AbstractJDBCTestElement +
+JDBCTestElementBeanInfoSupport
+ + + + diff --git a/docs/api/org/apache/jmeter/protocol/jdbc/package-summary.html b/docs/api/org/apache/jmeter/protocol/jdbc/package-summary.html new file mode 100644 index 00000000000..02e3f26205b --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/jdbc/package-summary.html @@ -0,0 +1,157 @@ + + + + + +org.apache.jmeter.protocol.jdbc (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.protocol.jdbc +

+ + + + + + + + + + + + + +
+Class Summary
AbstractJDBCTestElementA base class for all JDBC test elements handling the basics of a SQL request.
JDBCTestElementBeanInfoSupport 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/jdbc/package-tree.html b/docs/api/org/apache/jmeter/protocol/jdbc/package-tree.html new file mode 100644 index 00000000000..ae7f763ce6d --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/jdbc/package-tree.html @@ -0,0 +1,158 @@ + + + + + +org.apache.jmeter.protocol.jdbc Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.protocol.jdbc +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/jdbc/processor/AbstractJDBCProcessor.html b/docs/api/org/apache/jmeter/protocol/jdbc/processor/AbstractJDBCProcessor.html new file mode 100644 index 00000000000..f024f65e6d4 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/jdbc/processor/AbstractJDBCProcessor.html @@ -0,0 +1,309 @@ + + + + + +AbstractJDBCProcessor (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.jdbc.processor +
+Class AbstractJDBCProcessor

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.protocol.jdbc.AbstractJDBCTestElement
+          extended by org.apache.jmeter.protocol.jdbc.processor.AbstractJDBCProcessor
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Searchable, TestElement, TestStateListener
+
+
+
Direct Known Subclasses:
JDBCPostProcessor, JDBCPreProcessor
+
+
+
+
public abstract class AbstractJDBCProcessor
extends AbstractJDBCTestElement
+ + +

+As pre- and post-processors essentially do the same this class provides the implementation. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.protocol.jdbc.AbstractJDBCTestElement
ENCODING
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
AbstractJDBCProcessor() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+protected  voidprocess() + +
+          Calls the JDBC code to be executed.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.protocol.jdbc.AbstractJDBCTestElement
close, close, close, execute, getDataSource, getIntegerQueryTimeout, getQuery, getQueryArguments, getQueryArgumentsTypes, getQueryTimeout, getQueryType, getResultSetHandler, getResultVariable, getVariableNames, setDataSource, setQuery, setQueryArguments, setQueryArgumentsTypes, setQueryTimeout, setQueryType, setResultSetHandler, setResultVariable, setVariableNames, testEnded, testEnded, testStarted, testStarted, toString
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+AbstractJDBCProcessor

+
+public AbstractJDBCProcessor()
+
+
+ + + + + + + + +
+Method Detail
+ +

+process

+
+protected void process()
+
+
Calls the JDBC code to be executed. +

+

+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/jdbc/processor/JDBCPostProcessor.html b/docs/api/org/apache/jmeter/protocol/jdbc/processor/JDBCPostProcessor.html new file mode 100644 index 00000000000..6e5e4e78f66 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/jdbc/processor/JDBCPostProcessor.html @@ -0,0 +1,311 @@ + + + + + +JDBCPostProcessor (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.jdbc.processor +
+Class JDBCPostProcessor

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.protocol.jdbc.AbstractJDBCTestElement
+          extended by org.apache.jmeter.protocol.jdbc.processor.AbstractJDBCProcessor
+              extended by org.apache.jmeter.protocol.jdbc.processor.JDBCPostProcessor
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Searchable, PostProcessor, TestBean, TestElement, TestStateListener
+
+
+
+
public class JDBCPostProcessor
extends AbstractJDBCProcessor
implements TestBean, PostProcessor
+ + +

+Post processor handling JDBC Requests +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.protocol.jdbc.AbstractJDBCTestElement
ENCODING
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
JDBCPostProcessor() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ voidprocess() + +
+          Calls the JDBC code to be executed.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.protocol.jdbc.AbstractJDBCTestElement
close, close, close, execute, getDataSource, getIntegerQueryTimeout, getQuery, getQueryArguments, getQueryArgumentsTypes, getQueryTimeout, getQueryType, getResultSetHandler, getResultVariable, getVariableNames, setDataSource, setQuery, setQueryArguments, setQueryArgumentsTypes, setQueryTimeout, setQueryType, setResultSetHandler, setResultVariable, setVariableNames, testEnded, testEnded, testStarted, testStarted, toString
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+JDBCPostProcessor

+
+public JDBCPostProcessor()
+
+
+ + + + + + + + +
+Method Detail
+ +

+process

+
+public void process()
+
+
Description copied from class: AbstractJDBCProcessor
+
Calls the JDBC code to be executed. +

+

+
Specified by:
process in interface PostProcessor
Overrides:
process in class AbstractJDBCProcessor
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/jdbc/processor/JDBCPostProcessorBeanInfo.html b/docs/api/org/apache/jmeter/protocol/jdbc/processor/JDBCPostProcessorBeanInfo.html new file mode 100644 index 00000000000..ba8a7535291 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/jdbc/processor/JDBCPostProcessorBeanInfo.html @@ -0,0 +1,271 @@ + + + + + +JDBCPostProcessorBeanInfo (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.jdbc.processor +
+Class JDBCPostProcessorBeanInfo

+
+java.lang.Object
+  extended by java.beans.SimpleBeanInfo
+      extended by org.apache.jmeter.testbeans.BeanInfoSupport
+          extended by org.apache.jmeter.protocol.jdbc.JDBCTestElementBeanInfoSupport
+              extended by org.apache.jmeter.protocol.jdbc.processor.JDBCPostProcessorBeanInfo
+
+
+
All Implemented Interfaces:
BeanInfo
+
+
+
+
public class JDBCPostProcessorBeanInfo
extends JDBCTestElementBeanInfoSupport
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.testbeans.BeanInfoSupport
DEFAULT, MULTILINE, NOT_EXPRESSION, NOT_OTHER, NOT_UNDEFINED, RESOURCE_BUNDLE, TAGS, TEXT_LANGUAGE
+ + + + + + + +
Fields inherited from interface java.beans.BeanInfo
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32
+  + + + + + + + + + + +
+Constructor Summary
JDBCPostProcessorBeanInfo() + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testbeans.BeanInfoSupport
createPropertyGroup, getAdditionalBeanInfo, getBeanDescriptor, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getIcon, getMethodDescriptors, getPropertyDescriptors, property, property, property, setIcon
+ + + + + + + +
Methods inherited from class java.beans.SimpleBeanInfo
loadImage
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+JDBCPostProcessorBeanInfo

+
+public JDBCPostProcessorBeanInfo()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/jdbc/processor/JDBCPreProcessor.html b/docs/api/org/apache/jmeter/protocol/jdbc/processor/JDBCPreProcessor.html new file mode 100644 index 00000000000..2b76f87b9b4 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/jdbc/processor/JDBCPreProcessor.html @@ -0,0 +1,311 @@ + + + + + +JDBCPreProcessor (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.jdbc.processor +
+Class JDBCPreProcessor

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.protocol.jdbc.AbstractJDBCTestElement
+          extended by org.apache.jmeter.protocol.jdbc.processor.AbstractJDBCProcessor
+              extended by org.apache.jmeter.protocol.jdbc.processor.JDBCPreProcessor
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Searchable, PreProcessor, TestBean, TestElement, TestStateListener
+
+
+
+
public class JDBCPreProcessor
extends AbstractJDBCProcessor
implements TestBean, PreProcessor
+ + +

+Preprocessor handling JDBC Requests +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.protocol.jdbc.AbstractJDBCTestElement
ENCODING
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
JDBCPreProcessor() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ voidprocess() + +
+          Calls the JDBC code to be executed.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.protocol.jdbc.AbstractJDBCTestElement
close, close, close, execute, getDataSource, getIntegerQueryTimeout, getQuery, getQueryArguments, getQueryArgumentsTypes, getQueryTimeout, getQueryType, getResultSetHandler, getResultVariable, getVariableNames, setDataSource, setQuery, setQueryArguments, setQueryArgumentsTypes, setQueryTimeout, setQueryType, setResultSetHandler, setResultVariable, setVariableNames, testEnded, testEnded, testStarted, testStarted, toString
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+JDBCPreProcessor

+
+public JDBCPreProcessor()
+
+
+ + + + + + + + +
+Method Detail
+ +

+process

+
+public void process()
+
+
Description copied from class: AbstractJDBCProcessor
+
Calls the JDBC code to be executed. +

+

+
Specified by:
process in interface PreProcessor
Overrides:
process in class AbstractJDBCProcessor
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/jdbc/processor/JDBCPreProcessorBeanInfo.html b/docs/api/org/apache/jmeter/protocol/jdbc/processor/JDBCPreProcessorBeanInfo.html new file mode 100644 index 00000000000..533657d8cae --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/jdbc/processor/JDBCPreProcessorBeanInfo.html @@ -0,0 +1,271 @@ + + + + + +JDBCPreProcessorBeanInfo (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.jdbc.processor +
+Class JDBCPreProcessorBeanInfo

+
+java.lang.Object
+  extended by java.beans.SimpleBeanInfo
+      extended by org.apache.jmeter.testbeans.BeanInfoSupport
+          extended by org.apache.jmeter.protocol.jdbc.JDBCTestElementBeanInfoSupport
+              extended by org.apache.jmeter.protocol.jdbc.processor.JDBCPreProcessorBeanInfo
+
+
+
All Implemented Interfaces:
BeanInfo
+
+
+
+
public class JDBCPreProcessorBeanInfo
extends JDBCTestElementBeanInfoSupport
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.testbeans.BeanInfoSupport
DEFAULT, MULTILINE, NOT_EXPRESSION, NOT_OTHER, NOT_UNDEFINED, RESOURCE_BUNDLE, TAGS, TEXT_LANGUAGE
+ + + + + + + +
Fields inherited from interface java.beans.BeanInfo
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32
+  + + + + + + + + + + +
+Constructor Summary
JDBCPreProcessorBeanInfo() + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testbeans.BeanInfoSupport
createPropertyGroup, getAdditionalBeanInfo, getBeanDescriptor, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getIcon, getMethodDescriptors, getPropertyDescriptors, property, property, property, setIcon
+ + + + + + + +
Methods inherited from class java.beans.SimpleBeanInfo
loadImage
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+JDBCPreProcessorBeanInfo

+
+public JDBCPreProcessorBeanInfo()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/jdbc/processor/package-frame.html b/docs/api/org/apache/jmeter/protocol/jdbc/processor/package-frame.html new file mode 100644 index 00000000000..64e46ab67bd --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/jdbc/processor/package-frame.html @@ -0,0 +1,38 @@ + + + + + +org.apache.jmeter.protocol.jdbc.processor (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.protocol.jdbc.processor + + + + +
+Classes  + +
+AbstractJDBCProcessor +
+JDBCPostProcessor +
+JDBCPostProcessorBeanInfo +
+JDBCPreProcessor +
+JDBCPreProcessorBeanInfo
+ + + + diff --git a/docs/api/org/apache/jmeter/protocol/jdbc/processor/package-summary.html b/docs/api/org/apache/jmeter/protocol/jdbc/processor/package-summary.html new file mode 100644 index 00000000000..219ecda2c43 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/jdbc/processor/package-summary.html @@ -0,0 +1,169 @@ + + + + + +org.apache.jmeter.protocol.jdbc.processor (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.protocol.jdbc.processor +

+ + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
AbstractJDBCProcessorAs pre- and post-processors essentially do the same this class provides the implementation.
JDBCPostProcessorPost processor handling JDBC Requests
JDBCPostProcessorBeanInfo 
JDBCPreProcessorPreprocessor handling JDBC Requests
JDBCPreProcessorBeanInfo 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/jdbc/processor/package-tree.html b/docs/api/org/apache/jmeter/protocol/jdbc/processor/package-tree.html new file mode 100644 index 00000000000..bfac751500e --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/jdbc/processor/package-tree.html @@ -0,0 +1,166 @@ + + + + + +org.apache.jmeter.protocol.jdbc.processor Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.protocol.jdbc.processor +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/jdbc/sampler/JDBCSampler.html b/docs/api/org/apache/jmeter/protocol/jdbc/sampler/JDBCSampler.html new file mode 100644 index 00000000000..af759237b9f --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/jdbc/sampler/JDBCSampler.html @@ -0,0 +1,350 @@ + + + + + +JDBCSampler (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.jdbc.sampler +
+Class JDBCSampler

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.protocol.jdbc.AbstractJDBCTestElement
+          extended by org.apache.jmeter.protocol.jdbc.sampler.JDBCSampler
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, ConfigMergabilityIndicator, Searchable, Sampler, TestBean, TestElement, TestStateListener
+
+
+
+
public class JDBCSampler
extends AbstractJDBCTestElement
implements Sampler, TestBean, ConfigMergabilityIndicator
+ + +

+A sampler which understands JDBC database requests. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.protocol.jdbc.AbstractJDBCTestElement
ENCODING
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
JDBCSampler() + +
+          Creates a JDBCSampler.
+  + + + + + + + + + + + + + + + +
+Method Summary
+ booleanapplies(ConfigTestElement configElement) + +
+          Does configElement apply to Sampler
+ SampleResultsample(Entry e) + +
+          Obtains statistics about the given Entry, and packages the information + into a SampleResult.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.protocol.jdbc.AbstractJDBCTestElement
close, close, close, execute, getDataSource, getIntegerQueryTimeout, getQuery, getQueryArguments, getQueryArgumentsTypes, getQueryTimeout, getQueryType, getResultSetHandler, getResultVariable, getVariableNames, setDataSource, setQuery, setQueryArguments, setQueryArgumentsTypes, setQueryTimeout, setQueryType, setResultSetHandler, setResultVariable, setVariableNames, testEnded, testEnded, testStarted, testStarted, toString
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.testelement.TestElement
addTestElement, canRemove, clear, clearTestElementChildren, clone, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+JDBCSampler

+
+public JDBCSampler()
+
+
Creates a JDBCSampler. +

+

+ + + + + + + + +
+Method Detail
+ +

+sample

+
+public SampleResult sample(Entry e)
+
+
Description copied from interface: Sampler
+
Obtains statistics about the given Entry, and packages the information + into a SampleResult. +

+

+
Specified by:
sample in interface Sampler
+
+
+
Parameters:
e - the Entry (TODO seems to be unused) +
Returns:
information about the sample
+
+
+
+ +

+applies

+
+public boolean applies(ConfigTestElement configElement)
+
+
Description copied from interface: ConfigMergabilityIndicator
+
Does configElement apply to Sampler +

+

+
Specified by:
applies in interface ConfigMergabilityIndicator
+
+
+
Parameters:
configElement - ConfigTestElement +
Returns:
boolean
See Also:
AbstractSampler.applies(org.apache.jmeter.config.ConfigTestElement)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/jdbc/sampler/JDBCSamplerBeanInfo.html b/docs/api/org/apache/jmeter/protocol/jdbc/sampler/JDBCSamplerBeanInfo.html new file mode 100644 index 00000000000..fceb54037e8 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/jdbc/sampler/JDBCSamplerBeanInfo.html @@ -0,0 +1,271 @@ + + + + + +JDBCSamplerBeanInfo (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.jdbc.sampler +
+Class JDBCSamplerBeanInfo

+
+java.lang.Object
+  extended by java.beans.SimpleBeanInfo
+      extended by org.apache.jmeter.testbeans.BeanInfoSupport
+          extended by org.apache.jmeter.protocol.jdbc.JDBCTestElementBeanInfoSupport
+              extended by org.apache.jmeter.protocol.jdbc.sampler.JDBCSamplerBeanInfo
+
+
+
All Implemented Interfaces:
BeanInfo
+
+
+
+
public class JDBCSamplerBeanInfo
extends JDBCTestElementBeanInfoSupport
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.testbeans.BeanInfoSupport
DEFAULT, MULTILINE, NOT_EXPRESSION, NOT_OTHER, NOT_UNDEFINED, RESOURCE_BUNDLE, TAGS, TEXT_LANGUAGE
+ + + + + + + +
Fields inherited from interface java.beans.BeanInfo
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32
+  + + + + + + + + + + +
+Constructor Summary
JDBCSamplerBeanInfo() + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testbeans.BeanInfoSupport
createPropertyGroup, getAdditionalBeanInfo, getBeanDescriptor, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getIcon, getMethodDescriptors, getPropertyDescriptors, property, property, property, setIcon
+ + + + + + + +
Methods inherited from class java.beans.SimpleBeanInfo
loadImage
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+JDBCSamplerBeanInfo

+
+public JDBCSamplerBeanInfo()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/jdbc/sampler/package-frame.html b/docs/api/org/apache/jmeter/protocol/jdbc/sampler/package-frame.html new file mode 100644 index 00000000000..9bc94ceac4d --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/jdbc/sampler/package-frame.html @@ -0,0 +1,32 @@ + + + + + +org.apache.jmeter.protocol.jdbc.sampler (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.protocol.jdbc.sampler + + + + +
+Classes  + +
+JDBCSampler +
+JDBCSamplerBeanInfo
+ + + + diff --git a/docs/api/org/apache/jmeter/protocol/jdbc/sampler/package-summary.html b/docs/api/org/apache/jmeter/protocol/jdbc/sampler/package-summary.html new file mode 100644 index 00000000000..99d408417b6 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/jdbc/sampler/package-summary.html @@ -0,0 +1,157 @@ + + + + + +org.apache.jmeter.protocol.jdbc.sampler (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.protocol.jdbc.sampler +

+ + + + + + + + + + + + + +
+Class Summary
JDBCSamplerA sampler which understands JDBC database requests.
JDBCSamplerBeanInfo 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/jdbc/sampler/package-tree.html b/docs/api/org/apache/jmeter/protocol/jdbc/sampler/package-tree.html new file mode 100644 index 00000000000..746bca61bb5 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/jdbc/sampler/package-tree.html @@ -0,0 +1,163 @@ + + + + + +org.apache.jmeter.protocol.jdbc.sampler Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.protocol.jdbc.sampler +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/jms/Utils.html b/docs/api/org/apache/jmeter/protocol/jms/Utils.html new file mode 100644 index 00000000000..cfe326b248d --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/jms/Utils.html @@ -0,0 +1,568 @@ + + + + + +Utils (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.jms +
+Class Utils

+
+java.lang.Object
+  extended by org.apache.jmeter.protocol.jms.Utils
+
+
+
+
public final class Utils
extends Object
+ + +

+Utility methods for JMS protocol. + WARNING - the API for this class is likely to change! +

+ +

+


+ +

+ + + + + + + + + + + + + + + +
+Field Summary
+static StringDEFAULT_NO_EXPIRY + +
+           
+static StringDEFAULT_PRIORITY_4 + +
+           
+  + + + + + + + + + + +
+Constructor Summary
Utils() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static voidaddJMSProperties(javax.jms.Message msg, + Map<String,Object> map) + +
+          Set JMS Properties to msg
+static voidclose(javax.jms.Connection closeable, + org.apache.log.Logger log) + +
+           
+static voidclose(javax.jms.MessageConsumer closeable, + org.apache.log.Logger log) + +
+           
+static voidclose(javax.jms.MessageProducer closeable, + org.apache.log.Logger log) + +
+           
+static voidclose(javax.jms.Session closeable, + org.apache.log.Logger log) + +
+           
+static JMSPropertiesconvertArgumentsToJmsProperties(Arguments args) + +
+          Converts Arguments to JMSProperties defaulting to String type + Used to convert version <= 2.10 test plans
+static javax.jms.ConnectiongetConnection(Context ctx, + String factoryName) + +
+          Obtain the queue connection from the context and factory name.
+static StringgetFromEnvironment(Context context, + String key) + +
+          Get value from Context environment taking into account non fully + compliant JNDI implementations
+static javax.jms.DestinationlookupDestination(Context context, + String name) + +
+          Method will lookup a given destination (topic/queue) using JNDI.
+static StringmessageProperties(javax.jms.Message msg) + +
+           
+static StringBuildermessageProperties(StringBuilder sb, + javax.jms.Message msg) + +
+           
+static StringBuilderrequestHeaders(StringBuilder sb, + javax.jms.Message msg) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+DEFAULT_PRIORITY_4

+
+public static final String DEFAULT_PRIORITY_4
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DEFAULT_NO_EXPIRY

+
+public static final String DEFAULT_NO_EXPIRY
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+Utils

+
+public Utils()
+
+
+ + + + + + + + +
+Method Detail
+ +

+close

+
+public static void close(javax.jms.MessageConsumer closeable,
+                         org.apache.log.Logger log)
+
+
+
+
+
+
+ +

+close

+
+public static void close(javax.jms.Session closeable,
+                         org.apache.log.Logger log)
+
+
+
+
+
+
+ +

+close

+
+public static void close(javax.jms.Connection closeable,
+                         org.apache.log.Logger log)
+
+
+
+
+
+
+ +

+close

+
+public static void close(javax.jms.MessageProducer closeable,
+                         org.apache.log.Logger log)
+
+
+
+
+
+
+ +

+messageProperties

+
+public static String messageProperties(javax.jms.Message msg)
+
+
+
+
+
+
+ +

+messageProperties

+
+public static StringBuilder messageProperties(StringBuilder sb,
+                                              javax.jms.Message msg)
+
+
+
+
+
+
+ +

+requestHeaders

+
+public static StringBuilder requestHeaders(StringBuilder sb,
+                                           javax.jms.Message msg)
+
+
+
+
+
+
+ +

+lookupDestination

+
+public static javax.jms.Destination lookupDestination(Context context,
+                                                      String name)
+                                               throws NamingException
+
+
Method will lookup a given destination (topic/queue) using JNDI. +

+

+
Parameters:
context - context to use for lookup
name - the destination name +
Returns:
the destination, never null +
Throws: +
NamingException - if the name cannot be found as a Destination
+
+
+
+ +

+getFromEnvironment

+
+public static final String getFromEnvironment(Context context,
+                                              String key)
+                                       throws NamingException
+
+
Get value from Context environment taking into account non fully + compliant JNDI implementations +

+

+
Parameters:
context - context to use
key - key to lookup in contexts environment +
Returns:
String or null if context.getEnvironment() is not compliant +
Throws: +
NamingException - if a naming problem occurs while getting the environment
+
+
+
+ +

+getConnection

+
+public static javax.jms.Connection getConnection(Context ctx,
+                                                 String factoryName)
+                                          throws javax.jms.JMSException,
+                                                 NamingException
+
+
Obtain the queue connection from the context and factory name. +

+

+
Parameters:
ctx - context to use
factoryName - name of the object factory to look up in context +
Returns:
the queue connection +
Throws: +
javax.jms.JMSException - when creation of the connection fails +
NamingException - when lookup in context fails
+
+
+
+ +

+addJMSProperties

+
+public static void addJMSProperties(javax.jms.Message msg,
+                                    Map<String,Object> map)
+                             throws javax.jms.JMSException
+
+
Set JMS Properties to msg +

+

+
Parameters:
msg - Message to operate on
map - Map of Properties to be set on the message +
Throws: +
javax.jms.JMSException - when msg throws a JMSException while the properties get set
+
+
+
+ +

+convertArgumentsToJmsProperties

+
+public static final JMSProperties convertArgumentsToJmsProperties(Arguments args)
+
+
Converts Arguments to JMSProperties defaulting to String type + Used to convert version <= 2.10 test plans +

+

+
Parameters:
args - Arguments to be converted +
Returns:
jmsProperties The converted JMSProperties
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/jms/client/ClientPool.html b/docs/api/org/apache/jmeter/protocol/jms/client/ClientPool.html new file mode 100644 index 00000000000..6604152a8fc --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/jms/client/ClientPool.html @@ -0,0 +1,326 @@ + + + + + +ClientPool (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.jms.client +
+Class ClientPool

+
+java.lang.Object
+  extended by org.apache.jmeter.protocol.jms.client.ClientPool
+
+
+
+
public class ClientPool
extends Object
+ + +

+ClientPool holds the client instances in an ArrayList. The main purpose of + this is to make it easier to clean up all the instances at the end of a test. + If we didn't do this, threads might become zombie. + + N.B. This class needs to be fully synchronized as it is called from sample threads + and the thread that runs testEnded() methods. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
ClientPool() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static voidaddClient(Closeable client) + +
+          Add a ReceiveClient to the ClientPool.
+static voidclearClient() + +
+          Clear all the clients created by either Publish or Subscribe sampler.
+static Objectget(Object key) + +
+           
+static voidput(Object key, + Object client) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ClientPool

+
+public ClientPool()
+
+
+ + + + + + + + +
+Method Detail
+ +

+addClient

+
+public static void addClient(Closeable client)
+
+
Add a ReceiveClient to the ClientPool. This is so that we can make sure + to close all clients and make sure all threads are destroyed. +

+

+
Parameters:
client - the ReceiveClient to add
+
+
+
+ +

+clearClient

+
+public static void clearClient()
+
+
Clear all the clients created by either Publish or Subscribe sampler. We + need to do this to make sure all the threads creatd during the test are + destroyed and cleaned up. In some cases, the client provided by the + manufacturer of the JMS server may have bugs and some threads may become + zombie. In those cases, it is not the responsibility of JMeter for those + bugs. +

+

+
+
+
+
+ +

+put

+
+public static void put(Object key,
+                       Object client)
+
+
+
+
+
+
+ +

+get

+
+public static Object get(Object key)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/jms/client/InitialContextFactory.html b/docs/api/org/apache/jmeter/protocol/jms/client/InitialContextFactory.html new file mode 100644 index 00000000000..973a5b14b39 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/jms/client/InitialContextFactory.html @@ -0,0 +1,330 @@ + + + + + +InitialContextFactory (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.jms.client +
+Class InitialContextFactory

+
+java.lang.Object
+  extended by org.apache.jmeter.protocol.jms.client.InitialContextFactory
+
+
+
+
public class InitialContextFactory
extends Object
+ + +

+InitialContextFactory is responsible for getting an instance of the initial context. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
InitialContextFactory() + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static voidclose() + +
+          clear all the InitialContext objects.
+static ContextgetContext(boolean useProps, + String initialContextFactory, + String providerUrl, + boolean useAuth, + String securityPrincipal, + String securityCredentials) + +
+          Initialize the JNDI initial context
+static ContextlookupContext(String initialContextFactory, + String providerUrl, + boolean useAuth, + String securityPrincipal, + String securityCredentials) + +
+          Look up the context from the local cache, creating it if necessary.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+InitialContextFactory

+
+public InitialContextFactory()
+
+
+ + + + + + + + +
+Method Detail
+ +

+lookupContext

+
+public static Context lookupContext(String initialContextFactory,
+                                    String providerUrl,
+                                    boolean useAuth,
+                                    String securityPrincipal,
+                                    String securityCredentials)
+                             throws NamingException
+
+
Look up the context from the local cache, creating it if necessary. +

+

+
Parameters:
initialContextFactory - used to set the property Context.INITIAL_CONTEXT_FACTORY
providerUrl - used to set the property Context.PROVIDER_URL
useAuth - set true if security is to be used.
securityPrincipal - used to set the property Context.SECURITY_PRINCIPAL
securityCredentials - used to set the property Context.SECURITY_CREDENTIALS +
Returns:
the context, never null +
Throws: +
NamingException - when creation of the context fails
+
+
+
+ +

+getContext

+
+public static Context getContext(boolean useProps,
+                                 String initialContextFactory,
+                                 String providerUrl,
+                                 boolean useAuth,
+                                 String securityPrincipal,
+                                 String securityCredentials)
+                          throws NamingException
+
+
Initialize the JNDI initial context +

+

+
Parameters:
useProps - if true, create a new InitialContext; otherwise use the other + parameters to call + lookupContext(String, String, boolean, String, String)
initialContextFactory - name of the initial context factory (ignored if + useProps is true)
providerUrl - url of the provider to use (ignored if useProps + is true)
useAuth - true if auth should be used, false + otherwise (ignored if useProps is + true)
securityPrincipal - name of the principal to (ignored if useProps is + true)
securityCredentials - credentials for the principal (ignored if + useProps is true) +
Returns:
the context, never null +
Throws: +
NamingException - when creation of the context fails
+
+
+
+ +

+close

+
+public static void close()
+
+
clear all the InitialContext objects. +

+

+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/jms/client/Publisher.html b/docs/api/org/apache/jmeter/protocol/jms/client/Publisher.html new file mode 100644 index 00000000000..f914b92ea2e --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/jms/client/Publisher.html @@ -0,0 +1,473 @@ + + + + + +Publisher (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.jms.client +
+Class Publisher

+
+java.lang.Object
+  extended by org.apache.jmeter.protocol.jms.client.Publisher
+
+
+
All Implemented Interfaces:
Closeable
+
+
+
+
public class Publisher
extends Object
implements Closeable
+ + +

+


+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
Publisher(boolean useProps, + String initialContextFactory, + String providerUrl, + String connfactory, + String destinationName, + boolean useAuth, + String securityPrincipal, + String securityCredentials) + +
+          Create a publisher using either the jndi.properties file or the provided + parameters.
Publisher(boolean useProps, + String initialContextFactory, + String providerUrl, + String connfactory, + String destinationName, + boolean useAuth, + String securityPrincipal, + String securityCredentials, + boolean staticDestination) + +
+          Create a publisher using either the jndi.properties file or the provided + parameters
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclose() + +
+          Close will close the session
+ javax.jms.Messagepublish(byte[] bytes, + String destinationName, + Map<String,Object> properties, + int deliveryMode, + int priority, + long expiration) + +
+           
+ javax.jms.MapMessagepublish(Map<String,Object> map, + String destinationName, + Map<String,Object> properties, + int deliveryMode, + int priority, + long expiration) + +
+           
+ javax.jms.Messagepublish(Serializable contents, + String destinationName, + Map<String,Object> properties, + int deliveryMode, + int priority, + long expiration) + +
+           
+ javax.jms.Messagepublish(String text, + String destinationName, + Map<String,Object> properties, + int deliveryMode, + int priority, + long expiration) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Publisher

+
+public Publisher(boolean useProps,
+                 String initialContextFactory,
+                 String providerUrl,
+                 String connfactory,
+                 String destinationName,
+                 boolean useAuth,
+                 String securityPrincipal,
+                 String securityCredentials)
+          throws javax.jms.JMSException,
+                 NamingException
+
+
Create a publisher using either the jndi.properties file or the provided + parameters. Uses a static destination and persistent messages(for + backward compatibility) +

+

+
Parameters:
useProps - true if a jndi.properties file is to be used
initialContextFactory - the (ignored if useProps is true)
providerUrl - (ignored if useProps is true)
connfactory - name of the object factory to look up in context
destinationName - name of the destination to use
useAuth - (ignored if useProps is true)
securityPrincipal - (ignored if useProps is true)
securityCredentials - (ignored if useProps is true) +
Throws: +
javax.jms.JMSException - if the context could not be initialised, or there was some + other error +
NamingException - when creation of the publisher fails
+
+
+ +

+Publisher

+
+public Publisher(boolean useProps,
+                 String initialContextFactory,
+                 String providerUrl,
+                 String connfactory,
+                 String destinationName,
+                 boolean useAuth,
+                 String securityPrincipal,
+                 String securityCredentials,
+                 boolean staticDestination)
+          throws javax.jms.JMSException,
+                 NamingException
+
+
Create a publisher using either the jndi.properties file or the provided + parameters +

+

+
Parameters:
useProps - true if a jndi.properties file is to be used
initialContextFactory - the (ignored if useProps is true)
providerUrl - (ignored if useProps is true)
connfactory - name of the object factory to lookup in context
destinationName - name of the destination to use
useAuth - (ignored if useProps is true)
securityPrincipal - (ignored if useProps is true)
securityCredentials - (ignored if useProps is true)
staticDestination - true if the destination is not to change between loops +
Throws: +
javax.jms.JMSException - if the context could not be initialised, or there was some + other error +
NamingException - when creation of the publisher fails
+
+ + + + + + + + +
+Method Detail
+ +

+publish

+
+public javax.jms.Message publish(String text,
+                                 String destinationName,
+                                 Map<String,Object> properties,
+                                 int deliveryMode,
+                                 int priority,
+                                 long expiration)
+                          throws javax.jms.JMSException,
+                                 NamingException
+
+
+
+
+
+ +
Throws: +
javax.jms.JMSException +
NamingException
+
+
+
+ +

+publish

+
+public javax.jms.Message publish(Serializable contents,
+                                 String destinationName,
+                                 Map<String,Object> properties,
+                                 int deliveryMode,
+                                 int priority,
+                                 long expiration)
+                          throws javax.jms.JMSException,
+                                 NamingException
+
+
+
+
+
+ +
Throws: +
javax.jms.JMSException +
NamingException
+
+
+
+ +

+publish

+
+public javax.jms.Message publish(byte[] bytes,
+                                 String destinationName,
+                                 Map<String,Object> properties,
+                                 int deliveryMode,
+                                 int priority,
+                                 long expiration)
+                          throws javax.jms.JMSException,
+                                 NamingException
+
+
+
+
+
+ +
Throws: +
javax.jms.JMSException +
NamingException
+
+
+
+ +

+publish

+
+public javax.jms.MapMessage publish(Map<String,Object> map,
+                                    String destinationName,
+                                    Map<String,Object> properties,
+                                    int deliveryMode,
+                                    int priority,
+                                    long expiration)
+                             throws javax.jms.JMSException,
+                                    NamingException
+
+
+
+
+
+ +
Throws: +
javax.jms.JMSException +
NamingException
+
+
+
+ +

+close

+
+public void close()
+
+
Close will close the session +

+

+
Specified by:
close in interface Closeable
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/jms/client/ReceiveSubscriber.html b/docs/api/org/apache/jmeter/protocol/jms/client/ReceiveSubscriber.html new file mode 100644 index 00000000000..708664b7b98 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/jms/client/ReceiveSubscriber.html @@ -0,0 +1,476 @@ + + + + + +ReceiveSubscriber (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.jms.client +
+Class ReceiveSubscriber

+
+java.lang.Object
+  extended by org.apache.jmeter.protocol.jms.client.ReceiveSubscriber
+
+
+
All Implemented Interfaces:
Closeable, javax.jms.MessageListener
+
+
+
+
public class ReceiveSubscriber
extends Object
implements Closeable, javax.jms.MessageListener
+ + +

+Generic MessageConsumer class, which has two possible strategies. +

    +
  • Use MessageConsumer.receive(timeout) to fetch messages.
  • +
  • Use MessageListener.onMessage() to cache messages in a local queue.
  • +
+ In both cases, the getMessage(long) method is used to return the next message, + either directly using receive(timeout) or from the queue using poll(timeout). +

+ +

+


+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
ReceiveSubscriber(boolean useProps, + String initialContextFactory, + String providerUrl, + String connfactory, + String destinationName, + String durableSubscriptionId, + String clientId, + String jmsSelector, + boolean useAuth, + String securityPrincipal, + String securityCredentials) + +
+          Constructor takes the necessary JNDI related parameters to create a + connection and prepare to begin receiving messages.
ReceiveSubscriber(int queueSize, + boolean useProps, + String initialContextFactory, + String providerUrl, + String connfactory, + String destinationName, + String durableSubscriptionId, + String clientId, + String jmsSelector, + boolean useAuth, + String securityPrincipal, + String securityCredentials) + +
+          Constructor takes the necessary JNDI related parameters to create a + connection and create an onMessageListener to prepare to begin receiving + messages.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclose() + +
+          close() will stop the connection first.
+ javax.jms.MessagegetMessage(long timeout) + +
+          Get the next message or null.
+ voidonMessage(javax.jms.Message message) + +
+          
+ voidstart() + +
+          Calls Connection.start() to begin receiving inbound messages.
+ voidstop() + +
+          Calls Connection.stop() to stop receiving inbound messages.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ReceiveSubscriber

+
+public ReceiveSubscriber(boolean useProps,
+                         String initialContextFactory,
+                         String providerUrl,
+                         String connfactory,
+                         String destinationName,
+                         String durableSubscriptionId,
+                         String clientId,
+                         String jmsSelector,
+                         boolean useAuth,
+                         String securityPrincipal,
+                         String securityCredentials)
+                  throws NamingException,
+                         javax.jms.JMSException
+
+
Constructor takes the necessary JNDI related parameters to create a + connection and prepare to begin receiving messages.
+ The caller must then invoke start() to enable message reception. +

+

+
Parameters:
useProps - if true, use jndi.properties instead of + initialContextFactory, providerUrl, + securityPrincipal, + securityCredentials
initialContextFactory - name of the initial context factory (will be ignored if + useProps is true)
providerUrl - url of the provider (will be ignored if useProps + is true)
connfactory - name of the object factory to look up in context
destinationName - name of the destination
durableSubscriptionId - id for a durable subscription (if empty or null + no durable subscription will be done)
clientId - client id to use (may be empty or null)
jmsSelector - Message Selector
useAuth - flag whether auth should be used (will be ignored if + useProps is true)
securityPrincipal - name of the principal to use for auth (will be ignored if + useProps is true)
securityCredentials - credentials for the principal (will be ignored if + useProps is true) +
Throws: +
javax.jms.JMSException - if could not create context or other problem occurred. +
NamingException - when lookup of context or destination fails
+
+
+ +

+ReceiveSubscriber

+
+public ReceiveSubscriber(int queueSize,
+                         boolean useProps,
+                         String initialContextFactory,
+                         String providerUrl,
+                         String connfactory,
+                         String destinationName,
+                         String durableSubscriptionId,
+                         String clientId,
+                         String jmsSelector,
+                         boolean useAuth,
+                         String securityPrincipal,
+                         String securityCredentials)
+                  throws NamingException,
+                         javax.jms.JMSException
+
+
Constructor takes the necessary JNDI related parameters to create a + connection and create an onMessageListener to prepare to begin receiving + messages.
+ The caller must then invoke start() to enable message reception. +

+

+
Parameters:
queueSize - maximum queue size, where a queueSize <=0 + means no limit
useProps - if true, use jndi.properties instead of + initialContextFactory, providerUrl, + securityPrincipal, + securityCredentials
initialContextFactory - name of the initial context factory (will be ignored if + useProps is true)
providerUrl - url of the provider (will be ignored if useProps + is true)
connfactory - name of the object factory to look up in context
destinationName - name of the destination
durableSubscriptionId - id for a durable subscription (if empty or null + no durable subscription will be done)
clientId - client id to use (may be empty or null)
jmsSelector - Message Selector
useAuth - flag whether auth should be used (will be ignored if + useProps is true)
securityPrincipal - name of the principal to use for auth (will be ignored if + useProps is true)
securityCredentials - credentials for the principal (will be ignored if + useProps is true) +
Throws: +
javax.jms.JMSException - if could not create context or other problem occurred. +
NamingException - when lookup of context or destination fails
+
+ + + + + + + + +
+Method Detail
+ +

+start

+
+public void start()
+           throws javax.jms.JMSException
+
+
Calls Connection.start() to begin receiving inbound messages. +

+

+
+
+
+ +
Throws: +
javax.jms.JMSException - when starting the context fails
+
+
+
+ +

+stop

+
+public void stop()
+          throws javax.jms.JMSException
+
+
Calls Connection.stop() to stop receiving inbound messages. +

+

+
+
+
+ +
Throws: +
javax.jms.JMSException - when stopping the context fails
+
+
+
+ +

+getMessage

+
+public javax.jms.Message getMessage(long timeout)
+                             throws javax.jms.JMSException
+
+
Get the next message or null. +

+ Never blocks for longer than the specified timeout. +

+

+
+
+
+
Parameters:
timeout - in milliseconds +
Returns:
the next message or null +
Throws: +
javax.jms.JMSException - when receiving the message fails
+
+
+
+ +

+close

+
+public void close()
+
+
close() will stop the connection first. + Then it closes the subscriber, session and connection. +

+

+
Specified by:
close in interface Closeable
+
+
+
+
+
+
+ +

+onMessage

+
+public void onMessage(javax.jms.Message message)
+
+
+

+

+
Specified by:
onMessage in interface javax.jms.MessageListener
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/jms/client/package-frame.html b/docs/api/org/apache/jmeter/protocol/jms/client/package-frame.html new file mode 100644 index 00000000000..4719bcc8133 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/jms/client/package-frame.html @@ -0,0 +1,36 @@ + + + + + +org.apache.jmeter.protocol.jms.client (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.protocol.jms.client + + + + +
+Classes  + +
+ClientPool +
+InitialContextFactory +
+Publisher +
+ReceiveSubscriber
+ + + + diff --git a/docs/api/org/apache/jmeter/protocol/jms/client/package-summary.html b/docs/api/org/apache/jmeter/protocol/jms/client/package-summary.html new file mode 100644 index 00000000000..d03d2edc2ed --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/jms/client/package-summary.html @@ -0,0 +1,165 @@ + + + + + +org.apache.jmeter.protocol.jms.client (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.protocol.jms.client +

+ + + + + + + + + + + + + + + + + + + + + +
+Class Summary
ClientPoolClientPool holds the client instances in an ArrayList.
InitialContextFactoryInitialContextFactory is responsible for getting an instance of the initial context.
Publisher 
ReceiveSubscriberGeneric MessageConsumer class, which has two possible strategies.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/jms/client/package-tree.html b/docs/api/org/apache/jmeter/protocol/jms/client/package-tree.html new file mode 100644 index 00000000000..f2939476999 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/jms/client/package-tree.html @@ -0,0 +1,151 @@ + + + + + +org.apache.jmeter.protocol.jms.client Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.protocol.jms.client +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/jms/control/gui/JMSPropertiesPanel.html b/docs/api/org/apache/jmeter/protocol/jms/control/gui/JMSPropertiesPanel.html new file mode 100644 index 00000000000..10e59af5576 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/jms/control/gui/JMSPropertiesPanel.html @@ -0,0 +1,505 @@ + + + + + +JMSPropertiesPanel (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.jms.control.gui +
+Class JMSPropertiesPanel

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.protocol.jms.control.gui.JMSPropertiesPanel
+
+
+
All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible
+
+
+
+
public class JMSPropertiesPanel
extends JPanel
implements ActionListener
+ + +

+Handles input for Jms Properties +

+ +

+

+
Since:
+
2.11
+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
JMSPropertiesPanel() + +
+          Default Constructor.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidactionPerformed(ActionEvent e) + +
+           
+ voidclearGui() + +
+          Clear GUI
+ voidconfigure(TestElement el) + +
+          Configures GUI from el
+ JPanelcreatePropertiesPanel() + +
+           
+ TestElementcreateTestElement() + +
+           
+ voidmodifyTestElement(TestElement el) + +
+          Modifies a given TestElement to mirror the data in the gui components.
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+JMSPropertiesPanel

+
+public JMSPropertiesPanel()
+
+
Default Constructor. +

+

+ + + + + + + + +
+Method Detail
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
+
+
+
+
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement el)
+
+
Modifies a given TestElement to mirror the data in the gui components. +

+

+
+
+
+
Parameters:
el - the test element to modify
See Also:
JMeterGUIComponent.modifyTestElement(TestElement)
+
+
+
+ +

+clearGui

+
+public void clearGui()
+
+
Clear GUI +

+

+
+
+
+
+
+
+
+ +

+configure

+
+public void configure(TestElement el)
+
+
Configures GUI from el +

+

+
+
+
+
Parameters:
el - TestElement
+
+
+
+ +

+actionPerformed

+
+public void actionPerformed(ActionEvent e)
+
+
+
Specified by:
actionPerformed in interface ActionListener
+
+
+
+
+
+
+ +

+createPropertiesPanel

+
+public JPanel createPropertiesPanel()
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/jms/control/gui/JMSPublisherGui.html b/docs/api/org/apache/jmeter/protocol/jms/control/gui/JMSPublisherGui.html new file mode 100644 index 00000000000..a56f57ad179 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/jms/control/gui/JMSPublisherGui.html @@ -0,0 +1,680 @@ + + + + + +JMSPublisherGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.jms.control.gui +
+Class JMSPublisherGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.samplers.gui.AbstractSamplerGui
+                          extended by org.apache.jmeter.protocol.jms.control.gui.JMSPublisherGui
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, EventListener, Accessible, ChangeListener, ClearGui, JMeterGUIComponent, Printable
+
+
+
+
public class JMSPublisherGui
extends AbstractSamplerGui
implements ChangeListener
+ + +

+This is the GUI for JMS Publisher +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static StringBYTES_MSG_RSC + +
+          Create a BytesMessage
+static StringMAP_MSG_RSC + +
+          Create a MapMessage
+static StringOBJECT_MSG_RSC + +
+          Create an ObjectMessage
+static StringTEXT_MSG_RSC + +
+          Create a TextMessage
+static StringUSE_FILE_RSC + +
+          Take source from the named file
+static StringUSE_RANDOM_RSC + +
+          Take source from a random file
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
JMSPublisherGui() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclearGui() + +
+          Provides a default implementation that resets the name field to the value of + getStaticLabel(), reset comment and sets enabled to true.
+ voidconfigure(TestElement el) + +
+          the implementation loads the URL and the soap action for the request.
+ TestElementcreateTestElement() + +
+          JMeter test components are separated into a model and a GUI + representation.
+ StringgetLabelResource() + +
+          the name of the property for the JMSPublisherGui is jms_publisher.
+ voidmodifyTestElement(TestElement s) + +
+          Modifies a given TestElement to mirror the data in the gui components.
+ voidstateChanged(ChangeEvent event) + +
+          When a widget state changes, it will notify this class so we can + enable/disable the correct items.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.samplers.gui.AbstractSamplerGui
createPopupMenu, getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+USE_FILE_RSC

+
+public static final String USE_FILE_RSC
+
+
Take source from the named file +

+

+
See Also:
Constant Field Values
+
+
+ +

+USE_RANDOM_RSC

+
+public static final String USE_RANDOM_RSC
+
+
Take source from a random file +

+

+
See Also:
Constant Field Values
+
+
+ +

+TEXT_MSG_RSC

+
+public static final String TEXT_MSG_RSC
+
+
Create a TextMessage +

+

+
See Also:
Constant Field Values
+
+
+ +

+MAP_MSG_RSC

+
+public static final String MAP_MSG_RSC
+
+
Create a MapMessage +

+

+
See Also:
Constant Field Values
+
+
+ +

+OBJECT_MSG_RSC

+
+public static final String OBJECT_MSG_RSC
+
+
Create an ObjectMessage +

+

+
See Also:
Constant Field Values
+
+
+ +

+BYTES_MSG_RSC

+
+public static final String BYTES_MSG_RSC
+
+
Create a BytesMessage +

+

+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+JMSPublisherGui

+
+public JMSPublisherGui()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
the name of the property for the JMSPublisherGui is jms_publisher. +

+

+
Specified by:
getLabelResource in interface JMeterGUIComponent
+
+
+ +
Returns:
the resource name
+
+
+
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
Description copied from interface: JMeterGUIComponent
+
JMeter test components are separated into a model and a GUI + representation. The model holds the data and the GUI displays it. The GUI + class is responsible for knowing how to create and initialize with data + the model class that it knows how to display, and this method is called + when new test elements are created. +

+

+
Specified by:
createTestElement in interface JMeterGUIComponent
+
+
+ +
Returns:
the Test Element object that the GUI component represents.
See Also:
JMeterGUIComponent.createTestElement()
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement s)
+
+
Modifies a given TestElement to mirror the data in the gui components. +

+

+
Specified by:
modifyTestElement in interface JMeterGUIComponent
+
+
+
Parameters:
s - the TestElement to modify
See Also:
JMeterGUIComponent.modifyTestElement(TestElement)
+
+
+
+ +

+clearGui

+
+public void clearGui()
+
+
Description copied from class: AbstractJMeterGuiComponent
+
Provides a default implementation that resets the name field to the value of + getStaticLabel(), reset comment and sets enabled to true. Your GUI may need more things + cleared, in which case you should override, clear the extra fields, and + still call super.clearGui(). +

+

+
Specified by:
clearGui in interface ClearGui
Overrides:
clearGui in class AbstractJMeterGuiComponent
+
+
+
+
+
+
+ +

+configure

+
+public void configure(TestElement el)
+
+
the implementation loads the URL and the soap action for the request. +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class AbstractJMeterGuiComponent
+
+
+
Parameters:
el - the TestElement to configure
+
+
+
+ +

+stateChanged

+
+public void stateChanged(ChangeEvent event)
+
+
When a widget state changes, it will notify this class so we can + enable/disable the correct items. +

+

+
Specified by:
stateChanged in interface ChangeListener
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/jms/control/gui/JMSSamplerGui.html b/docs/api/org/apache/jmeter/protocol/jms/control/gui/JMSSamplerGui.html new file mode 100644 index 00000000000..b7a73352b35 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/jms/control/gui/JMSSamplerGui.html @@ -0,0 +1,536 @@ + + + + + +JMSSamplerGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.jms.control.gui +
+Class JMSSamplerGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.samplers.gui.AbstractSamplerGui
+                          extended by org.apache.jmeter.protocol.jms.control.gui.JMSSamplerGui
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
+
public class JMSSamplerGui
extends AbstractSamplerGui
+ + +

+Configuration screen for Java Messaging Point-to-Point requests.
+ Created on: October 28, 2004 +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
JMSSamplerGui() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclearGui() + +
+          Clears all fields.
+ voidconfigure(TestElement el) + +
+          A newly created gui component can be initialized with the contents of a + Test Element object by calling this method.
+ TestElementcreateTestElement() + +
+          JMeter test components are separated into a model and a GUI + representation.
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ voidmodifyTestElement(TestElement element) + +
+          GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.samplers.gui.AbstractSamplerGui
createPopupMenu, getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+JMSSamplerGui

+
+public JMSSamplerGui()
+
+
+ + + + + + + + +
+Method Detail
+ +

+clearGui

+
+public void clearGui()
+
+
Clears all fields. +

+

+
Specified by:
clearGui in interface ClearGui
Overrides:
clearGui in class AbstractJMeterGuiComponent
+
+
+
+
+
+
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
Description copied from interface: JMeterGUIComponent
+
JMeter test components are separated into a model and a GUI + representation. The model holds the data and the GUI displays it. The GUI + class is responsible for knowing how to create and initialize with data + the model class that it knows how to display, and this method is called + when new test elements are created. +

+

+ +
Returns:
the Test Element object that the GUI component represents.
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement element)
+
+
Description copied from interface: JMeterGUIComponent
+
GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components. This method should + overwrite whatever data is currently in the TestElement as it is called + after a user has filled out the form elements in the gui with new + information. +

+

+
Parameters:
element - the test element being created
+
+
+
+ +

+configure

+
+public void configure(TestElement el)
+
+
Description copied from class: AbstractJMeterGuiComponent
+
A newly created gui component can be initialized with the contents of a + Test Element object by calling this method. The component is responsible + for querying the Test Element object for the relevant information to + display in its GUI. +

+ AbstractJMeterGuiComponent provides a partial implementation of this + method, setting the name of the component and its enabled status. + Subclasses should override this method, performing their own + configuration as needed, but also calling this super-implementation. +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class AbstractJMeterGuiComponent
+
+
+
Parameters:
el - the TestElement to configure
+
+
+
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+ +
Returns:
the resource name
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/jms/control/gui/JMSSubscriberGui.html b/docs/api/org/apache/jmeter/protocol/jms/control/gui/JMSSubscriberGui.html new file mode 100644 index 00000000000..50ddeaa43d5 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/jms/control/gui/JMSSubscriberGui.html @@ -0,0 +1,604 @@ + + + + + +JMSSubscriberGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.jms.control.gui +
+Class JMSSubscriberGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.samplers.gui.AbstractSamplerGui
+                          extended by org.apache.jmeter.protocol.jms.control.gui.JMSSubscriberGui
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, EventListener, Accessible, ChangeListener, ClearGui, JMeterGUIComponent, Printable
+
+
+
+
public class JMSSubscriberGui
extends AbstractSamplerGui
implements ChangeListener
+ + +

+This is the GUI for JMS Subscriber
+

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + + + + + + + + + +
+Field Summary
+static StringON_MESSAGE_RSC + +
+           
+static StringRECEIVE_RSC + +
+           
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
JMSSubscriberGui() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclearGui() + +
+          Provides a default implementation that resets the name field to the value of + getStaticLabel(), reset comment and sets enabled to true.
+ voidconfigure(TestElement el) + +
+          the implementation loads the URL and the soap action for the request.
+ TestElementcreateTestElement() + +
+          JMeter test components are separated into a model and a GUI + representation.
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ voidmodifyTestElement(TestElement s) + +
+          Modifies a given TestElement to mirror the data in the gui components.
+ voidstateChanged(ChangeEvent event) + +
+          When the state of a widget changes, it will notify the gui. the method + then enables or disables certain parameters.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.samplers.gui.AbstractSamplerGui
createPopupMenu, getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+RECEIVE_RSC

+
+public static final String RECEIVE_RSC
+
+
+
See Also:
Constant Field Values
+
+
+ +

+ON_MESSAGE_RSC

+
+public static final String ON_MESSAGE_RSC
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+JMSSubscriberGui

+
+public JMSSubscriberGui()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+
Specified by:
getLabelResource in interface JMeterGUIComponent
+
+
+ +
Returns:
the resource name
+
+
+
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
Description copied from interface: JMeterGUIComponent
+
JMeter test components are separated into a model and a GUI + representation. The model holds the data and the GUI displays it. The GUI + class is responsible for knowing how to create and initialize with data + the model class that it knows how to display, and this method is called + when new test elements are created. +

+

+
Specified by:
createTestElement in interface JMeterGUIComponent
+
+
+ +
Returns:
the Test Element object that the GUI component represents.
See Also:
JMeterGUIComponent.createTestElement()
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement s)
+
+
Modifies a given TestElement to mirror the data in the gui components. +

+

+
Specified by:
modifyTestElement in interface JMeterGUIComponent
+
+
+
Parameters:
s - the TestElement to modify
See Also:
JMeterGUIComponent.modifyTestElement(TestElement)
+
+
+
+ +

+configure

+
+public void configure(TestElement el)
+
+
the implementation loads the URL and the soap action for the request. +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class AbstractJMeterGuiComponent
+
+
+
Parameters:
el - the TestElement to configure
+
+
+
+ +

+clearGui

+
+public void clearGui()
+
+
Description copied from class: AbstractJMeterGuiComponent
+
Provides a default implementation that resets the name field to the value of + getStaticLabel(), reset comment and sets enabled to true. Your GUI may need more things + cleared, in which case you should override, clear the extra fields, and + still call super.clearGui(). +

+

+
Specified by:
clearGui in interface ClearGui
Overrides:
clearGui in class AbstractJMeterGuiComponent
+
+
+
+
+
+
+ +

+stateChanged

+
+public void stateChanged(ChangeEvent event)
+
+
When the state of a widget changes, it will notify the gui. the method + then enables or disables certain parameters. +

+

+
Specified by:
stateChanged in interface ChangeListener
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/jms/control/gui/package-frame.html b/docs/api/org/apache/jmeter/protocol/jms/control/gui/package-frame.html new file mode 100644 index 00000000000..efc654bf0fa --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/jms/control/gui/package-frame.html @@ -0,0 +1,36 @@ + + + + + +org.apache.jmeter.protocol.jms.control.gui (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.protocol.jms.control.gui + + + + +
+Classes  + +
+JMSPropertiesPanel +
+JMSPublisherGui +
+JMSSamplerGui +
+JMSSubscriberGui
+ + + + diff --git a/docs/api/org/apache/jmeter/protocol/jms/control/gui/package-summary.html b/docs/api/org/apache/jmeter/protocol/jms/control/gui/package-summary.html new file mode 100644 index 00000000000..e82d10e6a1e --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/jms/control/gui/package-summary.html @@ -0,0 +1,165 @@ + + + + + +org.apache.jmeter.protocol.jms.control.gui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.protocol.jms.control.gui +

+ + + + + + + + + + + + + + + + + + + + + +
+Class Summary
JMSPropertiesPanelHandles input for Jms Properties
JMSPublisherGuiThis is the GUI for JMS Publisher
JMSSamplerGuiConfiguration screen for Java Messaging Point-to-Point requests.
JMSSubscriberGuiThis is the GUI for JMS Subscriber
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/jms/control/gui/package-tree.html b/docs/api/org/apache/jmeter/protocol/jms/control/gui/package-tree.html new file mode 100644 index 00000000000..602da022660 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/jms/control/gui/package-tree.html @@ -0,0 +1,168 @@ + + + + + +org.apache.jmeter.protocol.jms.control.gui Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.protocol.jms.control.gui +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/jms/package-frame.html b/docs/api/org/apache/jmeter/protocol/jms/package-frame.html new file mode 100644 index 00000000000..bf1223df695 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/jms/package-frame.html @@ -0,0 +1,30 @@ + + + + + +org.apache.jmeter.protocol.jms (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.protocol.jms + + + + +
+Classes  + +
+Utils
+ + + + diff --git a/docs/api/org/apache/jmeter/protocol/jms/package-summary.html b/docs/api/org/apache/jmeter/protocol/jms/package-summary.html new file mode 100644 index 00000000000..669b9e42d24 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/jms/package-summary.html @@ -0,0 +1,153 @@ + + + + + +org.apache.jmeter.protocol.jms (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.protocol.jms +

+ + + + + + + + + +
+Class Summary
UtilsUtility methods for JMS protocol.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/jms/package-tree.html b/docs/api/org/apache/jmeter/protocol/jms/package-tree.html new file mode 100644 index 00000000000..43b1112fd16 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/jms/package-tree.html @@ -0,0 +1,149 @@ + + + + + +org.apache.jmeter.protocol.jms Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.protocol.jms +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+
    +
  • java.lang.Object
      +
    • org.apache.jmeter.protocol.jms.Utils
    +
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/jms/sampler/BaseJMSSampler.html b/docs/api/org/apache/jmeter/protocol/jms/sampler/BaseJMSSampler.html new file mode 100644 index 00000000000..6b9bc7834c7 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/jms/sampler/BaseJMSSampler.html @@ -0,0 +1,900 @@ + + + + + +BaseJMSSampler (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.jms.sampler +
+Class BaseJMSSampler

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.samplers.AbstractSampler
+          extended by org.apache.jmeter.protocol.jms.sampler.BaseJMSSampler
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, ConfigMergabilityIndicator, Searchable, Sampler, TestElement
+
+
+
Direct Known Subclasses:
PublisherSampler, SubscriberSampler
+
+
+
+
public abstract class BaseJMSSampler
extends AbstractSampler
+ + +

+BaseJMSSampler is an abstract class which provides implementation for common + properties. Rather than duplicate the code, it's contained in the base class. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
BaseJMSSampler() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetConnectionFactory() + +
+          return the connection factory parameter used to lookup the connection + factory from the JMS server
+ StringgetDestination() + +
+          return the destination (topic or queue name)
+ intgetIterationCount() + +
+          return the number of iterations as int instead of string
+ StringgetIterations() + +
+          get the iterations as string
+ StringgetJNDIInitialContextFactory() + +
+          method returns the initial context factory for jndi initial context + lookup.
+static StringgetMessageHeaders(javax.jms.Message message) + +
+          Returns a String with the JMS Message Header values.
+ StringgetPassword() + +
+          return the password used to login to the jms server
+ StringgetProviderUrl() + +
+          method returns the provider url for jndi to connect to
+ StringgetReadResponse() + +
+          return whether the sampler should read the response
+ booleangetReadResponseAsBoolean() + +
+          return whether the sampler should read the response as a boolean value
+ StringgetUseJNDIProperties() + +
+          return whether the sampler should use properties file instead of UI + parameters.
+ booleangetUseJNDIPropertiesAsBoolean() + +
+          return the properties as boolean true/false.
+ StringgetUsername() + +
+          return the username used to login to the jms server
+ booleanisDestinationStatic() + +
+          return whether the sampler should use a static destination.
+ booleanisUseAuth() + +
+          return whether jndi requires authentication
+abstract  SampleResultsample() + +
+           
+ SampleResultsample(Entry e) + +
+          Obtains statistics about the given Entry, and packages the information + into a SampleResult.
+ voidsetConnectionFactory(String factory) + +
+          set the connection factory for
+ voidsetDestination(String dest) + +
+          set the destination (topic or queue name)
+ voidsetDestinationStatic(boolean isStatic) + +
+          if the sampler should use a static destination, call the method with true
+ voidsetIterations(String count) + +
+          set the number of iterations the sampler should aggregate
+ voidsetJNDIIntialContextFactory(String icf) + +
+          set the initial context factory
+ voidsetPassword(String pwd) + +
+          Set the password to login to the jms server
+ voidsetProviderUrl(String url) + +
+          set the provider user for jndi
+ voidsetReadResponse(String read) + +
+          set whether the sampler should read the response or not
+ voidsetUseAuth(boolean useAuth) + +
+          Set whether authentication is required for JNDI
+ voidsetUseJNDIProperties(String properties) + +
+          if the sampler should use jndi.properties file, call the method with the string "true"
+ voidsetUsername(String user) + +
+          set the username to login into the jms server if needed
+ + + + + + + +
Methods inherited from class org.apache.jmeter.samplers.AbstractSampler
applies
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.testelement.TestElement
addTestElement, canRemove, clear, clearTestElementChildren, clone, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+BaseJMSSampler

+
+public BaseJMSSampler()
+
+
+ + + + + + + + +
+Method Detail
+ +

+sample

+
+public SampleResult sample(Entry e)
+
+
Obtains statistics about the given Entry, and packages the information + into a SampleResult. +

+

+
Parameters:
e - the Entry (TODO seems to be unused) +
Returns:
information about the sample
+
+
+
+ +

+sample

+
+public abstract SampleResult sample()
+
+
+
+
+
+
+ +

+setJNDIIntialContextFactory

+
+public void setJNDIIntialContextFactory(String icf)
+
+
set the initial context factory +

+

+
Parameters:
icf - the initial context factory
+
+
+
+ +

+getJNDIInitialContextFactory

+
+public String getJNDIInitialContextFactory()
+
+
method returns the initial context factory for jndi initial context + lookup. +

+

+ +
Returns:
the initial context factory
+
+
+
+ +

+setProviderUrl

+
+public void setProviderUrl(String url)
+
+
set the provider user for jndi +

+

+
Parameters:
url - the provider URL
+
+
+
+ +

+getProviderUrl

+
+public String getProviderUrl()
+
+
method returns the provider url for jndi to connect to +

+

+ +
Returns:
the provider URL
+
+
+
+ +

+setConnectionFactory

+
+public void setConnectionFactory(String factory)
+
+
set the connection factory for +

+

+
Parameters:
factory - the connection factory
+
+
+
+ +

+getConnectionFactory

+
+public String getConnectionFactory()
+
+
return the connection factory parameter used to lookup the connection + factory from the JMS server +

+

+ +
Returns:
the connection factory
+
+
+
+ +

+setDestination

+
+public void setDestination(String dest)
+
+
set the destination (topic or queue name) +

+

+
Parameters:
dest - the destination
+
+
+
+ +

+getDestination

+
+public String getDestination()
+
+
return the destination (topic or queue name) +

+

+ +
Returns:
the destination
+
+
+
+ +

+setUsername

+
+public void setUsername(String user)
+
+
set the username to login into the jms server if needed +

+

+
Parameters:
user - the name of the user
+
+
+
+ +

+getUsername

+
+public String getUsername()
+
+
return the username used to login to the jms server +

+

+ +
Returns:
the username used to login to the jms server
+
+
+
+ +

+setPassword

+
+public void setPassword(String pwd)
+
+
Set the password to login to the jms server +

+

+
Parameters:
pwd - the password to use for login on the jms server
+
+
+
+ +

+getPassword

+
+public String getPassword()
+
+
return the password used to login to the jms server +

+

+ +
Returns:
the password used to login to the jms server
+
+
+
+ +

+setIterations

+
+public void setIterations(String count)
+
+
set the number of iterations the sampler should aggregate +

+

+
Parameters:
count - the number of iterations
+
+
+
+ +

+getIterations

+
+public String getIterations()
+
+
get the iterations as string +

+

+ +
Returns:
the number of iterations
+
+
+
+ +

+getIterationCount

+
+public int getIterationCount()
+
+
return the number of iterations as int instead of string +

+

+ +
Returns:
the number of iterations as int instead of string
+
+
+
+ +

+setUseAuth

+
+public void setUseAuth(boolean useAuth)
+
+
Set whether authentication is required for JNDI +

+

+
Parameters:
useAuth - flag whether to use authentication
+
+
+
+ +

+isUseAuth

+
+public boolean isUseAuth()
+
+
return whether jndi requires authentication +

+

+ +
Returns:
whether jndi requires authentication
+
+
+
+ +

+setReadResponse

+
+public void setReadResponse(String read)
+
+
set whether the sampler should read the response or not +

+

+
Parameters:
read - whether the sampler should read the response or not
+
+
+
+ +

+getReadResponse

+
+public String getReadResponse()
+
+
return whether the sampler should read the response +

+

+ +
Returns:
whether the sampler should read the response
+
+
+
+ +

+getReadResponseAsBoolean

+
+public boolean getReadResponseAsBoolean()
+
+
return whether the sampler should read the response as a boolean value +

+

+ +
Returns:
whether the sampler should read the response as a boolean value
+
+
+
+ +

+setUseJNDIProperties

+
+public void setUseJNDIProperties(String properties)
+
+
if the sampler should use jndi.properties file, call the method with the string "true" +

+

+
Parameters:
properties - flag whether to use jndi.properties file
+
+
+
+ +

+getUseJNDIProperties

+
+public String getUseJNDIProperties()
+
+
return whether the sampler should use properties file instead of UI + parameters. +

+

+ +
Returns:
the string "true" when the sampler should use properties file + instead of UI parameters, the string "false" otherwise.
+
+
+
+ +

+getUseJNDIPropertiesAsBoolean

+
+public boolean getUseJNDIPropertiesAsBoolean()
+
+
return the properties as boolean true/false. +

+

+ +
Returns:
whether the sampler should use properties file instead of UI parameters.
+
+
+
+ +

+setDestinationStatic

+
+public void setDestinationStatic(boolean isStatic)
+
+
if the sampler should use a static destination, call the method with true +

+

+
Parameters:
isStatic - flag whether the destination is a static destination
+
+
+
+ +

+isDestinationStatic

+
+public boolean isDestinationStatic()
+
+
return whether the sampler should use a static destination. +

+

+ +
Returns:
whether the sampler should use a static destination.
+
+
+
+ +

+getMessageHeaders

+
+public static String getMessageHeaders(javax.jms.Message message)
+
+
Returns a String with the JMS Message Header values. +

+

+
Parameters:
message - JMS Message +
Returns:
String with message header values.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/jms/sampler/FixedQueueExecutor.html b/docs/api/org/apache/jmeter/protocol/jms/sampler/FixedQueueExecutor.html new file mode 100644 index 00000000000..7954f4b730a --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/jms/sampler/FixedQueueExecutor.html @@ -0,0 +1,280 @@ + + + + + +FixedQueueExecutor (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.jms.sampler +
+Class FixedQueueExecutor

+
+java.lang.Object
+  extended by org.apache.jmeter.protocol.jms.sampler.FixedQueueExecutor
+
+
+
All Implemented Interfaces:
QueueExecutor
+
+
+
+
public class FixedQueueExecutor
extends Object
implements QueueExecutor
+ + +

+Request/reply executor with a fixed reply queue.
+ + Used by JMS Sampler (Point to Point) +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
FixedQueueExecutor(javax.jms.MessageProducer producer, + int timeout, + boolean useReqMsgIdAsCorrelId) + +
+          Constructor.
+  + + + + + + + + + + + +
+Method Summary
+ javax.jms.MessagesendAndReceive(javax.jms.Message request, + int deliveryMode, + int priority, + long expiration) + +
+          Sends and receives a message.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+FixedQueueExecutor

+
+public FixedQueueExecutor(javax.jms.MessageProducer producer,
+                          int timeout,
+                          boolean useReqMsgIdAsCorrelId)
+
+
Constructor. +

+

+
Parameters:
producer - the queue to send the message on
timeout - timeout to use for the return message
useReqMsgIdAsCorrelId - whether to use the request message id as the correlation id
+
+ + + + + + + + +
+Method Detail
+ +

+sendAndReceive

+
+public javax.jms.Message sendAndReceive(javax.jms.Message request,
+                                        int deliveryMode,
+                                        int priority,
+                                        long expiration)
+                                 throws javax.jms.JMSException
+
+
Sends and receives a message. +

+

+
Specified by:
sendAndReceive in interface QueueExecutor
+
+
+
Parameters:
request - the message to send
deliveryMode - the delivery mode to use
priority - the priority for this message
expiration - messages lifetime in ms +
Returns:
the received message or null +
Throws: +
javax.jms.JMSException - in case of an exception from the messaging system
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/jms/sampler/JMSProperties.html b/docs/api/org/apache/jmeter/protocol/jms/sampler/JMSProperties.html new file mode 100644 index 00000000000..75e200594d9 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/jms/sampler/JMSProperties.html @@ -0,0 +1,673 @@ + + + + + +JMSProperties (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.jms.sampler +
+Class JMSProperties

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.protocol.jms.sampler.JMSProperties
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Searchable, TestElement
+
+
+
+
public class JMSProperties
extends AbstractTestElement
implements Serializable
+ + +

+A set of JMSProperty objects. +

+ +

+

+
Since:
+
2.11
+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Field Summary
+static StringJMS_PROPERTIES + +
+          The name of the property used to store the JmsProperties.
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
JMSProperties() + +
+          Create a new JmsPropertys object with no JmsProperties
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddJmsProperty(JMSProperty arg) + +
+          Add a new argument.
+ voidaddJmsProperty(String name, + String value) + +
+          Add a new JMSProperty with the given name and value.
+ voidaddJmsProperty(String name, + String value, + String type) + +
+          Add a new argument with the given name, value, and metadata.
+ voidclear() + +
+          Clear the JmsProperties.
+ JMSPropertygetJmsProperty(int row) + +
+          Get a single JMSProperty.
+ intgetJmsPropertyCount() + +
+          Get the number of JmsProperties in the list.
+ Map<String,Object>getJmsPropertysAsMap() + +
+          Get the JmsProperties as a Map.
+ CollectionPropertygetProperties() + +
+          Get the JmsPropertiess.
+ PropertyIteratoriterator() + +
+          Get a PropertyIterator of the JmsProperties.
+ voidremoveAllJmsPropertys() + +
+          Remove all JmsProperties from the list.
+ voidremoveJmsProperty(int row) + +
+          Remove the specified argument from the list.
+ voidremoveJmsProperty(JMSProperty arg) + +
+          Remove the specified argument from the list.
+ voidremoveJmsProperty(String argName) + +
+          Remove the argument with the specified name.
+ voidsetProperties(List<JMSProperty> jmsProperties) + +
+          Set the list of JmsProperties.
+ StringtoString() + +
+          Create a string representation of the JmsProperties.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+JMS_PROPERTIES

+
+public static final String JMS_PROPERTIES
+
+
The name of the property used to store the JmsProperties. +

+

+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+JMSProperties

+
+public JMSProperties()
+
+
Create a new JmsPropertys object with no JmsProperties +

+

+ + + + + + + + +
+Method Detail
+ +

+getProperties

+
+public CollectionProperty getProperties()
+
+
Get the JmsPropertiess. +

+

+
+
+
+ +
Returns:
the JmsProperties
+
+
+
+ +

+clear

+
+public void clear()
+
+
Clear the JmsProperties. +

+

+
Specified by:
clear in interface TestElement
Overrides:
clear in class AbstractTestElement
+
+
+
+
+
+
+ +

+setProperties

+
+public void setProperties(List<JMSProperty> jmsProperties)
+
+
Set the list of JmsProperties. Any existing JmsProperties will be lost. +

+

+
+
+
+
Parameters:
jmsProperties - the new JmsProperties
+
+
+
+ +

+getJmsPropertysAsMap

+
+public Map<String,Object> getJmsPropertysAsMap()
+
+
Get the JmsProperties as a Map. Each JMSProperty name is used as the key, and + its value as the value. +

+

+
+
+
+ +
Returns:
a new Map with String keys and values containing the JmsProperties
+
+
+
+ +

+addJmsProperty

+
+public void addJmsProperty(String name,
+                           String value)
+
+
Add a new JMSProperty with the given name and value. +

+

+
+
+
+
Parameters:
name - the name of the JMSProperty
value - the value of the JMSProperty
+
+
+
+ +

+addJmsProperty

+
+public void addJmsProperty(JMSProperty arg)
+
+
Add a new argument. +

+

+
+
+
+
Parameters:
arg - the new argument
+
+
+
+ +

+addJmsProperty

+
+public void addJmsProperty(String name,
+                           String value,
+                           String type)
+
+
Add a new argument with the given name, value, and metadata. +

+

+
+
+
+
Parameters:
name - the name of the argument
value - the value of the argument
type - the type for the argument
+
+
+
+ +

+iterator

+
+public PropertyIterator iterator()
+
+
Get a PropertyIterator of the JmsProperties. +

+

+
+
+
+ +
Returns:
an iteration of the JmsProperties
+
+
+
+ +

+toString

+
+public String toString()
+
+
Create a string representation of the JmsProperties. +

+

+
Overrides:
toString in class Object
+
+
+ +
Returns:
the string representation of the JmsProperties
+
+
+
+ +

+removeJmsProperty

+
+public void removeJmsProperty(int row)
+
+
Remove the specified argument from the list. +

+

+
+
+
+
Parameters:
row - the index of the argument to remove
+
+
+
+ +

+removeJmsProperty

+
+public void removeJmsProperty(JMSProperty arg)
+
+
Remove the specified argument from the list. +

+

+
+
+
+
Parameters:
arg - the argument to remove
+
+
+
+ +

+removeJmsProperty

+
+public void removeJmsProperty(String argName)
+
+
Remove the argument with the specified name. +

+

+
+
+
+
Parameters:
argName - the name of the argument to remove
+
+
+
+ +

+removeAllJmsPropertys

+
+public void removeAllJmsPropertys()
+
+
Remove all JmsProperties from the list. +

+

+
+
+
+
+
+
+
+ +

+getJmsPropertyCount

+
+public int getJmsPropertyCount()
+
+
Get the number of JmsProperties in the list. +

+

+
+
+
+ +
Returns:
the number of JmsProperties
+
+
+
+ +

+getJmsProperty

+
+public JMSProperty getJmsProperty(int row)
+
+
Get a single JMSProperty. +

+

+
+
+
+
Parameters:
row - the index of the JMSProperty to return. +
Returns:
the JMSProperty at the specified index, or null if no JMSProperty + exists at that index.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/jms/sampler/JMSProperty.html b/docs/api/org/apache/jmeter/protocol/jms/sampler/JMSProperty.html new file mode 100644 index 00000000000..2aabecd9b4c --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/jms/sampler/JMSProperty.html @@ -0,0 +1,572 @@ + + + + + +JMSProperty (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.jms.sampler +
+Class JMSProperty

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.protocol.jms.sampler.JMSProperty
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Searchable, TestElement
+
+
+
+
public class JMSProperty
extends AbstractTestElement
implements Serializable
+ + +

+JMS Property with type +

+ +

+

+
Since:
+
2.11
+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + +
+Field Summary
+static StringPROP_NAME + +
+          Name used to store the JmsProperty's name.
+static StringPROP_TYPE + +
+          Name used to store the JmsProperty's description.
+static StringPROP_VALUE + +
+          Name used to store the JmsProperty's value.
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + + + + + + + +
+Constructor Summary
JMSProperty() + +
+          Create a new JmsProperty without a name, value, or metadata.
JMSProperty(String name, + String value) + +
+          Create a new JmsProperty with the specified name and value, and String type.
JMSProperty(String name, + String value, + String type) + +
+          Create a new JmsProperty with the specified name and value, and String type.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetName() + +
+          Get the name of the JmsProperty.
+ StringgetType() + +
+          Gets the Meta Data attribute of the JmsProperty.
+ StringgetValue() + +
+          Gets the value of the JmsProperty object.
+ ObjectgetValueAsObject() + +
+           
+ voidsetName(String newName) + +
+          Set the name of the JmsProperty.
+ voidsetType(String type) + +
+          Sets the Meta Data attribute of the JmsProperty.
+ voidsetValue(String newValue) + +
+          Sets the value of the JmsProperty.
+ StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+PROP_NAME

+
+public static final String PROP_NAME
+
+
Name used to store the JmsProperty's name. +

+

+
See Also:
Constant Field Values
+
+
+ +

+PROP_VALUE

+
+public static final String PROP_VALUE
+
+
Name used to store the JmsProperty's value. +

+

+
See Also:
Constant Field Values
+
+
+ +

+PROP_TYPE

+
+public static final String PROP_TYPE
+
+
Name used to store the JmsProperty's description. +

+

+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+JMSProperty

+
+public JMSProperty()
+
+
Create a new JmsProperty without a name, value, or metadata. +

+

+
+ +

+JMSProperty

+
+public JMSProperty(String name,
+                   String value)
+
+
Create a new JmsProperty with the specified name and value, and String type. +

+

+
Parameters:
name - the prop name
value - the prop value
+
+
+ +

+JMSProperty

+
+public JMSProperty(String name,
+                   String value,
+                   String type)
+
+
Create a new JmsProperty with the specified name and value, and String type. +

+

+
Parameters:
name - the prop name
value - the prop value
type - the type type
+
+ + + + + + + + +
+Method Detail
+ +

+setName

+
+public void setName(String newName)
+
+
Set the name of the JmsProperty. +

+

+
Specified by:
setName in interface TestElement
Overrides:
setName in class AbstractTestElement
+
+
+
Parameters:
newName - the new name
+
+
+
+ +

+getName

+
+public String getName()
+
+
Get the name of the JmsProperty. +

+

+
Specified by:
getName in interface TestElement
Overrides:
getName in class AbstractTestElement
+
+
+ +
Returns:
the attribute's name
+
+
+
+ +

+setValue

+
+public void setValue(String newValue)
+
+
Sets the value of the JmsProperty. +

+

+
+
+
+
Parameters:
newValue - the new value
+
+
+
+ +

+getValue

+
+public String getValue()
+
+
Gets the value of the JmsProperty object. +

+

+
+
+
+ +
Returns:
the attribute's value
+
+
+
+ +

+setType

+
+public void setType(String type)
+
+
Sets the Meta Data attribute of the JmsProperty. +

+

+
+
+
+
Parameters:
type - the new type
+
+
+
+ +

+getType

+
+public String getType()
+
+
Gets the Meta Data attribute of the JmsProperty. +

+

+
+
+
+ +
Returns:
the MetaData value
+
+
+
+ +

+toString

+
+public String toString()
+
+
+
Overrides:
toString in class Object
+
+
+
+
+
+
+ +

+getValueAsObject

+
+public Object getValueAsObject()
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/jms/sampler/JMSSampler.html b/docs/api/org/apache/jmeter/protocol/jms/sampler/JMSSampler.html new file mode 100644 index 00000000000..d9f178cc2b1 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/jms/sampler/JMSSampler.html @@ -0,0 +1,1141 @@ + + + + + +JMSSampler (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.jms.sampler +
+Class JMSSampler

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.samplers.AbstractSampler
+          extended by org.apache.jmeter.protocol.jms.sampler.JMSSampler
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, ConfigMergabilityIndicator, Searchable, Sampler, TestElement, ThreadListener
+
+
+
+
public class JMSSampler
extends AbstractSampler
implements ThreadListener
+ + +

+This class implements the JMS Point-to-Point sampler +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
JMSSampler() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ ArgumentsgetArguments(String name) + +
+           
+ StringgetContent() + +
+           
+ StringgetContextProvider() + +
+           
+ StringgetExpiration() + +
+           
+ StringgetInitialContextFactory() + +
+           
+ JMSPropertiesgetJMSProperties() + +
+           
+ StringgetJMSSelector() + +
+           
+ ArgumentsgetJNDIProperties() + +
+           
+ StringgetPriority() + +
+           
+ StringgetQueueConnectionFactory() + +
+           
+ StringgetReceiveQueue() + +
+           
+ StringgetSendQueue() + +
+           
+ StringgetTimeout() + +
+           
+ booleanisNonPersistent() + +
+           
+ booleanisOneway() + +
+           
+ booleanisUseReqMsgIdAsCorrelId() + +
+          Which request field to use for correlation?
+ booleanisUseResMsgIdAsCorrelId() + +
+          Which response field to use for correlation?
+ SampleResultsample(Entry entry) + +
+          Obtains statistics about the given Entry, and packages the information + into a SampleResult.
+ voidsetArguments(Arguments args) + +
+           
+ voidsetContent(String content) + +
+           
+ voidsetContextProvider(String string) + +
+           
+ voidsetExpiration(String s) + +
+           
+ voidsetInitialContextFactory(String string) + +
+           
+ voidsetIsOneway(boolean isOneway) + +
+           
+ voidsetJMSProperties(JMSProperties jmsProperties) + +
+           
+ voidsetJMSSelector(String selector) + +
+           
+ voidsetJNDIProperties(Arguments args) + +
+           
+ voidsetNonPersistent(boolean value) + +
+           
+ voidsetPriority(String s) + +
+           
+ voidsetQueueConnectionFactory(String qcf) + +
+           
+ voidsetReceiveQueue(String name) + +
+           
+ voidsetSendQueue(String name) + +
+           
+ voidsetTimeout(String s) + +
+           
+ voidsetUseReqMsgIdAsCorrelId(boolean value) + +
+           
+ voidsetUseResMsgIdAsCorrelId(boolean value) + +
+           
+ voidthreadFinished() + +
+          Called for each thread after all samples have been processed.
+ voidthreadStarted() + +
+          Called for each thread before starting sampling.
+ StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.samplers.AbstractSampler
applies
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.testelement.TestElement
addTestElement, canRemove, clear, clearTestElementChildren, clone, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+JMSSampler

+
+public JMSSampler()
+
+
+ + + + + + + + +
+Method Detail
+ +

+sample

+
+public SampleResult sample(Entry entry)
+
+
Obtains statistics about the given Entry, and packages the information + into a SampleResult. +

+

+
Specified by:
sample in interface Sampler
+
+
+
Parameters:
entry - the Entry (TODO seems to be unused) +
Returns:
information about the sample
+
+
+
+ +

+getJMSProperties

+
+public JMSProperties getJMSProperties()
+
+
+
+
+
+ +
Returns:
JMSProperties JMS Properties
+
+
+
+ +

+setJMSProperties

+
+public void setJMSProperties(JMSProperties jmsProperties)
+
+
+
+
+
+
Parameters:
jmsProperties - JMS Properties
+
+
+
+ +

+getJNDIProperties

+
+public Arguments getJNDIProperties()
+
+
+
+
+
+
+
+
+
+ +

+setJNDIProperties

+
+public void setJNDIProperties(Arguments args)
+
+
+
+
+
+
+
+
+
+ +

+getQueueConnectionFactory

+
+public String getQueueConnectionFactory()
+
+
+
+
+
+
+
+
+
+ +

+setQueueConnectionFactory

+
+public void setQueueConnectionFactory(String qcf)
+
+
+
+
+
+
+
+
+
+ +

+getSendQueue

+
+public String getSendQueue()
+
+
+
+
+
+
+
+
+
+ +

+setSendQueue

+
+public void setSendQueue(String name)
+
+
+
+
+
+
+
+
+
+ +

+getReceiveQueue

+
+public String getReceiveQueue()
+
+
+
+
+
+
+
+
+
+ +

+setReceiveQueue

+
+public void setReceiveQueue(String name)
+
+
+
+
+
+
+
+
+
+ +

+getContent

+
+public String getContent()
+
+
+
+
+
+
+
+
+
+ +

+setContent

+
+public void setContent(String content)
+
+
+
+
+
+
+
+
+
+ +

+isOneway

+
+public boolean isOneway()
+
+
+
+
+
+
+
+
+
+ +

+isNonPersistent

+
+public boolean isNonPersistent()
+
+
+
+
+
+
+
+
+
+ +

+isUseReqMsgIdAsCorrelId

+
+public boolean isUseReqMsgIdAsCorrelId()
+
+
Which request field to use for correlation? +

+

+
+
+
+ +
Returns:
true if correlation should use the request JMSMessageID rather than JMSCorrelationID
+
+
+
+ +

+isUseResMsgIdAsCorrelId

+
+public boolean isUseResMsgIdAsCorrelId()
+
+
Which response field to use for correlation? +

+

+
+
+
+ +
Returns:
true if correlation should use the response JMSMessageID rather than JMSCorrelationID
+
+
+
+ +

+getInitialContextFactory

+
+public String getInitialContextFactory()
+
+
+
+
+
+
+
+
+
+ +

+getContextProvider

+
+public String getContextProvider()
+
+
+
+
+
+
+
+
+
+ +

+setIsOneway

+
+public void setIsOneway(boolean isOneway)
+
+
+
+
+
+
+
+
+
+ +

+setNonPersistent

+
+public void setNonPersistent(boolean value)
+
+
+
+
+
+
+
+
+
+ +

+setUseReqMsgIdAsCorrelId

+
+public void setUseReqMsgIdAsCorrelId(boolean value)
+
+
+
+
+
+
+
+
+
+ +

+setUseResMsgIdAsCorrelId

+
+public void setUseResMsgIdAsCorrelId(boolean value)
+
+
+
+
+
+
+
+
+
+ +

+toString

+
+public String toString()
+
+
+
Overrides:
toString in class Object
+
+
+
+
+
+
+ +

+threadStarted

+
+public void threadStarted()
+
+
Description copied from interface: ThreadListener
+
Called for each thread before starting sampling. + WARNING: this is called before any Config test elements are processed, + so any properties they define will not have been merged in yet. +

+

+
Specified by:
threadStarted in interface ThreadListener
+
+
+
See Also:
JMeterThread.threadStarted()
+
+
+
+ +

+getTimeout

+
+public String getTimeout()
+
+
+
+
+
+
+
+
+
+ +

+getExpiration

+
+public String getExpiration()
+
+
+
+
+
+
+
+
+
+ +

+getPriority

+
+public String getPriority()
+
+
+
+
+
+
+
+
+
+ +

+threadFinished

+
+public void threadFinished()
+
+
Called for each thread after all samples have been processed. +

+

+
Specified by:
threadFinished in interface ThreadListener
+
+
+
See Also:
JMeterThread.threadFinished(org.apache.jmeter.engine.event.LoopIterationListener)
+
+
+
+ +

+setArguments

+
+public void setArguments(Arguments args)
+
+
+
+
+
+
+
+
+
+ +

+getArguments

+
+public Arguments getArguments(String name)
+
+
+
+
+
+
+
+
+
+ +

+setTimeout

+
+public void setTimeout(String s)
+
+
+
+
+
+
+
+
+
+ +

+setPriority

+
+public void setPriority(String s)
+
+
+
+
+
+
+
+
+
+ +

+setExpiration

+
+public void setExpiration(String s)
+
+
+
+
+
+
+
+
+
+ +

+getJMSSelector

+
+public String getJMSSelector()
+
+
+
+
+
+ +
Returns:
String JMS Selector
+
+
+
+ +

+setJMSSelector

+
+public void setJMSSelector(String selector)
+
+
+
+
+
+
Parameters:
selector - String selector
+
+
+
+ +

+setInitialContextFactory

+
+public void setInitialContextFactory(String string)
+
+
+
+
+
+
Parameters:
string - name of the initial context factory to use
+
+
+
+ +

+setContextProvider

+
+public void setContextProvider(String string)
+
+
+
+
+
+
Parameters:
string - url of the provider
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/jms/sampler/MessageAdmin.html b/docs/api/org/apache/jmeter/protocol/jms/sampler/MessageAdmin.html new file mode 100644 index 00000000000..8adb805db63 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/jms/sampler/MessageAdmin.html @@ -0,0 +1,299 @@ + + + + + +MessageAdmin (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.jms.sampler +
+Class MessageAdmin

+
+java.lang.Object
+  extended by org.apache.jmeter.protocol.jms.sampler.MessageAdmin
+
+
+
+
public class MessageAdmin
extends Object
+ + +

+Administration of messages. +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ javax.jms.Messageget(String id) + +
+          Get the reply message.
+static MessageAdmingetAdmin() + +
+          Get the singleton MessageAdmin object
+ voidputReply(String id, + javax.jms.Message reply) + +
+          Try to associate a reply to a previously stored request.
+ voidputRequest(String id, + javax.jms.Message request, + CountDownLatch latch) + +
+          Store a request under the given id, so that an arriving reply can be + associated with this request and the waiting party can be signaled by + means of a CountDownLatch
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+getAdmin

+
+public static MessageAdmin getAdmin()
+
+
Get the singleton MessageAdmin object +

+

+ +
Returns:
singleton instance
+
+
+
+ +

+putRequest

+
+public void putRequest(String id,
+                       javax.jms.Message request,
+                       CountDownLatch latch)
+
+
Store a request under the given id, so that an arriving reply can be + associated with this request and the waiting party can be signaled by + means of a CountDownLatch +

+

+
Parameters:
id - id of the request
request - request object to store under id
latch - communication latch to signal when a reply for this request + was received
+
+
+
+ +

+putReply

+
+public void putReply(String id,
+                     javax.jms.Message reply)
+
+
Try to associate a reply to a previously stored request. If a matching + request is found, the owner of the request will be notified with the + registered CountDownLatch +

+

+
Parameters:
id - id of the request
reply - object with the reply
+
+
+
+ +

+get

+
+public javax.jms.Message get(String id)
+
+
Get the reply message. +

+

+
Parameters:
id - the id of the message +
Returns:
the received message or null
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/jms/sampler/PublisherSampler.html b/docs/api/org/apache/jmeter/protocol/jms/sampler/PublisherSampler.html new file mode 100644 index 00000000000..b3f23b863ed --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/jms/sampler/PublisherSampler.html @@ -0,0 +1,879 @@ + + + + + +PublisherSampler (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.jms.sampler +
+Class PublisherSampler

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.samplers.AbstractSampler
+          extended by org.apache.jmeter.protocol.jms.sampler.BaseJMSSampler
+              extended by org.apache.jmeter.protocol.jms.sampler.PublisherSampler
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, ConfigMergabilityIndicator, Searchable, Sampler, TestElement, TestStateListener
+
+
+
+
public class PublisherSampler
extends BaseJMSSampler
implements TestStateListener
+ + +

+This class implements the JMS Publisher sampler. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
PublisherSampler() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetConfigChoice() + +
+          return the source of the message + Converts from old JMX files which used the local language string
+ StringgetExpiration() + +
+           
+ StringgetFileContent(String path) + +
+          The implementation uses TextFile to load the contents of the file and + returns a string.
+ StringgetInputFile() + +
+           
+ JMSPropertiesgetJMSProperties() + +
+           
+ StringgetMessageChoice() + +
+           
+ StringgetPriority() + +
+           
+ StringgetRandomPath() + +
+           
+ StringgetTextMessage() + +
+           
+ booleangetUseNonPersistentDelivery() + +
+           
+ SampleResultsample() + +
+          The implementation will publish n messages within a for loop.
+ voidsetConfigChoice(String choice) + +
+          set the source of the message
+ voidsetExpiration(String s) + +
+           
+ voidsetInputFile(String file) + +
+          set the input file for the publisher
+ voidsetJMSProperties(JMSProperties jmsProperties) + +
+           
+ voidsetMessageChoice(String choice) + +
+          set the type of the message
+ voidsetPriority(String s) + +
+           
+ voidsetRandomPath(String path) + +
+          set the random path for the messages
+ voidsetTextMessage(String message) + +
+          set the text for the message
+ voidsetUseNonPersistentDelivery(boolean value) + +
+           
+ voidtestEnded() + +
+          endTest cleans up the client
+ voidtestEnded(String host) + +
+          the implementation calls testEnded() without any parameters.
+ voidtestStarted() + +
+           + Called just before the start of the test from the main engine thread.
+ voidtestStarted(String test) + +
+          the implementation calls testStarted() without any parameters.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.protocol.jms.sampler.BaseJMSSampler
getConnectionFactory, getDestination, getIterationCount, getIterations, getJNDIInitialContextFactory, getMessageHeaders, getPassword, getProviderUrl, getReadResponse, getReadResponseAsBoolean, getUseJNDIProperties, getUseJNDIPropertiesAsBoolean, getUsername, isDestinationStatic, isUseAuth, sample, setConnectionFactory, setDestination, setDestinationStatic, setIterations, setJNDIIntialContextFactory, setPassword, setProviderUrl, setReadResponse, setUseAuth, setUseJNDIProperties, setUsername
+ + + + + + + +
Methods inherited from class org.apache.jmeter.samplers.AbstractSampler
applies
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.testelement.TestElement
addTestElement, canRemove, clear, clearTestElementChildren, clone, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+PublisherSampler

+
+public PublisherSampler()
+
+
+ + + + + + + + +
+Method Detail
+ +

+testStarted

+
+public void testStarted(String test)
+
+
the implementation calls testStarted() without any parameters. +

+

+
Specified by:
testStarted in interface TestStateListener
+
+
+
Parameters:
test - name of host
See Also:
StandardJMeterEngine.run()
+
+
+
+ +

+testEnded

+
+public void testEnded(String host)
+
+
the implementation calls testEnded() without any parameters. +

+

+
Specified by:
testEnded in interface TestStateListener
+
+
+
Parameters:
host - name of host
See Also:
StandardJMeterEngine.stopTest()
+
+
+
+ +

+testEnded

+
+public void testEnded()
+
+
endTest cleans up the client +

+

+
Specified by:
testEnded in interface TestStateListener
+
+
+
See Also:
StandardJMeterEngine.stopTest()
+
+
+
+ +

+testStarted

+
+public void testStarted()
+
+
Description copied from interface: TestStateListener
+

+ Called just before the start of the test from the main engine thread. + + This is before the test elements are cloned. + + Note that not all the test + variables will have been set up at this point. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testStarted in interface TestStateListener
+
+
+
See Also:
StandardJMeterEngine.run()
+
+
+
+ +

+sample

+
+public SampleResult sample()
+
+
The implementation will publish n messages within a for loop. Once n + messages are published, it sets the attributes of SampleResult. +

+

+
Specified by:
sample in class BaseJMSSampler
+
+
+ +
Returns:
the populated sample result
+
+
+
+ +

+getFileContent

+
+public String getFileContent(String path)
+
+
The implementation uses TextFile to load the contents of the file and + returns a string. +

+

+
+
+
+
Parameters:
path - path to the file to read in +
Returns:
the contents of the file
+
+
+
+ +

+setConfigChoice

+
+public void setConfigChoice(String choice)
+
+
set the source of the message +

+

+
+
+
+
Parameters:
choice - source of the messages. One of + JMSPublisherGui.USE_FILE_RSC, + JMSPublisherGui.USE_RANDOM_RSC or + JMSPublisherGui#USE_TEXT_RSC
+
+
+
+ +

+getConfigChoice

+
+public String getConfigChoice()
+
+
return the source of the message + Converts from old JMX files which used the local language string +

+

+
+
+
+ +
Returns:
source of the messages
+
+
+
+ +

+setMessageChoice

+
+public void setMessageChoice(String choice)
+
+
set the type of the message +

+

+
+
+
+
Parameters:
choice - type of the message (Text, Object, Map)
+
+
+
+ +

+getMessageChoice

+
+public String getMessageChoice()
+
+
+
+
+
+ +
Returns:
the type of the message (Text, Object, Map)
+
+
+
+ +

+setInputFile

+
+public void setInputFile(String file)
+
+
set the input file for the publisher +

+

+
+
+
+
Parameters:
file - input file for the publisher
+
+
+
+ +

+getInputFile

+
+public String getInputFile()
+
+
+
+
+
+ +
Returns:
the path of the input file
+
+
+
+ +

+setRandomPath

+
+public void setRandomPath(String path)
+
+
set the random path for the messages +

+

+
+
+
+
Parameters:
path - random path for the messages
+
+
+
+ +

+getRandomPath

+
+public String getRandomPath()
+
+
+
+
+
+ +
Returns:
the random path for messages
+
+
+
+ +

+setTextMessage

+
+public void setTextMessage(String message)
+
+
set the text for the message +

+

+
+
+
+
Parameters:
message - text for the message
+
+
+
+ +

+getTextMessage

+
+public String getTextMessage()
+
+
+
+
+
+ +
Returns:
the text for the message
+
+
+
+ +

+getExpiration

+
+public String getExpiration()
+
+
+
+
+
+
+
+
+
+ +

+getPriority

+
+public String getPriority()
+
+
+
+
+
+
+
+
+
+ +

+setPriority

+
+public void setPriority(String s)
+
+
+
+
+
+
+
+
+
+ +

+setExpiration

+
+public void setExpiration(String s)
+
+
+
+
+
+
+
+
+
+ +

+setUseNonPersistentDelivery

+
+public void setUseNonPersistentDelivery(boolean value)
+
+
+
+
+
+
Parameters:
value - boolean use NON_PERSISTENT
+
+
+
+ +

+getUseNonPersistentDelivery

+
+public boolean getUseNonPersistentDelivery()
+
+
+
+
+
+ +
Returns:
true if NON_PERSISTENT delivery must be used
+
+
+
+ +

+getJMSProperties

+
+public JMSProperties getJMSProperties()
+
+
+
+
+
+ +
Returns:
JMSProperties JMS Properties
+
+
+
+ +

+setJMSProperties

+
+public void setJMSProperties(JMSProperties jmsProperties)
+
+
+
+
+
+
Parameters:
jmsProperties - JMS Properties
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/jms/sampler/QueueExecutor.html b/docs/api/org/apache/jmeter/protocol/jms/sampler/QueueExecutor.html new file mode 100644 index 00000000000..a3ba4e196eb --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/jms/sampler/QueueExecutor.html @@ -0,0 +1,226 @@ + + + + + +QueueExecutor (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.jms.sampler +
+Interface QueueExecutor

+
+
All Known Implementing Classes:
FixedQueueExecutor, TemporaryQueueExecutor
+
+
+
+
public interface QueueExecutor
+ + +

+Executor for (pseudo) synchronous communication.
+ Created on: October 28, 2004 +

+ +

+

+
Version:
+
$Revision: 1649531 $
+
+
+ +

+ + + + + + + + + + + + +
+Method Summary
+ javax.jms.MessagesendAndReceive(javax.jms.Message request, + int deliveryMode, + int priority, + long expiration) + +
+          Sends and receives a message.
+  +

+ + + + + + + + +
+Method Detail
+ +

+sendAndReceive

+
+javax.jms.Message sendAndReceive(javax.jms.Message request,
+                                 int deliveryMode,
+                                 int priority,
+                                 long expiration)
+                                 throws javax.jms.JMSException
+
+
Sends and receives a message. +

+

+
Parameters:
request - the message to send
deliveryMode - the delivery mode to use
priority - the priority for this message
expiration - messages lifetime in ms +
Returns:
the received message or null +
Throws: +
javax.jms.JMSException - in case of an exception from the messaging system
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/jms/sampler/Receiver.html b/docs/api/org/apache/jmeter/protocol/jms/sampler/Receiver.html new file mode 100644 index 00000000000..f65124829cf --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/jms/sampler/Receiver.html @@ -0,0 +1,286 @@ + + + + + +Receiver (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.jms.sampler +
+Class Receiver

+
+java.lang.Object
+  extended by org.apache.jmeter.protocol.jms.sampler.Receiver
+
+
+
All Implemented Interfaces:
Runnable
+
+
+
+
public final class Receiver
extends Object
implements Runnable
+ + +

+Receiver of pseudo-synchronous reply messages. +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static ReceivercreateReceiver(javax.jms.ConnectionFactory factory, + javax.jms.Destination receiveQueue, + String principal, + String credentials, + boolean useResMsgIdAsCorrelId, + String jmsSelector) + +
+          Create a receiver to process responses.
+ voiddeactivate() + +
+           
+ voidrun() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+createReceiver

+
+public static Receiver createReceiver(javax.jms.ConnectionFactory factory,
+                                      javax.jms.Destination receiveQueue,
+                                      String principal,
+                                      String credentials,
+                                      boolean useResMsgIdAsCorrelId,
+                                      String jmsSelector)
+                               throws javax.jms.JMSException
+
+
Create a receiver to process responses. +

+

+
+
+
+
Parameters:
factory - connection factory to use
receiveQueue - name of the receiving queue
principal - user name to use for connecting to the queue
credentials - credentials to use for connecting to the queue
useResMsgIdAsCorrelId - true if should use JMSMessageId, + false if should use JMSCorrelationId
jmsSelector - JMS selector +
Returns:
the Receiver which will process the responses +
Throws: +
javax.jms.JMSException - when creating the receiver fails
+
+
+
+ +

+run

+
+public void run()
+
+
+
Specified by:
run in interface Runnable
+
+
+
+
+
+
+ +

+deactivate

+
+public void deactivate()
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/jms/sampler/SubscriberSampler.html b/docs/api/org/apache/jmeter/protocol/jms/sampler/SubscriberSampler.html new file mode 100644 index 00000000000..92a1b15c63e --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/jms/sampler/SubscriberSampler.html @@ -0,0 +1,933 @@ + + + + + +SubscriberSampler (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.jms.sampler +
+Class SubscriberSampler

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.samplers.AbstractSampler
+          extended by org.apache.jmeter.protocol.jms.sampler.BaseJMSSampler
+              extended by org.apache.jmeter.protocol.jms.sampler.SubscriberSampler
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, ConfigMergabilityIndicator, Searchable, Interruptible, Sampler, TestElement, TestStateListener, ThreadListener
+
+
+
+
public class SubscriberSampler
extends BaseJMSSampler
implements Interruptible, ThreadListener, TestStateListener
+ + +

+This class implements the JMS Subscriber sampler. + It supports both receive and onMessage strategies via the ReceiveSubscriber class. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
SubscriberSampler() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetClientChoice() + +
+          Return the client choice.
+ StringgetClientId() + +
+           
+ StringgetDurableSubscriptionId() + +
+           
+ StringgetJmsSelector() + +
+           
+ StringgetSeparator() + +
+           
+ StringgetTimeout() + +
+           
+ longgetTimeoutAsLong() + +
+           
+ booleaninterrupt() + +
+          Handle an interrupt of the test.
+ booleanisStopBetweenSamples() + +
+           
+ SampleResultsample() + +
+          sample method will check which client it should use and call the + appropriate client specific sample method.
+ voidsetClientChoice(String choice) + +
+          Set the client choice.
+ voidsetClientID(String clientId) + +
+           
+ voidsetDurableSubscriptionId(String durableSubscriptionId) + +
+           
+ voidsetJmsSelector(String jmsSelector) + +
+           
+ voidsetSeparator(String text) + +
+          Separator for sampler results
+ voidsetStopBetweenSamples(boolean selected) + +
+           
+ voidsetTimeout(String timeout) + +
+           
+ voidtestEnded() + +
+           + Called once for all threads after the end of a test.
+ voidtestEnded(String host) + +
+           + Called once for all threads after the end of a test.
+ voidtestStarted() + +
+           + Called just before the start of the test from the main engine thread.
+ voidtestStarted(String host) + +
+           + Called just before the start of the test from the main engine thread.
+ voidthreadFinished() + +
+          Close subscriber.
+ voidthreadFinished(boolean wts) + +
+           
+ voidthreadStarted() + +
+          Initialise the thread-local variables.
+ voidthreadStarted(boolean wts) + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.protocol.jms.sampler.BaseJMSSampler
getConnectionFactory, getDestination, getIterationCount, getIterations, getJNDIInitialContextFactory, getMessageHeaders, getPassword, getProviderUrl, getReadResponse, getReadResponseAsBoolean, getUseJNDIProperties, getUseJNDIPropertiesAsBoolean, getUsername, isDestinationStatic, isUseAuth, sample, setConnectionFactory, setDestination, setDestinationStatic, setIterations, setJNDIIntialContextFactory, setPassword, setProviderUrl, setReadResponse, setUseAuth, setUseJNDIProperties, setUsername
+ + + + + + + +
Methods inherited from class org.apache.jmeter.samplers.AbstractSampler
applies
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.testelement.TestElement
addTestElement, canRemove, clear, clearTestElementChildren, clone, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SubscriberSampler

+
+public SubscriberSampler()
+
+
+ + + + + + + + +
+Method Detail
+ +

+sample

+
+public SampleResult sample()
+
+
sample method will check which client it should use and call the + appropriate client specific sample method. +

+

+
Specified by:
sample in class BaseJMSSampler
+
+
+ +
Returns:
the appropriate sample result
+
+
+
+ +

+threadStarted

+
+public void threadStarted()
+
+
Initialise the thread-local variables. +
+ Called for each thread before starting sampling. + WARNING: this is called before any Config test elements are processed, + so any properties they define will not have been merged in yet. +

+

+
Specified by:
threadStarted in interface ThreadListener
+
+
+
See Also:
JMeterThread.threadStarted()
+
+
+
+ +

+threadStarted

+
+public void threadStarted(boolean wts)
+
+
+
+
+
+
+
+
+
+ +

+threadFinished

+
+public void threadFinished()
+
+
Close subscriber. +
+ Called for each thread after all samples have been processed. +

+

+
Specified by:
threadFinished in interface ThreadListener
+
+
+
See Also:
JMeterThread.threadFinished(org.apache.jmeter.engine.event.LoopIterationListener)
+
+
+
+ +

+threadFinished

+
+public void threadFinished(boolean wts)
+
+
+
+
+
+
+
+
+
+ +

+interrupt

+
+public boolean interrupt()
+
+
Handle an interrupt of the test. +

+

+
Specified by:
interrupt in interface Interruptible
+
+
+ +
Returns:
true if there was an operation to interrupt.
+
+
+
+ +

+setClientChoice

+
+public void setClientChoice(String choice)
+
+
Set the client choice. There are two options: ReceiveSusbscriber and + OnMessageSubscriber. +

+

+
+
+
+
Parameters:
choice - the client to use. One of RECEIVE_RSC or ON_MESSAGE_RSC
+
+
+
+ +

+getClientChoice

+
+public String getClientChoice()
+
+
Return the client choice. +

+

+
+
+
+ +
Returns:
the client choice, either RECEIVE_RSC or ON_MESSAGE_RSC
+
+
+
+ +

+getTimeout

+
+public String getTimeout()
+
+
+
+
+
+
+
+
+
+ +

+getTimeoutAsLong

+
+public long getTimeoutAsLong()
+
+
+
+
+
+
+
+
+
+ +

+setTimeout

+
+public void setTimeout(String timeout)
+
+
+
+
+
+
+
+
+
+ +

+getDurableSubscriptionId

+
+public String getDurableSubscriptionId()
+
+
+
+
+
+
+
+
+
+ +

+getClientId

+
+public String getClientId()
+
+
+
+
+
+ +
Returns:
JMS Client ID
+
+
+
+ +

+getJmsSelector

+
+public String getJmsSelector()
+
+
+
+
+
+ +
Returns:
JMS selector
+
+
+
+ +

+setDurableSubscriptionId

+
+public void setDurableSubscriptionId(String durableSubscriptionId)
+
+
+
+
+
+
+
+
+
+ +

+setClientID

+
+public void setClientID(String clientId)
+
+
+
+
+
+
Parameters:
clientId - JMS CLient id
+
+
+
+ +

+setJmsSelector

+
+public void setJmsSelector(String jmsSelector)
+
+
+
+
+
+
Parameters:
jmsSelector - JMS Selector
+
+
+
+ +

+getSeparator

+
+public String getSeparator()
+
+
+
+
+
+ +
Returns:
Separator for sampler results
+
+
+
+ +

+setSeparator

+
+public void setSeparator(String text)
+
+
Separator for sampler results +

+

+
+
+
+
Parameters:
text - separator to use for sampler results
+
+
+
+ +

+isStopBetweenSamples

+
+public boolean isStopBetweenSamples()
+
+
+
+
+
+
+
+
+
+ +

+setStopBetweenSamples

+
+public void setStopBetweenSamples(boolean selected)
+
+
+
+
+
+
+
+
+
+ +

+testEnded

+
+public void testEnded()
+
+

+ Called once for all threads after the end of a test. + + This will use the same element instances as at the start of the test. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testEnded in interface TestStateListener
+
+
+
See Also:
StandardJMeterEngine.stopTest()
+
+
+
+ +

+testEnded

+
+public void testEnded(String host)
+
+

+ Called once for all threads after the end of a test. + + This will use the same element instances as at the start of the test. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testEnded in interface TestStateListener
+
+
+
Parameters:
host - name of host
See Also:
StandardJMeterEngine.stopTest()
+
+
+
+ +

+testStarted

+
+public void testStarted()
+
+

+ Called just before the start of the test from the main engine thread. + + This is before the test elements are cloned. + + Note that not all the test + variables will have been set up at this point. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testStarted in interface TestStateListener
+
+
+
See Also:
StandardJMeterEngine.run()
+
+
+
+ +

+testStarted

+
+public void testStarted(String host)
+
+

+ Called just before the start of the test from the main engine thread. + + This is before the test elements are cloned. + + Note that not all the test + variables will have been set up at this point. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testStarted in interface TestStateListener
+
+
+
Parameters:
host - name of host
See Also:
StandardJMeterEngine.run()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/jms/sampler/TemporaryQueueExecutor.html b/docs/api/org/apache/jmeter/protocol/jms/sampler/TemporaryQueueExecutor.html new file mode 100644 index 00000000000..7bcf0968647 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/jms/sampler/TemporaryQueueExecutor.html @@ -0,0 +1,283 @@ + + + + + +TemporaryQueueExecutor (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.jms.sampler +
+Class TemporaryQueueExecutor

+
+java.lang.Object
+  extended by org.apache.jmeter.protocol.jms.sampler.TemporaryQueueExecutor
+
+
+
All Implemented Interfaces:
QueueExecutor
+
+
+
+
public class TemporaryQueueExecutor
extends Object
implements QueueExecutor
+ + +

+Request/reply executor with a temporary reply queue.
+ + Used by JMS Sampler (Point to Point) +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
TemporaryQueueExecutor(javax.jms.QueueSession session, + javax.jms.Queue destination) + +
+          Constructor.
+  + + + + + + + + + + + +
+Method Summary
+ javax.jms.MessagesendAndReceive(javax.jms.Message request, + int deliveryMode, + int priority, + long expiration) + +
+          Sends and receives a message.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+TemporaryQueueExecutor

+
+public TemporaryQueueExecutor(javax.jms.QueueSession session,
+                              javax.jms.Queue destination)
+                       throws javax.jms.JMSException
+
+
Constructor. +

+

+
Parameters:
session - the session to use to send the message
destination - the queue to send the message on +
Throws: +
javax.jms.JMSException - when internally used QueueRequestor can not be + constructed with session and + destination
+
+ + + + + + + + +
+Method Detail
+ +

+sendAndReceive

+
+public javax.jms.Message sendAndReceive(javax.jms.Message request,
+                                        int deliveryMode,
+                                        int priority,
+                                        long expiration)
+                                 throws javax.jms.JMSException
+
+
Sends and receives a message. +

+

+
Specified by:
sendAndReceive in interface QueueExecutor
+
+
+
Parameters:
request - the message to send
deliveryMode - the delivery mode to use
priority - the priority for this message
expiration - messages lifetime in ms +
Returns:
the received message or null +
Throws: +
javax.jms.JMSException - in case of an exception from the messaging system
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/jms/sampler/package-frame.html b/docs/api/org/apache/jmeter/protocol/jms/sampler/package-frame.html new file mode 100644 index 00000000000..f8e16aaa9b8 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/jms/sampler/package-frame.html @@ -0,0 +1,59 @@ + + + + + +org.apache.jmeter.protocol.jms.sampler (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.protocol.jms.sampler + + + + +
+Interfaces  + +
+QueueExecutor
+ + + + + + +
+Classes  + +
+BaseJMSSampler +
+FixedQueueExecutor +
+JMSProperties +
+JMSProperty +
+JMSSampler +
+MessageAdmin +
+PublisherSampler +
+Receiver +
+SubscriberSampler +
+TemporaryQueueExecutor
+ + + + diff --git a/docs/api/org/apache/jmeter/protocol/jms/sampler/package-summary.html b/docs/api/org/apache/jmeter/protocol/jms/sampler/package-summary.html new file mode 100644 index 00000000000..b3da18b1079 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/jms/sampler/package-summary.html @@ -0,0 +1,204 @@ + + + + + +org.apache.jmeter.protocol.jms.sampler (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.protocol.jms.sampler +

+ + + + + + + + + +
+Interface Summary
QueueExecutorExecutor for (pseudo) synchronous communication.
+  + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
BaseJMSSamplerBaseJMSSampler is an abstract class which provides implementation for common + properties.
FixedQueueExecutorRequest/reply executor with a fixed reply queue.
JMSPropertiesA set of JMSProperty objects.
JMSPropertyJMS Property with type
JMSSamplerThis class implements the JMS Point-to-Point sampler
MessageAdminAdministration of messages.
PublisherSamplerThis class implements the JMS Publisher sampler.
ReceiverReceiver of pseudo-synchronous reply messages.
SubscriberSamplerThis class implements the JMS Subscriber sampler.
TemporaryQueueExecutorRequest/reply executor with a temporary reply queue.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/jms/sampler/package-tree.html b/docs/api/org/apache/jmeter/protocol/jms/sampler/package-tree.html new file mode 100644 index 00000000000..3edce9a4836 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/jms/sampler/package-tree.html @@ -0,0 +1,170 @@ + + + + + +org.apache.jmeter.protocol.jms.sampler Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.protocol.jms.sampler +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/ldap/config/gui/LDAPArgument.html b/docs/api/org/apache/jmeter/protocol/ldap/config/gui/LDAPArgument.html new file mode 100644 index 00000000000..4c3c6a2d2df --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/ldap/config/gui/LDAPArgument.html @@ -0,0 +1,522 @@ + + + + + +LDAPArgument (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.ldap.config.gui +
+Class LDAPArgument

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.protocol.ldap.config.gui.LDAPArgument
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Searchable, TestElement
+
+
+
+
public class LDAPArgument
extends AbstractTestElement
implements Serializable
+ + +

+Class representing an argument. Each argument consists of a name/value and + opcode combination, as well as (optional) metadata. + + author Dolf Smits(Dolf.Smits@Siemens.com) created Aug 09 2003 11:00 AM + company Siemens Netherlands N.V.. + + Based on the work of: + + author Michael Stover author Mark Walsh +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + + + + + + + +
+Constructor Summary
LDAPArgument() + +
+          Create a new Argument without a name, value, or metadata.
LDAPArgument(String name, + String value, + String opcode) + +
+          Create a new Argument with the specified name and value, and no metadata.
LDAPArgument(String name, + String value, + String opcode, + String metadata) + +
+          Create a new Argument with the specified name, value, and metadata.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetMetaData() + +
+          Gets the Meta Data attribute of the Argument.
+ StringgetName() + +
+          Get the name of the Argument.
+ StringgetOpcode() + +
+          Gets the opcode of the Argument object.
+ StringgetValue() + +
+          Gets the value of the Argument object.
+ voidsetMetaData(String newMetaData) + +
+          Sets the Meta Data attribute of the Argument.
+ voidsetName(String newName) + +
+          Set the name of the Argument.
+ voidsetOpcode(String newOpcode) + +
+          Sets the opcode of the Argument.
+ voidsetValue(String newValue) + +
+          Sets the value of the Argument.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+LDAPArgument

+
+public LDAPArgument()
+
+
Create a new Argument without a name, value, or metadata. +

+

+
+ +

+LDAPArgument

+
+public LDAPArgument(String name,
+                    String value,
+                    String opcode)
+
+
Create a new Argument with the specified name and value, and no metadata. +

+

+
Parameters:
name - the argument name
value - the argument value
opcode - the operation to perform, may be one of add, + delete, remove or + modify.
+
+
+ +

+LDAPArgument

+
+public LDAPArgument(String name,
+                    String value,
+                    String opcode,
+                    String metadata)
+
+
Create a new Argument with the specified name, value, and metadata. +

+

+
Parameters:
name - the argument name
value - the argument value
opcode - the operation to perform, may be one of add, + delete, remove or + modify.
metadata - the argument metadata
+
+ + + + + + + + +
+Method Detail
+ +

+setName

+
+public void setName(String newName)
+
+
Set the name of the Argument. +

+

+
Specified by:
setName in interface TestElement
Overrides:
setName in class AbstractTestElement
+
+
+
Parameters:
newName - the new name
+
+
+
+ +

+getName

+
+public String getName()
+
+
Get the name of the Argument. +

+

+
Specified by:
getName in interface TestElement
Overrides:
getName in class AbstractTestElement
+
+
+ +
Returns:
the attribute's name
+
+
+
+ +

+setValue

+
+public void setValue(String newValue)
+
+
Sets the value of the Argument. +

+

+
+
+
+
Parameters:
newValue - the new value
+
+
+
+ +

+getValue

+
+public String getValue()
+
+
Gets the value of the Argument object. +

+

+
+
+
+ +
Returns:
the attribute's value
+
+
+
+ +

+setOpcode

+
+public void setOpcode(String newOpcode)
+
+
Sets the opcode of the Argument. +

+

+
+
+
+
Parameters:
newOpcode - the new value
+
+
+
+ +

+getOpcode

+
+public String getOpcode()
+
+
Gets the opcode of the Argument object. +

+

+
+
+
+ +
Returns:
the attribute's value
+
+
+
+ +

+setMetaData

+
+public void setMetaData(String newMetaData)
+
+
Sets the Meta Data attribute of the Argument. +

+

+
+
+
+
Parameters:
newMetaData - the new metadata
+
+
+
+ +

+getMetaData

+
+public String getMetaData()
+
+
Gets the Meta Data attribute of the Argument. +

+

+
+
+
+ +
Returns:
the MetaData value
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/ldap/config/gui/LDAPArguments.html b/docs/api/org/apache/jmeter/protocol/ldap/config/gui/LDAPArguments.html new file mode 100644 index 00000000000..9ed8fcf0aaa --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/ldap/config/gui/LDAPArguments.html @@ -0,0 +1,737 @@ + + + + + +LDAPArguments (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.ldap.config.gui +
+Class LDAPArguments

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.config.ConfigTestElement
+          extended by org.apache.jmeter.protocol.ldap.config.gui.LDAPArguments
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, ConfigElement, Searchable, TestElement
+
+
+
+
public class LDAPArguments
extends ConfigTestElement
implements Serializable
+ + +

+A set of LDAPArgument objects. author Dolf Smits(Dolf.Smits@Siemens.com) + created Aug 09 2003 11:00 AM company Siemens Netherlands N.V.. + + Based on the work of: + + author Michael Stover author Mark Walsh +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Field Summary
+static StringARGUMENTS + +
+          The name of the property used to store the arguments.
+ + + + + + + +
Fields inherited from class org.apache.jmeter.config.ConfigTestElement
PASSWORD, USERNAME
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
LDAPArguments() + +
+          Create a new Arguments object with no arguments.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddArgument(LDAPArgument arg) + +
+          Add a new argument.
+ voidaddArgument(String name, + String value, + String opcode) + +
+          Add a new argument with the given name and value.
+ voidaddArgument(String name, + String value, + String opcode, + String metadata) + +
+          Add a new argument with the given name, value, and metadata.
+ voidaddEmptyArgument() + +
+          Add a new empty argument to the list.
+ voidclear() + +
+          Clear the arguments.
+ LDAPArgumentgetArgument(int row) + +
+          Get a single argument.
+ intgetArgumentCount() + +
+          Get the number of arguments in the list.
+ CollectionPropertygetArguments() + +
+          Get the arguments.
+ Map<String,String>getArgumentsAsMap() + +
+          Get the arguments as a Map.
+ PropertyIteratoriterator() + +
+          Get a PropertyIterator of the arguments.
+ voidremoveAllArguments() + +
+          Remove all arguments from the list.
+ voidremoveArgument(int row) + +
+          Remove the specified argument from the list.
+ voidremoveArgument(LDAPArgument arg) + +
+          Remove the specified argument from the list.
+ voidremoveArgument(String argName) + +
+          Remove the argument with the specified name.
+ voidsetArguments(List<Object> arguments) + +
+          Set the list of arguments.
+ StringtoString() + +
+          Create a string representation of the arguments.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.config.ConfigTestElement
addConfigElement, addTestElement, expectsModification
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, canRemove, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.config.ConfigElement
clone
+  +

+ + + + + + + + +
+Field Detail
+ +

+ARGUMENTS

+
+public static final String ARGUMENTS
+
+
The name of the property used to store the arguments. +

+

+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+LDAPArguments

+
+public LDAPArguments()
+
+
Create a new Arguments object with no arguments. +

+

+ + + + + + + + +
+Method Detail
+ +

+getArguments

+
+public CollectionProperty getArguments()
+
+
Get the arguments. +

+

+
+
+
+ +
Returns:
the arguments
+
+
+
+ +

+clear

+
+public void clear()
+
+
Clear the arguments. +

+

+
Specified by:
clear in interface TestElement
Overrides:
clear in class AbstractTestElement
+
+
+
+
+
+
+ +

+setArguments

+
+public void setArguments(List<Object> arguments)
+
+
Set the list of arguments. Any existing arguments will be lost. +

+

+
+
+
+
Parameters:
arguments - the new arguments
+
+
+
+ +

+getArgumentsAsMap

+
+public Map<String,String> getArgumentsAsMap()
+
+
Get the arguments as a Map. Each argument name is used as the key, and + its value as the value. +

+

+
+
+
+ +
Returns:
a new Map with String keys and values containing the arguments
+
+
+
+ +

+addArgument

+
+public void addArgument(String name,
+                        String value,
+                        String opcode)
+
+
Add a new argument with the given name and value. +

+

+
+
+
+
Parameters:
name - the name of the argument
value - the value of the argument
opcode - the operation to perform, may be one of add, + delete, remove or + modify.
+
+
+
+ +

+addArgument

+
+public void addArgument(LDAPArgument arg)
+
+
Add a new argument. +

+

+
+
+
+
Parameters:
arg - the new argument
+
+
+
+ +

+addArgument

+
+public void addArgument(String name,
+                        String value,
+                        String opcode,
+                        String metadata)
+
+
Add a new argument with the given name, value, and metadata. +

+

+
+
+
+
Parameters:
name - the name of the argument
value - the value of the argument
opcode - the operation to perform, may be one of add, + delete, remove or + modify.
metadata - the metadata for the argument
+
+
+
+ +

+iterator

+
+public PropertyIterator iterator()
+
+
Get a PropertyIterator of the arguments. +

+

+
+
+
+ +
Returns:
an iteration of the arguments
+
+
+
+ +

+toString

+
+public String toString()
+
+
Create a string representation of the arguments. +

+

+
Overrides:
toString in class Object
+
+
+ +
Returns:
the string representation of the arguments
+
+
+
+ +

+removeArgument

+
+public void removeArgument(int row)
+
+
Remove the specified argument from the list. +

+

+
+
+
+
Parameters:
row - the index of the argument to remove
+
+
+
+ +

+removeArgument

+
+public void removeArgument(LDAPArgument arg)
+
+
Remove the specified argument from the list. +

+

+
+
+
+
Parameters:
arg - the argument to remove
+
+
+
+ +

+removeArgument

+
+public void removeArgument(String argName)
+
+
Remove the argument with the specified name. +

+

+
+
+
+
Parameters:
argName - the name of the argument to remove
+
+
+
+ +

+removeAllArguments

+
+public void removeAllArguments()
+
+
Remove all arguments from the list. +

+

+
+
+
+
+
+
+
+ +

+addEmptyArgument

+
+public void addEmptyArgument()
+
+
Add a new empty argument to the list. The new argument will have the + empty string as its name and value, and null metadata. +

+

+
+
+
+
+
+
+
+ +

+getArgumentCount

+
+public int getArgumentCount()
+
+
Get the number of arguments in the list. +

+

+
+
+
+ +
Returns:
the number of arguments
+
+
+
+ +

+getArgument

+
+public LDAPArgument getArgument(int row)
+
+
Get a single argument. +

+

+
+
+
+
Parameters:
row - the index of the argument to return. +
Returns:
the argument at the specified index, or null if no argument + exists at that index.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/ldap/config/gui/LDAPArgumentsPanel.html b/docs/api/org/apache/jmeter/protocol/ldap/config/gui/LDAPArgumentsPanel.html new file mode 100644 index 00000000000..6a6d1489fc7 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/ldap/config/gui/LDAPArgumentsPanel.html @@ -0,0 +1,636 @@ + + + + + +LDAPArgumentsPanel (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.ldap.config.gui +
+Class LDAPArgumentsPanel

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.config.gui.AbstractConfigGui
+                          extended by org.apache.jmeter.protocol.ldap.config.gui.LDAPArgumentsPanel
+
+
+
All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
+
public class LDAPArgumentsPanel
extends AbstractConfigGui
implements ActionListener
+ + +

+A GUI panel allowing the user to enter name-value argument pairs. These + arguments (or parameters) are usually used to provide configuration values + for some other component. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + + + + +
+Constructor Summary
LDAPArgumentsPanel() + +
+          Create a new LDAPArgumentsPanel, using the default title.
LDAPArgumentsPanel(String label) + +
+          Create a new LDAPArgumentsPanel, using the specified title.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidactionPerformed(ActionEvent e) + +
+          Invoked when an action occurs.
+ voidclear() + +
+          Clear all rows from the table.
+ voidconfigure(TestElement el) + +
+          A newly created component can be initialized with the contents of a Test + Element object by calling this method.
+ TestElementcreateTestElement() + +
+          JMeter test components are separated into a model and a GUI + representation.
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ Collection<String>getMenuCategories() + +
+          This is the list of menu categories this gui component will be available + under.
+ voidmodifyTestElement(TestElement args) + +
+          GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components.
+static booleantestFunctors() + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.config.gui.AbstractConfigGui
createPopupMenu
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
clearGui, configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+LDAPArgumentsPanel

+
+public LDAPArgumentsPanel()
+
+
Create a new LDAPArgumentsPanel, using the default title. +

+

+
+ +

+LDAPArgumentsPanel

+
+public LDAPArgumentsPanel(String label)
+
+
Create a new LDAPArgumentsPanel, using the specified title. +

+

+
Parameters:
label - the title of the component
+
+ + + + + + + + +
+Method Detail
+ +

+getMenuCategories

+
+public Collection<String> getMenuCategories()
+
+
This is the list of menu categories this gui component will be available + under. The LDAPArgumentsPanel is not intended to be used as a standalone + component, so this inplementation returns null. +

+

+
Specified by:
getMenuCategories in interface JMeterGUIComponent
Overrides:
getMenuCategories in class AbstractConfigGui
+
+
+ +
Returns:
a Collection of Strings, where each element is one of the + constants defined in MenuFactory
See Also:
MenuFactory
+
+
+
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+
Specified by:
getLabelResource in interface JMeterGUIComponent
+
+
+ +
Returns:
the resource name
+
+
+
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
Description copied from interface: JMeterGUIComponent
+
JMeter test components are separated into a model and a GUI + representation. The model holds the data and the GUI displays it. The GUI + class is responsible for knowing how to create and initialize with data + the model class that it knows how to display, and this method is called + when new test elements are created. +

+

+
Specified by:
createTestElement in interface JMeterGUIComponent
+
+
+ +
Returns:
the Test Element object that the GUI component represents.
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement args)
+
+
Description copied from interface: JMeterGUIComponent
+
GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components. This method should + overwrite whatever data is currently in the TestElement as it is called + after a user has filled out the form elements in the gui with new + information. +

+

+
Specified by:
modifyTestElement in interface JMeterGUIComponent
+
+
+
Parameters:
args - the TestElement to modify
+
+
+
+ +

+configure

+
+public void configure(TestElement el)
+
+
A newly created component can be initialized with the contents of a Test + Element object by calling this method. The component is responsible for + querying the Test Element object for the relevant information to display + in its GUI. +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class AbstractJMeterGuiComponent
+
+
+
Parameters:
el - the TestElement to configure
+
+
+
+ +

+clear

+
+public void clear()
+
+
Clear all rows from the table. T.Elanjchezhiyan(chezhiyan@siptech.co.in) +

+

+
+
+
+
+
+
+
+ +

+actionPerformed

+
+public void actionPerformed(ActionEvent e)
+
+
Invoked when an action occurs. This implementation supports the add and + delete buttons. +

+

+
Specified by:
actionPerformed in interface ActionListener
+
+
+
Parameters:
e - the event that has occurred
+
+
+
+ +

+testFunctors

+
+public static boolean testFunctors()
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/ldap/config/gui/LdapConfigGui.html b/docs/api/org/apache/jmeter/protocol/ldap/config/gui/LdapConfigGui.html new file mode 100644 index 00000000000..0a2d70825b8 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/ldap/config/gui/LdapConfigGui.html @@ -0,0 +1,577 @@ + + + + + +LdapConfigGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.ldap.config.gui +
+Class LdapConfigGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.config.gui.AbstractConfigGui
+                          extended by org.apache.jmeter.protocol.ldap.config.gui.LdapConfigGui
+
+
+
All Implemented Interfaces:
ItemListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
+
public class LdapConfigGui
extends AbstractConfigGui
implements ItemListener
+ + +

+This class LdapConfigGui is user interface gui for getting all the + configuration values from the user. + + Created Apr 29 2003 11:45 AM +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + + + + +
+Constructor Summary
LdapConfigGui() + +
+          Default constructor for LdapConfigGui.
LdapConfigGui(boolean displayName) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclearGui() + +
+          Implements JMeterGUIComponent.clearGui
+ voidconfigure(TestElement element) + +
+          A newly created component can be initialized with the contents of a Test + Element object by calling this method.
+ TestElementcreateTestElement() + +
+          JMeter test components are separated into a model and a GUI + representation.
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ voiditemStateChanged(ItemEvent ie) + +
+          This itemStateChanged listener for changing the card layout for based on\ + the test selected in the User defined test case.
+ voidmodifyTestElement(TestElement element) + +
+          Modifies a given TestElement to mirror the data in the gui components.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.config.gui.AbstractConfigGui
createPopupMenu, getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+LdapConfigGui

+
+public LdapConfigGui()
+
+
Default constructor for LdapConfigGui. +

+

+
+ +

+LdapConfigGui

+
+public LdapConfigGui(boolean displayName)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+
Specified by:
getLabelResource in interface JMeterGUIComponent
+
+
+ +
Returns:
the resource name
+
+
+
+ +

+configure

+
+public void configure(TestElement element)
+
+
A newly created component can be initialized with the contents of a Test + Element object by calling this method. The component is responsible for + querying the Test Element object for the relevant information to display + in its GUI. +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class AbstractJMeterGuiComponent
+
+
+
Parameters:
element - the TestElement to configure
+
+
+
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
Description copied from interface: JMeterGUIComponent
+
JMeter test components are separated into a model and a GUI + representation. The model holds the data and the GUI displays it. The GUI + class is responsible for knowing how to create and initialize with data + the model class that it knows how to display, and this method is called + when new test elements are created. +

+

+
Specified by:
createTestElement in interface JMeterGUIComponent
+
+
+ +
Returns:
the Test Element object that the GUI component represents.
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement element)
+
+
Modifies a given TestElement to mirror the data in the gui components. +

+

+
Specified by:
modifyTestElement in interface JMeterGUIComponent
+
+
+
Parameters:
element - the TestElement to modify
See Also:
JMeterGUIComponent.modifyTestElement(TestElement)
+
+
+
+ +

+clearGui

+
+public void clearGui()
+
+
Implements JMeterGUIComponent.clearGui +

+

+
Specified by:
clearGui in interface ClearGui
Overrides:
clearGui in class AbstractJMeterGuiComponent
+
+
+
+
+
+
+ +

+itemStateChanged

+
+public void itemStateChanged(ItemEvent ie)
+
+
This itemStateChanged listener for changing the card layout for based on\ + the test selected in the User defined test case. +

+

+
Specified by:
itemStateChanged in interface ItemListener
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/ldap/config/gui/LdapExtConfigGui.html b/docs/api/org/apache/jmeter/protocol/ldap/config/gui/LdapExtConfigGui.html new file mode 100644 index 00000000000..8ecf66cfc79 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/ldap/config/gui/LdapExtConfigGui.html @@ -0,0 +1,579 @@ + + + + + +LdapExtConfigGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.ldap.config.gui +
+Class LdapExtConfigGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.config.gui.AbstractConfigGui
+                          extended by org.apache.jmeter.protocol.ldap.config.gui.LdapExtConfigGui
+
+
+
All Implemented Interfaces:
ItemListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
+
public class LdapExtConfigGui
extends AbstractConfigGui
implements ItemListener
+ + +

+This class LdapConfigGui is user interface gui for getting all the + configuration value from the user +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + + + + +
+Constructor Summary
LdapExtConfigGui() + +
+          Default constructor for LdapConfigGui
LdapExtConfigGui(boolean displayName) + +
+          !
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclearGui() + +
+          Implements JMeterGUIComponent.clearGui
+ voidconfigure(TestElement element) + +
+          A newly created component can be initialized with the contents of a Test + Element object by calling this method.
+ TestElementcreateTestElement() + +
+          JMeter test components are separated into a model and a GUI + representation.
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ voiditemStateChanged(ItemEvent ie) + +
+          This itemStateChanged listener for changing the card layout for based on + the test selected in the User defined test case.
+ voidmodifyTestElement(TestElement element) + +
+          Modifies a given TestElement to mirror the data in the gui components.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.config.gui.AbstractConfigGui
createPopupMenu, getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+LdapExtConfigGui

+
+public LdapExtConfigGui()
+
+
Default constructor for LdapConfigGui +

+

+
+ +

+LdapExtConfigGui

+
+public LdapExtConfigGui(boolean displayName)
+
+
!ToDo (Constructor description) +

+

+
Parameters:
displayName - !ToDo (Parameter description)
+
+ + + + + + + + +
+Method Detail
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+
Specified by:
getLabelResource in interface JMeterGUIComponent
+
+
+ +
Returns:
the resource name
+
+
+
+ +

+configure

+
+public void configure(TestElement element)
+
+
A newly created component can be initialized with the contents of a Test + Element object by calling this method. The component is responsible for + querying the Test Element object for the relevant information to display + in its GUI. +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class AbstractJMeterGuiComponent
+
+
+
Parameters:
element - the TestElement to configure
+
+
+
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
Description copied from interface: JMeterGUIComponent
+
JMeter test components are separated into a model and a GUI + representation. The model holds the data and the GUI displays it. The GUI + class is responsible for knowing how to create and initialize with data + the model class that it knows how to display, and this method is called + when new test elements are created. +

+

+
Specified by:
createTestElement in interface JMeterGUIComponent
+
+
+ +
Returns:
the Test Element object that the GUI component represents.
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement element)
+
+
Modifies a given TestElement to mirror the data in the gui components. +

+

+
Specified by:
modifyTestElement in interface JMeterGUIComponent
+
+
+
Parameters:
element - the TestElement to modify
See Also:
JMeterGUIComponent.modifyTestElement(TestElement)
+
+
+
+ +

+clearGui

+
+public void clearGui()
+
+
Implements JMeterGUIComponent.clearGui +

+

+
Specified by:
clearGui in interface ClearGui
Overrides:
clearGui in class AbstractJMeterGuiComponent
+
+
+
+
+
+
+ +

+itemStateChanged

+
+public void itemStateChanged(ItemEvent ie)
+
+
This itemStateChanged listener for changing the card layout for based on + the test selected in the User defined test case. +

+

+
Specified by:
itemStateChanged in interface ItemListener
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/ldap/config/gui/package-frame.html b/docs/api/org/apache/jmeter/protocol/ldap/config/gui/package-frame.html new file mode 100644 index 00000000000..d4867404742 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/ldap/config/gui/package-frame.html @@ -0,0 +1,38 @@ + + + + + +org.apache.jmeter.protocol.ldap.config.gui (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.protocol.ldap.config.gui + + + + +
+Classes  + +
+LDAPArgument +
+LDAPArguments +
+LDAPArgumentsPanel +
+LdapConfigGui +
+LdapExtConfigGui
+ + + + diff --git a/docs/api/org/apache/jmeter/protocol/ldap/config/gui/package-summary.html b/docs/api/org/apache/jmeter/protocol/ldap/config/gui/package-summary.html new file mode 100644 index 00000000000..a72edfeef45 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/ldap/config/gui/package-summary.html @@ -0,0 +1,172 @@ + + + + + +org.apache.jmeter.protocol.ldap.config.gui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.protocol.ldap.config.gui +

+ + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
LDAPArgumentClass representing an argument.
LDAPArgumentsA set of LDAPArgument objects. author Dolf Smits(Dolf.Smits@Siemens.com) + created Aug 09 2003 11:00 AM company Siemens Netherlands N.V..
LDAPArgumentsPanelA GUI panel allowing the user to enter name-value argument pairs.
LdapConfigGuiThis class LdapConfigGui is user interface gui for getting all the + configuration values from the user.
LdapExtConfigGuiThis class LdapConfigGui is user interface gui for getting all the + configuration value from the user
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/ldap/config/gui/package-tree.html b/docs/api/org/apache/jmeter/protocol/ldap/config/gui/package-tree.html new file mode 100644 index 00000000000..90202f65789 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/ldap/config/gui/package-tree.html @@ -0,0 +1,176 @@ + + + + + +org.apache.jmeter.protocol.ldap.config.gui Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.protocol.ldap.config.gui +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/ldap/control/gui/LdapExtTestSamplerGui.html b/docs/api/org/apache/jmeter/protocol/ldap/control/gui/LdapExtTestSamplerGui.html new file mode 100644 index 00000000000..7f6bc263691 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/ldap/control/gui/LdapExtTestSamplerGui.html @@ -0,0 +1,529 @@ + + + + + +LdapExtTestSamplerGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.ldap.control.gui +
+Class LdapExtTestSamplerGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.samplers.gui.AbstractSamplerGui
+                          extended by org.apache.jmeter.protocol.ldap.control.gui.LdapExtTestSamplerGui
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
+
public class LdapExtTestSamplerGui
extends AbstractSamplerGui
+ + +

+author Dolf Smits(Dolf.Smits@Siemens.com) created Aug 09 2003 11:00 AM + company Siemens Netherlands N.V.. + + Based on the work of: author T.Elanjchezhiyan(chezhiyan@siptech.co.in) + created Apr 29 2003 11:00 AM company Sip Technologies and Exports Ltd. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
LdapExtTestSamplerGui() + +
+          !
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclearGui() + +
+          Implements JMeterGUIComponent.clearGui
+ voidconfigure(TestElement element) + +
+          A newly created component can be initialized with the contents of a Test + Element object by calling this method.
+ TestElementcreateTestElement() + +
+          JMeter test components are separated into a model and a GUI + representation.
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ voidmodifyTestElement(TestElement sampler) + +
+          Modifies a given TestElement to mirror the data in the gui components.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.samplers.gui.AbstractSamplerGui
createPopupMenu, getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+LdapExtTestSamplerGui

+
+public LdapExtTestSamplerGui()
+
+
!ToDo (Constructor description) +

+

+ + + + + + + + +
+Method Detail
+ +

+configure

+
+public void configure(TestElement element)
+
+
A newly created component can be initialized with the contents of a Test + Element object by calling this method. The component is responsible for + querying the Test Element object for the relevant information to display + in its GUI. +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class AbstractJMeterGuiComponent
+
+
+
Parameters:
element - the TestElement to configure
+
+
+
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
Description copied from interface: JMeterGUIComponent
+
JMeter test components are separated into a model and a GUI + representation. The model holds the data and the GUI displays it. The GUI + class is responsible for knowing how to create and initialize with data + the model class that it knows how to display, and this method is called + when new test elements are created. +

+

+ +
Returns:
the Test Element object that the GUI component represents.
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement sampler)
+
+
Modifies a given TestElement to mirror the data in the gui components. +

+

+
Parameters:
sampler - the TestElement to modify
See Also:
JMeterGUIComponent.modifyTestElement(TestElement)
+
+
+
+ +

+clearGui

+
+public void clearGui()
+
+
Implements JMeterGUIComponent.clearGui +

+

+
Specified by:
clearGui in interface ClearGui
Overrides:
clearGui in class AbstractJMeterGuiComponent
+
+
+
+
+
+
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+ +
Returns:
the resource name
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/ldap/control/gui/LdapTestSamplerGui.html b/docs/api/org/apache/jmeter/protocol/ldap/control/gui/LdapTestSamplerGui.html new file mode 100644 index 00000000000..7c002502cd4 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/ldap/control/gui/LdapTestSamplerGui.html @@ -0,0 +1,519 @@ + + + + + +LdapTestSamplerGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.ldap.control.gui +
+Class LdapTestSamplerGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.samplers.gui.AbstractSamplerGui
+                          extended by org.apache.jmeter.protocol.ldap.control.gui.LdapTestSamplerGui
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
+
public class LdapTestSamplerGui
extends AbstractSamplerGui
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
LdapTestSamplerGui() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclearGui() + +
+          Implements JMeterGUIComponent.clearGui
+ voidconfigure(TestElement element) + +
+          A newly created component can be initialized with the contents of a Test + Element object by calling this method.
+ TestElementcreateTestElement() + +
+          JMeter test components are separated into a model and a GUI + representation.
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ voidmodifyTestElement(TestElement sampler) + +
+          Modifies a given TestElement to mirror the data in the gui components.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.samplers.gui.AbstractSamplerGui
createPopupMenu, getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+LdapTestSamplerGui

+
+public LdapTestSamplerGui()
+
+
+ + + + + + + + +
+Method Detail
+ +

+configure

+
+public void configure(TestElement element)
+
+
A newly created component can be initialized with the contents of a Test + Element object by calling this method. The component is responsible for + querying the Test Element object for the relevant information to display + in its GUI. +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class AbstractJMeterGuiComponent
+
+
+
Parameters:
element - the TestElement to configure
+
+
+
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
Description copied from interface: JMeterGUIComponent
+
JMeter test components are separated into a model and a GUI + representation. The model holds the data and the GUI displays it. The GUI + class is responsible for knowing how to create and initialize with data + the model class that it knows how to display, and this method is called + when new test elements are created. +

+

+ +
Returns:
the Test Element object that the GUI component represents.
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement sampler)
+
+
Modifies a given TestElement to mirror the data in the gui components. +

+

+
Parameters:
sampler - the TestElement to modify
See Also:
JMeterGUIComponent.modifyTestElement(TestElement)
+
+
+
+ +

+clearGui

+
+public void clearGui()
+
+
Implements JMeterGUIComponent.clearGui +

+

+
Specified by:
clearGui in interface ClearGui
Overrides:
clearGui in class AbstractJMeterGuiComponent
+
+
+
+
+
+
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+ +
Returns:
the resource name
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/ldap/control/gui/package-frame.html b/docs/api/org/apache/jmeter/protocol/ldap/control/gui/package-frame.html new file mode 100644 index 00000000000..3f9665bef98 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/ldap/control/gui/package-frame.html @@ -0,0 +1,32 @@ + + + + + +org.apache.jmeter.protocol.ldap.control.gui (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.protocol.ldap.control.gui + + + + +
+Classes  + +
+LdapExtTestSamplerGui +
+LdapTestSamplerGui
+ + + + diff --git a/docs/api/org/apache/jmeter/protocol/ldap/control/gui/package-summary.html b/docs/api/org/apache/jmeter/protocol/ldap/control/gui/package-summary.html new file mode 100644 index 00000000000..999c80bb68a --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/ldap/control/gui/package-summary.html @@ -0,0 +1,158 @@ + + + + + +org.apache.jmeter.protocol.ldap.control.gui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.protocol.ldap.control.gui +

+ + + + + + + + + + + + + +
+Class Summary
LdapExtTestSamplerGuiauthor Dolf Smits(Dolf.Smits@Siemens.com) created Aug 09 2003 11:00 AM + company Siemens Netherlands N.V..
LdapTestSamplerGui 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/ldap/control/gui/package-tree.html b/docs/api/org/apache/jmeter/protocol/ldap/control/gui/package-tree.html new file mode 100644 index 00000000000..b5d37a374bd --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/ldap/control/gui/package-tree.html @@ -0,0 +1,165 @@ + + + + + +org.apache.jmeter.protocol.ldap.control.gui Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.protocol.ldap.control.gui +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/ldap/sampler/LDAPExtSampler.html b/docs/api/org/apache/jmeter/protocol/ldap/sampler/LDAPExtSampler.html new file mode 100644 index 00000000000..afcbb369eca --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/ldap/sampler/LDAPExtSampler.html @@ -0,0 +1,2045 @@ + + + + + +LDAPExtSampler (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.ldap.sampler +
+Class LDAPExtSampler

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.samplers.AbstractSampler
+          extended by org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, ConfigMergabilityIndicator, Searchable, Sampler, TestElement, TestStateListener
+
+
+
+
public class LDAPExtSampler
extends AbstractSampler
implements TestStateListener
+ + +

+Ldap Sampler class is main class for the LDAP test. This will control all the + test available in the LDAP Test. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static StringADD + +
+           
+static StringARGUMENTS + +
+           
+static StringATTRIBS + +
+           
+static StringBASE_ENTRY_DN + +
+           
+static StringBIND + +
+           
+static StringCOMPARE + +
+           
+static StringCOMPAREDN + +
+           
+static StringCOMPAREFILT + +
+           
+static StringCONNTO + +
+           
+static StringCOUNTLIM + +
+           
+static StringDELETE + +
+           
+static StringDEREF + +
+           
+static StringLDAPARGUMENTS + +
+           
+static StringMODDDN + +
+           
+static StringMODIFY + +
+           
+static StringNEWDN + +
+           
+static StringPARSEFLAG + +
+           
+static StringPORT + +
+           
+static StringRENAME + +
+           
+static StringRETOBJ + +
+           
+static StringROOTDN + +
+           
+static StringSBIND + +
+           
+static StringSCOPE + +
+           
+static StringSEARCH + +
+           
+static StringSEARCHBASE + +
+           
+static StringSEARCHFILTER + +
+           
+static StringSECURE + +
+           
+static StringSERVERNAME + +
+           
+static StringTEST + +
+           
+static StringTIMELIM + +
+           
+static StringUNBIND + +
+           
+static StringUSERDN + +
+           
+static StringUSERPW + +
+           
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
LDAPExtSampler() + +
+          !
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleanapplies(ConfigTestElement configElement) + +
+          Does configElement apply to Sampler
+ ArgumentsgetArguments() + +
+          Gets the Arguments attribute of the LdapConfig object
+ StringgetAttrs() + +
+          Gets the attributes of the LDAPSampler object
+ StringgetBaseEntryDN() + +
+          Gets the BaseEntryDN attribute of the LDAPSampler object
+ StringgetConnTimeOut() + +
+           
+ StringgetCountlim() + +
+          Gets the size limit attribute of the LDAPSampler object
+ longgetCountlimAsLong() + +
+           
+ StringgetLabel() + +
+          Returns a formatted string label describing this sampler Example output:
+ LDAPArgumentsgetLDAPArguments() + +
+          Gets the LDAPArguments attribute of the LdapConfig object
+ StringgetPort() + +
+          Gets the Port attribute of the LDAPSampler object
+ StringgetRootdn() + +
+          Gets the Rootdn attribute of the LDAPSampler object
+ StringgetScope() + +
+          Gets the search scope attribute of the LDAPSampler object
+ intgetScopeAsInt() + +
+           
+ StringgetServername() + +
+          Gets the servername attribute of the LDAPSampler object
+ StringgetTest() + +
+          Gets the test attribute of the LDAPSampler object
+ StringgetTimelim() + +
+          Gets the time limit attribute of the LDAPSampler object
+ intgetTimelimAsInt() + +
+           
+ StringgetUserDN() + +
+          Gets the username attribute of the LDAP object
+ StringgetUserPw() + +
+          Gets the password attribute of the LDAP object
+ booleanisDeref() + +
+          Gets the deref attribute of the LDAPSampler object
+ booleanisParseFlag() + +
+           
+ booleanisRetobj() + +
+          Gets the return objects attribute of the LDAPSampler object
+ booleanisSecure() + +
+           
+ SampleResultsample(Entry e) + +
+          !
+ voidsetArguments(Arguments value) + +
+          Sets the Arguments attribute of the LdapConfig object This will collect + values from the table for user defined test case
+ voidsetAttrs(String newAttrs) + +
+          Sets the attributes of the LdapConfig object
+ voidsetBaseEntryDN(String newbaseentry) + +
+          Sets the Base Entry DN attribute of the LDAPSampler object
+ voidsetConnTimeOut(String connto) + +
+           
+ voidsetCountlim(String newClim) + +
+          Sets the size limit attribute of the LDAPSampler object
+ voidsetDeref(String newDref) + +
+          Sets the deref attribute of the LDAPSampler object
+ voidsetLDAPArguments(LDAPArguments value) + +
+          Sets the Arguments attribute of the LdapConfig object This will collect + values from the table for user defined test case
+ voidsetParseFlag(String parseFlag) + +
+           
+ voidsetPort(String port) + +
+          Sets the Port attribute of the ServerConfig object
+ voidsetRetobj(String newRobj) + +
+          Sets the return objects attribute of the LDAPSampler object
+ voidsetRootdn(String newRootdn) + +
+          Sets the Rootdn attribute of the LDAPSampler object
+ voidsetScope(String newScope) + +
+          Sets the search scope attribute of the LDAPSampler object
+ voidsetSecure(String sec) + +
+           
+ voidsetServername(String servername) + +
+          Sets the Servername attribute of the ServerConfig object
+ voidsetTest(String newTest) + +
+          Sets the Test attribute of the LdapConfig object
+ voidsetTimelim(String newTlim) + +
+          Sets the time limit attribute of the LDAPSampler object
+ voidsetUserDN(String newUserDN) + +
+          Sets the username attribute of the LDAP object
+ voidsetUserPw(String newUserPw) + +
+          Sets the password attribute of the LDAP object
+ voidtestEnded() + +
+           + Called once for all threads after the end of a test.
+ voidtestEnded(String host) + +
+           + Called once for all threads after the end of a test.
+ voidtestStarted() + +
+           + Called just before the start of the test from the main engine thread.
+ voidtestStarted(String host) + +
+           + Called just before the start of the test from the main engine thread.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.testelement.TestElement
addTestElement, canRemove, clear, clearTestElementChildren, clone, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse
+  +

+ + + + + + + + +
+Field Detail
+ +

+SERVERNAME

+
+public static final String SERVERNAME
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PORT

+
+public static final String PORT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+SECURE

+
+public static final String SECURE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+ROOTDN

+
+public static final String ROOTDN
+
+
+
See Also:
Constant Field Values
+
+
+ +

+TEST

+
+public static final String TEST
+
+
+
See Also:
Constant Field Values
+
+
+ +

+ADD

+
+public static final String ADD
+
+
+
See Also:
Constant Field Values
+
+
+ +

+MODIFY

+
+public static final String MODIFY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+BIND

+
+public static final String BIND
+
+
+
See Also:
Constant Field Values
+
+
+ +

+UNBIND

+
+public static final String UNBIND
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DELETE

+
+public static final String DELETE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+SEARCH

+
+public static final String SEARCH
+
+
+
See Also:
Constant Field Values
+
+
+ +

+SEARCHBASE

+
+public static final String SEARCHBASE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+SEARCHFILTER

+
+public static final String SEARCHFILTER
+
+
+
See Also:
Constant Field Values
+
+
+ +

+ARGUMENTS

+
+public static final String ARGUMENTS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+LDAPARGUMENTS

+
+public static final String LDAPARGUMENTS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+BASE_ENTRY_DN

+
+public static final String BASE_ENTRY_DN
+
+
+
See Also:
Constant Field Values
+
+
+ +

+SCOPE

+
+public static final String SCOPE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COUNTLIM

+
+public static final String COUNTLIM
+
+
+
See Also:
Constant Field Values
+
+
+ +

+TIMELIM

+
+public static final String TIMELIM
+
+
+
See Also:
Constant Field Values
+
+
+ +

+ATTRIBS

+
+public static final String ATTRIBS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+RETOBJ

+
+public static final String RETOBJ
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DEREF

+
+public static final String DEREF
+
+
+
See Also:
Constant Field Values
+
+
+ +

+USERDN

+
+public static final String USERDN
+
+
+
See Also:
Constant Field Values
+
+
+ +

+USERPW

+
+public static final String USERPW
+
+
+
See Also:
Constant Field Values
+
+
+ +

+SBIND

+
+public static final String SBIND
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COMPARE

+
+public static final String COMPARE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CONNTO

+
+public static final String CONNTO
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COMPAREDN

+
+public static final String COMPAREDN
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COMPAREFILT

+
+public static final String COMPAREFILT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PARSEFLAG

+
+public static final String PARSEFLAG
+
+
+
See Also:
Constant Field Values
+
+
+ +

+RENAME

+
+public static final String RENAME
+
+
+
See Also:
Constant Field Values
+
+
+ +

+MODDDN

+
+public static final String MODDDN
+
+
+
See Also:
Constant Field Values
+
+
+ +

+NEWDN

+
+public static final String NEWDN
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+LDAPExtSampler

+
+public LDAPExtSampler()
+
+
!ToDo (Constructor description) +

+

+ + + + + + + + +
+Method Detail
+ +

+setConnTimeOut

+
+public void setConnTimeOut(String connto)
+
+
+
+
+
+
+
+
+
+ +

+getConnTimeOut

+
+public String getConnTimeOut()
+
+
+
+
+
+
+
+
+
+ +

+setSecure

+
+public void setSecure(String sec)
+
+
+
+
+
+
+
+
+
+ +

+isSecure

+
+public boolean isSecure()
+
+
+
+
+
+
+
+
+
+ +

+isParseFlag

+
+public boolean isParseFlag()
+
+
+
+
+
+
+
+
+
+ +

+setParseFlag

+
+public void setParseFlag(String parseFlag)
+
+
+
+
+
+
+
+
+
+ +

+getUserDN

+
+public String getUserDN()
+
+
Gets the username attribute of the LDAP object +

+

+
+
+
+ +
Returns:
The username
+
+
+
+ +

+setUserDN

+
+public void setUserDN(String newUserDN)
+
+
Sets the username attribute of the LDAP object +

+

+
+
+
+
Parameters:
newUserDN - distinguished name of the user
+
+
+
+ +

+getUserPw

+
+public String getUserPw()
+
+
Gets the password attribute of the LDAP object +

+

+
+
+
+ +
Returns:
The password
+
+
+
+ +

+setUserPw

+
+public void setUserPw(String newUserPw)
+
+
Sets the password attribute of the LDAP object +

+

+
+
+
+
Parameters:
newUserPw - password of the user
+
+
+
+ +

+setServername

+
+public void setServername(String servername)
+
+
Sets the Servername attribute of the ServerConfig object +

+

+
+
+
+
Parameters:
servername - The new servername value
+
+
+
+ +

+setPort

+
+public void setPort(String port)
+
+
Sets the Port attribute of the ServerConfig object +

+

+
+
+
+
Parameters:
port - The new Port value
+
+
+
+ +

+getServername

+
+public String getServername()
+
+
Gets the servername attribute of the LDAPSampler object +

+

+
+
+
+ +
Returns:
The Servername value
+
+
+
+ +

+getPort

+
+public String getPort()
+
+
Gets the Port attribute of the LDAPSampler object +

+

+
+
+
+ +
Returns:
The Port value
+
+
+
+ +

+setRootdn

+
+public void setRootdn(String newRootdn)
+
+
Sets the Rootdn attribute of the LDAPSampler object +

+

+
+
+
+
Parameters:
newRootdn - The new rootdn value
+
+
+
+ +

+getRootdn

+
+public String getRootdn()
+
+
Gets the Rootdn attribute of the LDAPSampler object +

+

+
+
+
+ +
Returns:
The Rootdn value
+
+
+
+ +

+getScope

+
+public String getScope()
+
+
Gets the search scope attribute of the LDAPSampler object +

+

+
+
+
+ +
Returns:
The scope value
+
+
+
+ +

+getScopeAsInt

+
+public int getScopeAsInt()
+
+
+
+
+
+
+
+
+
+ +

+setScope

+
+public void setScope(String newScope)
+
+
Sets the search scope attribute of the LDAPSampler object +

+

+
+
+
+
Parameters:
newScope - The new scope value
+
+
+
+ +

+getCountlim

+
+public String getCountlim()
+
+
Gets the size limit attribute of the LDAPSampler object +

+

+
+
+
+ +
Returns:
The size limit
+
+
+
+ +

+getCountlimAsLong

+
+public long getCountlimAsLong()
+
+
+
+
+
+
+
+
+
+ +

+setCountlim

+
+public void setCountlim(String newClim)
+
+
Sets the size limit attribute of the LDAPSampler object +

+

+
+
+
+
Parameters:
newClim - The new size limit value
+
+
+
+ +

+getTimelim

+
+public String getTimelim()
+
+
Gets the time limit attribute of the LDAPSampler object +

+

+
+
+
+ +
Returns:
The time limit
+
+
+
+ +

+getTimelimAsInt

+
+public int getTimelimAsInt()
+
+
+
+
+
+
+
+
+
+ +

+setTimelim

+
+public void setTimelim(String newTlim)
+
+
Sets the time limit attribute of the LDAPSampler object +

+

+
+
+
+
Parameters:
newTlim - The new time limit value
+
+
+
+ +

+isRetobj

+
+public boolean isRetobj()
+
+
Gets the return objects attribute of the LDAPSampler object +

+

+
+
+
+ +
Returns:
if the object(s) are to be returned
+
+
+
+ +

+setRetobj

+
+public void setRetobj(String newRobj)
+
+
Sets the return objects attribute of the LDAPSampler object +

+

+
+
+
+
Parameters:
newRobj - whether the objects should be returned
+
+
+
+ +

+isDeref

+
+public boolean isDeref()
+
+
Gets the deref attribute of the LDAPSampler object +

+

+
+
+
+ +
Returns:
if dereferencing is required
+
+
+
+ +

+setDeref

+
+public void setDeref(String newDref)
+
+
Sets the deref attribute of the LDAPSampler object +

+

+
+
+
+
Parameters:
newDref - The new deref value
+
+
+
+ +

+setTest

+
+public void setTest(String newTest)
+
+
Sets the Test attribute of the LdapConfig object +

+

+
+
+
+
Parameters:
newTest - The new test value(Add,Modify,Delete and search)
+
+
+
+ +

+getTest

+
+public String getTest()
+
+
Gets the test attribute of the LDAPSampler object +

+

+
+
+
+ +
Returns:
The test value (Add,Modify,Delete and search)
+
+
+
+ +

+setAttrs

+
+public void setAttrs(String newAttrs)
+
+
Sets the attributes of the LdapConfig object +

+

+
+
+
+
Parameters:
newAttrs - The new attributes value
+
+
+
+ +

+getAttrs

+
+public String getAttrs()
+
+
Gets the attributes of the LDAPSampler object +

+

+
+
+
+ +
Returns:
The attributes
+
+
+
+ +

+setBaseEntryDN

+
+public void setBaseEntryDN(String newbaseentry)
+
+
Sets the Base Entry DN attribute of the LDAPSampler object +

+

+
+
+
+
Parameters:
newbaseentry - The new Base entry DN value
+
+
+
+ +

+getBaseEntryDN

+
+public String getBaseEntryDN()
+
+
Gets the BaseEntryDN attribute of the LDAPSampler object +

+

+
+
+
+ +
Returns:
The Base entry DN value
+
+
+
+ +

+setArguments

+
+public void setArguments(Arguments value)
+
+
Sets the Arguments attribute of the LdapConfig object This will collect + values from the table for user defined test case +

+

+
+
+
+
Parameters:
value - The arguments
+
+
+
+ +

+getArguments

+
+public Arguments getArguments()
+
+
Gets the Arguments attribute of the LdapConfig object +

+

+
+
+
+ +
Returns:
The arguments user defined test case
+
+
+
+ +

+setLDAPArguments

+
+public void setLDAPArguments(LDAPArguments value)
+
+
Sets the Arguments attribute of the LdapConfig object This will collect + values from the table for user defined test case +

+

+
+
+
+
Parameters:
value - The arguments
+
+
+
+ +

+getLDAPArguments

+
+public LDAPArguments getLDAPArguments()
+
+
Gets the LDAPArguments attribute of the LdapConfig object +

+

+
+
+
+ +
Returns:
The LDAParguments user defined modify test case
+
+
+
+ +

+getLabel

+
+public String getLabel()
+
+
Returns a formatted string label describing this sampler Example output: +

+

+
+
+
+ +
Returns:
a formatted string label describing this sampler
+
+
+
+ +

+sample

+
+public SampleResult sample(Entry e)
+
+
!ToDo (Method description) +

+

+
Specified by:
sample in interface Sampler
+
+
+
Parameters:
e - !ToDo (Parameter description) +
Returns:
!ToDo (Return description)
+
+
+
+ +

+testStarted

+
+public void testStarted()
+
+
Description copied from interface: TestStateListener
+

+ Called just before the start of the test from the main engine thread. + + This is before the test elements are cloned. + + Note that not all the test + variables will have been set up at this point. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testStarted in interface TestStateListener
+
+
+
See Also:
StandardJMeterEngine.run()
+
+
+
+ +

+testEnded

+
+public void testEnded()
+
+
Description copied from interface: TestStateListener
+

+ Called once for all threads after the end of a test. + + This will use the same element instances as at the start of the test. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testEnded in interface TestStateListener
+
+
+
See Also:
StandardJMeterEngine.stopTest()
+
+
+
+ +

+testStarted

+
+public void testStarted(String host)
+
+
Description copied from interface: TestStateListener
+

+ Called just before the start of the test from the main engine thread. + + This is before the test elements are cloned. + + Note that not all the test + variables will have been set up at this point. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testStarted in interface TestStateListener
+
+
+
Parameters:
host - name of host
See Also:
StandardJMeterEngine.run()
+
+
+
+ +

+testEnded

+
+public void testEnded(String host)
+
+
Description copied from interface: TestStateListener
+

+ Called once for all threads after the end of a test. + + This will use the same element instances as at the start of the test. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testEnded in interface TestStateListener
+
+
+
Parameters:
host - name of host
See Also:
StandardJMeterEngine.stopTest()
+
+
+
+ +

+applies

+
+public boolean applies(ConfigTestElement configElement)
+
+
Description copied from class: AbstractSampler
+
Does configElement apply to Sampler +

+

+
Specified by:
applies in interface ConfigMergabilityIndicator
Overrides:
applies in class AbstractSampler
+
+
+
Parameters:
configElement - ConfigTestElement +
Returns:
boolean
See Also:
AbstractSampler.applies(org.apache.jmeter.config.ConfigTestElement)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/ldap/sampler/LDAPSampler.html b/docs/api/org/apache/jmeter/protocol/ldap/sampler/LDAPSampler.html new file mode 100644 index 00000000000..c1816a30c1f --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/ldap/sampler/LDAPSampler.html @@ -0,0 +1,922 @@ + + + + + +LDAPSampler (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.ldap.sampler +
+Class LDAPSampler

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.samplers.AbstractSampler
+          extended by org.apache.jmeter.protocol.ldap.sampler.LDAPSampler
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, ConfigMergabilityIndicator, Searchable, Sampler, TestElement
+
+
+
+
public class LDAPSampler
extends AbstractSampler
+ + +

+Ldap Sampler class is main class for the LDAP test. This will control all the + test available in the LDAP Test. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static StringADD + +
+           
+static StringARGUMENTS + +
+           
+static StringBASE_ENTRY_DN + +
+           
+static StringDELETE + +
+           
+static StringMODIFY + +
+           
+static StringPORT + +
+           
+static StringROOTDN + +
+           
+static StringSEARCHBASE + +
+           
+static StringSEARCHFILTER + +
+           
+static StringSERVERNAME + +
+           
+static StringTEST + +
+           
+static StringUSER_DEFINED + +
+           
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
LDAPSampler() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleanapplies(ConfigTestElement configElement) + +
+          Does configElement apply to Sampler
+ ArgumentsgetArguments() + +
+          Gets the Arguments attribute of the LdapConfig object.
+ StringgetBaseEntryDN() + +
+          Gets the BaseEntryDN attribute of the LDAPSampler object.
+ StringgetLabel() + +
+          Returns a formatted string label describing this sampler
+ StringgetPassword() + +
+          Gets the password attribute of the LDAP object.
+ StringgetPort() + +
+          Gets the Port attribute of the LDAPSampler object.
+ StringgetRootdn() + +
+          Gets the Rootdn attribute of the LDAPSampler object.
+ StringgetServername() + +
+          Gets the servername attribute of the LDAPSampler object.
+ StringgetTest() + +
+          Gets the test attribute of the LDAPSampler object.
+ booleangetUserDefinedTest() + +
+          Gets the UserDefinedTest attribute of the LDAPSampler object.
+ StringgetUsername() + +
+          Gets the username attribute of the LDAP object.
+ SampleResultsample(Entry e) + +
+          Obtains statistics about the given Entry, and packages the information + into a SampleResult.
+ voidsetArguments(Arguments value) + +
+          Sets the Arguments attribute of the LdapConfig object.
+ voidsetBaseEntryDN(String newbaseentry) + +
+          Sets the Base Entry DN attribute of the LDAPSampler object.
+ voidsetPort(String port) + +
+          Sets the Port attribute of the ServerConfig object.
+ voidsetRootdn(String newRootdn) + +
+          Sets the Rootdn attribute of the LDAPSampler object.
+ voidsetServername(String servername) + +
+          Sets the Servername attribute of the ServerConfig object.
+ voidsetTest(String newTest) + +
+          Sets the Test attribute of the LdapConfig object.
+ voidsetUserDefinedTest(boolean value) + +
+          Sets the UserDefinedTest attribute of the LDAPSampler object.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.testelement.TestElement
addTestElement, canRemove, clear, clearTestElementChildren, clone, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse
+  +

+ + + + + + + + +
+Field Detail
+ +

+SERVERNAME

+
+public static final String SERVERNAME
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PORT

+
+public static final String PORT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+ROOTDN

+
+public static final String ROOTDN
+
+
+
See Also:
Constant Field Values
+
+
+ +

+TEST

+
+public static final String TEST
+
+
+
See Also:
Constant Field Values
+
+
+ +

+ADD

+
+public static final String ADD
+
+
+
See Also:
Constant Field Values
+
+
+ +

+MODIFY

+
+public static final String MODIFY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DELETE

+
+public static final String DELETE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+SEARCHBASE

+
+public static final String SEARCHBASE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+SEARCHFILTER

+
+public static final String SEARCHFILTER
+
+
+
See Also:
Constant Field Values
+
+
+ +

+USER_DEFINED

+
+public static final String USER_DEFINED
+
+
+
See Also:
Constant Field Values
+
+
+ +

+ARGUMENTS

+
+public static final String ARGUMENTS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+BASE_ENTRY_DN

+
+public static final String BASE_ENTRY_DN
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+LDAPSampler

+
+public LDAPSampler()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getUsername

+
+public String getUsername()
+
+
Gets the username attribute of the LDAP object. +

+

+ +
Returns:
the username
+
+
+
+ +

+getPassword

+
+public String getPassword()
+
+
Gets the password attribute of the LDAP object. +

+

+ +
Returns:
the password
+
+
+
+ +

+setServername

+
+public void setServername(String servername)
+
+
Sets the Servername attribute of the ServerConfig object. +

+

+
Parameters:
servername - the new servername value
+
+
+
+ +

+setPort

+
+public void setPort(String port)
+
+
Sets the Port attribute of the ServerConfig object. +

+

+
Parameters:
port - the new Port value
+
+
+
+ +

+getServername

+
+public String getServername()
+
+
Gets the servername attribute of the LDAPSampler object. +

+

+ +
Returns:
the Servername value
+
+
+
+ +

+getPort

+
+public String getPort()
+
+
Gets the Port attribute of the LDAPSampler object. +

+

+ +
Returns:
the Port value
+
+
+
+ +

+setRootdn

+
+public void setRootdn(String newRootdn)
+
+
Sets the Rootdn attribute of the LDAPSampler object. +

+

+
Parameters:
newRootdn - the new rootdn value
+
+
+
+ +

+getRootdn

+
+public String getRootdn()
+
+
Gets the Rootdn attribute of the LDAPSampler object. +

+

+ +
Returns:
the Rootdn value
+
+
+
+ +

+setTest

+
+public void setTest(String newTest)
+
+
Sets the Test attribute of the LdapConfig object. +

+

+
Parameters:
newTest - the new test value(Add,Modify,Delete and search)
+
+
+
+ +

+getTest

+
+public String getTest()
+
+
Gets the test attribute of the LDAPSampler object. +

+

+ +
Returns:
the test value (Add, Modify, Delete and search)
+
+
+
+ +

+setUserDefinedTest

+
+public void setUserDefinedTest(boolean value)
+
+
Sets the UserDefinedTest attribute of the LDAPSampler object. +

+

+
Parameters:
value - the new UserDefinedTest value
+
+
+
+ +

+getUserDefinedTest

+
+public boolean getUserDefinedTest()
+
+
Gets the UserDefinedTest attribute of the LDAPSampler object. +

+

+ +
Returns:
the test value true or false. If true it will do the + UserDefinedTest else our own inbuild test case.
+
+
+
+ +

+setBaseEntryDN

+
+public void setBaseEntryDN(String newbaseentry)
+
+
Sets the Base Entry DN attribute of the LDAPSampler object. +

+

+
Parameters:
newbaseentry - the new Base entry DN value
+
+
+
+ +

+getBaseEntryDN

+
+public String getBaseEntryDN()
+
+
Gets the BaseEntryDN attribute of the LDAPSampler object. +

+

+ +
Returns:
the Base entry DN value
+
+
+
+ +

+setArguments

+
+public void setArguments(Arguments value)
+
+
Sets the Arguments attribute of the LdapConfig object. This will collect + values from the table for user defined test case. +

+

+
Parameters:
value - the arguments
+
+
+
+ +

+getArguments

+
+public Arguments getArguments()
+
+
Gets the Arguments attribute of the LdapConfig object. +

+

+ +
Returns:
the arguments. User defined test case.
+
+
+
+ +

+getLabel

+
+public String getLabel()
+
+
Returns a formatted string label describing this sampler +

+

+ +
Returns:
a formatted string label describing this sampler
+
+
+
+ +

+sample

+
+public SampleResult sample(Entry e)
+
+
Description copied from interface: Sampler
+
Obtains statistics about the given Entry, and packages the information + into a SampleResult. +

+

+
Parameters:
e - the Entry (TODO seems to be unused) +
Returns:
information about the sample
+
+
+
+ +

+applies

+
+public boolean applies(ConfigTestElement configElement)
+
+
Description copied from class: AbstractSampler
+
Does configElement apply to Sampler +

+

+
Specified by:
applies in interface ConfigMergabilityIndicator
Overrides:
applies in class AbstractSampler
+
+
+
Parameters:
configElement - ConfigTestElement +
Returns:
boolean
See Also:
AbstractSampler.applies(org.apache.jmeter.config.ConfigTestElement)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/ldap/sampler/LdapClient.html b/docs/api/org/apache/jmeter/protocol/ldap/sampler/LdapClient.html new file mode 100644 index 00000000000..a7180cac671 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/ldap/sampler/LdapClient.html @@ -0,0 +1,394 @@ + + + + + +LdapClient (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.ldap.sampler +
+Class LdapClient

+
+java.lang.Object
+  extended by org.apache.jmeter.protocol.ldap.sampler.LdapClient
+
+
+
+
public class LdapClient
extends Object
+ + +

+Ldap Client class is main class to create, modify, search and delete all the + LDAP functionality available. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
LdapClient() + +
+          Constructor for the LdapClient object.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidconnect(String host, + String port, + String rootdn, + String username, + String password) + +
+          Connect to server.
+ voidcreateTest(BasicAttributes basicattributes, + String string) + +
+          Create the attribute in the ldap directory for the given string.
+ voiddeleteTest(String string) + +
+          Delete the attribute from the ldap directory.
+ voiddisconnect() + +
+          Disconnect from the server.
+ voidmodifyTest(ModificationItem[] mods, + String string) + +
+          Modify the attribute in the ldap directory for the given string.
+ booleansearchTest(String searchBase, + String searchFilter) + +
+          Filter the data in the ldap directory for the given search base.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+LdapClient

+
+public LdapClient()
+
+
Constructor for the LdapClient object. +

+

+ + + + + + + + +
+Method Detail
+ +

+connect

+
+public void connect(String host,
+                    String port,
+                    String rootdn,
+                    String username,
+                    String password)
+             throws NamingException
+
+
Connect to server. +

+

+
Parameters:
host - name of the ldap server
port - port of the ldap server
rootdn - base dn to start ldap operations from
username - user name to use for binding
password - password to use for binding +
Throws: +
NamingException - if InitialDirContext can not be build using the above + parameters
+
+
+
+ +

+disconnect

+
+public void disconnect()
+
+
Disconnect from the server. +

+

+
+
+
+
+ +

+searchTest

+
+public boolean searchTest(String searchBase,
+                          String searchFilter)
+                   throws NamingException
+
+
Filter the data in the ldap directory for the given search base. +

+

+
Parameters:
searchBase - where the search should start
searchFilter - filter this value from the base +
Returns:
true when the search yields results, + false otherwise +
Throws: +
NamingException - when searching fails
+
+
+
+ +

+modifyTest

+
+public void modifyTest(ModificationItem[] mods,
+                       String string)
+                throws NamingException
+
+
Modify the attribute in the ldap directory for the given string. +

+

+
Parameters:
mods - list of all ModificationItems to apply
string - dn of the object to modify +
Throws: +
NamingException - when modification fails
+
+
+
+ +

+createTest

+
+public void createTest(BasicAttributes basicattributes,
+                       String string)
+                throws NamingException
+
+
Create the attribute in the ldap directory for the given string. +

+

+
Parameters:
basicattributes - add all the entry in to the basicattribute
string - the string (dn) value +
Throws: +
NamingException - when creating subcontext fails
+
+
+
+ +

+deleteTest

+
+public void deleteTest(String string)
+                throws NamingException
+
+
Delete the attribute from the ldap directory. +

+

+
Parameters:
string - the string (dn) value +
Throws: +
NamingException - when destroying sub context fails
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/ldap/sampler/LdapExtClient.html b/docs/api/org/apache/jmeter/protocol/ldap/sampler/LdapExtClient.html new file mode 100644 index 00000000000..219bf9aab7d --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/ldap/sampler/LdapExtClient.html @@ -0,0 +1,482 @@ + + + + + +LdapExtClient (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.ldap.sampler +
+Class LdapExtClient

+
+java.lang.Object
+  extended by org.apache.jmeter.protocol.ldap.sampler.LdapExtClient
+
+
+
+
public class LdapExtClient
extends Object
+ + +

+Ldap Client class is main class to create ,modify, search and delete all the + LDAP functionality available +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
LdapExtClient() + +
+          Constructor for the LdapClient object
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static NamingEnumeration<SearchResult>compare(DirContext dirContext, + String filter, + String entrydn) + +
+          Filter the data in the ldap directory
+static DirContextconnect(String host, + String port, + String rootdn, + String username, + String password, + String connTimeOut, + boolean secure) + +
+          connect to server
+static DirContextcreateTest(DirContext dirContext, + Attributes attributes, + String string) + +
+          Create the entry in the ldap directory for the given string
+static voiddeleteTest(DirContext dirContext, + String string) + +
+          Delete the attribute from the ldap directory
+static voiddisconnect(DirContext dirContext) + +
+          disconnect from the server
+static voidmoddnOp(DirContext dirContext, + String ddn, + String newdn) + +
+          ModDN the data in the ldap directory for the given search base
+static voidmodifyTest(DirContext dirContext, + ModificationItem[] mods, + String string) + +
+          Modify the attribute in the ldap directory for the given string
+static NamingEnumeration<SearchResult>searchTest(DirContext dirContext, + String searchBase, + String searchFilter, + int scope, + long countlim, + int timelim, + String[] attrs, + boolean retobj, + boolean deref) + +
+          Filter the data in the ldap directory for the given search base
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+LdapExtClient

+
+public LdapExtClient()
+
+
Constructor for the LdapClient object +

+

+ + + + + + + + +
+Method Detail
+ +

+connect

+
+public static DirContext connect(String host,
+                                 String port,
+                                 String rootdn,
+                                 String username,
+                                 String password,
+                                 String connTimeOut,
+                                 boolean secure)
+                          throws NamingException
+
+
connect to server +

+

+
Parameters:
host - name of the server to connect
port - port of the server to connect
rootdn - base of the tree to operate on
username - name of the user to use for binding
password - password to use for binding
connTimeOut - connection timeout for connecting the server see + "com.sun.jndi.ldap.connect.timeout"
secure - flag whether ssl should be used +
Returns:
newly created DirContext +
Throws: +
NamingException - when creating the DirContext fails
+
+
+
+ +

+disconnect

+
+public static void disconnect(DirContext dirContext)
+
+
disconnect from the server +

+

+
Parameters:
dirContext - context do disconnect (may be null)
+
+
+
+ +

+searchTest

+
+public static NamingEnumeration<SearchResult> searchTest(DirContext dirContext,
+                                                         String searchBase,
+                                                         String searchFilter,
+                                                         int scope,
+                                                         long countlim,
+                                                         int timelim,
+                                                         String[] attrs,
+                                                         boolean retobj,
+                                                         boolean deref)
+                                                  throws NamingException
+
+
Filter the data in the ldap directory for the given search base +

+

+
Parameters:
dirContext - context to perform the search on
searchBase - base where the search should start
searchFilter - filter this value from the base
scope - scope for search. May be one of + SearchControls.OBJECT_SCOPE, + SearchControls.ONELEVEL_SCOPE or + SearchControls.SUBTREE_SCOPE
countlim - max number of results to get, 0 for all entries
timelim - max time to wait for entries (in milliseconds), 0 + for unlimited time
attrs - list of attributes to return. If null all + attributes will be returned. If empty, none will be returned
retobj - flag whether the objects should be returned
deref - flag whether objects should be dereferenced +
Returns:
result of the search +
Throws: +
NamingException - when searching fails
+
+
+
+ +

+compare

+
+public static NamingEnumeration<SearchResult> compare(DirContext dirContext,
+                                                      String filter,
+                                                      String entrydn)
+                                               throws NamingException
+
+
Filter the data in the ldap directory +

+

+
Parameters:
dirContext - the context to operate on
filter - filter this value from the base
entrydn - distinguished name of entry to compare +
Returns:
result of the search +
Throws: +
NamingException - when searching fails
+
+
+
+ +

+moddnOp

+
+public static void moddnOp(DirContext dirContext,
+                           String ddn,
+                           String newdn)
+                    throws NamingException
+
+
ModDN the data in the ldap directory for the given search base +

+

+
Parameters:
dirContext - context to operate on
ddn - distinguished name name of object to rename
newdn - new distinguished name of object +
Throws: +
NamingException - when renaming fails
+
+
+
+ +

+modifyTest

+
+public static void modifyTest(DirContext dirContext,
+                              ModificationItem[] mods,
+                              String string)
+                       throws NamingException
+
+
Modify the attribute in the ldap directory for the given string +

+

+
Parameters:
dirContext - context to operate on
mods - list of all the ModificationItems to apply on + string
string - distinguished name of the object to modify +
Throws: +
NamingException - when modification fails
+
+
+
+ +

+createTest

+
+public static DirContext createTest(DirContext dirContext,
+                                    Attributes attributes,
+                                    String string)
+                             throws NamingException
+
+
Create the entry in the ldap directory for the given string +

+

+
Parameters:
dirContext - context to operate on
attributes - add all the attributes and values from the attributes object
string - distinguished name of the subcontext to create +
Returns:
newly created subcontext +
Throws: +
NamingException - when creating subcontext fails
+
+
+
+ +

+deleteTest

+
+public static void deleteTest(DirContext dirContext,
+                              String string)
+                       throws NamingException
+
+
Delete the attribute from the ldap directory +

+

+
Parameters:
dirContext - context to operate on
string - distinguished name of the subcontext to destroy +
Throws: +
NamingException - when destroying the subcontext fails
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/ldap/sampler/package-frame.html b/docs/api/org/apache/jmeter/protocol/ldap/sampler/package-frame.html new file mode 100644 index 00000000000..892d8ae49cd --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/ldap/sampler/package-frame.html @@ -0,0 +1,36 @@ + + + + + +org.apache.jmeter.protocol.ldap.sampler (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.protocol.ldap.sampler + + + + +
+Classes  + +
+LdapClient +
+LdapExtClient +
+LDAPExtSampler +
+LDAPSampler
+ + + + diff --git a/docs/api/org/apache/jmeter/protocol/ldap/sampler/package-summary.html b/docs/api/org/apache/jmeter/protocol/ldap/sampler/package-summary.html new file mode 100644 index 00000000000..c02abc6c54f --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/ldap/sampler/package-summary.html @@ -0,0 +1,167 @@ + + + + + +org.apache.jmeter.protocol.ldap.sampler (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.protocol.ldap.sampler +

+ + + + + + + + + + + + + + + + + + + + + +
+Class Summary
LdapClientLdap Client class is main class to create, modify, search and delete all the + LDAP functionality available.
LdapExtClientLdap Client class is main class to create ,modify, search and delete all the + LDAP functionality available
LDAPExtSamplerLdap Sampler class is main class for the LDAP test.
LDAPSamplerLdap Sampler class is main class for the LDAP test.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/ldap/sampler/package-tree.html b/docs/api/org/apache/jmeter/protocol/ldap/sampler/package-tree.html new file mode 100644 index 00000000000..ba9d56c8c11 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/ldap/sampler/package-tree.html @@ -0,0 +1,156 @@ + + + + + +org.apache.jmeter.protocol.ldap.sampler Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.protocol.ldap.sampler +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/mail/sampler/MailFileFolder.html b/docs/api/org/apache/jmeter/protocol/mail/sampler/MailFileFolder.html new file mode 100644 index 00000000000..8b637a701d5 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/mail/sampler/MailFileFolder.html @@ -0,0 +1,763 @@ + + + + + +MailFileFolder (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.mail.sampler +
+Class MailFileFolder

+
+java.lang.Object
+  extended by javax.mail.Folder
+      extended by org.apache.jmeter.protocol.mail.sampler.MailFileFolder
+
+
+
+
public class MailFileFolder
extends javax.mail.Folder
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class javax.mail.Folder
HOLDS_FOLDERS, HOLDS_MESSAGES, mode, READ_ONLY, READ_WRITE, store
+  + + + + + + + + + + + + + +
+Constructor Summary
MailFileFolder(javax.mail.Store store, + String path) + +
+           
MailFileFolder(javax.mail.Store store, + javax.mail.URLName path) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidappendMessages(javax.mail.Message[] messages) + +
+           
+ voidclose(boolean expunge) + +
+           
+ booleancreate(int type) + +
+           
+ booleandelete(boolean recurse) + +
+           
+ booleanexists() + +
+           
+ javax.mail.Message[]expunge() + +
+           
+ javax.mail.FoldergetFolder(String name) + +
+           
+ StringgetFullName() + +
+           
+ javax.mail.MessagegetMessage(int index) + +
+           
+ intgetMessageCount() + +
+           
+ StringgetName() + +
+           
+ javax.mail.FoldergetParent() + +
+           
+ javax.mail.FlagsgetPermanentFlags() + +
+           
+ chargetSeparator() + +
+           
+ intgetType() + +
+           
+ booleanhasNewMessages() + +
+           
+ booleanisOpen() + +
+           
+ javax.mail.Folder[]list(String pattern) + +
+           
+ voidopen(int mode) + +
+           
+ booleanrenameTo(javax.mail.Folder newName) + +
+           
+ + + + + + + +
Methods inherited from class javax.mail.Folder
addConnectionListener, addFolderListener, addMessageChangedListener, addMessageCountListener, copyMessages, fetch, finalize, getDeletedMessageCount, getMessages, getMessages, getMessages, getMode, getNewMessageCount, getStore, getUnreadMessageCount, getURLName, isSubscribed, list, listSubscribed, listSubscribed, notifyConnectionListeners, notifyFolderListeners, notifyFolderRenamedListeners, notifyMessageAddedListeners, notifyMessageChangedListeners, notifyMessageRemovedListeners, removeConnectionListener, removeFolderListener, removeMessageChangedListener, removeMessageCountListener, search, search, setFlags, setFlags, setFlags, setSubscribed, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+MailFileFolder

+
+public MailFileFolder(javax.mail.Store store,
+                      String path)
+
+
+
+ +

+MailFileFolder

+
+public MailFileFolder(javax.mail.Store store,
+                      javax.mail.URLName path)
+
+
+ + + + + + + + +
+Method Detail
+ +

+appendMessages

+
+public void appendMessages(javax.mail.Message[] messages)
+                    throws javax.mail.MessagingException
+
+
+
Specified by:
appendMessages in class javax.mail.Folder
+
+
+ +
Throws: +
javax.mail.MessagingException
+
+
+
+ +

+close

+
+public void close(boolean expunge)
+           throws javax.mail.MessagingException
+
+
+
Specified by:
close in class javax.mail.Folder
+
+
+ +
Throws: +
javax.mail.MessagingException
+
+
+
+ +

+create

+
+public boolean create(int type)
+               throws javax.mail.MessagingException
+
+
+
Specified by:
create in class javax.mail.Folder
+
+
+ +
Throws: +
javax.mail.MessagingException
+
+
+
+ +

+delete

+
+public boolean delete(boolean recurse)
+               throws javax.mail.MessagingException
+
+
+
Specified by:
delete in class javax.mail.Folder
+
+
+ +
Throws: +
javax.mail.MessagingException
+
+
+
+ +

+exists

+
+public boolean exists()
+               throws javax.mail.MessagingException
+
+
+
Specified by:
exists in class javax.mail.Folder
+
+
+ +
Throws: +
javax.mail.MessagingException
+
+
+
+ +

+expunge

+
+public javax.mail.Message[] expunge()
+                             throws javax.mail.MessagingException
+
+
+
Specified by:
expunge in class javax.mail.Folder
+
+
+ +
Throws: +
javax.mail.MessagingException
+
+
+
+ +

+getFolder

+
+public javax.mail.Folder getFolder(String name)
+                            throws javax.mail.MessagingException
+
+
+
Specified by:
getFolder in class javax.mail.Folder
+
+
+ +
Throws: +
javax.mail.MessagingException
+
+
+
+ +

+getFullName

+
+public String getFullName()
+
+
+
Specified by:
getFullName in class javax.mail.Folder
+
+
+
+
+
+
+ +

+getMessage

+
+public javax.mail.Message getMessage(int index)
+                              throws javax.mail.MessagingException
+
+
+
Specified by:
getMessage in class javax.mail.Folder
+
+
+ +
Throws: +
javax.mail.MessagingException
+
+
+
+ +

+getMessageCount

+
+public int getMessageCount()
+                    throws javax.mail.MessagingException
+
+
+
Specified by:
getMessageCount in class javax.mail.Folder
+
+
+ +
Throws: +
javax.mail.MessagingException
+
+
+
+ +

+getName

+
+public String getName()
+
+
+
Specified by:
getName in class javax.mail.Folder
+
+
+
+
+
+
+ +

+getParent

+
+public javax.mail.Folder getParent()
+                            throws javax.mail.MessagingException
+
+
+
Specified by:
getParent in class javax.mail.Folder
+
+
+ +
Throws: +
javax.mail.MessagingException
+
+
+
+ +

+getPermanentFlags

+
+public javax.mail.Flags getPermanentFlags()
+
+
+
Specified by:
getPermanentFlags in class javax.mail.Folder
+
+
+
+
+
+
+ +

+getSeparator

+
+public char getSeparator()
+                  throws javax.mail.MessagingException
+
+
+
Specified by:
getSeparator in class javax.mail.Folder
+
+
+ +
Throws: +
javax.mail.MessagingException
+
+
+
+ +

+getType

+
+public int getType()
+            throws javax.mail.MessagingException
+
+
+
Specified by:
getType in class javax.mail.Folder
+
+
+ +
Throws: +
javax.mail.MessagingException
+
+
+
+ +

+hasNewMessages

+
+public boolean hasNewMessages()
+                       throws javax.mail.MessagingException
+
+
+
Specified by:
hasNewMessages in class javax.mail.Folder
+
+
+ +
Throws: +
javax.mail.MessagingException
+
+
+
+ +

+isOpen

+
+public boolean isOpen()
+
+
+
Specified by:
isOpen in class javax.mail.Folder
+
+
+
+
+
+
+ +

+list

+
+public javax.mail.Folder[] list(String pattern)
+                         throws javax.mail.MessagingException
+
+
+
Specified by:
list in class javax.mail.Folder
+
+
+ +
Throws: +
javax.mail.MessagingException
+
+
+
+ +

+open

+
+public void open(int mode)
+          throws javax.mail.MessagingException
+
+
+
Specified by:
open in class javax.mail.Folder
+
+
+ +
Throws: +
javax.mail.MessagingException
+
+
+
+ +

+renameTo

+
+public boolean renameTo(javax.mail.Folder newName)
+                 throws javax.mail.MessagingException
+
+
+
Specified by:
renameTo in class javax.mail.Folder
+
+
+ +
Throws: +
javax.mail.MessagingException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/mail/sampler/MailFileMessage.html b/docs/api/org/apache/jmeter/protocol/mail/sampler/MailFileMessage.html new file mode 100644 index 00000000000..b944d23e738 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/mail/sampler/MailFileMessage.html @@ -0,0 +1,309 @@ + + + + + +MailFileMessage (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.mail.sampler +
+Class MailFileMessage

+
+java.lang.Object
+  extended by javax.mail.Message
+      extended by javax.mail.internet.MimeMessage
+          extended by org.apache.jmeter.protocol.mail.sampler.MailFileMessage
+
+
+
All Implemented Interfaces:
javax.mail.internet.MimePart, javax.mail.Part
+
+
+
+
public class MailFileMessage
extends javax.mail.internet.MimeMessage
+ + +

+


+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.mail.internet.MimeMessage
javax.mail.internet.MimeMessage.RecipientType
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class javax.mail.internet.MimeMessage
cachedContent, content, contentStream, dh, flags, headers, modified, saved
+ + + + + + + +
Fields inherited from class javax.mail.Message
expunged, folder, msgnum, session
+ + + + + + + +
Fields inherited from interface javax.mail.Part
ATTACHMENT, INLINE
+  + + + + + + + + + + + +
+Constructor Summary
+protected MailFileMessage(javax.mail.Folder folder, + InputStream in, + int number) + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class javax.mail.internet.MimeMessage
addFrom, addHeader, addHeaderLine, addRecipients, addRecipients, createInternetHeaders, createMimeMessage, getAllHeaderLines, getAllHeaders, getAllRecipients, getContent, getContentID, getContentLanguage, getContentMD5, getContentStream, getContentType, getDataHandler, getDescription, getDisposition, getEncoding, getFileName, getFlags, getFrom, getHeader, getHeader, getInputStream, getLineCount, getMatchingHeaderLines, getMatchingHeaders, getMessageID, getNonMatchingHeaderLines, getNonMatchingHeaders, getRawInputStream, getReceivedDate, getRecipients, getReplyTo, getSender, getSentDate, getSize, getSubject, isMimeType, isSet, parse, removeHeader, reply, reply, saveChanges, setContent, setContent, setContentID, setContentLanguage, setContentMD5, setDataHandler, setDescription, setDescription, setDisposition, setFileName, setFlags, setFrom, setFrom, setFrom, setHeader, setRecipients, setRecipients, setReplyTo, setSender, setSentDate, setSubject, setSubject, setText, setText, setText, updateHeaders, updateMessageID, writeTo, writeTo
+ + + + + + + +
Methods inherited from class javax.mail.Message
addRecipient, getFolder, getMessageNumber, getSession, isExpunged, match, setExpunged, setFlag, setMessageNumber, setRecipient
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+MailFileMessage

+
+protected MailFileMessage(javax.mail.Folder folder,
+                          InputStream in,
+                          int number)
+                   throws javax.mail.MessagingException
+
+
+ +
Throws: +
javax.mail.MessagingException
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/mail/sampler/MailFileStore.html b/docs/api/org/apache/jmeter/protocol/mail/sampler/MailFileStore.html new file mode 100644 index 00000000000..b61c7ab1754 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/mail/sampler/MailFileStore.html @@ -0,0 +1,375 @@ + + + + + +MailFileStore (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.mail.sampler +
+Class MailFileStore

+
+java.lang.Object
+  extended by javax.mail.Service
+      extended by javax.mail.Store
+          extended by org.apache.jmeter.protocol.mail.sampler.MailFileStore
+
+
+
+
public class MailFileStore
extends javax.mail.Store
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class javax.mail.Service
debug, session, url
+  + + + + + + + + + + +
+Constructor Summary
MailFileStore(javax.mail.Session s, + javax.mail.URLName u) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ javax.mail.FoldergetDefaultFolder() + +
+           
+ javax.mail.FoldergetFolder(String path) + +
+           
+ javax.mail.FoldergetFolder(javax.mail.URLName path) + +
+           
+protected  booleanprotocolConnect(String host, + int port, + String user, + String password) + +
+           
+ + + + + + + +
Methods inherited from class javax.mail.Store
addFolderListener, addStoreListener, getPersonalNamespaces, getSharedNamespaces, getUserNamespaces, notifyFolderListeners, notifyFolderRenamedListeners, notifyStoreListeners, removeFolderListener, removeStoreListener
+ + + + + + + +
Methods inherited from class javax.mail.Service
addConnectionListener, close, connect, connect, connect, connect, finalize, getURLName, isConnected, notifyConnectionListeners, queueEvent, removeConnectionListener, setConnected, setURLName, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+MailFileStore

+
+public MailFileStore(javax.mail.Session s,
+                     javax.mail.URLName u)
+
+
+ + + + + + + + +
+Method Detail
+ +

+protocolConnect

+
+protected boolean protocolConnect(String host,
+                                  int port,
+                                  String user,
+                                  String password)
+                           throws javax.mail.MessagingException
+
+
+
Overrides:
protocolConnect in class javax.mail.Service
+
+
+ +
Throws: +
javax.mail.MessagingException
+
+
+
+ +

+getDefaultFolder

+
+public javax.mail.Folder getDefaultFolder()
+                                   throws javax.mail.MessagingException
+
+
+
Specified by:
getDefaultFolder in class javax.mail.Store
+
+
+ +
Throws: +
javax.mail.MessagingException
+
+
+
+ +

+getFolder

+
+public javax.mail.Folder getFolder(String path)
+                            throws javax.mail.MessagingException
+
+
+
Specified by:
getFolder in class javax.mail.Store
+
+
+ +
Throws: +
javax.mail.MessagingException
+
+
+
+ +

+getFolder

+
+public javax.mail.Folder getFolder(javax.mail.URLName path)
+                            throws javax.mail.MessagingException
+
+
+
Specified by:
getFolder in class javax.mail.Store
+
+
+ +
Throws: +
javax.mail.MessagingException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/mail/sampler/MailReaderSampler.html b/docs/api/org/apache/jmeter/protocol/mail/sampler/MailReaderSampler.html new file mode 100644 index 00000000000..647a836f28b --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/mail/sampler/MailReaderSampler.html @@ -0,0 +1,1069 @@ + + + + + +MailReaderSampler (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.mail.sampler +
+Class MailReaderSampler

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.samplers.AbstractSampler
+          extended by org.apache.jmeter.protocol.mail.sampler.MailReaderSampler
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, ConfigMergabilityIndicator, Searchable, Interruptible, Sampler, TestElement
+
+
+
+
public class MailReaderSampler
extends AbstractSampler
implements Interruptible
+ + +

+Sampler that can read from POP3 and IMAP mail servers +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + +
+Field Summary
+static intALL_MESSAGES + +
+           
+static StringDEFAULT_PROTOCOL + +
+           
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
MailReaderSampler() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleanapplies(ConfigTestElement configElement) + +
+          Does configElement apply to Sampler
+ booleangetDeleteMessages() + +
+           
+ StringgetFolder() + +
+           
+ booleangetHeaderOnly() + +
+           
+ intgetNumMessages() + +
+           
+ StringgetNumMessagesString() + +
+           
+ StringgetPassword() + +
+           
+ StringgetPort() + +
+           
+ StringgetServer() + +
+           
+ StringgetServerType() + +
+          Returns the type of the protocol set to use when talking with the remote + server.
+ StringgetTrustStoreToUse() + +
+           
+ StringgetUserName() + +
+           
+ booleaninterrupt() + +
+          Interrupt the current operation if possible.
+ booleanisEnforceStartTLS() + +
+           
+ booleanisStoreMimeMessage() + +
+           
+ booleanisTrustAllCerts() + +
+           
+ booleanisUseLocalTrustStore() + +
+           
+ booleanisUseSSL() + +
+           
+ booleanisUseStartTLS() + +
+           
+ SampleResultsample(Entry e) + +
+          Obtains statistics about the given Entry, and packages the information + into a SampleResult.
+ voidsetDeleteMessages(boolean delete) + +
+           
+ voidsetFolder(String folder) + +
+           
+ voidsetHeaderOnly(boolean selected) + +
+           
+ voidsetNumMessages(int num_messages) + +
+           
+ voidsetNumMessages(String num_messages) + +
+           
+ voidsetPassword(String password) + +
+           
+ voidsetPort(String port) + +
+           
+ voidsetServer(String server) + +
+           
+ voidsetServerType(String serverType) + +
+          Sets the type of protocol to use when talking with the remote mail + server.
+ voidsetStoreMimeMessage(boolean storeMimeMessage) + +
+           
+ voidsetUserName(String username) + +
+           
+ StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.testelement.TestElement
addTestElement, canRemove, clear, clearTestElementChildren, clone, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse
+  +

+ + + + + + + + +
+Field Detail
+ +

+DEFAULT_PROTOCOL

+
+public static final String DEFAULT_PROTOCOL
+
+
+
See Also:
Constant Field Values
+
+
+ +

+ALL_MESSAGES

+
+public static final int ALL_MESSAGES
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+MailReaderSampler

+
+public MailReaderSampler()
+
+
+ + + + + + + + +
+Method Detail
+ +

+isUseLocalTrustStore

+
+public boolean isUseLocalTrustStore()
+
+
+
+
+
+
+
+
+
+ +

+getTrustStoreToUse

+
+public String getTrustStoreToUse()
+
+
+
+
+
+
+
+
+
+ +

+isUseSSL

+
+public boolean isUseSSL()
+
+
+
+
+
+
+
+
+
+ +

+isUseStartTLS

+
+public boolean isUseStartTLS()
+
+
+
+
+
+
+
+
+
+ +

+isTrustAllCerts

+
+public boolean isTrustAllCerts()
+
+
+
+
+
+
+
+
+
+ +

+isEnforceStartTLS

+
+public boolean isEnforceStartTLS()
+
+
+
+
+
+
+
+
+
+ +

+sample

+
+public SampleResult sample(Entry e)
+
+
Obtains statistics about the given Entry, and packages the information + into a SampleResult. +

+

+
Specified by:
sample in interface Sampler
+
+
+
Parameters:
e - the Entry (TODO seems to be unused) +
Returns:
information about the sample
+
+
+
+ +

+setServerType

+
+public void setServerType(String serverType)
+
+
Sets the type of protocol to use when talking with the remote mail + server. Either MailReaderSampler.TYPE_IMAP[S] or + MailReaderSampler.TYPE_POP3[S]. Default is MailReaderSampler.TYPE_POP3. +

+

+
+
+
+
Parameters:
serverType - protocol to use
+
+
+
+ +

+getServerType

+
+public String getServerType()
+
+
Returns the type of the protocol set to use when talking with the remote + server. Either MailReaderSampler.TYPE_IMAP[S] or + MailReaderSampler.TYPE_POP3[S]. +

+

+
+
+
+ +
Returns:
Server Type
+
+
+
+ +

+setServer

+
+public void setServer(String server)
+
+
+
+
+
+
Parameters:
server - - + The name or address of the remote server.
+
+
+
+ +

+getServer

+
+public String getServer()
+
+
+
+
+
+ +
Returns:
The name or address of the remote server.
+
+
+
+ +

+getPort

+
+public String getPort()
+
+
+
+
+
+
+
+
+
+ +

+setPort

+
+public void setPort(String port)
+
+
+
+
+
+
+
+
+
+ +

+setUserName

+
+public void setUserName(String username)
+
+
+
+
+
+
Parameters:
username - - + The username of the mail account.
+
+
+
+ +

+getUserName

+
+public String getUserName()
+
+
+
+
+
+ +
Returns:
The username of the mail account.
+
+
+
+ +

+setPassword

+
+public void setPassword(String password)
+
+
+
+
+
+
Parameters:
password - the password to use
+
+
+
+ +

+getPassword

+
+public String getPassword()
+
+
+
+
+
+ +
Returns:
password
+
+
+
+ +

+setFolder

+
+public void setFolder(String folder)
+
+
+
+
+
+
Parameters:
folder - - + Name of the folder to read emails from. "INBOX" is the only + acceptable value if the server type is POP3.
+
+
+
+ +

+getFolder

+
+public String getFolder()
+
+
+
+
+
+ +
Returns:
folder
+
+
+
+ +

+setNumMessages

+
+public void setNumMessages(int num_messages)
+
+
+
+
+
+
Parameters:
num_messages - - + The number of messages to retrieve from the mail server. Set + this value to -1 to retrieve all messages.
+
+
+
+ +

+setNumMessages

+
+public void setNumMessages(String num_messages)
+
+
+
+
+
+
Parameters:
num_messages - - + The number of messages to retrieve from the mail server. Set + this value to -1 to retrieve all messages.
+
+
+
+ +

+getNumMessages

+
+public int getNumMessages()
+
+
+
+
+
+ +
Returns:
The number of messages to retrieve from the mail server. + -1 denotes get all messages.
+
+
+
+ +

+getNumMessagesString

+
+public String getNumMessagesString()
+
+
+
+
+
+ +
Returns:
The number of messages to retrieve from the mail server. + -1 denotes get all messages.
+
+
+
+ +

+setDeleteMessages

+
+public void setDeleteMessages(boolean delete)
+
+
+
+
+
+
Parameters:
delete - - + Whether or not to delete the read messages from the folder.
+
+
+
+ +

+getDeleteMessages

+
+public boolean getDeleteMessages()
+
+
+
+
+
+ +
Returns:
Whether or not to delete the read messages from the folder.
+
+
+
+ +

+isStoreMimeMessage

+
+public boolean isStoreMimeMessage()
+
+
+
+
+
+ +
Returns:
Whether or not to store the retrieved message as MIME message in + the sample result
+
+
+
+ +

+setStoreMimeMessage

+
+public void setStoreMimeMessage(boolean storeMimeMessage)
+
+
+
+
+
+
Parameters:
storeMimeMessage - Whether or not to store the retrieved message as MIME message in the + sample result
+
+
+
+ +

+toString

+
+public String toString()
+
+
+
Overrides:
toString in class Object
+
+
+
+
+
+
+ +

+interrupt

+
+public boolean interrupt()
+
+
Interrupt the current operation if possible. +

+

+
Specified by:
interrupt in interface Interruptible
+
+
+ +
Returns:
true if there was an operation to interrupt.
+
+
+
+ +

+applies

+
+public boolean applies(ConfigTestElement configElement)
+
+
Description copied from class: AbstractSampler
+
Does configElement apply to Sampler +

+

+
Specified by:
applies in interface ConfigMergabilityIndicator
Overrides:
applies in class AbstractSampler
+
+
+
Parameters:
configElement - ConfigTestElement +
Returns:
boolean
See Also:
AbstractSampler.applies(org.apache.jmeter.config.ConfigTestElement)
+
+
+
+ +

+getHeaderOnly

+
+public boolean getHeaderOnly()
+
+
+
+
+
+
+
+
+
+ +

+setHeaderOnly

+
+public void setHeaderOnly(boolean selected)
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/mail/sampler/gui/MailReaderSamplerGui.html b/docs/api/org/apache/jmeter/protocol/mail/sampler/gui/MailReaderSamplerGui.html new file mode 100644 index 00000000000..30b0cb38934 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/mail/sampler/gui/MailReaderSamplerGui.html @@ -0,0 +1,608 @@ + + + + + +MailReaderSamplerGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.mail.sampler.gui +
+Class MailReaderSamplerGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.samplers.gui.AbstractSamplerGui
+                          extended by org.apache.jmeter.protocol.mail.sampler.gui.MailReaderSamplerGui
+
+
+
All Implemented Interfaces:
ActionListener, FocusListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
+
public class MailReaderSamplerGui
extends AbstractSamplerGui
implements ActionListener, FocusListener
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
MailReaderSamplerGui() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidactionPerformed(ActionEvent e) + +
+           
+ voidclearGui() + +
+          Provides a default implementation that resets the name field to the value of + getStaticLabel(), reset comment and sets enabled to true.
+ voidconfigure(TestElement element) + +
+          A newly created gui component can be initialized with the contents of a + Test Element object by calling this method.
+ TestElementcreateTestElement() + +
+          JMeter test components are separated into a model and a GUI + representation.
+ voidfocusGained(FocusEvent e) + +
+           
+ voidfocusLost(FocusEvent e) + +
+           
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ voidmodifyTestElement(TestElement te) + +
+          GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.samplers.gui.AbstractSamplerGui
createPopupMenu, getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+MailReaderSamplerGui

+
+public MailReaderSamplerGui()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+
Specified by:
getLabelResource in interface JMeterGUIComponent
+
+
+ +
Returns:
the resource name
+
+
+
+ +

+configure

+
+public void configure(TestElement element)
+
+
A newly created gui component can be initialized with the contents of a + Test Element object by calling this method. The component is responsible + for querying the Test Element object for the relevant information to + display in its GUI. +

+ AbstractJMeterGuiComponent provides a partial implementation of this + method, setting the name of the component and its enabled status. + Subclasses should override this method, performing their own + configuration as needed, but also calling this super-implementation. +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class AbstractJMeterGuiComponent
+
+
+
Parameters:
element - the TestElement to configure
+
+
+
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
JMeter test components are separated into a model and a GUI + representation. The model holds the data and the GUI displays it. The GUI + class is responsible for knowing how to create and initialize with data + the model class that it knows how to display, and this method is called + when new test elements are created. +

+

+
Specified by:
createTestElement in interface JMeterGUIComponent
+
+
+ +
Returns:
the Test Element object that the GUI component represents.
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement te)
+
+
GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components. This method should + overwrite whatever data is currently in the TestElement as it is called + after a user has filled out the form elements in the gui with new + information. +

+

+
Specified by:
modifyTestElement in interface JMeterGUIComponent
+
+
+
Parameters:
te - the TestElement to modify
+
+
+
+ +

+clearGui

+
+public void clearGui()
+
+
Description copied from class: AbstractJMeterGuiComponent
+
Provides a default implementation that resets the name field to the value of + getStaticLabel(), reset comment and sets enabled to true. Your GUI may need more things + cleared, in which case you should override, clear the extra fields, and + still call super.clearGui(). +

+

+
Specified by:
clearGui in interface ClearGui
Overrides:
clearGui in class AbstractJMeterGuiComponent
+
+
+
+
+
+
+ +

+actionPerformed

+
+public void actionPerformed(ActionEvent e)
+
+
+
Specified by:
actionPerformed in interface ActionListener
+
+
+
+
+
+
+ +

+focusGained

+
+public void focusGained(FocusEvent e)
+
+
+
Specified by:
focusGained in interface FocusListener
+
+
+
+
+
+
+ +

+focusLost

+
+public void focusLost(FocusEvent e)
+
+
+
Specified by:
focusLost in interface FocusListener
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/mail/sampler/gui/package-frame.html b/docs/api/org/apache/jmeter/protocol/mail/sampler/gui/package-frame.html new file mode 100644 index 00000000000..dd04093aa6b --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/mail/sampler/gui/package-frame.html @@ -0,0 +1,30 @@ + + + + + +org.apache.jmeter.protocol.mail.sampler.gui (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.protocol.mail.sampler.gui + + + + +
+Classes  + +
+MailReaderSamplerGui
+ + + + diff --git a/docs/api/org/apache/jmeter/protocol/mail/sampler/gui/package-summary.html b/docs/api/org/apache/jmeter/protocol/mail/sampler/gui/package-summary.html new file mode 100644 index 00000000000..6d4fc37ed4b --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/mail/sampler/gui/package-summary.html @@ -0,0 +1,153 @@ + + + + + +org.apache.jmeter.protocol.mail.sampler.gui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.protocol.mail.sampler.gui +

+ + + + + + + + + +
+Class Summary
MailReaderSamplerGui 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/mail/sampler/gui/package-tree.html b/docs/api/org/apache/jmeter/protocol/mail/sampler/gui/package-tree.html new file mode 100644 index 00000000000..71867406984 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/mail/sampler/gui/package-tree.html @@ -0,0 +1,166 @@ + + + + + +org.apache.jmeter.protocol.mail.sampler.gui Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.protocol.mail.sampler.gui +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/mail/sampler/package-frame.html b/docs/api/org/apache/jmeter/protocol/mail/sampler/package-frame.html new file mode 100644 index 00000000000..75b126c832d --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/mail/sampler/package-frame.html @@ -0,0 +1,36 @@ + + + + + +org.apache.jmeter.protocol.mail.sampler (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.protocol.mail.sampler + + + + +
+Classes  + +
+MailFileFolder +
+MailFileMessage +
+MailFileStore +
+MailReaderSampler
+ + + + diff --git a/docs/api/org/apache/jmeter/protocol/mail/sampler/package-summary.html b/docs/api/org/apache/jmeter/protocol/mail/sampler/package-summary.html new file mode 100644 index 00000000000..0413b0567a8 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/mail/sampler/package-summary.html @@ -0,0 +1,165 @@ + + + + + +org.apache.jmeter.protocol.mail.sampler (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.protocol.mail.sampler +

+ + + + + + + + + + + + + + + + + + + + + +
+Class Summary
MailFileFolder 
MailFileMessage 
MailFileStore 
MailReaderSamplerSampler that can read from POP3 and IMAP mail servers
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/mail/sampler/package-tree.html b/docs/api/org/apache/jmeter/protocol/mail/sampler/package-tree.html new file mode 100644 index 00000000000..f048fe1b4b5 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/mail/sampler/package-tree.html @@ -0,0 +1,168 @@ + + + + + +org.apache.jmeter.protocol.mail.sampler Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.protocol.mail.sampler +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/mongodb/config/MongoDBHolder.html b/docs/api/org/apache/jmeter/protocol/mongodb/config/MongoDBHolder.html new file mode 100644 index 00000000000..11c9a470c68 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/mongodb/config/MongoDBHolder.html @@ -0,0 +1,285 @@ + + + + + +MongoDBHolder (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.mongodb.config +
+Class MongoDBHolder

+
+java.lang.Object
+  extended by org.apache.jmeter.protocol.mongodb.config.MongoDBHolder
+
+
+
+
public final class MongoDBHolder
extends Object
+ + +

+Public API to access MongoDB DB object created by MongoSourceElement +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
MongoDBHolder() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+static com.mongodb.DBgetDBFromSource(String varName, + String dbName) + +
+          Get access to MongoDB object
+static com.mongodb.DBgetDBFromSource(String varName, + String dbName, + String login, + String password) + +
+          Get access to MongoDB object
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+MongoDBHolder

+
+public MongoDBHolder()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getDBFromSource

+
+public static com.mongodb.DB getDBFromSource(String varName,
+                                             String dbName)
+
+
Get access to MongoDB object +

+

+
Parameters:
varName - String MongoDB source
dbName - Mongo DB database name +
Returns:
DB
+
+
+
+ +

+getDBFromSource

+
+public static com.mongodb.DB getDBFromSource(String varName,
+                                             String dbName,
+                                             String login,
+                                             String password)
+
+
Get access to MongoDB object +

+

+
Parameters:
varName - String MongoDB source
dbName - Mongo DB database name
login - name to use for login
password - password to use for login +
Returns:
DB
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/mongodb/config/MongoSourceElement.html b/docs/api/org/apache/jmeter/protocol/mongodb/config/MongoSourceElement.html new file mode 100644 index 00000000000..eb4a4e2e1d2 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/mongodb/config/MongoSourceElement.html @@ -0,0 +1,1268 @@ + + + + + +MongoSourceElement (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.mongodb.config +
+Class MongoSourceElement

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.config.ConfigTestElement
+          extended by org.apache.jmeter.protocol.mongodb.config.MongoSourceElement
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, ConfigElement, Searchable, TestBean, TestElement, TestStateListener
+
+
+
+
public class MongoSourceElement
extends ConfigTestElement
implements TestStateListener, TestBean
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.config.ConfigTestElement
PASSWORD, USERNAME
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
MongoSourceElement() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddConfigElement(ConfigElement configElement) + +
+          Add a configuration element to this one.
+ booleanexpectsModification() + +
+          If your config element expects to be modified in the process of a test + run, and you want those modifications to carry over from sample to sample + (as in a cookie manager - you want to save all cookies that get set + throughout the test), then return true for this method.
+ booleangetAutoConnectRetry() + +
+           
+ StringgetConnection() + +
+           
+ intgetConnectionsPerHost() + +
+           
+ intgetConnectTimeout() + +
+           
+ booleangetContinueOnInsertError() + +
+           
+ booleangetFsync() + +
+           
+ longgetMaxAutoConnectRetryTime() + +
+           
+ intgetMaxWaitTime() + +
+           
+static MongoDBgetMongoDB(String source) + +
+           
+ booleangetSafe() + +
+           
+ booleangetSocketKeepAlive() + +
+           
+ intgetSocketTimeout() + +
+           
+ StringgetSource() + +
+           
+ intgetThreadsAllowedToBlockForConnectionMultiplier() + +
+           
+ StringgetTitle() + +
+           
+ booleangetWaitForJournaling() + +
+           
+ intgetWriteOperationNumberOfServers() + +
+           
+ intgetWriteOperationTimeout() + +
+           
+ voidsetAutoConnectRetry(boolean autoConnectRetry) + +
+           
+ voidsetConnection(String connection) + +
+           
+ voidsetConnectionsPerHost(int connectionsPerHost) + +
+           
+ voidsetConnectTimeout(int connectTimeout) + +
+           
+ voidsetContinueOnInsertError(boolean continueOnInsertError) + +
+           
+ voidsetFsync(boolean fsync) + +
+           
+ voidsetMaxAutoConnectRetryTime(long maxAutoConnectRetryTime) + +
+           
+ voidsetMaxWaitTime(int maxWaitTime) + +
+           
+ voidsetSafe(boolean safe) + +
+           
+ voidsetSocketKeepAlive(boolean socketKeepAlive) + +
+           
+ voidsetSocketTimeout(int socketTimeout) + +
+           
+ voidsetSource(String source) + +
+           
+ voidsetThreadsAllowedToBlockForConnectionMultiplier(int threadsAllowedToBlockForConnectionMultiplier) + +
+           
+ voidsetWaitForJournaling(boolean waitForJournaling) + +
+           
+ voidsetWriteOperationNumberOfServers(int writeOperationNumberOfServers) + +
+           
+ voidsetWriteOperationTimeout(int writeOperationTimeout) + +
+           
+ voidtestEnded() + +
+           + Called once for all threads after the end of a test.
+ voidtestEnded(String s) + +
+           + Called once for all threads after the end of a test.
+ voidtestStarted() + +
+           + Called just before the start of the test from the main engine thread.
+ voidtestStarted(String s) + +
+           + Called just before the start of the test from the main engine thread.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.config.ConfigTestElement
addTestElement
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.config.ConfigElement
clone
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+MongoSourceElement

+
+public MongoSourceElement()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getTitle

+
+public String getTitle()
+
+
+
+
+
+
+
+
+
+ +

+getConnection

+
+public String getConnection()
+
+
+
+
+
+
+
+
+
+ +

+setConnection

+
+public void setConnection(String connection)
+
+
+
+
+
+
+
+
+
+ +

+getSource

+
+public String getSource()
+
+
+
+
+
+
+
+
+
+ +

+setSource

+
+public void setSource(String source)
+
+
+
+
+
+
+
+
+
+ +

+getMongoDB

+
+public static MongoDB getMongoDB(String source)
+
+
+
+
+
+
+
+
+
+ +

+addConfigElement

+
+public void addConfigElement(ConfigElement configElement)
+
+
Description copied from class: ConfigTestElement
+
Add a configuration element to this one. This allows config elements to + combine and give a "layered" effect. For example, + HTTPConfigElements have properties for domain, path, method, and + parameters. If element A has everything filled in, but null for domain, + and element B is added, which has only domain filled in, then after + adding B to A, A will have the domain from B. If A already had a domain, + then the correct behavior is for A to ignore the addition of element B. +

+

+
Specified by:
addConfigElement in interface ConfigElement
Overrides:
addConfigElement in class ConfigTestElement
+
+
+
Parameters:
configElement - the element to be added to this ConfigElement
+
+
+
+ +

+expectsModification

+
+public boolean expectsModification()
+
+
Description copied from class: ConfigTestElement
+
If your config element expects to be modified in the process of a test + run, and you want those modifications to carry over from sample to sample + (as in a cookie manager - you want to save all cookies that get set + throughout the test), then return true for this method. Your config + element will not be cloned for each sample. If your config elements are + more static in nature, return false. If in doubt, return false. +

+

+
Specified by:
expectsModification in interface ConfigElement
Overrides:
expectsModification in class ConfigTestElement
+
+
+ +
Returns:
true if the element expects to be modified over the course of a + test run
+
+
+
+ +

+testStarted

+
+public void testStarted()
+
+
Description copied from interface: TestStateListener
+

+ Called just before the start of the test from the main engine thread. + + This is before the test elements are cloned. + + Note that not all the test + variables will have been set up at this point. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testStarted in interface TestStateListener
+
+
+
See Also:
StandardJMeterEngine.run()
+
+
+
+ +

+testStarted

+
+public void testStarted(String s)
+
+
Description copied from interface: TestStateListener
+

+ Called just before the start of the test from the main engine thread. + + This is before the test elements are cloned. + + Note that not all the test + variables will have been set up at this point. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testStarted in interface TestStateListener
+
+
+
Parameters:
s - name of host
See Also:
StandardJMeterEngine.run()
+
+
+
+ +

+testEnded

+
+public void testEnded()
+
+
Description copied from interface: TestStateListener
+

+ Called once for all threads after the end of a test. + + This will use the same element instances as at the start of the test. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testEnded in interface TestStateListener
+
+
+
See Also:
StandardJMeterEngine.stopTest()
+
+
+
+ +

+testEnded

+
+public void testEnded(String s)
+
+
Description copied from interface: TestStateListener
+

+ Called once for all threads after the end of a test. + + This will use the same element instances as at the start of the test. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testEnded in interface TestStateListener
+
+
+
Parameters:
s - name of host
See Also:
StandardJMeterEngine.stopTest()
+
+
+
+ +

+getAutoConnectRetry

+
+public boolean getAutoConnectRetry()
+
+
+
+
+
+ +
Returns:
the autoConnectRetry
+
+
+
+ +

+setAutoConnectRetry

+
+public void setAutoConnectRetry(boolean autoConnectRetry)
+
+
+
+
+
+
Parameters:
autoConnectRetry - the autoConnectRetry to set
+
+
+
+ +

+getConnectionsPerHost

+
+public int getConnectionsPerHost()
+
+
+
+
+
+ +
Returns:
the connectionsPerHost
+
+
+
+ +

+setConnectionsPerHost

+
+public void setConnectionsPerHost(int connectionsPerHost)
+
+
+
+
+
+
Parameters:
connectionsPerHost - the connectionsPerHost to set
+
+
+
+ +

+getConnectTimeout

+
+public int getConnectTimeout()
+
+
+
+
+
+ +
Returns:
the connectTimeout
+
+
+
+ +

+setConnectTimeout

+
+public void setConnectTimeout(int connectTimeout)
+
+
+
+
+
+
Parameters:
connectTimeout - the connectTimeout to set
+
+
+
+ +

+getMaxAutoConnectRetryTime

+
+public long getMaxAutoConnectRetryTime()
+
+
+
+
+
+ +
Returns:
the maxAutoConnectRetryTime
+
+
+
+ +

+setMaxAutoConnectRetryTime

+
+public void setMaxAutoConnectRetryTime(long maxAutoConnectRetryTime)
+
+
+
+
+
+
Parameters:
maxAutoConnectRetryTime - the maxAutoConnectRetryTime to set
+
+
+
+ +

+getMaxWaitTime

+
+public int getMaxWaitTime()
+
+
+
+
+
+ +
Returns:
the maxWaitTime
+
+
+
+ +

+setMaxWaitTime

+
+public void setMaxWaitTime(int maxWaitTime)
+
+
+
+
+
+
Parameters:
maxWaitTime - the maxWaitTime to set
+
+
+
+ +

+getSocketTimeout

+
+public int getSocketTimeout()
+
+
+
+
+
+ +
Returns:
the socketTimeout
+
+
+
+ +

+setSocketTimeout

+
+public void setSocketTimeout(int socketTimeout)
+
+
+
+
+
+
Parameters:
socketTimeout - the socketTimeout to set
+
+
+
+ +

+getSocketKeepAlive

+
+public boolean getSocketKeepAlive()
+
+
+
+
+
+ +
Returns:
the socketKeepAlive
+
+
+
+ +

+setSocketKeepAlive

+
+public void setSocketKeepAlive(boolean socketKeepAlive)
+
+
+
+
+
+
Parameters:
socketKeepAlive - the socketKeepAlive to set
+
+
+
+ +

+getThreadsAllowedToBlockForConnectionMultiplier

+
+public int getThreadsAllowedToBlockForConnectionMultiplier()
+
+
+
+
+
+ +
Returns:
the threadsAllowedToBlockForConnectionMultiplier
+
+
+
+ +

+setThreadsAllowedToBlockForConnectionMultiplier

+
+public void setThreadsAllowedToBlockForConnectionMultiplier(int threadsAllowedToBlockForConnectionMultiplier)
+
+
+
+
+
+
Parameters:
threadsAllowedToBlockForConnectionMultiplier - the threadsAllowedToBlockForConnectionMultiplier to set
+
+
+
+ +

+getFsync

+
+public boolean getFsync()
+
+
+
+
+
+ +
Returns:
the fsync
+
+
+
+ +

+setFsync

+
+public void setFsync(boolean fsync)
+
+
+
+
+
+
Parameters:
fsync - the fsync to set
+
+
+
+ +

+getSafe

+
+public boolean getSafe()
+
+
+
+
+
+ +
Returns:
the safe
+
+
+
+ +

+setSafe

+
+public void setSafe(boolean safe)
+
+
+
+
+
+
Parameters:
safe - the safe to set
+
+
+
+ +

+getWaitForJournaling

+
+public boolean getWaitForJournaling()
+
+
+
+
+
+ +
Returns:
the waitForJournaling
+
+
+
+ +

+setWaitForJournaling

+
+public void setWaitForJournaling(boolean waitForJournaling)
+
+
+
+
+
+
Parameters:
waitForJournaling - the waitForJournaling to set
+
+
+
+ +

+getWriteOperationNumberOfServers

+
+public int getWriteOperationNumberOfServers()
+
+
+
+
+
+ +
Returns:
the writeOperationNumberOfServers
+
+
+
+ +

+setWriteOperationNumberOfServers

+
+public void setWriteOperationNumberOfServers(int writeOperationNumberOfServers)
+
+
+
+
+
+
Parameters:
writeOperationNumberOfServers - the writeOperationNumberOfServers to set
+
+
+
+ +

+getWriteOperationTimeout

+
+public int getWriteOperationTimeout()
+
+
+
+
+
+ +
Returns:
the writeOperationTimeout
+
+
+
+ +

+setWriteOperationTimeout

+
+public void setWriteOperationTimeout(int writeOperationTimeout)
+
+
+
+
+
+
Parameters:
writeOperationTimeout - the writeOperationTimeout to set
+
+
+
+ +

+getContinueOnInsertError

+
+public boolean getContinueOnInsertError()
+
+
+
+
+
+ +
Returns:
the continueOnInsertError
+
+
+
+ +

+setContinueOnInsertError

+
+public void setContinueOnInsertError(boolean continueOnInsertError)
+
+
+
+
+
+
Parameters:
continueOnInsertError - the continueOnInsertError to set
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/mongodb/config/MongoSourceElementBeanInfo.html b/docs/api/org/apache/jmeter/protocol/mongodb/config/MongoSourceElementBeanInfo.html new file mode 100644 index 00000000000..bc01c17ad90 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/mongodb/config/MongoSourceElementBeanInfo.html @@ -0,0 +1,270 @@ + + + + + +MongoSourceElementBeanInfo (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.mongodb.config +
+Class MongoSourceElementBeanInfo

+
+java.lang.Object
+  extended by java.beans.SimpleBeanInfo
+      extended by org.apache.jmeter.testbeans.BeanInfoSupport
+          extended by org.apache.jmeter.protocol.mongodb.config.MongoSourceElementBeanInfo
+
+
+
All Implemented Interfaces:
BeanInfo
+
+
+
+
public class MongoSourceElementBeanInfo
extends BeanInfoSupport
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.testbeans.BeanInfoSupport
DEFAULT, MULTILINE, NOT_EXPRESSION, NOT_OTHER, NOT_UNDEFINED, RESOURCE_BUNDLE, TAGS, TEXT_LANGUAGE
+ + + + + + + +
Fields inherited from interface java.beans.BeanInfo
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32
+  + + + + + + + + + + +
+Constructor Summary
MongoSourceElementBeanInfo() + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testbeans.BeanInfoSupport
createPropertyGroup, getAdditionalBeanInfo, getBeanDescriptor, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getIcon, getMethodDescriptors, getPropertyDescriptors, property, property, property, setIcon
+ + + + + + + +
Methods inherited from class java.beans.SimpleBeanInfo
loadImage
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+MongoSourceElementBeanInfo

+
+public MongoSourceElementBeanInfo()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/mongodb/config/package-frame.html b/docs/api/org/apache/jmeter/protocol/mongodb/config/package-frame.html new file mode 100644 index 00000000000..2d7428184d3 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/mongodb/config/package-frame.html @@ -0,0 +1,34 @@ + + + + + +org.apache.jmeter.protocol.mongodb.config (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.protocol.mongodb.config + + + + +
+Classes  + +
+MongoDBHolder +
+MongoSourceElement +
+MongoSourceElementBeanInfo
+ + + + diff --git a/docs/api/org/apache/jmeter/protocol/mongodb/config/package-summary.html b/docs/api/org/apache/jmeter/protocol/mongodb/config/package-summary.html new file mode 100644 index 00000000000..5502f04e59a --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/mongodb/config/package-summary.html @@ -0,0 +1,161 @@ + + + + + +org.apache.jmeter.protocol.mongodb.config (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.protocol.mongodb.config +

+ + + + + + + + + + + + + + + + + +
+Class Summary
MongoDBHolderPublic API to access MongoDB DB object created by MongoSourceElement
MongoSourceElement 
MongoSourceElementBeanInfo 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/mongodb/config/package-tree.html b/docs/api/org/apache/jmeter/protocol/mongodb/config/package-tree.html new file mode 100644 index 00000000000..37c806aa030 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/mongodb/config/package-tree.html @@ -0,0 +1,161 @@ + + + + + +org.apache.jmeter.protocol.mongodb.config Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.protocol.mongodb.config +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/mongodb/mongo/EvalResultHandler.html b/docs/api/org/apache/jmeter/protocol/mongodb/mongo/EvalResultHandler.html new file mode 100644 index 00000000000..35112bf928b --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/mongodb/mongo/EvalResultHandler.html @@ -0,0 +1,324 @@ + + + + + +EvalResultHandler (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.mongodb.mongo +
+Class EvalResultHandler

+
+java.lang.Object
+  extended by org.apache.jmeter.protocol.mongodb.mongo.EvalResultHandler
+
+
+
+
public class EvalResultHandler
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
EvalResultHandler() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Stringhandle(com.mongodb.DBObject o) + +
+           
+ Stringhandle(Double o) + +
+           
+ Stringhandle(Integer o) + +
+           
+ Stringhandle(Object o) + +
+           
+ Stringhandle(String o) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+EvalResultHandler

+
+public EvalResultHandler()
+
+
+ + + + + + + + +
+Method Detail
+ +

+handle

+
+public String handle(Object o)
+
+
+
+
+
+
+ +

+handle

+
+public String handle(Integer o)
+
+
+
+
+
+
+ +

+handle

+
+public String handle(String o)
+
+
+
+
+
+
+ +

+handle

+
+public String handle(Double o)
+
+
+
+
+
+
+ +

+handle

+
+public String handle(com.mongodb.DBObject o)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/mongodb/mongo/MongoDB.html b/docs/api/org/apache/jmeter/protocol/mongodb/mongo/MongoDB.html new file mode 100644 index 00000000000..4aa5e8ab592 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/mongodb/mongo/MongoDB.html @@ -0,0 +1,273 @@ + + + + + +MongoDB (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.mongodb.mongo +
+Class MongoDB

+
+java.lang.Object
+  extended by org.apache.jmeter.protocol.mongodb.mongo.MongoDB
+
+
+
+
public class MongoDB
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
MongoDB(List<com.mongodb.ServerAddress> serverAddresses, + com.mongodb.MongoClientOptions mongoOptions) + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ voidclear() + +
+           
+ com.mongodb.DBgetDB(String database, + String username, + String password) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+MongoDB

+
+public MongoDB(List<com.mongodb.ServerAddress> serverAddresses,
+               com.mongodb.MongoClientOptions mongoOptions)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getDB

+
+public com.mongodb.DB getDB(String database,
+                            String username,
+                            String password)
+
+
+
+
+
+
+ +

+clear

+
+public void clear()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/mongodb/mongo/MongoUtils.html b/docs/api/org/apache/jmeter/protocol/mongodb/mongo/MongoUtils.html new file mode 100644 index 00000000000..e83d7877ad2 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/mongodb/mongo/MongoUtils.html @@ -0,0 +1,289 @@ + + + + + +MongoUtils (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.mongodb.mongo +
+Class MongoUtils

+
+java.lang.Object
+  extended by org.apache.jmeter.protocol.mongodb.mongo.MongoUtils
+
+
+
+
public class MongoUtils
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Field Summary
+static intDEFAULT_PORT + +
+          MongoDB default connection port
+  + + + + + + + + + + +
+Constructor Summary
MongoUtils() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static List<com.mongodb.ServerAddress>toServerAddresses(String connections) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+DEFAULT_PORT

+
+public static final int DEFAULT_PORT
+
+
MongoDB default connection port +

+

+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+MongoUtils

+
+public MongoUtils()
+
+
+ + + + + + + + +
+Method Detail
+ +

+toServerAddresses

+
+public static List<com.mongodb.ServerAddress> toServerAddresses(String connections)
+                                                         throws UnknownHostException
+
+
+ +
Throws: +
UnknownHostException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/mongodb/mongo/package-frame.html b/docs/api/org/apache/jmeter/protocol/mongodb/mongo/package-frame.html new file mode 100644 index 00000000000..0d521b7dab8 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/mongodb/mongo/package-frame.html @@ -0,0 +1,34 @@ + + + + + +org.apache.jmeter.protocol.mongodb.mongo (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.protocol.mongodb.mongo + + + + +
+Classes  + +
+EvalResultHandler +
+MongoDB +
+MongoUtils
+ + + + diff --git a/docs/api/org/apache/jmeter/protocol/mongodb/mongo/package-summary.html b/docs/api/org/apache/jmeter/protocol/mongodb/mongo/package-summary.html new file mode 100644 index 00000000000..198abea2ce2 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/mongodb/mongo/package-summary.html @@ -0,0 +1,161 @@ + + + + + +org.apache.jmeter.protocol.mongodb.mongo (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.protocol.mongodb.mongo +

+ + + + + + + + + + + + + + + + + +
+Class Summary
EvalResultHandler 
MongoDB 
MongoUtils 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/mongodb/mongo/package-tree.html b/docs/api/org/apache/jmeter/protocol/mongodb/mongo/package-tree.html new file mode 100644 index 00000000000..be3aa556d78 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/mongodb/mongo/package-tree.html @@ -0,0 +1,149 @@ + + + + + +org.apache.jmeter.protocol.mongodb.mongo Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.protocol.mongodb.mongo +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/mongodb/sampler/MongoScriptRunner.html b/docs/api/org/apache/jmeter/protocol/mongodb/sampler/MongoScriptRunner.html new file mode 100644 index 00000000000..6be48b76516 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/mongodb/sampler/MongoScriptRunner.html @@ -0,0 +1,256 @@ + + + + + +MongoScriptRunner (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.mongodb.sampler +
+Class MongoScriptRunner

+
+java.lang.Object
+  extended by org.apache.jmeter.protocol.mongodb.sampler.MongoScriptRunner
+
+
+
+
public class MongoScriptRunner
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
MongoScriptRunner() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ Objectevaluate(com.mongodb.DB db, + String script) + +
+          Evaluate a script on the database
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+MongoScriptRunner

+
+public MongoScriptRunner()
+
+
+ + + + + + + + +
+Method Detail
+ +

+evaluate

+
+public Object evaluate(com.mongodb.DB db,
+                       String script)
+                throws Exception
+
+
Evaluate a script on the database +

+

+
Parameters:
db - database connection to use
script - script to evaluate on the database +
Returns:
result of evaluation on the database +
Throws: +
Exception - when evaluation on the database fails
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/mongodb/sampler/MongoScriptSampler.html b/docs/api/org/apache/jmeter/protocol/mongodb/sampler/MongoScriptSampler.html new file mode 100644 index 00000000000..a04b6b362e3 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/mongodb/sampler/MongoScriptSampler.html @@ -0,0 +1,650 @@ + + + + + +MongoScriptSampler (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.mongodb.sampler +
+Class MongoScriptSampler

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.samplers.AbstractSampler
+          extended by org.apache.jmeter.protocol.mongodb.sampler.MongoScriptSampler
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, ConfigMergabilityIndicator, Searchable, Sampler, TestBean, TestElement
+
+
+
+
public class MongoScriptSampler
extends AbstractSampler
implements TestBean
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static StringDATABASE + +
+           
+static StringPASSWORD + +
+           
+static StringSCRIPT + +
+           
+static StringSOURCE + +
+           
+static StringUSERNAME + +
+           
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
MongoScriptSampler() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetDatabase() + +
+           
+ StringgetPassword() + +
+           
+ StringgetScript() + +
+           
+ StringgetSource() + +
+           
+ StringgetTitle() + +
+           
+ StringgetUsername() + +
+           
+ SampleResultsample(Entry e) + +
+          Obtains statistics about the given Entry, and packages the information + into a SampleResult.
+ voidsetDatabase(String database) + +
+           
+ voidsetPassword(String password) + +
+           
+ voidsetScript(String script) + +
+           
+ voidsetSource(String source) + +
+           
+ voidsetUsername(String username) + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.samplers.AbstractSampler
applies
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.testelement.TestElement
addTestElement, canRemove, clear, clearTestElementChildren, clone, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse
+  +

+ + + + + + + + +
+Field Detail
+ +

+SOURCE

+
+public static final String SOURCE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DATABASE

+
+public static final String DATABASE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+USERNAME

+
+public static final String USERNAME
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PASSWORD

+
+public static final String PASSWORD
+
+
+
See Also:
Constant Field Values
+
+
+ +

+SCRIPT

+
+public static final String SCRIPT
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+MongoScriptSampler

+
+public MongoScriptSampler()
+
+
+ + + + + + + + +
+Method Detail
+ +

+sample

+
+public SampleResult sample(Entry e)
+
+
Description copied from interface: Sampler
+
Obtains statistics about the given Entry, and packages the information + into a SampleResult. +

+

+
Specified by:
sample in interface Sampler
+
+
+
Parameters:
e - the Entry (TODO seems to be unused) +
Returns:
information about the sample
+
+
+
+ +

+getTitle

+
+public String getTitle()
+
+
+
+
+
+
+
+
+
+ +

+getScript

+
+public String getScript()
+
+
+
+
+
+
+
+
+
+ +

+setScript

+
+public void setScript(String script)
+
+
+
+
+
+
+
+
+
+ +

+getDatabase

+
+public String getDatabase()
+
+
+
+
+
+
+
+
+
+ +

+setDatabase

+
+public void setDatabase(String database)
+
+
+
+
+
+
+
+
+
+ +

+getUsername

+
+public String getUsername()
+
+
+
+
+
+
+
+
+
+ +

+setUsername

+
+public void setUsername(String username)
+
+
+
+
+
+
+
+
+
+ +

+getPassword

+
+public String getPassword()
+
+
+
+
+
+
+
+
+
+ +

+setPassword

+
+public void setPassword(String password)
+
+
+
+
+
+
+
+
+
+ +

+getSource

+
+public String getSource()
+
+
+
+
+
+
+
+
+
+ +

+setSource

+
+public void setSource(String source)
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/mongodb/sampler/MongoScriptSamplerBeanInfo.html b/docs/api/org/apache/jmeter/protocol/mongodb/sampler/MongoScriptSamplerBeanInfo.html new file mode 100644 index 00000000000..fc52844a714 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/mongodb/sampler/MongoScriptSamplerBeanInfo.html @@ -0,0 +1,270 @@ + + + + + +MongoScriptSamplerBeanInfo (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.mongodb.sampler +
+Class MongoScriptSamplerBeanInfo

+
+java.lang.Object
+  extended by java.beans.SimpleBeanInfo
+      extended by org.apache.jmeter.testbeans.BeanInfoSupport
+          extended by org.apache.jmeter.protocol.mongodb.sampler.MongoScriptSamplerBeanInfo
+
+
+
All Implemented Interfaces:
BeanInfo
+
+
+
+
public class MongoScriptSamplerBeanInfo
extends BeanInfoSupport
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.testbeans.BeanInfoSupport
DEFAULT, MULTILINE, NOT_EXPRESSION, NOT_OTHER, NOT_UNDEFINED, RESOURCE_BUNDLE, TAGS, TEXT_LANGUAGE
+ + + + + + + +
Fields inherited from interface java.beans.BeanInfo
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32
+  + + + + + + + + + + +
+Constructor Summary
MongoScriptSamplerBeanInfo() + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testbeans.BeanInfoSupport
createPropertyGroup, getAdditionalBeanInfo, getBeanDescriptor, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getIcon, getMethodDescriptors, getPropertyDescriptors, property, property, property, setIcon
+ + + + + + + +
Methods inherited from class java.beans.SimpleBeanInfo
loadImage
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+MongoScriptSamplerBeanInfo

+
+public MongoScriptSamplerBeanInfo()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/mongodb/sampler/package-frame.html b/docs/api/org/apache/jmeter/protocol/mongodb/sampler/package-frame.html new file mode 100644 index 00000000000..ee972aabcaa --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/mongodb/sampler/package-frame.html @@ -0,0 +1,34 @@ + + + + + +org.apache.jmeter.protocol.mongodb.sampler (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.protocol.mongodb.sampler + + + + +
+Classes  + +
+MongoScriptRunner +
+MongoScriptSampler +
+MongoScriptSamplerBeanInfo
+ + + + diff --git a/docs/api/org/apache/jmeter/protocol/mongodb/sampler/package-summary.html b/docs/api/org/apache/jmeter/protocol/mongodb/sampler/package-summary.html new file mode 100644 index 00000000000..ad1563344c6 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/mongodb/sampler/package-summary.html @@ -0,0 +1,161 @@ + + + + + +org.apache.jmeter.protocol.mongodb.sampler (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.protocol.mongodb.sampler +

+ + + + + + + + + + + + + + + + + +
+Class Summary
MongoScriptRunner 
MongoScriptSampler 
MongoScriptSamplerBeanInfo 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/mongodb/sampler/package-tree.html b/docs/api/org/apache/jmeter/protocol/mongodb/sampler/package-tree.html new file mode 100644 index 00000000000..49673dac2f9 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/mongodb/sampler/package-tree.html @@ -0,0 +1,161 @@ + + + + + +org.apache.jmeter.protocol.mongodb.sampler Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.protocol.mongodb.sampler +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/smtp/sampler/SmtpSampler.html b/docs/api/org/apache/jmeter/protocol/smtp/sampler/SmtpSampler.html new file mode 100644 index 00000000000..683bfaaece6 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/smtp/sampler/SmtpSampler.html @@ -0,0 +1,769 @@ + + + + + +SmtpSampler (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.smtp.sampler +
+Class SmtpSampler

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.samplers.AbstractSampler
+          extended by org.apache.jmeter.protocol.smtp.sampler.SmtpSampler
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, ConfigMergabilityIndicator, Searchable, Sampler, TestElement
+
+
+
+
public class SmtpSampler
extends AbstractSampler
+ + +

+Sampler-Class for JMeter - builds, starts and interprets the results of the + sampler. Has to implement some standard-methods for JMeter in order to be + integrated in the framework. All getter/setter methods just deliver/set + values from/to the sampler, not from/to the message-object. Therefore, all + these methods are also present in class SendMailCommand. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static StringATTACH_FILE + +
+           
+static StringEML_MESSAGE_TO_SEND + +
+           
+static StringENABLE_DEBUG + +
+           
+static StringFILENAME_SEPARATOR + +
+           
+static StringHEADER_FIELDS + +
+           
+static StringINCLUDE_TIMESTAMP + +
+           
+static StringMAIL_FROM + +
+           
+static StringMAIL_REPLYTO + +
+           
+static StringMESSAGE + +
+           
+static StringMESSAGE_SIZE_STATS + +
+           
+static StringPASSWORD + +
+           
+static StringPLAIN_BODY + +
+           
+static StringRECEIVER_BCC + +
+           
+static StringRECEIVER_CC + +
+           
+static StringRECEIVER_TO + +
+           
+static StringSERVER + +
+           
+static StringSERVER_CONNECTION_TIMEOUT + +
+           
+static StringSERVER_PORT + +
+           
+static StringSERVER_TIMEOUT + +
+           
+static StringSUBJECT + +
+           
+static StringSUPPRESS_SUBJECT + +
+           
+static StringUSE_AUTH + +
+           
+static StringUSE_EML + +
+           
+static StringUSERNAME + +
+           
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
SmtpSampler() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ booleanapplies(ConfigTestElement configElement) + +
+          Does configElement apply to Sampler
+ SampleResultsample(Entry e) + +
+          Performs the sample, and returns the result
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.testelement.TestElement
addTestElement, canRemove, clear, clearTestElementChildren, clone, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse
+  +

+ + + + + + + + +
+Field Detail
+ +

+SERVER

+
+public static final String SERVER
+
+
+
See Also:
Constant Field Values
+
+
+ +

+SERVER_PORT

+
+public static final String SERVER_PORT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+SERVER_TIMEOUT

+
+public static final String SERVER_TIMEOUT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+SERVER_CONNECTION_TIMEOUT

+
+public static final String SERVER_CONNECTION_TIMEOUT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+USE_AUTH

+
+public static final String USE_AUTH
+
+
+
See Also:
Constant Field Values
+
+
+ +

+USERNAME

+
+public static final String USERNAME
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PASSWORD

+
+public static final String PASSWORD
+
+
+
See Also:
Constant Field Values
+
+
+ +

+MAIL_FROM

+
+public static final String MAIL_FROM
+
+
+
See Also:
Constant Field Values
+
+
+ +

+MAIL_REPLYTO

+
+public static final String MAIL_REPLYTO
+
+
+
See Also:
Constant Field Values
+
+
+ +

+RECEIVER_TO

+
+public static final String RECEIVER_TO
+
+
+
See Also:
Constant Field Values
+
+
+ +

+RECEIVER_CC

+
+public static final String RECEIVER_CC
+
+
+
See Also:
Constant Field Values
+
+
+ +

+RECEIVER_BCC

+
+public static final String RECEIVER_BCC
+
+
+
See Also:
Constant Field Values
+
+
+ +

+SUBJECT

+
+public static final String SUBJECT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+SUPPRESS_SUBJECT

+
+public static final String SUPPRESS_SUBJECT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+MESSAGE

+
+public static final String MESSAGE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PLAIN_BODY

+
+public static final String PLAIN_BODY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+INCLUDE_TIMESTAMP

+
+public static final String INCLUDE_TIMESTAMP
+
+
+
See Also:
Constant Field Values
+
+
+ +

+ATTACH_FILE

+
+public static final String ATTACH_FILE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+MESSAGE_SIZE_STATS

+
+public static final String MESSAGE_SIZE_STATS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+HEADER_FIELDS

+
+public static final String HEADER_FIELDS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+USE_EML

+
+public static final String USE_EML
+
+
+
See Also:
Constant Field Values
+
+
+ +

+EML_MESSAGE_TO_SEND

+
+public static final String EML_MESSAGE_TO_SEND
+
+
+
See Also:
Constant Field Values
+
+
+ +

+ENABLE_DEBUG

+
+public static final String ENABLE_DEBUG
+
+
+
See Also:
Constant Field Values
+
+
+ +

+FILENAME_SEPARATOR

+
+public static final String FILENAME_SEPARATOR
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+SmtpSampler

+
+public SmtpSampler()
+
+
+ + + + + + + + +
+Method Detail
+ +

+sample

+
+public SampleResult sample(Entry e)
+
+
Performs the sample, and returns the result +

+

+
Parameters:
e - Standard-method-header from JMeter +
Returns:
sampleresult Result of the sample
See Also:
Sampler.sample(org.apache.jmeter.samplers.Entry)
+
+
+
+ +

+applies

+
+public boolean applies(ConfigTestElement configElement)
+
+
Description copied from class: AbstractSampler
+
Does configElement apply to Sampler +

+

+
Specified by:
applies in interface ConfigMergabilityIndicator
Overrides:
applies in class AbstractSampler
+
+
+
Parameters:
configElement - ConfigTestElement +
Returns:
boolean
See Also:
AbstractSampler.applies(org.apache.jmeter.config.ConfigTestElement)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/smtp/sampler/gui/SecuritySettingsPanel.html b/docs/api/org/apache/jmeter/protocol/smtp/sampler/gui/SecuritySettingsPanel.html new file mode 100644 index 00000000000..2ab348816ae --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/smtp/sampler/gui/SecuritySettingsPanel.html @@ -0,0 +1,845 @@ + + + + + +SecuritySettingsPanel (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.smtp.sampler.gui +
+Class SecuritySettingsPanel

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.protocol.smtp.sampler.gui.SecuritySettingsPanel
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible
+
+
+
+
public class SecuritySettingsPanel
extends JPanel
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static StringENFORCE_STARTTLS + +
+           
+static StringSSL_TRUST_ALL_CERTS + +
+           
+static StringTRUSTSTORE_TO_USE + +
+           
+static StringUSE_LOCAL_TRUSTSTORE + +
+           
+static StringUSE_SSL + +
+           
+static StringUSE_STARTTLS + +
+           
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
SecuritySettingsPanel() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclear() + +
+           
+ voidconfigure(TestElement element) + +
+           
+ StringgetTrustStoreToUse() + +
+          Returns the path to the local (pre-installed) truststore to be used to + avoid SSL-connection-exceptions
+ voidinit() + +
+           
+ booleanisEnforceStartTLS() + +
+          Returns if StartTLS is enforced (normally, SMTP uses plain + SMTP-connection as fallback if "250-STARTTLS" isn't sent from the + mailserver) (checkbox)
+ booleanisTrustAllCerts() + +
+          Returns if all certificates are blindly trusted (using according + SocketFactory) (checkbox)
+ booleanisUseLocalTrustStore() + +
+          Returns if local (pre-installed) truststore is used to avoid + SSL-connection-exceptions (checkbox)
+ booleanisUseSSL() + +
+          Returns if SSL is used to secure the SMTP-connection (checkbox)
+ booleanisUseStartTLS() + +
+          Returns if StartTLS is used to secure the connection (checkbox)
+ voidmodifyTestElement(TestElement te) + +
+           
+ voidsetEnforceStartTLS(boolean enforceStartTLS) + +
+          Enforces StartTLS to secure the SMTP-connection (checkbox)
+ voidsetTrustAllCerts(boolean trustAllCerts) + +
+          Enforces JMeter to trust all certificates, no matter what CA is issuer + (checkbox)
+ voidsetTrustStoreToUse(String trustStoreToUse) + +
+          Set the path to local (pre-installed) truststore to be used to avoid + SSL-connection-exceptions
+ voidsetUseLocalTrustStore(boolean useLocalTrustStore) + +
+          Set the use of a local (pre-installed) truststore to avoid + SSL-connection-exceptions (checkbox)
+ voidsetUseNoSecurity(boolean selected) + +
+           
+ voidsetUseSSL(boolean useSSL) + +
+          Sets SSL to be used to secure the SMTP-connection (checkbox)
+ voidsetUseStartTLS(boolean useStartTLS) + +
+          Sets StartTLS to be used to secure the SMTP-connection (checkbox)
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+USE_SSL

+
+public static final String USE_SSL
+
+
+
See Also:
Constant Field Values
+
+
+ +

+USE_STARTTLS

+
+public static final String USE_STARTTLS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+SSL_TRUST_ALL_CERTS

+
+public static final String SSL_TRUST_ALL_CERTS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+ENFORCE_STARTTLS

+
+public static final String ENFORCE_STARTTLS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+USE_LOCAL_TRUSTSTORE

+
+public static final String USE_LOCAL_TRUSTSTORE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+TRUSTSTORE_TO_USE

+
+public static final String TRUSTSTORE_TO_USE
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+SecuritySettingsPanel

+
+public SecuritySettingsPanel()
+
+
+ + + + + + + + +
+Method Detail
+ +

+init

+
+public void init()
+
+
+
+
+
+
+ +

+isUseSSL

+
+public boolean isUseSSL()
+
+
Returns if SSL is used to secure the SMTP-connection (checkbox) +

+

+ +
Returns:
true if SSL is used to secure the SMTP-connection
+
+
+
+ +

+setUseSSL

+
+public void setUseSSL(boolean useSSL)
+
+
Sets SSL to be used to secure the SMTP-connection (checkbox) +

+

+
Parameters:
useSSL - Use SSL to secure the connection
+
+
+
+ +

+isUseStartTLS

+
+public boolean isUseStartTLS()
+
+
Returns if StartTLS is used to secure the connection (checkbox) +

+

+ +
Returns:
true if StartTLS is used to secure the connection
+
+
+
+ +

+setUseStartTLS

+
+public void setUseStartTLS(boolean useStartTLS)
+
+
Sets StartTLS to be used to secure the SMTP-connection (checkbox) +

+

+
Parameters:
useStartTLS - Use StartTLS to secure the connection
+
+
+
+ +

+isEnforceStartTLS

+
+public boolean isEnforceStartTLS()
+
+
Returns if StartTLS is enforced (normally, SMTP uses plain + SMTP-connection as fallback if "250-STARTTLS" isn't sent from the + mailserver) (checkbox) +

+

+ +
Returns:
true if StartTLS is enforced
+
+
+
+ +

+setEnforceStartTLS

+
+public void setEnforceStartTLS(boolean enforceStartTLS)
+
+
Enforces StartTLS to secure the SMTP-connection (checkbox) +

+

+
Parameters:
enforceStartTLS - Enforce the use of StartTLS to secure the connection
See Also:
isEnforceStartTLS()
+
+
+
+ +

+isUseLocalTrustStore

+
+public boolean isUseLocalTrustStore()
+
+
Returns if local (pre-installed) truststore is used to avoid + SSL-connection-exceptions (checkbox) +

+

+ +
Returns:
true if a local truststore is used
+
+
+
+ +

+setUseLocalTrustStore

+
+public void setUseLocalTrustStore(boolean useLocalTrustStore)
+
+
Set the use of a local (pre-installed) truststore to avoid + SSL-connection-exceptions (checkbox) +

+

+
Parameters:
useLocalTrustStore - Use local keystore
+
+
+
+ +

+getTrustStoreToUse

+
+public String getTrustStoreToUse()
+
+
Returns the path to the local (pre-installed) truststore to be used to + avoid SSL-connection-exceptions +

+

+ +
Returns:
Path to local truststore
+
+
+
+ +

+setTrustStoreToUse

+
+public void setTrustStoreToUse(String trustStoreToUse)
+
+
Set the path to local (pre-installed) truststore to be used to avoid + SSL-connection-exceptions +

+

+
Parameters:
trustStoreToUse - Path to local truststore
+
+
+
+ +

+setUseNoSecurity

+
+public void setUseNoSecurity(boolean selected)
+
+
+
+
+
+
+ +

+isTrustAllCerts

+
+public boolean isTrustAllCerts()
+
+
Returns if all certificates are blindly trusted (using according + SocketFactory) (checkbox) +

+

+ +
Returns:
true if all certificates are blindly trusted
+
+
+
+ +

+setTrustAllCerts

+
+public void setTrustAllCerts(boolean trustAllCerts)
+
+
Enforces JMeter to trust all certificates, no matter what CA is issuer + (checkbox) +

+

+
Parameters:
trustAllCerts - Trust all certificates
See Also:
isTrustAllCerts()
+
+
+
+ +

+clear

+
+public void clear()
+
+
+
+
+
+
+ +

+configure

+
+public void configure(TestElement element)
+
+
+
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement te)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/smtp/sampler/gui/SmtpPanel.html b/docs/api/org/apache/jmeter/protocol/smtp/sampler/gui/SmtpPanel.html new file mode 100644 index 00000000000..12ffe07e0d0 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/smtp/sampler/gui/SmtpPanel.html @@ -0,0 +1,1401 @@ + + + + + +SmtpPanel (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.smtp.sampler.gui +
+Class SmtpPanel

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.protocol.smtp.sampler.gui.SmtpPanel
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible
+
+
+
+
public class SmtpPanel
extends JPanel
+ + +

+Class to build gui-components for SMTP-sampler. Getter-methods serve the + input-data to the sampler-object, which provides them to the + SendMailCommand-object. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
SmtpPanel() + +
+          Creates new form SmtpPanel, standard constructer.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclear() + +
+          Reset all the Gui fields.
+ StringgetAttachments() + +
+          Returns path of file(s) to be attached in e-mail from textfield
+ StringgetBody() + +
+          Returns message body, i.e. main-mime-part of message (from textfield)
+ StringgetConnectionTimeout() + +
+          Returns connection timeout for SMTP connection from textfield
+ StringgetEmlMessage() + +
+          Returns path to eml message to be sent
+ CollectionPropertygetHeaderFields() + +
+           
+ StringgetMailFrom() + +
+          Returns sender-address for e-mail from textfield
+ StringgetMailReplyTo() + +
+           
+ StringgetPassword() + +
+           
+ StringgetPort() + +
+          Returns port of mail-server (standard 25 for SMTP/SMTP with StartTLS, 465 + for SSL) from textfield
+ StringgetReceiverBCC() + +
+          Returns receiver in field "bcc" from textfield
+ StringgetReceiverCC() + +
+          Returns receiver in field "cc" from textfield
+ StringgetReceiverTo() + +
+          Returns receiver in field "to" from textfield
+ SecuritySettingsPanelgetSecuritySettingsPanel() + +
+           
+ StringgetServer() + +
+          Returns mail-server to be used to send message (from textfield)
+ StringgetSubject() + +
+          Returns subject of the e-mail from textfield
+ StringgetTimeout() + +
+          Returns timeout for SMTP connection from textfield
+ StringgetUsername() + +
+           
+ booleanisEnableDebug() + +
+           
+ booleanisIncludeTimestamp() + +
+          Returns if current timestamp is included in the subject (checkbox)
+ booleanisMessageSizeStatistics() + +
+          Returns if message size statistics are processed.
+ booleanisPlainBody() + +
+          Returns true if message body should be plain (i.e. not multipart/mixed)
+ booleanisSuppressSubject() + +
+          Returns true if subject header should be suppressed
+ booleanisUseAuth() + +
+          Returns if mail-server needs authentication (checkbox)
+ booleanisUseEmlMessage() + +
+          Returns if an .eml-message is sent instead of the content of message-text + area
+ voidsetAttachments(String attachments) + +
+          Sets path of file to be attached in e-mail in textfield
+ voidsetBody(String messageBodyText) + +
+          Sets message body, i.e. main-mime-part of message in textfield
+ voidsetConnectionTimeout(String connectionTimeout) + +
+          Sets connection timeout (ms) for SMTP connection
+ voidsetEmlMessage(String emlMessage) + +
+          Set path to eml message to be sent
+ voidsetEnableDebug(boolean selected) + +
+           
+ voidsetHeaderFields(CollectionProperty fields) + +
+           
+ voidsetIncludeTimestamp(boolean includeTimestamp) + +
+          Set timestamp to be included in the message-subject (checkbox)
+ voidsetMailFrom(String mailFrom) + +
+          Sets sender-address of e-mail in textfield
+ voidsetMailReplyTo(String replyTo) + +
+           
+ voidsetMessageSizeStatistic(boolean val) + +
+          Set message size to be calculated and included in sample result + (checkbox)
+ voidsetPassword(String authPassword) + +
+           
+ voidsetPlainBody(boolean plainBody) + +
+          Sets the property that defines if the body should be plain (i.e. not multipart/mixed)
+ voidsetPort(String port) + +
+          Sets port of mail-server
+ voidsetReceiverBCC(String mailToBCC) + +
+          Sets receiver in textfield "bcc"
+ voidsetReceiverCC(String mailToCC) + +
+          Sets receiver in textfield "cc"
+ voidsetReceiverTo(String mailTo) + +
+          Sets receiver in textfield "to"
+ voidsetSecuritySettingsPanel(SecuritySettingsPanel securitySettingsPanel) + +
+           
+ voidsetServer(String server) + +
+          Sets mail-server to be used to send message in textfield
+ voidsetSubject(String subject) + +
+          Sets subject of the e-mail in textfield
+ voidsetSuppressSubject(boolean emptySubject) + +
+          Sets the property that defines if the subject header should be suppressed
+ voidsetTimeout(String timeout) + +
+          Sets timeout (ms) for SMTP connection
+ voidsetUseAuth(boolean selected) + +
+          Set whether mail server needs auth.
+ voidsetUseEmlMessage(boolean useEmlMessage) + +
+          Set the use of an .eml-message instead of the content of message-text + area
+ voidsetUsername(String username) + +
+           
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SmtpPanel

+
+public SmtpPanel()
+
+
Creates new form SmtpPanel, standard constructer. Calls + initComponents();. +

+

+ + + + + + + + +
+Method Detail
+ +

+getMailFrom

+
+public String getMailFrom()
+
+
Returns sender-address for e-mail from textfield +

+

+ +
Returns:
Sender
+
+
+
+ +

+getReceiverTo

+
+public String getReceiverTo()
+
+
Returns receiver in field "to" from textfield +

+

+ +
Returns:
Receiver "to"
+
+
+
+ +

+getReceiverCC

+
+public String getReceiverCC()
+
+
Returns receiver in field "cc" from textfield +

+

+ +
Returns:
Receiver "cc"
+
+
+
+ +

+getReceiverBCC

+
+public String getReceiverBCC()
+
+
Returns receiver in field "bcc" from textfield +

+

+ +
Returns:
Receiver "bcc"
+
+
+
+ +

+getBody

+
+public String getBody()
+
+
Returns message body, i.e. main-mime-part of message (from textfield) +

+

+ +
Returns:
Message body
+
+
+
+ +

+setBody

+
+public void setBody(String messageBodyText)
+
+
Sets message body, i.e. main-mime-part of message in textfield +

+

+
Parameters:
messageBodyText - Message body
+
+
+
+ +

+setMailFrom

+
+public void setMailFrom(String mailFrom)
+
+
Sets sender-address of e-mail in textfield +

+

+
Parameters:
mailFrom - Sender
+
+
+
+ +

+setReceiverTo

+
+public void setReceiverTo(String mailTo)
+
+
Sets receiver in textfield "to" +

+

+
Parameters:
mailTo - Receiver "to"
+
+
+
+ +

+setReceiverCC

+
+public void setReceiverCC(String mailToCC)
+
+
Sets receiver in textfield "cc" +

+

+
Parameters:
mailToCC - Receiver "cc"
+
+
+
+ +

+setReceiverBCC

+
+public void setReceiverBCC(String mailToBCC)
+
+
Sets receiver in textfield "bcc" +

+

+
Parameters:
mailToBCC - Receiver "bcc"
+
+
+
+ +

+getAttachments

+
+public String getAttachments()
+
+
Returns path of file(s) to be attached in e-mail from textfield +

+

+ +
Returns:
File to attach
+
+
+
+ +

+setAttachments

+
+public void setAttachments(String attachments)
+
+
Sets path of file to be attached in e-mail in textfield +

+

+
Parameters:
attachments - File to attach
+
+
+
+ +

+getPort

+
+public String getPort()
+
+
Returns port of mail-server (standard 25 for SMTP/SMTP with StartTLS, 465 + for SSL) from textfield +

+

+ +
Returns:
Mail-server port
+
+
+
+ +

+setPort

+
+public void setPort(String port)
+
+
Sets port of mail-server +

+

+
Parameters:
port - Mail-server port
+
+
+
+ +

+getServer

+
+public String getServer()
+
+
Returns mail-server to be used to send message (from textfield) +

+

+ +
Returns:
FQDN or IP of mail-server
+
+
+
+ +

+setServer

+
+public void setServer(String server)
+
+
Sets mail-server to be used to send message in textfield +

+

+
Parameters:
server - FQDN or IP of mail-server
+
+
+
+ +

+getTimeout

+
+public String getTimeout()
+
+
Returns timeout for SMTP connection from textfield +

+

+ +
Returns:
Smtp timeout
+
+
+
+ +

+setTimeout

+
+public void setTimeout(String timeout)
+
+
Sets timeout (ms) for SMTP connection +

+

+
Parameters:
timeout - SMTP Timeout (ms)
+
+
+
+ +

+getConnectionTimeout

+
+public String getConnectionTimeout()
+
+
Returns connection timeout for SMTP connection from textfield +

+

+ +
Returns:
SMTP connection timeout
+
+
+
+ +

+setConnectionTimeout

+
+public void setConnectionTimeout(String connectionTimeout)
+
+
Sets connection timeout (ms) for SMTP connection +

+

+
Parameters:
connectionTimeout - SMTP Connection Timeout (ms)
+
+
+
+ +

+getSubject

+
+public String getSubject()
+
+
Returns subject of the e-mail from textfield +

+

+ +
Returns:
Subject of e-mail
+
+
+
+ +

+setSubject

+
+public void setSubject(String subject)
+
+
Sets subject of the e-mail in textfield +

+

+
Parameters:
subject - Subject of e-mail
+
+
+
+ +

+isSuppressSubject

+
+public boolean isSuppressSubject()
+
+
Returns true if subject header should be suppressed +

+

+ +
Returns:
true if subject header should be suppressed
+
+
+
+ +

+setSuppressSubject

+
+public void setSuppressSubject(boolean emptySubject)
+
+
Sets the property that defines if the subject header should be suppressed +

+

+
Parameters:
emptySubject - flag whether subject header should be suppressed
+
+
+
+ +

+isPlainBody

+
+public boolean isPlainBody()
+
+
Returns true if message body should be plain (i.e. not multipart/mixed) +

+

+ +
Returns:
true if using plain message body (i.e. not multipart/mixed)
+
+
+
+ +

+setPlainBody

+
+public void setPlainBody(boolean plainBody)
+
+
Sets the property that defines if the body should be plain (i.e. not multipart/mixed) +

+

+
Parameters:
plainBody - whether to use a plain body (i.e. not multipart/mixed)
+
+
+
+ +

+isUseAuth

+
+public boolean isUseAuth()
+
+
Returns if mail-server needs authentication (checkbox) +

+

+ +
Returns:
true if authentication is used
+
+
+
+ +

+setUseAuth

+
+public void setUseAuth(boolean selected)
+
+
Set whether mail server needs auth. +

+

+
Parameters:
selected - flag whether mail server needs auth
+
+
+
+ +

+isEnableDebug

+
+public boolean isEnableDebug()
+
+
+
+
+
+
+ +

+setEnableDebug

+
+public void setEnableDebug(boolean selected)
+
+
+
+
+
+
+ +

+isUseEmlMessage

+
+public boolean isUseEmlMessage()
+
+
Returns if an .eml-message is sent instead of the content of message-text + area +

+

+ +
Returns:
true if .eml is sent, false if text area content is sent in + e-mail
+
+
+
+ +

+setUseEmlMessage

+
+public void setUseEmlMessage(boolean useEmlMessage)
+
+
Set the use of an .eml-message instead of the content of message-text + area +

+

+
Parameters:
useEmlMessage - Use eml message
+
+
+
+ +

+getEmlMessage

+
+public String getEmlMessage()
+
+
Returns path to eml message to be sent +

+

+ +
Returns:
path to eml message to be sent
+
+
+
+ +

+setEmlMessage

+
+public void setEmlMessage(String emlMessage)
+
+
Set path to eml message to be sent +

+

+
Parameters:
emlMessage - path to eml message to be sent
+
+
+
+ +

+isIncludeTimestamp

+
+public boolean isIncludeTimestamp()
+
+
Returns if current timestamp is included in the subject (checkbox) +

+

+ +
Returns:
true if current timestamp is included in subject
+
+
+
+ +

+setIncludeTimestamp

+
+public void setIncludeTimestamp(boolean includeTimestamp)
+
+
Set timestamp to be included in the message-subject (checkbox) +

+

+
Parameters:
includeTimestamp - Should timestamp be included in subject?
+
+
+
+ +

+isMessageSizeStatistics

+
+public boolean isMessageSizeStatistics()
+
+
Returns if message size statistics are processed. Output of processing + will be included in sample result. (checkbox) +

+

+ +
Returns:
True if message size will be calculated
+
+
+
+ +

+setMessageSizeStatistic

+
+public void setMessageSizeStatistic(boolean val)
+
+
Set message size to be calculated and included in sample result + (checkbox) +

+

+
Parameters:
val - Schould message size be calculated?
+
+
+
+ +

+getPassword

+
+public String getPassword()
+
+
+
+
+
+
+ +

+setPassword

+
+public void setPassword(String authPassword)
+
+
+
+
+
+
+ +

+getUsername

+
+public String getUsername()
+
+
+
+
+
+
+ +

+setUsername

+
+public void setUsername(String username)
+
+
+
+
+
+
+ +

+getHeaderFields

+
+public CollectionProperty getHeaderFields()
+
+
+
+
+
+
+ +

+setHeaderFields

+
+public void setHeaderFields(CollectionProperty fields)
+
+
+
+
+
+
+ +

+getMailReplyTo

+
+public String getMailReplyTo()
+
+
+
+
+
+
+ +

+setMailReplyTo

+
+public void setMailReplyTo(String replyTo)
+
+
+
+
+
+
+ +

+clear

+
+public void clear()
+
+
Reset all the Gui fields. +

+

+
+
+
+
+ +

+getSecuritySettingsPanel

+
+public SecuritySettingsPanel getSecuritySettingsPanel()
+
+
+
+
+
+
+ +

+setSecuritySettingsPanel

+
+public void setSecuritySettingsPanel(SecuritySettingsPanel securitySettingsPanel)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/smtp/sampler/gui/SmtpSamplerGui.html b/docs/api/org/apache/jmeter/protocol/smtp/sampler/gui/SmtpSamplerGui.html new file mode 100644 index 00000000000..69c2bac18ad --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/smtp/sampler/gui/SmtpSamplerGui.html @@ -0,0 +1,512 @@ + + + + + +SmtpSamplerGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.smtp.sampler.gui +
+Class SmtpSamplerGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.samplers.gui.AbstractSamplerGui
+                          extended by org.apache.jmeter.protocol.smtp.sampler.gui.SmtpSamplerGui
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
+
public class SmtpSamplerGui
extends AbstractSamplerGui
+ + +

+Class to build superstructure-gui for SMTP-panel, sets/gets value for a JMeter's testElement-object (i.e. also for save/load-purposes). + This class extends AbstractSamplerGui, therefor most implemented methods are defined by JMeter's structure. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
SmtpSamplerGui() + +
+          Creates new SmtpSamplerGui, standard constructer.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclearGui() + +
+          Provides a default implementation that resets the name field to the value of + getStaticLabel(), reset comment and sets enabled to true.
+ voidconfigure(TestElement element) + +
+          Copy the data from the test element to the GUI, method has to be implemented by interface
+ TestElementcreateTestElement() + +
+          Creates a new TestElement and set up its data
+ StringgetLabelResource() + +
+          Method to be implemented by interface, overwritten by getStaticLabel().
+ voidmodifyTestElement(TestElement te) + +
+          Modifies a given TestElement to mirror the data in the gui components
+ + + + + + + +
Methods inherited from class org.apache.jmeter.samplers.gui.AbstractSamplerGui
createPopupMenu, getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SmtpSamplerGui

+
+public SmtpSamplerGui()
+
+
Creates new SmtpSamplerGui, standard constructer. Calls init(); +

+

+ + + + + + + + +
+Method Detail
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Method to be implemented by interface, overwritten by getStaticLabel(). Method has to be implemented by interface +

+

+ +
Returns:
Null-String
See Also:
JMeterGUIComponent.getLabelResource()
+
+
+
+ +

+configure

+
+public void configure(TestElement element)
+
+
Copy the data from the test element to the GUI, method has to be implemented by interface +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class AbstractJMeterGuiComponent
+
+
+
Parameters:
element - Test-element to be used as data-input
See Also:
AbstractJMeterGuiComponent.configure(org.apache.jmeter.testelement.TestElement)
+
+
+
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
Creates a new TestElement and set up its data +

+

+ +
Returns:
Test-element for JMeter
See Also:
JMeterGUIComponent.createTestElement()
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement te)
+
+
Modifies a given TestElement to mirror the data in the gui components +

+

+
Parameters:
te - TestElement for JMeter
See Also:
JMeterGUIComponent.modifyTestElement(org.apache.jmeter.testelement.TestElement)
+
+
+
+ +

+clearGui

+
+public void clearGui()
+
+
Provides a default implementation that resets the name field to the value of + getStaticLabel(), reset comment and sets enabled to true. Your GUI may need more things + cleared, in which case you should override, clear the extra fields, and + still call super.clearGui(). +

+

+
Specified by:
clearGui in interface ClearGui
Overrides:
clearGui in class AbstractJMeterGuiComponent
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/smtp/sampler/gui/package-frame.html b/docs/api/org/apache/jmeter/protocol/smtp/sampler/gui/package-frame.html new file mode 100644 index 00000000000..20849ee8204 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/smtp/sampler/gui/package-frame.html @@ -0,0 +1,34 @@ + + + + + +org.apache.jmeter.protocol.smtp.sampler.gui (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.protocol.smtp.sampler.gui + + + + +
+Classes  + +
+SecuritySettingsPanel +
+SmtpPanel +
+SmtpSamplerGui
+ + + + diff --git a/docs/api/org/apache/jmeter/protocol/smtp/sampler/gui/package-summary.html b/docs/api/org/apache/jmeter/protocol/smtp/sampler/gui/package-summary.html new file mode 100644 index 00000000000..85d752e2d53 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/smtp/sampler/gui/package-summary.html @@ -0,0 +1,161 @@ + + + + + +org.apache.jmeter.protocol.smtp.sampler.gui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.protocol.smtp.sampler.gui +

+ + + + + + + + + + + + + + + + + +
+Class Summary
SecuritySettingsPanel 
SmtpPanelClass to build gui-components for SMTP-sampler.
SmtpSamplerGuiClass to build superstructure-gui for SMTP-panel, sets/gets value for a JMeter's testElement-object (i.e. also for save/load-purposes).
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/smtp/sampler/gui/package-tree.html b/docs/api/org/apache/jmeter/protocol/smtp/sampler/gui/package-tree.html new file mode 100644 index 00000000000..1ec7781c6b0 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/smtp/sampler/gui/package-tree.html @@ -0,0 +1,165 @@ + + + + + +org.apache.jmeter.protocol.smtp.sampler.gui Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.protocol.smtp.sampler.gui +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/smtp/sampler/package-frame.html b/docs/api/org/apache/jmeter/protocol/smtp/sampler/package-frame.html new file mode 100644 index 00000000000..cf3fd5f67f6 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/smtp/sampler/package-frame.html @@ -0,0 +1,30 @@ + + + + + +org.apache.jmeter.protocol.smtp.sampler (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.protocol.smtp.sampler + + + + +
+Classes  + +
+SmtpSampler
+ + + + diff --git a/docs/api/org/apache/jmeter/protocol/smtp/sampler/package-summary.html b/docs/api/org/apache/jmeter/protocol/smtp/sampler/package-summary.html new file mode 100644 index 00000000000..5bd417bc03a --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/smtp/sampler/package-summary.html @@ -0,0 +1,154 @@ + + + + + +org.apache.jmeter.protocol.smtp.sampler (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.protocol.smtp.sampler +

+ + + + + + + + + +
+Class Summary
SmtpSamplerSampler-Class for JMeter - builds, starts and interprets the results of the + sampler.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/smtp/sampler/package-tree.html b/docs/api/org/apache/jmeter/protocol/smtp/sampler/package-tree.html new file mode 100644 index 00000000000..bcf1a9c7961 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/smtp/sampler/package-tree.html @@ -0,0 +1,155 @@ + + + + + +org.apache.jmeter.protocol.smtp.sampler Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.protocol.smtp.sampler +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/smtp/sampler/protocol/LocalTrustStoreSSLSocketFactory.html b/docs/api/org/apache/jmeter/protocol/smtp/sampler/protocol/LocalTrustStoreSSLSocketFactory.html new file mode 100644 index 00000000000..6844aa0f164 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/smtp/sampler/protocol/LocalTrustStoreSSLSocketFactory.html @@ -0,0 +1,476 @@ + + + + + +LocalTrustStoreSSLSocketFactory (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.smtp.sampler.protocol +
+Class LocalTrustStoreSSLSocketFactory

+
+java.lang.Object
+  extended by javax.net.SocketFactory
+      extended by javax.net.ssl.SSLSocketFactory
+          extended by org.apache.jmeter.protocol.smtp.sampler.protocol.LocalTrustStoreSSLSocketFactory
+
+
+
+
public class LocalTrustStoreSSLSocketFactory
extends SSLSocketFactory
+ + +

+This class implements an SSLSocketFactory which supports a local truststore. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
LocalTrustStoreSSLSocketFactory(File truststore) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ SocketcreateSocket() + +
+          
+ SocketcreateSocket(InetAddress inaddr, + int i) + +
+          
+ SocketcreateSocket(InetAddress inaddr, + int i, + InetAddress inaddr1, + int j) + +
+          
+ SocketcreateSocket(Socket socket, + String s, + int i, + boolean flag) + +
+          
+ SocketcreateSocket(String s, + int i) + +
+          
+ SocketcreateSocket(String s, + int i, + InetAddress inaddr, + int j) + +
+          
+ String[]getDefaultCipherSuites() + +
+          
+ String[]getSupportedCipherSuites() + +
+          
+ + + + + + + +
Methods inherited from class javax.net.ssl.SSLSocketFactory
getDefault
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+LocalTrustStoreSSLSocketFactory

+
+public LocalTrustStoreSSLSocketFactory(File truststore)
+
+
+ + + + + + + + +
+Method Detail
+ +

+createSocket

+
+public Socket createSocket(Socket socket,
+                           String s,
+                           int i,
+                           boolean flag)
+                    throws IOException
+
+
+

+

+
Specified by:
createSocket in class SSLSocketFactory
+
+
+ +
Throws: +
IOException
+
+
+
+ +

+createSocket

+
+public Socket createSocket(InetAddress inaddr,
+                           int i,
+                           InetAddress inaddr1,
+                           int j)
+                    throws IOException
+
+
+

+

+
Specified by:
createSocket in class SocketFactory
+
+
+ +
Throws: +
IOException
+
+
+
+ +

+createSocket

+
+public Socket createSocket(InetAddress inaddr,
+                           int i)
+                    throws IOException
+
+
+

+

+
Specified by:
createSocket in class SocketFactory
+
+
+ +
Throws: +
IOException
+
+
+
+ +

+createSocket

+
+public Socket createSocket(String s,
+                           int i,
+                           InetAddress inaddr,
+                           int j)
+                    throws IOException
+
+
+

+

+
Specified by:
createSocket in class SocketFactory
+
+
+ +
Throws: +
IOException
+
+
+
+ +

+createSocket

+
+public Socket createSocket(String s,
+                           int i)
+                    throws IOException
+
+
+

+

+
Specified by:
createSocket in class SocketFactory
+
+
+ +
Throws: +
IOException
+
+
+
+ +

+createSocket

+
+public Socket createSocket()
+                    throws IOException
+
+
+

+

+
Overrides:
createSocket in class SocketFactory
+
+
+ +
Throws: +
IOException
+
+
+
+ +

+getDefaultCipherSuites

+
+public String[] getDefaultCipherSuites()
+
+
+

+

+
Specified by:
getDefaultCipherSuites in class SSLSocketFactory
+
+
+
+
+
+
+ +

+getSupportedCipherSuites

+
+public String[] getSupportedCipherSuites()
+
+
+

+

+
Specified by:
getSupportedCipherSuites in class SSLSocketFactory
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/smtp/sampler/protocol/SendMailCommand.html b/docs/api/org/apache/jmeter/protocol/smtp/sampler/protocol/SendMailCommand.html new file mode 100644 index 00000000000..4765ecf1dd3 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/smtp/sampler/protocol/SendMailCommand.html @@ -0,0 +1,1441 @@ + + + + + +SendMailCommand (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.smtp.sampler.protocol +
+Class SendMailCommand

+
+java.lang.Object
+  extended by org.apache.jmeter.protocol.smtp.sampler.protocol.SendMailCommand
+
+
+
+
public class SendMailCommand
extends Object
+ + +

+This class performs all tasks necessary to send a message (build message, + prepare connection, send message). Provides getter-/setter-methods for an + SmtpSampler-object to configure transport and message settings. The + send-mail-command itself is started by the SmtpSampler-object. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
SendMailCommand() + +
+          Standard-Constructor
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddAttachment(File attachment) + +
+          Adds an attachment to current message - to be called by + SmtpSampler-object
+ voidaddHeader(String headerName, + String headerValue) + +
+          Adds a header-part to current HashMap of headers - to be called by + SmtpSampler-object
+ voidclearAttachments() + +
+          Clear all attachments for current message
+ voidclearHeaders() + +
+          Deletes all current headers in HashMap
+ voidexecute() + +
+          Processes prepareMessage() and execute()
+ voidexecute(javax.mail.Message message) + +
+          Sends message to mailserver, waiting for delivery if using synchronous + mode.
+ List<File>getAttachments() + +
+          Returns all attachment for current message - standard getter
+ StringgetConnectionTimeout() + +
+          Returns connection timeout for the SMTP-connection - returns the + default connection timeout if no value has been supplied.
+ CollectionPropertygetHeaders() + +
+          Returns headers for current message - standard getter
+ StringgetPassword() + +
+          Returns password to authenticate at the mailserver - standard getter
+ List<javax.mail.internet.InternetAddress>getReceiverBCC() + +
+          Returns receivers of current message as InternetAddress ("bcc") - standard + getter
+ List<javax.mail.internet.InternetAddress>getReceiverCC() + +
+          Returns receivers of current message as InternetAddress ("cc") - standard + getter
+ StringgetSender() + +
+          Returns sender-address for current message - standard getter
+ StringgetServerResponse() + +
+           
+ StringgetSmtpPort() + +
+          Returns port to be used for SMTP-connection (standard 25 or 465) - + standard getter
+ StringgetSmtpServer() + +
+          Returns FQDN or IP of SMTP-server to be used to send message - standard + getter
+ StringgetSubject() + +
+          Returns subject for current message - standard getter
+ StringgetTimeout() + +
+          Returns timeout for the SMTP-connection - returns the + default timeout if no value has been supplied.
+ StringgetUsername() + +
+          Returns username to authenticate at the mailserver - standard getter
+ booleangetUseSSL() + +
+          Returns if SSL is used to send message - standard getter
+ booleangetUseStartTLS() + +
+          Returns if StartTLS is used to transmit message - standard getter
+ booleanisEnforceStartTLS() + +
+          Returns if StartTLS is enforced to secure the connection, i.e. no + fallback is used (plain SMTP) - standard getter
+ booleanisSynchronousMode() + +
+          Returns if synchronous-mode is used for current message (i.e. time for + delivery, ... is measured) - standard getter
+ booleanisTrustAllCerts() + +
+          Returns if sampler should trust all certificates - standard getter
+ booleanisUseAuthentication() + +
+          Returns if authentication is used to access the mailserver - standard + getter
+ javax.mail.MessageprepareMessage() + +
+          Prepares message prior to be sent via execute()-method, i.e. sets + properties such as protocol, authentication, etc.
+ voidsetAttachments(List<File> attachments) + +
+          Adds attachments to current message
+ voidsetConnectionTimeOut(String connectionTimeOut) + +
+           
+ voidsetEmlMessage(String emlMessage) + +
+          Sets eml-message to be sent
+ voidsetEnableDebug(boolean selected) + +
+           
+ voidsetEnforceStartTLS(boolean enforceStartTLS) + +
+          Instructs object to enforce StartTLS and not to fallback to plain + SMTP-connection - to be called by SmtpSampler-object
+ voidsetHeaderFields(CollectionProperty headerFields) + +
+          Sets headers for current message
+ voidsetMailBody(String body) + +
+          Set the mail body.
+ voidsetPassword(String password) + +
+          Sets password to authenticate at the mailserver - to be called by + SmtpSampler-object
+ voidsetPlainBody(boolean plainBody) + +
+          Set whether to send a plain body (i.e. not multipart/mixed)
+ voidsetReceiverBCC(List<javax.mail.internet.InternetAddress> receiverBCC) + +
+          Sets receivers of current message ("bcc") - to be called by + SmtpSampler-object
+ voidsetReceiverCC(List<javax.mail.internet.InternetAddress> receiverCC) + +
+          Sets receivers of current message ("cc") - to be called by + SmtpSampler-object
+ voidsetReceiverTo(List<javax.mail.internet.InternetAddress> receiverTo) + +
+          Sets receivers of current message ("to") - to be called by + SmtpSampler-object
+ voidsetReplyTo(List<javax.mail.internet.InternetAddress> replyTo) + +
+           
+ voidsetSender(String sender) + +
+          Sets the sender-address for the current message - to be called by + SmtpSampler-object
+ voidsetSmtpPort(String smtpPort) + +
+          Sets port to be used for SMTP-connection (standard 25 or 465) - to be + called by SmtpSampler-object
+ voidsetSmtpServer(String smtpServer) + +
+          Sets FQDN or IP of SMTP-server to be used to send message - to be called + by SmtpSampler-object
+ voidsetSubject(String subject) + +
+          Sets subject for current message - called by SmtpSampler-object
+ voidsetSynchronousMode(boolean synchronousMode) + +
+          Sets the use of synchronous-mode (i.e. time for delivery, ... is + measured) - to be called by SmtpSampler-object
+ voidsetTimeOut(String timeOut) + +
+           
+ voidsetTrustAllCerts(boolean trustAllCerts) + +
+          Determines if SMTP-sampler should trust all certificates, no matter what + CA - to be called by SmtpSampler-object
+ voidsetTrustStoreToUse(String trustStoreToUse) + +
+          Sets the path to the local truststore to be used for SSL / StartTLS - to + be called by SmtpSampler-object
+ voidsetUseAuthentication(boolean useAuthentication) + +
+          Sets if authentication should be used to access the mailserver - to be + called by SmtpSampler-object
+ voidsetUseEmlMessage(boolean sendEmlMessage) + +
+           
+ voidsetUseLocalTrustStore(boolean useLocalTrustStore) + +
+          Assigns the object to use a local truststore for SSL / StartTLS - to be + called by SmtpSampler-object
+ voidsetUsername(String username) + +
+          Sets username to authenticate at the mailserver - to be called by + SmtpSampler-object
+ voidsetUseSSL(boolean useSSL) + +
+          Sets SSL to secure the delivery channel for the message - to be called by + SmtpSampler-object
+ voidsetUseStartTLS(boolean useStartTLS) + +
+          Sets StartTLS to secure the delivery channel for the message - to be + called by SmtpSampler-object
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SendMailCommand

+
+public SendMailCommand()
+
+
Standard-Constructor +

+

+ + + + + + + + +
+Method Detail
+ +

+prepareMessage

+
+public javax.mail.Message prepareMessage()
+                                  throws javax.mail.MessagingException,
+                                         IOException
+
+
Prepares message prior to be sent via execute()-method, i.e. sets + properties such as protocol, authentication, etc. +

+

+ +
Returns:
Message-object to be sent to execute()-method +
Throws: +
javax.mail.MessagingException - when problems constructing or sending the mail occur +
IOException - when the mail content can not be read or truststore problems + are detected
+
+
+
+ +

+execute

+
+public void execute(javax.mail.Message message)
+             throws javax.mail.MessagingException,
+                    IOException,
+                    InterruptedException
+
+
Sends message to mailserver, waiting for delivery if using synchronous + mode. +

+

+
Parameters:
message - Message previously prepared by prepareMessage() +
Throws: +
javax.mail.MessagingException - when problems sending the mail arise +
IOException - TODO can not see how +
InterruptedException - when interrupted while waiting for delivery in synchronous + modus
+
+
+
+ +

+execute

+
+public void execute()
+             throws javax.mail.MessagingException,
+                    IOException,
+                    InterruptedException
+
+
Processes prepareMessage() and execute() +

+

+ +
Throws: +
InterruptedException - when interrupted while waiting for delivery in synchronous + modus +
IOException - when the mail content can not be read or truststore problems + are detected +
javax.mail.MessagingException - when problems constructing or sending the mail occur
+
+
+
+ +

+getSmtpServer

+
+public String getSmtpServer()
+
+
Returns FQDN or IP of SMTP-server to be used to send message - standard + getter +

+

+ +
Returns:
FQDN or IP of SMTP-server
+
+
+
+ +

+setSmtpServer

+
+public void setSmtpServer(String smtpServer)
+
+
Sets FQDN or IP of SMTP-server to be used to send message - to be called + by SmtpSampler-object +

+

+
Parameters:
smtpServer - FQDN or IP of SMTP-server
+
+
+
+ +

+getSender

+
+public String getSender()
+
+
Returns sender-address for current message - standard getter +

+

+ +
Returns:
sender-address
+
+
+
+ +

+setSender

+
+public void setSender(String sender)
+
+
Sets the sender-address for the current message - to be called by + SmtpSampler-object +

+

+
Parameters:
sender - Sender-address for current message
+
+
+
+ +

+getSubject

+
+public String getSubject()
+
+
Returns subject for current message - standard getter +

+

+ +
Returns:
Subject of current message
+
+
+
+ +

+setSubject

+
+public void setSubject(String subject)
+
+
Sets subject for current message - called by SmtpSampler-object +

+

+
Parameters:
subject - Subject for message of current message - may be null
+
+
+
+ +

+getUsername

+
+public String getUsername()
+
+
Returns username to authenticate at the mailserver - standard getter +

+

+ +
Returns:
Username for mailserver
+
+
+
+ +

+setUsername

+
+public void setUsername(String username)
+
+
Sets username to authenticate at the mailserver - to be called by + SmtpSampler-object +

+

+
Parameters:
username - Username for mailserver
+
+
+
+ +

+getPassword

+
+public String getPassword()
+
+
Returns password to authenticate at the mailserver - standard getter +

+

+ +
Returns:
Password for mailserver
+
+
+
+ +

+setPassword

+
+public void setPassword(String password)
+
+
Sets password to authenticate at the mailserver - to be called by + SmtpSampler-object +

+

+
Parameters:
password - Password for mailserver
+
+
+
+ +

+setReceiverTo

+
+public void setReceiverTo(List<javax.mail.internet.InternetAddress> receiverTo)
+
+
Sets receivers of current message ("to") - to be called by + SmtpSampler-object +

+

+
Parameters:
receiverTo - List of receivers
+
+
+
+ +

+getReceiverCC

+
+public List<javax.mail.internet.InternetAddress> getReceiverCC()
+
+
Returns receivers of current message as InternetAddress ("cc") - standard + getter +

+

+ +
Returns:
List of receivers
+
+
+
+ +

+setReceiverCC

+
+public void setReceiverCC(List<javax.mail.internet.InternetAddress> receiverCC)
+
+
Sets receivers of current message ("cc") - to be called by + SmtpSampler-object +

+

+
Parameters:
receiverCC - List of receivers
+
+
+
+ +

+getReceiverBCC

+
+public List<javax.mail.internet.InternetAddress> getReceiverBCC()
+
+
Returns receivers of current message as InternetAddress ("bcc") - standard + getter +

+

+ +
Returns:
List of receivers
+
+
+
+ +

+setReceiverBCC

+
+public void setReceiverBCC(List<javax.mail.internet.InternetAddress> receiverBCC)
+
+
Sets receivers of current message ("bcc") - to be called by + SmtpSampler-object +

+

+
Parameters:
receiverBCC - List of receivers
+
+
+
+ +

+isUseAuthentication

+
+public boolean isUseAuthentication()
+
+
Returns if authentication is used to access the mailserver - standard + getter +

+

+ +
Returns:
True if authentication is used to access mailserver
+
+
+
+ +

+setUseAuthentication

+
+public void setUseAuthentication(boolean useAuthentication)
+
+
Sets if authentication should be used to access the mailserver - to be + called by SmtpSampler-object +

+

+
Parameters:
useAuthentication - Should authentication be used to access mailserver?
+
+
+
+ +

+getUseSSL

+
+public boolean getUseSSL()
+
+
Returns if SSL is used to send message - standard getter +

+

+ +
Returns:
True if SSL is used to transmit message
+
+
+
+ +

+setUseSSL

+
+public void setUseSSL(boolean useSSL)
+
+
Sets SSL to secure the delivery channel for the message - to be called by + SmtpSampler-object +

+

+
Parameters:
useSSL - Should StartTLS be used to secure SMTP-connection?
+
+
+
+ +

+getUseStartTLS

+
+public boolean getUseStartTLS()
+
+
Returns if StartTLS is used to transmit message - standard getter +

+

+ +
Returns:
True if StartTLS is used to transmit message
+
+
+
+ +

+setUseStartTLS

+
+public void setUseStartTLS(boolean useStartTLS)
+
+
Sets StartTLS to secure the delivery channel for the message - to be + called by SmtpSampler-object +

+

+
Parameters:
useStartTLS - Should StartTLS be used to secure SMTP-connection?
+
+
+
+ +

+getSmtpPort

+
+public String getSmtpPort()
+
+
Returns port to be used for SMTP-connection (standard 25 or 465) - + standard getter +

+

+ +
Returns:
Port to be used for SMTP-connection
+
+
+
+ +

+setSmtpPort

+
+public void setSmtpPort(String smtpPort)
+
+
Sets port to be used for SMTP-connection (standard 25 or 465) - to be + called by SmtpSampler-object +

+

+
Parameters:
smtpPort - Port to be used for SMTP-connection
+
+
+
+ +

+isTrustAllCerts

+
+public boolean isTrustAllCerts()
+
+
Returns if sampler should trust all certificates - standard getter +

+

+ +
Returns:
True if all Certificates are trusted
+
+
+
+ +

+setTrustAllCerts

+
+public void setTrustAllCerts(boolean trustAllCerts)
+
+
Determines if SMTP-sampler should trust all certificates, no matter what + CA - to be called by SmtpSampler-object +

+

+
Parameters:
trustAllCerts - Should all certificates be trusted?
+
+
+
+ +

+setEnforceStartTLS

+
+public void setEnforceStartTLS(boolean enforceStartTLS)
+
+
Instructs object to enforce StartTLS and not to fallback to plain + SMTP-connection - to be called by SmtpSampler-object +

+

+
Parameters:
enforceStartTLS - Should StartTLS be enforced?
+
+
+
+ +

+isEnforceStartTLS

+
+public boolean isEnforceStartTLS()
+
+
Returns if StartTLS is enforced to secure the connection, i.e. no + fallback is used (plain SMTP) - standard getter +

+

+ +
Returns:
True if StartTLS is enforced
+
+
+
+ +

+getHeaders

+
+public CollectionProperty getHeaders()
+
+
Returns headers for current message - standard getter +

+

+ +
Returns:
CollectionProperty of headers for current message
+
+
+
+ +

+setHeaderFields

+
+public void setHeaderFields(CollectionProperty headerFields)
+
+
Sets headers for current message +

+

+
Parameters:
headerFields - CollectionProperty of headers for current message
+
+
+
+ +

+addHeader

+
+public void addHeader(String headerName,
+                      String headerValue)
+
+
Adds a header-part to current HashMap of headers - to be called by + SmtpSampler-object +

+

+
Parameters:
headerName - Key for current header
headerValue - Value for current header
+
+
+
+ +

+clearHeaders

+
+public void clearHeaders()
+
+
Deletes all current headers in HashMap +

+

+
+
+
+
+ +

+getAttachments

+
+public List<File> getAttachments()
+
+
Returns all attachment for current message - standard getter +

+

+ +
Returns:
List of attachments for current message
+
+
+
+ +

+setAttachments

+
+public void setAttachments(List<File> attachments)
+
+
Adds attachments to current message +

+

+
Parameters:
attachments - List of files to be added as attachments to current message
+
+
+
+ +

+addAttachment

+
+public void addAttachment(File attachment)
+
+
Adds an attachment to current message - to be called by + SmtpSampler-object +

+

+
Parameters:
attachment - File-object to be added as attachment to current message
+
+
+
+ +

+clearAttachments

+
+public void clearAttachments()
+
+
Clear all attachments for current message +

+

+
+
+
+
+ +

+isSynchronousMode

+
+public boolean isSynchronousMode()
+
+
Returns if synchronous-mode is used for current message (i.e. time for + delivery, ... is measured) - standard getter +

+

+ +
Returns:
True if synchronous-mode is used
+
+
+
+ +

+setSynchronousMode

+
+public void setSynchronousMode(boolean synchronousMode)
+
+
Sets the use of synchronous-mode (i.e. time for delivery, ... is + measured) - to be called by SmtpSampler-object +

+

+
Parameters:
synchronousMode - Should synchronous-mode be used?
+
+
+
+ +

+setTimeOut

+
+public void setTimeOut(String timeOut)
+
+
+
Parameters:
timeOut - the timeOut to set
+
+
+
+ +

+getTimeout

+
+public String getTimeout()
+
+
Returns timeout for the SMTP-connection - returns the + default timeout if no value has been supplied. +

+

+ +
Returns:
Timeout to be set for SMTP-connection
+
+
+
+ +

+setConnectionTimeOut

+
+public void setConnectionTimeOut(String connectionTimeOut)
+
+
+
Parameters:
connectionTimeOut - the connectionTimeOut to set
+
+
+
+ +

+getConnectionTimeout

+
+public String getConnectionTimeout()
+
+
Returns connection timeout for the SMTP-connection - returns the + default connection timeout if no value has been supplied. +

+

+ +
Returns:
Connection timeout to be set for SMTP-connection
+
+
+
+ +

+setUseLocalTrustStore

+
+public void setUseLocalTrustStore(boolean useLocalTrustStore)
+
+
Assigns the object to use a local truststore for SSL / StartTLS - to be + called by SmtpSampler-object +

+

+
Parameters:
useLocalTrustStore - Should a local truststore be used?
+
+
+
+ +

+setTrustStoreToUse

+
+public void setTrustStoreToUse(String trustStoreToUse)
+
+
Sets the path to the local truststore to be used for SSL / StartTLS - to + be called by SmtpSampler-object +

+

+
Parameters:
trustStoreToUse - Path to local truststore
+
+
+
+ +

+setUseEmlMessage

+
+public void setUseEmlMessage(boolean sendEmlMessage)
+
+
+
+
+
+
+ +

+setEmlMessage

+
+public void setEmlMessage(String emlMessage)
+
+
Sets eml-message to be sent +

+

+
Parameters:
emlMessage - path to eml-message
+
+
+
+ +

+setMailBody

+
+public void setMailBody(String body)
+
+
Set the mail body. +

+

+
Parameters:
body - the body of the mail
+
+
+
+ +

+setPlainBody

+
+public void setPlainBody(boolean plainBody)
+
+
Set whether to send a plain body (i.e. not multipart/mixed) +

+

+
Parameters:
plainBody - true if sending a plain body (i.e. not multipart/mixed)
+
+
+
+ +

+getServerResponse

+
+public String getServerResponse()
+
+
+
+
+
+
+ +

+setEnableDebug

+
+public void setEnableDebug(boolean selected)
+
+
+
+
+
+
+ +

+setReplyTo

+
+public void setReplyTo(List<javax.mail.internet.InternetAddress> replyTo)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/smtp/sampler/protocol/SynchronousTransportListener.html b/docs/api/org/apache/jmeter/protocol/smtp/sampler/protocol/SynchronousTransportListener.html new file mode 100644 index 00000000000..3d6740b8f48 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/smtp/sampler/protocol/SynchronousTransportListener.html @@ -0,0 +1,365 @@ + + + + + +SynchronousTransportListener (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.smtp.sampler.protocol +
+Class SynchronousTransportListener

+
+java.lang.Object
+  extended by javax.mail.event.TransportAdapter
+      extended by org.apache.jmeter.protocol.smtp.sampler.protocol.SynchronousTransportListener
+
+
+
All Implemented Interfaces:
EventListener, javax.mail.event.TransportListener
+
+
+
+
public class SynchronousTransportListener
extends javax.mail.event.TransportAdapter
+ + +

+This class implements a listener for SMTP events and a monitor for all + threads sending mail. The main purpose is to synchronize the send action with + the end of communication with remote smtp server, so that sending time can be + measured. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
SynchronousTransportListener() + +
+          Creates a new instance of SynchronousTransportListener
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidattend() + +
+          Synchronized-method + + Waits until finish() was called and thus the end of the mail + sending was signalled.
+ voidfinish() + +
+          Synchronized-method
+ voidmessageDelivered(javax.mail.event.TransportEvent e) + +
+          
+ voidmessageNotDelivered(javax.mail.event.TransportEvent e) + +
+          
+ voidmessagePartiallyDelivered(javax.mail.event.TransportEvent e) + +
+          
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SynchronousTransportListener

+
+public SynchronousTransportListener()
+
+
Creates a new instance of SynchronousTransportListener +

+

+ + + + + + + + +
+Method Detail
+ +

+messageDelivered

+
+public void messageDelivered(javax.mail.event.TransportEvent e)
+
+
+

+

+
Specified by:
messageDelivered in interface javax.mail.event.TransportListener
Overrides:
messageDelivered in class javax.mail.event.TransportAdapter
+
+
+
+
+
+
+ +

+messageNotDelivered

+
+public void messageNotDelivered(javax.mail.event.TransportEvent e)
+
+
+

+

+
Specified by:
messageNotDelivered in interface javax.mail.event.TransportListener
Overrides:
messageNotDelivered in class javax.mail.event.TransportAdapter
+
+
+
+
+
+
+ +

+messagePartiallyDelivered

+
+public void messagePartiallyDelivered(javax.mail.event.TransportEvent e)
+
+
+

+

+
Specified by:
messagePartiallyDelivered in interface javax.mail.event.TransportListener
Overrides:
messagePartiallyDelivered in class javax.mail.event.TransportAdapter
+
+
+
+
+
+
+ +

+attend

+
+public void attend()
+            throws InterruptedException
+
+
Synchronized-method +

+ Waits until finish() was called and thus the end of the mail + sending was signalled. +

+

+ +
Throws: +
InterruptedException - when interrupted while waiting with the lock
+
+
+
+ +

+finish

+
+public void finish()
+
+
Synchronized-method +

+

+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/smtp/sampler/protocol/TrustAllSSLSocketFactory.html b/docs/api/org/apache/jmeter/protocol/smtp/sampler/protocol/TrustAllSSLSocketFactory.html new file mode 100644 index 00000000000..9a5d82ed6ca --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/smtp/sampler/protocol/TrustAllSSLSocketFactory.html @@ -0,0 +1,492 @@ + + + + + +TrustAllSSLSocketFactory (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.smtp.sampler.protocol +
+Class TrustAllSSLSocketFactory

+
+java.lang.Object
+  extended by javax.net.SocketFactory
+      extended by javax.net.ssl.SSLSocketFactory
+          extended by org.apache.jmeter.protocol.smtp.sampler.protocol.TrustAllSSLSocketFactory
+
+
+
+
public class TrustAllSSLSocketFactory
extends SSLSocketFactory
+ + +

+This class can be used as a SocketFactory with SSL-connections. + Its purpose is to ensure that all certificates - no matter from which CA - are accepted to secure the SSL-connection. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
TrustAllSSLSocketFactory() + +
+          Standard constructor
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ SocketcreateSocket() + +
+          
+ SocketcreateSocket(InetAddress inaddr, + int i) + +
+          
+ SocketcreateSocket(InetAddress inaddr, + int i, + InetAddress inaddr1, + int j) + +
+          
+ SocketcreateSocket(Socket socket, + String s, + int i, + boolean flag) + +
+          
+ SocketcreateSocket(String s, + int i) + +
+          
+ SocketcreateSocket(String s, + int i, + InetAddress inaddr, + int j) + +
+          
+static SocketFactorygetDefault() + +
+          Factory method
+ String[]getDefaultCipherSuites() + +
+          
+ String[]getSupportedCipherSuites() + +
+          
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+TrustAllSSLSocketFactory

+
+public TrustAllSSLSocketFactory()
+
+
Standard constructor +

+

+ + + + + + + + +
+Method Detail
+ +

+getDefault

+
+public static SocketFactory getDefault()
+
+
Factory method +

+

+ +
Returns:
New TrustAllSSLSocketFactory
+
+
+
+ +

+createSocket

+
+public Socket createSocket(Socket socket,
+                           String s,
+                           int i,
+                           boolean flag)
+                    throws IOException
+
+
+

+

+
Specified by:
createSocket in class SSLSocketFactory
+
+
+ +
Throws: +
IOException
+
+
+
+ +

+createSocket

+
+public Socket createSocket(InetAddress inaddr,
+                           int i,
+                           InetAddress inaddr1,
+                           int j)
+                    throws IOException
+
+
+

+

+
Specified by:
createSocket in class SocketFactory
+
+
+ +
Throws: +
IOException
+
+
+
+ +

+createSocket

+
+public Socket createSocket(InetAddress inaddr,
+                           int i)
+                    throws IOException
+
+
+

+

+
Specified by:
createSocket in class SocketFactory
+
+
+ +
Throws: +
IOException
+
+
+
+ +

+createSocket

+
+public Socket createSocket(String s,
+                           int i,
+                           InetAddress inaddr,
+                           int j)
+                    throws IOException
+
+
+

+

+
Specified by:
createSocket in class SocketFactory
+
+
+ +
Throws: +
IOException
+
+
+
+ +

+createSocket

+
+public Socket createSocket(String s,
+                           int i)
+                    throws IOException
+
+
+

+

+
Specified by:
createSocket in class SocketFactory
+
+
+ +
Throws: +
IOException
+
+
+
+ +

+createSocket

+
+public Socket createSocket()
+                    throws IOException
+
+
+

+

+
Overrides:
createSocket in class SocketFactory
+
+
+ +
Throws: +
IOException
+
+
+
+ +

+getDefaultCipherSuites

+
+public String[] getDefaultCipherSuites()
+
+
+

+

+
Specified by:
getDefaultCipherSuites in class SSLSocketFactory
+
+
+
+
+
+
+ +

+getSupportedCipherSuites

+
+public String[] getSupportedCipherSuites()
+
+
+

+

+
Specified by:
getSupportedCipherSuites in class SSLSocketFactory
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/smtp/sampler/protocol/package-frame.html b/docs/api/org/apache/jmeter/protocol/smtp/sampler/protocol/package-frame.html new file mode 100644 index 00000000000..a7ae2f2d6a9 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/smtp/sampler/protocol/package-frame.html @@ -0,0 +1,36 @@ + + + + + +org.apache.jmeter.protocol.smtp.sampler.protocol (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.protocol.smtp.sampler.protocol + + + + +
+Classes  + +
+LocalTrustStoreSSLSocketFactory +
+SendMailCommand +
+SynchronousTransportListener +
+TrustAllSSLSocketFactory
+ + + + diff --git a/docs/api/org/apache/jmeter/protocol/smtp/sampler/protocol/package-summary.html b/docs/api/org/apache/jmeter/protocol/smtp/sampler/protocol/package-summary.html new file mode 100644 index 00000000000..fc799656d17 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/smtp/sampler/protocol/package-summary.html @@ -0,0 +1,167 @@ + + + + + +org.apache.jmeter.protocol.smtp.sampler.protocol (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.protocol.smtp.sampler.protocol +

+ + + + + + + + + + + + + + + + + + + + + +
+Class Summary
LocalTrustStoreSSLSocketFactoryThis class implements an SSLSocketFactory which supports a local truststore.
SendMailCommandThis class performs all tasks necessary to send a message (build message, + prepare connection, send message).
SynchronousTransportListenerThis class implements a listener for SMTP events and a monitor for all + threads sending mail.
TrustAllSSLSocketFactoryThis class can be used as a SocketFactory with SSL-connections.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/smtp/sampler/protocol/package-tree.html b/docs/api/org/apache/jmeter/protocol/smtp/sampler/protocol/package-tree.html new file mode 100644 index 00000000000..742ea962ac9 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/smtp/sampler/protocol/package-tree.html @@ -0,0 +1,156 @@ + + + + + +org.apache.jmeter.protocol.smtp.sampler.protocol Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.protocol.smtp.sampler.protocol +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/smtp/sampler/tools/CounterOutputStream.html b/docs/api/org/apache/jmeter/protocol/smtp/sampler/tools/CounterOutputStream.html new file mode 100644 index 00000000000..e0e05e6fca5 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/smtp/sampler/tools/CounterOutputStream.html @@ -0,0 +1,368 @@ + + + + + +CounterOutputStream (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.smtp.sampler.tools +
+Class CounterOutputStream

+
+java.lang.Object
+  extended by java.io.OutputStream
+      extended by org.apache.jmeter.protocol.smtp.sampler.tools.CounterOutputStream
+
+
+
All Implemented Interfaces:
Closeable, Flushable
+
+
+
+
public class CounterOutputStream
extends OutputStream
+ + +

+Utility-class to calculate message size. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
CounterOutputStream() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclose() + +
+          
+ voidflush() + +
+          
+ intgetCount() + +
+          Returns message size
+ voidwrite(byte[] b, + int off, + int len) + +
+          
+ voidwrite(int b) + +
+          
+ + + + + + + +
Methods inherited from class java.io.OutputStream
write
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+CounterOutputStream

+
+public CounterOutputStream()
+
+
+ + + + + + + + +
+Method Detail
+ +

+close

+
+public void close()
+
+
+

+

+
Specified by:
close in interface Closeable
Overrides:
close in class OutputStream
+
+
+
+
+
+
+ +

+flush

+
+public void flush()
+
+
+

+

+
Specified by:
flush in interface Flushable
Overrides:
flush in class OutputStream
+
+
+
+
+
+
+ +

+write

+
+public void write(byte[] b,
+                  int off,
+                  int len)
+
+
+

+

+
Overrides:
write in class OutputStream
+
+
+
+
+
+
+ +

+write

+
+public void write(int b)
+
+
+

+

+
Specified by:
write in class OutputStream
+
+
+
+
+
+
+ +

+getCount

+
+public int getCount()
+
+
Returns message size +

+

+ +
Returns:
Message size
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/smtp/sampler/tools/package-frame.html b/docs/api/org/apache/jmeter/protocol/smtp/sampler/tools/package-frame.html new file mode 100644 index 00000000000..c68a438428a --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/smtp/sampler/tools/package-frame.html @@ -0,0 +1,30 @@ + + + + + +org.apache.jmeter.protocol.smtp.sampler.tools (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.protocol.smtp.sampler.tools + + + + +
+Classes  + +
+CounterOutputStream
+ + + + diff --git a/docs/api/org/apache/jmeter/protocol/smtp/sampler/tools/package-summary.html b/docs/api/org/apache/jmeter/protocol/smtp/sampler/tools/package-summary.html new file mode 100644 index 00000000000..65c6e99ed10 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/smtp/sampler/tools/package-summary.html @@ -0,0 +1,153 @@ + + + + + +org.apache.jmeter.protocol.smtp.sampler.tools (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.protocol.smtp.sampler.tools +

+ + + + + + + + + +
+Class Summary
CounterOutputStreamUtility-class to calculate message size.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/smtp/sampler/tools/package-tree.html b/docs/api/org/apache/jmeter/protocol/smtp/sampler/tools/package-tree.html new file mode 100644 index 00000000000..1879693024e --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/smtp/sampler/tools/package-tree.html @@ -0,0 +1,152 @@ + + + + + +org.apache.jmeter.protocol.smtp.sampler.tools Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.protocol.smtp.sampler.tools +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/system/NativeCommand.html b/docs/api/org/apache/jmeter/protocol/system/NativeCommand.html new file mode 100644 index 00000000000..468132bb848 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/system/NativeCommand.html @@ -0,0 +1,286 @@ + + + + + +NativeCommand (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.system +
+Class NativeCommand

+
+java.lang.Object
+  extended by org.apache.jorphan.exec.SystemCommand
+      extended by org.apache.jmeter.protocol.system.NativeCommand
+
+
+Deprecated. (2.10) use SystemCommand instead +

+

+
@Deprecated
+public class NativeCommand
extends SystemCommand
+ + +

+Native Command +

+ +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jorphan.exec.SystemCommand
POLL_INTERVAL
+  + + + + + + + + + + + + + +
+Constructor Summary
NativeCommand(File directory, + Map<String,String> env) + +
+          Deprecated.  
NativeCommand(File directory, + Map<String,String> env, + String stdin, + String stdout, + String stderr) + +
+          Deprecated.  
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class org.apache.jorphan.exec.SystemCommand
getExecutionEnvironment, getOutResult, run, run
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+NativeCommand

+
+public NativeCommand(File directory,
+                     Map<String,String> env)
+
+
Deprecated. 
+
Parameters:
env - Environment variables appended to environment
directory - File working directory
+
+
+ +

+NativeCommand

+
+public NativeCommand(File directory,
+                     Map<String,String> env,
+                     String stdin,
+                     String stdout,
+                     String stderr)
+              throws IOException
+
+
Deprecated. 
+
Parameters:
env - Environment variables appended to environment
directory - File working directory
stdin - File name that will contain data to be input to process
stdout - File name that will contain out stream
stderr - File name that will contain err stream +
Throws: +
IOException - if any of the files are not accessible
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/system/SystemSampler.html b/docs/api/org/apache/jmeter/protocol/system/SystemSampler.html new file mode 100644 index 00000000000..75b7c7aae33 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/system/SystemSampler.html @@ -0,0 +1,863 @@ + + + + + +SystemSampler (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.system +
+Class SystemSampler

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.samplers.AbstractSampler
+          extended by org.apache.jmeter.protocol.system.SystemSampler
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, ConfigMergabilityIndicator, Searchable, Sampler, TestElement
+
+
+
+
public class SystemSampler
extends AbstractSampler
+ + +

+A sampler for executing a System function. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static StringARGUMENTS + +
+           
+static StringCHECK_RETURN_CODE + +
+           
+static StringCOMMAND + +
+           
+static intDEFAULT_RETURN_CODE + +
+           
+static StringDIRECTORY + +
+           
+static StringENVIRONMENT + +
+           
+static StringEXPECTED_RETURN_CODE + +
+           
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
SystemSampler() + +
+          Create a SystemSampler.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleanapplies(ConfigTestElement configElement) + +
+          Does configElement apply to Sampler
+ ArgumentsgetArguments() + +
+          Get the arguments (parameters) for the JavaSamplerClient to be executed + with.
+ booleangetCheckReturnCode() + +
+           
+ StringgetCommand() + +
+          Gets the Command attribute of the JavaConfig object
+ StringgetDirectory() + +
+           
+ ArgumentsgetEnvironmentVariables() + +
+          Get the env variables
+ intgetExpectedReturnCode() + +
+           
+ StringgetStderr() + +
+           
+ StringgetStdin() + +
+           
+ StringgetStdout() + +
+           
+ longgetTimeout() + +
+           
+ SampleResultsample(Entry entry) + +
+          Performs a test sample.
+ voidsetArguments(Arguments args) + +
+          Set the arguments (parameters) for the JavaSamplerClient to be executed + with.
+ voidsetCheckReturnCode(boolean checkit) + +
+           
+ voidsetCommand(String command) + +
+          Sets the Command attribute of the JavaConfig object
+ voidsetDirectory(String directory) + +
+          Set the working directory to use for system commands
+ voidsetEnvironmentVariables(Arguments arguments) + +
+           
+ voidsetExpectedReturnCode(int code) + +
+           
+ voidsetStderr(String filename) + +
+           
+ voidsetStdin(String filename) + +
+           
+ voidsetStdout(String filename) + +
+           
+ voidsetTimout(long timeoutMs) + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.testelement.TestElement
addTestElement, canRemove, clear, clearTestElementChildren, clone, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse
+  +

+ + + + + + + + +
+Field Detail
+ +

+COMMAND

+
+public static final String COMMAND
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DIRECTORY

+
+public static final String DIRECTORY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+ARGUMENTS

+
+public static final String ARGUMENTS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+ENVIRONMENT

+
+public static final String ENVIRONMENT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CHECK_RETURN_CODE

+
+public static final String CHECK_RETURN_CODE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+EXPECTED_RETURN_CODE

+
+public static final String EXPECTED_RETURN_CODE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DEFAULT_RETURN_CODE

+
+public static final int DEFAULT_RETURN_CODE
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+SystemSampler

+
+public SystemSampler()
+
+
Create a SystemSampler. +

+

+ + + + + + + + +
+Method Detail
+ +

+sample

+
+public SampleResult sample(Entry entry)
+
+
Performs a test sample. +

+

+
Parameters:
entry - the Entry for this sample +
Returns:
test SampleResult
+
+
+
+ +

+applies

+
+public boolean applies(ConfigTestElement configElement)
+
+
Description copied from class: AbstractSampler
+
Does configElement apply to Sampler +

+

+
Specified by:
applies in interface ConfigMergabilityIndicator
Overrides:
applies in class AbstractSampler
+
+
+
Parameters:
configElement - ConfigTestElement +
Returns:
boolean
See Also:
AbstractSampler.applies(org.apache.jmeter.config.ConfigTestElement)
+
+
+
+ +

+getDirectory

+
+public String getDirectory()
+
+
+ +
Returns:
working directory to use for system commands
+
+
+
+ +

+setDirectory

+
+public void setDirectory(String directory)
+
+
Set the working directory to use for system commands +

+

+
Parameters:
directory - working directory to use for system commands
+
+
+
+ +

+setCommand

+
+public void setCommand(String command)
+
+
Sets the Command attribute of the JavaConfig object +

+

+
Parameters:
command - the new Command value
+
+
+
+ +

+getCommand

+
+public String getCommand()
+
+
Gets the Command attribute of the JavaConfig object +

+

+ +
Returns:
the Command value
+
+
+
+ +

+setArguments

+
+public void setArguments(Arguments args)
+
+
Set the arguments (parameters) for the JavaSamplerClient to be executed + with. +

+

+
Parameters:
args - the new arguments. These replace any existing arguments.
+
+
+
+ +

+getArguments

+
+public Arguments getArguments()
+
+
Get the arguments (parameters) for the JavaSamplerClient to be executed + with. +

+

+ +
Returns:
the arguments
+
+
+
+ +

+setCheckReturnCode

+
+public void setCheckReturnCode(boolean checkit)
+
+
+
Parameters:
checkit - boolean indicates if we check or not return code
+
+
+
+ +

+getCheckReturnCode

+
+public boolean getCheckReturnCode()
+
+
+ +
Returns:
boolean indicating if we check or not return code
+
+
+
+ +

+setExpectedReturnCode

+
+public void setExpectedReturnCode(int code)
+
+
+
Parameters:
code - expected return code
+
+
+
+ +

+getExpectedReturnCode

+
+public int getExpectedReturnCode()
+
+
+ +
Returns:
expected return code
+
+
+
+ +

+setEnvironmentVariables

+
+public void setEnvironmentVariables(Arguments arguments)
+
+
+
Parameters:
arguments - Env vars
+
+
+
+ +

+getEnvironmentVariables

+
+public Arguments getEnvironmentVariables()
+
+
Get the env variables +

+

+ +
Returns:
the arguments
+
+
+
+ +

+getStdout

+
+public String getStdout()
+
+
+
+
+
+
+ +

+setStdout

+
+public void setStdout(String filename)
+
+
+
+
+
+
+ +

+getStderr

+
+public String getStderr()
+
+
+
+
+
+
+ +

+setStderr

+
+public void setStderr(String filename)
+
+
+
+
+
+
+ +

+getStdin

+
+public String getStdin()
+
+
+
+
+
+
+ +

+setStdin

+
+public void setStdin(String filename)
+
+
+
+
+
+
+ +

+getTimeout

+
+public long getTimeout()
+
+
+
+
+
+
+ +

+setTimout

+
+public void setTimout(long timeoutMs)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/system/gui/SystemSamplerGui.html b/docs/api/org/apache/jmeter/protocol/system/gui/SystemSamplerGui.html new file mode 100644 index 00000000000..4b1266faf58 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/system/gui/SystemSamplerGui.html @@ -0,0 +1,609 @@ + + + + + +SystemSamplerGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.system.gui +
+Class SystemSamplerGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.samplers.gui.AbstractSamplerGui
+                          extended by org.apache.jmeter.protocol.system.gui.SystemSamplerGui
+
+
+
All Implemented Interfaces:
ItemListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
+
public class SystemSamplerGui
extends AbstractSamplerGui
implements ItemListener
+ + +

+GUI for SystemSampler +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
SystemSamplerGui() + +
+          Constructor for JavaTestSamplerGui
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclearGui() + +
+          Provides a default implementation that resets the name field to the value of + getStaticLabel(), reset comment and sets enabled to true.
+ voidconfigure(TestElement el) + +
+          A newly created gui component can be initialized with the contents of a + Test Element object by calling this method.
+ TestElementcreateTestElement() + +
+          JMeter test components are separated into a model and a GUI + representation.
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ StringgetStaticLabel() + +
+          Get the component's label.
+ voiditemStateChanged(ItemEvent e) + +
+           
+ voidmodifyTestElement(TestElement sampler) + +
+          GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.samplers.gui.AbstractSamplerGui
createPopupMenu, getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SystemSamplerGui

+
+public SystemSamplerGui()
+
+
Constructor for JavaTestSamplerGui +

+

+ + + + + + + + +
+Method Detail
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+
Specified by:
getLabelResource in interface JMeterGUIComponent
+
+
+ +
Returns:
the resource name
+
+
+
+ +

+getStaticLabel

+
+public String getStaticLabel()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's label. This label is used in drop down lists that + give the user the option of choosing one type of component in a list of + many. It should therefore be a descriptive name for the end user to see. + It must be unique to the class. + + It is also used by Help to find the appropriate location in the + documentation. + + Normally getLabelResource() should be overridden instead of + this method; the definition of this method in AbstractJMeterGuiComponent + is intended for general use. +

+

+
Specified by:
getStaticLabel in interface JMeterGUIComponent
Overrides:
getStaticLabel in class AbstractJMeterGuiComponent
+
+
+ +
Returns:
GUI label for the component.
See Also:
JMeterGUIComponent.getLabelResource()
+
+
+
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
Description copied from interface: JMeterGUIComponent
+
JMeter test components are separated into a model and a GUI + representation. The model holds the data and the GUI displays it. The GUI + class is responsible for knowing how to create and initialize with data + the model class that it knows how to display, and this method is called + when new test elements are created. +

+

+
Specified by:
createTestElement in interface JMeterGUIComponent
+
+
+ +
Returns:
the Test Element object that the GUI component represents.
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement sampler)
+
+
Description copied from interface: JMeterGUIComponent
+
GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components. This method should + overwrite whatever data is currently in the TestElement as it is called + after a user has filled out the form elements in the gui with new + information. +

+

+
Specified by:
modifyTestElement in interface JMeterGUIComponent
+
+
+
Parameters:
sampler - the TestElement to modify
+
+
+
+ +

+configure

+
+public void configure(TestElement el)
+
+
Description copied from class: AbstractJMeterGuiComponent
+
A newly created gui component can be initialized with the contents of a + Test Element object by calling this method. The component is responsible + for querying the Test Element object for the relevant information to + display in its GUI. +

+ AbstractJMeterGuiComponent provides a partial implementation of this + method, setting the name of the component and its enabled status. + Subclasses should override this method, performing their own + configuration as needed, but also calling this super-implementation. +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class AbstractJMeterGuiComponent
+
+
+
Parameters:
el - the TestElement to configure
+
+
+
+ +

+clearGui

+
+public void clearGui()
+
+
Description copied from class: AbstractJMeterGuiComponent
+
Provides a default implementation that resets the name field to the value of + getStaticLabel(), reset comment and sets enabled to true. Your GUI may need more things + cleared, in which case you should override, clear the extra fields, and + still call super.clearGui(). +

+

+
Specified by:
clearGui in interface ClearGui
Overrides:
clearGui in class AbstractJMeterGuiComponent
+
+
+
See Also:
AbstractJMeterGuiComponent.clearGui()
+
+
+
+ +

+itemStateChanged

+
+public void itemStateChanged(ItemEvent e)
+
+
+
Specified by:
itemStateChanged in interface ItemListener
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/system/gui/package-frame.html b/docs/api/org/apache/jmeter/protocol/system/gui/package-frame.html new file mode 100644 index 00000000000..0d67099d4da --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/system/gui/package-frame.html @@ -0,0 +1,30 @@ + + + + + +org.apache.jmeter.protocol.system.gui (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.protocol.system.gui + + + + +
+Classes  + +
+SystemSamplerGui
+ + + + diff --git a/docs/api/org/apache/jmeter/protocol/system/gui/package-summary.html b/docs/api/org/apache/jmeter/protocol/system/gui/package-summary.html new file mode 100644 index 00000000000..00a6a6b5ff2 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/system/gui/package-summary.html @@ -0,0 +1,153 @@ + + + + + +org.apache.jmeter.protocol.system.gui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.protocol.system.gui +

+ + + + + + + + + +
+Class Summary
SystemSamplerGuiGUI for SystemSampler
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/system/gui/package-tree.html b/docs/api/org/apache/jmeter/protocol/system/gui/package-tree.html new file mode 100644 index 00000000000..3422ca312b6 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/system/gui/package-tree.html @@ -0,0 +1,166 @@ + + + + + +org.apache.jmeter.protocol.system.gui Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.protocol.system.gui +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/system/package-frame.html b/docs/api/org/apache/jmeter/protocol/system/package-frame.html new file mode 100644 index 00000000000..1698c541432 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/system/package-frame.html @@ -0,0 +1,32 @@ + + + + + +org.apache.jmeter.protocol.system (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.protocol.system + + + + +
+Classes  + +
+NativeCommand +
+SystemSampler
+ + + + diff --git a/docs/api/org/apache/jmeter/protocol/system/package-summary.html b/docs/api/org/apache/jmeter/protocol/system/package-summary.html new file mode 100644 index 00000000000..505f59fc9fb --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/system/package-summary.html @@ -0,0 +1,157 @@ + + + + + +org.apache.jmeter.protocol.system (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.protocol.system +

+ + + + + + + + + + + + + +
+Class Summary
NativeCommandDeprecated. (2.10) use SystemCommand instead
SystemSamplerA sampler for executing a System function.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/system/package-tree.html b/docs/api/org/apache/jmeter/protocol/system/package-tree.html new file mode 100644 index 00000000000..d611fa761b4 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/system/package-tree.html @@ -0,0 +1,157 @@ + + + + + +org.apache.jmeter.protocol.system Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.protocol.system +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/tcp/config/gui/TCPConfigGui.html b/docs/api/org/apache/jmeter/protocol/tcp/config/gui/TCPConfigGui.html new file mode 100644 index 00000000000..f5111e7b717 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/tcp/config/gui/TCPConfigGui.html @@ -0,0 +1,539 @@ + + + + + +TCPConfigGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.tcp.config.gui +
+Class TCPConfigGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.config.gui.AbstractConfigGui
+                          extended by org.apache.jmeter.protocol.tcp.config.gui.TCPConfigGui
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
+
public class TCPConfigGui
extends AbstractConfigGui
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + + + + +
+Constructor Summary
TCPConfigGui() + +
+           
TCPConfigGui(boolean displayName) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclearGui() + +
+          Implements JMeterGUIComponent.clearGui
+ voidconfigure(TestElement element) + +
+          A newly created gui component can be initialized with the contents of a + Test Element object by calling this method.
+ TestElementcreateTestElement() + +
+          JMeter test components are separated into a model and a GUI + representation.
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ voidmodifyTestElement(TestElement element) + +
+          Modifies a given TestElement to mirror the data in the gui components.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.config.gui.AbstractConfigGui
createPopupMenu, getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+TCPConfigGui

+
+public TCPConfigGui()
+
+
+
+ +

+TCPConfigGui

+
+public TCPConfigGui(boolean displayName)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+ +
Returns:
the resource name
+
+
+
+ +

+configure

+
+public void configure(TestElement element)
+
+
Description copied from class: AbstractJMeterGuiComponent
+
A newly created gui component can be initialized with the contents of a + Test Element object by calling this method. The component is responsible + for querying the Test Element object for the relevant information to + display in its GUI. +

+ AbstractJMeterGuiComponent provides a partial implementation of this + method, setting the name of the component and its enabled status. + Subclasses should override this method, performing their own + configuration as needed, but also calling this super-implementation. +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class AbstractJMeterGuiComponent
+
+
+
Parameters:
element - the TestElement to configure
+
+
+
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
Description copied from interface: JMeterGUIComponent
+
JMeter test components are separated into a model and a GUI + representation. The model holds the data and the GUI displays it. The GUI + class is responsible for knowing how to create and initialize with data + the model class that it knows how to display, and this method is called + when new test elements are created. +

+

+ +
Returns:
the Test Element object that the GUI component represents.
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement element)
+
+
Modifies a given TestElement to mirror the data in the gui components. +

+

+
Parameters:
element - the TestElement to modify
See Also:
JMeterGUIComponent.modifyTestElement(TestElement)
+
+
+
+ +

+clearGui

+
+public void clearGui()
+
+
Implements JMeterGUIComponent.clearGui +

+

+
Specified by:
clearGui in interface ClearGui
Overrides:
clearGui in class AbstractJMeterGuiComponent
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/tcp/config/gui/package-frame.html b/docs/api/org/apache/jmeter/protocol/tcp/config/gui/package-frame.html new file mode 100644 index 00000000000..095d7a038b1 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/tcp/config/gui/package-frame.html @@ -0,0 +1,30 @@ + + + + + +org.apache.jmeter.protocol.tcp.config.gui (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.protocol.tcp.config.gui + + + + +
+Classes  + +
+TCPConfigGui
+ + + + diff --git a/docs/api/org/apache/jmeter/protocol/tcp/config/gui/package-summary.html b/docs/api/org/apache/jmeter/protocol/tcp/config/gui/package-summary.html new file mode 100644 index 00000000000..2a6e02b2b04 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/tcp/config/gui/package-summary.html @@ -0,0 +1,153 @@ + + + + + +org.apache.jmeter.protocol.tcp.config.gui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.protocol.tcp.config.gui +

+ + + + + + + + + +
+Class Summary
TCPConfigGui 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/tcp/config/gui/package-tree.html b/docs/api/org/apache/jmeter/protocol/tcp/config/gui/package-tree.html new file mode 100644 index 00000000000..bf2dc7f60f3 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/tcp/config/gui/package-tree.html @@ -0,0 +1,165 @@ + + + + + +org.apache.jmeter.protocol.tcp.config.gui Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.protocol.tcp.config.gui +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/tcp/control/gui/TCPSamplerGui.html b/docs/api/org/apache/jmeter/protocol/tcp/control/gui/TCPSamplerGui.html new file mode 100644 index 00000000000..f187649ad70 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/tcp/control/gui/TCPSamplerGui.html @@ -0,0 +1,525 @@ + + + + + +TCPSamplerGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.tcp.control.gui +
+Class TCPSamplerGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.samplers.gui.AbstractSamplerGui
+                          extended by org.apache.jmeter.protocol.tcp.control.gui.TCPSamplerGui
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
+
public class TCPSamplerGui
extends AbstractSamplerGui
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
TCPSamplerGui() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclearGui() + +
+          Implements JMeterGUIComponent.clearGui
+ voidconfigure(TestElement element) + +
+          A newly created gui component can be initialized with the contents of a + Test Element object by calling this method.
+ TestElementcreateTestElement() + +
+          JMeter test components are separated into a model and a GUI + representation.
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ voidmodifyTestElement(TestElement sampler) + +
+          Modifies a given TestElement to mirror the data in the gui components.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.samplers.gui.AbstractSamplerGui
createPopupMenu, getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+TCPSamplerGui

+
+public TCPSamplerGui()
+
+
+ + + + + + + + +
+Method Detail
+ +

+configure

+
+public void configure(TestElement element)
+
+
Description copied from class: AbstractJMeterGuiComponent
+
A newly created gui component can be initialized with the contents of a + Test Element object by calling this method. The component is responsible + for querying the Test Element object for the relevant information to + display in its GUI. +

+ AbstractJMeterGuiComponent provides a partial implementation of this + method, setting the name of the component and its enabled status. + Subclasses should override this method, performing their own + configuration as needed, but also calling this super-implementation. +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class AbstractJMeterGuiComponent
+
+
+
Parameters:
element - the TestElement to configure
+
+
+
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
Description copied from interface: JMeterGUIComponent
+
JMeter test components are separated into a model and a GUI + representation. The model holds the data and the GUI displays it. The GUI + class is responsible for knowing how to create and initialize with data + the model class that it knows how to display, and this method is called + when new test elements are created. +

+

+ +
Returns:
the Test Element object that the GUI component represents.
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement sampler)
+
+
Modifies a given TestElement to mirror the data in the gui components. +

+

+
Parameters:
sampler - the TestElement to modify
See Also:
JMeterGUIComponent.modifyTestElement(TestElement)
+
+
+
+ +

+clearGui

+
+public void clearGui()
+
+
Implements JMeterGUIComponent.clearGui +

+

+
Specified by:
clearGui in interface ClearGui
Overrides:
clearGui in class AbstractJMeterGuiComponent
+
+
+
+
+
+
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+ +
Returns:
the resource name
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/tcp/control/gui/package-frame.html b/docs/api/org/apache/jmeter/protocol/tcp/control/gui/package-frame.html new file mode 100644 index 00000000000..d0ea4f8d2c7 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/tcp/control/gui/package-frame.html @@ -0,0 +1,30 @@ + + + + + +org.apache.jmeter.protocol.tcp.control.gui (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.protocol.tcp.control.gui + + + + +
+Classes  + +
+TCPSamplerGui
+ + + + diff --git a/docs/api/org/apache/jmeter/protocol/tcp/control/gui/package-summary.html b/docs/api/org/apache/jmeter/protocol/tcp/control/gui/package-summary.html new file mode 100644 index 00000000000..ab7c5c2f822 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/tcp/control/gui/package-summary.html @@ -0,0 +1,153 @@ + + + + + +org.apache.jmeter.protocol.tcp.control.gui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.protocol.tcp.control.gui +

+ + + + + + + + + +
+Class Summary
TCPSamplerGui 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/tcp/control/gui/package-tree.html b/docs/api/org/apache/jmeter/protocol/tcp/control/gui/package-tree.html new file mode 100644 index 00000000000..6f54cc13f1b --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/tcp/control/gui/package-tree.html @@ -0,0 +1,165 @@ + + + + + +org.apache.jmeter.protocol.tcp.control.gui Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.protocol.tcp.control.gui +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/tcp/sampler/AbstractTCPClient.html b/docs/api/org/apache/jmeter/protocol/tcp/sampler/AbstractTCPClient.html new file mode 100644 index 00000000000..f05f22b17e4 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/tcp/sampler/AbstractTCPClient.html @@ -0,0 +1,448 @@ + + + + + +AbstractTCPClient (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.tcp.sampler +
+Class AbstractTCPClient

+
+java.lang.Object
+  extended by org.apache.jmeter.protocol.tcp.sampler.AbstractTCPClient
+
+
+
All Implemented Interfaces:
TCPClient
+
+
+
Direct Known Subclasses:
BinaryTCPClientImpl, TCPClientDecorator, TCPClientImpl
+
+
+
+
public abstract class AbstractTCPClient
extends Object
implements TCPClient
+ + +

+Basic implementation of TCPClient interface. +

+ +

+


+ +

+ + + + + + + + + + + + + + + +
+Field Summary
+protected  byteeolByte + +
+           
+protected  booleanuseEolByte + +
+           
+  + + + + + + + + + + +
+Constructor Summary
AbstractTCPClient() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetCharset() + +
+          Get the charset.
+ bytegetEolByte() + +
+          Get the end-of-line/end-of-message byte.
+ voidsetCharset(String charset) + +
+           
+ voidsetEolByte(int eolInt) + +
+          Set the end-of-line/end-of-message byte.
+ voidsetupTest() + +
+          Versions of JMeter after 2.3.2 invoke this method when the thread starts.
+ voidteardownTest() + +
+          Versions of JMeter after 2.3.2 invoke this method when the thread ends.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.protocol.tcp.sampler.TCPClient
read, write, write
+  +

+ + + + + + + + +
+Field Detail
+ +

+eolByte

+
+protected byte eolByte
+
+
+
+
+
+ +

+useEolByte

+
+protected boolean useEolByte
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+AbstractTCPClient

+
+public AbstractTCPClient()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getEolByte

+
+public byte getEolByte()
+
+
Get the end-of-line/end-of-message byte. +

+

+
Specified by:
getEolByte in interface TCPClient
+
+
+ +
Returns:
Returns the eolByte.
+
+
+
+ +

+setEolByte

+
+public void setEolByte(int eolInt)
+
+
Set the end-of-line/end-of-message byte. + If the value is out of range of a byte, then it is to be ignored. +

+

+
Specified by:
setEolByte in interface TCPClient
+
+
+
Parameters:
eolInt - The value to set
+
+
+
+ +

+setupTest

+
+public void setupTest()
+
+
Versions of JMeter after 2.3.2 invoke this method when the thread starts. +

+

+
Specified by:
setupTest in interface TCPClient
+
+
+
+
+
+
+ +

+teardownTest

+
+public void teardownTest()
+
+
Versions of JMeter after 2.3.2 invoke this method when the thread ends. +

+

+
Specified by:
teardownTest in interface TCPClient
+
+
+
+
+
+
+ +

+getCharset

+
+public String getCharset()
+
+
Description copied from interface: TCPClient
+
Get the charset. +

+

+
Specified by:
getCharset in interface TCPClient
+
+
+ +
Returns:
the charset
+
+
+
+ +

+setCharset

+
+public void setCharset(String charset)
+
+
+
+
+
+
Parameters:
charset - the charset to set
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/tcp/sampler/BinaryTCPClientImpl.html b/docs/api/org/apache/jmeter/protocol/tcp/sampler/BinaryTCPClientImpl.html new file mode 100644 index 00000000000..1f8aa1922ea --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/tcp/sampler/BinaryTCPClientImpl.html @@ -0,0 +1,374 @@ + + + + + +BinaryTCPClientImpl (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.tcp.sampler +
+Class BinaryTCPClientImpl

+
+java.lang.Object
+  extended by org.apache.jmeter.protocol.tcp.sampler.AbstractTCPClient
+      extended by org.apache.jmeter.protocol.tcp.sampler.BinaryTCPClientImpl
+
+
+
All Implemented Interfaces:
TCPClient
+
+
+
+
public class BinaryTCPClientImpl
extends AbstractTCPClient
+ + +

+TCPClient implementation. + Reads data until the defined EOM byte is reached. + If there is no EOM byte defined, then reads until + the end of the stream is reached. + The EOM byte is defined by the property "tcp.BinaryTCPClient.eomByte". + + Input data is assumed to be in hex, and is converted to binary +

+ +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.protocol.tcp.sampler.AbstractTCPClient
eolByte, useEolByte
+  + + + + + + + + + + +
+Constructor Summary
BinaryTCPClientImpl() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static byte[]hexStringToByteArray(String hexEncodedBinary) + +
+          Convert hex string to binary byte array.
+ Stringread(InputStream is) + +
+          Reads data until the defined EOM byte is reached.
+ voidwrite(OutputStream os, + InputStream is) + +
+          
+ voidwrite(OutputStream os, + String hexEncodedBinary) + +
+          Input (hex) string is converted to binary and written to the output stream.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.protocol.tcp.sampler.AbstractTCPClient
getCharset, getEolByte, setCharset, setEolByte, setupTest, teardownTest
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+BinaryTCPClientImpl

+
+public BinaryTCPClientImpl()
+
+
+ + + + + + + + +
+Method Detail
+ +

+hexStringToByteArray

+
+public static final byte[] hexStringToByteArray(String hexEncodedBinary)
+
+
Convert hex string to binary byte array. +

+

+
Parameters:
hexEncodedBinary - - hex-encoded binary string +
Returns:
Byte array containing binary representation of input hex-encoded string +
Throws: +
IllegalArgumentException - if string is not an even number of hex digits
+
+
+
+ +

+write

+
+public void write(OutputStream os,
+                  String hexEncodedBinary)
+           throws IOException
+
+
Input (hex) string is converted to binary and written to the output stream. +

+

+
Parameters:
os - output stream
hexEncodedBinary - hex-encoded binary +
Throws: +
IOException - when writing fails
+
+
+
+ +

+write

+
+public void write(OutputStream os,
+                  InputStream is)
+
+
+

+

+
Parameters:
os - - + OutputStream for socket
is - - + InputStream to be written to Socket
+
+
+
+ +

+read

+
+public String read(InputStream is)
+            throws ReadException
+
+
Reads data until the defined EOM byte is reached. + If there is no EOM byte defined, then reads until + the end of the stream is reached. + Response data is converted to hex-encoded binary +

+

+
Parameters:
is - - + InputStream for socket +
Returns:
hex-encoded binary string +
Throws: +
ReadException - when reading fails
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/tcp/sampler/LengthPrefixedBinaryTCPClientImpl.html b/docs/api/org/apache/jmeter/protocol/tcp/sampler/LengthPrefixedBinaryTCPClientImpl.html new file mode 100644 index 00000000000..1b0b6009c87 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/tcp/sampler/LengthPrefixedBinaryTCPClientImpl.html @@ -0,0 +1,418 @@ + + + + + +LengthPrefixedBinaryTCPClientImpl (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.tcp.sampler +
+Class LengthPrefixedBinaryTCPClientImpl

+
+java.lang.Object
+  extended by org.apache.jmeter.protocol.tcp.sampler.AbstractTCPClient
+      extended by org.apache.jmeter.protocol.tcp.sampler.TCPClientDecorator
+          extended by org.apache.jmeter.protocol.tcp.sampler.LengthPrefixedBinaryTCPClientImpl
+
+
+
All Implemented Interfaces:
TCPClient
+
+
+
+
public class LengthPrefixedBinaryTCPClientImpl
extends TCPClientDecorator
+ + +

+Implements binary length-prefixed binary data. + This is used in ISO8583 for example. +

+ +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.protocol.tcp.sampler.TCPClientDecorator
tcpClient
+ + + + + + + +
Fields inherited from class org.apache.jmeter.protocol.tcp.sampler.AbstractTCPClient
eolByte, useEolByte
+  + + + + + + + + + + +
+Constructor Summary
LengthPrefixedBinaryTCPClientImpl() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ bytegetEolByte() + +
+          Not useful, as the byte is never used.
+ Stringread(InputStream is) + +
+          
+ voidsetEolByte(int eolInt) + +
+          Set the end-of-line/end-of-message byte.
+ voidwrite(OutputStream os, + InputStream is) + +
+          
+ voidwrite(OutputStream os, + String s) + +
+          
+ + + + + + + +
Methods inherited from class org.apache.jmeter.protocol.tcp.sampler.TCPClientDecorator
byteArrayToInt, intToByteArray
+ + + + + + + +
Methods inherited from class org.apache.jmeter.protocol.tcp.sampler.AbstractTCPClient
getCharset, setCharset, setupTest, teardownTest
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+LengthPrefixedBinaryTCPClientImpl

+
+public LengthPrefixedBinaryTCPClientImpl()
+
+
+ + + + + + + + +
+Method Detail
+ +

+write

+
+public void write(OutputStream os,
+                  String s)
+           throws IOException
+
+
+

+

+
Parameters:
os - - + OutputStream for socket
s - - + String to write +
Throws: +
IOException - when writing fails
+
+
+
+ +

+write

+
+public void write(OutputStream os,
+                  InputStream is)
+           throws IOException
+
+
+

+

+
Parameters:
os - - + OutputStream for socket
is - - + InputStream to be written to Socket +
Throws: +
IOException - when writing fails
+
+
+
+ +

+read

+
+public String read(InputStream is)
+            throws ReadException
+
+
+

+

+
Parameters:
is - - + InputStream for socket +
Returns:
String read from socket +
Throws: +
ReadException - exception that can contain partial response (Response until error occured)
+
+
+
+ +

+getEolByte

+
+public byte getEolByte()
+
+
Not useful, as the byte is never used. +

+ Get the end-of-line/end-of-message byte. +

+

+
Specified by:
getEolByte in interface TCPClient
Overrides:
getEolByte in class AbstractTCPClient
+
+
+ +
Returns:
Returns the eolByte.
+
+
+
+ +

+setEolByte

+
+public void setEolByte(int eolInt)
+
+
Set the end-of-line/end-of-message byte. + If the value is out of range of a byte, then it is to be ignored. +

+

+
Specified by:
setEolByte in interface TCPClient
Overrides:
setEolByte in class AbstractTCPClient
+
+
+
Parameters:
eolInt - The value to set
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/tcp/sampler/ReadException.html b/docs/api/org/apache/jmeter/protocol/tcp/sampler/ReadException.html new file mode 100644 index 00000000000..48cb063a3bb --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/tcp/sampler/ReadException.html @@ -0,0 +1,294 @@ + + + + + +ReadException (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.tcp.sampler +
+Class ReadException

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by org.apache.jmeter.protocol.tcp.sampler.ReadException
+
+
+
All Implemented Interfaces:
Serializable
+
+
+
+
public class ReadException
extends Exception
+ + +

+Exception that contains partial response (Text read until exception occured) +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
ReadException() + +
+          Deprecated. For use by test code only (serialisation tests)
ReadException(String message, + Throwable cause, + String partialResponse) + +
+          Constructor
+  + + + + + + + + + + + +
+Method Summary
+ StringgetPartialResponse() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ReadException

+
+@Deprecated
+public ReadException()
+
+
Deprecated. For use by test code only (serialisation tests) +

+

+
+ +

+ReadException

+
+public ReadException(String message,
+                     Throwable cause,
+                     String partialResponse)
+
+
Constructor +

+

+
Parameters:
message - Message
cause - Source cause
partialResponse - Text read until error occured
+
+ + + + + + + + +
+Method Detail
+ +

+getPartialResponse

+
+public String getPartialResponse()
+
+
+ +
Returns:
the partialResponse Text read until error occured
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/tcp/sampler/TCPClient.html b/docs/api/org/apache/jmeter/protocol/tcp/sampler/TCPClient.html new file mode 100644 index 00000000000..6c7b0475091 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/tcp/sampler/TCPClient.html @@ -0,0 +1,374 @@ + + + + + +TCPClient (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.tcp.sampler +
+Interface TCPClient

+
+
All Known Implementing Classes:
AbstractTCPClient, BinaryTCPClientImpl, LengthPrefixedBinaryTCPClientImpl, TCPClientDecorator, TCPClientImpl
+
+
+
+
public interface TCPClient
+ + +

+Interface required by TCPSampler for TCPClient implementations. +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetCharset() + +
+          Get the charset.
+ bytegetEolByte() + +
+          Get the end-of-line/end-of-message byte.
+ Stringread(InputStream is) + +
+           
+ voidsetEolByte(int eolInt) + +
+          Set the end-of-line/end-of-message byte.
+ voidsetupTest() + +
+          Versions of JMeter after 2.3.2 invoke this method when the thread starts.
+ voidteardownTest() + +
+          Versions of JMeter after 2.3.2 invoke this method when the thread ends.
+ voidwrite(OutputStream os, + InputStream is) + +
+           
+ voidwrite(OutputStream os, + String s) + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+setupTest

+
+void setupTest()
+
+
Versions of JMeter after 2.3.2 invoke this method when the thread starts. +

+

+
+
+
+
+ +

+teardownTest

+
+void teardownTest()
+
+
Versions of JMeter after 2.3.2 invoke this method when the thread ends. +

+

+
+
+
+
+ +

+write

+
+void write(OutputStream os,
+           InputStream is)
+           throws IOException
+
+
+
Parameters:
os - - + OutputStream for socket
is - - + InputStream to be written to Socket +
Throws: +
IOException - when writing fails
+
+
+
+ +

+write

+
+void write(OutputStream os,
+           String s)
+           throws IOException
+
+
+
Parameters:
os - - + OutputStream for socket
s - - + String to write +
Throws: +
IOException - when writing fails
+
+
+
+ +

+read

+
+String read(InputStream is)
+            throws ReadException
+
+
+
Parameters:
is - - + InputStream for socket +
Returns:
String read from socket +
Throws: +
ReadException - exception that can contain partial response (Response until error occured)
+
+
+
+ +

+getEolByte

+
+byte getEolByte()
+
+
Get the end-of-line/end-of-message byte. +

+

+ +
Returns:
Returns the eolByte.
+
+
+
+ +

+getCharset

+
+String getCharset()
+
+
Get the charset. +

+

+ +
Returns:
Returns the charset.
+
+
+
+ +

+setEolByte

+
+void setEolByte(int eolInt)
+
+
Set the end-of-line/end-of-message byte. + If the value is out of range of a byte, then it is to be ignored. +

+

+
Parameters:
eolInt - The value to set
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/tcp/sampler/TCPClientDecorator.html b/docs/api/org/apache/jmeter/protocol/tcp/sampler/TCPClientDecorator.html new file mode 100644 index 00000000000..83fba83b4fd --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/tcp/sampler/TCPClientDecorator.html @@ -0,0 +1,349 @@ + + + + + +TCPClientDecorator (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.tcp.sampler +
+Class TCPClientDecorator

+
+java.lang.Object
+  extended by org.apache.jmeter.protocol.tcp.sampler.AbstractTCPClient
+      extended by org.apache.jmeter.protocol.tcp.sampler.TCPClientDecorator
+
+
+
All Implemented Interfaces:
TCPClient
+
+
+
Direct Known Subclasses:
LengthPrefixedBinaryTCPClientImpl
+
+
+
+
public abstract class TCPClientDecorator
extends AbstractTCPClient
+ + +

+


+ +

+ + + + + + + + + + + +
+Field Summary
+protected  TCPClienttcpClient + +
+           
+ + + + + + + +
Fields inherited from class org.apache.jmeter.protocol.tcp.sampler.AbstractTCPClient
eolByte, useEolByte
+  + + + + + + + + + + +
+Constructor Summary
TCPClientDecorator(TCPClient tcpClient) + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+static intbyteArrayToInt(byte[] b) + +
+          Convert byte array to int.
+static byte[]intToByteArray(int value, + int len) + +
+          Convert int to byte array.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.protocol.tcp.sampler.AbstractTCPClient
getCharset, getEolByte, setCharset, setEolByte, setupTest, teardownTest
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.protocol.tcp.sampler.TCPClient
read, write, write
+  +

+ + + + + + + + +
+Field Detail
+ +

+tcpClient

+
+protected final TCPClient tcpClient
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+TCPClientDecorator

+
+public TCPClientDecorator(TCPClient tcpClient)
+
+
+ + + + + + + + +
+Method Detail
+ +

+intToByteArray

+
+public static byte[] intToByteArray(int value,
+                                    int len)
+
+
Convert int to byte array. +

+

+
Parameters:
value - - int to be converted
len - - length of required byte array +
Returns:
Byte array representation of input value +
Throws: +
IllegalArgumentException - if not length 2 or 4 or outside range of a short int.
+
+
+
+ +

+byteArrayToInt

+
+public static int byteArrayToInt(byte[] b)
+
+
Convert byte array to int. +

+

+
Parameters:
b - - Byte array to be converted +
Returns:
Integer value of input byte array +
Throws: +
IllegalArgumentException - if ba is null or not length 2 or 4
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/tcp/sampler/TCPClientImpl.html b/docs/api/org/apache/jmeter/protocol/tcp/sampler/TCPClientImpl.html new file mode 100644 index 00000000000..ba95ee7fd82 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/tcp/sampler/TCPClientImpl.html @@ -0,0 +1,352 @@ + + + + + +TCPClientImpl (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.tcp.sampler +
+Class TCPClientImpl

+
+java.lang.Object
+  extended by org.apache.jmeter.protocol.tcp.sampler.AbstractTCPClient
+      extended by org.apache.jmeter.protocol.tcp.sampler.TCPClientImpl
+
+
+
All Implemented Interfaces:
TCPClient
+
+
+
+
public class TCPClientImpl
extends AbstractTCPClient
+ + +

+Sample TCPClient implementation. + Reads data until the defined EOL byte is reached. + If there is no EOL byte defined, then reads until + the end of the stream is reached. + The EOL byte is defined by the property "tcp.eolByte". +

+ +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.protocol.tcp.sampler.AbstractTCPClient
eolByte, useEolByte
+  + + + + + + + + + + +
+Constructor Summary
TCPClientImpl() + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Stringread(InputStream is) + +
+          Reads data until the defined EOL byte is reached.
+ voidwrite(OutputStream os, + InputStream is) + +
+          
+ voidwrite(OutputStream os, + String s) + +
+          
+ + + + + + + +
Methods inherited from class org.apache.jmeter.protocol.tcp.sampler.AbstractTCPClient
getCharset, getEolByte, setCharset, setEolByte, setupTest, teardownTest
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+TCPClientImpl

+
+public TCPClientImpl()
+
+
+ + + + + + + + +
+Method Detail
+ +

+write

+
+public void write(OutputStream os,
+                  String s)
+           throws IOException
+
+
+

+

+
Parameters:
os - - + OutputStream for socket
s - - + String to write +
Throws: +
IOException - when writing fails
+
+
+
+ +

+write

+
+public void write(OutputStream os,
+                  InputStream is)
+           throws IOException
+
+
+

+

+
Parameters:
os - - + OutputStream for socket
is - - + InputStream to be written to Socket +
Throws: +
IOException - when writing fails
+
+
+
+ +

+read

+
+public String read(InputStream is)
+            throws ReadException
+
+
Reads data until the defined EOL byte is reached. + If there is no EOL byte defined, then reads until + the end of the stream is reached. +

+

+
Parameters:
is - - + InputStream for socket +
Returns:
String read from socket +
Throws: +
ReadException - exception that can contain partial response (Response until error occured)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/tcp/sampler/TCPSampler.html b/docs/api/org/apache/jmeter/protocol/tcp/sampler/TCPSampler.html new file mode 100644 index 00000000000..49e19e38f34 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/tcp/sampler/TCPSampler.html @@ -0,0 +1,1223 @@ + + + + + +TCPSampler (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.protocol.tcp.sampler +
+Class TCPSampler

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.samplers.AbstractSampler
+          extended by org.apache.jmeter.protocol.tcp.sampler.TCPSampler
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, ConfigMergabilityIndicator, Searchable, Interruptible, Sampler, TestElement, ThreadListener
+
+
+
+
public class TCPSampler
extends AbstractSampler
implements ThreadListener, Interruptible
+ + +

+A sampler which understands Tcp requests. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static StringCLASSNAME + +
+           
+static StringCLOSE_CONNECTION + +
+           
+static booleanCLOSE_CONNECTION_DEFAULT + +
+           
+static StringEOL_BYTE + +
+           
+static StringFILENAME + +
+           
+static StringNODELAY + +
+           
+static StringPORT + +
+           
+static StringRE_USE_CONNECTION + +
+           
+static booleanRE_USE_CONNECTION_DEFAULT + +
+           
+static StringREQUEST + +
+           
+static StringSERVER + +
+           
+static StringSO_LINGER + +
+           
+static StringTIMEOUT + +
+           
+static StringTIMEOUT_CONNECT + +
+           
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
TCPSampler() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleanapplies(ConfigTestElement configElement) + +
+          Does configElement apply to Sampler
+ StringgetClassname() + +
+           
+ intgetConnectTimeout() + +
+           
+ intgetEolByte() + +
+           
+ StringgetFilename() + +
+           
+ StringgetLabel() + +
+          Returns a formatted string label describing this sampler Example output: + Tcp://Tcp.nowhere.com/pub/README.txt
+ booleangetNoDelay() + +
+           
+ StringgetPassword() + +
+           
+ intgetPort() + +
+           
+ StringgetRequestData() + +
+           
+ StringgetServer() + +
+           
+ intgetSoLinger() + +
+           
+ intgetTimeout() + +
+           
+ StringgetUsername() + +
+           
+ booleaninterrupt() + +
+          Interrupt the current operation if possible.
+ booleanisCloseConnection() + +
+           
+ booleanisReUseConnection() + +
+           
+ SampleResultsample(Entry e) + +
+          Obtains statistics about the given Entry, and packages the information + into a SampleResult.
+ voidsetClassname(String classname) + +
+           
+ voidsetCloseConnection(String close) + +
+           
+ voidsetConnectTimeout(String newTimeout) + +
+           
+ voidsetEolByte(String eol) + +
+           
+ voidsetFilename(String newFilename) + +
+           
+ voidsetPort(String newFilename) + +
+           
+ voidsetRequestData(String newRequestData) + +
+           
+ voidsetServer(String newServer) + +
+           
+ voidsetSoLinger(String soLinger) + +
+           
+ voidsetTimeout(String newTimeout) + +
+           
+ voidthreadFinished() + +
+          Called for each thread after all samples have been processed.
+ voidthreadStarted() + +
+          Called for each thread before starting sampling.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.testelement.TestElement
addTestElement, canRemove, clear, clearTestElementChildren, clone, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse
+  +

+ + + + + + + + +
+Field Detail
+ +

+SERVER

+
+public static final String SERVER
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PORT

+
+public static final String PORT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+FILENAME

+
+public static final String FILENAME
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CLASSNAME

+
+public static final String CLASSNAME
+
+
+
See Also:
Constant Field Values
+
+
+ +

+NODELAY

+
+public static final String NODELAY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+TIMEOUT

+
+public static final String TIMEOUT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+TIMEOUT_CONNECT

+
+public static final String TIMEOUT_CONNECT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+REQUEST

+
+public static final String REQUEST
+
+
+
See Also:
Constant Field Values
+
+
+ +

+RE_USE_CONNECTION

+
+public static final String RE_USE_CONNECTION
+
+
+
See Also:
Constant Field Values
+
+
+ +

+RE_USE_CONNECTION_DEFAULT

+
+public static final boolean RE_USE_CONNECTION_DEFAULT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CLOSE_CONNECTION

+
+public static final String CLOSE_CONNECTION
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CLOSE_CONNECTION_DEFAULT

+
+public static final boolean CLOSE_CONNECTION_DEFAULT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+SO_LINGER

+
+public static final String SO_LINGER
+
+
+
See Also:
Constant Field Values
+
+
+ +

+EOL_BYTE

+
+public static final String EOL_BYTE
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+TCPSampler

+
+public TCPSampler()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getUsername

+
+public String getUsername()
+
+
+
+
+
+
+
+
+
+ +

+getPassword

+
+public String getPassword()
+
+
+
+
+
+
+
+
+
+ +

+setServer

+
+public void setServer(String newServer)
+
+
+
+
+
+
+
+
+
+ +

+getServer

+
+public String getServer()
+
+
+
+
+
+
+
+
+
+ +

+isReUseConnection

+
+public boolean isReUseConnection()
+
+
+
+
+
+
+
+
+
+ +

+setCloseConnection

+
+public void setCloseConnection(String close)
+
+
+
+
+
+
+
+
+
+ +

+isCloseConnection

+
+public boolean isCloseConnection()
+
+
+
+
+
+
+
+
+
+ +

+setSoLinger

+
+public void setSoLinger(String soLinger)
+
+
+
+
+
+
+
+
+
+ +

+getSoLinger

+
+public int getSoLinger()
+
+
+
+
+
+
+
+
+
+ +

+setEolByte

+
+public void setEolByte(String eol)
+
+
+
+
+
+
+
+
+
+ +

+getEolByte

+
+public int getEolByte()
+
+
+
+
+
+
+
+
+
+ +

+setPort

+
+public void setPort(String newFilename)
+
+
+
+
+
+
+
+
+
+ +

+getPort

+
+public int getPort()
+
+
+
+
+
+
+
+
+
+ +

+setFilename

+
+public void setFilename(String newFilename)
+
+
+
+
+
+
+
+
+
+ +

+getFilename

+
+public String getFilename()
+
+
+
+
+
+
+
+
+
+ +

+setRequestData

+
+public void setRequestData(String newRequestData)
+
+
+
+
+
+
+
+
+
+ +

+getRequestData

+
+public String getRequestData()
+
+
+
+
+
+
+
+
+
+ +

+setTimeout

+
+public void setTimeout(String newTimeout)
+
+
+
+
+
+
+
+
+
+ +

+getTimeout

+
+public int getTimeout()
+
+
+
+
+
+
+
+
+
+ +

+setConnectTimeout

+
+public void setConnectTimeout(String newTimeout)
+
+
+
+
+
+
+
+
+
+ +

+getConnectTimeout

+
+public int getConnectTimeout()
+
+
+
+
+
+
+
+
+
+ +

+getNoDelay

+
+public boolean getNoDelay()
+
+
+
+
+
+
+
+
+
+ +

+setClassname

+
+public void setClassname(String classname)
+
+
+
+
+
+
+
+
+
+ +

+getClassname

+
+public String getClassname()
+
+
+
+
+
+
+
+
+
+ +

+getLabel

+
+public String getLabel()
+
+
Returns a formatted string label describing this sampler Example output: + Tcp://Tcp.nowhere.com/pub/README.txt +

+

+
+
+
+ +
Returns:
a formatted string label describing this sampler
+
+
+
+ +

+sample

+
+public SampleResult sample(Entry e)
+
+
Description copied from interface: Sampler
+
Obtains statistics about the given Entry, and packages the information + into a SampleResult. +

+

+
Specified by:
sample in interface Sampler
+
+
+
Parameters:
e - the Entry (TODO seems to be unused) +
Returns:
information about the sample
+
+
+
+ +

+threadStarted

+
+public void threadStarted()
+
+
Description copied from interface: ThreadListener
+
Called for each thread before starting sampling. + WARNING: this is called before any Config test elements are processed, + so any properties they define will not have been merged in yet. +

+

+
Specified by:
threadStarted in interface ThreadListener
+
+
+
See Also:
JMeterThread.threadStarted()
+
+
+
+ +

+threadFinished

+
+public void threadFinished()
+
+
Called for each thread after all samples have been processed. +

+

+
Specified by:
threadFinished in interface ThreadListener
+
+
+
See Also:
JMeterThread.threadFinished(org.apache.jmeter.engine.event.LoopIterationListener)
+
+
+
+ +

+applies

+
+public boolean applies(ConfigTestElement configElement)
+
+
Description copied from class: AbstractSampler
+
Does configElement apply to Sampler +

+

+
Specified by:
applies in interface ConfigMergabilityIndicator
Overrides:
applies in class AbstractSampler
+
+
+
Parameters:
configElement - ConfigTestElement +
Returns:
boolean
See Also:
AbstractSampler.applies(org.apache.jmeter.config.ConfigTestElement)
+
+
+
+ +

+interrupt

+
+public boolean interrupt()
+
+
Description copied from interface: Interruptible
+
Interrupt the current operation if possible. +

+

+
Specified by:
interrupt in interface Interruptible
+
+
+ +
Returns:
true if there was an operation to interrupt.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/tcp/sampler/package-frame.html b/docs/api/org/apache/jmeter/protocol/tcp/sampler/package-frame.html new file mode 100644 index 00000000000..eb039e970ae --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/tcp/sampler/package-frame.html @@ -0,0 +1,62 @@ + + + + + +org.apache.jmeter.protocol.tcp.sampler (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.protocol.tcp.sampler + + + + +
+Interfaces  + +
+TCPClient
+ + + + + + +
+Classes  + +
+AbstractTCPClient +
+BinaryTCPClientImpl +
+LengthPrefixedBinaryTCPClientImpl +
+TCPClientDecorator +
+TCPClientImpl +
+TCPSampler
+ + + + + + +
+Exceptions  + +
+ReadException
+ + + + diff --git a/docs/api/org/apache/jmeter/protocol/tcp/sampler/package-summary.html b/docs/api/org/apache/jmeter/protocol/tcp/sampler/package-summary.html new file mode 100644 index 00000000000..26ebe561d38 --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/tcp/sampler/package-summary.html @@ -0,0 +1,201 @@ + + + + + +org.apache.jmeter.protocol.tcp.sampler (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.protocol.tcp.sampler +

+ + + + + + + + + +
+Interface Summary
TCPClientInterface required by TCPSampler for TCPClient implementations.
+  + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
AbstractTCPClientBasic implementation of TCPClient interface.
BinaryTCPClientImplTCPClient implementation.
LengthPrefixedBinaryTCPClientImplImplements binary length-prefixed binary data.
TCPClientDecorator 
TCPClientImplSample TCPClient implementation.
TCPSamplerA sampler which understands Tcp requests.
+  + +

+ + + + + + + + + +
+Exception Summary
ReadExceptionException that contains partial response (Text read until exception occured)
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/protocol/tcp/sampler/package-tree.html b/docs/api/org/apache/jmeter/protocol/tcp/sampler/package-tree.html new file mode 100644 index 00000000000..a2c6df6395b --- /dev/null +++ b/docs/api/org/apache/jmeter/protocol/tcp/sampler/package-tree.html @@ -0,0 +1,171 @@ + + + + + +org.apache.jmeter.protocol.tcp.sampler Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.protocol.tcp.sampler +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+
    +
  • org.apache.jmeter.protocol.tcp.sampler.TCPClient
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/reporters/AbstractListenerElement.html b/docs/api/org/apache/jmeter/reporters/AbstractListenerElement.html new file mode 100644 index 00000000000..4631120746d --- /dev/null +++ b/docs/api/org/apache/jmeter/reporters/AbstractListenerElement.html @@ -0,0 +1,329 @@ + + + + + +AbstractListenerElement (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.reporters +
+Class AbstractListenerElement

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.reporters.AbstractListenerElement
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Searchable, TestElement
+
+
+
Direct Known Subclasses:
ResultCollector
+
+
+
+
public abstract class AbstractListenerElement
extends AbstractTestElement
+ + +

+Base class for Listeners +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
AbstractListenerElement() + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Objectclone() + +
+           
+protected  VisualizergetVisualizer() + +
+           
+ voidsetListener(Visualizer vis) + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+AbstractListenerElement

+
+public AbstractListenerElement()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getVisualizer

+
+protected final Visualizer getVisualizer()
+
+
+
+
+
+
+ +

+setListener

+
+public void setListener(Visualizer vis)
+
+
+
+
+
+
+ +

+clone

+
+public Object clone()
+
+
+
Specified by:
clone in interface TestElement
Overrides:
clone in class AbstractTestElement
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/reporters/FileReporter.html b/docs/api/org/apache/jmeter/reporters/FileReporter.html new file mode 100644 index 00000000000..1c910a868de --- /dev/null +++ b/docs/api/org/apache/jmeter/reporters/FileReporter.html @@ -0,0 +1,432 @@ + + + + + +FileReporter (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.reporters +
+Class FileReporter

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.reporters.FileReporter
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible
+
+
+
+
public class FileReporter
extends JPanel
+ + +

+This class loads data from a saved file and displays statistics about it. +

+ +

+

+
Version:
+
$Revision: 1642447 $
+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
FileReporter() + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ List<Integer>getData(String key) + +
+          Get the data currently assigned to a given key
+ voidinit(String file) + +
+          Initialize a file reporter from a file
+ voidshowPanel() + +
+          Show main panel with length, graph, and stats.
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+FileReporter

+
+public FileReporter()
+
+
+ + + + + + + + +
+Method Detail
+ +

+init

+
+public void init(String file)
+          throws IOException
+
+
Initialize a file reporter from a file +

+

+
Parameters:
file - The name of the file to read from +
Throws: +
IOException - when the corresponding file can not be opened or be read from
+
+
+
+ +

+getData

+
+public List<Integer> getData(String key)
+
+
Get the data currently assigned to a given key +

+

+
Parameters:
key - The key for which the data should be given +
Returns:
list of data for the given key
+
+
+
+ +

+showPanel

+
+public void showPanel()
+
+
Show main panel with length, graph, and stats. +

+

+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/reporters/MailerModel.MailAuthType.html b/docs/api/org/apache/jmeter/reporters/MailerModel.MailAuthType.html new file mode 100644 index 00000000000..5bb3af25941 --- /dev/null +++ b/docs/api/org/apache/jmeter/reporters/MailerModel.MailAuthType.html @@ -0,0 +1,337 @@ + + + + + +MailerModel.MailAuthType (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.reporters +
+Enum MailerModel.MailAuthType

+
+java.lang.Object
+  extended by java.lang.Enum<MailerModel.MailAuthType>
+      extended by org.apache.jmeter.reporters.MailerModel.MailAuthType
+
+
+
All Implemented Interfaces:
Serializable, Comparable<MailerModel.MailAuthType>
+
+
+
Enclosing class:
MailerModel
+
+
+
+
public static enum MailerModel.MailAuthType
extends Enum<MailerModel.MailAuthType>
+ + +

+


+ +

+ + + + + + + + + + + + + + + + +
+Enum Constant Summary
NONE + +
+           
SSL + +
+           
TLS + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+static MailerModel.MailAuthTypevalueOf(String name) + +
+          Returns the enum constant of this type with the specified name.
+static MailerModel.MailAuthType[]values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+ + + + + + + +
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
+ + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Enum Constant Detail
+ +

+SSL

+
+public static final MailerModel.MailAuthType SSL
+
+
+
+
+
+ +

+TLS

+
+public static final MailerModel.MailAuthType TLS
+
+
+
+
+
+ +

+NONE

+
+public static final MailerModel.MailAuthType NONE
+
+
+
+
+ + + + + + + + +
+Method Detail
+ +

+values

+
+public static MailerModel.MailAuthType[] values()
+
+
Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
+for (MailerModel.MailAuthType c : MailerModel.MailAuthType.values())
+    System.out.println(c);
+
+

+

+ +
Returns:
an array containing the constants of this enum type, in +the order they are declared
+
+
+
+ +

+valueOf

+
+public static MailerModel.MailAuthType valueOf(String name)
+
+
Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.) +

+

+
Parameters:
name - the name of the enum constant to be returned. +
Returns:
the enum constant with the specified name +
Throws: +
IllegalArgumentException - if this enum type has no constant +with the specified name +
NullPointerException - if the argument is null
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/reporters/MailerModel.html b/docs/api/org/apache/jmeter/reporters/MailerModel.html new file mode 100644 index 00000000000..11708e68801 --- /dev/null +++ b/docs/api/org/apache/jmeter/reporters/MailerModel.html @@ -0,0 +1,1134 @@ + + + + + +MailerModel (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.reporters +
+Class MailerModel

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.reporters.MailerModel
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Searchable, TestElement
+
+
+
+
public class MailerModel
extends AbstractTestElement
implements Serializable
+ + +

+The model for a MailerVisualizer. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Nested Class Summary
+static classMailerModel.MailAuthType + +
+           
+ + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
MailerModel() + +
+          Constructs a MailerModel.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidadd(SampleResult sample) + +
+          Adds a SampleResult for display in the Visualizer.
+ voidadd(SampleResult sample, + boolean sendMails) + +
+          Adds a SampleResult.
+ voidaddChangeListener(ChangeListener list) + +
+           
+ voidclear() + +
+          Resets the state of this object to its default.
+ Objectclone() + +
+          
+ List<String>getAddressList() + +
+          Gets a List of String-objects.
+ longgetFailureCount() + +
+           
+ longgetFailureLimit() + +
+           
+ StringgetFailureSubject() + +
+           
+ StringgetFromAddress() + +
+           
+ StringgetLogin() + +
+           
+ MailerModel.MailAuthTypegetMailAuthType() + +
+           
+ StringgetPassword() + +
+           
+ StringgetSmtpHost() + +
+           
+ StringgetSmtpPort() + +
+           
+ longgetSuccessCount() + +
+           
+ longgetSuccessLimit() + +
+           
+ StringgetSuccessSubject() + +
+           
+ StringgetToAddress() + +
+           
+ voidnotifyChangeListeners() + +
+           
+ voidsendMail(String from, + List<String> vEmails, + String subject, + String attText, + String smtpHost) + +
+          Sends a mail with the given parameters using SMTP.
+ voidsendMail(String from, + List<String> vEmails, + String subject, + String attText, + String smtpHost, + String smtpPort, + String user, + String password, + MailerModel.MailAuthType mailAuthType, + boolean debug) + +
+          Sends a mail with the given parameters using SMTP.
+ voidsendTestMail() + +
+          Send a Test Mail to check configuration
+ voidsetFailureLimit(String limit) + +
+           
+ voidsetFailureSubject(String str) + +
+           
+ voidsetFromAddress(String str) + +
+           
+ voidsetLogin(String login) + +
+           
+ voidsetMailAuthType(String value) + +
+           
+ voidsetPassword(String password) + +
+           
+ voidsetSmtpHost(String str) + +
+           
+ voidsetSmtpPort(String value) + +
+           
+ voidsetSuccessLimit(String limit) + +
+           
+ voidsetSuccessSubject(String str) + +
+           
+ voidsetToAddress(String str) + +
+           
+ StringtoString() + +
+          Returns a String-representation of this object.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clearTemporary, clearTestElementChildren, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+MailerModel

+
+public MailerModel()
+
+
Constructs a MailerModel. +

+

+ + + + + + + + +
+Method Detail
+ +

+addChangeListener

+
+public void addChangeListener(ChangeListener list)
+
+
+
+
+
+
+
+
+
+ +

+clone

+
+public Object clone()
+
+
+

+

+
Specified by:
clone in interface TestElement
Overrides:
clone in class AbstractTestElement
+
+
+
+
+
+
+ +

+notifyChangeListeners

+
+public void notifyChangeListeners()
+
+
+
+
+
+
+
+
+
+ +

+getAddressList

+
+public List<String> getAddressList()
+
+
Gets a List of String-objects. Each String is one mail-address of the + addresses-String set by setToAddress(str). The addresses + must be seperated by commas. Only String-objects containing a "@" are + added to the returned List. +

+

+
+
+
+ +
Returns:
a List of String-objects wherein each String represents a + mail-address.
+
+
+
+ +

+add

+
+public void add(SampleResult sample)
+
+
Adds a SampleResult for display in the Visualizer. +

+

+
+
+
+
Parameters:
sample - the SampleResult encapsulating informations about the last + sample.
+
+
+
+ +

+add

+
+public void add(SampleResult sample,
+                boolean sendMails)
+
+
Adds a SampleResult. If SampleResult represents a change concerning the + failure/success of the sampling a message might be sent to the addressies + according to the settings of successCount and + failureCount. +

+

+
+
+
+
Parameters:
sample - the SampleResult encapsulating information about the last + sample.
sendMails - whether or not to send e-mails
+
+
+
+ +

+clear

+
+public void clear()
+
+
Resets the state of this object to its default. But: This method does not + reset any mail-specific attributes (like sender, mail-subject...) since + they are independent of the sampling. +

+

+
Specified by:
clear in interface TestElement
Overrides:
clear in class AbstractTestElement
+
+
+
+
+
+
+ +

+toString

+
+public String toString()
+
+
Returns a String-representation of this object. Returns always + "E-Mail-Notification". Might be enhanced in future versions to return + some kind of String-representation of the mail-parameters (like sender, + addressies, smtpHost...). +

+

+
Overrides:
toString in class Object
+
+
+ +
Returns:
A String-representation of this object.
+
+
+
+ +

+sendMail

+
+public void sendMail(String from,
+                     List<String> vEmails,
+                     String subject,
+                     String attText,
+                     String smtpHost)
+              throws javax.mail.internet.AddressException,
+                     javax.mail.MessagingException
+
+
Sends a mail with the given parameters using SMTP. +

+

+
+
+
+
Parameters:
from - the sender of the mail as shown in the mail-client.
vEmails - all receivers of the mail. The receivers are seperated by + commas.
subject - the subject of the mail.
attText - the message-body.
smtpHost - the smtp-server used to send the mail. +
Throws: +
javax.mail.MessagingException - if the building of the message fails +
javax.mail.internet.AddressException - if any of the addresses is wrong
+
+
+
+ +

+sendMail

+
+public void sendMail(String from,
+                     List<String> vEmails,
+                     String subject,
+                     String attText,
+                     String smtpHost,
+                     String smtpPort,
+                     String user,
+                     String password,
+                     MailerModel.MailAuthType mailAuthType,
+                     boolean debug)
+              throws javax.mail.internet.AddressException,
+                     javax.mail.MessagingException
+
+
Sends a mail with the given parameters using SMTP. +

+

+
+
+
+
Parameters:
from - the sender of the mail as shown in the mail-client.
vEmails - all receivers of the mail. The receivers are seperated by + commas.
subject - the subject of the mail.
attText - the message-body.
smtpHost - the smtp-server used to send the mail.
smtpPort - the smtp-server port used to send the mail.
user - the login used to authenticate
password - the password used to authenticate
mailAuthType - MailerModel.MailAuthType Security policy
debug - Flag whether debug messages for the mail session should be generated +
Throws: +
javax.mail.internet.AddressException - If mail address is wrong +
javax.mail.MessagingException - If building MimeMessage fails
+
+
+
+ +

+sendTestMail

+
+public void sendTestMail()
+                  throws javax.mail.internet.AddressException,
+                         javax.mail.MessagingException
+
+
Send a Test Mail to check configuration +

+

+
+
+
+ +
Throws: +
javax.mail.internet.AddressException - If mail address is wrong +
javax.mail.MessagingException - If building MimeMessage fails
+
+
+
+ +

+setToAddress

+
+public void setToAddress(String str)
+
+
+
+
+
+
+
+
+
+ +

+setFromAddress

+
+public void setFromAddress(String str)
+
+
+
+
+
+
+
+
+
+ +

+setSmtpHost

+
+public void setSmtpHost(String str)
+
+
+
+
+
+
+
+
+
+ +

+setSmtpPort

+
+public void setSmtpPort(String value)
+
+
+
+
+
+
+
+
+
+ +

+setLogin

+
+public void setLogin(String login)
+
+
+
+
+
+
+
+
+
+ +

+setPassword

+
+public void setPassword(String password)
+
+
+
+
+
+
+
+
+
+ +

+setMailAuthType

+
+public void setMailAuthType(String value)
+
+
+
+
+
+
+
+
+
+ +

+setFailureSubject

+
+public void setFailureSubject(String str)
+
+
+
+
+
+
+
+
+
+ +

+setSuccessSubject

+
+public void setSuccessSubject(String str)
+
+
+
+
+
+
+
+
+
+ +

+setSuccessLimit

+
+public void setSuccessLimit(String limit)
+
+
+
+
+
+
+
+
+
+ +

+setFailureLimit

+
+public void setFailureLimit(String limit)
+
+
+
+
+
+
+
+
+
+ +

+getToAddress

+
+public String getToAddress()
+
+
+
+
+
+
+
+
+
+ +

+getFromAddress

+
+public String getFromAddress()
+
+
+
+
+
+
+
+
+
+ +

+getSmtpHost

+
+public String getSmtpHost()
+
+
+
+
+
+
+
+
+
+ +

+getSmtpPort

+
+public String getSmtpPort()
+
+
+
+
+
+
+
+
+
+ +

+getFailureSubject

+
+public String getFailureSubject()
+
+
+
+
+
+
+
+
+
+ +

+getSuccessSubject

+
+public String getSuccessSubject()
+
+
+
+
+
+
+
+
+
+ +

+getSuccessLimit

+
+public long getSuccessLimit()
+
+
+
+
+
+
+
+
+
+ +

+getSuccessCount

+
+public long getSuccessCount()
+
+
+
+
+
+
+
+
+
+ +

+getFailureLimit

+
+public long getFailureLimit()
+
+
+
+
+
+
+
+
+
+ +

+getFailureCount

+
+public long getFailureCount()
+
+
+
+
+
+
+
+
+
+ +

+getLogin

+
+public String getLogin()
+
+
+
+
+
+
+
+
+
+ +

+getPassword

+
+public String getPassword()
+
+
+
+
+
+
+
+
+
+ +

+getMailAuthType

+
+public MailerModel.MailAuthType getMailAuthType()
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/reporters/MailerResultCollector.html b/docs/api/org/apache/jmeter/reporters/MailerResultCollector.html new file mode 100644 index 00000000000..b3e20416709 --- /dev/null +++ b/docs/api/org/apache/jmeter/reporters/MailerResultCollector.html @@ -0,0 +1,388 @@ + + + + + +MailerResultCollector (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.reporters +
+Class MailerResultCollector

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.reporters.AbstractListenerElement
+          extended by org.apache.jmeter.reporters.ResultCollector
+              extended by org.apache.jmeter.reporters.MailerResultCollector
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, NoThreadClone, Searchable, Clearable, Remoteable, SampleListener, TestElement, TestStateListener
+
+
+
+
public class MailerResultCollector
extends ResultCollector
implements Serializable
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Field Summary
+static StringMAILER_MODEL + +
+           
+ + + + + + + +
Fields inherited from class org.apache.jmeter.reporters.ResultCollector
FILENAME
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
MailerResultCollector() + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclear() + +
+          Clear the TestElement of all data.
+ MailerModelgetMailerModel() + +
+           
+ voidsampleOccurred(SampleEvent e) + +
+          When a test result is received, display it and save it.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.reporters.ResultCollector
clearData, clone, flushFile, getFilename, getSaveConfig, isErrorLogging, isSampleWanted, isSampleWanted, isSuccessOnlyLogging, loadExistingFile, recordStats, sampleStarted, sampleStopped, sendToVisualizer, setErrorLogging, setFilename, setSaveConfig, setSuccessOnlyLogging, testEnded, testEnded, testStarted, testStarted
+ + + + + + + +
Methods inherited from class org.apache.jmeter.reporters.AbstractListenerElement
getVisualizer, setListener
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clearTemporary, clearTestElementChildren, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+MAILER_MODEL

+
+public static final String MAILER_MODEL
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+MailerResultCollector

+
+public MailerResultCollector()
+
+
+ + + + + + + + +
+Method Detail
+ +

+clear

+
+public void clear()
+
+
Clear the TestElement of all data. +

+

+
Specified by:
clear in interface TestElement
Overrides:
clear in class AbstractTestElement
+
+
+
+
+
+
+ +

+sampleOccurred

+
+public void sampleOccurred(SampleEvent e)
+
+
When a test result is received, display it and save it. +

+

+
Specified by:
sampleOccurred in interface SampleListener
Overrides:
sampleOccurred in class ResultCollector
+
+
+
Parameters:
e - the sample event that was received
+
+
+
+ +

+getMailerModel

+
+public MailerModel getMailerModel()
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/reporters/ResultAction.html b/docs/api/org/apache/jmeter/reporters/ResultAction.html new file mode 100644 index 00000000000..58368a4c2a4 --- /dev/null +++ b/docs/api/org/apache/jmeter/reporters/ResultAction.html @@ -0,0 +1,357 @@ + + + + + +ResultAction (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.reporters +
+Class ResultAction

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.testelement.OnErrorTestElement
+          extended by org.apache.jmeter.reporters.ResultAction
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Searchable, SampleListener, TestElement
+
+
+
+
public class ResultAction
extends OnErrorTestElement
implements Serializable, SampleListener
+ + +

+ResultAction - take action based on the status of the last Result +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.testelement.OnErrorTestElement
ON_ERROR_ACTION, ON_ERROR_CONTINUE, ON_ERROR_START_NEXT_THREAD_LOOP, ON_ERROR_STOPTEST, ON_ERROR_STOPTEST_NOW, ON_ERROR_STOPTHREAD
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
ResultAction() + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidsampleOccurred(SampleEvent e) + +
+          Examine the sample(s) and take appropriate action
+ voidsampleStarted(SampleEvent e) + +
+          A sample has started.
+ voidsampleStopped(SampleEvent e) + +
+          A sample has stopped.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.OnErrorTestElement
getErrorAction, isContinue, isStartNextThreadLoop, isStopTest, isStopTestNow, isStopThread, setErrorAction
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ResultAction

+
+public ResultAction()
+
+
+ + + + + + + + +
+Method Detail
+ +

+sampleOccurred

+
+public void sampleOccurred(SampleEvent e)
+
+
Examine the sample(s) and take appropriate action +

+

+
Specified by:
sampleOccurred in interface SampleListener
+
+
+
Parameters:
e - the SampleEvent that has occurred
See Also:
SampleListener.sampleOccurred(org.apache.jmeter.samplers.SampleEvent)
+
+
+
+ +

+sampleStarted

+
+public void sampleStarted(SampleEvent e)
+
+
A sample has started. +

+

+
Specified by:
sampleStarted in interface SampleListener
+
+
+
Parameters:
e - the SampleEvent that has started
+
+
+
+ +

+sampleStopped

+
+public void sampleStopped(SampleEvent e)
+
+
A sample has stopped. +

+

+
Specified by:
sampleStopped in interface SampleListener
+
+
+
Parameters:
e - the SampleEvent that has stopped
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/reporters/ResultCollector.html b/docs/api/org/apache/jmeter/reporters/ResultCollector.html new file mode 100644 index 00000000000..72cab7f5e26 --- /dev/null +++ b/docs/api/org/apache/jmeter/reporters/ResultCollector.html @@ -0,0 +1,973 @@ + + + + + +ResultCollector (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.reporters +
+Class ResultCollector

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.reporters.AbstractListenerElement
+          extended by org.apache.jmeter.reporters.ResultCollector
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, NoThreadClone, Searchable, Clearable, Remoteable, SampleListener, TestElement, TestStateListener
+
+
+
Direct Known Subclasses:
MailerResultCollector
+
+
+
+
public class ResultCollector
extends AbstractListenerElement
implements SampleListener, Clearable, Serializable, TestStateListener, Remoteable, NoThreadClone
+ + +

+This class handles all saving of samples. + The class must be thread-safe because it is shared between threads (NoThreadClone). +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Field Summary
+static StringFILENAME + +
+           
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + + + + +
+Constructor Summary
ResultCollector() + +
+          No-arg constructor.
ResultCollector(Summariser summer) + +
+          Constructor which sets the used Summariser
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclearData() + +
+          Clears the current data of the object.
+ Objectclone() + +
+           
+protected  voidflushFile() + +
+          Flush PrintWriter to synchronize file contents
+ StringgetFilename() + +
+          Get the filename of the file this collector uses
+ SampleSaveConfigurationgetSaveConfig() + +
+           
+ booleanisErrorLogging() + +
+          Get the state of error logging
+ booleanisSampleWanted(boolean success) + +
+          Decides whether or not to a sample is wanted based on: + + errorOnly + successOnly + sample success + + Should only be called for single samples.
+static booleanisSampleWanted(boolean success, + boolean errorOnly, + boolean successOnly) + +
+          Decides whether or not to a sample is wanted based on: + + errorOnly + successOnly + sample success + + This version is intended to be called by code that loops over many samples; + it is cheaper than fetching the settings each time.
+ booleanisSuccessOnlyLogging() + +
+          Get the state of successful only logging
+ voidloadExistingFile() + +
+          Loads an existing sample data (JTL) file.
+ voidrecordStats(TestElement e) + +
+          recordStats is used to save statistics generated by visualizers
+ voidsampleOccurred(SampleEvent event) + +
+          When a test result is received, display it and save it.
+ voidsampleStarted(SampleEvent e) + +
+          A sample has started.
+ voidsampleStopped(SampleEvent e) + +
+          A sample has stopped.
+protected  voidsendToVisualizer(SampleResult r) + +
+           
+ voidsetErrorLogging(boolean errorLogging) + +
+          Sets error logging flag
+ voidsetFilename(String f) + +
+          Sets the filename attribute of the ResultCollector object.
+ voidsetSaveConfig(SampleSaveConfiguration saveConfig) + +
+           
+ voidsetSuccessOnlyLogging(boolean value) + +
+          Sets the flag whether only successful samples should be logged
+ voidtestEnded() + +
+           + Called once for all threads after the end of a test.
+ voidtestEnded(String host) + +
+           + Called once for all threads after the end of a test.
+ voidtestStarted() + +
+           + Called just before the start of the test from the main engine thread.
+ voidtestStarted(String host) + +
+           + Called just before the start of the test from the main engine thread.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.reporters.AbstractListenerElement
getVisualizer, setListener
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+FILENAME

+
+public static final String FILENAME
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+ResultCollector

+
+public ResultCollector()
+
+
No-arg constructor. +

+

+
+ +

+ResultCollector

+
+public ResultCollector(Summariser summer)
+
+
Constructor which sets the used Summariser +

+

+
Parameters:
summer - The Summariser to use
+
+ + + + + + + + +
+Method Detail
+ +

+clone

+
+public Object clone()
+
+
+
Specified by:
clone in interface TestElement
Overrides:
clone in class AbstractListenerElement
+
+
+
+
+
+
+ +

+getFilename

+
+public String getFilename()
+
+
Get the filename of the file this collector uses +

+

+
+
+
+ +
Returns:
The name of the file
+
+
+
+ +

+isErrorLogging

+
+public boolean isErrorLogging()
+
+
Get the state of error logging +

+

+
+
+
+ +
Returns:
Flag whether errors should be logged
+
+
+
+ +

+setErrorLogging

+
+public final void setErrorLogging(boolean errorLogging)
+
+
Sets error logging flag +

+

+
+
+
+
Parameters:
errorLogging - The flag whether errors should be logged
+
+
+
+ +

+setSuccessOnlyLogging

+
+public final void setSuccessOnlyLogging(boolean value)
+
+
Sets the flag whether only successful samples should be logged +

+

+
+
+
+
Parameters:
value - The flag whether only successful samples should be logged
+
+
+
+ +

+isSuccessOnlyLogging

+
+public boolean isSuccessOnlyLogging()
+
+
Get the state of successful only logging +

+

+
+
+
+ +
Returns:
Flag whether only successful samples should be logged
+
+
+
+ +

+isSampleWanted

+
+public boolean isSampleWanted(boolean success)
+
+
Decides whether or not to a sample is wanted based on: +
    +
  • errorOnly
  • +
  • successOnly
  • +
  • sample success
  • +
+ Should only be called for single samples. +

+

+
+
+
+
Parameters:
success - is sample successful +
Returns:
whether to log/display the sample
+
+
+
+ +

+isSampleWanted

+
+public static boolean isSampleWanted(boolean success,
+                                     boolean errorOnly,
+                                     boolean successOnly)
+
+
Decides whether or not to a sample is wanted based on: +
    +
  • errorOnly
  • +
  • successOnly
  • +
  • sample success
  • +
+ This version is intended to be called by code that loops over many samples; + it is cheaper than fetching the settings each time. +

+

+
+
+
+
Parameters:
success - status of sample
errorOnly - if errors only wanted
successOnly - if success only wanted +
Returns:
whether to log/display the sample
+
+
+
+ +

+setFilename

+
+public void setFilename(String f)
+
+
Sets the filename attribute of the ResultCollector object. +

+

+
+
+
+
Parameters:
f - the new filename value
+
+
+
+ +

+testEnded

+
+public void testEnded(String host)
+
+
Description copied from interface: TestStateListener
+

+ Called once for all threads after the end of a test. + + This will use the same element instances as at the start of the test. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testEnded in interface TestStateListener
+
+
+
Parameters:
host - name of host
See Also:
StandardJMeterEngine.stopTest()
+
+
+
+ +

+testStarted

+
+public void testStarted(String host)
+
+
Description copied from interface: TestStateListener
+

+ Called just before the start of the test from the main engine thread. + + This is before the test elements are cloned. + + Note that not all the test + variables will have been set up at this point. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testStarted in interface TestStateListener
+
+
+
Parameters:
host - name of host
See Also:
StandardJMeterEngine.run()
+
+
+
+ +

+testEnded

+
+public void testEnded()
+
+
Description copied from interface: TestStateListener
+

+ Called once for all threads after the end of a test. + + This will use the same element instances as at the start of the test. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testEnded in interface TestStateListener
+
+
+
See Also:
StandardJMeterEngine.stopTest()
+
+
+
+ +

+testStarted

+
+public void testStarted()
+
+
Description copied from interface: TestStateListener
+

+ Called just before the start of the test from the main engine thread. + + This is before the test elements are cloned. + + Note that not all the test + variables will have been set up at this point. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testStarted in interface TestStateListener
+
+
+
See Also:
StandardJMeterEngine.run()
+
+
+
+ +

+loadExistingFile

+
+public void loadExistingFile()
+
+
Loads an existing sample data (JTL) file. + This can be one of: +
    +
  • XStream format
  • +
  • Avalon format
  • +
  • CSV format
  • +
+

+

+
+
+
+
+
+
+
+ +

+sampleStarted

+
+public void sampleStarted(SampleEvent e)
+
+
Description copied from interface: SampleListener
+
A sample has started. +

+

+
Specified by:
sampleStarted in interface SampleListener
+
+
+
Parameters:
e - the SampleEvent that has started
+
+
+
+ +

+sampleStopped

+
+public void sampleStopped(SampleEvent e)
+
+
Description copied from interface: SampleListener
+
A sample has stopped. +

+

+
Specified by:
sampleStopped in interface SampleListener
+
+
+
Parameters:
e - the SampleEvent that has stopped
+
+
+
+ +

+sampleOccurred

+
+public void sampleOccurred(SampleEvent event)
+
+
When a test result is received, display it and save it. +

+

+
Specified by:
sampleOccurred in interface SampleListener
+
+
+
Parameters:
event - the sample event that was received
+
+
+
+ +

+sendToVisualizer

+
+protected final void sendToVisualizer(SampleResult r)
+
+
+
+
+
+
+
+
+
+ +

+recordStats

+
+public void recordStats(TestElement e)
+                 throws IOException
+
+
recordStats is used to save statistics generated by visualizers +

+

+
+
+
+
Parameters:
e - The data to save +
Throws: +
IOException - when data writing fails
+
+
+
+ +

+flushFile

+
+protected void flushFile()
+
+
Flush PrintWriter to synchronize file contents +

+

+
+
+
+
+
+
+
+ +

+getSaveConfig

+
+public SampleSaveConfiguration getSaveConfig()
+
+
+
+
+
+ +
Returns:
Returns the saveConfig.
+
+
+
+ +

+setSaveConfig

+
+public void setSaveConfig(SampleSaveConfiguration saveConfig)
+
+
+
+
+
+
Parameters:
saveConfig - The saveConfig to set.
+
+
+
+ +

+clearData

+
+public void clearData()
+
+
Description copied from interface: Clearable
+
Clears the current data of the object. +

+

+
Specified by:
clearData in interface Clearable
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/reporters/ResultCollectorHelper.html b/docs/api/org/apache/jmeter/reporters/ResultCollectorHelper.html new file mode 100644 index 00000000000..15fc991df84 --- /dev/null +++ b/docs/api/org/apache/jmeter/reporters/ResultCollectorHelper.html @@ -0,0 +1,255 @@ + + + + + +ResultCollectorHelper (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.reporters +
+Class ResultCollectorHelper

+
+java.lang.Object
+  extended by org.apache.jmeter.reporters.ResultCollectorHelper
+
+
+
+
public class ResultCollectorHelper
extends Object
+ + +

+Helper class to allow TestResultWrapperConverter to send samples + directly to the visualiser if required. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
ResultCollectorHelper(ResultCollector resultCollector, + Visualizer visualizer) + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ voidadd(SampleResult sample) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ResultCollectorHelper

+
+public ResultCollectorHelper(ResultCollector resultCollector,
+                             Visualizer visualizer)
+
+
+ + + + + + + + +
+Method Detail
+ +

+add

+
+public void add(SampleResult sample)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/reporters/ResultSaver.html b/docs/api/org/apache/jmeter/reporters/ResultSaver.html new file mode 100644 index 00000000000..12735295d06 --- /dev/null +++ b/docs/api/org/apache/jmeter/reporters/ResultSaver.html @@ -0,0 +1,533 @@ + + + + + +ResultSaver (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.reporters +
+Class ResultSaver

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.reporters.ResultSaver
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Searchable, SampleListener, TestElement
+
+
+
+
public class ResultSaver
extends AbstractTestElement
implements Serializable, SampleListener
+ + +

+Save Result responseData to a set of files + + + This is mainly intended for validation tests +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static StringADD_TIMESTAMP + +
+           
+static StringERRORS_ONLY + +
+           
+static StringFILENAME + +
+           
+static StringNUMBER_PAD_LENGTH + +
+           
+static StringSKIP_AUTO_NUMBER + +
+           
+static StringSKIP_SUFFIX + +
+           
+static StringSUCCESS_ONLY + +
+           
+static StringVARIABLE_NAME + +
+           
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + + + + +
+Constructor Summary
ResultSaver() + +
+           
ResultSaver(String name) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclear() + +
+          Clear the TestElement of all data.
+ voidsampleOccurred(SampleEvent e) + +
+          Saves the sample result (and any sub results) in files
+ voidsampleStarted(SampleEvent e) + +
+          A sample has started.
+ voidsampleStopped(SampleEvent e) + +
+          A sample has stopped.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+FILENAME

+
+public static final String FILENAME
+
+
+
See Also:
Constant Field Values
+
+
+ +

+VARIABLE_NAME

+
+public static final String VARIABLE_NAME
+
+
+
See Also:
Constant Field Values
+
+
+ +

+ERRORS_ONLY

+
+public static final String ERRORS_ONLY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+SUCCESS_ONLY

+
+public static final String SUCCESS_ONLY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+SKIP_AUTO_NUMBER

+
+public static final String SKIP_AUTO_NUMBER
+
+
+
See Also:
Constant Field Values
+
+
+ +

+SKIP_SUFFIX

+
+public static final String SKIP_SUFFIX
+
+
+
See Also:
Constant Field Values
+
+
+ +

+ADD_TIMESTAMP

+
+public static final String ADD_TIMESTAMP
+
+
+
See Also:
Constant Field Values
+
+
+ +

+NUMBER_PAD_LENGTH

+
+public static final String NUMBER_PAD_LENGTH
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+ResultSaver

+
+public ResultSaver()
+
+
+
+ +

+ResultSaver

+
+public ResultSaver(String name)
+
+
+ + + + + + + + +
+Method Detail
+ +

+clear

+
+public void clear()
+
+
Description copied from class: AbstractTestElement
+
Clear the TestElement of all data. +

+

+
Specified by:
clear in interface TestElement
Overrides:
clear in class AbstractTestElement
+
+
+
+
+
+
+ +

+sampleOccurred

+
+public void sampleOccurred(SampleEvent e)
+
+
Saves the sample result (and any sub results) in files +

+

+
Specified by:
sampleOccurred in interface SampleListener
+
+
+
Parameters:
e - the SampleEvent that has occurred
See Also:
SampleListener.sampleOccurred(org.apache.jmeter.samplers.SampleEvent)
+
+
+
+ +

+sampleStarted

+
+public void sampleStarted(SampleEvent e)
+
+
A sample has started. +

+

+
Specified by:
sampleStarted in interface SampleListener
+
+
+
Parameters:
e - the SampleEvent that has started
+
+
+
+ +

+sampleStopped

+
+public void sampleStopped(SampleEvent e)
+
+
A sample has stopped. +

+

+
Specified by:
sampleStopped in interface SampleListener
+
+
+
Parameters:
e - the SampleEvent that has stopped
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/reporters/Summariser.html b/docs/api/org/apache/jmeter/reporters/Summariser.html new file mode 100644 index 00000000000..c309aaa9077 --- /dev/null +++ b/docs/api/org/apache/jmeter/reporters/Summariser.html @@ -0,0 +1,528 @@ + + + + + +Summariser (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.reporters +
+Class Summariser

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.reporters.Summariser
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, NoThreadClone, Searchable, Remoteable, SampleListener, TestElement, TestStateListener
+
+
+
+
public class Summariser
extends AbstractTestElement
implements Serializable, SampleListener, TestStateListener, NoThreadClone, Remoteable
+ + +

+Generate a summary of the test run so far to the log file and/or standard + output. Both running and differential totals are shown. Output is generated + every n seconds (default 30 seconds (property summariser.interval)) on the appropriate time boundary, so that + multiple test runs on the same time will be synchronised. + + This is mainly intended for batch (non-GUI) runs + FIXME : Docs below are outdated, need fixing + Note that the SummariserRunningSample start and end times relate to the samples, + not the reporting interval. + + Since the first sample in a delta is likely to have started in the previous reporting interval, + this means that the delta interval is likely to be longer than the reporting interval. + + Also, the sum of the delta intervals will be larger than the overall elapsed time. + + Data is accumulated according to the test element name. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + + + + +
+Constructor Summary
Summariser() + +
+           
Summariser(String name) + +
+          Constructor for use during startup (intended for non-GUI use)
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidsampleOccurred(SampleEvent e) + +
+          Accumulates the sample in two SampleResult objects - one for running + totals, and the other for deltas.
+ voidsampleStarted(SampleEvent e) + +
+          A sample has started.
+ voidsampleStopped(SampleEvent e) + +
+          A sample has stopped.
+ voidtestEnded() + +
+           + Called once for all threads after the end of a test.
+ voidtestEnded(String host) + +
+          Called from a different thread as testStarted() but using the same instance.
+ voidtestStarted() + +
+           + Called just before the start of the test from the main engine thread.
+ voidtestStarted(String host) + +
+          Called once for each Summariser in the test plan.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Summariser

+
+public Summariser()
+
+
+
+ +

+Summariser

+
+public Summariser(String name)
+
+
Constructor for use during startup (intended for non-GUI use) +

+

+
Parameters:
name - of summariser
+
+ + + + + + + + +
+Method Detail
+ +

+sampleOccurred

+
+public void sampleOccurred(SampleEvent e)
+
+
Accumulates the sample in two SampleResult objects - one for running + totals, and the other for deltas. +

+

+
Specified by:
sampleOccurred in interface SampleListener
+
+
+
Parameters:
e - the SampleEvent that has occurred
See Also:
SampleListener.sampleOccurred(org.apache.jmeter.samplers.SampleEvent)
+
+
+
+ +

+sampleStarted

+
+public void sampleStarted(SampleEvent e)
+
+
A sample has started. +

+

+
Specified by:
sampleStarted in interface SampleListener
+
+
+
Parameters:
e - the SampleEvent that has started
+
+
+
+ +

+sampleStopped

+
+public void sampleStopped(SampleEvent e)
+
+
A sample has stopped. +

+

+
Specified by:
sampleStopped in interface SampleListener
+
+
+
Parameters:
e - the SampleEvent that has stopped
+
+
+
+ +

+testStarted

+
+public void testStarted()
+
+

+ Called just before the start of the test from the main engine thread. + + This is before the test elements are cloned. + + Note that not all the test + variables will have been set up at this point. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testStarted in interface TestStateListener
+
+
+
See Also:
StandardJMeterEngine.run()
+
+
+
+ +

+testEnded

+
+public void testEnded()
+
+

+ Called once for all threads after the end of a test. + + This will use the same element instances as at the start of the test. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testEnded in interface TestStateListener
+
+
+
See Also:
StandardJMeterEngine.stopTest()
+
+
+
+ +

+testStarted

+
+public void testStarted(String host)
+
+
Called once for each Summariser in the test plan. + There may be more than one summariser with the same name, + however they will all be called before the test proper starts. +

+ However, note that this applies to a single test only. + When running in client-server mode, testStarted() may be + invoked after sampleOccurred(). +

+

+ Called just before the start of the test from the main engine thread. + + This is before the test elements are cloned. + + Note that not all the test + variables will have been set up at this point. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testStarted in interface TestStateListener
+
+
+
Parameters:
host - name of host
See Also:
StandardJMeterEngine.run()
+
+
+
+ +

+testEnded

+
+public void testEnded(String host)
+
+
Called from a different thread as testStarted() but using the same instance. + So synch is needed to fetch the accumulator, and the myName field will already be set up. +

+

+ Called once for all threads after the end of a test. + + This will use the same element instances as at the start of the test. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testEnded in interface TestStateListener
+
+
+
Parameters:
host - name of host
See Also:
StandardJMeterEngine.stopTest()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/reporters/gui/ResultActionGui.html b/docs/api/org/apache/jmeter/reporters/gui/ResultActionGui.html new file mode 100644 index 00000000000..df953a32d8a --- /dev/null +++ b/docs/api/org/apache/jmeter/reporters/gui/ResultActionGui.html @@ -0,0 +1,539 @@ + + + + + +ResultActionGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.reporters.gui +
+Class ResultActionGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.gui.AbstractScopedJMeterGuiComponent
+                          extended by org.apache.jmeter.processor.gui.AbstractPostProcessorGui
+                              extended by org.apache.jmeter.reporters.gui.ResultActionGui
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
+
public class ResultActionGui
extends AbstractPostProcessorGui
+ + +

+Create a Result Action Test Element +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
ResultActionGui() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclearGui() + +
+          Implements JMeterGUIComponent.clearGui
+ voidconfigure(TestElement el) + +
+          A newly created gui component can be initialized with the contents of a + Test Element object by calling this method.
+ TestElementcreateTestElement() + +
+          JMeter test components are separated into a model and a GUI + representation.
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ voidmodifyTestElement(TestElement te) + +
+          Modifies a given TestElement to mirror the data in the gui components.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.processor.gui.AbstractPostProcessorGui
getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractScopedJMeterGuiComponent
createPopupMenu, createScopePanel, createScopePanel, createScopePanel, saveScopeSettings, showScopeSettings, showScopeSettings
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ResultActionGui

+
+public ResultActionGui()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+ +
Returns:
the resource name
See Also:
JMeterGUIComponent.getStaticLabel()
+
+
+
+ +

+configure

+
+public void configure(TestElement el)
+
+
Description copied from class: AbstractJMeterGuiComponent
+
A newly created gui component can be initialized with the contents of a + Test Element object by calling this method. The component is responsible + for querying the Test Element object for the relevant information to + display in its GUI. +

+ AbstractJMeterGuiComponent provides a partial implementation of this + method, setting the name of the component and its enabled status. + Subclasses should override this method, performing their own + configuration as needed, but also calling this super-implementation. +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class AbstractJMeterGuiComponent
+
+
+
Parameters:
el - the TestElement to configure
See Also:
JMeterGUIComponent.configure(TestElement)
+
+
+
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
Description copied from interface: JMeterGUIComponent
+
JMeter test components are separated into a model and a GUI + representation. The model holds the data and the GUI displays it. The GUI + class is responsible for knowing how to create and initialize with data + the model class that it knows how to display, and this method is called + when new test elements are created. +

+

+ +
Returns:
the Test Element object that the GUI component represents.
See Also:
JMeterGUIComponent.createTestElement()
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement te)
+
+
Modifies a given TestElement to mirror the data in the gui components. +

+

+
Parameters:
te - the TestElement to modify
See Also:
JMeterGUIComponent.modifyTestElement(TestElement)
+
+
+
+ +

+clearGui

+
+public void clearGui()
+
+
Implements JMeterGUIComponent.clearGui +

+

+
Specified by:
clearGui in interface ClearGui
Overrides:
clearGui in class AbstractScopedJMeterGuiComponent
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/reporters/gui/ResultSaverGui.html b/docs/api/org/apache/jmeter/reporters/gui/ResultSaverGui.html new file mode 100644 index 00000000000..c0cac14471b --- /dev/null +++ b/docs/api/org/apache/jmeter/reporters/gui/ResultSaverGui.html @@ -0,0 +1,564 @@ + + + + + +ResultSaverGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.reporters.gui +
+Class ResultSaverGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.visualizers.gui.AbstractListenerGui
+                          extended by org.apache.jmeter.reporters.gui.ResultSaverGui
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ClearGui, JMeterGUIComponent, Clearable, Printable
+
+
+
+
public class ResultSaverGui
extends AbstractListenerGui
implements Clearable
+ + +

+Create a ResultSaver test element, which saves the sample information in set + of files +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
ResultSaverGui() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclearData() + +
+          Clears the current data of the object.
+ voidclearGui() + +
+          Implements JMeterGUIComponent.clearGui
+ voidconfigure(TestElement el) + +
+          A newly created gui component can be initialized with the contents of a + Test Element object by calling this method.
+ TestElementcreateTestElement() + +
+          JMeter test components are separated into a model and a GUI + representation.
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ voidmodifyTestElement(TestElement te) + +
+          Modifies a given TestElement to mirror the data in the gui components.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.visualizers.gui.AbstractListenerGui
createPopupMenu, getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ResultSaverGui

+
+public ResultSaverGui()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+
Specified by:
getLabelResource in interface JMeterGUIComponent
+
+
+ +
Returns:
the resource name
See Also:
JMeterGUIComponent.getStaticLabel()
+
+
+
+ +

+configure

+
+public void configure(TestElement el)
+
+
Description copied from class: AbstractJMeterGuiComponent
+
A newly created gui component can be initialized with the contents of a + Test Element object by calling this method. The component is responsible + for querying the Test Element object for the relevant information to + display in its GUI. +

+ AbstractJMeterGuiComponent provides a partial implementation of this + method, setting the name of the component and its enabled status. + Subclasses should override this method, performing their own + configuration as needed, but also calling this super-implementation. +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class AbstractJMeterGuiComponent
+
+
+
Parameters:
el - the TestElement to configure
See Also:
JMeterGUIComponent.configure(TestElement)
+
+
+
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
Description copied from interface: JMeterGUIComponent
+
JMeter test components are separated into a model and a GUI + representation. The model holds the data and the GUI displays it. The GUI + class is responsible for knowing how to create and initialize with data + the model class that it knows how to display, and this method is called + when new test elements are created. +

+

+
Specified by:
createTestElement in interface JMeterGUIComponent
+
+
+ +
Returns:
the Test Element object that the GUI component represents.
See Also:
JMeterGUIComponent.createTestElement()
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement te)
+
+
Modifies a given TestElement to mirror the data in the gui components. +

+

+
Specified by:
modifyTestElement in interface JMeterGUIComponent
+
+
+
Parameters:
te - the TestElement to modify
See Also:
JMeterGUIComponent.modifyTestElement(TestElement)
+
+
+
+ +

+clearGui

+
+public void clearGui()
+
+
Implements JMeterGUIComponent.clearGui +

+

+
Specified by:
clearGui in interface ClearGui
Overrides:
clearGui in class AbstractJMeterGuiComponent
+
+
+
+
+
+
+ +

+clearData

+
+public void clearData()
+
+
Description copied from interface: Clearable
+
Clears the current data of the object. +

+

+
Specified by:
clearData in interface Clearable
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/reporters/gui/SummariserGui.html b/docs/api/org/apache/jmeter/reporters/gui/SummariserGui.html new file mode 100644 index 00000000000..a9c76a039b2 --- /dev/null +++ b/docs/api/org/apache/jmeter/reporters/gui/SummariserGui.html @@ -0,0 +1,505 @@ + + + + + +SummariserGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.reporters.gui +
+Class SummariserGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.visualizers.gui.AbstractListenerGui
+                          extended by org.apache.jmeter.reporters.gui.SummariserGui
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
+
public class SummariserGui
extends AbstractListenerGui
+ + +

+Create a summariser test element GUI. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
SummariserGui() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidconfigure(TestElement el) + +
+          A newly created gui component can be initialized with the contents of a + Test Element object by calling this method.
+ TestElementcreateTestElement() + +
+          JMeter test components are separated into a model and a GUI + representation.
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ voidmodifyTestElement(TestElement summariser) + +
+          Modifies a given TestElement to mirror the data in the gui components.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.visualizers.gui.AbstractListenerGui
createPopupMenu, getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
clearGui, configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SummariserGui

+
+public SummariserGui()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+ +
Returns:
the resource name
+
+
+
+ +

+configure

+
+public void configure(TestElement el)
+
+
Description copied from class: AbstractJMeterGuiComponent
+
A newly created gui component can be initialized with the contents of a + Test Element object by calling this method. The component is responsible + for querying the Test Element object for the relevant information to + display in its GUI. +

+ AbstractJMeterGuiComponent provides a partial implementation of this + method, setting the name of the component and its enabled status. + Subclasses should override this method, performing their own + configuration as needed, but also calling this super-implementation. +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class AbstractJMeterGuiComponent
+
+
+
Parameters:
el - the TestElement to configure
+
+
+
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
Description copied from interface: JMeterGUIComponent
+
JMeter test components are separated into a model and a GUI + representation. The model holds the data and the GUI displays it. The GUI + class is responsible for knowing how to create and initialize with data + the model class that it knows how to display, and this method is called + when new test elements are created. +

+

+ +
Returns:
the Test Element object that the GUI component represents.
See Also:
JMeterGUIComponent.createTestElement()
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement summariser)
+
+
Modifies a given TestElement to mirror the data in the gui components. +

+

+
Parameters:
summariser - the TestElement to modify
See Also:
JMeterGUIComponent.modifyTestElement(TestElement)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/reporters/gui/package-frame.html b/docs/api/org/apache/jmeter/reporters/gui/package-frame.html new file mode 100644 index 00000000000..c51a357c7c7 --- /dev/null +++ b/docs/api/org/apache/jmeter/reporters/gui/package-frame.html @@ -0,0 +1,34 @@ + + + + + +org.apache.jmeter.reporters.gui (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.reporters.gui + + + + +
+Classes  + +
+ResultActionGui +
+ResultSaverGui +
+SummariserGui
+ + + + diff --git a/docs/api/org/apache/jmeter/reporters/gui/package-summary.html b/docs/api/org/apache/jmeter/reporters/gui/package-summary.html new file mode 100644 index 00000000000..6d8e2d48f86 --- /dev/null +++ b/docs/api/org/apache/jmeter/reporters/gui/package-summary.html @@ -0,0 +1,162 @@ + + + + + +org.apache.jmeter.reporters.gui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.reporters.gui +

+ + + + + + + + + + + + + + + + + +
+Class Summary
ResultActionGuiCreate a Result Action Test Element
ResultSaverGuiCreate a ResultSaver test element, which saves the sample information in set + of files
SummariserGuiCreate a summariser test element GUI.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/reporters/gui/package-tree.html b/docs/api/org/apache/jmeter/reporters/gui/package-tree.html new file mode 100644 index 00000000000..486a8437ceb --- /dev/null +++ b/docs/api/org/apache/jmeter/reporters/gui/package-tree.html @@ -0,0 +1,170 @@ + + + + + +org.apache.jmeter.reporters.gui Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.reporters.gui +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/reporters/package-frame.html b/docs/api/org/apache/jmeter/reporters/package-frame.html new file mode 100644 index 00000000000..2e9bd61d24c --- /dev/null +++ b/docs/api/org/apache/jmeter/reporters/package-frame.html @@ -0,0 +1,57 @@ + + + + + +org.apache.jmeter.reporters (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.reporters + + + + +
+Classes  + +
+AbstractListenerElement +
+FileReporter +
+MailerModel +
+MailerResultCollector +
+ResultAction +
+ResultCollector +
+ResultCollectorHelper +
+ResultSaver +
+Summariser
+ + + + + + +
+Enums  + +
+MailerModel.MailAuthType
+ + + + diff --git a/docs/api/org/apache/jmeter/reporters/package-summary.html b/docs/api/org/apache/jmeter/reporters/package-summary.html new file mode 100644 index 00000000000..a59c5de615d --- /dev/null +++ b/docs/api/org/apache/jmeter/reporters/package-summary.html @@ -0,0 +1,204 @@ + + + + + +org.apache.jmeter.reporters (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.reporters +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
AbstractListenerElementBase class for Listeners
FileReporterThis class loads data from a saved file and displays statistics about it.
MailerModelThe model for a MailerVisualizer.
MailerResultCollector 
ResultActionResultAction - take action based on the status of the last Result
ResultCollectorThis class handles all saving of samples.
ResultCollectorHelperHelper class to allow TestResultWrapperConverter to send samples + directly to the visualiser if required.
ResultSaverSave Result responseData to a set of files + + + This is mainly intended for validation tests
SummariserGenerate a summary of the test run so far to the log file and/or standard + output.
+  + +

+ + + + + + + + + +
+Enum Summary
MailerModel.MailAuthType 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/reporters/package-tree.html b/docs/api/org/apache/jmeter/reporters/package-tree.html new file mode 100644 index 00000000000..32bd58ff470 --- /dev/null +++ b/docs/api/org/apache/jmeter/reporters/package-tree.html @@ -0,0 +1,185 @@ + + + + + +org.apache.jmeter.reporters Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.reporters +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +

+Enum Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/sampler/DebugSampler.html b/docs/api/org/apache/jmeter/sampler/DebugSampler.html new file mode 100644 index 00000000000..56d6b148191 --- /dev/null +++ b/docs/api/org/apache/jmeter/sampler/DebugSampler.html @@ -0,0 +1,462 @@ + + + + + +DebugSampler (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.sampler +
+Class DebugSampler

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.samplers.AbstractSampler
+          extended by org.apache.jmeter.sampler.DebugSampler
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, ConfigMergabilityIndicator, Searchable, Sampler, TestBean, TestElement
+
+
+
+
public class DebugSampler
extends AbstractSampler
implements TestBean
+ + +

+The Debug Sampler can be used to "sample" JMeter variables, JMeter properties and System Properties. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
DebugSampler() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleanapplies(ConfigTestElement configElement) + +
+          Does configElement apply to Sampler
+ booleanisDisplayJMeterProperties() + +
+           
+ booleanisDisplayJMeterVariables() + +
+           
+ booleanisDisplaySystemProperties() + +
+           
+ SampleResultsample(Entry e) + +
+          Obtains statistics about the given Entry, and packages the information + into a SampleResult.
+ voidsetDisplayJMeterProperties(boolean displayJMeterPropterties) + +
+           
+ voidsetDisplayJMeterVariables(boolean displayJMeterVariables) + +
+           
+ voidsetDisplaySystemProperties(boolean displaySystemProperties) + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.testelement.TestElement
addTestElement, canRemove, clear, clearTestElementChildren, clone, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+DebugSampler

+
+public DebugSampler()
+
+
+ + + + + + + + +
+Method Detail
+ +

+sample

+
+public SampleResult sample(Entry e)
+
+
Description copied from interface: Sampler
+
Obtains statistics about the given Entry, and packages the information + into a SampleResult. +

+

+
Specified by:
sample in interface Sampler
+
+
+
Parameters:
e - the Entry (TODO seems to be unused) +
Returns:
information about the sample
+
+
+
+ +

+isDisplayJMeterVariables

+
+public boolean isDisplayJMeterVariables()
+
+
+
+
+
+
+
+
+
+ +

+setDisplayJMeterVariables

+
+public void setDisplayJMeterVariables(boolean displayJMeterVariables)
+
+
+
+
+
+
+
+
+
+ +

+isDisplayJMeterProperties

+
+public boolean isDisplayJMeterProperties()
+
+
+
+
+
+
+
+
+
+ +

+setDisplayJMeterProperties

+
+public void setDisplayJMeterProperties(boolean displayJMeterPropterties)
+
+
+
+
+
+
+
+
+
+ +

+isDisplaySystemProperties

+
+public boolean isDisplaySystemProperties()
+
+
+
+
+
+
+
+
+
+ +

+setDisplaySystemProperties

+
+public void setDisplaySystemProperties(boolean displaySystemProperties)
+
+
+
+
+
+
+
+
+
+ +

+applies

+
+public boolean applies(ConfigTestElement configElement)
+
+
Description copied from class: AbstractSampler
+
Does configElement apply to Sampler +

+

+
Specified by:
applies in interface ConfigMergabilityIndicator
Overrides:
applies in class AbstractSampler
+
+
+
Parameters:
configElement - ConfigTestElement +
Returns:
boolean
See Also:
AbstractSampler.applies(org.apache.jmeter.config.ConfigTestElement)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/sampler/DebugSamplerBeanInfo.html b/docs/api/org/apache/jmeter/sampler/DebugSamplerBeanInfo.html new file mode 100644 index 00000000000..61e639a0c1c --- /dev/null +++ b/docs/api/org/apache/jmeter/sampler/DebugSamplerBeanInfo.html @@ -0,0 +1,270 @@ + + + + + +DebugSamplerBeanInfo (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.sampler +
+Class DebugSamplerBeanInfo

+
+java.lang.Object
+  extended by java.beans.SimpleBeanInfo
+      extended by org.apache.jmeter.testbeans.BeanInfoSupport
+          extended by org.apache.jmeter.sampler.DebugSamplerBeanInfo
+
+
+
All Implemented Interfaces:
BeanInfo
+
+
+
+
public class DebugSamplerBeanInfo
extends BeanInfoSupport
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.testbeans.BeanInfoSupport
DEFAULT, MULTILINE, NOT_EXPRESSION, NOT_OTHER, NOT_UNDEFINED, RESOURCE_BUNDLE, TAGS, TEXT_LANGUAGE
+ + + + + + + +
Fields inherited from interface java.beans.BeanInfo
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32
+  + + + + + + + + + + +
+Constructor Summary
DebugSamplerBeanInfo() + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testbeans.BeanInfoSupport
createPropertyGroup, getAdditionalBeanInfo, getBeanDescriptor, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getIcon, getMethodDescriptors, getPropertyDescriptors, property, property, property, setIcon
+ + + + + + + +
Methods inherited from class java.beans.SimpleBeanInfo
loadImage
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+DebugSamplerBeanInfo

+
+public DebugSamplerBeanInfo()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/sampler/TestAction.html b/docs/api/org/apache/jmeter/sampler/TestAction.html new file mode 100644 index 00000000000..71ef56adc77 --- /dev/null +++ b/docs/api/org/apache/jmeter/sampler/TestAction.html @@ -0,0 +1,605 @@ + + + + + +TestAction (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.sampler +
+Class TestAction

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.samplers.AbstractSampler
+          extended by org.apache.jmeter.sampler.TestAction
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, ConfigMergabilityIndicator, Searchable, Interruptible, Sampler, TestElement
+
+
+
+
public class TestAction
extends AbstractSampler
implements Interruptible
+ + +

+Dummy Sampler used to pause or stop a thread or the test; + intended for use in Conditional Controllers. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static intPAUSE + +
+           
+static intRESTART_NEXT_LOOP + +
+           
+static intSTOP + +
+           
+static intSTOP_NOW + +
+           
+static intTEST + +
+           
+static intTHREAD + +
+           
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
TestAction() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleanapplies(ConfigTestElement configElement) + +
+          Does configElement apply to Sampler
+ intgetAction() + +
+           
+ StringgetDurationAsString() + +
+           
+ intgetTarget() + +
+           
+ booleaninterrupt() + +
+          Interrupt the current operation if possible.
+ SampleResultsample(Entry e) + +
+          Obtains statistics about the given Entry, and packages the information + into a SampleResult.
+ voidsetAction(int action) + +
+           
+ voidsetDuration(String duration) + +
+           
+ voidsetTarget(int target) + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.testelement.TestElement
addTestElement, canRemove, clear, clearTestElementChildren, clone, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse
+  +

+ + + + + + + + +
+Field Detail
+ +

+STOP

+
+public static final int STOP
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PAUSE

+
+public static final int PAUSE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+STOP_NOW

+
+public static final int STOP_NOW
+
+
+
See Also:
Constant Field Values
+
+
+ +

+RESTART_NEXT_LOOP

+
+public static final int RESTART_NEXT_LOOP
+
+
+
See Also:
Constant Field Values
+
+
+ +

+THREAD

+
+public static final int THREAD
+
+
+
See Also:
Constant Field Values
+
+
+ +

+TEST

+
+public static final int TEST
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+TestAction

+
+public TestAction()
+
+
+ + + + + + + + +
+Method Detail
+ +

+sample

+
+public SampleResult sample(Entry e)
+
+
Obtains statistics about the given Entry, and packages the information + into a SampleResult. +

+

+
Specified by:
sample in interface Sampler
+
+
+
Parameters:
e - the Entry (TODO seems to be unused) +
Returns:
information about the sample
+
+
+
+ +

+setTarget

+
+public void setTarget(int target)
+
+
+
+
+
+
+
+
+
+ +

+getTarget

+
+public int getTarget()
+
+
+
+
+
+
+
+
+
+ +

+setAction

+
+public void setAction(int action)
+
+
+
+
+
+
+
+
+
+ +

+getAction

+
+public int getAction()
+
+
+
+
+
+
+
+
+
+ +

+setDuration

+
+public void setDuration(String duration)
+
+
+
+
+
+
+
+
+
+ +

+getDurationAsString

+
+public String getDurationAsString()
+
+
+
+
+
+
+
+
+
+ +

+applies

+
+public boolean applies(ConfigTestElement configElement)
+
+
Description copied from class: AbstractSampler
+
Does configElement apply to Sampler +

+

+
Specified by:
applies in interface ConfigMergabilityIndicator
Overrides:
applies in class AbstractSampler
+
+
+
Parameters:
configElement - ConfigTestElement +
Returns:
boolean
See Also:
AbstractSampler.applies(org.apache.jmeter.config.ConfigTestElement)
+
+
+
+ +

+interrupt

+
+public boolean interrupt()
+
+
Description copied from interface: Interruptible
+
Interrupt the current operation if possible. +

+

+
Specified by:
interrupt in interface Interruptible
+
+
+ +
Returns:
true if there was an operation to interrupt.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/sampler/gui/TestActionGui.html b/docs/api/org/apache/jmeter/sampler/gui/TestActionGui.html new file mode 100644 index 00000000000..b57d533101c --- /dev/null +++ b/docs/api/org/apache/jmeter/sampler/gui/TestActionGui.html @@ -0,0 +1,525 @@ + + + + + +TestActionGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.sampler.gui +
+Class TestActionGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.samplers.gui.AbstractSamplerGui
+                          extended by org.apache.jmeter.sampler.gui.TestActionGui
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
+
public class TestActionGui
extends AbstractSamplerGui
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
TestActionGui() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclearGui() + +
+          Implements JMeterGUIComponent.clearGui
+ voidconfigure(TestElement element) + +
+          A newly created gui component can be initialized with the contents of a + Test Element object by calling this method.
+ TestElementcreateTestElement() + +
+          JMeter test components are separated into a model and a GUI + representation.
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ voidmodifyTestElement(TestElement element) + +
+          Modifies a given TestElement to mirror the data in the gui components.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.samplers.gui.AbstractSamplerGui
createPopupMenu, getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+TestActionGui

+
+public TestActionGui()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+ +
Returns:
the resource name
+
+
+
+ +

+configure

+
+public void configure(TestElement element)
+
+
Description copied from class: AbstractJMeterGuiComponent
+
A newly created gui component can be initialized with the contents of a + Test Element object by calling this method. The component is responsible + for querying the Test Element object for the relevant information to + display in its GUI. +

+ AbstractJMeterGuiComponent provides a partial implementation of this + method, setting the name of the component and its enabled status. + Subclasses should override this method, performing their own + configuration as needed, but also calling this super-implementation. +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class AbstractJMeterGuiComponent
+
+
+
Parameters:
element - the TestElement to configure
+
+
+
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
Description copied from interface: JMeterGUIComponent
+
JMeter test components are separated into a model and a GUI + representation. The model holds the data and the GUI displays it. The GUI + class is responsible for knowing how to create and initialize with data + the model class that it knows how to display, and this method is called + when new test elements are created. +

+

+ +
Returns:
the Test Element object that the GUI component represents.
See Also:
JMeterGUIComponent.createTestElement()
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement element)
+
+
Modifies a given TestElement to mirror the data in the gui components. +

+

+
Parameters:
element - the TestElement to modify
See Also:
JMeterGUIComponent.modifyTestElement(TestElement)
+
+
+
+ +

+clearGui

+
+public void clearGui()
+
+
Implements JMeterGUIComponent.clearGui +

+

+
Specified by:
clearGui in interface ClearGui
Overrides:
clearGui in class AbstractJMeterGuiComponent
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/sampler/gui/package-frame.html b/docs/api/org/apache/jmeter/sampler/gui/package-frame.html new file mode 100644 index 00000000000..f4bd17b0462 --- /dev/null +++ b/docs/api/org/apache/jmeter/sampler/gui/package-frame.html @@ -0,0 +1,30 @@ + + + + + +org.apache.jmeter.sampler.gui (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.sampler.gui + + + + +
+Classes  + +
+TestActionGui
+ + + + diff --git a/docs/api/org/apache/jmeter/sampler/gui/package-summary.html b/docs/api/org/apache/jmeter/sampler/gui/package-summary.html new file mode 100644 index 00000000000..36bf41b0eed --- /dev/null +++ b/docs/api/org/apache/jmeter/sampler/gui/package-summary.html @@ -0,0 +1,153 @@ + + + + + +org.apache.jmeter.sampler.gui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.sampler.gui +

+ + + + + + + + + +
+Class Summary
TestActionGui 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/sampler/gui/package-tree.html b/docs/api/org/apache/jmeter/sampler/gui/package-tree.html new file mode 100644 index 00000000000..8b694b36716 --- /dev/null +++ b/docs/api/org/apache/jmeter/sampler/gui/package-tree.html @@ -0,0 +1,165 @@ + + + + + +org.apache.jmeter.sampler.gui Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.sampler.gui +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/sampler/package-frame.html b/docs/api/org/apache/jmeter/sampler/package-frame.html new file mode 100644 index 00000000000..9da3c4606b7 --- /dev/null +++ b/docs/api/org/apache/jmeter/sampler/package-frame.html @@ -0,0 +1,34 @@ + + + + + +org.apache.jmeter.sampler (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.sampler + + + + +
+Classes  + +
+DebugSampler +
+DebugSamplerBeanInfo +
+TestAction
+ + + + diff --git a/docs/api/org/apache/jmeter/sampler/package-summary.html b/docs/api/org/apache/jmeter/sampler/package-summary.html new file mode 100644 index 00000000000..3e5758f430f --- /dev/null +++ b/docs/api/org/apache/jmeter/sampler/package-summary.html @@ -0,0 +1,162 @@ + + + + + +org.apache.jmeter.sampler (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.sampler +

+ + + + + + + + + + + + + + + + + +
+Class Summary
DebugSamplerThe Debug Sampler can be used to "sample" JMeter variables, JMeter properties and System Properties.
DebugSamplerBeanInfo 
TestActionDummy Sampler used to pause or stop a thread or the test; + intended for use in Conditional Controllers.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/sampler/package-tree.html b/docs/api/org/apache/jmeter/sampler/package-tree.html new file mode 100644 index 00000000000..bf5cd3dd96e --- /dev/null +++ b/docs/api/org/apache/jmeter/sampler/package-tree.html @@ -0,0 +1,162 @@ + + + + + +org.apache.jmeter.sampler Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.sampler +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/samplers/AbstractSampleSender.html b/docs/api/org/apache/jmeter/samplers/AbstractSampleSender.html new file mode 100644 index 00000000000..94352204c04 --- /dev/null +++ b/docs/api/org/apache/jmeter/samplers/AbstractSampleSender.html @@ -0,0 +1,296 @@ + + + + + +AbstractSampleSender (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.samplers +
+Class AbstractSampleSender

+
+java.lang.Object
+  extended by org.apache.jmeter.samplers.AbstractSampleSender
+
+
+
All Implemented Interfaces:
SampleSender
+
+
+
Direct Known Subclasses:
AsynchSampleSender, BatchSampleSender, DataStrippingSampleSender, DiskStoreSampleSender, HoldSampleSender, StandardSampleSender, StatisticalSampleSender
+
+
+
+
public abstract class AbstractSampleSender
extends Object
implements SampleSender
+ + +

+Base class for SampleSender implementations +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
AbstractSampleSender() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ booleanisClientConfigured() + +
+           
+ voidtestEnded() + +
+          The test ended (probably not used; client-server mode needs a host)
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.samplers.SampleSender
sampleOccurred, testEnded
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+AbstractSampleSender

+
+public AbstractSampleSender()
+
+
+ + + + + + + + +
+Method Detail
+ +

+isClientConfigured

+
+public boolean isClientConfigured()
+
+
+
+
+
+ +
Returns:
boolean indicates how SampleSender configuration is done, true means use client properties and send to servers, false means use server configurations
+
+
+
+ +

+testEnded

+
+public void testEnded()
+
+
Description copied from interface: SampleSender
+
The test ended (probably not used; client-server mode needs a host) +

+

+
Specified by:
testEnded in interface SampleSender
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/samplers/AbstractSampler.html b/docs/api/org/apache/jmeter/samplers/AbstractSampler.html new file mode 100644 index 00000000000..05a433b2eca --- /dev/null +++ b/docs/api/org/apache/jmeter/samplers/AbstractSampler.html @@ -0,0 +1,308 @@ + + + + + +AbstractSampler (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.samplers +
+Class AbstractSampler

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.samplers.AbstractSampler
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, ConfigMergabilityIndicator, Searchable, Sampler, TestElement
+
+
+
Direct Known Subclasses:
BaseJMSSampler, DebugSampler, Example1, Example2, Example3, ExampleSampler, FTPSampler, HTTPSamplerBase, JavaSampler, JMSSampler, JUnitSampler, LDAPExtSampler, LDAPSampler, MailReaderSampler, MongoScriptSampler, SmtpSampler, SystemSampler, TCPSampler, TestAction, TransactionSampler
+
+
+
+
public abstract class AbstractSampler
extends AbstractTestElement
implements Sampler, ConfigMergabilityIndicator
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
AbstractSampler() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ booleanapplies(ConfigTestElement configElement) + +
+          Does configElement apply to Sampler
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.samplers.Sampler
sample
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.testelement.TestElement
addTestElement, canRemove, clear, clearTestElementChildren, clone, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+AbstractSampler

+
+public AbstractSampler()
+
+
+ + + + + + + + +
+Method Detail
+ +

+applies

+
+public boolean applies(ConfigTestElement configElement)
+
+
Does configElement apply to Sampler +

+

+
Specified by:
applies in interface ConfigMergabilityIndicator
+
+
+
Parameters:
configElement - ConfigTestElement +
Returns:
boolean
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/samplers/AsynchSampleSender.html b/docs/api/org/apache/jmeter/samplers/AsynchSampleSender.html new file mode 100644 index 00000000000..4bb685af99d --- /dev/null +++ b/docs/api/org/apache/jmeter/samplers/AsynchSampleSender.html @@ -0,0 +1,323 @@ + + + + + +AsynchSampleSender (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.samplers +
+Class AsynchSampleSender

+
+java.lang.Object
+  extended by org.apache.jmeter.samplers.AbstractSampleSender
+      extended by org.apache.jmeter.samplers.AsynchSampleSender
+
+
+
All Implemented Interfaces:
Serializable, SampleSender
+
+
+
+
public class AsynchSampleSender
extends AbstractSampleSender
implements Serializable
+ + +

+Sends samples in a separate Thread and in Batch mode +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + +
+Constructor Summary
+ AsynchSampleSender() + +
+          Deprecated. only for use by test code
+protected AsynchSampleSender(RemoteSampleListener listener) + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ voidsampleOccurred(SampleEvent e) + +
+          A sample occurred.
+ voidtestEnded(String host) + +
+          The test ended.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.samplers.AbstractSampleSender
isClientConfigured, testEnded
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+AsynchSampleSender

+
+@Deprecated
+public AsynchSampleSender()
+
+
Deprecated. only for use by test code +

+

+
+ +

+AsynchSampleSender

+
+protected AsynchSampleSender(RemoteSampleListener listener)
+
+
+ + + + + + + + +
+Method Detail
+ +

+testEnded

+
+public void testEnded(String host)
+
+
Description copied from interface: SampleSender
+
The test ended. + + This will be called from the engine thread. +

+

+
Specified by:
testEnded in interface SampleSender
+
+
+
Parameters:
host - the host that the test ended on.
+
+
+
+ +

+sampleOccurred

+
+public void sampleOccurred(SampleEvent e)
+
+
Description copied from interface: SampleSender
+
A sample occurred. + + This method will be called from the sampler thread. +

+

+
Specified by:
sampleOccurred in interface SampleSender
+
+
+
Parameters:
e - a Sample Event
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/samplers/BatchSampleSender.html b/docs/api/org/apache/jmeter/samplers/BatchSampleSender.html new file mode 100644 index 00000000000..356171468d3 --- /dev/null +++ b/docs/api/org/apache/jmeter/samplers/BatchSampleSender.html @@ -0,0 +1,374 @@ + + + + + +BatchSampleSender (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.samplers +
+Class BatchSampleSender

+
+java.lang.Object
+  extended by org.apache.jmeter.samplers.AbstractSampleSender
+      extended by org.apache.jmeter.samplers.BatchSampleSender
+
+
+
All Implemented Interfaces:
Serializable, SampleSender
+
+
+
+
public class BatchSampleSender
extends AbstractSampleSender
implements Serializable
+ + +

+Implements batch reporting for remote testing. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + +
+Constructor Summary
+ BatchSampleSender() + +
+          Deprecated. only for use by test code
+protected BatchSampleSender(RemoteSampleListener listener) + +
+          Constructor
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+protected  RemoteSampleListenergetListener() + +
+           
+protected  List<SampleEvent>getSampleStore() + +
+           
+ voidsampleOccurred(SampleEvent e) + +
+          Stores sample events untill either a time or sample threshold is + breached.
+ voidtestEnded(String host) + +
+          Checks if any sample events are still present in the sampleStore and + sends them to the listener.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.samplers.AbstractSampleSender
isClientConfigured, testEnded
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+BatchSampleSender

+
+@Deprecated
+public BatchSampleSender()
+
+
Deprecated. only for use by test code +

+

+
+ +

+BatchSampleSender

+
+protected BatchSampleSender(RemoteSampleListener listener)
+
+
Constructor +

+

+
Parameters:
listener - that the List of sample events will be sent to.
+
+ + + + + + + + +
+Method Detail
+ +

+getListener

+
+protected RemoteSampleListener getListener()
+
+
+
+
+
+ +
Returns:
the listener
+
+
+
+ +

+getSampleStore

+
+protected List<SampleEvent> getSampleStore()
+
+
+
+
+
+ +
Returns:
the sampleStore
+
+
+
+ +

+testEnded

+
+public void testEnded(String host)
+
+
Checks if any sample events are still present in the sampleStore and + sends them to the listener. Informs the listener of the testended. +

+

+
Specified by:
testEnded in interface SampleSender
+
+
+
Parameters:
host - the host that the test has ended on.
+
+
+
+ +

+sampleOccurred

+
+public void sampleOccurred(SampleEvent e)
+
+
Stores sample events untill either a time or sample threshold is + breached. Both thresholds are reset if one fires. If only one threshold + is set it becomes the only value checked against. When a threhold is + breached the list of sample events is sent to a listener where the event + are fired locally. +

+

+
Specified by:
sampleOccurred in interface SampleSender
+
+
+
Parameters:
e - a Sample Event
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/samplers/Clearable.html b/docs/api/org/apache/jmeter/samplers/Clearable.html new file mode 100644 index 00000000000..214c66b88fd --- /dev/null +++ b/docs/api/org/apache/jmeter/samplers/Clearable.html @@ -0,0 +1,214 @@ + + + + + +Clearable (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.samplers +
+Interface Clearable

+
+
All Known Implementing Classes:
AbstractVisualizer, AssertionVisualizer, ComparisonVisualizer, DistributionGraph, DistributionGraphVisualizer, Graph, GraphVisualizer, MailerResultCollector, MailerVisualizer, MainFrame, MainFrame.ErrorsAndFatalsCounterLogTarget, MonitorAccumModel, MonitorGraph, MonitorHealthPanel, MonitorHealthVisualizer, MonitorModel, MonitorPerformancePanel, RespTimeGraphVisualizer, ResultCollector, ResultSaverGui, SimpleDataWriter, SplineModel, SplineVisualizer, StatGraphVisualizer, StatVisualizer, SummaryReport, TableVisualizer, ViewResultsFullVisualizer
+
+
+
+
public interface Clearable
+ + +

+Identifies an object which supports the clearing of run-time data + using the clearData() method. + + Intended for implementation by Listeners. +

+ +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+ voidclearData() + +
+          Clears the current data of the object.
+  +

+ + + + + + + + +
+Method Detail
+ +

+clearData

+
+void clearData()
+
+
Clears the current data of the object. +

+

+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/samplers/DataStrippingSampleSender.html b/docs/api/org/apache/jmeter/samplers/DataStrippingSampleSender.html new file mode 100644 index 00000000000..36a8b15471e --- /dev/null +++ b/docs/api/org/apache/jmeter/samplers/DataStrippingSampleSender.html @@ -0,0 +1,307 @@ + + + + + +DataStrippingSampleSender (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.samplers +
+Class DataStrippingSampleSender

+
+java.lang.Object
+  extended by org.apache.jmeter.samplers.AbstractSampleSender
+      extended by org.apache.jmeter.samplers.DataStrippingSampleSender
+
+
+
All Implemented Interfaces:
Serializable, SampleSender
+
+
+
+
public class DataStrippingSampleSender
extends AbstractSampleSender
implements Serializable
+ + +

+The standard remote sample reporting should be more friendly to the main purpose of + remote testing - which is scalability. To increase scalability, this class strips out the + response data before sending. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
DataStrippingSampleSender() + +
+          Deprecated. only for use by test code
+  + + + + + + + + + + + + + + + +
+Method Summary
+ voidsampleOccurred(SampleEvent event) + +
+          A sample occurred.
+ voidtestEnded(String host) + +
+          The test ended.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.samplers.AbstractSampleSender
isClientConfigured, testEnded
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+DataStrippingSampleSender

+
+@Deprecated
+public DataStrippingSampleSender()
+
+
Deprecated. only for use by test code +

+

+ + + + + + + + +
+Method Detail
+ +

+testEnded

+
+public void testEnded(String host)
+
+
Description copied from interface: SampleSender
+
The test ended. + + This will be called from the engine thread. +

+

+
Specified by:
testEnded in interface SampleSender
+
+
+
Parameters:
host - the host that the test ended on.
+
+
+
+ +

+sampleOccurred

+
+public void sampleOccurred(SampleEvent event)
+
+
Description copied from interface: SampleSender
+
A sample occurred. + + This method will be called from the sampler thread. +

+

+
Specified by:
sampleOccurred in interface SampleSender
+
+
+
Parameters:
event - a Sample Event
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/samplers/DiskStoreSampleSender.html b/docs/api/org/apache/jmeter/samplers/DiskStoreSampleSender.html new file mode 100644 index 00000000000..86ba6edbb4b --- /dev/null +++ b/docs/api/org/apache/jmeter/samplers/DiskStoreSampleSender.html @@ -0,0 +1,305 @@ + + + + + +DiskStoreSampleSender (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.samplers +
+Class DiskStoreSampleSender

+
+java.lang.Object
+  extended by org.apache.jmeter.samplers.AbstractSampleSender
+      extended by org.apache.jmeter.samplers.DiskStoreSampleSender
+
+
+
All Implemented Interfaces:
Serializable, SampleSender
+
+
+
+
public class DiskStoreSampleSender
extends AbstractSampleSender
implements Serializable
+ + +

+Version of HoldSampleSender that stores the samples on disk as a serialised stream. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
DiskStoreSampleSender() + +
+          Deprecated. only for use by test code
+  + + + + + + + + + + + + + + + +
+Method Summary
+ voidsampleOccurred(SampleEvent e) + +
+          A sample occurred.
+ voidtestEnded(String host) + +
+          The test ended.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.samplers.AbstractSampleSender
isClientConfigured, testEnded
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+DiskStoreSampleSender

+
+@Deprecated
+public DiskStoreSampleSender()
+
+
Deprecated. only for use by test code +

+

+ + + + + + + + +
+Method Detail
+ +

+testEnded

+
+public void testEnded(String host)
+
+
Description copied from interface: SampleSender
+
The test ended. + + This will be called from the engine thread. +

+

+
Specified by:
testEnded in interface SampleSender
+
+
+
Parameters:
host - the host that the test ended on.
+
+
+
+ +

+sampleOccurred

+
+public void sampleOccurred(SampleEvent e)
+
+
Description copied from interface: SampleSender
+
A sample occurred. + + This method will be called from the sampler thread. +

+

+
Specified by:
sampleOccurred in interface SampleSender
+
+
+
Parameters:
e - a Sample Event
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/samplers/Entry.html b/docs/api/org/apache/jmeter/samplers/Entry.html new file mode 100644 index 00000000000..7107a0effe6 --- /dev/null +++ b/docs/api/org/apache/jmeter/samplers/Entry.html @@ -0,0 +1,368 @@ + + + + + +Entry (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.samplers +
+Class Entry

+
+java.lang.Object
+  extended by org.apache.jmeter.samplers.Entry
+
+
+
+
public class Entry
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
Entry() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddAssertion(Assertion assertion) + +
+           
+ voidaddConfigElement(ConfigElement config) + +
+           
+ voidaddConfigElement(ConfigElement config, + Class<?> asClass) + +
+          Add a config element as a specific class.
+ List<Assertion>getAssertions() + +
+           
+ ConfigElementgetConfigElement(Class<?> configClass) + +
+           
+ Class<?>getSamplerClass() + +
+           
+ voidsetSamplerClass(Class<?> samplerClass) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Entry

+
+public Entry()
+
+
+ + + + + + + + +
+Method Detail
+ +

+addAssertion

+
+public void addAssertion(Assertion assertion)
+
+
+
+
+
+
+ +

+getAssertions

+
+public List<Assertion> getAssertions()
+
+
+
+
+
+
+ +

+setSamplerClass

+
+public void setSamplerClass(Class<?> samplerClass)
+
+
+
+
+
+
+ +

+getSamplerClass

+
+public Class<?> getSamplerClass()
+
+
+
+
+
+
+ +

+getConfigElement

+
+public ConfigElement getConfigElement(Class<?> configClass)
+
+
+
+
+
+
+ +

+addConfigElement

+
+public void addConfigElement(ConfigElement config)
+
+
+
+
+
+
+ +

+addConfigElement

+
+public void addConfigElement(ConfigElement config,
+                             Class<?> asClass)
+
+
Add a config element as a specific class. Usually this is done to add a + subclass as one of it's parent classes. +

+

+
Parameters:
config - the ConfigElement to be added
asClass - the Class under which the ConfigElement should + be registered
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/samplers/HoldSampleSender.html b/docs/api/org/apache/jmeter/samplers/HoldSampleSender.html new file mode 100644 index 00000000000..4e573821216 --- /dev/null +++ b/docs/api/org/apache/jmeter/samplers/HoldSampleSender.html @@ -0,0 +1,306 @@ + + + + + +HoldSampleSender (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.samplers +
+Class HoldSampleSender

+
+java.lang.Object
+  extended by org.apache.jmeter.samplers.AbstractSampleSender
+      extended by org.apache.jmeter.samplers.HoldSampleSender
+
+
+
All Implemented Interfaces:
Serializable, SampleSender
+
+
+
+
public class HoldSampleSender
extends AbstractSampleSender
implements Serializable
+ + +

+Lars-Erik Helander provided the idea (and original implementation) for the + caching functionality (sampleStore). +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
HoldSampleSender() + +
+          Deprecated. only for use by test code
+  + + + + + + + + + + + + + + + +
+Method Summary
+ voidsampleOccurred(SampleEvent e) + +
+          A sample occurred.
+ voidtestEnded(String host) + +
+          The test ended.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.samplers.AbstractSampleSender
isClientConfigured, testEnded
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+HoldSampleSender

+
+@Deprecated
+public HoldSampleSender()
+
+
Deprecated. only for use by test code +

+

+ + + + + + + + +
+Method Detail
+ +

+testEnded

+
+public void testEnded(String host)
+
+
Description copied from interface: SampleSender
+
The test ended. + + This will be called from the engine thread. +

+

+
Specified by:
testEnded in interface SampleSender
+
+
+
Parameters:
host - the host that the test ended on.
+
+
+
+ +

+sampleOccurred

+
+public void sampleOccurred(SampleEvent e)
+
+
Description copied from interface: SampleSender
+
A sample occurred. + + This method will be called from the sampler thread. +

+

+
Specified by:
sampleOccurred in interface SampleSender
+
+
+
Parameters:
e - a Sample Event
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/samplers/Interruptible.html b/docs/api/org/apache/jmeter/samplers/Interruptible.html new file mode 100644 index 00000000000..dc10d38c5e7 --- /dev/null +++ b/docs/api/org/apache/jmeter/samplers/Interruptible.html @@ -0,0 +1,213 @@ + + + + + +Interruptible (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.samplers +
+Interface Interruptible

+
+
All Known Implementing Classes:
AccessLogSampler, AjpSampler, BeanShellSampler, FTPSampler, HTTPAbstractImpl, HTTPFileImpl, HTTPHC3Impl, HTTPHC4Impl, HTTPHCAbstractImpl, HTTPJavaImpl, HTTPSampler, HTTPSampler2, HTTPSamplerProxy, JMeterThread, MailReaderSampler, SoapSampler, SubscriberSampler, TCPSampler, TestAction
+
+
+
+
public interface Interruptible
+ + +

+Samplers which are able to interrupt a potentially long-running operation should + implement this interface. +

+ +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+ booleaninterrupt() + +
+          Interrupt the current operation if possible.
+  +

+ + + + + + + + +
+Method Detail
+ +

+interrupt

+
+boolean interrupt()
+
+
Interrupt the current operation if possible. +

+

+ +
Returns:
true if there was an operation to interrupt.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/samplers/RemoteListenerWrapper.html b/docs/api/org/apache/jmeter/samplers/RemoteListenerWrapper.html new file mode 100644 index 00000000000..ac05c782d14 --- /dev/null +++ b/docs/api/org/apache/jmeter/samplers/RemoteListenerWrapper.html @@ -0,0 +1,508 @@ + + + + + +RemoteListenerWrapper (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.samplers +
+Class RemoteListenerWrapper

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.samplers.RemoteListenerWrapper
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, NoThreadClone, Searchable, SampleListener, TestElement, TestStateListener
+
+
+
+
public class RemoteListenerWrapper
extends AbstractTestElement
implements SampleListener, TestStateListener, Serializable, NoThreadClone
+ + +

+Lars-Erik Helander provided the idea (and original implementation) for the + caching functionality (sampleStore). +

+ +

+

+
Version:
+
$Revision: 1595401 $
+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + + + + +
+Constructor Summary
RemoteListenerWrapper() + +
+           
RemoteListenerWrapper(RemoteSampleListener l) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidsampleOccurred(SampleEvent e) + +
+          A sample has started and stopped.
+ voidsampleStarted(SampleEvent e) + +
+          A sample has started.
+ voidsampleStopped(SampleEvent e) + +
+          A sample has stopped.
+ voidtestEnded() + +
+           + Called once for all threads after the end of a test.
+ voidtestEnded(String host) + +
+           + Called once for all threads after the end of a test.
+ voidtestStarted() + +
+           + Called just before the start of the test from the main engine thread.
+ voidtestStarted(String host) + +
+           + Called just before the start of the test from the main engine thread.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+RemoteListenerWrapper

+
+public RemoteListenerWrapper(RemoteSampleListener l)
+
+
+
+ +

+RemoteListenerWrapper

+
+public RemoteListenerWrapper()
+
+
+ + + + + + + + +
+Method Detail
+ +

+testStarted

+
+public void testStarted()
+
+
Description copied from interface: TestStateListener
+

+ Called just before the start of the test from the main engine thread. + + This is before the test elements are cloned. + + Note that not all the test + variables will have been set up at this point. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testStarted in interface TestStateListener
+
+
+
See Also:
StandardJMeterEngine.run()
+
+
+
+ +

+testEnded

+
+public void testEnded()
+
+
Description copied from interface: TestStateListener
+

+ Called once for all threads after the end of a test. + + This will use the same element instances as at the start of the test. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testEnded in interface TestStateListener
+
+
+
See Also:
StandardJMeterEngine.stopTest()
+
+
+
+ +

+testStarted

+
+public void testStarted(String host)
+
+
Description copied from interface: TestStateListener
+

+ Called just before the start of the test from the main engine thread. + + This is before the test elements are cloned. + + Note that not all the test + variables will have been set up at this point. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testStarted in interface TestStateListener
+
+
+
Parameters:
host - name of host
See Also:
StandardJMeterEngine.run()
+
+
+
+ +

+testEnded

+
+public void testEnded(String host)
+
+
Description copied from interface: TestStateListener
+

+ Called once for all threads after the end of a test. + + This will use the same element instances as at the start of the test. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testEnded in interface TestStateListener
+
+
+
Parameters:
host - name of host
See Also:
StandardJMeterEngine.stopTest()
+
+
+
+ +

+sampleOccurred

+
+public void sampleOccurred(SampleEvent e)
+
+
Description copied from interface: SampleListener
+
A sample has started and stopped. +

+

+
Specified by:
sampleOccurred in interface SampleListener
+
+
+
Parameters:
e - the SampleEvent that has occurred
+
+
+
+ +

+sampleStarted

+
+public void sampleStarted(SampleEvent e)
+
+
Description copied from interface: SampleListener
+
A sample has started. +

+

+
Specified by:
sampleStarted in interface SampleListener
+
+
+
Parameters:
e - the SampleEvent that has started
+
+
+
+ +

+sampleStopped

+
+public void sampleStopped(SampleEvent e)
+
+
Description copied from interface: SampleListener
+
A sample has stopped. +

+

+
Specified by:
sampleStopped in interface SampleListener
+
+
+
Parameters:
e - the SampleEvent that has stopped
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/samplers/RemoteSampleListener.html b/docs/api/org/apache/jmeter/samplers/RemoteSampleListener.html new file mode 100644 index 00000000000..51a5c5d8b4f --- /dev/null +++ b/docs/api/org/apache/jmeter/samplers/RemoteSampleListener.html @@ -0,0 +1,410 @@ + + + + + +RemoteSampleListener (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.samplers +
+Interface RemoteSampleListener

+
+
All Superinterfaces:
Remote
+
+
+
All Known Implementing Classes:
RemoteSampleListenerImpl
+
+
+
+
public interface RemoteSampleListener
extends Remote
+ + +

+Allows notification on events occurring during the sampling process. + Specifically, when sampling is started, when a specific sample is obtained, + and when sampling is stopped. +

+ +

+

+
Version:
+
$Revision: 1649775 $
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidprocessBatch(List<SampleEvent> samples) + +
+          This method is called remotely and fires a list of samples events + received locally.
+ voidsampleOccurred(SampleEvent e) + +
+          A sample has started and stopped.
+ voidsampleStarted(SampleEvent e) + +
+          A sample has started.
+ voidsampleStopped(SampleEvent e) + +
+          A sample has stopped.
+ voidtestEnded() + +
+           
+ voidtestEnded(String host) + +
+           
+ voidtestStarted() + +
+           
+ voidtestStarted(String host) + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+testStarted

+
+void testStarted()
+                 throws RemoteException
+
+
+
+
+
+ +
Throws: +
RemoteException
+
+
+
+ +

+testStarted

+
+void testStarted(String host)
+                 throws RemoteException
+
+
+
+
+
+ +
Throws: +
RemoteException
+
+
+
+ +

+testEnded

+
+void testEnded()
+               throws RemoteException
+
+
+
+
+
+ +
Throws: +
RemoteException
+
+
+
+ +

+testEnded

+
+void testEnded(String host)
+               throws RemoteException
+
+
+
+
+
+ +
Throws: +
RemoteException
+
+
+
+ +

+processBatch

+
+void processBatch(List<SampleEvent> samples)
+                  throws RemoteException
+
+
This method is called remotely and fires a list of samples events + received locally. The function is to reduce network load when using + remote testing. +

+

+
+
+
+
Parameters:
samples - the list of sample events to be fired locally. +
Throws: +
RemoteException - when calling the remote method fails
+
+
+
+ +

+sampleOccurred

+
+void sampleOccurred(SampleEvent e)
+                    throws RemoteException
+
+
A sample has started and stopped. +

+

+
+
+
+
Parameters:
e - the event with data about the completed sample +
Throws: +
RemoteException - when calling the remote method fails
+
+
+
+ +

+sampleStarted

+
+void sampleStarted(SampleEvent e)
+                   throws RemoteException
+
+
A sample has started. +

+

+
+
+
+
Parameters:
e - the event with data about the started sample +
Throws: +
RemoteException - when calling the remote method fails
+
+
+
+ +

+sampleStopped

+
+void sampleStopped(SampleEvent e)
+                   throws RemoteException
+
+
A sample has stopped. +

+

+
+
+
+
Parameters:
e - the event with data about the stopped sample +
Throws: +
RemoteException - when calling the remote method fails
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/samplers/RemoteSampleListenerImpl.html b/docs/api/org/apache/jmeter/samplers/RemoteSampleListenerImpl.html new file mode 100644 index 00000000000..9d3234cbfd6 --- /dev/null +++ b/docs/api/org/apache/jmeter/samplers/RemoteSampleListenerImpl.html @@ -0,0 +1,541 @@ + + + + + +RemoteSampleListenerImpl (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.samplers +
+Class RemoteSampleListenerImpl

+
+java.lang.Object
+  extended by java.rmi.server.RemoteObject
+      extended by java.rmi.server.RemoteServer
+          extended by java.rmi.server.UnicastRemoteObject
+              extended by org.apache.jmeter.samplers.RemoteSampleListenerImpl
+
+
+
All Implemented Interfaces:
Serializable, Remote, RemoteSampleListener, SampleListener, TestStateListener
+
+
+
+
public class RemoteSampleListenerImpl
extends UnicastRemoteObject
implements RemoteSampleListener, SampleListener, TestStateListener
+ + +

+Implementation of remote sampler listener, also supports TestStateListener +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class java.rmi.server.RemoteObject
ref
+  + + + + + + + + + + +
+Constructor Summary
RemoteSampleListenerImpl(Object listener) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidprocessBatch(List<SampleEvent> samples) + +
+          This method is called remotely and fires a list of samples events + received locally.
+ voidsampleOccurred(SampleEvent e) + +
+          A sample has started and stopped.
+ voidsampleStarted(SampleEvent e) + +
+          A sample has started.
+ voidsampleStopped(SampleEvent e) + +
+          A sample has stopped.
+ voidtestEnded() + +
+           + Called once for all threads after the end of a test.
+ voidtestEnded(String host) + +
+           + Called once for all threads after the end of a test.
+ voidtestStarted() + +
+           + Called just before the start of the test from the main engine thread.
+ voidtestStarted(String host) + +
+           + Called just before the start of the test from the main engine thread.
+ + + + + + + +
Methods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, unexportObject
+ + + + + + + +
Methods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLog
+ + + + + + + +
Methods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toString, toStub
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+RemoteSampleListenerImpl

+
+public RemoteSampleListenerImpl(Object listener)
+                         throws RemoteException
+
+
+ +
Throws: +
RemoteException
+
+ + + + + + + + +
+Method Detail
+ +

+testStarted

+
+public void testStarted()
+
+
Description copied from interface: TestStateListener
+

+ Called just before the start of the test from the main engine thread. + + This is before the test elements are cloned. + + Note that not all the test + variables will have been set up at this point. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testStarted in interface RemoteSampleListener
Specified by:
testStarted in interface TestStateListener
+
+
+
See Also:
StandardJMeterEngine.run()
+
+
+
+ +

+testStarted

+
+public void testStarted(String host)
+
+
Description copied from interface: TestStateListener
+

+ Called just before the start of the test from the main engine thread. + + This is before the test elements are cloned. + + Note that not all the test + variables will have been set up at this point. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testStarted in interface RemoteSampleListener
Specified by:
testStarted in interface TestStateListener
+
+
+
Parameters:
host - name of host
See Also:
StandardJMeterEngine.run()
+
+
+
+ +

+testEnded

+
+public void testEnded()
+
+
Description copied from interface: TestStateListener
+

+ Called once for all threads after the end of a test. + + This will use the same element instances as at the start of the test. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testEnded in interface RemoteSampleListener
Specified by:
testEnded in interface TestStateListener
+
+
+
See Also:
StandardJMeterEngine.stopTest()
+
+
+
+ +

+testEnded

+
+public void testEnded(String host)
+
+
Description copied from interface: TestStateListener
+

+ Called once for all threads after the end of a test. + + This will use the same element instances as at the start of the test. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testEnded in interface RemoteSampleListener
Specified by:
testEnded in interface TestStateListener
+
+
+
Parameters:
host - name of host
See Also:
StandardJMeterEngine.stopTest()
+
+
+
+ +

+processBatch

+
+public void processBatch(List<SampleEvent> samples)
+
+
This method is called remotely and fires a list of samples events + received locally. The function is to reduce network load when using + remote testing. +

+

+
Specified by:
processBatch in interface RemoteSampleListener
+
+
+
Parameters:
samples - the list of sample events to be fired locally
+
+
+
+ +

+sampleOccurred

+
+public void sampleOccurred(SampleEvent e)
+
+
Description copied from interface: RemoteSampleListener
+
A sample has started and stopped. +

+

+
Specified by:
sampleOccurred in interface RemoteSampleListener
Specified by:
sampleOccurred in interface SampleListener
+
+
+
Parameters:
e - the event with data about the completed sample
+
+
+
+ +

+sampleStarted

+
+public void sampleStarted(SampleEvent e)
+
+
A sample has started. +

+

+
Specified by:
sampleStarted in interface RemoteSampleListener
Specified by:
sampleStarted in interface SampleListener
+
+
+
Parameters:
e - the event with data about the started sample
+
+
+
+ +

+sampleStopped

+
+public void sampleStopped(SampleEvent e)
+
+
A sample has stopped. +

+

+
Specified by:
sampleStopped in interface RemoteSampleListener
Specified by:
sampleStopped in interface SampleListener
+
+
+
Parameters:
e - the event with data about the stopped sample
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/samplers/RemoteSampleListenerWrapper.html b/docs/api/org/apache/jmeter/samplers/RemoteSampleListenerWrapper.html new file mode 100644 index 00000000000..dd07ae0d589 --- /dev/null +++ b/docs/api/org/apache/jmeter/samplers/RemoteSampleListenerWrapper.html @@ -0,0 +1,353 @@ + + + + + +RemoteSampleListenerWrapper (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.samplers +
+Class RemoteSampleListenerWrapper

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.samplers.RemoteSampleListenerWrapper
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, NoThreadClone, Searchable, SampleListener, TestElement
+
+
+
+
public class RemoteSampleListenerWrapper
extends AbstractTestElement
implements SampleListener, Serializable, NoThreadClone
+ + +

+

+
Version:
+
$Revision: 1595401 $
+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + + + + +
+Constructor Summary
RemoteSampleListenerWrapper() + +
+           
RemoteSampleListenerWrapper(RemoteSampleListener l) + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidsampleOccurred(SampleEvent e) + +
+          A sample has started and stopped.
+ voidsampleStarted(SampleEvent e) + +
+          A sample has started.
+ voidsampleStopped(SampleEvent e) + +
+          A sample has stopped.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+RemoteSampleListenerWrapper

+
+public RemoteSampleListenerWrapper(RemoteSampleListener l)
+
+
+
+ +

+RemoteSampleListenerWrapper

+
+public RemoteSampleListenerWrapper()
+
+
+ + + + + + + + +
+Method Detail
+ +

+sampleOccurred

+
+public void sampleOccurred(SampleEvent e)
+
+
Description copied from interface: SampleListener
+
A sample has started and stopped. +

+

+
Specified by:
sampleOccurred in interface SampleListener
+
+
+
Parameters:
e - the SampleEvent that has occurred
+
+
+
+ +

+sampleStarted

+
+public void sampleStarted(SampleEvent e)
+
+
Description copied from interface: SampleListener
+
A sample has started. +

+

+
Specified by:
sampleStarted in interface SampleListener
+
+
+
Parameters:
e - the SampleEvent that has started
+
+
+
+ +

+sampleStopped

+
+public void sampleStopped(SampleEvent e)
+
+
Description copied from interface: SampleListener
+
A sample has stopped. +

+

+
Specified by:
sampleStopped in interface SampleListener
+
+
+
Parameters:
e - the SampleEvent that has stopped
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/samplers/RemoteTestListenerWrapper.html b/docs/api/org/apache/jmeter/samplers/RemoteTestListenerWrapper.html new file mode 100644 index 00000000000..acd8eabad80 --- /dev/null +++ b/docs/api/org/apache/jmeter/samplers/RemoteTestListenerWrapper.html @@ -0,0 +1,428 @@ + + + + + +RemoteTestListenerWrapper (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.samplers +
+Class RemoteTestListenerWrapper

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.samplers.RemoteTestListenerWrapper
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, NoThreadClone, Searchable, TestElement, TestStateListener
+
+
+
+
public class RemoteTestListenerWrapper
extends AbstractTestElement
implements TestStateListener, Serializable, NoThreadClone
+ + +

+

+
Version:
+
$Revision: 1595401 $
+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + + + + +
+Constructor Summary
RemoteTestListenerWrapper() + +
+           
RemoteTestListenerWrapper(RemoteSampleListener l) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidtestEnded() + +
+           + Called once for all threads after the end of a test.
+ voidtestEnded(String host) + +
+           + Called once for all threads after the end of a test.
+ voidtestStarted() + +
+           + Called just before the start of the test from the main engine thread.
+ voidtestStarted(String host) + +
+           + Called just before the start of the test from the main engine thread.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+RemoteTestListenerWrapper

+
+public RemoteTestListenerWrapper()
+
+
+
+ +

+RemoteTestListenerWrapper

+
+public RemoteTestListenerWrapper(RemoteSampleListener l)
+
+
+ + + + + + + + +
+Method Detail
+ +

+testStarted

+
+public void testStarted()
+
+
Description copied from interface: TestStateListener
+

+ Called just before the start of the test from the main engine thread. + + This is before the test elements are cloned. + + Note that not all the test + variables will have been set up at this point. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testStarted in interface TestStateListener
+
+
+
See Also:
StandardJMeterEngine.run()
+
+
+
+ +

+testEnded

+
+public void testEnded()
+
+
Description copied from interface: TestStateListener
+

+ Called once for all threads after the end of a test. + + This will use the same element instances as at the start of the test. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testEnded in interface TestStateListener
+
+
+
See Also:
StandardJMeterEngine.stopTest()
+
+
+
+ +

+testStarted

+
+public void testStarted(String host)
+
+
Description copied from interface: TestStateListener
+

+ Called just before the start of the test from the main engine thread. + + This is before the test elements are cloned. + + Note that not all the test + variables will have been set up at this point. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testStarted in interface TestStateListener
+
+
+
Parameters:
host - name of host
See Also:
StandardJMeterEngine.run()
+
+
+
+ +

+testEnded

+
+public void testEnded(String host)
+
+
Description copied from interface: TestStateListener
+

+ Called once for all threads after the end of a test. + + This will use the same element instances as at the start of the test. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testEnded in interface TestStateListener
+
+
+
Parameters:
host - name of host
See Also:
StandardJMeterEngine.stopTest()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/samplers/Remoteable.html b/docs/api/org/apache/jmeter/samplers/Remoteable.html new file mode 100644 index 00000000000..610e55fec7b --- /dev/null +++ b/docs/api/org/apache/jmeter/samplers/Remoteable.html @@ -0,0 +1,172 @@ + + + + + +Remoteable (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.samplers +
+Interface Remoteable

+
+
All Known Implementing Classes:
BackendListener, MailerResultCollector, MainFrame, RemoteThreadsListenerTestElement, ResultCollector, Summariser
+
+
+
+
public interface Remoteable
+ + +

+Marker interface used by ConvertListeners to determine which test elements to wrap + so that the results are processed by the client rather than the server +

+ +

+


+ +

+ +

+ +


+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/samplers/SampleEvent.html b/docs/api/org/apache/jmeter/samplers/SampleEvent.html new file mode 100644 index 00000000000..9fcd6e0d276 --- /dev/null +++ b/docs/api/org/apache/jmeter/samplers/SampleEvent.html @@ -0,0 +1,592 @@ + + + + + +SampleEvent (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.samplers +
+Class SampleEvent

+
+java.lang.Object
+  extended by org.apache.jmeter.samplers.SampleEvent
+
+
+
All Implemented Interfaces:
Serializable
+
+
+
+
public class SampleEvent
extends Object
implements Serializable
+ + +

+Packages information regarding the target of a sample event, such as the + result from that event and the thread group it ran in. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + +
+Field Summary
+static StringHOSTNAME + +
+           
+static StringSAMPLE_VARIABLES + +
+          The property "sample_variables" is used to define additional variables to be saved
+  + + + + + + + + + + + + + + + + + + + + + + +
+Constructor Summary
SampleEvent() + +
+          Constructor used for Unit tests only.
SampleEvent(SampleResult result, + String threadGroup) + +
+          Creates SampleEvent without saving any variables.
SampleEvent(SampleResult result, + String threadGroup, + JMeterVariables jmvars) + +
+          Constructor used for normal samples, saves variable values if any are + defined.
SampleEvent(SampleResult result, + String threadGroup, + JMeterVariables jmvars, + boolean isTransactionSampleEvent) + +
+           
SampleEvent(SampleResult result, + String threadGroup, + String hostname) + +
+          Only intended for use when loading results from a file.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetHostname() + +
+          Get the name of the host for which this event was recorded
+ SampleResultgetResult() + +
+          Get the SampleResult associated with this event
+ StringgetThreadGroup() + +
+          Get the name of the thread group for which this event was recorded
+static intgetVarCount() + +
+          Get the number of defined variables
+static StringgetVarName(int i) + +
+          Get the nth variable name (zero-based)
+ StringgetVarValue(int i) + +
+          Get the nth variable value (zero-based)
+static voidinitSampleVariables() + +
+          Set up the additional variable names to be saved + from the value in the SAMPLE_VARIABLES property
+ booleanisTransactionSampleEvent() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+SAMPLE_VARIABLES

+
+public static final String SAMPLE_VARIABLES
+
+
The property "sample_variables" is used to define additional variables to be saved +

+

+
See Also:
Constant Field Values
+
+
+ +

+HOSTNAME

+
+public static final String HOSTNAME
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+SampleEvent

+
+public SampleEvent()
+
+
Constructor used for Unit tests only. Uses null for the + associated SampleResult and the threadGroup-name. +

+

+
+ +

+SampleEvent

+
+public SampleEvent(SampleResult result,
+                   String threadGroup)
+
+
Creates SampleEvent without saving any variables. +

+ Use by ProxyControl and StatisticalSampleSender. +

+

+
Parameters:
result - The SampleResult to be associated with this event
threadGroup - The name of the thread, the SampleResult was recorded
+
+
+ +

+SampleEvent

+
+public SampleEvent(SampleResult result,
+                   String threadGroup,
+                   JMeterVariables jmvars)
+
+
Constructor used for normal samples, saves variable values if any are + defined. +

+

+
Parameters:
result - The SampleResult to be associated with this event
threadGroup - The name of the thread, the SampleResult was recorded
jmvars - the JMeterVariables of the thread, the + SampleResult was recorded
+
+
+ +

+SampleEvent

+
+public SampleEvent(SampleResult result,
+                   String threadGroup,
+                   String hostname)
+
+
Only intended for use when loading results from a file. +

+

+
Parameters:
result - The SampleResult to be associated with this event
threadGroup - The name of the thread, the SampleResult was recorded
hostname - The name of the host, for which the SampleResult was + recorded
+
+
+ +

+SampleEvent

+
+public SampleEvent(SampleResult result,
+                   String threadGroup,
+                   JMeterVariables jmvars,
+                   boolean isTransactionSampleEvent)
+
+
+
Parameters:
result - The SampleResult to be associated with this event
threadGroup - The name of the thread, the SampleResult was recorded
jmvars - the JMeterVariables of the thread, the + SampleResult was recorded
isTransactionSampleEvent - Flag whether this event is an transaction sample event
+
+ + + + + + + + +
+Method Detail
+ +

+initSampleVariables

+
+public static void initSampleVariables()
+
+
Set up the additional variable names to be saved + from the value in the SAMPLE_VARIABLES property +

+

+
+
+
+
+
+
+
+ +

+getVarCount

+
+public static int getVarCount()
+
+
Get the number of defined variables +

+

+
+
+
+ +
Returns:
the number of variables defined
+
+
+
+ +

+getVarName

+
+public static String getVarName(int i)
+
+
Get the nth variable name (zero-based) +

+

+
+
+
+
Parameters:
i - specifies which variable name should be returned (zero-based) +
Returns:
the variable name of the nth variable
+
+
+
+ +

+getVarValue

+
+public String getVarValue(int i)
+
+
Get the nth variable value (zero-based) +

+

+
+
+
+
Parameters:
i - specifies which variable value should be returned (zero-based) +
Returns:
the value of the nth variable +
Throws: +
JMeterError - when an invalid index i was given
+
+
+
+ +

+getResult

+
+public SampleResult getResult()
+
+
Get the SampleResult associated with this event +

+

+
+
+
+ +
Returns:
the associated SampleResult
+
+
+
+ +

+getThreadGroup

+
+public String getThreadGroup()
+
+
Get the name of the thread group for which this event was recorded +

+

+
+
+
+ +
Returns:
the name of the thread group
+
+
+
+ +

+getHostname

+
+public String getHostname()
+
+
Get the name of the host for which this event was recorded +

+

+
+
+
+ +
Returns:
the name of the host
+
+
+
+ +

+isTransactionSampleEvent

+
+public boolean isTransactionSampleEvent()
+
+
+
+
+
+ +
Returns:
the isTransactionSampleEvent
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/samplers/SampleListener.html b/docs/api/org/apache/jmeter/samplers/SampleListener.html new file mode 100644 index 00000000000..ac1c4897091 --- /dev/null +++ b/docs/api/org/apache/jmeter/samplers/SampleListener.html @@ -0,0 +1,259 @@ + + + + + +SampleListener (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.samplers +
+Interface SampleListener

+
+
All Known Implementing Classes:
BackendListener, BeanShellListener, BSFListener, JSR223Listener, MailerResultCollector, RemoteListenerWrapper, RemoteSampleListenerImpl, RemoteSampleListenerWrapper, ResultAction, ResultCollector, ResultSaver, Summariser, TransactionController
+
+
+
+
public interface SampleListener
+ + +

+Allows notification on events occurring during the sampling process. + Specifically, when sampling is started, when a specific sample is obtained, + and when sampling is stopped. +

+ +

+

+
Version:
+
$Revision: 1647215 $
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidsampleOccurred(SampleEvent e) + +
+          A sample has started and stopped.
+ voidsampleStarted(SampleEvent e) + +
+          A sample has started.
+ voidsampleStopped(SampleEvent e) + +
+          A sample has stopped.
+  +

+ + + + + + + + +
+Method Detail
+ +

+sampleOccurred

+
+void sampleOccurred(SampleEvent e)
+
+
A sample has started and stopped. +

+

+
Parameters:
e - the SampleEvent that has occurred
+
+
+
+ +

+sampleStarted

+
+void sampleStarted(SampleEvent e)
+
+
A sample has started. +

+

+
Parameters:
e - the SampleEvent that has started
+
+
+
+ +

+sampleStopped

+
+void sampleStopped(SampleEvent e)
+
+
A sample has stopped. +

+

+
Parameters:
e - the SampleEvent that has stopped
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/samplers/SampleResult.html b/docs/api/org/apache/jmeter/samplers/SampleResult.html new file mode 100644 index 00000000000..9314cb78d50 --- /dev/null +++ b/docs/api/org/apache/jmeter/samplers/SampleResult.html @@ -0,0 +1,2958 @@ + + + + + +SampleResult (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.samplers +
+Class SampleResult

+
+java.lang.Object
+  extended by org.apache.jmeter.samplers.SampleResult
+
+
+
All Implemented Interfaces:
Serializable, Cloneable
+
+
+
Direct Known Subclasses:
HTTPSampleResult, StatisticalSampleResult
+
+
+
+
public class SampleResult
extends Object
implements Serializable, Cloneable
+ + +

+This is a nice packaging for the various information returned from taking a + sample of an entry. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static StringBINARY + +
+          Data type value indicating that the response data is binary.
+protected static StringDEFAULT_ENCODING + +
+          The default encoding to be used to decode the responseData byte array.
+static StringDEFAULT_HTTP_ENCODING + +
+          The default encoding to be used if not overridden.
+static byte[]EMPTY_BA + +
+          empty array which can be returned instead of null
+static StringTEXT + +
+          Data type value indicating that the response data is text.
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Constructor Summary
+ SampleResult() + +
+           
+protected SampleResult(long elapsed, + boolean atend) + +
+          Create a sample with a specific elapsed time but don't allow the times to + be changed later + + (only used by HTTPSampleResult)
+ SampleResult(long stamp, + long elapsed) + +
+          Allow users to create a sample with specific timestamp and elapsed times + for cloning purposes, but don't allow the times to be changed later + + Currently used by OldSaveService, CSVSaveService and + StatisticalSampleResult
+ SampleResult(SampleResult res) + +
+          Copy constructor.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddAssertionResult(AssertionResult assertResult) + +
+           
+ voidaddRawSubResult(SampleResult subResult) + +
+          Add a subresult to the collection without updating any parent fields.
+ voidaddSubResult(SampleResult subResult) + +
+          Add a subresult and adjust the parent byte count and end-time.
+ voidcleanAfterSample() + +
+          Clean up cached data
+ Objectclone() + +
+           
+ voidconnectEnd() + +
+          Set the time to the end of connecting
+static SampleResultcreateTestSample(long elapsed) + +
+          Create a sample with a specific elapsed time for test purposes, but don't + allow the times to be changed later
+static SampleResultcreateTestSample(long start, + long end) + +
+          Create a sample with specific start and end times for test purposes, but + don't allow the times to be changed later + + (used by StatVisualizerModel.Test)
+ longcurrentTimeInMillis() + +
+          Helper method to get 1 ms resolution timing.
+ intgetAllThreads() + +
+           
+ AssertionResult[]getAssertionResults() + +
+          Gets the assertion results associated with this sample.
+ intgetBodySize() + +
+           
+ intgetBytes() + +
+          return the bytes returned by the response.
+ longgetConnectTime() + +
+           
+ StringgetContentType() + +
+           
+ StringgetDataEncodingNoDefault() + +
+          Returns the dataEncoding.
+ StringgetDataEncodingWithDefault() + +
+          Returns the dataEncoding or the default if no dataEncoding was provided.
+protected  StringgetDataEncodingWithDefault(String defaultEncoding) + +
+          Returns the dataEncoding or the default if no dataEncoding was provided.
+ StringgetDataType() + +
+           
+ longgetEndTime() + +
+           
+ intgetErrorCount() + +
+          Returns the count of errors.
+ intgetGroupThreads() + +
+           
+ intgetHeadersSize() + +
+          Get the headers size in bytes
+ longgetIdleTime() + +
+           
+ longgetLatency() + +
+           
+ StringgetMediaType() + +
+          Get the media type from the Content Type
+ SampleResultgetParent() + +
+           
+ StringgetRequestHeaders() + +
+           
+ StringgetResponseCode() + +
+           
+ byte[]getResponseData() + +
+          Gets the responseData attribute of the SampleResult object.
+ StringgetResponseDataAsString() + +
+          Gets the responseData of the SampleResult object as a String
+ StringgetResponseHeaders() + +
+           
+ StringgetResponseMessage() + +
+           
+ StringgetResultFileName() + +
+           
+ intgetSampleCount() + +
+          return the sample count. by default, the value is 1.
+ StringgetSampleLabel() + +
+           
+ StringgetSampleLabel(boolean includeGroup) + +
+          Get the sample label for use in summary reports etc.
+ StringgetSamplerData() + +
+           
+ SampleSaveConfigurationgetSaveConfig() + +
+           
+ longgetStartTime() + +
+           
+ SampleResult[]getSubResults() + +
+          Gets the subresults associated with this sample.
+ StringgetThreadName() + +
+           
+ longgetTime() + +
+          Get the time it took this sample to occur.
+ longgetTimeStamp() + +
+          Get the sample timestamp, which may be either the start time or the end time.
+ URLgetURL() + +
+           
+ StringgetUrlAsString() + +
+          Get a String representation of the URL (if defined).
+ booleanisMonitor() + +
+          If the sampler is a monitor, method will return true.
+ booleanisResponseCodeOK() + +
+           
+ booleanisStampedAtStart() + +
+           
+ booleanisStartNextThreadLoop() + +
+           
+ booleanisStopTest() + +
+           
+ booleanisStopTestNow() + +
+           
+ booleanisStopThread() + +
+           
+ booleanisSuccessful() + +
+           
+ voidlatencyEnd() + +
+          Set the time to the first response
+ booleanmarkFile(String filename) + +
+          Set the "marked" flag to show that the result has been written to the file.
+ voidremoveAssertionResults() + +
+          Allow custom SampleSenders to drop unwanted assertionResults
+ voidremoveSubResults() + +
+          Allow custom SampleSenders to drop unwanted subResults
+ voidsampleEnd() + +
+          Record the end time of a sample and calculate the elapsed time
+ voidsamplePause() + +
+          Pause a sample
+ voidsampleResume() + +
+          Resume a sample
+ voidsampleStart() + +
+          Record the start time of a sample
+ voidsetAllThreads(int n) + +
+           
+ voidsetBodySize(int bodySize) + +
+           
+ voidsetBytes(int length) + +
+          In the event the sampler does want to pass back the actual contents, we + still want to calculate the throughput.
+ voidsetConnectTime(long time) + +
+          This is only intended for use by SampleResultConverter!
+ voidsetContentType(String string) + +
+          Stores the content-type string, e.g.
+ voidsetDataEncoding(String dataEncoding) + +
+          Sets the dataEncoding.
+ voidsetDataType(String dataType) + +
+           
+ voidsetEncodingAndType(String ct) + +
+          Extract and save the DataEncoding and DataType from the parameter provided.
+ voidsetEndTime(long end) + +
+           
+ voidsetErrorCount(int i) + +
+           
+ voidsetGroupThreads(int n) + +
+           
+ voidsetHeadersSize(int size) + +
+          Set the headers size in bytes
+ voidsetIdleTime(long idle) + +
+          Set idle time pause.
+ voidsetLatency(long latency) + +
+          This is only intended for use by SampleResultConverter!
+ voidsetMonitor(boolean monitor) + +
+          When a Sampler is working as a monitor
+ voidsetParent(SampleResult parent) + +
+           
+ voidsetRequestHeaders(String string) + +
+           
+ voidsetResponseCode(String code) + +
+           
+ voidsetResponseCodeOK() + +
+          Set response code to OK, i.e. "200"
+ voidsetResponseData(byte[] response) + +
+          Sets the responseData attribute of the SampleResult object.
+ voidsetResponseData(String response) + +
+          Deprecated. - only intended for use from BeanShell code
+ voidsetResponseData(String response, + String encoding) + +
+          Sets the encoding and responseData attributes of the SampleResult object.
+ voidsetResponseHeaders(String string) + +
+           
+ voidsetResponseMessage(String msg) + +
+           
+ voidsetResponseMessageOK() + +
+           
+ voidsetResponseOK() + +
+          Set result statuses OK - shorthand method to set: + + ResponseCode + ResponseMessage + Successful status +
+ voidsetResultFileName(String resultFileName) + +
+           
+ voidsetSampleCount(int count) + +
+          The statistical sample sender aggregates several samples to save on + transmission costs.
+ voidsetSampleLabel(String label) + +
+           
+ voidsetSamplerData(String s) + +
+           
+ voidsetSaveConfig(SampleSaveConfiguration propertiesToSave) + +
+           
+ voidsetStampAndTime(long stamp, + long elapsed) + +
+          For use by SaveService only.
+ voidsetStartNextThreadLoop(boolean startNextThreadLoop) + +
+           
+protected  voidsetStartTime(long start) + +
+           
+ voidsetStopTest(boolean b) + +
+           
+ voidsetStopTestNow(boolean b) + +
+           
+ voidsetStopThread(boolean b) + +
+           
+ voidsetSuccessful(boolean success) + +
+          Sets the successful attribute of the SampleResult object.
+ voidsetThreadName(String threadName) + +
+           
+ voidsetTimeStamp(long timeStamp) + +
+          This is only intended for use by SampleResultConverter!
+ voidsetURL(URL location) + +
+           
+ voidstoreSubResult(SampleResult subResult) + +
+          Add a subresult read from a results file.
+ StringtoString() + +
+          Returns the display name.
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+DEFAULT_HTTP_ENCODING

+
+public static final String DEFAULT_HTTP_ENCODING
+
+
The default encoding to be used if not overridden. + The value is ISO-8859-1. +

+

+
See Also:
Constant Field Values
+
+
+ +

+DEFAULT_ENCODING

+
+protected static final String DEFAULT_ENCODING
+
+
The default encoding to be used to decode the responseData byte array. + The value is defined by the property "sampleresult.default.encoding" + with a default of DEFAULT_HTTP_ENCODING if that is not defined. +

+

+
+
+
+ +

+TEXT

+
+public static final String TEXT
+
+
Data type value indicating that the response data is text. +

+

+
See Also:
getDataType(), +setDataType(java.lang.String), +Constant Field Values
+
+
+ +

+BINARY

+
+public static final String BINARY
+
+
Data type value indicating that the response data is binary. +

+

+
See Also:
getDataType(), +setDataType(java.lang.String), +Constant Field Values
+
+
+ +

+EMPTY_BA

+
+public static final byte[] EMPTY_BA
+
+
empty array which can be returned instead of null +

+

+
+
+ + + + + + + + +
+Constructor Detail
+ +

+SampleResult

+
+public SampleResult()
+
+
+
+ +

+SampleResult

+
+public SampleResult(SampleResult res)
+
+
Copy constructor. +

+

+
Parameters:
res - existing sample result
+
+
+ +

+SampleResult

+
+protected SampleResult(long elapsed,
+                       boolean atend)
+
+
Create a sample with a specific elapsed time but don't allow the times to + be changed later + + (only used by HTTPSampleResult) +

+

+
Parameters:
elapsed - time
atend - create the sample finishing now, else starting now
+
+
+ +

+SampleResult

+
+public SampleResult(long stamp,
+                    long elapsed)
+
+
Allow users to create a sample with specific timestamp and elapsed times + for cloning purposes, but don't allow the times to be changed later + + Currently used by OldSaveService, CSVSaveService and + StatisticalSampleResult +

+

+
Parameters:
stamp - this may be a start time or an end time (both in + milliseconds)
elapsed - time in milliseconds
+
+ + + + + + + + +
+Method Detail
+ +

+setSaveConfig

+
+public void setSaveConfig(SampleSaveConfiguration propertiesToSave)
+
+
+
+
+
+
Parameters:
propertiesToSave - The propertiesToSave to set.
+
+
+
+ +

+getSaveConfig

+
+public SampleSaveConfiguration getSaveConfig()
+
+
+
+
+
+
+
+
+
+ +

+isStampedAtStart

+
+public boolean isStampedAtStart()
+
+
+
+
+
+
+
+
+
+ +

+createTestSample

+
+public static SampleResult createTestSample(long start,
+                                            long end)
+
+
Create a sample with specific start and end times for test purposes, but + don't allow the times to be changed later + + (used by StatVisualizerModel.Test) +

+

+
+
+
+
Parameters:
start - start time in milliseconds since unix epoch
end - end time in milliseconds since unix epoch +
Returns:
sample with given start and end time
+
+
+
+ +

+createTestSample

+
+public static SampleResult createTestSample(long elapsed)
+
+
Create a sample with a specific elapsed time for test purposes, but don't + allow the times to be changed later +

+

+
+
+
+
Parameters:
elapsed - - desired elapsed time in milliseconds +
Returns:
sample that starts 'now' and ends elapsed milliseconds later
+
+
+
+ +

+currentTimeInMillis

+
+public long currentTimeInMillis()
+
+
Helper method to get 1 ms resolution timing. +

+

+
+
+
+ +
Returns:
the current time in milliseconds +
Throws: +
RuntimeException - when useNanoTime is true but + nanoTimeOffset is not set
+
+
+
+ +

+setStampAndTime

+
+public void setStampAndTime(long stamp,
+                            long elapsed)
+
+
For use by SaveService only. +

+

+
+
+
+
Parameters:
stamp - this may be a start time or an end time (both in milliseconds)
elapsed - time in milliseconds +
Throws: +
RuntimeException - when startTime or endTime has been + set already
+
+
+
+ +

+markFile

+
+public boolean markFile(String filename)
+
+
Set the "marked" flag to show that the result has been written to the file. +

+

+
+
+
+
Parameters:
filename - the name of the file +
Returns:
true if the result was previously marked
+
+
+
+ +

+getResponseCode

+
+public String getResponseCode()
+
+
+
+
+
+
+
+
+
+ +

+setResponseCodeOK

+
+public void setResponseCodeOK()
+
+
Set response code to OK, i.e. "200" +

+

+
+
+
+
+
+
+
+ +

+setResponseCode

+
+public void setResponseCode(String code)
+
+
+
+
+
+
+
+
+
+ +

+isResponseCodeOK

+
+public boolean isResponseCodeOK()
+
+
+
+
+
+
+
+
+
+ +

+getResponseMessage

+
+public String getResponseMessage()
+
+
+
+
+
+
+
+
+
+ +

+setResponseMessage

+
+public void setResponseMessage(String msg)
+
+
+
+
+
+
+
+
+
+ +

+setResponseMessageOK

+
+public void setResponseMessageOK()
+
+
+
+
+
+
+
+
+
+ +

+setResponseOK

+
+public void setResponseOK()
+
+
Set result statuses OK - shorthand method to set: +
    +
  • ResponseCode
  • +
  • ResponseMessage
  • +
  • Successful status
  • +
+

+

+
+
+
+
+
+
+
+ +

+getThreadName

+
+public String getThreadName()
+
+
+
+
+
+
+
+
+
+ +

+setThreadName

+
+public void setThreadName(String threadName)
+
+
+
+
+
+
+
+
+
+ +

+getTimeStamp

+
+public long getTimeStamp()
+
+
Get the sample timestamp, which may be either the start time or the end time. +

+

+
+
+
+ +
Returns:
timeStamp in milliseconds
See Also:
getStartTime(), +getEndTime()
+
+
+
+ +

+getSampleLabel

+
+public String getSampleLabel()
+
+
+
+
+
+
+
+
+
+ +

+getSampleLabel

+
+public String getSampleLabel(boolean includeGroup)
+
+
Get the sample label for use in summary reports etc. +

+

+
+
+
+
Parameters:
includeGroup - whether to include the thread group name +
Returns:
the label
+
+
+
+ +

+setSampleLabel

+
+public void setSampleLabel(String label)
+
+
+
+
+
+
+
+
+
+ +

+addAssertionResult

+
+public void addAssertionResult(AssertionResult assertResult)
+
+
+
+
+
+
+
+
+
+ +

+getAssertionResults

+
+public AssertionResult[] getAssertionResults()
+
+
Gets the assertion results associated with this sample. +

+

+
+
+
+ +
Returns:
an array containing the assertion results for this sample. + Returns empty array if there are no assertion results.
+
+
+
+ +

+addSubResult

+
+public void addSubResult(SampleResult subResult)
+
+
Add a subresult and adjust the parent byte count and end-time. +

+

+
+
+
+
Parameters:
subResult - the SampleResult to be added
+
+
+
+ +

+addRawSubResult

+
+public void addRawSubResult(SampleResult subResult)
+
+
Add a subresult to the collection without updating any parent fields. +

+

+
+
+
+
Parameters:
subResult - the SampleResult to be added
+
+
+
+ +

+storeSubResult

+
+public void storeSubResult(SampleResult subResult)
+
+
Add a subresult read from a results file. +

+ As for addSubResult(SampleResult), except that the fields don't need to be + accumulated +

+

+
+
+
+
Parameters:
subResult - the SampleResult to be added
+
+
+
+ +

+getSubResults

+
+public SampleResult[] getSubResults()
+
+
Gets the subresults associated with this sample. +

+

+
+
+
+ +
Returns:
an array containing the subresults for this sample. Returns an + empty array if there are no subresults.
+
+
+
+ +

+setResponseData

+
+public void setResponseData(byte[] response)
+
+
Sets the responseData attribute of the SampleResult object. + + If the parameter is null, then the responseData is set to an empty byte array. + This ensures that getResponseData() can never be null. +

+

+
+
+
+
Parameters:
response - the new responseData value
+
+
+
+ +

+setResponseData

+
+@Deprecated
+public void setResponseData(String response)
+
+
Deprecated. - only intended for use from BeanShell code +

+

Sets the responseData attribute of the SampleResult object. + Should only be called after setting the dataEncoding (if necessary) +

+

+
+
+
+
Parameters:
response - the new responseData value (String)
+
+
+
+ +

+setResponseData

+
+public void setResponseData(String response,
+                            String encoding)
+
+
Sets the encoding and responseData attributes of the SampleResult object. +

+

+
+
+
+
Parameters:
response - the new responseData value (String)
encoding - the encoding to set and then use (if null, use platform default)
+
+
+
+ +

+getResponseData

+
+public byte[] getResponseData()
+
+
Gets the responseData attribute of the SampleResult object. +

+ Note that some samplers may not store all the data, in which case + getResponseData().length will be incorrect. + + Instead, always use getBytes() to obtain the sample result byte count. +

+

+

+
+
+
+ +
Returns:
the responseData value (cannot be null)
+
+
+
+ +

+getResponseDataAsString

+
+public String getResponseDataAsString()
+
+
Gets the responseData of the SampleResult object as a String +

+

+
+
+
+ +
Returns:
the responseData value as a String, converted according to the encoding
+
+
+
+ +

+setSamplerData

+
+public void setSamplerData(String s)
+
+
+
+
+
+
+
+
+
+ +

+getSamplerData

+
+public String getSamplerData()
+
+
+
+
+
+
+
+
+
+ +

+getTime

+
+public long getTime()
+
+
Get the time it took this sample to occur. +

+

+
+
+
+ +
Returns:
elapsed time in milliseonds
+
+
+
+ +

+isSuccessful

+
+public boolean isSuccessful()
+
+
+
+
+
+
+
+
+
+ +

+setDataType

+
+public void setDataType(String dataType)
+
+
+
+
+
+
+
+
+
+ +

+getDataType

+
+public String getDataType()
+
+
+
+
+
+
+
+
+
+ +

+setEncodingAndType

+
+public void setEncodingAndType(String ct)
+
+
Extract and save the DataEncoding and DataType from the parameter provided. + Does not save the full content Type. +

+

+
+
+
+
Parameters:
ct - - content type (may be null)
See Also:
which should be used to save the full content-type string
+
+
+
+ +

+setSuccessful

+
+public void setSuccessful(boolean success)
+
+
Sets the successful attribute of the SampleResult object. +

+

+
+
+
+
Parameters:
success - the new successful value
+
+
+
+ +

+toString

+
+public String toString()
+
+
Returns the display name. +

+

+
Overrides:
toString in class Object
+
+
+ +
Returns:
display name of this sample result
+
+
+
+ +

+getDataEncodingWithDefault

+
+public String getDataEncodingWithDefault()
+
+
Returns the dataEncoding or the default if no dataEncoding was provided. +

+

+
+
+
+ +
Returns:
the value of the dataEncoding or DEFAULT_ENCODING
+
+
+
+ +

+getDataEncodingWithDefault

+
+protected String getDataEncodingWithDefault(String defaultEncoding)
+
+
Returns the dataEncoding or the default if no dataEncoding was provided. +

+

+
+
+
+
Parameters:
defaultEncoding - the default to be applied +
Returns:
the value of the dataEncoding or the provided default
+
+
+
+ +

+getDataEncodingNoDefault

+
+public String getDataEncodingNoDefault()
+
+
Returns the dataEncoding. May be null or the empty String. +

+

+
+
+
+ +
Returns:
the value of the dataEncoding
+
+
+
+ +

+setDataEncoding

+
+public void setDataEncoding(String dataEncoding)
+
+
Sets the dataEncoding. +

+

+
+
+
+
Parameters:
dataEncoding - the dataEncoding to set, e.g. ISO-8895-1, UTF-8
+
+
+
+ +

+isStopTest

+
+public boolean isStopTest()
+
+
+
+
+
+ +
Returns:
whether to stop the test
+
+
+
+ +

+isStopTestNow

+
+public boolean isStopTestNow()
+
+
+
+
+
+ +
Returns:
whether to stop the test now
+
+
+
+ +

+isStopThread

+
+public boolean isStopThread()
+
+
+
+
+
+ +
Returns:
whether to stop this thread
+
+
+
+ +

+setStopTest

+
+public void setStopTest(boolean b)
+
+
+
+
+
+
+
+
+
+ +

+setStopTestNow

+
+public void setStopTestNow(boolean b)
+
+
+
+
+
+
+
+
+
+ +

+setStopThread

+
+public void setStopThread(boolean b)
+
+
+
+
+
+
+
+
+
+ +

+getRequestHeaders

+
+public String getRequestHeaders()
+
+
+
+
+
+ +
Returns:
the request headers
+
+
+
+ +

+getResponseHeaders

+
+public String getResponseHeaders()
+
+
+
+
+
+ +
Returns:
the response headers
+
+
+
+ +

+setRequestHeaders

+
+public void setRequestHeaders(String string)
+
+
+
+
+
+
Parameters:
string - - + request headers
+
+
+
+ +

+setResponseHeaders

+
+public void setResponseHeaders(String string)
+
+
+
+
+
+
Parameters:
string - - + response headers
+
+
+
+ +

+getContentType

+
+public String getContentType()
+
+
+
+
+
+ +
Returns:
the full content type - e.g. text/html [;charset=utf-8 ]
+
+
+
+ +

+getMediaType

+
+public String getMediaType()
+
+
Get the media type from the Content Type +

+

+
+
+
+ +
Returns:
the media type - e.g. text/html (without charset, if any)
+
+
+
+ +

+setContentType

+
+public void setContentType(String string)
+
+
Stores the content-type string, e.g. text/xml; charset=utf-8 +

+

+
+
+
+
Parameters:
string - the content-type to be set
See Also:
which can be used to extract the charset.
+
+
+
+ +

+getIdleTime

+
+public long getIdleTime()
+
+
+
+
+
+ +
Returns:
idleTime
+
+
+
+ +

+getEndTime

+
+public long getEndTime()
+
+
+
+
+
+ +
Returns:
the end time
+
+
+
+ +

+getStartTime

+
+public long getStartTime()
+
+
+
+
+
+ +
Returns:
the start time
+
+
+
+ +

+setStartTime

+
+protected final void setStartTime(long start)
+
+
+
+
+
+
+
+
+
+ +

+setEndTime

+
+public void setEndTime(long end)
+
+
+
+
+
+
+
+
+
+ +

+setIdleTime

+
+public void setIdleTime(long idle)
+
+
Set idle time pause. + For use by SampleResultConverter/CSVSaveService. +

+

+
+
+
+
Parameters:
idle - long
+
+
+
+ +

+sampleStart

+
+public void sampleStart()
+
+
Record the start time of a sample +

+

+
+
+
+
+
+
+
+ +

+sampleEnd

+
+public void sampleEnd()
+
+
Record the end time of a sample and calculate the elapsed time +

+

+
+
+
+
+
+
+
+ +

+samplePause

+
+public void samplePause()
+
+
Pause a sample +

+

+
+
+
+
+
+
+
+ +

+sampleResume

+
+public void sampleResume()
+
+
Resume a sample +

+

+
+
+
+
+
+
+
+ +

+setMonitor

+
+public void setMonitor(boolean monitor)
+
+
When a Sampler is working as a monitor +

+

+
+
+
+
Parameters:
monitor - flag whether this sampler is working as a monitor
+
+
+
+ +

+isMonitor

+
+public boolean isMonitor()
+
+
If the sampler is a monitor, method will return true. +

+

+
+
+
+ +
Returns:
true if the sampler is a monitor
+
+
+
+ +

+setSampleCount

+
+public void setSampleCount(int count)
+
+
The statistical sample sender aggregates several samples to save on + transmission costs. +

+

+
+
+
+
Parameters:
count - number of samples represented by this instance
+
+
+
+ +

+getSampleCount

+
+public int getSampleCount()
+
+
return the sample count. by default, the value is 1. +

+

+
+
+
+ +
Returns:
the sample count
+
+
+
+ +

+getErrorCount

+
+public int getErrorCount()
+
+
Returns the count of errors. +

+

+
+
+
+ +
Returns:
0 - or 1 if the sample failed + + TODO do we need allow for nested samples?
+
+
+
+ +

+setErrorCount

+
+public void setErrorCount(int i)
+
+
+
+
+
+
+
+
+
+ +

+setBytes

+
+public void setBytes(int length)
+
+
In the event the sampler does want to pass back the actual contents, we + still want to calculate the throughput. The bytes are the bytes of the + response data. +

+

+
+
+
+
Parameters:
length - the number of bytes of the response data for this sample
+
+
+
+ +

+getBytes

+
+public int getBytes()
+
+
return the bytes returned by the response. +

+

+
+
+
+ +
Returns:
byte count
+
+
+
+ +

+getLatency

+
+public long getLatency()
+
+
+
+
+
+ +
Returns:
Returns the latency.
+
+
+
+ +

+latencyEnd

+
+public void latencyEnd()
+
+
Set the time to the first response +

+

+
+
+
+
+
+
+
+ +

+setLatency

+
+public void setLatency(long latency)
+
+
This is only intended for use by SampleResultConverter! +

+

+
+
+
+
Parameters:
latency - The latency to set.
+
+
+
+ +

+getConnectTime

+
+public long getConnectTime()
+
+
+
+
+
+ +
Returns:
Returns the connect time.
+
+
+
+ +

+connectEnd

+
+public void connectEnd()
+
+
Set the time to the end of connecting +

+

+
+
+
+
+
+
+
+ +

+setConnectTime

+
+public void setConnectTime(long time)
+
+
This is only intended for use by SampleResultConverter! +

+

+
+
+
+
Parameters:
time - The connect time to set.
+
+
+
+ +

+setTimeStamp

+
+public void setTimeStamp(long timeStamp)
+
+
This is only intended for use by SampleResultConverter! +

+

+
+
+
+
Parameters:
timeStamp - The timeStamp to set.
+
+
+
+ +

+setURL

+
+public void setURL(URL location)
+
+
+
+
+
+
+
+
+
+ +

+getURL

+
+public URL getURL()
+
+
+
+
+
+
+
+
+
+ +

+getUrlAsString

+
+public String getUrlAsString()
+
+
Get a String representation of the URL (if defined). +

+

+
+
+
+ +
Returns:
ExternalForm of URL, or empty string if url is null
+
+
+
+ +

+getParent

+
+public SampleResult getParent()
+
+
+
+
+
+ +
Returns:
Returns the parent.
+
+
+
+ +

+setParent

+
+public void setParent(SampleResult parent)
+
+
+
+
+
+
Parameters:
parent - The parent to set.
+
+
+
+ +

+getResultFileName

+
+public String getResultFileName()
+
+
+
+
+
+
+
+
+
+ +

+setResultFileName

+
+public void setResultFileName(String resultFileName)
+
+
+
+
+
+
+
+
+
+ +

+getGroupThreads

+
+public int getGroupThreads()
+
+
+
+
+
+
+
+
+
+ +

+setGroupThreads

+
+public void setGroupThreads(int n)
+
+
+
+
+
+
+
+
+
+ +

+getAllThreads

+
+public int getAllThreads()
+
+
+
+
+
+
+
+
+
+ +

+setAllThreads

+
+public void setAllThreads(int n)
+
+
+
+
+
+
+
+
+
+ +

+removeAssertionResults

+
+public void removeAssertionResults()
+
+
Allow custom SampleSenders to drop unwanted assertionResults +

+

+
+
+
+
+
+
+
+ +

+removeSubResults

+
+public void removeSubResults()
+
+
Allow custom SampleSenders to drop unwanted subResults +

+

+
+
+
+
+
+
+
+ +

+setHeadersSize

+
+public void setHeadersSize(int size)
+
+
Set the headers size in bytes +

+

+
+
+
+
Parameters:
size - the number of bytes of the header
+
+
+
+ +

+getHeadersSize

+
+public int getHeadersSize()
+
+
Get the headers size in bytes +

+

+
+
+
+ +
Returns:
the headers size
+
+
+
+ +

+getBodySize

+
+public int getBodySize()
+
+
+
+
+
+ +
Returns:
the body size in bytes
+
+
+
+ +

+setBodySize

+
+public void setBodySize(int bodySize)
+
+
+
+
+
+
Parameters:
bodySize - the body size to set
+
+
+
+ +

+isStartNextThreadLoop

+
+public boolean isStartNextThreadLoop()
+
+
+
+
+
+ +
Returns:
the startNextThreadLoop
+
+
+
+ +

+setStartNextThreadLoop

+
+public void setStartNextThreadLoop(boolean startNextThreadLoop)
+
+
+
+
+
+
Parameters:
startNextThreadLoop - the startNextLoop to set
+
+
+
+ +

+cleanAfterSample

+
+public void cleanAfterSample()
+
+
Clean up cached data +

+

+
+
+
+
+
+
+
+ +

+clone

+
+public Object clone()
+
+
+
Overrides:
clone in class Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/samplers/SampleSaveConfiguration.html b/docs/api/org/apache/jmeter/samplers/SampleSaveConfiguration.html new file mode 100644 index 00000000000..78844226150 --- /dev/null +++ b/docs/api/org/apache/jmeter/samplers/SampleSaveConfiguration.html @@ -0,0 +1,1902 @@ + + + + + +SampleSaveConfiguration (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.samplers +
+Class SampleSaveConfiguration

+
+java.lang.Object
+  extended by org.apache.jmeter.samplers.SampleSaveConfiguration
+
+
+
All Implemented Interfaces:
Serializable, Cloneable
+
+
+
+
public class SampleSaveConfiguration
extends Object
implements Cloneable, Serializable
+ + +

+Holds details of which sample attributes to save. + + The pop-up dialogue for this is created by the class SavePropertyDialog, which assumes: +

+ For each field XXX +

    +
  • methods have the signature "boolean saveXXX()"
  • +
  • a corresponding "void setXXX(boolean)" method
  • +
  • messages.properties contains the key save_XXX
  • +
+

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + +
+Field Summary
+static intSAVE_ALL_ASSERTIONS + +
+           
+static intSAVE_FIRST_ASSERTION + +
+           
+static intSAVE_NO_ASSERTIONS + +
+           
+  + + + + + + + + + + + + + +
+Constructor Summary
SampleSaveConfiguration() + +
+           
SampleSaveConfiguration(boolean value) + +
+          Alternate constructor for use by OldSaveService
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ intassertionsResultsToSave() + +
+           
+ Objectclone() + +
+           
+ booleanequals(Object obj) + +
+           
+ DateFormatformatter() + +
+           
+ StringgetDelimiter() + +
+           
+ intgetVarCount() + +
+           
+ StringgetXmlPi() + +
+           
+ inthashCode() + +
+           
+ booleanprintMilliseconds() + +
+           
+ booleansaveAssertionResultsFailureMessage() + +
+           
+ booleansaveAssertions() + +
+           
+ booleansaveAsXml() + +
+           
+ booleansaveBytes() + +
+           
+ booleansaveCode() + +
+           
+ booleansaveConnectTime() + +
+           
+ booleansaveDataType() + +
+           
+ booleansaveEncoding() + +
+           
+ booleansaveFieldNames() + +
+           
+ booleansaveFileName() + +
+           
+ booleansaveHostname() + +
+           
+ booleansaveIdleTime() + +
+           
+ booleansaveLabel() + +
+           
+ booleansaveLatency() + +
+           
+ booleansaveMessage() + +
+           
+ booleansaveRequestHeaders() + +
+           
+ booleansaveResponseData() + +
+           
+ booleansaveResponseData(SampleResult res) + +
+           
+ booleansaveResponseHeaders() + +
+           
+ booleansaveSampleCount() + +
+           
+ booleansaveSamplerData() + +
+           
+ booleansaveSamplerData(SampleResult res) + +
+           
+ booleansaveSubresults() + +
+           
+ booleansaveSuccess() + +
+           
+ booleansaveThreadCounts() + +
+           
+ booleansaveThreadName() + +
+           
+ booleansaveTime() + +
+           
+ booleansaveTimestamp() + +
+           
+ booleansaveUrl() + +
+           
+ voidsetAssertionResultsFailureMessage(boolean b) + +
+           
+ voidsetAssertions(boolean assertions) + +
+           
+ voidsetAsXml(boolean xml) + +
+           
+ voidsetBytes(boolean save) + +
+           
+ voidsetCode(boolean code) + +
+           
+ voidsetConnectTime(boolean connectTime) + +
+           
+ voidsetDataType(boolean dataType) + +
+           
+ voidsetDefaultDelimiter() + +
+           
+ voidsetDefaultTimeStampFormat() + +
+           
+ voidsetDelimiter(String delim) + +
+           
+ voidsetEncoding(boolean encoding) + +
+           
+ voidsetFieldNames(boolean printFieldNames) + +
+           
+ voidsetFileName(boolean save) + +
+           
+ voidsetFormatter(DateFormat fmt) + +
+          Only intended for use by OldSaveService (and test cases)
+ voidsetHostname(boolean save) + +
+           
+ voidsetIdleTime(boolean save) + +
+           
+ voidsetLabel(boolean label) + +
+           
+ voidsetLatency(boolean latency) + +
+           
+ voidsetMessage(boolean message) + +
+           
+ voidsetRequestHeaders(boolean r) + +
+           
+ voidsetResponseData(boolean responseData) + +
+           
+ voidsetResponseHeaders(boolean r) + +
+           
+ voidsetSampleCount(boolean save) + +
+           
+ voidsetSamplerData(boolean samplerData) + +
+           
+ voidsetSubresults(boolean subresults) + +
+           
+ voidsetSuccess(boolean success) + +
+           
+ voidsetThreadCounts(boolean save) + +
+           
+ voidsetThreadName(boolean threadName) + +
+           
+ voidsetTime(boolean time) + +
+           
+ voidsetTimestamp(boolean timestamp) + +
+           
+ voidsetUrl(boolean save) + +
+           
+ voidsetVarCount(int varCount) + +
+           
+static SampleSaveConfigurationstaticConfig() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+SAVE_NO_ASSERTIONS

+
+public static final int SAVE_NO_ASSERTIONS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+SAVE_FIRST_ASSERTION

+
+public static final int SAVE_FIRST_ASSERTION
+
+
+
See Also:
Constant Field Values
+
+
+ +

+SAVE_ALL_ASSERTIONS

+
+public static final int SAVE_ALL_ASSERTIONS
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+SampleSaveConfiguration

+
+public SampleSaveConfiguration()
+
+
+
+ +

+SampleSaveConfiguration

+
+public SampleSaveConfiguration(boolean value)
+
+
Alternate constructor for use by OldSaveService +

+

+
Parameters:
value - initial setting for boolean fields used in Config dialogue
+
+ + + + + + + + +
+Method Detail
+ +

+getVarCount

+
+public int getVarCount()
+
+
+
+
+
+
+
+
+
+ +

+setVarCount

+
+public void setVarCount(int varCount)
+
+
+
+
+
+
+
+
+
+ +

+staticConfig

+
+public static SampleSaveConfiguration staticConfig()
+
+
+
+
+
+
+
+
+
+ +

+clone

+
+public Object clone()
+
+
+
Overrides:
clone in class Object
+
+
+
+
+
+
+ +

+equals

+
+public boolean equals(Object obj)
+
+
+
Overrides:
equals in class Object
+
+
+
+
+
+
+ +

+hashCode

+
+public int hashCode()
+
+
+
Overrides:
hashCode in class Object
+
+
+
+
+
+
+ +

+saveResponseHeaders

+
+public boolean saveResponseHeaders()
+
+
+
+
+
+
+
+
+
+ +

+setResponseHeaders

+
+public void setResponseHeaders(boolean r)
+
+
+
+
+
+
+
+
+
+ +

+saveRequestHeaders

+
+public boolean saveRequestHeaders()
+
+
+
+
+
+
+
+
+
+ +

+setRequestHeaders

+
+public void setRequestHeaders(boolean r)
+
+
+
+
+
+
+
+
+
+ +

+saveAssertions

+
+public boolean saveAssertions()
+
+
+
+
+
+
+
+
+
+ +

+setAssertions

+
+public void setAssertions(boolean assertions)
+
+
+
+
+
+
+
+
+
+ +

+saveCode

+
+public boolean saveCode()
+
+
+
+
+
+
+
+
+
+ +

+setCode

+
+public void setCode(boolean code)
+
+
+
+
+
+
+
+
+
+ +

+saveDataType

+
+public boolean saveDataType()
+
+
+
+
+
+
+
+
+
+ +

+setDataType

+
+public void setDataType(boolean dataType)
+
+
+
+
+
+
+
+
+
+ +

+saveEncoding

+
+public boolean saveEncoding()
+
+
+
+
+
+
+
+
+
+ +

+setEncoding

+
+public void setEncoding(boolean encoding)
+
+
+
+
+
+
+
+
+
+ +

+saveLabel

+
+public boolean saveLabel()
+
+
+
+
+
+
+
+
+
+ +

+setLabel

+
+public void setLabel(boolean label)
+
+
+
+
+
+
+
+
+
+ +

+saveLatency

+
+public boolean saveLatency()
+
+
+
+
+
+
+
+
+
+ +

+setLatency

+
+public void setLatency(boolean latency)
+
+
+
+
+
+
+
+
+
+ +

+saveConnectTime

+
+public boolean saveConnectTime()
+
+
+
+
+
+
+
+
+
+ +

+setConnectTime

+
+public void setConnectTime(boolean connectTime)
+
+
+
+
+
+
+
+
+
+ +

+saveMessage

+
+public boolean saveMessage()
+
+
+
+
+
+
+
+
+
+ +

+setMessage

+
+public void setMessage(boolean message)
+
+
+
+
+
+
+
+
+
+ +

+saveResponseData

+
+public boolean saveResponseData(SampleResult res)
+
+
+
+
+
+
+
+
+
+ +

+saveResponseData

+
+public boolean saveResponseData()
+
+
+
+
+
+
+
+
+
+ +

+setResponseData

+
+public void setResponseData(boolean responseData)
+
+
+
+
+
+
+
+
+
+ +

+saveSamplerData

+
+public boolean saveSamplerData(SampleResult res)
+
+
+
+
+
+
+
+
+
+ +

+saveSamplerData

+
+public boolean saveSamplerData()
+
+
+
+
+
+
+
+
+
+ +

+setSamplerData

+
+public void setSamplerData(boolean samplerData)
+
+
+
+
+
+
+
+
+
+ +

+saveSubresults

+
+public boolean saveSubresults()
+
+
+
+
+
+
+
+
+
+ +

+setSubresults

+
+public void setSubresults(boolean subresults)
+
+
+
+
+
+
+
+
+
+ +

+saveSuccess

+
+public boolean saveSuccess()
+
+
+
+
+
+
+
+
+
+ +

+setSuccess

+
+public void setSuccess(boolean success)
+
+
+
+
+
+
+
+
+
+ +

+saveThreadName

+
+public boolean saveThreadName()
+
+
+
+
+
+
+
+
+
+ +

+setThreadName

+
+public void setThreadName(boolean threadName)
+
+
+
+
+
+
+
+
+
+ +

+saveTime

+
+public boolean saveTime()
+
+
+
+
+
+
+
+
+
+ +

+setTime

+
+public void setTime(boolean time)
+
+
+
+
+
+
+
+
+
+ +

+saveTimestamp

+
+public boolean saveTimestamp()
+
+
+
+
+
+
+
+
+
+ +

+setTimestamp

+
+public void setTimestamp(boolean timestamp)
+
+
+
+
+
+
+
+
+
+ +

+saveAsXml

+
+public boolean saveAsXml()
+
+
+
+
+
+
+
+
+
+ +

+setAsXml

+
+public void setAsXml(boolean xml)
+
+
+
+
+
+
+
+
+
+ +

+saveFieldNames

+
+public boolean saveFieldNames()
+
+
+
+
+
+
+
+
+
+ +

+setFieldNames

+
+public void setFieldNames(boolean printFieldNames)
+
+
+
+
+
+
+
+
+
+ +

+saveUrl

+
+public boolean saveUrl()
+
+
+
+
+
+
+
+
+
+ +

+setUrl

+
+public void setUrl(boolean save)
+
+
+
+
+
+
+
+
+
+ +

+saveBytes

+
+public boolean saveBytes()
+
+
+
+
+
+
+
+
+
+ +

+setBytes

+
+public void setBytes(boolean save)
+
+
+
+
+
+
+
+
+
+ +

+saveFileName

+
+public boolean saveFileName()
+
+
+
+
+
+
+
+
+
+ +

+setFileName

+
+public void setFileName(boolean save)
+
+
+
+
+
+
+
+
+
+ +

+saveAssertionResultsFailureMessage

+
+public boolean saveAssertionResultsFailureMessage()
+
+
+
+
+
+
+
+
+
+ +

+setAssertionResultsFailureMessage

+
+public void setAssertionResultsFailureMessage(boolean b)
+
+
+
+
+
+
+
+
+
+ +

+saveThreadCounts

+
+public boolean saveThreadCounts()
+
+
+
+
+
+
+
+
+
+ +

+setThreadCounts

+
+public void setThreadCounts(boolean save)
+
+
+
+
+
+
+
+
+
+ +

+saveSampleCount

+
+public boolean saveSampleCount()
+
+
+
+
+
+
+
+
+
+ +

+setSampleCount

+
+public void setSampleCount(boolean save)
+
+
+
+
+
+
+
+
+
+ +

+setFormatter

+
+public void setFormatter(DateFormat fmt)
+
+
Only intended for use by OldSaveService (and test cases) +

+

+
+
+
+
Parameters:
fmt - format of the date to be saved. If null + milliseconds since epoch will be printed
+
+
+
+ +

+printMilliseconds

+
+public boolean printMilliseconds()
+
+
+
+
+
+
+
+
+
+ +

+formatter

+
+public DateFormat formatter()
+
+
+
+
+
+
+
+
+
+ +

+assertionsResultsToSave

+
+public int assertionsResultsToSave()
+
+
+
+
+
+
+
+
+
+ +

+getDelimiter

+
+public String getDelimiter()
+
+
+
+
+
+
+
+
+
+ +

+getXmlPi

+
+public String getXmlPi()
+
+
+
+
+
+
+
+
+
+ +

+setDelimiter

+
+public void setDelimiter(String delim)
+
+
+
+
+
+
+
+
+
+ +

+setDefaultDelimiter

+
+public void setDefaultDelimiter()
+
+
+
+
+
+
+
+
+
+ +

+setDefaultTimeStampFormat

+
+public void setDefaultTimeStampFormat()
+
+
+
+
+
+
+
+
+
+ +

+saveHostname

+
+public boolean saveHostname()
+
+
+
+
+
+
+
+
+
+ +

+setHostname

+
+public void setHostname(boolean save)
+
+
+
+
+
+
+
+
+
+ +

+saveIdleTime

+
+public boolean saveIdleTime()
+
+
+
+
+
+
+
+
+
+ +

+setIdleTime

+
+public void setIdleTime(boolean save)
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/samplers/SampleSender.html b/docs/api/org/apache/jmeter/samplers/SampleSender.html new file mode 100644 index 00000000000..d352f5d601e --- /dev/null +++ b/docs/api/org/apache/jmeter/samplers/SampleSender.html @@ -0,0 +1,258 @@ + + + + + +SampleSender (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.samplers +
+Interface SampleSender

+
+
All Known Implementing Classes:
AbstractSampleSender, AsynchSampleSender, BatchSampleSender, DataStrippingSampleSender, DiskStoreSampleSender, HoldSampleSender, StandardSampleSender, StatisticalSampleSender
+
+
+
+
public interface SampleSender
+ + +

+This interface is used to define the methods that need to be intercepted + by the SampleSender wrapper classes processed by the RemoteListenerWrapper. +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidsampleOccurred(SampleEvent e) + +
+          A sample occurred.
+ voidtestEnded() + +
+          The test ended (probably not used; client-server mode needs a host)
+ voidtestEnded(String host) + +
+          The test ended.
+  +

+ + + + + + + + +
+Method Detail
+ +

+testEnded

+
+void testEnded()
+
+
The test ended (probably not used; client-server mode needs a host) +

+

+
+
+
+
+ +

+testEnded

+
+void testEnded(String host)
+
+
The test ended. + + This will be called from the engine thread. +

+

+
Parameters:
host - the host that the test ended on.
+
+
+
+ +

+sampleOccurred

+
+void sampleOccurred(SampleEvent e)
+
+
A sample occurred. + + This method will be called from the sampler thread. +

+

+
Parameters:
e - a Sample Event
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/samplers/SampleSenderFactory.html b/docs/api/org/apache/jmeter/samplers/SampleSenderFactory.html new file mode 100644 index 00000000000..754c133e4dd --- /dev/null +++ b/docs/api/org/apache/jmeter/samplers/SampleSenderFactory.html @@ -0,0 +1,220 @@ + + + + + +SampleSenderFactory (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.samplers +
+Class SampleSenderFactory

+
+java.lang.Object
+  extended by org.apache.jmeter.samplers.SampleSenderFactory
+
+
+
+
public class SampleSenderFactory
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
SampleSenderFactory() + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SampleSenderFactory

+
+public SampleSenderFactory()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/samplers/Sampler.html b/docs/api/org/apache/jmeter/samplers/Sampler.html new file mode 100644 index 00000000000..b0198cc0270 --- /dev/null +++ b/docs/api/org/apache/jmeter/samplers/Sampler.html @@ -0,0 +1,252 @@ + + + + + +Sampler (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.samplers +
+Interface Sampler

+
+
All Superinterfaces:
Cloneable, Serializable, TestElement
+
+
+
All Known Implementing Classes:
AbstractSampler, AccessLogSampler, AjpSampler, BaseJMSSampler, BeanShellSampler, BSFSampler, DebugSampler, Example1, Example2, Example3, ExampleSampler, FTPSampler, HTTPSampler, HTTPSampler2, HTTPSamplerBase, HTTPSamplerProxy, JavaSampler, JDBCSampler, JMSSampler, JSR223Sampler, JUnitSampler, LDAPExtSampler, LDAPSampler, MailReaderSampler, MongoScriptSampler, PublisherSampler, SmtpSampler, SoapSampler, SubscriberSampler, SystemSampler, TCPSampler, TestAction, TransactionSampler, WebServiceSampler
+
+
+
+
public interface Sampler
extends Serializable, TestElement
+ + +

+Classes which are able to generate information about an entry should + implement this interface. +

+ +

+

+
Version:
+
$Revision: 1647215 $
+
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + + +
+Method Summary
+ SampleResultsample(Entry e) + +
+          Obtains statistics about the given Entry, and packages the information + into a SampleResult.
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.testelement.TestElement
addTestElement, canRemove, clear, clearTestElementChildren, clone, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse
+  +

+ + + + + + + + +
+Method Detail
+ +

+sample

+
+SampleResult sample(Entry e)
+
+
Obtains statistics about the given Entry, and packages the information + into a SampleResult. +

+

+
+
+
+
Parameters:
e - the Entry (TODO seems to be unused) +
Returns:
information about the sample
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/samplers/StandardSampleSender.html b/docs/api/org/apache/jmeter/samplers/StandardSampleSender.html new file mode 100644 index 00000000000..5537fed6b14 --- /dev/null +++ b/docs/api/org/apache/jmeter/samplers/StandardSampleSender.html @@ -0,0 +1,305 @@ + + + + + +StandardSampleSender (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.samplers +
+Class StandardSampleSender

+
+java.lang.Object
+  extended by org.apache.jmeter.samplers.AbstractSampleSender
+      extended by org.apache.jmeter.samplers.StandardSampleSender
+
+
+
All Implemented Interfaces:
Serializable, SampleSender
+
+
+
+
public class StandardSampleSender
extends AbstractSampleSender
implements Serializable
+ + +

+Default behaviour for remote testing. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
StandardSampleSender() + +
+          Deprecated. only for use by test code
+  + + + + + + + + + + + + + + + +
+Method Summary
+ voidsampleOccurred(SampleEvent e) + +
+          A sample occurred.
+ voidtestEnded(String host) + +
+          The test ended.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.samplers.AbstractSampleSender
isClientConfigured, testEnded
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+StandardSampleSender

+
+@Deprecated
+public StandardSampleSender()
+
+
Deprecated. only for use by test code +

+

+ + + + + + + + +
+Method Detail
+ +

+testEnded

+
+public void testEnded(String host)
+
+
Description copied from interface: SampleSender
+
The test ended. + + This will be called from the engine thread. +

+

+
Specified by:
testEnded in interface SampleSender
+
+
+
Parameters:
host - the host that the test ended on.
+
+
+
+ +

+sampleOccurred

+
+public void sampleOccurred(SampleEvent e)
+
+
Description copied from interface: SampleSender
+
A sample occurred. + + This method will be called from the sampler thread. +

+

+
Specified by:
sampleOccurred in interface SampleSender
+
+
+
Parameters:
e - a Sample Event
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/samplers/StatisticalSampleResult.html b/docs/api/org/apache/jmeter/samplers/StatisticalSampleResult.html new file mode 100644 index 00000000000..a2d1f31ae56 --- /dev/null +++ b/docs/api/org/apache/jmeter/samplers/StatisticalSampleResult.html @@ -0,0 +1,490 @@ + + + + + +StatisticalSampleResult (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.samplers +
+Class StatisticalSampleResult

+
+java.lang.Object
+  extended by org.apache.jmeter.samplers.SampleResult
+      extended by org.apache.jmeter.samplers.StatisticalSampleResult
+
+
+
All Implemented Interfaces:
Serializable, Cloneable
+
+
+
+
public class StatisticalSampleResult
extends SampleResult
implements Serializable
+ + +

+Aggregates sample results for use by the Statistical remote batch mode. + Samples are aggregated by the key defined by getKey(). + TODO: merge error count into parent class? +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.samplers.SampleResult
BINARY, DEFAULT_ENCODING, DEFAULT_HTTP_ENCODING, EMPTY_BA, TEXT
+  + + + + + + + + + + + + + + + + + + + +
+Constructor Summary
StatisticalSampleResult() + +
+           
StatisticalSampleResult(long stamp, + long elapsed) + +
+          Deprecated. Needs to be replaced when multiple sample results are sorted out
StatisticalSampleResult(SampleResult res) + +
+          Create a statistical sample result from an ordinary sample result.
StatisticalSampleResult(SampleResult res, + boolean unused) + +
+          Deprecated. no longer necessary; use StatisticalSampleResult(SampleResult) instead
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidadd(SampleResult res) + +
+           
+ intgetErrorCount() + +
+          Returns the count of errors.
+static StringgetKey(SampleEvent event, + boolean keyOnThreadName) + +
+          Generates the key to be used for aggregating samples as follows:
+ sampleLabel "-" [threadName|threadGroup] + + N.B. the key should agree with the fixed items that are saved in the sample.
+ longgetTime() + +
+          Get the time it took this sample to occur.
+ longgetTimeStamp() + +
+          Get the sample timestamp, which may be either the start time or the end time.
+ voidsetErrorCount(int e) + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.samplers.SampleResult
addAssertionResult, addRawSubResult, addSubResult, cleanAfterSample, clone, connectEnd, createTestSample, createTestSample, currentTimeInMillis, getAllThreads, getAssertionResults, getBodySize, getBytes, getConnectTime, getContentType, getDataEncodingNoDefault, getDataEncodingWithDefault, getDataEncodingWithDefault, getDataType, getEndTime, getGroupThreads, getHeadersSize, getIdleTime, getLatency, getMediaType, getParent, getRequestHeaders, getResponseCode, getResponseData, getResponseDataAsString, getResponseHeaders, getResponseMessage, getResultFileName, getSampleCount, getSampleLabel, getSampleLabel, getSamplerData, getSaveConfig, getStartTime, getSubResults, getThreadName, getURL, getUrlAsString, isMonitor, isResponseCodeOK, isStampedAtStart, isStartNextThreadLoop, isStopTest, isStopTestNow, isStopThread, isSuccessful, latencyEnd, markFile, removeAssertionResults, removeSubResults, sampleEnd, samplePause, sampleResume, sampleStart, setAllThreads, setBodySize, setBytes, setConnectTime, setContentType, setDataEncoding, setDataType, setEncodingAndType, setEndTime, setGroupThreads, setHeadersSize, setIdleTime, setLatency, setMonitor, setParent, setRequestHeaders, setResponseCode, setResponseCodeOK, setResponseData, setResponseData, setResponseData, setResponseHeaders, setResponseMessage, setResponseMessageOK, setResponseOK, setResultFileName, setSampleCount, setSampleLabel, setSamplerData, setSaveConfig, setStampAndTime, setStartNextThreadLoop, setStartTime, setStopTest, setStopTestNow, setStopThread, setSuccessful, setThreadName, setTimeStamp, setURL, storeSubResult, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+StatisticalSampleResult

+
+public StatisticalSampleResult()
+
+
+
+ +

+StatisticalSampleResult

+
+@Deprecated
+public StatisticalSampleResult(long stamp,
+                                          long elapsed)
+
+
Deprecated. Needs to be replaced when multiple sample results are sorted out +

+

Allow OldSaveService to generate a suitable result when sample/error counts have been saved. +

+

+
Parameters:
stamp - this may be a start time or an end time (both in milliseconds)
elapsed - time in milliseconds
+
+
+ +

+StatisticalSampleResult

+
+public StatisticalSampleResult(SampleResult res)
+
+
Create a statistical sample result from an ordinary sample result. +

+

+
Parameters:
res - the sample result
+
+
+ +

+StatisticalSampleResult

+
+@Deprecated
+public StatisticalSampleResult(SampleResult res,
+                                          boolean unused)
+
+
Deprecated. no longer necessary; use StatisticalSampleResult(SampleResult) instead +

+

Create a statistical sample result from an ordinary sample result. +

+

+
Parameters:
res - the sample result
unused - no longer used
+
+ + + + + + + + +
+Method Detail
+ +

+add

+
+public void add(SampleResult res)
+
+
+
+
+
+
+
+
+
+ +

+getTime

+
+public long getTime()
+
+
Description copied from class: SampleResult
+
Get the time it took this sample to occur. +

+

+
Overrides:
getTime in class SampleResult
+
+
+ +
Returns:
elapsed time in milliseonds
+
+
+
+ +

+getTimeStamp

+
+public long getTimeStamp()
+
+
Description copied from class: SampleResult
+
Get the sample timestamp, which may be either the start time or the end time. +

+

+
Overrides:
getTimeStamp in class SampleResult
+
+
+ +
Returns:
timeStamp in milliseconds
See Also:
SampleResult.getStartTime(), +SampleResult.getEndTime()
+
+
+
+ +

+getErrorCount

+
+public int getErrorCount()
+
+
Description copied from class: SampleResult
+
Returns the count of errors. +

+

+
Overrides:
getErrorCount in class SampleResult
+
+
+ +
Returns:
0 - or 1 if the sample failed + + TODO do we need allow for nested samples?
+
+
+
+ +

+setErrorCount

+
+public void setErrorCount(int e)
+
+
+
Overrides:
setErrorCount in class SampleResult
+
+
+
+
+
+
+ +

+getKey

+
+public static String getKey(SampleEvent event,
+                            boolean keyOnThreadName)
+
+
Generates the key to be used for aggregating samples as follows:
+ sampleLabel "-" [threadName|threadGroup] +

+ N.B. the key should agree with the fixed items that are saved in the sample. +

+

+
+
+
+
Parameters:
event - sample event whose key is to be calculated
keyOnThreadName - true if key should use thread name, otherwise use thread group +
Returns:
the key to use for aggregating samples
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/samplers/StatisticalSampleSender.html b/docs/api/org/apache/jmeter/samplers/StatisticalSampleSender.html new file mode 100644 index 00000000000..67d6cf85908 --- /dev/null +++ b/docs/api/org/apache/jmeter/samplers/StatisticalSampleSender.html @@ -0,0 +1,306 @@ + + + + + +StatisticalSampleSender (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.samplers +
+Class StatisticalSampleSender

+
+java.lang.Object
+  extended by org.apache.jmeter.samplers.AbstractSampleSender
+      extended by org.apache.jmeter.samplers.StatisticalSampleSender
+
+
+
All Implemented Interfaces:
Serializable, SampleSender
+
+
+
+
public class StatisticalSampleSender
extends AbstractSampleSender
implements Serializable
+ + +

+Implements batch reporting for remote testing. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
StatisticalSampleSender() + +
+          Deprecated. only for use by test code
+  + + + + + + + + + + + + + + + +
+Method Summary
+ voidsampleOccurred(SampleEvent e) + +
+          Stores sample events until either a time or sample threshold is + breached.
+ voidtestEnded(String host) + +
+          Checks if any sample events are still present in the sampleStore and + sends them to the listener.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.samplers.AbstractSampleSender
isClientConfigured, testEnded
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+StatisticalSampleSender

+
+@Deprecated
+public StatisticalSampleSender()
+
+
Deprecated. only for use by test code +

+

+ + + + + + + + +
+Method Detail
+ +

+testEnded

+
+public void testEnded(String host)
+
+
Checks if any sample events are still present in the sampleStore and + sends them to the listener. Informs the listener that the test ended. +

+

+
Specified by:
testEnded in interface SampleSender
+
+
+
Parameters:
host - the hostname that the test has ended on.
+
+
+
+ +

+sampleOccurred

+
+public void sampleOccurred(SampleEvent e)
+
+
Stores sample events until either a time or sample threshold is + breached. Both thresholds are reset if one fires. If only one threshold + is set it becomes the only value checked against. When a threshold is + breached the list of sample events is sent to a listener where the event + are fired locally. +

+

+
Specified by:
sampleOccurred in interface SampleSender
+
+
+
Parameters:
e - a Sample Event
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/samplers/gui/AbstractSamplerGui.html b/docs/api/org/apache/jmeter/samplers/gui/AbstractSamplerGui.html new file mode 100644 index 00000000000..bb37b80b62b --- /dev/null +++ b/docs/api/org/apache/jmeter/samplers/gui/AbstractSamplerGui.html @@ -0,0 +1,452 @@ + + + + + +AbstractSamplerGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.samplers.gui +
+Class AbstractSamplerGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.samplers.gui.AbstractSamplerGui
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
Direct Known Subclasses:
BeanShellSamplerGui, ExampleSamplerGui, FtpTestSamplerGui, HttpTestSampleGui, JavaTestSamplerGui, JMSPublisherGui, JMSSamplerGui, JMSSubscriberGui, JUnitTestSamplerGui, LdapExtTestSamplerGui, LdapTestSamplerGui, MailReaderSamplerGui, SmtpSamplerGui, SoapSamplerGui, SystemSamplerGui, TCPSamplerGui, TestActionGui, WebServiceSamplerGui
+
+
+
+
public abstract class AbstractSamplerGui
extends AbstractJMeterGuiComponent
+ + +

+This is the base class for JMeter GUI components which manage samplers. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
AbstractSamplerGui() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ JPopupMenucreatePopupMenu() + +
+          When a user right-clicks on the component in the test tree, or selects + the edit menu when the component is selected, the component will be asked + to return a JPopupMenu that provides all the options available to the + user from this component.
+ Collection<String>getMenuCategories() + +
+          This is the list of menu categories this gui component will be available + under.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
clearGui, configure, configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.gui.JMeterGUIComponent
createTestElement, getLabelResource, modifyTestElement
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+AbstractSamplerGui

+
+public AbstractSamplerGui()
+
+
+ + + + + + + + +
+Method Detail
+ +

+createPopupMenu

+
+public JPopupMenu createPopupMenu()
+
+
When a user right-clicks on the component in the test tree, or selects + the edit menu when the component is selected, the component will be asked + to return a JPopupMenu that provides all the options available to the + user from this component. +

+ This implementation returns menu items appropriate for most sampler + components. +

+

+ +
Returns:
a JPopupMenu appropriate for the component.
+
+
+
+ +

+getMenuCategories

+
+public Collection<String> getMenuCategories()
+
+
This is the list of menu categories this gui component will be available + under. This implementation returns + MenuFactory.SAMPLERS, which is + appropriate for most sampler components. +

+

+ +
Returns:
a Collection of Strings, where each element is one of the + constants defined in MenuFactory
See Also:
MenuFactory
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/samplers/gui/package-frame.html b/docs/api/org/apache/jmeter/samplers/gui/package-frame.html new file mode 100644 index 00000000000..c675768d5d7 --- /dev/null +++ b/docs/api/org/apache/jmeter/samplers/gui/package-frame.html @@ -0,0 +1,30 @@ + + + + + +org.apache.jmeter.samplers.gui (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.samplers.gui + + + + +
+Classes  + +
+AbstractSamplerGui
+ + + + diff --git a/docs/api/org/apache/jmeter/samplers/gui/package-summary.html b/docs/api/org/apache/jmeter/samplers/gui/package-summary.html new file mode 100644 index 00000000000..24149014576 --- /dev/null +++ b/docs/api/org/apache/jmeter/samplers/gui/package-summary.html @@ -0,0 +1,153 @@ + + + + + +org.apache.jmeter.samplers.gui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.samplers.gui +

+ + + + + + + + + +
+Class Summary
AbstractSamplerGuiThis is the base class for JMeter GUI components which manage samplers.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/samplers/gui/package-tree.html b/docs/api/org/apache/jmeter/samplers/gui/package-tree.html new file mode 100644 index 00000000000..fb15a369ddd --- /dev/null +++ b/docs/api/org/apache/jmeter/samplers/gui/package-tree.html @@ -0,0 +1,163 @@ + + + + + +org.apache.jmeter.samplers.gui Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.samplers.gui +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/samplers/package-frame.html b/docs/api/org/apache/jmeter/samplers/package-frame.html new file mode 100644 index 00000000000..9ab20272715 --- /dev/null +++ b/docs/api/org/apache/jmeter/samplers/package-frame.html @@ -0,0 +1,89 @@ + + + + + +org.apache.jmeter.samplers (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.samplers + + + + +
+Interfaces  + +
+Clearable +
+Interruptible +
+Remoteable +
+RemoteSampleListener +
+SampleListener +
+Sampler +
+SampleSender
+ + + + + + +
+Classes  + +
+AbstractSampler +
+AbstractSampleSender +
+AsynchSampleSender +
+BatchSampleSender +
+DataStrippingSampleSender +
+DiskStoreSampleSender +
+Entry +
+HoldSampleSender +
+RemoteListenerWrapper +
+RemoteSampleListenerImpl +
+RemoteSampleListenerWrapper +
+RemoteTestListenerWrapper +
+SampleEvent +
+SampleResult +
+SampleSaveConfiguration +
+SampleSenderFactory +
+StandardSampleSender +
+StatisticalSampleResult +
+StatisticalSampleSender
+ + + + diff --git a/docs/api/org/apache/jmeter/samplers/package-summary.html b/docs/api/org/apache/jmeter/samplers/package-summary.html new file mode 100644 index 00000000000..7abe1fdb95f --- /dev/null +++ b/docs/api/org/apache/jmeter/samplers/package-summary.html @@ -0,0 +1,273 @@ + + + + + +org.apache.jmeter.samplers (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.samplers +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Interface Summary
ClearableIdentifies an object which supports the clearing of run-time data + using the clearData() method.
InterruptibleSamplers which are able to interrupt a potentially long-running operation should + implement this interface.
RemoteableMarker interface used by ConvertListeners to determine which test elements to wrap + so that the results are processed by the client rather than the server
RemoteSampleListenerAllows notification on events occurring during the sampling process.
SampleListenerAllows notification on events occurring during the sampling process.
SamplerClasses which are able to generate information about an entry should + implement this interface.
SampleSenderThis interface is used to define the methods that need to be intercepted + by the SampleSender wrapper classes processed by the RemoteListenerWrapper.
+  + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
AbstractSampler 
AbstractSampleSenderBase class for SampleSender implementations
AsynchSampleSenderSends samples in a separate Thread and in Batch mode
BatchSampleSenderImplements batch reporting for remote testing.
DataStrippingSampleSenderThe standard remote sample reporting should be more friendly to the main purpose of + remote testing - which is scalability.
DiskStoreSampleSenderVersion of HoldSampleSender that stores the samples on disk as a serialised stream.
Entry 
HoldSampleSenderLars-Erik Helander provided the idea (and original implementation) for the + caching functionality (sampleStore).
RemoteListenerWrapperLars-Erik Helander provided the idea (and original implementation) for the + caching functionality (sampleStore).
RemoteSampleListenerImplImplementation of remote sampler listener, also supports TestStateListener
RemoteSampleListenerWrapper 
RemoteTestListenerWrapper 
SampleEventPackages information regarding the target of a sample event, such as the + result from that event and the thread group it ran in.
SampleResultThis is a nice packaging for the various information returned from taking a + sample of an entry.
SampleSaveConfigurationHolds details of which sample attributes to save.
SampleSenderFactory 
StandardSampleSenderDefault behaviour for remote testing.
StatisticalSampleResultAggregates sample results for use by the Statistical remote batch mode.
StatisticalSampleSenderImplements batch reporting for remote testing.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/samplers/package-tree.html b/docs/api/org/apache/jmeter/samplers/package-tree.html new file mode 100644 index 00000000000..643c8a64a81 --- /dev/null +++ b/docs/api/org/apache/jmeter/samplers/package-tree.html @@ -0,0 +1,195 @@ + + + + + +org.apache.jmeter.samplers Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.samplers +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/save/CSVSaveService.html b/docs/api/org/apache/jmeter/save/CSVSaveService.html new file mode 100644 index 00000000000..9eb804935f7 --- /dev/null +++ b/docs/api/org/apache/jmeter/save/CSVSaveService.html @@ -0,0 +1,568 @@ + + + + + +CSVSaveService (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.save +
+Class CSVSaveService

+
+java.lang.Object
+  extended by org.apache.jmeter.save.CSVSaveService
+
+
+
+
public final class CSVSaveService
extends Object
+ + +

+This class provides a means for saving/reading test results as CSV files. +

+ +

+


+ +

+ + + + + + + + + + + +
+Field Summary
+static charQUOTING_CHAR + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static String[]csvReadFile(BufferedReader infile, + char delim) + +
+          Reads from file and splits input into strings according to the delimiter, + taking note of quoted strings.
+static String[]csvSplitString(String line, + char delim) + +
+          Reads from String and splits into strings according to the delimiter, + taking note of quoted strings.
+static SampleSaveConfigurationgetSampleSaveConfiguration(String headerLine, + String filename) + +
+          Parse a CSV header line
+static StringprintableFieldNamesToString() + +
+          Generates the field names for the output file
+static StringprintableFieldNamesToString(SampleSaveConfiguration saveConfig) + +
+          Generates the field names for the output file
+static voidprocessSamples(String filename, + Visualizer visualizer, + ResultCollector resultCollector) + +
+          Read Samples from a file; handles quoted strings.
+static StringresultToDelimitedString(SampleEvent event) + +
+          Convert a result into a string, where the fields of the result are + separated by the default delimiter.
+static StringresultToDelimitedString(SampleEvent event, + String delimiter) + +
+          Convert a result into a string, where the fields of the result are + separated by a specified String.
+static voidsaveCSVStats(DefaultTableModel model, + FileWriter writer) + +
+          Method saves aggregate statistics (with header names) as CSV from a table + model.
+static voidsaveCSVStats(DefaultTableModel model, + FileWriter writer, + boolean saveHeaders) + +
+          Method saves aggregate statistics as CSV from a table model.
+static voidsaveCSVStats(List<?> data, + FileWriter writer) + +
+          Method will save aggregate statistics as CSV.
+static voidsaveCSVStats(List<?> data, + FileWriter writer, + String[] headers) + +
+          Method will save aggregate statistics as CSV.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+QUOTING_CHAR

+
+public static final char QUOTING_CHAR
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Method Detail
+ +

+processSamples

+
+public static void processSamples(String filename,
+                                  Visualizer visualizer,
+                                  ResultCollector resultCollector)
+                           throws IOException
+
+
Read Samples from a file; handles quoted strings. +

+

+
Parameters:
filename - input file
visualizer - where to send the results
resultCollector - the parent collector +
Throws: +
IOException - when the file referenced by filename can't be + read correctly
+
+
+
+ +

+printableFieldNamesToString

+
+public static String printableFieldNamesToString()
+
+
Generates the field names for the output file +

+

+ +
Returns:
the field names as a string
+
+
+
+ +

+printableFieldNamesToString

+
+public static String printableFieldNamesToString(SampleSaveConfiguration saveConfig)
+
+
Generates the field names for the output file +

+

+
Parameters:
saveConfig - the configuration of what is to be saved +
Returns:
the field names as a string
+
+
+
+ +

+getSampleSaveConfiguration

+
+public static SampleSaveConfiguration getSampleSaveConfiguration(String headerLine,
+                                                                 String filename)
+
+
Parse a CSV header line +

+

+
Parameters:
headerLine - from CSV file
filename - name of file (for log message only) +
Returns:
config corresponding to the header items found or null if not a + header line
+
+
+
+ +

+saveCSVStats

+
+public static void saveCSVStats(List<?> data,
+                                FileWriter writer)
+                         throws IOException
+
+
Method will save aggregate statistics as CSV. For now I put it here. Not + sure if it should go in the newer SaveService instead of here. if we ever + decide to get rid of this class, we'll need to move this method to the + new save service. +

+

+
Parameters:
data - List of data rows
writer - output file +
Throws: +
IOException - when writing to writer fails
+
+
+
+ +

+saveCSVStats

+
+public static void saveCSVStats(List<?> data,
+                                FileWriter writer,
+                                String[] headers)
+                         throws IOException
+
+
Method will save aggregate statistics as CSV. For now I put it here. Not + sure if it should go in the newer SaveService instead of here. if we ever + decide to get rid of this class, we'll need to move this method to the + new save service. +

+

+
Parameters:
data - List of data rows
writer - output file
headers - header names (if non-null) +
Throws: +
IOException - when writing to writer fails
+
+
+
+ +

+saveCSVStats

+
+public static void saveCSVStats(DefaultTableModel model,
+                                FileWriter writer)
+                         throws IOException
+
+
Method saves aggregate statistics (with header names) as CSV from a table + model. Same as saveCSVStats(List, FileWriter, String[]) except + that there is no need to create a List containing the data. +

+

+
Parameters:
model - table model containing the data
writer - output file +
Throws: +
IOException - when writing to writer fails
+
+
+
+ +

+saveCSVStats

+
+public static void saveCSVStats(DefaultTableModel model,
+                                FileWriter writer,
+                                boolean saveHeaders)
+                         throws IOException
+
+
Method saves aggregate statistics as CSV from a table model. Same as + saveCSVStats(List, FileWriter, String[]) except that there is no + need to create a List containing the data. +

+

+
Parameters:
model - table model containing the data
writer - output file
saveHeaders - whether or not to save headers +
Throws: +
IOException - when writing to writer fails
+
+
+
+ +

+resultToDelimitedString

+
+public static String resultToDelimitedString(SampleEvent event)
+
+
Convert a result into a string, where the fields of the result are + separated by the default delimiter. +

+

+
Parameters:
event - the sample event to be converted +
Returns:
the separated value representation of the result
+
+
+
+ +

+resultToDelimitedString

+
+public static String resultToDelimitedString(SampleEvent event,
+                                             String delimiter)
+
+
Convert a result into a string, where the fields of the result are + separated by a specified String. +

+

+
Parameters:
event - the sample event to be converted
delimiter - the separation string +
Returns:
the separated value representation of the result
+
+
+
+ +

+csvReadFile

+
+public static String[] csvReadFile(BufferedReader infile,
+                                   char delim)
+                            throws IOException
+
+
Reads from file and splits input into strings according to the delimiter, + taking note of quoted strings. +

+ Handles DOS (CRLF), Unix (LF), and Mac (CR) line-endings equally. +

+ A blank line - or a quoted blank line - both return an array containing + a single empty String. +

+

+
Parameters:
infile - input file - must support mark(1)
delim - delimiter (e.g. comma) +
Returns:
array of strings, will be empty if there is no data, i.e. if the input is at EOF. +
Throws: +
IOException - also for unexpected quote characters
+
+
+
+ +

+csvSplitString

+
+public static String[] csvSplitString(String line,
+                                      char delim)
+                               throws IOException
+
+
Reads from String and splits into strings according to the delimiter, + taking note of quoted strings. + + Handles DOS (CRLF), Unix (LF), and Mac (CR) line-endings equally. +

+

+
Parameters:
line - input line - not null
delim - delimiter (e.g. comma) +
Returns:
array of strings +
Throws: +
IOException - also for unexpected quote characters
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/save/ListenerResultWrapper.html b/docs/api/org/apache/jmeter/save/ListenerResultWrapper.html new file mode 100644 index 00000000000..3611c5837bf --- /dev/null +++ b/docs/api/org/apache/jmeter/save/ListenerResultWrapper.html @@ -0,0 +1,351 @@ + + + + + +ListenerResultWrapper (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.save +
+Class ListenerResultWrapper

+
+java.lang.Object
+  extended by org.apache.jmeter.save.ListenerResultWrapper
+
+
+
+
public class ListenerResultWrapper
extends Object
+ + +

+ListenerResultWrapper is for calculated results generated by listeners like + aggregate listener and monitor listener. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
ListenerResultWrapper() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Collection<SampleResult>getSampleResults() + +
+           
+ longgetTestStartTime() + +
+           
+ StringgetVersion() + +
+           
+ voidsetSampleResults(Collection<SampleResult> results) + +
+           
+ voidsetTestStartTime(long testStartTime) + +
+           
+ voidsetVersion(String version) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ListenerResultWrapper

+
+public ListenerResultWrapper()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getSampleResults

+
+public Collection<SampleResult> getSampleResults()
+
+
+ +
Returns:
Returns the sampleResults.
+
+
+
+ +

+setSampleResults

+
+public void setSampleResults(Collection<SampleResult> results)
+
+
+
Parameters:
results - The sampleResults to set.
+
+
+
+ +

+getTestStartTime

+
+public long getTestStartTime()
+
+
+ +
Returns:
Returns the testStartTime.
+
+
+
+ +

+setTestStartTime

+
+public void setTestStartTime(long testStartTime)
+
+
+
Parameters:
testStartTime - The testStartTime to set.
+
+
+
+ +

+getVersion

+
+public String getVersion()
+
+
+ +
Returns:
Returns the version.
+
+
+
+ +

+setVersion

+
+public void setVersion(String version)
+
+
+
Parameters:
version - The version to set.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/save/OldSaveService.html b/docs/api/org/apache/jmeter/save/OldSaveService.html new file mode 100644 index 00000000000..59c9709f2dd --- /dev/null +++ b/docs/api/org/apache/jmeter/save/OldSaveService.html @@ -0,0 +1,254 @@ + + + + + +OldSaveService (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.save +
+Class OldSaveService

+
+java.lang.Object
+  extended by org.apache.jmeter.save.OldSaveService
+
+
+
+
public final class OldSaveService
extends Object
+ + +

+This class restores the original Avalon XML format (not used by default). + + This may be removed in a future release. +

+ +

+


+ +

+ + + + + + + + + + + + + + + + +
+Method Summary
+static HashTreeloadSubTree(InputStream in) + +
+           
+static voidprocessSamples(String filename, + Visualizer visualizer, + ResultCollector rc) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+loadSubTree

+
+public static HashTree loadSubTree(InputStream in)
+                            throws IOException
+
+
+ +
Throws: +
IOException
+
+
+
+ +

+processSamples

+
+public static void processSamples(String filename,
+                                  Visualizer visualizer,
+                                  ResultCollector rc)
+                           throws SAXException,
+                                  IOException,
+                                  org.apache.avalon.framework.configuration.ConfigurationException
+
+
+ +
Throws: +
SAXException +
IOException +
org.apache.avalon.framework.configuration.ConfigurationException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/save/SaveGraphicsService.html b/docs/api/org/apache/jmeter/save/SaveGraphicsService.html new file mode 100644 index 00000000000..4e75344eee3 --- /dev/null +++ b/docs/api/org/apache/jmeter/save/SaveGraphicsService.html @@ -0,0 +1,416 @@ + + + + + +SaveGraphicsService (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.save +
+Class SaveGraphicsService

+
+java.lang.Object
+  extended by org.apache.jmeter.save.SaveGraphicsService
+
+
+
+
public class SaveGraphicsService
extends Object
+ + +

+Class is responsible for taking a component and saving it as a JPEG, PNG or + TIFF. The class is very simple. Thanks to Batik and the developers who worked + so hard on it. +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static StringJPEG_EXTENSION + +
+           
+static intPNG + +
+           
+static StringPNG_EXTENSION + +
+           
+static intTIFF + +
+           
+static StringTIFF_EXTENSION + +
+           
+  + + + + + + + + + + +
+Constructor Summary
SaveGraphicsService() + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidsaveJComponent(String filename, + int type, + JComponent component) + +
+          Method will save the JComponent as an image.
+ voidsavePNGWithBatik(String filename, + BufferedImage image) + +
+          Use Batik to save a PNG of the graph
+ voidsaveTIFFWithBatik(String filename, + BufferedImage image) + +
+          Use Batik to save a TIFF file of the graph
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+PNG

+
+public static final int PNG
+
+
+
See Also:
Constant Field Values
+
+
+ +

+TIFF

+
+public static final int TIFF
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PNG_EXTENSION

+
+public static final String PNG_EXTENSION
+
+
+
See Also:
Constant Field Values
+
+
+ +

+TIFF_EXTENSION

+
+public static final String TIFF_EXTENSION
+
+
+
See Also:
Constant Field Values
+
+
+ +

+JPEG_EXTENSION

+
+public static final String JPEG_EXTENSION
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+SaveGraphicsService

+
+public SaveGraphicsService()
+
+
+ + + + + + + + +
+Method Detail
+ +

+saveJComponent

+
+public void saveJComponent(String filename,
+                           int type,
+                           JComponent component)
+
+
Method will save the JComponent as an image. The formats are PNG, and + TIFF. +

+

+
Parameters:
filename - name of the file to store the image into
type - of the image to be stored. Can be one of 0 for PNG + or 1 for TIFF
component - to draw the image on
+
+
+
+ +

+savePNGWithBatik

+
+public void savePNGWithBatik(String filename,
+                             BufferedImage image)
+
+
Use Batik to save a PNG of the graph +

+

+
Parameters:
filename - name of the file to store the image into
image - to be stored
+
+
+
+ +

+saveTIFFWithBatik

+
+public void saveTIFFWithBatik(String filename,
+                              BufferedImage image)
+
+
Use Batik to save a TIFF file of the graph +

+

+
Parameters:
filename - name of the file to store the image into
image - to be stored
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/save/SaveService.html b/docs/api/org/apache/jmeter/save/SaveService.html new file mode 100644 index 00000000000..4cf81b4d687 --- /dev/null +++ b/docs/api/org/apache/jmeter/save/SaveService.html @@ -0,0 +1,702 @@ + + + + + +SaveService (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.save +
+Class SaveService

+
+java.lang.Object
+  extended by org.apache.jmeter.save.SaveService
+
+
+
+
public class SaveService
extends Object
+ + +

+Handles setting up XStream serialisation. + The class reads alias definitions from saveservice.properties. +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static booleanIS_TESTPLAN_FORMAT_22 + +
+          New XStream format - more compressed class names
+static StringRESULTCOLLECTOR_HELPER_OBJECT + +
+           
+static StringSAMPLE_EVENT_OBJECT + +
+           
+static StringTEST_CLASS_NAME + +
+           
+static StringTESTLOG_FORMAT + +
+           
+static StringTESTPLAN_FORMAT + +
+           
+  + + + + + + + + + + +
+Constructor Summary
SaveService() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static StringaliasToClass(String s) + +
+           
+static StringCEtoString(com.thoughtworks.xstream.converters.ConversionException ce) + +
+          Simplify getMessage() output from XStream ConversionException
+static StringclassToAlias(String s) + +
+           
+static StringgetFileEncoding(String dflt) + +
+          Returns the file Encoding specified in saveservice.properties or the default
+static StringgetPropertiesVersion() + +
+           
+static StringgetVERSION() + +
+           
+static ObjectloadElement(InputStream in) + +
+           
+static PropertiesloadProperties() + +
+           
+static voidloadTestResults(InputStream reader, + ResultCollectorHelper resultCollectorHelper) + +
+          Read results from JTL file.
+static HashTreeloadTree(File file) + +
+          Load a Test tree (JMX file)
+static HashTreeloadTree(InputStream reader) + +
+          Deprecated. use SaveServiceloadTree(File)
+static voidsaveElement(Object el, + OutputStream out) + +
+           
+static voidsaveSampleResult(SampleEvent evt, + Writer writer) + +
+          Save a sampleResult to an XML output file using XStream.
+static voidsaveTestElement(TestElement elem, + Writer writer) + +
+           
+static voidsaveTree(HashTree tree, + OutputStream out) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+SAMPLE_EVENT_OBJECT

+
+public static final String SAMPLE_EVENT_OBJECT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+RESULTCOLLECTOR_HELPER_OBJECT

+
+public static final String RESULTCOLLECTOR_HELPER_OBJECT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+TEST_CLASS_NAME

+
+public static final String TEST_CLASS_NAME
+
+
+
See Also:
Constant Field Values
+
+
+ +

+TESTPLAN_FORMAT

+
+public static final String TESTPLAN_FORMAT
+
+
+
+
+
+ +

+TESTLOG_FORMAT

+
+public static final String TESTLOG_FORMAT
+
+
+
+
+
+ +

+IS_TESTPLAN_FORMAT_22

+
+public static final boolean IS_TESTPLAN_FORMAT_22
+
+
New XStream format - more compressed class names +

+

+
+
+ + + + + + + + +
+Constructor Detail
+ +

+SaveService

+
+public SaveService()
+
+
+ + + + + + + + +
+Method Detail
+ +

+loadProperties

+
+public static Properties loadProperties()
+                                 throws IOException
+
+
+ +
Throws: +
IOException
+
+
+
+ +

+aliasToClass

+
+public static String aliasToClass(String s)
+
+
+
+
+
+
+ +

+classToAlias

+
+public static String classToAlias(String s)
+
+
+
+
+
+
+ +

+saveTree

+
+public static void saveTree(HashTree tree,
+                            OutputStream out)
+                     throws IOException
+
+
+ +
Throws: +
IOException
+
+
+
+ +

+saveElement

+
+public static void saveElement(Object el,
+                               OutputStream out)
+                        throws IOException
+
+
+ +
Throws: +
IOException
+
+
+
+ +

+loadElement

+
+public static Object loadElement(InputStream in)
+                          throws IOException
+
+
+ +
Throws: +
IOException
+
+
+
+ +

+saveSampleResult

+
+public static void saveSampleResult(SampleEvent evt,
+                                    Writer writer)
+                             throws IOException
+
+
Save a sampleResult to an XML output file using XStream. +

+

+
Parameters:
evt - sampleResult wrapped in a sampleEvent
writer - output stream which must be created using getFileEncoding(String) +
Throws: +
IOException - when writing data to output fails
+
+
+
+ +

+saveTestElement

+
+public static void saveTestElement(TestElement elem,
+                                   Writer writer)
+                            throws IOException
+
+
+
Parameters:
elem - test element
writer - output stream which must be created using getFileEncoding(String) +
Throws: +
IOException - when writing data to output fails
+
+
+
+ +

+loadTestResults

+
+public static void loadTestResults(InputStream reader,
+                                   ResultCollectorHelper resultCollectorHelper)
+                            throws IOException
+
+
Read results from JTL file. +

+

+
Parameters:
reader - of the file
resultCollectorHelper - helper class to enable TestResultWrapperConverter to deliver the samples +
Throws: +
IOException - if an I/O error occurs
+
+
+
+ +

+loadTree

+
+public static HashTree loadTree(InputStream reader)
+                         throws IOException
+
+
Deprecated. use SaveServiceloadTree(File) +

+

Load a Test tree (JMX file) +

+

+
Parameters:
reader - the JMX file as an InputStream +
Returns:
the loaded tree or null if an error occurs +
Throws: +
IOException - if there is a problem reading the file or processing it
+
+
+
+ +

+loadTree

+
+public static HashTree loadTree(File file)
+                         throws IOException
+
+
Load a Test tree (JMX file) +

+

+
Parameters:
file - the JMX file +
Returns:
the loaded tree +
Throws: +
IOException - if there is a problem reading the file or processing it
+
+
+
+ +

+getFileEncoding

+
+public static String getFileEncoding(String dflt)
+
+
Returns the file Encoding specified in saveservice.properties or the default +

+

+
Parameters:
dflt - value to return if file encoding was not provided +
Returns:
file encoding or default
+
+
+
+ +

+CEtoString

+
+public static String CEtoString(com.thoughtworks.xstream.converters.ConversionException ce)
+
+
Simplify getMessage() output from XStream ConversionException +

+

+
Parameters:
ce - - ConversionException to analyse +
Returns:
string with details of error
+
+
+
+ +

+getPropertiesVersion

+
+public static String getPropertiesVersion()
+
+
+
+
+
+
+ +

+getVERSION

+
+public static String getVERSION()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/save/ScriptWrapperConverter.html b/docs/api/org/apache/jmeter/save/ScriptWrapperConverter.html new file mode 100644 index 00000000000..43c63ba0cbc --- /dev/null +++ b/docs/api/org/apache/jmeter/save/ScriptWrapperConverter.html @@ -0,0 +1,363 @@ + + + + + +ScriptWrapperConverter (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.save +
+Class ScriptWrapperConverter

+
+java.lang.Object
+  extended by org.apache.jmeter.save.ScriptWrapperConverter
+
+
+
All Implemented Interfaces:
com.thoughtworks.xstream.converters.Converter, com.thoughtworks.xstream.converters.ConverterMatcher
+
+
+
+
public class ScriptWrapperConverter
extends Object
implements com.thoughtworks.xstream.converters.Converter
+ + +

+Handles XStream conversion of Test Scripts +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
ScriptWrapperConverter(com.thoughtworks.xstream.mapper.Mapper classMapper) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleancanConvert(Class arg0) + +
+          
+protected  Class<?>getNextType(com.thoughtworks.xstream.io.HierarchicalStreamReader reader) + +
+           
+static StringgetVersion() + +
+          Returns the converter version; used to check for possible + incompatibilities
+ voidmarshal(Object arg0, + com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, + com.thoughtworks.xstream.converters.MarshallingContext context) + +
+          
+ Objectunmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, + com.thoughtworks.xstream.converters.UnmarshallingContext context) + +
+          
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ScriptWrapperConverter

+
+public ScriptWrapperConverter(com.thoughtworks.xstream.mapper.Mapper classMapper)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getVersion

+
+public static String getVersion()
+
+
Returns the converter version; used to check for possible + incompatibilities +

+

+
+
+
+ +
Returns:
the version of the converter
+
+
+
+ +

+canConvert

+
+public boolean canConvert(Class arg0)
+
+
+

+

+
Specified by:
canConvert in interface com.thoughtworks.xstream.converters.ConverterMatcher
+
+
+
+
+
+
+ +

+marshal

+
+public void marshal(Object arg0,
+                    com.thoughtworks.xstream.io.HierarchicalStreamWriter writer,
+                    com.thoughtworks.xstream.converters.MarshallingContext context)
+
+
+

+

+
Specified by:
marshal in interface com.thoughtworks.xstream.converters.Converter
+
+
+
+
+
+
+ +

+unmarshal

+
+public Object unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader,
+                        com.thoughtworks.xstream.converters.UnmarshallingContext context)
+
+
+

+

+
Specified by:
unmarshal in interface com.thoughtworks.xstream.converters.Converter
+
+
+
+
+
+
+ +

+getNextType

+
+protected Class<?> getNextType(com.thoughtworks.xstream.io.HierarchicalStreamReader reader)
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/save/TestResultWrapper.html b/docs/api/org/apache/jmeter/save/TestResultWrapper.html new file mode 100644 index 00000000000..300ed893297 --- /dev/null +++ b/docs/api/org/apache/jmeter/save/TestResultWrapper.html @@ -0,0 +1,346 @@ + + + + + +TestResultWrapper (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.save +
+Class TestResultWrapper

+
+java.lang.Object
+  extended by org.apache.jmeter.save.TestResultWrapper
+
+
+
+
public class TestResultWrapper
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
TestResultWrapper() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Collection<SampleResult>getSampleResults() + +
+           
+ longgetTestStartTime() + +
+           
+ StringgetVersion() + +
+           
+ voidsetSampleResults(Collection<SampleResult> sampleResults) + +
+           
+ voidsetTestStartTime(long testStartTime) + +
+           
+ voidsetVersion(String version) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+TestResultWrapper

+
+public TestResultWrapper()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getSampleResults

+
+public Collection<SampleResult> getSampleResults()
+
+
+ +
Returns:
Returns the sampleResults.
+
+
+
+ +

+setSampleResults

+
+public void setSampleResults(Collection<SampleResult> sampleResults)
+
+
+
Parameters:
sampleResults - The sampleResults to set.
+
+
+
+ +

+getTestStartTime

+
+public long getTestStartTime()
+
+
+ +
Returns:
Returns the testStartTime.
+
+
+
+ +

+setTestStartTime

+
+public void setTestStartTime(long testStartTime)
+
+
+
Parameters:
testStartTime - The testStartTime to set.
+
+
+
+ +

+getVersion

+
+public String getVersion()
+
+
+ +
Returns:
Returns the version.
+
+
+
+ +

+setVersion

+
+public void setVersion(String version)
+
+
+
Parameters:
version - The version to set.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/save/converters/BooleanPropertyConverter.html b/docs/api/org/apache/jmeter/save/converters/BooleanPropertyConverter.html new file mode 100644 index 00000000000..dd3096f3084 --- /dev/null +++ b/docs/api/org/apache/jmeter/save/converters/BooleanPropertyConverter.html @@ -0,0 +1,337 @@ + + + + + +BooleanPropertyConverter (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.save.converters +
+Class BooleanPropertyConverter

+
+java.lang.Object
+  extended by org.apache.jmeter.save.converters.BooleanPropertyConverter
+
+
+
All Implemented Interfaces:
com.thoughtworks.xstream.converters.Converter, com.thoughtworks.xstream.converters.ConverterMatcher
+
+
+
+
public class BooleanPropertyConverter
extends Object
implements com.thoughtworks.xstream.converters.Converter
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
BooleanPropertyConverter() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleancanConvert(Class arg0) + +
+          
+static StringgetVersion() + +
+          Returns the converter version; used to check for possible + incompatibilities
+ voidmarshal(Object obj, + com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, + com.thoughtworks.xstream.converters.MarshallingContext arg2) + +
+          
+ Objectunmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, + com.thoughtworks.xstream.converters.UnmarshallingContext context) + +
+          
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+BooleanPropertyConverter

+
+public BooleanPropertyConverter()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getVersion

+
+public static String getVersion()
+
+
Returns the converter version; used to check for possible + incompatibilities +

+

+
+
+
+ +
Returns:
the version of this converter
+
+
+
+ +

+canConvert

+
+public boolean canConvert(Class arg0)
+
+
+

+

+
Specified by:
canConvert in interface com.thoughtworks.xstream.converters.ConverterMatcher
+
+
+
+
+
+
+ +

+marshal

+
+public void marshal(Object obj,
+                    com.thoughtworks.xstream.io.HierarchicalStreamWriter writer,
+                    com.thoughtworks.xstream.converters.MarshallingContext arg2)
+
+
+

+

+
Specified by:
marshal in interface com.thoughtworks.xstream.converters.Converter
+
+
+
+
+
+
+ +

+unmarshal

+
+public Object unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader,
+                        com.thoughtworks.xstream.converters.UnmarshallingContext context)
+
+
+

+

+
Specified by:
unmarshal in interface com.thoughtworks.xstream.converters.Converter
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/save/converters/ConversionHelp.html b/docs/api/org/apache/jmeter/save/converters/ConversionHelp.html new file mode 100644 index 00000000000..3cd59059ea3 --- /dev/null +++ b/docs/api/org/apache/jmeter/save/converters/ConversionHelp.html @@ -0,0 +1,617 @@ + + + + + +ConversionHelp (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.save.converters +
+Class ConversionHelp

+
+java.lang.Object
+  extended by org.apache.jmeter.save.converters.ConversionHelp
+
+
+
+
public class ConversionHelp
extends Object
+ + +

+Utility conversion routines for use with XStream +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + +
+Field Summary
+static StringATT_CLASS + +
+           
+static StringATT_ELEMENT_TYPE + +
+           
+static StringATT_NAME + +
+           
+  + + + + + + + + + + +
+Constructor Summary
ConversionHelp() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static Stringcdata(byte[] chars, + String encoding) + +
+          Embed an array of bytes as a string with encoding in a + xml-cdata section
+static Stringdecode(String p) + +
+          Decode a string if inVersion equals 1.0
+static Stringencode(String p) + +
+          Encode a string (if necessary) for output to a JTL file.
+static StringgetPropertyName(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, + com.thoughtworks.xstream.converters.UnmarshallingContext context) + +
+          Get the property name, updating it if necessary using NameUpdater.
+static StringgetPropertyValue(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, + com.thoughtworks.xstream.converters.UnmarshallingContext context, + String name) + +
+          Get the property value, updating it if necessary using NameUpdater.
+static StringgetUpgradePropertyName(String name, + com.thoughtworks.xstream.converters.UnmarshallingContext context) + +
+          Update a property name using NameUpdater.
+static StringgetUpgradePropertyValue(String name, + String value, + com.thoughtworks.xstream.converters.UnmarshallingContext context) + +
+          Update a property value using NameUpdater.getCurrentName(String, String, String).
+static booleanisSpecialProperty(String name) + +
+          Check whether name specifies a special property
+static voidrestoreSpecialProperties(TestElement testElement, + com.thoughtworks.xstream.io.HierarchicalStreamReader reader) + +
+          Restore the special properties: + + TestElement.GUI_CLASS + TestElement.TEST_CLASS + TestElement.NAME + TestElement.ENABLED +
+static voidsaveSpecialProperties(TestElement testElement, + com.thoughtworks.xstream.io.HierarchicalStreamWriter writer) + +
+          Save the special properties: + + TestElement.GUI_CLASS + TestElement.TEST_CLASS + TestElement.NAME + TestElement.ENABLED +
+static voidsetInVersion(String v) + +
+           
+static voidsetOutVersion(String v) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+ATT_CLASS

+
+public static final String ATT_CLASS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+ATT_NAME

+
+public static final String ATT_NAME
+
+
+
See Also:
Constant Field Values
+
+
+ +

+ATT_ELEMENT_TYPE

+
+public static final String ATT_ELEMENT_TYPE
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+ConversionHelp

+
+public ConversionHelp()
+
+
+ + + + + + + + +
+Method Detail
+ +

+setInVersion

+
+public static void setInVersion(String v)
+
+
+
+
+
+
+ +

+setOutVersion

+
+public static void setOutVersion(String v)
+
+
+
+
+
+
+ +

+encode

+
+public static String encode(String p)
+
+
Encode a string (if necessary) for output to a JTL file. + Strings are only encoded if the output version is 1.0, + but nulls are always converted to the empty string. +

+

+
Parameters:
p - string to encode +
Returns:
encoded string (will never be null)
+
+
+
+ +

+decode

+
+public static String decode(String p)
+
+
Decode a string if inVersion equals 1.0 +

+

+
Parameters:
p - the string to be decoded +
Returns:
the newly decoded string
+
+
+
+ +

+cdata

+
+public static String cdata(byte[] chars,
+                           String encoding)
+                    throws UnsupportedEncodingException
+
+
Embed an array of bytes as a string with encoding in a + xml-cdata section +

+

+
Parameters:
chars - bytes to be encoded and embedded
encoding - the encoding to be used +
Returns:
the encoded string embedded in a xml-cdata section +
Throws: +
UnsupportedEncodingException - when the bytes can not be encoded using encoding
+
+
+
+ +

+isSpecialProperty

+
+public static boolean isSpecialProperty(String name)
+
+
Check whether name specifies a special property +

+

+
Parameters:
name - the name of the property to be checked +
Returns:
true if name is the name of a special + property
+
+
+
+ +

+getPropertyName

+
+public static String getPropertyName(com.thoughtworks.xstream.io.HierarchicalStreamReader reader,
+                                     com.thoughtworks.xstream.converters.UnmarshallingContext context)
+
+
Get the property name, updating it if necessary using NameUpdater. +

+

+
Parameters:
reader - where to read the name attribute
context - the unmarshalling context +
Returns:
the property name, may be null if the property has been deleted.
See Also:
getUpgradePropertyName(String, UnmarshallingContext)
+
+
+
+ +

+getPropertyValue

+
+public static String getPropertyValue(com.thoughtworks.xstream.io.HierarchicalStreamReader reader,
+                                      com.thoughtworks.xstream.converters.UnmarshallingContext context,
+                                      String name)
+
+
Get the property value, updating it if necessary using NameUpdater. + + Do not use for GUI_CLASS or TEST_CLASS. +

+

+
Parameters:
reader - where to read the value
context - the unmarshalling context
name - the name of the property +
Returns:
the property value, updated if necessary.
See Also:
getUpgradePropertyValue(String, String, UnmarshallingContext)
+
+
+
+ +

+getUpgradePropertyName

+
+public static String getUpgradePropertyName(String name,
+                                            com.thoughtworks.xstream.converters.UnmarshallingContext context)
+
+
Update a property name using NameUpdater. +

+

+
Parameters:
name - the original property name
context - the unmarshalling context +
Returns:
the property name, may be null if the property has been deleted.
+
+
+
+ +

+getUpgradePropertyValue

+
+public static String getUpgradePropertyValue(String name,
+                                             String value,
+                                             com.thoughtworks.xstream.converters.UnmarshallingContext context)
+
+
Update a property value using NameUpdater.getCurrentName(String, String, String). + + Do not use for GUI_CLASS or TEST_CLASS. +

+

+
Parameters:
name - the original property name
value - the original property value
context - the unmarshalling context +
Returns:
the property value, updated if necessary
+
+
+
+ +

+saveSpecialProperties

+
+public static void saveSpecialProperties(TestElement testElement,
+                                         com.thoughtworks.xstream.io.HierarchicalStreamWriter writer)
+
+
Save the special properties: +
    +
  • TestElement.GUI_CLASS
  • +
  • TestElement.TEST_CLASS
  • +
  • TestElement.NAME
  • +
  • TestElement.ENABLED
  • +
+

+

+
Parameters:
testElement - element for which the special properties should be saved
writer - HierarchicalStreamWriter in which the special + properties should be saved
+
+
+
+ +

+restoreSpecialProperties

+
+public static void restoreSpecialProperties(TestElement testElement,
+                                            com.thoughtworks.xstream.io.HierarchicalStreamReader reader)
+
+
Restore the special properties: +
    +
  • TestElement.GUI_CLASS
  • +
  • TestElement.TEST_CLASS
  • +
  • TestElement.NAME
  • +
  • TestElement.ENABLED
  • +
+

+

+
Parameters:
testElement - in which the special properties should be restored
reader - HierarchicalStreamReader from which the special + properties should be restored
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/save/converters/HashTreeConverter.html b/docs/api/org/apache/jmeter/save/converters/HashTreeConverter.html new file mode 100644 index 00000000000..9d7ff190667 --- /dev/null +++ b/docs/api/org/apache/jmeter/save/converters/HashTreeConverter.html @@ -0,0 +1,344 @@ + + + + + +HashTreeConverter (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.save.converters +
+Class HashTreeConverter

+
+java.lang.Object
+  extended by com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter
+      extended by org.apache.jmeter.save.converters.HashTreeConverter
+
+
+
All Implemented Interfaces:
com.thoughtworks.xstream.converters.Converter, com.thoughtworks.xstream.converters.ConverterMatcher
+
+
+
+
public class HashTreeConverter
extends com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
HashTreeConverter(com.thoughtworks.xstream.mapper.Mapper arg0) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleancanConvert(Class arg0) + +
+          
+static StringgetVersion() + +
+          Returns the converter version; used to check for possible + incompatibilities
+ voidmarshal(Object arg0, + com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, + com.thoughtworks.xstream.converters.MarshallingContext context) + +
+          
+ Objectunmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, + com.thoughtworks.xstream.converters.UnmarshallingContext context) + +
+          
+ + + + + + + +
Methods inherited from class com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter
createCollection, mapper, readItem, writeItem
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+HashTreeConverter

+
+public HashTreeConverter(com.thoughtworks.xstream.mapper.Mapper arg0)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getVersion

+
+public static String getVersion()
+
+
Returns the converter version; used to check for possible + incompatibilities +

+

+ +
Returns:
the version of this converter
+
+
+
+ +

+canConvert

+
+public boolean canConvert(Class arg0)
+
+
+

+

+
Specified by:
canConvert in interface com.thoughtworks.xstream.converters.ConverterMatcher
Specified by:
canConvert in class com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter
+
+
+
+
+
+
+ +

+marshal

+
+public void marshal(Object arg0,
+                    com.thoughtworks.xstream.io.HierarchicalStreamWriter writer,
+                    com.thoughtworks.xstream.converters.MarshallingContext context)
+
+
+

+

+
Specified by:
marshal in interface com.thoughtworks.xstream.converters.Converter
Specified by:
marshal in class com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter
+
+
+
+
+
+
+ +

+unmarshal

+
+public Object unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader,
+                        com.thoughtworks.xstream.converters.UnmarshallingContext context)
+
+
+

+

+
Specified by:
unmarshal in interface com.thoughtworks.xstream.converters.Converter
Specified by:
unmarshal in class com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/save/converters/IntegerPropertyConverter.html b/docs/api/org/apache/jmeter/save/converters/IntegerPropertyConverter.html new file mode 100644 index 00000000000..6c7c93588d1 --- /dev/null +++ b/docs/api/org/apache/jmeter/save/converters/IntegerPropertyConverter.html @@ -0,0 +1,337 @@ + + + + + +IntegerPropertyConverter (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.save.converters +
+Class IntegerPropertyConverter

+
+java.lang.Object
+  extended by org.apache.jmeter.save.converters.IntegerPropertyConverter
+
+
+
All Implemented Interfaces:
com.thoughtworks.xstream.converters.Converter, com.thoughtworks.xstream.converters.ConverterMatcher
+
+
+
+
public class IntegerPropertyConverter
extends Object
implements com.thoughtworks.xstream.converters.Converter
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
IntegerPropertyConverter() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleancanConvert(Class arg0) + +
+          
+static StringgetVersion() + +
+          Returns the converter version; used to check for possible + incompatibilities
+ voidmarshal(Object obj, + com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, + com.thoughtworks.xstream.converters.MarshallingContext arg2) + +
+          
+ Objectunmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, + com.thoughtworks.xstream.converters.UnmarshallingContext context) + +
+          
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+IntegerPropertyConverter

+
+public IntegerPropertyConverter()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getVersion

+
+public static String getVersion()
+
+
Returns the converter version; used to check for possible + incompatibilities +

+

+
+
+
+ +
Returns:
the version of this converter
+
+
+
+ +

+canConvert

+
+public boolean canConvert(Class arg0)
+
+
+

+

+
Specified by:
canConvert in interface com.thoughtworks.xstream.converters.ConverterMatcher
+
+
+
+
+
+
+ +

+marshal

+
+public void marshal(Object obj,
+                    com.thoughtworks.xstream.io.HierarchicalStreamWriter writer,
+                    com.thoughtworks.xstream.converters.MarshallingContext arg2)
+
+
+

+

+
Specified by:
marshal in interface com.thoughtworks.xstream.converters.Converter
+
+
+
+
+
+
+ +

+unmarshal

+
+public Object unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader,
+                        com.thoughtworks.xstream.converters.UnmarshallingContext context)
+
+
+

+

+
Specified by:
unmarshal in interface com.thoughtworks.xstream.converters.Converter
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/save/converters/LongPropertyConverter.html b/docs/api/org/apache/jmeter/save/converters/LongPropertyConverter.html new file mode 100644 index 00000000000..0d880a732ab --- /dev/null +++ b/docs/api/org/apache/jmeter/save/converters/LongPropertyConverter.html @@ -0,0 +1,337 @@ + + + + + +LongPropertyConverter (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.save.converters +
+Class LongPropertyConverter

+
+java.lang.Object
+  extended by org.apache.jmeter.save.converters.LongPropertyConverter
+
+
+
All Implemented Interfaces:
com.thoughtworks.xstream.converters.Converter, com.thoughtworks.xstream.converters.ConverterMatcher
+
+
+
+
public class LongPropertyConverter
extends Object
implements com.thoughtworks.xstream.converters.Converter
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
LongPropertyConverter() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleancanConvert(Class arg0) + +
+          
+static StringgetVersion() + +
+          Returns the converter version; used to check for possible + incompatibilities
+ voidmarshal(Object obj, + com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, + com.thoughtworks.xstream.converters.MarshallingContext arg2) + +
+          
+ Objectunmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, + com.thoughtworks.xstream.converters.UnmarshallingContext context) + +
+          
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+LongPropertyConverter

+
+public LongPropertyConverter()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getVersion

+
+public static String getVersion()
+
+
Returns the converter version; used to check for possible + incompatibilities +

+

+
+
+
+ +
Returns:
the version of this converter
+
+
+
+ +

+canConvert

+
+public boolean canConvert(Class arg0)
+
+
+

+

+
Specified by:
canConvert in interface com.thoughtworks.xstream.converters.ConverterMatcher
+
+
+
+
+
+
+ +

+marshal

+
+public void marshal(Object obj,
+                    com.thoughtworks.xstream.io.HierarchicalStreamWriter writer,
+                    com.thoughtworks.xstream.converters.MarshallingContext arg2)
+
+
+

+

+
Specified by:
marshal in interface com.thoughtworks.xstream.converters.Converter
+
+
+
+
+
+
+ +

+unmarshal

+
+public Object unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader,
+                        com.thoughtworks.xstream.converters.UnmarshallingContext context)
+
+
+

+

+
Specified by:
unmarshal in interface com.thoughtworks.xstream.converters.Converter
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/save/converters/MultiPropertyConverter.html b/docs/api/org/apache/jmeter/save/converters/MultiPropertyConverter.html new file mode 100644 index 00000000000..671845471d6 --- /dev/null +++ b/docs/api/org/apache/jmeter/save/converters/MultiPropertyConverter.html @@ -0,0 +1,346 @@ + + + + + +MultiPropertyConverter (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.save.converters +
+Class MultiPropertyConverter

+
+java.lang.Object
+  extended by com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter
+      extended by org.apache.jmeter.save.converters.MultiPropertyConverter
+
+
+
All Implemented Interfaces:
com.thoughtworks.xstream.converters.Converter, com.thoughtworks.xstream.converters.ConverterMatcher
+
+
+
+
public class MultiPropertyConverter
extends com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
MultiPropertyConverter(com.thoughtworks.xstream.mapper.Mapper arg0) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleancanConvert(Class arg0) + +
+          
+static StringgetVersion() + +
+          Returns the converter version; used to check for possible + incompatibilities
+ voidmarshal(Object arg0, + com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, + com.thoughtworks.xstream.converters.MarshallingContext context) + +
+          
+ Objectunmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, + com.thoughtworks.xstream.converters.UnmarshallingContext context) + +
+          
+ + + + + + + +
Methods inherited from class com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter
createCollection, mapper, readItem, writeItem
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+MultiPropertyConverter

+
+public MultiPropertyConverter(com.thoughtworks.xstream.mapper.Mapper arg0)
+
+
+
Parameters:
arg0 - the mapper
+
+ + + + + + + + +
+Method Detail
+ +

+getVersion

+
+public static String getVersion()
+
+
Returns the converter version; used to check for possible + incompatibilities +

+

+ +
Returns:
the version of this converter
+
+
+
+ +

+canConvert

+
+public boolean canConvert(Class arg0)
+
+
+

+

+
Specified by:
canConvert in interface com.thoughtworks.xstream.converters.ConverterMatcher
Specified by:
canConvert in class com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter
+
+
+
+
+
+
+ +

+marshal

+
+public void marshal(Object arg0,
+                    com.thoughtworks.xstream.io.HierarchicalStreamWriter writer,
+                    com.thoughtworks.xstream.converters.MarshallingContext context)
+
+
+

+

+
Specified by:
marshal in interface com.thoughtworks.xstream.converters.Converter
Specified by:
marshal in class com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter
+
+
+
+
+
+
+ +

+unmarshal

+
+public Object unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader,
+                        com.thoughtworks.xstream.converters.UnmarshallingContext context)
+
+
+

+

+
Specified by:
unmarshal in interface com.thoughtworks.xstream.converters.Converter
Specified by:
unmarshal in class com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/save/converters/SampleEventConverter.html b/docs/api/org/apache/jmeter/save/converters/SampleEventConverter.html new file mode 100644 index 00000000000..a74e850d3b1 --- /dev/null +++ b/docs/api/org/apache/jmeter/save/converters/SampleEventConverter.html @@ -0,0 +1,341 @@ + + + + + +SampleEventConverter (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.save.converters +
+Class SampleEventConverter

+
+java.lang.Object
+  extended by org.apache.jmeter.save.converters.SampleEventConverter
+
+
+
All Implemented Interfaces:
com.thoughtworks.xstream.converters.Converter, com.thoughtworks.xstream.converters.ConverterMatcher
+
+
+
+
public class SampleEventConverter
extends Object
implements com.thoughtworks.xstream.converters.Converter
+ + +

+XStream Converter for the SampleResult class +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
SampleEventConverter() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleancanConvert(Class arg0) + +
+          
+static StringgetVersion() + +
+          Returns the converter version; used to check for possible + incompatibilities
+ voidmarshal(Object source, + com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, + com.thoughtworks.xstream.converters.MarshallingContext context) + +
+          
+ Objectunmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, + com.thoughtworks.xstream.converters.UnmarshallingContext context) + +
+          
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SampleEventConverter

+
+public SampleEventConverter()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getVersion

+
+public static String getVersion()
+
+
Returns the converter version; used to check for possible + incompatibilities +

+

+
+
+
+ +
Returns:
the version of this converter
+
+
+
+ +

+canConvert

+
+public boolean canConvert(Class arg0)
+
+
+

+

+
Specified by:
canConvert in interface com.thoughtworks.xstream.converters.ConverterMatcher
+
+
+
+
+
+
+ +

+marshal

+
+public void marshal(Object source,
+                    com.thoughtworks.xstream.io.HierarchicalStreamWriter writer,
+                    com.thoughtworks.xstream.converters.MarshallingContext context)
+
+
+

+

+
Specified by:
marshal in interface com.thoughtworks.xstream.converters.Converter
+
+
+
+
+
+
+ +

+unmarshal

+
+public Object unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader,
+                        com.thoughtworks.xstream.converters.UnmarshallingContext context)
+
+
+

+

+
Specified by:
unmarshal in interface com.thoughtworks.xstream.converters.Converter
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/save/converters/SampleResultConverter.html b/docs/api/org/apache/jmeter/save/converters/SampleResultConverter.html new file mode 100644 index 00000000000..87f92590c36 --- /dev/null +++ b/docs/api/org/apache/jmeter/save/converters/SampleResultConverter.html @@ -0,0 +1,819 @@ + + + + + +SampleResultConverter (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.save.converters +
+Class SampleResultConverter

+
+java.lang.Object
+  extended by com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter
+      extended by org.apache.jmeter.save.converters.SampleResultConverter
+
+
+
All Implemented Interfaces:
com.thoughtworks.xstream.converters.Converter, com.thoughtworks.xstream.converters.ConverterMatcher
+
+
+
Direct Known Subclasses:
HTTPResultConverter
+
+
+
+
public class SampleResultConverter
extends com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter
+ + +

+XStream Converter for the SampleResult class +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+protected static StringTAG_COOKIES + +
+           
+protected static StringTAG_METHOD + +
+           
+protected static StringTAG_QUERY_STRING + +
+           
+protected static StringTAG_REDIRECT_LOCATION + +
+           
+protected static StringTAG_REQUEST_HEADER + +
+           
+protected static StringTAG_RESPONSE_DATA + +
+           
+protected static StringTAG_RESPONSE_FILE + +
+           
+protected static StringTAG_RESPONSE_HEADER + +
+           
+protected static StringTAG_SAMPLER_DATA + +
+           
+  + + + + + + + + + + +
+Constructor Summary
SampleResultConverter(com.thoughtworks.xstream.mapper.Mapper arg0) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleancanConvert(Class arg0) + +
+          
+static StringgetVersion() + +
+          Returns the converter version; used to check for possible + incompatibilities
+ voidmarshal(Object obj, + com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, + com.thoughtworks.xstream.converters.MarshallingContext context) + +
+          
+protected  voidreadFile(String resultFileName, + SampleResult res) + +
+           
+protected  voidretrieveAttributes(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, + com.thoughtworks.xstream.converters.UnmarshallingContext context, + SampleResult res) + +
+           
+protected  booleanretrieveItem(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, + com.thoughtworks.xstream.converters.UnmarshallingContext context, + SampleResult res, + Object subItem) + +
+           
+protected  voidsaveAssertions(com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, + com.thoughtworks.xstream.converters.MarshallingContext context, + SampleResult res, + SampleSaveConfiguration save) + +
+          Save assertion results from the sample result into the stream
+protected  voidsaveRequestHeaders(com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, + com.thoughtworks.xstream.converters.MarshallingContext context, + SampleResult res, + SampleSaveConfiguration save) + +
+          Save request headers from the sample result into the stream
+protected  voidsaveResponseData(com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, + com.thoughtworks.xstream.converters.MarshallingContext context, + SampleResult res, + SampleSaveConfiguration save) + +
+          Save the response from the sample result into the stream
+protected  voidsaveResponseHeaders(com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, + com.thoughtworks.xstream.converters.MarshallingContext context, + SampleResult res, + SampleSaveConfiguration save) + +
+          Save response headers from sample result into the stream
+protected  voidsaveSamplerData(com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, + com.thoughtworks.xstream.converters.MarshallingContext context, + SampleResult res, + SampleSaveConfiguration save) + +
+          Save the data of the sample result to a stream
+protected  voidsaveSubResults(com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, + com.thoughtworks.xstream.converters.MarshallingContext context, + SampleResult res, + SampleSaveConfiguration save) + +
+          Save sub results from sample result into the stream
+protected  voidsetAttributes(com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, + com.thoughtworks.xstream.converters.MarshallingContext context, + SampleResult res, + SampleSaveConfiguration save) + +
+          Save attributes of the sample result to the stream
+ Objectunmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, + com.thoughtworks.xstream.converters.UnmarshallingContext context) + +
+          
+protected  voidwriteString(com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, + String tag, + String value) + +
+          Write a tag with with a content of value to the + writer
+ + + + + + + +
Methods inherited from class com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter
createCollection, mapper, readItem, writeItem
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+TAG_COOKIES

+
+protected static final String TAG_COOKIES
+
+
+
See Also:
Constant Field Values
+
+
+ +

+TAG_METHOD

+
+protected static final String TAG_METHOD
+
+
+
See Also:
Constant Field Values
+
+
+ +

+TAG_QUERY_STRING

+
+protected static final String TAG_QUERY_STRING
+
+
+
See Also:
Constant Field Values
+
+
+ +

+TAG_REDIRECT_LOCATION

+
+protected static final String TAG_REDIRECT_LOCATION
+
+
+
See Also:
Constant Field Values
+
+
+ +

+TAG_REQUEST_HEADER

+
+protected static final String TAG_REQUEST_HEADER
+
+
+
See Also:
Constant Field Values
+
+
+ +

+TAG_RESPONSE_DATA

+
+protected static final String TAG_RESPONSE_DATA
+
+
+
See Also:
Constant Field Values
+
+
+ +

+TAG_RESPONSE_HEADER

+
+protected static final String TAG_RESPONSE_HEADER
+
+
+
See Also:
Constant Field Values
+
+
+ +

+TAG_SAMPLER_DATA

+
+protected static final String TAG_SAMPLER_DATA
+
+
+
See Also:
Constant Field Values
+
+
+ +

+TAG_RESPONSE_FILE

+
+protected static final String TAG_RESPONSE_FILE
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+SampleResultConverter

+
+public SampleResultConverter(com.thoughtworks.xstream.mapper.Mapper arg0)
+
+
+
Parameters:
arg0 - the mapper
+
+ + + + + + + + +
+Method Detail
+ +

+getVersion

+
+public static String getVersion()
+
+
Returns the converter version; used to check for possible + incompatibilities +

+

+ +
Returns:
the version of this converter
+
+
+
+ +

+canConvert

+
+public boolean canConvert(Class arg0)
+
+
+

+

+
Specified by:
canConvert in interface com.thoughtworks.xstream.converters.ConverterMatcher
Specified by:
canConvert in class com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter
+
+
+
+
+
+
+ +

+marshal

+
+public void marshal(Object obj,
+                    com.thoughtworks.xstream.io.HierarchicalStreamWriter writer,
+                    com.thoughtworks.xstream.converters.MarshallingContext context)
+
+
+

+

+
Specified by:
marshal in interface com.thoughtworks.xstream.converters.Converter
Specified by:
marshal in class com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter
+
+
+
+
+
+
+ +

+saveSamplerData

+
+protected void saveSamplerData(com.thoughtworks.xstream.io.HierarchicalStreamWriter writer,
+                               com.thoughtworks.xstream.converters.MarshallingContext context,
+                               SampleResult res,
+                               SampleSaveConfiguration save)
+
+
Save the data of the sample result to a stream +

+

+
Parameters:
writer - stream to save objects into
context - context for xstream to allow nested objects
res - sample to be saved
save - configuration telling us what to save
+
+
+
+ +

+saveResponseData

+
+protected void saveResponseData(com.thoughtworks.xstream.io.HierarchicalStreamWriter writer,
+                                com.thoughtworks.xstream.converters.MarshallingContext context,
+                                SampleResult res,
+                                SampleSaveConfiguration save)
+
+
Save the response from the sample result into the stream +

+

+
Parameters:
writer - stream to save objects into
context - context for xstream to allow nested objects
res - sample to be saved
save - configuration telling us what to save
+
+
+
+ +

+saveRequestHeaders

+
+protected void saveRequestHeaders(com.thoughtworks.xstream.io.HierarchicalStreamWriter writer,
+                                  com.thoughtworks.xstream.converters.MarshallingContext context,
+                                  SampleResult res,
+                                  SampleSaveConfiguration save)
+
+
Save request headers from the sample result into the stream +

+

+
Parameters:
writer - stream to save objects into
context - context for xstream to allow nested objects
res - sample to be saved
save - configuration telling us what to save
+
+
+
+ +

+saveResponseHeaders

+
+protected void saveResponseHeaders(com.thoughtworks.xstream.io.HierarchicalStreamWriter writer,
+                                   com.thoughtworks.xstream.converters.MarshallingContext context,
+                                   SampleResult res,
+                                   SampleSaveConfiguration save)
+
+
Save response headers from sample result into the stream +

+

+
Parameters:
writer - stream to save objects into
context - context for xstream to allow nested objects
res - sample to be saved
save - configuration telling us what to save
+
+
+
+ +

+saveSubResults

+
+protected void saveSubResults(com.thoughtworks.xstream.io.HierarchicalStreamWriter writer,
+                              com.thoughtworks.xstream.converters.MarshallingContext context,
+                              SampleResult res,
+                              SampleSaveConfiguration save)
+
+
Save sub results from sample result into the stream +

+

+
Parameters:
writer - stream to save objects into
context - context for xstream to allow nested objects
res - sample to be saved
save - configuration telling us what to save
+
+
+
+ +

+saveAssertions

+
+protected void saveAssertions(com.thoughtworks.xstream.io.HierarchicalStreamWriter writer,
+                              com.thoughtworks.xstream.converters.MarshallingContext context,
+                              SampleResult res,
+                              SampleSaveConfiguration save)
+
+
Save assertion results from the sample result into the stream +

+

+
Parameters:
writer - stream to save objects into
context - context for xstream to allow nested objects
res - sample to be saved
save - configuration telling us what to save
+
+
+
+ +

+setAttributes

+
+protected void setAttributes(com.thoughtworks.xstream.io.HierarchicalStreamWriter writer,
+                             com.thoughtworks.xstream.converters.MarshallingContext context,
+                             SampleResult res,
+                             SampleSaveConfiguration save)
+
+
Save attributes of the sample result to the stream +

+

+
Parameters:
writer - stream to save objects into
context - context for xstream to allow nested objects
res - sample to be saved
save - configuration telling us what to save
+
+
+
+ +

+writeString

+
+protected void writeString(com.thoughtworks.xstream.io.HierarchicalStreamWriter writer,
+                           String tag,
+                           String value)
+
+
Write a tag with with a content of value to the + writer +

+

+
Parameters:
writer - writer to write the tag into
tag - name of the tag to use
value - content for tag
+
+
+
+ +

+unmarshal

+
+public Object unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader,
+                        com.thoughtworks.xstream.converters.UnmarshallingContext context)
+
+
+

+

+
Specified by:
unmarshal in interface com.thoughtworks.xstream.converters.Converter
Specified by:
unmarshal in class com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter
+
+
+
+
+
+
+ +

+retrieveItem

+
+protected boolean retrieveItem(com.thoughtworks.xstream.io.HierarchicalStreamReader reader,
+                               com.thoughtworks.xstream.converters.UnmarshallingContext context,
+                               SampleResult res,
+                               Object subItem)
+
+
+
Parameters:
reader - stream from which the objects should be read
context - context for xstream to allow nested objects
res - sample result into which the information should be retrieved
subItem - sub item which should be added into res +
Returns:
true if the item was processed (for HTTPResultConverter)
+
+
+
+ +

+retrieveAttributes

+
+protected void retrieveAttributes(com.thoughtworks.xstream.io.HierarchicalStreamReader reader,
+                                  com.thoughtworks.xstream.converters.UnmarshallingContext context,
+                                  SampleResult res)
+
+
+
Parameters:
reader - stream to read objects from
context - context for xstream to allow nested objects
res - sample result on which the attributes should be set
+
+
+
+ +

+readFile

+
+protected void readFile(String resultFileName,
+                        SampleResult res)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/save/converters/SampleSaveConfigurationConverter.html b/docs/api/org/apache/jmeter/save/converters/SampleSaveConfigurationConverter.html new file mode 100644 index 00000000000..b09950c3d08 --- /dev/null +++ b/docs/api/org/apache/jmeter/save/converters/SampleSaveConfigurationConverter.html @@ -0,0 +1,382 @@ + + + + + +SampleSaveConfigurationConverter (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.save.converters +
+Class SampleSaveConfigurationConverter

+
+java.lang.Object
+  extended by com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter
+      extended by com.thoughtworks.xstream.converters.reflection.ReflectionConverter
+          extended by org.apache.jmeter.save.converters.SampleSaveConfigurationConverter
+
+
+
All Implemented Interfaces:
com.thoughtworks.xstream.converters.Converter, com.thoughtworks.xstream.converters.ConverterMatcher, com.thoughtworks.xstream.core.Caching
+
+
+
+
public class SampleSaveConfigurationConverter
extends com.thoughtworks.xstream.converters.reflection.ReflectionConverter
+ + +

+


+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter
com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.DuplicateFieldException, com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.UnknownFieldException
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter
mapper, reflectionProvider, serializationMembers, serializationMethodInvoker
+  + + + + + + + + + + +
+Constructor Summary
SampleSaveConfigurationConverter(com.thoughtworks.xstream.mapper.Mapper arg0) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleancanConvert(Class arg0) + +
+          
+static StringgetVersion() + +
+          Returns the converter version; used to check for possible + incompatibilities
+ voidmarshal(Object obj, + com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, + com.thoughtworks.xstream.converters.MarshallingContext context) + +
+          
+ Objectunmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, + com.thoughtworks.xstream.converters.UnmarshallingContext context) + +
+          
+ + + + + + + +
Methods inherited from class com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter
canAccess, doMarshal, doUnmarshal, flushCache, instantiateNewInstance, marshallField, readResolve, shouldUnmarshalField, shouldUnmarshalTransientFields, unmarshallField
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SampleSaveConfigurationConverter

+
+public SampleSaveConfigurationConverter(com.thoughtworks.xstream.mapper.Mapper arg0)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getVersion

+
+public static String getVersion()
+
+
Returns the converter version; used to check for possible + incompatibilities +

+

+ +
Returns:
the version of this converter
+
+
+
+ +

+canConvert

+
+public boolean canConvert(Class arg0)
+
+
+

+

+
Specified by:
canConvert in interface com.thoughtworks.xstream.converters.ConverterMatcher
Overrides:
canConvert in class com.thoughtworks.xstream.converters.reflection.ReflectionConverter
+
+
+
+
+
+
+ +

+marshal

+
+public void marshal(Object obj,
+                    com.thoughtworks.xstream.io.HierarchicalStreamWriter writer,
+                    com.thoughtworks.xstream.converters.MarshallingContext context)
+
+
+

+

+
Specified by:
marshal in interface com.thoughtworks.xstream.converters.Converter
Overrides:
marshal in class com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter
+
+
+
+
+
+
+ +

+unmarshal

+
+public Object unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader,
+                        com.thoughtworks.xstream.converters.UnmarshallingContext context)
+
+
+

+

+
Specified by:
unmarshal in interface com.thoughtworks.xstream.converters.Converter
Overrides:
unmarshal in class com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/save/converters/StringPropertyConverter.html b/docs/api/org/apache/jmeter/save/converters/StringPropertyConverter.html new file mode 100644 index 00000000000..9795401062c --- /dev/null +++ b/docs/api/org/apache/jmeter/save/converters/StringPropertyConverter.html @@ -0,0 +1,337 @@ + + + + + +StringPropertyConverter (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.save.converters +
+Class StringPropertyConverter

+
+java.lang.Object
+  extended by org.apache.jmeter.save.converters.StringPropertyConverter
+
+
+
All Implemented Interfaces:
com.thoughtworks.xstream.converters.Converter, com.thoughtworks.xstream.converters.ConverterMatcher
+
+
+
+
public class StringPropertyConverter
extends Object
implements com.thoughtworks.xstream.converters.Converter
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
StringPropertyConverter() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleancanConvert(Class arg0) + +
+          
+static StringgetVersion() + +
+          Returns the converter version; used to check for possible + incompatibilities
+ voidmarshal(Object obj, + com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, + com.thoughtworks.xstream.converters.MarshallingContext arg2) + +
+          
+ Objectunmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, + com.thoughtworks.xstream.converters.UnmarshallingContext context) + +
+          
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+StringPropertyConverter

+
+public StringPropertyConverter()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getVersion

+
+public static String getVersion()
+
+
Returns the converter version; used to check for possible + incompatibilities +

+

+
+
+
+ +
Returns:
the version of this converter
+
+
+
+ +

+canConvert

+
+public boolean canConvert(Class arg0)
+
+
+

+

+
Specified by:
canConvert in interface com.thoughtworks.xstream.converters.ConverterMatcher
+
+
+
+
+
+
+ +

+marshal

+
+public void marshal(Object obj,
+                    com.thoughtworks.xstream.io.HierarchicalStreamWriter writer,
+                    com.thoughtworks.xstream.converters.MarshallingContext arg2)
+
+
+

+

+
Specified by:
marshal in interface com.thoughtworks.xstream.converters.Converter
+
+
+
+
+
+
+ +

+unmarshal

+
+public Object unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader,
+                        com.thoughtworks.xstream.converters.UnmarshallingContext context)
+
+
+

+

+
Specified by:
unmarshal in interface com.thoughtworks.xstream.converters.Converter
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/save/converters/TestElementConverter.html b/docs/api/org/apache/jmeter/save/converters/TestElementConverter.html new file mode 100644 index 00000000000..d95e97486a4 --- /dev/null +++ b/docs/api/org/apache/jmeter/save/converters/TestElementConverter.html @@ -0,0 +1,349 @@ + + + + + +TestElementConverter (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.save.converters +
+Class TestElementConverter

+
+java.lang.Object
+  extended by com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter
+      extended by org.apache.jmeter.save.converters.TestElementConverter
+
+
+
All Implemented Interfaces:
com.thoughtworks.xstream.converters.Converter, com.thoughtworks.xstream.converters.ConverterMatcher
+
+
+
Direct Known Subclasses:
HTTPSamplerBaseConverter
+
+
+
+
public class TestElementConverter
extends com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
TestElementConverter(com.thoughtworks.xstream.mapper.Mapper arg0) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleancanConvert(Class arg0) + +
+          
+static StringgetVersion() + +
+          Returns the converter version; used to check for possible + incompatibilities
+ voidmarshal(Object arg0, + com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, + com.thoughtworks.xstream.converters.MarshallingContext context) + +
+          
+ Objectunmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, + com.thoughtworks.xstream.converters.UnmarshallingContext context) + +
+          
+ + + + + + + +
Methods inherited from class com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter
createCollection, mapper, readItem, writeItem
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+TestElementConverter

+
+public TestElementConverter(com.thoughtworks.xstream.mapper.Mapper arg0)
+
+
+
Parameters:
arg0 - the mapper
+
+ + + + + + + + +
+Method Detail
+ +

+getVersion

+
+public static String getVersion()
+
+
Returns the converter version; used to check for possible + incompatibilities +

+

+ +
Returns:
the version of this converter
+
+
+
+ +

+canConvert

+
+public boolean canConvert(Class arg0)
+
+
+

+

+
Specified by:
canConvert in interface com.thoughtworks.xstream.converters.ConverterMatcher
Specified by:
canConvert in class com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter
+
+
+
+
+
+
+ +

+marshal

+
+public void marshal(Object arg0,
+                    com.thoughtworks.xstream.io.HierarchicalStreamWriter writer,
+                    com.thoughtworks.xstream.converters.MarshallingContext context)
+
+
+

+

+
Specified by:
marshal in interface com.thoughtworks.xstream.converters.Converter
Specified by:
marshal in class com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter
+
+
+
+
+
+
+ +

+unmarshal

+
+public Object unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader,
+                        com.thoughtworks.xstream.converters.UnmarshallingContext context)
+
+
+

+

+
Specified by:
unmarshal in interface com.thoughtworks.xstream.converters.Converter
Specified by:
unmarshal in class com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/save/converters/TestElementPropertyConverter.html b/docs/api/org/apache/jmeter/save/converters/TestElementPropertyConverter.html new file mode 100644 index 00000000000..c50f1a16d26 --- /dev/null +++ b/docs/api/org/apache/jmeter/save/converters/TestElementPropertyConverter.html @@ -0,0 +1,346 @@ + + + + + +TestElementPropertyConverter (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.save.converters +
+Class TestElementPropertyConverter

+
+java.lang.Object
+  extended by com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter
+      extended by org.apache.jmeter.save.converters.TestElementPropertyConverter
+
+
+
All Implemented Interfaces:
com.thoughtworks.xstream.converters.Converter, com.thoughtworks.xstream.converters.ConverterMatcher
+
+
+
+
public class TestElementPropertyConverter
extends com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
TestElementPropertyConverter(com.thoughtworks.xstream.mapper.Mapper arg0) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleancanConvert(Class arg0) + +
+          
+static StringgetVersion() + +
+          Returns the converter version; used to check for possible + incompatibilities
+ voidmarshal(Object arg0, + com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, + com.thoughtworks.xstream.converters.MarshallingContext context) + +
+          
+ Objectunmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, + com.thoughtworks.xstream.converters.UnmarshallingContext context) + +
+          
+ + + + + + + +
Methods inherited from class com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter
createCollection, mapper, readItem, writeItem
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+TestElementPropertyConverter

+
+public TestElementPropertyConverter(com.thoughtworks.xstream.mapper.Mapper arg0)
+
+
+
Parameters:
arg0 - the mapper
+
+ + + + + + + + +
+Method Detail
+ +

+getVersion

+
+public static String getVersion()
+
+
Returns the converter version; used to check for possible + incompatibilities +

+

+ +
Returns:
the version of this converter
+
+
+
+ +

+canConvert

+
+public boolean canConvert(Class arg0)
+
+
+

+

+
Specified by:
canConvert in interface com.thoughtworks.xstream.converters.ConverterMatcher
Specified by:
canConvert in class com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter
+
+
+
+
+
+
+ +

+marshal

+
+public void marshal(Object arg0,
+                    com.thoughtworks.xstream.io.HierarchicalStreamWriter writer,
+                    com.thoughtworks.xstream.converters.MarshallingContext context)
+
+
+

+

+
Specified by:
marshal in interface com.thoughtworks.xstream.converters.Converter
Specified by:
marshal in class com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter
+
+
+
+
+
+
+ +

+unmarshal

+
+public Object unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader,
+                        com.thoughtworks.xstream.converters.UnmarshallingContext context)
+
+
+

+

+
Specified by:
unmarshal in interface com.thoughtworks.xstream.converters.Converter
Specified by:
unmarshal in class com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/save/converters/TestResultWrapperConverter.html b/docs/api/org/apache/jmeter/save/converters/TestResultWrapperConverter.html new file mode 100644 index 00000000000..3612cf08acf --- /dev/null +++ b/docs/api/org/apache/jmeter/save/converters/TestResultWrapperConverter.html @@ -0,0 +1,354 @@ + + + + + +TestResultWrapperConverter (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.save.converters +
+Class TestResultWrapperConverter

+
+java.lang.Object
+  extended by com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter
+      extended by org.apache.jmeter.save.converters.TestResultWrapperConverter
+
+
+
All Implemented Interfaces:
com.thoughtworks.xstream.converters.Converter, com.thoughtworks.xstream.converters.ConverterMatcher
+
+
+
+
public class TestResultWrapperConverter
extends com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter
+ + +

+XStream Class to convert TestResultWrapper +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
TestResultWrapperConverter(com.thoughtworks.xstream.mapper.Mapper arg0) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleancanConvert(Class arg0) + +
+          
+static StringgetVersion() + +
+          Returns the converter version; used to check for possible + incompatibilities
+ voidmarshal(Object arg0, + com.thoughtworks.xstream.io.HierarchicalStreamWriter arg1, + com.thoughtworks.xstream.converters.MarshallingContext arg2) + +
+          
+ Objectunmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, + com.thoughtworks.xstream.converters.UnmarshallingContext context) + +
+          Read test results from JTL files and pass them to the visualiser directly.
+ + + + + + + +
Methods inherited from class com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter
createCollection, mapper, readItem, writeItem
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+TestResultWrapperConverter

+
+public TestResultWrapperConverter(com.thoughtworks.xstream.mapper.Mapper arg0)
+
+
+
Parameters:
arg0 - the Mapper to be used
+
+ + + + + + + + +
+Method Detail
+ +

+getVersion

+
+public static String getVersion()
+
+
Returns the converter version; used to check for possible + incompatibilities +

+

+ +
Returns:
the version of this converter
+
+
+
+ +

+canConvert

+
+public boolean canConvert(Class arg0)
+
+
+

+

+
Specified by:
canConvert in interface com.thoughtworks.xstream.converters.ConverterMatcher
Specified by:
canConvert in class com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter
+
+
+
+
+
+
+ +

+marshal

+
+public void marshal(Object arg0,
+                    com.thoughtworks.xstream.io.HierarchicalStreamWriter arg1,
+                    com.thoughtworks.xstream.converters.MarshallingContext arg2)
+
+
+

+

+
Specified by:
marshal in interface com.thoughtworks.xstream.converters.Converter
Specified by:
marshal in class com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter
+
+
+
+
+
+
+ +

+unmarshal

+
+public Object unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader,
+                        com.thoughtworks.xstream.converters.UnmarshallingContext context)
+
+
Read test results from JTL files and pass them to the visualiser directly. + If the ResultCollector helper object is defined, then pass the samples to that + rather than adding them to the test result wrapper. +

+

+
Specified by:
unmarshal in interface com.thoughtworks.xstream.converters.Converter
Specified by:
unmarshal in class com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter
+
+
+ +
Returns:
the test result wrapper (may be empty)
See Also:
Converter.unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader, + com.thoughtworks.xstream.converters.UnmarshallingContext)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/save/converters/package-frame.html b/docs/api/org/apache/jmeter/save/converters/package-frame.html new file mode 100644 index 00000000000..5115326085a --- /dev/null +++ b/docs/api/org/apache/jmeter/save/converters/package-frame.html @@ -0,0 +1,54 @@ + + + + + +org.apache.jmeter.save.converters (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.save.converters + + + + +
+Classes  + +
+BooleanPropertyConverter +
+ConversionHelp +
+HashTreeConverter +
+IntegerPropertyConverter +
+LongPropertyConverter +
+MultiPropertyConverter +
+SampleEventConverter +
+SampleResultConverter +
+SampleSaveConfigurationConverter +
+StringPropertyConverter +
+TestElementConverter +
+TestElementPropertyConverter +
+TestResultWrapperConverter
+ + + + diff --git a/docs/api/org/apache/jmeter/save/converters/package-summary.html b/docs/api/org/apache/jmeter/save/converters/package-summary.html new file mode 100644 index 00000000000..62faae8fab3 --- /dev/null +++ b/docs/api/org/apache/jmeter/save/converters/package-summary.html @@ -0,0 +1,201 @@ + + + + + +org.apache.jmeter.save.converters (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.save.converters +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
BooleanPropertyConverter 
ConversionHelpUtility conversion routines for use with XStream
HashTreeConverter 
IntegerPropertyConverter 
LongPropertyConverter 
MultiPropertyConverter 
SampleEventConverterXStream Converter for the SampleResult class
SampleResultConverterXStream Converter for the SampleResult class
SampleSaveConfigurationConverter 
StringPropertyConverter 
TestElementConverter 
TestElementPropertyConverter 
TestResultWrapperConverterXStream Class to convert TestResultWrapper
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/save/converters/package-tree.html b/docs/api/org/apache/jmeter/save/converters/package-tree.html new file mode 100644 index 00000000000..4a203eee552 --- /dev/null +++ b/docs/api/org/apache/jmeter/save/converters/package-tree.html @@ -0,0 +1,162 @@ + + + + + +org.apache.jmeter.save.converters Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.save.converters +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/save/package-frame.html b/docs/api/org/apache/jmeter/save/package-frame.html new file mode 100644 index 00000000000..a6e2df1e45b --- /dev/null +++ b/docs/api/org/apache/jmeter/save/package-frame.html @@ -0,0 +1,42 @@ + + + + + +org.apache.jmeter.save (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.save + + + + +
+Classes  + +
+CSVSaveService +
+ListenerResultWrapper +
+OldSaveService +
+SaveGraphicsService +
+SaveService +
+ScriptWrapperConverter +
+TestResultWrapper
+ + + + diff --git a/docs/api/org/apache/jmeter/save/package-summary.html b/docs/api/org/apache/jmeter/save/package-summary.html new file mode 100644 index 00000000000..136c994a707 --- /dev/null +++ b/docs/api/org/apache/jmeter/save/package-summary.html @@ -0,0 +1,179 @@ + + + + + +org.apache.jmeter.save (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.save +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
CSVSaveServiceThis class provides a means for saving/reading test results as CSV files.
ListenerResultWrapperListenerResultWrapper is for calculated results generated by listeners like + aggregate listener and monitor listener.
OldSaveServiceThis class restores the original Avalon XML format (not used by default).
SaveGraphicsServiceClass is responsible for taking a component and saving it as a JPEG, PNG or + TIFF.
SaveServiceHandles setting up XStream serialisation.
ScriptWrapperConverterHandles XStream conversion of Test Scripts
TestResultWrapper 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/save/package-tree.html b/docs/api/org/apache/jmeter/save/package-tree.html new file mode 100644 index 00000000000..1a9e945b3d3 --- /dev/null +++ b/docs/api/org/apache/jmeter/save/package-tree.html @@ -0,0 +1,150 @@ + + + + + +org.apache.jmeter.save Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.save +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/services/FileServer.html b/docs/api/org/apache/jmeter/services/FileServer.html new file mode 100644 index 00000000000..f1b5cdcd91c --- /dev/null +++ b/docs/api/org/apache/jmeter/services/FileServer.html @@ -0,0 +1,772 @@ + + + + + +FileServer (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.services +
+Class FileServer

+
+java.lang.Object
+  extended by org.apache.jmeter.services.FileServer
+
+
+
+
public class FileServer
extends Object
+ + +

+The point of this class is to provide thread-safe access to files, and to + provide some simplifying assumptions about where to find files and how to + name them. For instance, putting supporting files in the same directory as + the saved test plan file allows users to refer to the file with just it's + name - this FileServer class will find the file without a problem. + Eventually, I want all in-test file access to be done through here, with the + goal of packaging up entire test plans as a directory structure that can be + sent via rmi to remote servers (currently, one must make sure the remote + server has all support files in a relative-same location) and to package up + test plans to execute on unknown boxes that only have Java installed. +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidcloseFile(String name) + +
+           
+ voidcloseFiles() + +
+           
+ StringgetBaseDir() + +
+           
+ FilegetBaseDirRelative() + +
+          Calculates the relative path from DEFAULT_BASE to the current base, + which must be the same as or a child of the default.
+static StringgetDefaultBase() + +
+           
+static FileServergetFileServer() + +
+           
+ String[]getParsedLine(String alias, + boolean recycle, + boolean firstLineIsNames, + char delim) + +
+           
+ FilegetRandomFile(String basedir, + String[] extensions) + +
+          Method will get a random file in a base directory + + TODO hey, not sure this + method belongs here.
+ StringgetScriptName() + +
+           
+ StringreadLine(String filename) + +
+          Get the next line of the named file, recycle by default.
+ StringreadLine(String filename, + boolean recycle) + +
+          Get the next line of the named file, first line is name to false
+ StringreadLine(String filename, + boolean recycle, + boolean firstLineIsNames) + +
+          Get the next line of the named file.
+ voidreserveFile(String filename) + +
+          Creates an association between a filename and a File inputOutputObject, + and stores it for later use - unless it is already stored.
+ voidreserveFile(String filename, + String charsetName) + +
+          Creates an association between a filename and a File inputOutputObject, + and stores it for later use - unless it is already stored.
+ voidreserveFile(String filename, + String charsetName, + String alias) + +
+          Creates an association between a filename and a File inputOutputObject, + and stores it for later use - unless it is already stored.
+ StringreserveFile(String filename, + String charsetName, + String alias, + boolean hasHeader) + +
+          Creates an association between a filename and a File inputOutputObject, + and stores it for later use - unless it is already stored.
+ voidresetBase() + +
+          Resets the current base to DEFAULT_BASE.
+static StringresolveBaseRelativeName(String relativeName) + +
+          Resolve a file name that may be relative to the base directory.
+ voidsetBase(File jmxBase) + +
+          Sets the current base directory for relative file names.
+ voidsetBasedir(String basedir) + +
+          Sets the current base directory for relative file names from the provided path.
+ voidsetBaseForScript(File scriptPath) + +
+          Sets the current base directory for relative file names from the provided script file.
+ voidsetScriptName(String scriptName) + +
+           
+ voidwrite(String filename, + String value) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+getFileServer

+
+public static FileServer getFileServer()
+
+
+ +
Returns:
the singleton instance of the server.
+
+
+
+ +

+resetBase

+
+public void resetBase()
+
+
Resets the current base to DEFAULT_BASE. +

+

+
+
+
+
+ +

+setBasedir

+
+public void setBasedir(String basedir)
+
+
Sets the current base directory for relative file names from the provided path. + If the path does not refer to an existing directory, then its parent is used. + Normally the provided path is a file, so using the parent directory is appropriate. +

+

+
Parameters:
basedir - the path to set, or null if the GUI is being cleared +
Throws: +
IllegalStateException - if files are still open
+
+
+
+ +

+setBaseForScript

+
+public void setBaseForScript(File scriptPath)
+
+
Sets the current base directory for relative file names from the provided script file. + The parameter is assumed to be the path to a JMX file, so the base directory is derived + from its parent. +

+

+
Parameters:
scriptPath - the path of the script file; must be not be null +
Throws: +
IllegalStateException - if files are still open +
IllegalArgumentException - if scriptPath parameter is null
+
+
+
+ +

+setBase

+
+public void setBase(File jmxBase)
+
+
Sets the current base directory for relative file names. +

+

+
Parameters:
jmxBase - the path of the script file base directory, cannot be null +
Throws: +
IllegalStateException - if files are still open +
IllegalArgumentException - if basepath is null
+
+
+
+ +

+getBaseDir

+
+public String getBaseDir()
+
+
+
+
+
+
+ +

+getDefaultBase

+
+public static String getDefaultBase()
+
+
+
+
+
+
+ +

+getBaseDirRelative

+
+public File getBaseDirRelative()
+
+
Calculates the relative path from DEFAULT_BASE to the current base, + which must be the same as or a child of the default. +

+

+ +
Returns:
the relative path, or "." if the path cannot be determined
+
+
+
+ +

+reserveFile

+
+public void reserveFile(String filename)
+
+
Creates an association between a filename and a File inputOutputObject, + and stores it for later use - unless it is already stored. +

+

+
Parameters:
filename - - relative (to base) or absolute file name (must not be null)
+
+
+
+ +

+reserveFile

+
+public void reserveFile(String filename,
+                        String charsetName)
+
+
Creates an association between a filename and a File inputOutputObject, + and stores it for later use - unless it is already stored. +

+

+
Parameters:
filename - - relative (to base) or absolute file name (must not be null)
charsetName - - the character set encoding to use for the file (may be null)
+
+
+
+ +

+reserveFile

+
+public void reserveFile(String filename,
+                        String charsetName,
+                        String alias)
+
+
Creates an association between a filename and a File inputOutputObject, + and stores it for later use - unless it is already stored. +

+

+
Parameters:
filename - - relative (to base) or absolute file name (must not be null)
charsetName - - the character set encoding to use for the file (may be null)
alias - - the name to be used to access the object (must not be null)
+
+
+
+ +

+reserveFile

+
+public String reserveFile(String filename,
+                          String charsetName,
+                          String alias,
+                          boolean hasHeader)
+
+
Creates an association between a filename and a File inputOutputObject, + and stores it for later use - unless it is already stored. +

+

+
Parameters:
filename - - relative (to base) or absolute file name (must not be null)
charsetName - - the character set encoding to use for the file (may be null)
alias - - the name to be used to access the object (must not be null)
hasHeader - true if the file has a header line describing the contents +
Returns:
the header line; may be null
+
+
+
+ +

+readLine

+
+public String readLine(String filename)
+                throws IOException
+
+
Get the next line of the named file, recycle by default. +

+

+
Parameters:
filename - the filename or alias that was used to reserve the file +
Returns:
String containing the next line in the file +
Throws: +
IOException - when reading of the file fails, or the file was not reserved properly
+
+
+
+ +

+readLine

+
+public String readLine(String filename,
+                       boolean recycle)
+                throws IOException
+
+
Get the next line of the named file, first line is name to false +

+

+
Parameters:
filename - the filename or alias that was used to reserve the file
recycle - - should file be restarted at EOF? +
Returns:
String containing the next line in the file (null if EOF reached and not recycle) +
Throws: +
IOException - when reading of the file fails, or the file was not reserved properly
+
+
+
+ +

+readLine

+
+public String readLine(String filename,
+                       boolean recycle,
+                       boolean firstLineIsNames)
+                throws IOException
+
+
Get the next line of the named file. +

+

+
Parameters:
filename - the filename or alias that was used to reserve the file
recycle - - should file be restarted at EOF?
firstLineIsNames - - 1st line is fields names +
Returns:
String containing the next line in the file (null if EOF reached and not recycle) +
Throws: +
IOException - when reading of the file fails, or the file was not reserved properly
+
+
+
+ +

+getParsedLine

+
+public String[] getParsedLine(String alias,
+                              boolean recycle,
+                              boolean firstLineIsNames,
+                              char delim)
+                       throws IOException
+
+
+
Parameters:
alias - the file name or alias
recycle - whether the file should be re-started on EOF
firstLineIsNames - whether the file contains a file header
delim - the delimiter to use for parsing +
Returns:
the parsed line, will be empty if the file is at EOF +
Throws: +
IOException - when reading of the aliased file fails, or the file was not reserved properly
+
+
+
+ +

+write

+
+public void write(String filename,
+                  String value)
+           throws IOException
+
+
+ +
Throws: +
IOException
+
+
+
+ +

+closeFiles

+
+public void closeFiles()
+                throws IOException
+
+
+ +
Throws: +
IOException
+
+
+
+ +

+closeFile

+
+public void closeFile(String name)
+               throws IOException
+
+
+
Parameters:
name - the name or alias of the file to be closed +
Throws: +
IOException - when closing of the aliased file fails
+
+
+
+ +

+getRandomFile

+
+public File getRandomFile(String basedir,
+                          String[] extensions)
+
+
Method will get a random file in a base directory +

+ TODO hey, not sure this + method belongs here. FileServer is for threadsafe File access relative to + current test's base directory. +

+

+
Parameters:
basedir - name of the directory in which the files can be found
extensions - array of allowed extensions, if null is given, + any file be allowed +
Returns:
a random File from the basedir that matches one of + the extensions
+
+
+
+ +

+resolveBaseRelativeName

+
+public static String resolveBaseRelativeName(String relativeName)
+
+
Resolve a file name that may be relative to the base directory. If the + name begins with the value of the JMeter property + "jmeter.save.saveservice.base_prefix" - default "~/" - then the name is + assumed to be relative to the basename. +

+

+
Parameters:
relativeName - filename that should be checked for + jmeter.save.saveservice.base_prefix +
Returns:
the updated filename
+
+
+
+ +

+getScriptName

+
+public String getScriptName()
+
+
+ +
Returns:
JMX Script name
Since:
+
2.6
+
+
+
+
+ +

+setScriptName

+
+public void setScriptName(String scriptName)
+
+
+
Parameters:
scriptName - Script name
Since:
+
2.6
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/services/package-frame.html b/docs/api/org/apache/jmeter/services/package-frame.html new file mode 100644 index 00000000000..704774f06ab --- /dev/null +++ b/docs/api/org/apache/jmeter/services/package-frame.html @@ -0,0 +1,30 @@ + + + + + +org.apache.jmeter.services (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.services + + + + +
+Classes  + +
+FileServer
+ + + + diff --git a/docs/api/org/apache/jmeter/services/package-summary.html b/docs/api/org/apache/jmeter/services/package-summary.html new file mode 100644 index 00000000000..e8f63a36e76 --- /dev/null +++ b/docs/api/org/apache/jmeter/services/package-summary.html @@ -0,0 +1,155 @@ + + + + + +org.apache.jmeter.services (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.services +

+ + + + + + + + + +
+Class Summary
FileServerThe point of this class is to provide thread-safe access to files, and to + provide some simplifying assumptions about where to find files and how to + name them.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/services/package-tree.html b/docs/api/org/apache/jmeter/services/package-tree.html new file mode 100644 index 00000000000..63f8c1ca649 --- /dev/null +++ b/docs/api/org/apache/jmeter/services/package-tree.html @@ -0,0 +1,149 @@ + + + + + +org.apache.jmeter.services Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.services +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/swing/HtmlPane.html b/docs/api/org/apache/jmeter/swing/HtmlPane.html new file mode 100644 index 00000000000..91e6f65f416 --- /dev/null +++ b/docs/api/org/apache/jmeter/swing/HtmlPane.html @@ -0,0 +1,402 @@ + + + + + +HtmlPane (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.swing +
+Class HtmlPane

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.text.JTextComponent
+                  extended by javax.swing.JEditorPane
+                      extended by javax.swing.JTextPane
+                          extended by org.apache.jmeter.swing.HtmlPane
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, Scrollable
+
+
+
+
public class HtmlPane
extends JTextPane
+ + +

+Implements an HTML Pane with local hyperlinking enabled. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JEditorPane
JEditorPane.AccessibleJEditorPane, JEditorPane.AccessibleJEditorPaneHTML, JEditorPane.JEditorPaneAccessibleHypertextSupport
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.text.JTextComponent
JTextComponent.AccessibleJTextComponent, JTextComponent.DropLocation, JTextComponent.KeyBinding
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class javax.swing.JEditorPane
HONOR_DISPLAY_PROPERTIES, W3C_LENGTH_UNITS
+ + + + + + + +
Fields inherited from class javax.swing.text.JTextComponent
DEFAULT_KEYMAP, FOCUS_ACCELERATOR_KEY
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
HtmlPane() + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class javax.swing.JTextPane
addStyle, createDefaultEditorKit, getCharacterAttributes, getInputAttributes, getLogicalStyle, getParagraphAttributes, getStyle, getStyledDocument, getStyledEditorKit, getUIClassID, insertComponent, insertIcon, paramString, removeStyle, replaceSelection, setCharacterAttributes, setDocument, setEditorKit, setLogicalStyle, setParagraphAttributes, setStyledDocument
+ + + + + + + +
Methods inherited from class javax.swing.JEditorPane
addHyperlinkListener, createEditorKitForContentType, fireHyperlinkUpdate, getAccessibleContext, getContentType, getEditorKit, getEditorKitClassNameForContentType, getEditorKitForContentType, getHyperlinkListeners, getPage, getPreferredSize, getScrollableTracksViewportHeight, getScrollableTracksViewportWidth, getStream, getText, read, registerEditorKitForContentType, registerEditorKitForContentType, removeHyperlinkListener, scrollToReference, setContentType, setEditorKitForContentType, setPage, setPage, setText
+ + + + + + + +
Methods inherited from class javax.swing.text.JTextComponent
addCaretListener, addInputMethodListener, addKeymap, copy, cut, fireCaretUpdate, getActions, getCaret, getCaretColor, getCaretListeners, getCaretPosition, getDisabledTextColor, getDocument, getDragEnabled, getDropLocation, getDropMode, getFocusAccelerator, getHighlighter, getInputMethodRequests, getKeymap, getKeymap, getMargin, getNavigationFilter, getPreferredScrollableViewportSize, getPrintable, getScrollableBlockIncrement, getScrollableUnitIncrement, getSelectedText, getSelectedTextColor, getSelectionColor, getSelectionEnd, getSelectionStart, getText, getToolTipText, getUI, isEditable, loadKeymap, modelToView, moveCaretPosition, paste, print, print, print, processInputMethodEvent, read, removeCaretListener, removeKeymap, removeNotify, select, selectAll, setCaret, setCaretColor, setCaretPosition, setComponentOrientation, setDisabledTextColor, setDragEnabled, setDropMode, setEditable, setFocusAccelerator, setHighlighter, setKeymap, setMargin, setNavigationFilter, setSelectedTextColor, setSelectionColor, setSelectionEnd, setSelectionStart, setUI, updateUI, viewToModel, write
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+HtmlPane

+
+public HtmlPane()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/swing/package-frame.html b/docs/api/org/apache/jmeter/swing/package-frame.html new file mode 100644 index 00000000000..cf7cd343dc5 --- /dev/null +++ b/docs/api/org/apache/jmeter/swing/package-frame.html @@ -0,0 +1,30 @@ + + + + + +org.apache.jmeter.swing (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.swing + + + + +
+Classes  + +
+HtmlPane
+ + + + diff --git a/docs/api/org/apache/jmeter/swing/package-summary.html b/docs/api/org/apache/jmeter/swing/package-summary.html new file mode 100644 index 00000000000..f12de978ba0 --- /dev/null +++ b/docs/api/org/apache/jmeter/swing/package-summary.html @@ -0,0 +1,153 @@ + + + + + +org.apache.jmeter.swing (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.swing +

+ + + + + + + + + +
+Class Summary
HtmlPaneImplements an HTML Pane with local hyperlinking enabled.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/swing/package-tree.html b/docs/api/org/apache/jmeter/swing/package-tree.html new file mode 100644 index 00000000000..206656cc02e --- /dev/null +++ b/docs/api/org/apache/jmeter/swing/package-tree.html @@ -0,0 +1,164 @@ + + + + + +org.apache.jmeter.swing Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.swing +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/testbeans/BeanInfoSupport.html b/docs/api/org/apache/jmeter/testbeans/BeanInfoSupport.html new file mode 100644 index 00000000000..443bb84f316 --- /dev/null +++ b/docs/api/org/apache/jmeter/testbeans/BeanInfoSupport.html @@ -0,0 +1,780 @@ + + + + + +BeanInfoSupport (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.testbeans +
+Class BeanInfoSupport

+
+java.lang.Object
+  extended by java.beans.SimpleBeanInfo
+      extended by org.apache.jmeter.testbeans.BeanInfoSupport
+
+
+
All Implemented Interfaces:
BeanInfo
+
+
+
Direct Known Subclasses:
AccessLogSamplerBeanInfo, BeanShellBeanInfoSupport, CompareAssertionBeanInfo, ConstantThroughputTimerBeanInfo, CSVDataSetBeanInfo, DataSourceElementBeanInfo, DebugPostProcessorBeanInfo, DebugSamplerBeanInfo, Example2BeanInfo, Example3BeanInfo, JDBCTestElementBeanInfoSupport, KeystoreConfigBeanInfo, MongoScriptSamplerBeanInfo, MongoSourceElementBeanInfo, RandomVariableConfigBeanInfo, ScriptingBeanInfoSupport, SyncTimerBeanInfo
+
+
+
+
public abstract class BeanInfoSupport
extends SimpleBeanInfo
+ + +

+Support class for test bean beanInfo objects. It will help using the + introspector to get most of the information, to then modify it at will. +

+ To use, subclass it, create a subclass with a parameter-less constructor + that: +

    +
  1. Calls super(beanClass) +
  2. Modifies the property descriptors, bean descriptor, etc. at will. +
+

+ Even before any such modifications, a resource bundle named xxxResources + (where xxx is the fully qualified bean class name) will be obtained if + available and used to localize the following: +

    +
  • Bean's display name -- from property displayName. +
  • Properties' display names -- from properties propertyName.displayName. +
  • Properties' short descriptions -- from properties propertyName.shortDescription. +
+

+ The resource bundle will be stored as the bean descriptor's "resourceBundle" + attribute, so that it can be used for further localization. TestBeanGUI, for + example, uses it to obtain the group's display names from properties groupName.displayName. +

+ +

+

+
Version:
+
$Revision: 1649775 $
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static StringDEFAULT + +
+          Default value, must be provided if NOT_UNDEFINED is TRUE
+static StringMULTILINE + +
+          If specified, create a multi-line editor
+static StringNOT_EXPRESSION + +
+          Whether the field disallows JMeter expressions; Boolean, default FALSE
+static StringNOT_OTHER + +
+          Whether the field disallows constant values different from the provided tags; Boolean, default FALSE
+static StringNOT_UNDEFINED + +
+          Whether the field must be defined (i.e. is required); Boolean, defaults to FALSE
+static StringRESOURCE_BUNDLE + +
+          Pointer to the resource bundle, if any (will generally be null)
+static StringTAGS + +
+           
+static StringTEXT_LANGUAGE + +
+          TextEditor property
+ + + + + + + +
Fields inherited from interface java.beans.BeanInfo
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32
+  + + + + + + + + + + + +
+Constructor Summary
+protected BeanInfoSupport(Class<? extends TestBean> beanClass) + +
+          Construct a BeanInfo for the given class.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+protected  voidcreatePropertyGroup(String group, + String[] names) + +
+          Utility method to group and order properties.
+ BeanInfo[]getAdditionalBeanInfo() + +
+          
+ BeanDescriptorgetBeanDescriptor() + +
+          
+ intgetDefaultEventIndex() + +
+          
+ intgetDefaultPropertyIndex() + +
+          
+ EventSetDescriptor[]getEventSetDescriptors() + +
+          
+ ImagegetIcon(int iconKind) + +
+          
+ MethodDescriptor[]getMethodDescriptors() + +
+          
+ PropertyDescriptor[]getPropertyDescriptors() + +
+          
+protected  PropertyDescriptorproperty(String name) + +
+          Get the property descriptor for the property of the given name.
+protected  PropertyDescriptorproperty(String name, + Class<? extends Enum<?>> enumClass) + +
+          Get the property descriptor for the property of the given name.
+protected  PropertyDescriptorproperty(String name, + TypeEditor editor) + +
+          Get the property descriptor for the property of the given name.
+protected  voidsetIcon(String resourceName) + +
+          Set the bean's 16x16 colour icon.
+ + + + + + + +
Methods inherited from class java.beans.SimpleBeanInfo
loadImage
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+TAGS

+
+public static final String TAGS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+NOT_UNDEFINED

+
+public static final String NOT_UNDEFINED
+
+
Whether the field must be defined (i.e. is required); Boolean, defaults to FALSE +

+

+
See Also:
Constant Field Values
+
+
+ +

+NOT_EXPRESSION

+
+public static final String NOT_EXPRESSION
+
+
Whether the field disallows JMeter expressions; Boolean, default FALSE +

+

+
See Also:
Constant Field Values
+
+
+ +

+NOT_OTHER

+
+public static final String NOT_OTHER
+
+
Whether the field disallows constant values different from the provided tags; Boolean, default FALSE +

+

+
See Also:
Constant Field Values
+
+
+ +

+MULTILINE

+
+public static final String MULTILINE
+
+
If specified, create a multi-line editor +

+

+
See Also:
Constant Field Values
+
+
+ +

+DEFAULT

+
+public static final String DEFAULT
+
+
Default value, must be provided if NOT_UNDEFINED is TRUE +

+

+
See Also:
Constant Field Values
+
+
+ +

+RESOURCE_BUNDLE

+
+public static final String RESOURCE_BUNDLE
+
+
Pointer to the resource bundle, if any (will generally be null) +

+

+
See Also:
Constant Field Values
+
+
+ +

+TEXT_LANGUAGE

+
+public static final String TEXT_LANGUAGE
+
+
TextEditor property +

+

+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+BeanInfoSupport

+
+protected BeanInfoSupport(Class<? extends TestBean> beanClass)
+
+
Construct a BeanInfo for the given class. +

+

+
Parameters:
beanClass - class for which to construct a BeanInfo
+
+ + + + + + + + +
+Method Detail
+ +

+property

+
+protected PropertyDescriptor property(String name)
+
+
Get the property descriptor for the property of the given name. +

+

+
Parameters:
name - property name +
Returns:
descriptor for a property of that name, or null if there's none
+
+
+
+ +

+property

+
+protected PropertyDescriptor property(String name,
+                                      TypeEditor editor)
+
+
Get the property descriptor for the property of the given name. + Sets the GUITYPE to the provided editor. +

+

+
Parameters:
name - property name
editor - the TypeEditor enum that describes the property editor +
Returns:
descriptor for a property of that name, or null if there's none
+
+
+
+ +

+property

+
+protected PropertyDescriptor property(String name,
+                                      Class<? extends Enum<?>> enumClass)
+
+
Get the property descriptor for the property of the given name. + Sets the GUITYPE to the provided enum. +

+

+
Parameters:
name - property name
enumClass - the enum class that is to be used by the editor +
Returns:
descriptor for a property of that name, or null if there's none
+
+
+
+ +

+setIcon

+
+protected void setIcon(String resourceName)
+
+
Set the bean's 16x16 colour icon. +

+

+
Parameters:
resourceName - A pathname relative to the directory holding the class file of + the current class.
+
+
+
+ +

+createPropertyGroup

+
+protected void createPropertyGroup(String group,
+                                   String[] names)
+
+
Utility method to group and order properties. +

+ It will assign the given group name to each of the named properties, and + set their order attribute so that they are shown in the given order. +

+ The created groups will get order 1, 2, 3,... in the order in which they + are created. +

+

+
Parameters:
group - name of the group
names - property names in the desired order
+
+
+
+ +

+getAdditionalBeanInfo

+
+public BeanInfo[] getAdditionalBeanInfo()
+
+
+

+

+
Specified by:
getAdditionalBeanInfo in interface BeanInfo
Overrides:
getAdditionalBeanInfo in class SimpleBeanInfo
+
+
+
+
+
+
+ +

+getBeanDescriptor

+
+public BeanDescriptor getBeanDescriptor()
+
+
+

+

+
Specified by:
getBeanDescriptor in interface BeanInfo
Overrides:
getBeanDescriptor in class SimpleBeanInfo
+
+
+
+
+
+
+ +

+getDefaultEventIndex

+
+public int getDefaultEventIndex()
+
+
+

+

+
Specified by:
getDefaultEventIndex in interface BeanInfo
Overrides:
getDefaultEventIndex in class SimpleBeanInfo
+
+
+
+
+
+
+ +

+getDefaultPropertyIndex

+
+public int getDefaultPropertyIndex()
+
+
+

+

+
Specified by:
getDefaultPropertyIndex in interface BeanInfo
Overrides:
getDefaultPropertyIndex in class SimpleBeanInfo
+
+
+
+
+
+
+ +

+getEventSetDescriptors

+
+public EventSetDescriptor[] getEventSetDescriptors()
+
+
+

+

+
Specified by:
getEventSetDescriptors in interface BeanInfo
Overrides:
getEventSetDescriptors in class SimpleBeanInfo
+
+
+
+
+
+
+ +

+getIcon

+
+public Image getIcon(int iconKind)
+
+
+

+

+
Specified by:
getIcon in interface BeanInfo
Overrides:
getIcon in class SimpleBeanInfo
+
+
+
+
+
+
+ +

+getMethodDescriptors

+
+public MethodDescriptor[] getMethodDescriptors()
+
+
+

+

+
Specified by:
getMethodDescriptors in interface BeanInfo
Overrides:
getMethodDescriptors in class SimpleBeanInfo
+
+
+
+
+
+
+ +

+getPropertyDescriptors

+
+public PropertyDescriptor[] getPropertyDescriptors()
+
+
+

+

+
Specified by:
getPropertyDescriptors in interface BeanInfo
Overrides:
getPropertyDescriptors in class SimpleBeanInfo
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/testbeans/TestBean.html b/docs/api/org/apache/jmeter/testbeans/TestBean.html new file mode 100644 index 00000000000..7ca834060ef --- /dev/null +++ b/docs/api/org/apache/jmeter/testbeans/TestBean.html @@ -0,0 +1,171 @@ + + + + + +TestBean (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.testbeans +
+Interface TestBean

+
+
All Known Implementing Classes:
AccessLogSampler, BeanShellListener, BeanShellPostProcessor, BeanShellPreProcessor, BeanShellTimer, BSFAssertion, BSFListener, BSFPostProcessor, BSFPreProcessor, BSFSampler, BSFTimer, CompareAssertion, ConstantThroughputTimer, CSVDataSet, DataSourceElement, DebugPostProcessor, DebugSampler, Example1, Example2, Example3, JDBCPostProcessor, JDBCPreProcessor, JDBCSampler, JSR223Assertion, JSR223Listener, JSR223PostProcessor, JSR223PreProcessor, JSR223Sampler, JSR223Timer, KeystoreConfig, MongoScriptSampler, MongoSourceElement, RandomVariableConfig, SyncTimer
+
+
+
+
public interface TestBean
+ + +

+Marker interface to tell JMeter to make a Test Bean Gui for the class. +

+ +

+


+ +

+ +

+ +


+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/testbeans/TestBeanBeanInfo.html b/docs/api/org/apache/jmeter/testbeans/TestBeanBeanInfo.html new file mode 100644 index 00000000000..474b10a833e --- /dev/null +++ b/docs/api/org/apache/jmeter/testbeans/TestBeanBeanInfo.html @@ -0,0 +1,459 @@ + + + + + +TestBeanBeanInfo (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.testbeans +
+Class TestBeanBeanInfo

+
+java.lang.Object
+  extended by org.apache.jmeter.testbeans.TestBeanBeanInfo
+
+
+
All Implemented Interfaces:
BeanInfo
+
+
+
+
public class TestBeanBeanInfo
extends Object
implements BeanInfo
+ + +

+This is the BeanInfo object for the TestBean class. It acts as a "stopper" + for the introspector: we don't want it to look at properties defined at this + or higher classes. +

+ Note this is really needed since using Introspector.getBeanInfo with a stop + class is not an option because: +

    +
  1. The API does not define a 3-parameter getBeanInfo in which you can use a + stop class AND flags. [Why? I guess this is a bug in the spec.] +
  2. java.beans.Introspector is buggy and, opposite to what's stated in the + Javadocs, only results of getBeanInfo(Class) are actually cached. +
+

+ +

+

+
Version:
+
$Revision: 1595401 $
+
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from interface java.beans.BeanInfo
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32
+  + + + + + + + + + + +
+Constructor Summary
TestBeanBeanInfo() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ BeanInfo[]getAdditionalBeanInfo() + +
+           
+ BeanDescriptorgetBeanDescriptor() + +
+          
+ intgetDefaultEventIndex() + +
+          
+ intgetDefaultPropertyIndex() + +
+          
+ EventSetDescriptor[]getEventSetDescriptors() + +
+          
+ ImagegetIcon(int iconKind) + +
+          
+ MethodDescriptor[]getMethodDescriptors() + +
+          
+ PropertyDescriptor[]getPropertyDescriptors() + +
+          
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+TestBeanBeanInfo

+
+public TestBeanBeanInfo()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getAdditionalBeanInfo

+
+public BeanInfo[] getAdditionalBeanInfo()
+
+
+
Specified by:
getAdditionalBeanInfo in interface BeanInfo
+
+
+
+
+
+
+ +

+getBeanDescriptor

+
+public BeanDescriptor getBeanDescriptor()
+
+
+

+

+
Specified by:
getBeanDescriptor in interface BeanInfo
+
+
+
+
+
+
+ +

+getDefaultEventIndex

+
+public int getDefaultEventIndex()
+
+
+

+

+
Specified by:
getDefaultEventIndex in interface BeanInfo
+
+
+
+
+
+
+ +

+getDefaultPropertyIndex

+
+public int getDefaultPropertyIndex()
+
+
+

+

+
Specified by:
getDefaultPropertyIndex in interface BeanInfo
+
+
+
+
+
+
+ +

+getEventSetDescriptors

+
+public EventSetDescriptor[] getEventSetDescriptors()
+
+
+

+

+
Specified by:
getEventSetDescriptors in interface BeanInfo
+
+
+
+
+
+
+ +

+getIcon

+
+public Image getIcon(int iconKind)
+
+
+

+

+
Specified by:
getIcon in interface BeanInfo
+
+
+
+
+
+
+ +

+getMethodDescriptors

+
+public MethodDescriptor[] getMethodDescriptors()
+
+
+

+

+
Specified by:
getMethodDescriptors in interface BeanInfo
+
+
+
+
+
+
+ +

+getPropertyDescriptors

+
+public PropertyDescriptor[] getPropertyDescriptors()
+
+
+

+

+
Specified by:
getPropertyDescriptors in interface BeanInfo
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/testbeans/TestBeanHelper.html b/docs/api/org/apache/jmeter/testbeans/TestBeanHelper.html new file mode 100644 index 00000000000..1a09af3a92c --- /dev/null +++ b/docs/api/org/apache/jmeter/testbeans/TestBeanHelper.html @@ -0,0 +1,329 @@ + + + + + +TestBeanHelper (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.testbeans +
+Class TestBeanHelper

+
+java.lang.Object
+  extended by org.apache.jmeter.testbeans.TestBeanHelper
+
+
+
+
public class TestBeanHelper
extends Object
+ + +

+This is an experimental class. An attempt to address the complexity of + writing new JMeter components. +

+ TestBean currently extends AbstractTestElement to support + backward-compatibility, but the property-value-map may later on be separated + from the test beans themselves. To ensure this will be doable with minimum + damage, all inherited methods are deprecated. +

+ +

+


+ +

+ + + + + + + + + + + +
+Field Summary
+protected static org.apache.log.Loggerlog + +
+           
+  + + + + + + + + + + +
+Constructor Summary
TestBeanHelper() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+static booleanisDescriptorIgnored(PropertyDescriptor descriptor) + +
+          Checks whether the descriptor should be ignored, i.e.
+static voidprepare(TestElement el) + +
+          Deprecated. to limit it's usage in expectation of moving it elsewhere.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+log

+
+protected static final org.apache.log.Logger log
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+TestBeanHelper

+
+public TestBeanHelper()
+
+
+ + + + + + + + +
+Method Detail
+ +

+prepare

+
+@Deprecated
+public static void prepare(TestElement el)
+
+
Deprecated. to limit it's usage in expectation of moving it elsewhere. +

+

Prepare the bean for work by populating the bean's properties from the + property value map. +

+

+

+
Parameters:
el - the TestElement to be prepared
+
+
+
+ +

+isDescriptorIgnored

+
+public static boolean isDescriptorIgnored(PropertyDescriptor descriptor)
+
+
Checks whether the descriptor should be ignored, i.e. +
    +
  • isHidden
  • +
  • isExpert and JMeter not using expert mode
  • +
  • no read method
  • +
  • no write method
  • +
+

+

+
Parameters:
descriptor - the PropertyDescriptor to be checked +
Returns:
true if the descriptor should be ignored
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/testbeans/gui/BooleanPropertyEditor.html b/docs/api/org/apache/jmeter/testbeans/gui/BooleanPropertyEditor.html new file mode 100644 index 00000000000..551fd776d7f --- /dev/null +++ b/docs/api/org/apache/jmeter/testbeans/gui/BooleanPropertyEditor.html @@ -0,0 +1,334 @@ + + + + + +BooleanPropertyEditor (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.testbeans.gui +
+Class BooleanPropertyEditor

+
+java.lang.Object
+  extended by java.beans.PropertyEditorSupport
+      extended by org.apache.jmeter.testbeans.gui.BooleanPropertyEditor
+
+
+
All Implemented Interfaces:
PropertyEditor
+
+
+
+
public class BooleanPropertyEditor
extends PropertyEditorSupport
+ + +

+Property Editor which handles Boolean properties. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
BooleanPropertyEditor() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetAsText() + +
+           
+ String[]getTags() + +
+           
+ voidsetAsText(String text) + +
+           
+ voidsetValue(Object value) + +
+           
+ + + + + + + +
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, supportsCustomEditor
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+BooleanPropertyEditor

+
+public BooleanPropertyEditor()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getAsText

+
+public String getAsText()
+
+
+
Specified by:
getAsText in interface PropertyEditor
Overrides:
getAsText in class PropertyEditorSupport
+
+
+
+
+
+
+ +

+setAsText

+
+public void setAsText(String text)
+
+
+
Specified by:
setAsText in interface PropertyEditor
Overrides:
setAsText in class PropertyEditorSupport
+
+
+
+
+
+
+ +

+setValue

+
+public void setValue(Object value)
+
+
+
Specified by:
setValue in interface PropertyEditor
Overrides:
setValue in class PropertyEditorSupport
+
+
+
+
+
+
+ +

+getTags

+
+public String[] getTags()
+
+
+
Specified by:
getTags in interface PropertyEditor
Overrides:
getTags in class PropertyEditorSupport
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/testbeans/gui/FileEditor.html b/docs/api/org/apache/jmeter/testbeans/gui/FileEditor.html new file mode 100644 index 00000000000..3f9f7ccdc6c --- /dev/null +++ b/docs/api/org/apache/jmeter/testbeans/gui/FileEditor.html @@ -0,0 +1,581 @@ + + + + + +FileEditor (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.testbeans.gui +
+Class FileEditor

+
+java.lang.Object
+  extended by org.apache.jmeter.testbeans.gui.FileEditor
+
+
+
All Implemented Interfaces:
ActionListener, PropertyEditor, EventListener
+
+
+
+
public class FileEditor
extends Object
implements PropertyEditor, ActionListener
+ + +

+A property editor for File properties. +

+ Note that it never gives out File objects, but always Strings. This is + because JMeter is now too dumb to handle File objects (there's no + FileProperty). +

+ +

+


+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
FileEditor() + +
+          Deprecated. Only for use by test cases
FileEditor(PropertyDescriptor descriptor) + +
+          Construct a FileEditor using the properties of the given + PropertyDescriptor
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidactionPerformed(ActionEvent e) + +
+          
+ voidaddPropertyChangeListener(PropertyChangeListener listener) + +
+          
+ StringgetAsText() + +
+           
+ ComponentgetCustomEditor() + +
+           
+ StringgetJavaInitializationString() + +
+           
+ String[]getTags() + +
+           
+ ObjectgetValue() + +
+           
+ booleanisPaintable() + +
+           
+ voidpaintValue(Graphics gfx, + Rectangle box) + +
+          
+ voidremovePropertyChangeListener(PropertyChangeListener listener) + +
+          
+ voidsetAsText(String text) + +
+          
+ voidsetValue(Object value) + +
+          
+ booleansupportsCustomEditor() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+FileEditor

+
+@Deprecated
+public FileEditor()
+           throws IntrospectionException
+
+
Deprecated. Only for use by test cases +

+

+ +
Throws: +
IntrospectionException - when introspection fails while creating a dummy + PropertyDescriptor
+
+
+ +

+FileEditor

+
+public FileEditor(PropertyDescriptor descriptor)
+
+
Construct a FileEditor using the properties of the given + PropertyDescriptor +

+

+
Parameters:
descriptor - the PropertyDescriptor to be used. Must not be null +
Throws: +
IllegalArgumentException - when descriptor is null
+
+ + + + + + + + +
+Method Detail
+ +

+actionPerformed

+
+public void actionPerformed(ActionEvent e)
+
+
+

+

+
Specified by:
actionPerformed in interface ActionListener
+
+
+
+
+
+
+ +

+addPropertyChangeListener

+
+public void addPropertyChangeListener(PropertyChangeListener listener)
+
+
+

+

+
Specified by:
addPropertyChangeListener in interface PropertyEditor
+
+
+
+
+
+
+ +

+getAsText

+
+public String getAsText()
+
+
+
Specified by:
getAsText in interface PropertyEditor
+
+
+ +
Returns:
the text
+
+
+
+ +

+getCustomEditor

+
+public Component getCustomEditor()
+
+
+
Specified by:
getCustomEditor in interface PropertyEditor
+
+
+ +
Returns:
custom editor panel
+
+
+
+ +

+getJavaInitializationString

+
+public String getJavaInitializationString()
+
+
+
Specified by:
getJavaInitializationString in interface PropertyEditor
+
+
+ +
Returns:
the Java initialisation string
+
+
+
+ +

+getTags

+
+public String[] getTags()
+
+
+
Specified by:
getTags in interface PropertyEditor
+
+
+ +
Returns:
the editor tags
+
+
+
+ +

+getValue

+
+public Object getValue()
+
+
+
Specified by:
getValue in interface PropertyEditor
+
+
+ +
Returns:
the value
+
+
+
+ +

+isPaintable

+
+public boolean isPaintable()
+
+
+
Specified by:
isPaintable in interface PropertyEditor
+
+
+ +
Returns:
true if the editor is paintable
+
+
+
+ +

+paintValue

+
+public void paintValue(Graphics gfx,
+                       Rectangle box)
+
+
+

+

+
Specified by:
paintValue in interface PropertyEditor
+
+
+
+
+
+
+ +

+removePropertyChangeListener

+
+public void removePropertyChangeListener(PropertyChangeListener listener)
+
+
+

+

+
Specified by:
removePropertyChangeListener in interface PropertyEditor
+
+
+
+
+
+
+ +

+setAsText

+
+public void setAsText(String text)
+               throws IllegalArgumentException
+
+
+

+

+
Specified by:
setAsText in interface PropertyEditor
+
+
+ +
Throws: +
IllegalArgumentException
+
+
+
+ +

+setValue

+
+public void setValue(Object value)
+
+
+

+

+
Specified by:
setValue in interface PropertyEditor
+
+
+
+
+
+
+ +

+supportsCustomEditor

+
+public boolean supportsCustomEditor()
+
+
+
Specified by:
supportsCustomEditor in interface PropertyEditor
+
+
+ +
Returns:
true if supports a custom editor
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/testbeans/gui/GenericTestBeanCustomizer.html b/docs/api/org/apache/jmeter/testbeans/gui/GenericTestBeanCustomizer.html new file mode 100644 index 00000000000..57197ab2d0b --- /dev/null +++ b/docs/api/org/apache/jmeter/testbeans/gui/GenericTestBeanCustomizer.html @@ -0,0 +1,718 @@ + + + + + +GenericTestBeanCustomizer (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.testbeans.gui +
+Class GenericTestBeanCustomizer

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.testbeans.gui.GenericTestBeanCustomizer
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Customizer, Serializable, Accessible, SharedCustomizer
+
+
+
+
public class GenericTestBeanCustomizer
extends JPanel
implements SharedCustomizer
+ + +

+The GenericTestBeanCustomizer is designed to provide developers with a + mechanism to quickly implement GUIs for new components. +

+ It allows editing each of the public exposed properties of the edited type 'a + la JavaBeans': as far as the types of those properties have an associated + editor, there's no GUI development required. +

+ This class understands the following PropertyDescriptor attributes: +

+
group: String
+
Group under which the property should be shown in the GUI. The string is + also used as a group title (but see comment on resourceBundle below). The + default group is "".
+
order: Integer
+
Order in which the property will be shown in its group. A smaller + integer means higher up in the GUI. The default order is 0. Properties of + equal order are sorted alphabetically.
+
tags: String[]
+
List of values to be offered for the property in addition to those + offered by its property editor.
+
notUndefined: Boolean
+
If true, the property should not be left undefined. A default + attribute must be provided if this is set.
+
notExpression: Boolean
+
If true, the property content should always be constant: JMeter + 'expressions' (strings using ${var}, etc...) can't be used.
+
notOther: Boolean
+
If true, the property content must always be one of the tags values or + null.
+
default: Object
+
Initial value for the property's GUI. Must be provided and be non-null + if notUndefined is set. Must be one of the provided tags (or null) if + notOther is set. +
+

+ The following BeanDescriptor attributes are also understood: +

+
group.group.order: Integer
+
where group is a group name used in a group + attribute in one or more PropertyDescriptors. Defines the order in which the + group will be shown in the GUI. A smaller integer means higher up in the GUI. + The default order is 0. Groups of equal order are sorted alphabetically.
+
resourceBundle: ResourceBundle
+
A resource bundle to be used for GUI localization: group display names + will be obtained from property "group.displayName" if + available (where group is the group name). +
+

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static StringDEFAULT + +
+          Default value, must be provided if NOT_UNDEFINED is TRUE
+static StringDEFAULT_GROUP + +
+           
+static StringGROUP + +
+           
+static StringGUITYPE + +
+          Property editor override; must be an enum of type TypeEditor
+static StringMULTILINE + +
+          If specified, create a multi-line editor
+static StringNOT_EXPRESSION + +
+          Whether the field disallows JMeter expressions; Boolean, default FALSE
+static StringNOT_OTHER + +
+          Whether the field disallows constant values different from the provided tags; Boolean, default FALSE
+static StringNOT_UNDEFINED + +
+          Whether the field must be defined (i.e. is required); + Boolean, defaults to FALSE
+static StringORDER + +
+           
+static StringRESOURCE_BUNDLE + +
+          Pointer to the resource bundle, if any (will generally be null)
+static StringTAGS + +
+          Array of permissible values.
+static StringTEXT_LANGUAGE + +
+          TextEditor property
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
GenericTestBeanCustomizer() + +
+          Deprecated. only for use by test code
+  + + + + + + + + + + + + + + + +
+Method Summary
+static StringORDER(String group) + +
+           
+ voidsetObject(Object map) + +
+          
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+ + + + + + + +
Methods inherited from interface java.beans.Customizer
addPropertyChangeListener, removePropertyChangeListener
+  +

+ + + + + + + + +
+Field Detail
+ +

+GROUP

+
+public static final String GROUP
+
+
+
See Also:
Constant Field Values
+
+
+ +

+ORDER

+
+public static final String ORDER
+
+
+
See Also:
Constant Field Values
+
+
+ +

+TAGS

+
+public static final String TAGS
+
+
Array of permissible values. +

+ Must be provided if: +

+

+

+
See Also:
Constant Field Values
+
+
+ +

+NOT_UNDEFINED

+
+public static final String NOT_UNDEFINED
+
+
Whether the field must be defined (i.e. is required); + Boolean, defaults to FALSE +

+

+
See Also:
Constant Field Values
+
+
+ +

+NOT_EXPRESSION

+
+public static final String NOT_EXPRESSION
+
+
Whether the field disallows JMeter expressions; Boolean, default FALSE +

+

+
See Also:
Constant Field Values
+
+
+ +

+NOT_OTHER

+
+public static final String NOT_OTHER
+
+
Whether the field disallows constant values different from the provided tags; Boolean, default FALSE +

+

+
See Also:
Constant Field Values
+
+
+ +

+MULTILINE

+
+public static final String MULTILINE
+
+
If specified, create a multi-line editor +

+

+
See Also:
Constant Field Values
+
+
+ +

+DEFAULT

+
+public static final String DEFAULT
+
+
Default value, must be provided if NOT_UNDEFINED is TRUE +

+

+
See Also:
Constant Field Values
+
+
+ +

+RESOURCE_BUNDLE

+
+public static final String RESOURCE_BUNDLE
+
+
Pointer to the resource bundle, if any (will generally be null) +

+

+
See Also:
Constant Field Values
+
+
+ +

+GUITYPE

+
+public static final String GUITYPE
+
+
Property editor override; must be an enum of type TypeEditor +

+

+
See Also:
Constant Field Values
+
+
+ +

+TEXT_LANGUAGE

+
+public static final String TEXT_LANGUAGE
+
+
TextEditor property +

+

+
See Also:
Constant Field Values
+
+
+ +

+DEFAULT_GROUP

+
+public static final String DEFAULT_GROUP
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+GenericTestBeanCustomizer

+
+@Deprecated
+public GenericTestBeanCustomizer()
+
+
Deprecated. only for use by test code +

+

+ + + + + + + + +
+Method Detail
+ +

+ORDER

+
+public static final String ORDER(String group)
+
+
+
+
+
+
+
+
+
+ +

+setObject

+
+public void setObject(Object map)
+
+
+

+

+
Specified by:
setObject in interface Customizer
+
+
+
Parameters:
map - must be an instance of Map<String, Object>
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/testbeans/gui/IntegerPropertyEditor.html b/docs/api/org/apache/jmeter/testbeans/gui/IntegerPropertyEditor.html new file mode 100644 index 00000000000..baa2cd42d28 --- /dev/null +++ b/docs/api/org/apache/jmeter/testbeans/gui/IntegerPropertyEditor.html @@ -0,0 +1,291 @@ + + + + + +IntegerPropertyEditor (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.testbeans.gui +
+Class IntegerPropertyEditor

+
+java.lang.Object
+  extended by java.beans.PropertyEditorSupport
+      extended by org.apache.jmeter.testbeans.gui.IntegerPropertyEditor
+
+
+
All Implemented Interfaces:
PropertyEditor
+
+
+
+
public class IntegerPropertyEditor
extends PropertyEditorSupport
+ + +

+Property Editor which handles Integer properties. + Uses Integer.decode(String) so supports hex and octal input. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
IntegerPropertyEditor() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ voidsetAsText(String text) + +
+           
+ voidsetValue(Object value) + +
+           
+ + + + + + + +
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getAsText, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, supportsCustomEditor
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+IntegerPropertyEditor

+
+public IntegerPropertyEditor()
+
+
+ + + + + + + + +
+Method Detail
+ +

+setAsText

+
+public void setAsText(String text)
+
+
+
Specified by:
setAsText in interface PropertyEditor
Overrides:
setAsText in class PropertyEditorSupport
+
+
+
+
+
+
+ +

+setValue

+
+public void setValue(Object value)
+
+
+
Specified by:
setValue in interface PropertyEditor
Overrides:
setValue in class PropertyEditorSupport
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/testbeans/gui/LongPropertyEditor.html b/docs/api/org/apache/jmeter/testbeans/gui/LongPropertyEditor.html new file mode 100644 index 00000000000..5e9915b6de4 --- /dev/null +++ b/docs/api/org/apache/jmeter/testbeans/gui/LongPropertyEditor.html @@ -0,0 +1,291 @@ + + + + + +LongPropertyEditor (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.testbeans.gui +
+Class LongPropertyEditor

+
+java.lang.Object
+  extended by java.beans.PropertyEditorSupport
+      extended by org.apache.jmeter.testbeans.gui.LongPropertyEditor
+
+
+
All Implemented Interfaces:
PropertyEditor
+
+
+
+
public class LongPropertyEditor
extends PropertyEditorSupport
+ + +

+Property Editor which handles Long properties. + Uses Long.decode(String) so supports hex and octal input. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
LongPropertyEditor() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ voidsetAsText(String text) + +
+           
+ voidsetValue(Object value) + +
+           
+ + + + + + + +
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getAsText, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, supportsCustomEditor
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+LongPropertyEditor

+
+public LongPropertyEditor()
+
+
+ + + + + + + + +
+Method Detail
+ +

+setAsText

+
+public void setAsText(String text)
+
+
+
Specified by:
setAsText in interface PropertyEditor
Overrides:
setAsText in class PropertyEditorSupport
+
+
+
+
+
+
+ +

+setValue

+
+public void setValue(Object value)
+
+
+
Specified by:
setValue in interface PropertyEditor
Overrides:
setValue in class PropertyEditorSupport
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/testbeans/gui/PasswordEditor.html b/docs/api/org/apache/jmeter/testbeans/gui/PasswordEditor.html new file mode 100644 index 00000000000..ef09452c6f9 --- /dev/null +++ b/docs/api/org/apache/jmeter/testbeans/gui/PasswordEditor.html @@ -0,0 +1,484 @@ + + + + + +PasswordEditor (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.testbeans.gui +
+Class PasswordEditor

+
+java.lang.Object
+  extended by java.beans.PropertyEditorSupport
+      extended by org.apache.jmeter.testbeans.gui.PasswordEditor
+
+
+
All Implemented Interfaces:
ActionListener, FocusListener, PropertyEditor, EventListener
+
+
+
+
public class PasswordEditor
extends PropertyEditorSupport
implements ActionListener, FocusListener
+ + +

+This class implements a property editor for non-null String properties that + supports custom editing (i.e.: provides a GUI component) based on a text + field. +

+ The provided GUI is a simple password field. +

+ +

+


+ +

+ + + + + + + + + + + + +
+Constructor Summary
+protected PasswordEditor() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidactionPerformed(ActionEvent e) + +
+          
+ voidfirePropertyChange() + +
+          Avoid needlessly firing PropertyChanged events.
+ voidfocusGained(FocusEvent e) + +
+          
+ voidfocusLost(FocusEvent e) + +
+          
+ StringgetAsText() + +
+           
+ ComponentgetCustomEditor() + +
+          
+ ObjectgetValue() + +
+           
+ voidsetAsText(String value) + +
+           
+ voidsetValue(Object value) + +
+           
+ booleansupportsCustomEditor() + +
+           
+ + + + + + + +
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, getJavaInitializationString, getSource, getTags, isPaintable, paintValue, removePropertyChangeListener, setSource
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+PasswordEditor

+
+protected PasswordEditor()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getAsText

+
+public String getAsText()
+
+
+
Specified by:
getAsText in interface PropertyEditor
Overrides:
getAsText in class PropertyEditorSupport
+
+
+
+
+
+
+ +

+setAsText

+
+public void setAsText(String value)
+
+
+
Specified by:
setAsText in interface PropertyEditor
Overrides:
setAsText in class PropertyEditorSupport
+
+
+
+
+
+
+ +

+getValue

+
+public Object getValue()
+
+
+
Specified by:
getValue in interface PropertyEditor
Overrides:
getValue in class PropertyEditorSupport
+
+
+
+
+
+
+ +

+setValue

+
+public void setValue(Object value)
+
+
+
Specified by:
setValue in interface PropertyEditor
Overrides:
setValue in class PropertyEditorSupport
+
+
+
+
+
+
+ +

+getCustomEditor

+
+public Component getCustomEditor()
+
+
+

+

+
Specified by:
getCustomEditor in interface PropertyEditor
Overrides:
getCustomEditor in class PropertyEditorSupport
+
+
+
+
+
+
+ +

+supportsCustomEditor

+
+public boolean supportsCustomEditor()
+
+
+
Specified by:
supportsCustomEditor in interface PropertyEditor
Overrides:
supportsCustomEditor in class PropertyEditorSupport
+
+
+
+
+
+
+ +

+firePropertyChange

+
+public void firePropertyChange()
+
+
Avoid needlessly firing PropertyChanged events. +

+ +

+

+
Overrides:
firePropertyChange in class PropertyEditorSupport
+
+
+
+
+
+
+ +

+actionPerformed

+
+public void actionPerformed(ActionEvent e)
+
+
+

+

+
Specified by:
actionPerformed in interface ActionListener
+
+
+
+
+
+
+ +

+focusGained

+
+public void focusGained(FocusEvent e)
+
+
+

+

+
Specified by:
focusGained in interface FocusListener
+
+
+
+
+
+
+ +

+focusLost

+
+public void focusLost(FocusEvent e)
+
+
+

+

+
Specified by:
focusLost in interface FocusListener
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/testbeans/gui/SharedCustomizer.html b/docs/api/org/apache/jmeter/testbeans/gui/SharedCustomizer.html new file mode 100644 index 00000000000..75ed36ac736 --- /dev/null +++ b/docs/api/org/apache/jmeter/testbeans/gui/SharedCustomizer.html @@ -0,0 +1,197 @@ + + + + + +SharedCustomizer (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.testbeans.gui +
+Interface SharedCustomizer

+
+
All Superinterfaces:
Customizer
+
+
+
All Known Implementing Classes:
GenericTestBeanCustomizer
+
+
+
+
public interface SharedCustomizer
extends Customizer
+ + +

+Tagging interface to mark a customizer class as shareable among elements of + the same type. +

+ The interface is equivalent to Customizer -- the only difference is that + setElement can be called multiple times to change the element it works on. +

+ +

+


+ +

+ + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from interface java.beans.Customizer
addPropertyChangeListener, removePropertyChangeListener, setObject
+  +

+ +


+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/testbeans/gui/TableEditor.html b/docs/api/org/apache/jmeter/testbeans/gui/TableEditor.html new file mode 100644 index 00000000000..89d48cda1c4 --- /dev/null +++ b/docs/api/org/apache/jmeter/testbeans/gui/TableEditor.html @@ -0,0 +1,567 @@ + + + + + +TableEditor (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.testbeans.gui +
+Class TableEditor

+
+java.lang.Object
+  extended by java.beans.PropertyEditorSupport
+      extended by org.apache.jmeter.testbeans.gui.TableEditor
+
+
+
All Implemented Interfaces:
FocusListener, PropertyEditor, EventListener, TableModelListener, TestBeanPropertyEditor
+
+
+
+
public class TableEditor
extends PropertyEditorSupport
implements FocusListener, TestBeanPropertyEditor, TableModelListener
+ + +

+Table editor for TestBean GUI properties. + Currently only works for: +

    +
  • property type Collection of Strings, where there is a single header entry
  • +
+

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + +
+Field Summary
+static StringCLASSNAME + +
+          attribute name for class name of a table row; + value must be java.lang.String, or a class which supports set and get/is methods for the property name.
+static StringHEADERS + +
+          attribute name for table headers, value must be a String array.
+static StringOBJECT_PROPERTIES + +
+          attribute name for property names within the CLASSNAME, value must be String array
+  + + + + + + + + + + +
+Constructor Summary
TableEditor() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidfocusGained(FocusEvent e) + +
+           
+ voidfocusLost(FocusEvent e) + +
+           
+ StringgetAsText() + +
+           
+ ComponentgetCustomEditor() + +
+           
+ ObjectgetValue() + +
+           
+ voidsetAsText(String text) + +
+           
+ voidsetDescriptor(PropertyDescriptor descriptor) + +
+          For the table editor, the CLASSNAME attribute must simply be the name of the class of object it will hold + where each row holds one object.
+ voidsetValue(Object value) + +
+           
+ booleansupportsCustomEditor() + +
+           
+ voidtableChanged(TableModelEvent e) + +
+           
+ + + + + + + +
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getJavaInitializationString, getSource, getTags, isPaintable, paintValue, removePropertyChangeListener, setSource
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface java.beans.PropertyEditor
addPropertyChangeListener, getJavaInitializationString, getTags, isPaintable, paintValue, removePropertyChangeListener
+  +

+ + + + + + + + +
+Field Detail
+ +

+CLASSNAME

+
+public static final String CLASSNAME
+
+
attribute name for class name of a table row; + value must be java.lang.String, or a class which supports set and get/is methods for the property name. +

+

+
See Also:
Constant Field Values
+
+
+ +

+HEADERS

+
+public static final String HEADERS
+
+
attribute name for table headers, value must be a String array. + If CLASSNAME is java.lang.String, there must be only a single entry. +

+

+
See Also:
Constant Field Values
+
+
+ +

+OBJECT_PROPERTIES

+
+public static final String OBJECT_PROPERTIES
+
+
attribute name for property names within the CLASSNAME, value must be String array +

+

+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+TableEditor

+
+public TableEditor()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getAsText

+
+public String getAsText()
+
+
+
Specified by:
getAsText in interface PropertyEditor
Overrides:
getAsText in class PropertyEditorSupport
+
+
+
+
+
+
+ +

+getCustomEditor

+
+public Component getCustomEditor()
+
+
+
Specified by:
getCustomEditor in interface PropertyEditor
Overrides:
getCustomEditor in class PropertyEditorSupport
+
+
+
+
+
+
+ +

+getValue

+
+public Object getValue()
+
+
+
Specified by:
getValue in interface PropertyEditor
Overrides:
getValue in class PropertyEditorSupport
+
+
+
+
+
+
+ +

+setAsText

+
+public void setAsText(String text)
+               throws IllegalArgumentException
+
+
+
Specified by:
setAsText in interface PropertyEditor
Overrides:
setAsText in class PropertyEditorSupport
+
+
+ +
Throws: +
IllegalArgumentException
+
+
+
+ +

+setValue

+
+public void setValue(Object value)
+
+
+
Specified by:
setValue in interface PropertyEditor
Overrides:
setValue in class PropertyEditorSupport
+
+
+
+
+
+
+ +

+supportsCustomEditor

+
+public boolean supportsCustomEditor()
+
+
+
Specified by:
supportsCustomEditor in interface PropertyEditor
Overrides:
supportsCustomEditor in class PropertyEditorSupport
+
+
+
+
+
+
+ +

+setDescriptor

+
+public void setDescriptor(PropertyDescriptor descriptor)
+
+
For the table editor, the CLASSNAME attribute must simply be the name of the class of object it will hold + where each row holds one object. +

+

+
Specified by:
setDescriptor in interface TestBeanPropertyEditor
+
+
+
+
+
+
+ +

+tableChanged

+
+public void tableChanged(TableModelEvent e)
+
+
+
Specified by:
tableChanged in interface TableModelListener
+
+
+
+
+
+
+ +

+focusGained

+
+public void focusGained(FocusEvent e)
+
+
+
Specified by:
focusGained in interface FocusListener
+
+
+
+
+
+
+ +

+focusLost

+
+public void focusLost(FocusEvent e)
+
+
+
Specified by:
focusLost in interface FocusListener
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/testbeans/gui/TestBeanGUI.html b/docs/api/org/apache/jmeter/testbeans/gui/TestBeanGUI.html new file mode 100644 index 00000000000..cc2429bd66a --- /dev/null +++ b/docs/api/org/apache/jmeter/testbeans/gui/TestBeanGUI.html @@ -0,0 +1,793 @@ + + + + + +TestBeanGUI (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.testbeans.gui +
+Class TestBeanGUI

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.testbeans.gui.TestBeanGUI
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ClearGui, JMeterGUIComponent, LocaleChangeListener, Printable
+
+
+
+
public class TestBeanGUI
extends AbstractJMeterGuiComponent
implements JMeterGUIComponent, LocaleChangeListener
+ + +

+JMeter GUI element editing for TestBean elements. +

+ The actual GUI is always a bean customizer: if the bean descriptor provides + one, it will be used; otherwise, a GenericTestBeanCustomizer will be created + for this purpose. +

+ Those customizers deviate from the standards only in that, instead of a bean, + they will receive a Map in the setObject call. This will be a property name + to value Map. The customizer is also in charge of initializing empty Maps + with sensible initial values. +

+ If the provided Customizer class implements the SharedCustomizer interface, + the same instance of the customizer will be reused for all beans of the type: + setObject(map) can then be called multiple times. Otherwise, one separate + instance will be used for each element. For efficiency reasons, most + customizers should implement SharedCustomizer. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + + + + +
+Constructor Summary
TestBeanGUI() + +
+          Deprecated. Dummy for JUnit test purposes only
TestBeanGUI(Class<?> testBeanClass) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclearGui() + +
+          Provides a default implementation that resets the name field to the value of + getStaticLabel(), reset comment and sets enabled to true.
+ voidconfigure(TestElement element) + +
+          A newly created gui component can be initialized with the contents of a + Test Element object by calling this method.
+ JPopupMenucreatePopupMenu() + +
+          When a user right-clicks on the component in the test tree, or selects + the edit menu when the component is selected, the component will be asked + to return a JPopupMenu that provides all the options available to the + user from this component.
+ TestElementcreateTestElement() + +
+          JMeter test components are separated into a model and a GUI + representation.
+ StringgetDocAnchor() + +
+          Compute Anchor value to find reference in documentation for a particular component
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ Collection<String>getMenuCategories() + +
+          This is the list of add menu categories this gui component will be + available under.
+ StringgetStaticLabel() + +
+          Get the component's label.
+ booleanisExpert() + +
+           
+ booleanisHidden() + +
+           
+ voidlocaleChanged(LocaleChangeEvent event) + +
+          Handle Locale Change by reloading BeanInfo
+ voidmodifyTestElement(TestElement element) + +
+          GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components.
+ intsetupGuiClasses() + +
+          Setup GUI class
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getName, getNamePanel, getPrintableComponent, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.gui.JMeterGUIComponent
getName, isEnabled, setEnabled, setName
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+TestBeanGUI

+
+@Deprecated
+public TestBeanGUI()
+
+
Deprecated. Dummy for JUnit test purposes only +

+

+
+ +

+TestBeanGUI

+
+public TestBeanGUI(Class<?> testBeanClass)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getStaticLabel

+
+public String getStaticLabel()
+
+
Get the component's label. This label is used in drop down lists that + give the user the option of choosing one type of component in a list of + many. It should therefore be a descriptive name for the end user to see. + It must be unique to the class. + + It is also used by Help to find the appropriate location in the + documentation. + + Normally getLabelResource() should be overridden instead of + this method; the definition of this method in AbstractJMeterGuiComponent + is intended for general use. +

+

+
Specified by:
getStaticLabel in interface JMeterGUIComponent
Overrides:
getStaticLabel in class AbstractJMeterGuiComponent
+
+
+ +
Returns:
GUI label for the component.
See Also:
JMeterGUIComponent.getLabelResource()
+
+
+
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
JMeter test components are separated into a model and a GUI + representation. The model holds the data and the GUI displays it. The GUI + class is responsible for knowing how to create and initialize with data + the model class that it knows how to display, and this method is called + when new test elements are created. +

+

+
Specified by:
createTestElement in interface JMeterGUIComponent
+
+
+ +
Returns:
the Test Element object that the GUI component represents.
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement element)
+
+
GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components. This method should + overwrite whatever data is currently in the TestElement as it is called + after a user has filled out the form elements in the gui with new + information. +

+

+
Specified by:
modifyTestElement in interface JMeterGUIComponent
+
+
+
Parameters:
element - the TestElement to modify
+
+
+
+ +

+createPopupMenu

+
+public JPopupMenu createPopupMenu()
+
+
When a user right-clicks on the component in the test tree, or selects + the edit menu when the component is selected, the component will be asked + to return a JPopupMenu that provides all the options available to the + user from this component. +

+

+
Specified by:
createPopupMenu in interface JMeterGUIComponent
+
+
+ +
Returns:
a JPopupMenu appropriate for the component.
+
+
+
+ +

+configure

+
+public void configure(TestElement element)
+
+
A newly created gui component can be initialized with the contents of a + Test Element object by calling this method. The component is responsible + for querying the Test Element object for the relevant information to + display in its GUI. +

+ AbstractJMeterGuiComponent provides a partial implementation of this + method, setting the name of the component and its enabled status. + Subclasses should override this method, performing their own + configuration as needed, but also calling this super-implementation. +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class AbstractJMeterGuiComponent
+
+
+
Parameters:
element - the TestElement to configure
+
+
+
+ +

+getMenuCategories

+
+public Collection<String> getMenuCategories()
+
+
This is the list of add menu categories this gui component will be + available under. For instance, if this represents a Controller, then the + MenuFactory.CONTROLLERS category should be in the returned collection. + When a user right-clicks on a tree element and looks through the "add" + menu, which category your GUI component shows up in is determined by + which categories are returned by this method. Most GUI's belong to only + one category, but it is possible for a component to exist in multiple + categories. +

+

+
Specified by:
getMenuCategories in interface JMeterGUIComponent
+
+
+ +
Returns:
a Collection of Strings, where each element is one of the + constants defined in MenuFactory
See Also:
MenuFactory
+
+
+
+ +

+setupGuiClasses

+
+public int setupGuiClasses()
+
+
Setup GUI class +

+

+
+
+
+ +
Returns:
number of matches
+
+
+
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+
Specified by:
getLabelResource in interface JMeterGUIComponent
+
+
+ +
Returns:
the resource name
+
+
+
+ +

+clearGui

+
+public void clearGui()
+
+
Provides a default implementation that resets the name field to the value of + getStaticLabel(), reset comment and sets enabled to true. Your GUI may need more things + cleared, in which case you should override, clear the extra fields, and + still call super.clearGui(). +

+

+
Specified by:
clearGui in interface ClearGui
Overrides:
clearGui in class AbstractJMeterGuiComponent
+
+
+
+
+
+
+ +

+isHidden

+
+public boolean isHidden()
+
+
+
+
+
+
+
+
+
+ +

+isExpert

+
+public boolean isExpert()
+
+
+
+
+
+
+
+
+
+ +

+localeChanged

+
+public void localeChanged(LocaleChangeEvent event)
+
+
Handle Locale Change by reloading BeanInfo +

+

+
Specified by:
localeChanged in interface LocaleChangeListener
+
+
+
Parameters:
event - LocaleChangeEvent
+
+
+
+ +

+getDocAnchor

+
+public String getDocAnchor()
+
+
Compute Anchor value to find reference in documentation for a particular component} +

+

+
Specified by:
getDocAnchor in interface JMeterGUIComponent
Overrides:
getDocAnchor in class AbstractJMeterGuiComponent
+
+
+ +
Returns:
String anchor
See Also:
AbstractJMeterGuiComponent.getDocAnchor()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/testbeans/gui/TestBeanPropertyEditor.html b/docs/api/org/apache/jmeter/testbeans/gui/TestBeanPropertyEditor.html new file mode 100644 index 00000000000..1bc03476a00 --- /dev/null +++ b/docs/api/org/apache/jmeter/testbeans/gui/TestBeanPropertyEditor.html @@ -0,0 +1,220 @@ + + + + + +TestBeanPropertyEditor (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.testbeans.gui +
+Interface TestBeanPropertyEditor

+
+
All Superinterfaces:
PropertyEditor
+
+
+
All Known Implementing Classes:
TableEditor
+
+
+
+
public interface TestBeanPropertyEditor
extends PropertyEditor
+ + +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+ voidsetDescriptor(PropertyDescriptor descriptor) + +
+           
+ + + + + + + +
Methods inherited from interface java.beans.PropertyEditor
addPropertyChangeListener, getAsText, getCustomEditor, getJavaInitializationString, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setAsText, setValue, supportsCustomEditor
+  +

+ + + + + + + + +
+Method Detail
+ +

+setDescriptor

+
+void setDescriptor(PropertyDescriptor descriptor)
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/testbeans/gui/TextAreaEditor.html b/docs/api/org/apache/jmeter/testbeans/gui/TextAreaEditor.html new file mode 100644 index 00000000000..c113a8e3552 --- /dev/null +++ b/docs/api/org/apache/jmeter/testbeans/gui/TextAreaEditor.html @@ -0,0 +1,495 @@ + + + + + +TextAreaEditor (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.testbeans.gui +
+Class TextAreaEditor

+
+java.lang.Object
+  extended by java.beans.PropertyEditorSupport
+      extended by org.apache.jmeter.testbeans.gui.TextAreaEditor
+
+
+
All Implemented Interfaces:
FocusListener, PropertyChangeListener, PropertyEditor, EventListener
+
+
+
+
public class TextAreaEditor
extends PropertyEditorSupport
implements FocusListener, PropertyChangeListener
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + +
+Constructor Summary
TextAreaEditor() + +
+           
TextAreaEditor(Object source) + +
+           
TextAreaEditor(PropertyDescriptor descriptor) + +
+          Construct a TextAreaEditor using the properties of a given + PropertyDescriptor
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidfocusGained(FocusEvent e) + +
+          
+ voidfocusLost(FocusEvent e) + +
+          
+ StringgetAsText() + +
+          
+ ComponentgetCustomEditor() + +
+          
+ ObjectgetValue() + +
+          
+ voidpropertyChange(PropertyChangeEvent evt) + +
+           
+ voidsetAsText(String text) + +
+          
+ voidsetValue(Object value) + +
+          
+ booleansupportsCustomEditor() + +
+          
+ + + + + + + +
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getJavaInitializationString, getSource, getTags, isPaintable, paintValue, removePropertyChangeListener, setSource
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+TextAreaEditor

+
+public TextAreaEditor()
+
+
+
+ +

+TextAreaEditor

+
+public TextAreaEditor(Object source)
+
+
+
Parameters:
source - the source used for event firing
+
+
+ +

+TextAreaEditor

+
+public TextAreaEditor(PropertyDescriptor descriptor)
+
+
Construct a TextAreaEditor using the properties of a given + PropertyDescriptor +

+

+
Parameters:
descriptor - to be used for the editor. Must not be null
+
+ + + + + + + + +
+Method Detail
+ +

+focusGained

+
+public void focusGained(FocusEvent e)
+
+
+

+

+
Specified by:
focusGained in interface FocusListener
+
+
+
+
+
+
+ +

+focusLost

+
+public void focusLost(FocusEvent e)
+
+
+

+

+
Specified by:
focusLost in interface FocusListener
+
+
+
+
+
+
+ +

+getAsText

+
+public String getAsText()
+
+
+

+

+
Specified by:
getAsText in interface PropertyEditor
Overrides:
getAsText in class PropertyEditorSupport
+
+
+
+
+
+
+ +

+getCustomEditor

+
+public Component getCustomEditor()
+
+
+

+

+
Specified by:
getCustomEditor in interface PropertyEditor
Overrides:
getCustomEditor in class PropertyEditorSupport
+
+
+
+
+
+
+ +

+setAsText

+
+public void setAsText(String text)
+               throws IllegalArgumentException
+
+
+

+

+
Specified by:
setAsText in interface PropertyEditor
Overrides:
setAsText in class PropertyEditorSupport
+
+
+ +
Throws: +
IllegalArgumentException
+
+
+
+ +

+setValue

+
+public void setValue(Object value)
+
+
+

+

+
Specified by:
setValue in interface PropertyEditor
Overrides:
setValue in class PropertyEditorSupport
+
+
+
+
+
+
+ +

+getValue

+
+public Object getValue()
+
+
+

+

+
Specified by:
getValue in interface PropertyEditor
Overrides:
getValue in class PropertyEditorSupport
+
+
+
+
+
+
+ +

+supportsCustomEditor

+
+public boolean supportsCustomEditor()
+
+
+

+

+
Specified by:
supportsCustomEditor in interface PropertyEditor
Overrides:
supportsCustomEditor in class PropertyEditorSupport
+
+
+
+
+
+
+ +

+propertyChange

+
+public void propertyChange(PropertyChangeEvent evt)
+
+
+
Specified by:
propertyChange in interface PropertyChangeListener
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/testbeans/gui/TypeEditor.html b/docs/api/org/apache/jmeter/testbeans/gui/TypeEditor.html new file mode 100644 index 00000000000..61023fd40f9 --- /dev/null +++ b/docs/api/org/apache/jmeter/testbeans/gui/TypeEditor.html @@ -0,0 +1,370 @@ + + + + + +TypeEditor (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.testbeans.gui +
+Enum TypeEditor

+
+java.lang.Object
+  extended by java.lang.Enum<TypeEditor>
+      extended by org.apache.jmeter.testbeans.gui.TypeEditor
+
+
+
All Implemented Interfaces:
Serializable, Comparable<TypeEditor>
+
+
+
+
public enum TypeEditor
extends Enum<TypeEditor>
+ + +

+Allow direct specification of property editors. +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + +
+Enum Constant Summary
ComboStringEditor + +
+           
FileEditor + +
+           
PasswordEditor + +
+           
TableEditor + +
+           
TextAreaEditor + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+static TypeEditorvalueOf(String name) + +
+          Returns the enum constant of this type with the specified name.
+static TypeEditor[]values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+ + + + + + + +
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
+ + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Enum Constant Detail
+ +

+FileEditor

+
+public static final TypeEditor FileEditor
+
+
+
+
+
+ +

+PasswordEditor

+
+public static final TypeEditor PasswordEditor
+
+
+
+
+
+ +

+TableEditor

+
+public static final TypeEditor TableEditor
+
+
+
+
+
+ +

+TextAreaEditor

+
+public static final TypeEditor TextAreaEditor
+
+
+
+
+
+ +

+ComboStringEditor

+
+public static final TypeEditor ComboStringEditor
+
+
+
+
+ + + + + + + + +
+Method Detail
+ +

+values

+
+public static TypeEditor[] values()
+
+
Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
+for (TypeEditor c : TypeEditor.values())
+    System.out.println(c);
+
+

+

+ +
Returns:
an array containing the constants of this enum type, in +the order they are declared
+
+
+
+ +

+valueOf

+
+public static TypeEditor valueOf(String name)
+
+
Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.) +

+

+
Parameters:
name - the name of the enum constant to be returned. +
Returns:
the enum constant with the specified name +
Throws: +
IllegalArgumentException - if this enum type has no constant +with the specified name +
NullPointerException - if the argument is null
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/testbeans/gui/package-frame.html b/docs/api/org/apache/jmeter/testbeans/gui/package-frame.html new file mode 100644 index 00000000000..8ffd84eea00 --- /dev/null +++ b/docs/api/org/apache/jmeter/testbeans/gui/package-frame.html @@ -0,0 +1,70 @@ + + + + + +org.apache.jmeter.testbeans.gui (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.testbeans.gui + + + + +
+Interfaces  + +
+SharedCustomizer +
+TestBeanPropertyEditor
+ + + + + + +
+Classes  + +
+BooleanPropertyEditor +
+FileEditor +
+GenericTestBeanCustomizer +
+IntegerPropertyEditor +
+LongPropertyEditor +
+PasswordEditor +
+TableEditor +
+TestBeanGUI +
+TextAreaEditor
+ + + + + + +
+Enums  + +
+TypeEditor
+ + + + diff --git a/docs/api/org/apache/jmeter/testbeans/gui/package-summary.html b/docs/api/org/apache/jmeter/testbeans/gui/package-summary.html new file mode 100644 index 00000000000..eb2730e8d71 --- /dev/null +++ b/docs/api/org/apache/jmeter/testbeans/gui/package-summary.html @@ -0,0 +1,221 @@ + + + + + +org.apache.jmeter.testbeans.gui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.testbeans.gui +

+ + + + + + + + + + + + + +
+Interface Summary
SharedCustomizerTagging interface to mark a customizer class as shareable among elements of + the same type.
TestBeanPropertyEditor 
+  + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
BooleanPropertyEditorProperty Editor which handles Boolean properties.
FileEditorA property editor for File properties.
GenericTestBeanCustomizerThe GenericTestBeanCustomizer is designed to provide developers with a + mechanism to quickly implement GUIs for new components.
IntegerPropertyEditorProperty Editor which handles Integer properties.
LongPropertyEditorProperty Editor which handles Long properties.
PasswordEditorThis class implements a property editor for non-null String properties that + supports custom editing (i.e.: provides a GUI component) based on a text + field.
TableEditorTable editor for TestBean GUI properties.
TestBeanGUIJMeter GUI element editing for TestBean elements.
TextAreaEditor 
+  + +

+ + + + + + + + + +
+Enum Summary
TypeEditorAllow direct specification of property editors.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/testbeans/gui/package-tree.html b/docs/api/org/apache/jmeter/testbeans/gui/package-tree.html new file mode 100644 index 00000000000..cb0ad91b4b5 --- /dev/null +++ b/docs/api/org/apache/jmeter/testbeans/gui/package-tree.html @@ -0,0 +1,191 @@ + + + + + +org.apache.jmeter.testbeans.gui Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.testbeans.gui +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +

+Enum Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/testbeans/package-frame.html b/docs/api/org/apache/jmeter/testbeans/package-frame.html new file mode 100644 index 00000000000..b5ce12ecb54 --- /dev/null +++ b/docs/api/org/apache/jmeter/testbeans/package-frame.html @@ -0,0 +1,45 @@ + + + + + +org.apache.jmeter.testbeans (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.testbeans + + + + +
+Interfaces  + +
+TestBean
+ + + + + + +
+Classes  + +
+BeanInfoSupport +
+TestBeanBeanInfo +
+TestBeanHelper
+ + + + diff --git a/docs/api/org/apache/jmeter/testbeans/package-summary.html b/docs/api/org/apache/jmeter/testbeans/package-summary.html new file mode 100644 index 00000000000..ad5f192b7d2 --- /dev/null +++ b/docs/api/org/apache/jmeter/testbeans/package-summary.html @@ -0,0 +1,175 @@ + + + + + +org.apache.jmeter.testbeans (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.testbeans +

+ + + + + + + + + +
+Interface Summary
TestBeanMarker interface to tell JMeter to make a Test Bean Gui for the class.
+  + +

+ + + + + + + + + + + + + + + + + +
+Class Summary
BeanInfoSupportSupport class for test bean beanInfo objects.
TestBeanBeanInfoThis is the BeanInfo object for the TestBean class.
TestBeanHelperThis is an experimental class.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/testbeans/package-tree.html b/docs/api/org/apache/jmeter/testbeans/package-tree.html new file mode 100644 index 00000000000..30fe88c59cd --- /dev/null +++ b/docs/api/org/apache/jmeter/testbeans/package-tree.html @@ -0,0 +1,158 @@ + + + + + +org.apache.jmeter.testbeans Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.testbeans +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/testelement/AbstractScopedAssertion.html b/docs/api/org/apache/jmeter/testelement/AbstractScopedAssertion.html new file mode 100644 index 00000000000..9ac3abde508 --- /dev/null +++ b/docs/api/org/apache/jmeter/testelement/AbstractScopedAssertion.html @@ -0,0 +1,313 @@ + + + + + +AbstractScopedAssertion (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.testelement +
+Class AbstractScopedAssertion

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.testelement.AbstractScopedTestElement
+          extended by org.apache.jmeter.testelement.AbstractScopedAssertion
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Searchable, TestElement
+
+
+
Direct Known Subclasses:
DurationAssertion, ResponseAssertion, SizeAssertion, XPathAssertion
+
+
+
+
public abstract class AbstractScopedAssertion
extends AbstractScopedTestElement
+ + +

+

+ Super-class for all Assertions that can be applied to main sample, sub-samples or both. + Test elements merely need to extend this class to support scoping. +

+ +

+ Their corresponding GUI classes need to add the AssertionScopePanel to the GUI + using the AbstractAssertionGui methods: +

    +
  • createScopePanel()
  • +
  • saveScopeSettings()
  • +
  • showScopeSettings()
  • +
+

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
AbstractScopedAssertion() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+protected  StringgetScopeName() + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractScopedTestElement
fetchScope, getSampleList, getVariableName, isScopeAll, isScopeChildren, isScopeParent, isScopeVariable, isScopeVariable, setScopeAll, setScopeChildren, setScopeParent, setScopeVariable
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+AbstractScopedAssertion

+
+public AbstractScopedAssertion()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getScopeName

+
+protected String getScopeName()
+
+
+
Overrides:
getScopeName in class AbstractScopedTestElement
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/testelement/AbstractScopedTestElement.html b/docs/api/org/apache/jmeter/testelement/AbstractScopedTestElement.html new file mode 100644 index 00000000000..bd18c2cb910 --- /dev/null +++ b/docs/api/org/apache/jmeter/testelement/AbstractScopedTestElement.html @@ -0,0 +1,555 @@ + + + + + +AbstractScopedTestElement (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.testelement +
+Class AbstractScopedTestElement

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.testelement.AbstractScopedTestElement
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Searchable, TestElement
+
+
+
Direct Known Subclasses:
AbstractScopedAssertion, HtmlExtractor, RegexExtractor, XPathExtractor
+
+
+
+
public abstract class AbstractScopedTestElement
extends AbstractTestElement
+ + +

+

+ Super-class for TestElements that can be applied to main sample, sub-samples or both. + [Assertions use a different class because they use a different value for the getScopeName() constant] +

+ +

+ Their corresponding GUI classes need to add the ScopePanel to the GUI + using the AbstractXXXGui methods: +

    +
  • createScopePanel()
  • +
  • saveScopeSettings()
  • +
  • showScopeSettings()
  • +
+

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
AbstractScopedTestElement() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringfetchScope() + +
+          Get the scope setting
+protected  List<SampleResult>getSampleList(SampleResult result) + +
+          Generate a list of qualifying sample results, + depending on the scope.
+protected  StringgetScopeName() + +
+           
+ StringgetVariableName() + +
+           
+ booleanisScopeAll(String scope) + +
+          Is the assertion to be applied to the all samples?
+ booleanisScopeChildren(String scope) + +
+          Is the assertion to be applied to the sub-samples (children)?
+ booleanisScopeParent(String scope) + +
+          Is the assertion to be applied to the main (parent) sample?
+protected  booleanisScopeVariable() + +
+          Is the assertion to be applied to the all samples?
+ booleanisScopeVariable(String scope) + +
+          Is the assertion to be applied to the all samples?
+ voidsetScopeAll() + +
+           
+ voidsetScopeChildren() + +
+           
+ voidsetScopeParent() + +
+           
+ voidsetScopeVariable(String variableName) + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+AbstractScopedTestElement

+
+public AbstractScopedTestElement()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getScopeName

+
+protected String getScopeName()
+
+
+
+
+
+
+ +

+fetchScope

+
+public String fetchScope()
+
+
Get the scope setting +

+

+ +
Returns:
the scope, default parent
+
+
+
+ +

+isScopeParent

+
+public boolean isScopeParent(String scope)
+
+
Is the assertion to be applied to the main (parent) sample? +

+

+
Parameters:
scope - name of the scope to be checked +
Returns:
true if the assertion is to be applied to the parent + sample.
+
+
+
+ +

+isScopeChildren

+
+public boolean isScopeChildren(String scope)
+
+
Is the assertion to be applied to the sub-samples (children)? +

+

+
Parameters:
scope - name of the scope to be checked +
Returns:
true if the assertion is to be applied to the + children.
+
+
+
+ +

+isScopeAll

+
+public boolean isScopeAll(String scope)
+
+
Is the assertion to be applied to the all samples? +

+

+
Parameters:
scope - name of the scope to be checked +
Returns:
true if the assertion is to be applied to the all + samples.
+
+
+
+ +

+isScopeVariable

+
+public boolean isScopeVariable(String scope)
+
+
Is the assertion to be applied to the all samples? +

+

+
Parameters:
scope - name of the scope to be checked +
Returns:
true if the assertion is to be applied to the all + samples.
+
+
+
+ +

+isScopeVariable

+
+protected boolean isScopeVariable()
+
+
Is the assertion to be applied to the all samples? +

+

+ +
Returns:
true if the assertion is to be applied to the all samples.
+
+
+
+ +

+getVariableName

+
+public String getVariableName()
+
+
+
+
+
+
+ +

+setScopeParent

+
+public void setScopeParent()
+
+
+
+
+
+
+ +

+setScopeChildren

+
+public void setScopeChildren()
+
+
+
+
+
+
+ +

+setScopeAll

+
+public void setScopeAll()
+
+
+
+
+
+
+ +

+setScopeVariable

+
+public void setScopeVariable(String variableName)
+
+
+
+
+
+
+ +

+getSampleList

+
+protected List<SampleResult> getSampleList(SampleResult result)
+
+
Generate a list of qualifying sample results, + depending on the scope. +

+

+
Parameters:
result - current sample +
Returns:
list containing the current sample and/or its child samples
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/testelement/AbstractTestElement.html b/docs/api/org/apache/jmeter/testelement/AbstractTestElement.html new file mode 100644 index 00000000000..cb56fcda348 --- /dev/null +++ b/docs/api/org/apache/jmeter/testelement/AbstractTestElement.html @@ -0,0 +1,1694 @@ + + + + + +AbstractTestElement (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.testelement +
+Class AbstractTestElement

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Searchable, TestElement
+
+
+
Direct Known Subclasses:
AbstractJDBCTestElement, AbstractListenerElement, AbstractSampler, AbstractScopedTestElement, AbstractThreadGroup, AnchorModifier, Argument, Authorization, BackendListener, BeanShellTestElement, CompareAssertion, ConfigTestElement, ConstantThroughputTimer, ConstantTimer, Cookie, CounterConfig, DataSourceElement, DebugPostProcessor, GenericController, Header, HTMLAssertion, HTTPFileArg, HttpMirrorControl, JMSProperties, JMSProperty, LDAPArgument, MailerModel, MD5HexAssertion, MonitorStats, OnErrorTestElement, ParamMask, ParamModifier, RegExUserParameters, RemoteListenerWrapper, RemoteSampleListenerWrapper, RemoteTestListenerWrapper, RemoteThreadsListenerWrapper, ResultSaver, ScriptingTestElement, SMIMEAssertionTestElement, SubstitutionElement, Summariser, SyncTimer, TestPlan, URLRewritingModifier, UserParameters, WorkBench, XMLAssertion, XMLSchemaAssertion
+
+
+
+
public abstract class AbstractTestElement
extends Object
implements TestElement, Serializable, Searchable
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
AbstractTestElement() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+protected  voidaddPropertiesValues(List<String> result, + Set<String> propertyNames) + +
+          Add to result the values of propertyNames
+protected  voidaddProperty(JMeterProperty property) + +
+          Add property to test element without cloning it
+protected  voidaddProperty(JMeterProperty property, + boolean clone) + +
+          Add property to test element
+ voidaddTestElement(TestElement el) + +
+          
+ booleancanRemove() + +
+          Called by Remove to determine if it is safe to remove the element.
+ voidclear() + +
+          Clear the TestElement of all data.
+protected  voidclearTemporary(JMeterProperty property) + +
+          Remove property from temporaryProperties
+ voidclearTestElementChildren() + +
+          This method should clear any test element properties that are merged + by TestElement.addTestElement(TestElement).
+ Objectclone() + +
+           
+protected  voidemptyTemporary() + +
+          Clears temporaryProperties
+ booleanequals(Object o) + +
+          
+ StringgetComment() + +
+           
+ StringgetName() + +
+          Get the name of this test element
+ JMeterPropertygetProperty(String key) + +
+          Get the named property.
+ booleangetPropertyAsBoolean(String key) + +
+          Return a property as a boolean value.
+ booleangetPropertyAsBoolean(String key, + boolean defaultVal) + +
+          Return a property as a boolean value or a default value if no property + could be found.
+ doublegetPropertyAsDouble(String key) + +
+          Return a property as a double value.
+ floatgetPropertyAsFloat(String key) + +
+          Return a property as a float value.
+ intgetPropertyAsInt(String key) + +
+          Return a property as an int value.
+ intgetPropertyAsInt(String key, + int defaultValue) + +
+          Return a property as an int value or a default value if no property + could be found.
+ longgetPropertyAsLong(String key) + +
+          Return a property as a long value.
+ longgetPropertyAsLong(String key, + long defaultValue) + +
+          Return a property as a long value or a default value if no property + could be found.
+ StringgetPropertyAsString(String key) + +
+          Return a property as a string value.
+ StringgetPropertyAsString(String key, + String defaultValue) + +
+          Return a property as an string value or a default value if no property + could be found.
+ List<String>getSearchableTokens() + +
+          Get a list of all tokens that should be visible to searching
+ JMeterContextgetThreadContext() + +
+           
+ StringgetThreadName() + +
+           
+ inthashCode() + +
+          
+ booleanisEnabled() + +
+          Check if ENABLED property is present and true ; defaults to true
+ booleanisRunningVersion() + +
+          Returns the runningVersion.
+ booleanisTemporary(JMeterProperty property) + +
+          Test whether a given property is only a temporary resident of the + TestElement
+protected  voidlogProperties() + +
+          Log the properties of the test element
+protected  voidmergeIn(TestElement element) + +
+          Add to this the properties of element (by reference)
+ PropertyIteratorpropertyIterator() + +
+          Get a Property Iterator for the TestElements properties.
+ voidrecoverRunningVersion() + +
+          Tells the test element to return to the state it was in when + setRunningVersion(true) was called.
+ voidremoveProperty(String key) + +
+          Remove property stored under the key
+ voidsetComment(String comment) + +
+          Associates a comment with this element
+ voidsetEnabled(boolean enabled) + +
+          Set the enabled status of the test element
+ voidsetName(String name) + +
+           
+ voidsetProperty(JMeterProperty property) + +
+          Sets and overwrites a property in the TestElement.
+ voidsetProperty(String name, + boolean value) + +
+           
+ voidsetProperty(String name, + boolean value, + boolean dflt) + +
+          Create a boolean property - but only if it is not the default.
+ voidsetProperty(String name, + int value) + +
+           
+ voidsetProperty(String name, + int value, + int dflt) + +
+          Create an int property - but only if it is not the default.
+ voidsetProperty(String name, + long value) + +
+           
+ voidsetProperty(String name, + long value, + long dflt) + +
+          Create a long property - but only if it is not the default.
+ voidsetProperty(String name, + String value) + +
+           
+ voidsetProperty(String name, + String value, + String dflt) + +
+          Create a String property - but only if it is not the default.
+ voidsetRunningVersion(boolean runningVersion) + +
+          Sets the runningVersion.
+ voidsetTemporary(JMeterProperty property) + +
+          Indicate that the given property should be only a temporary property in + the TestElement
+ voidsetThreadContext(JMeterContext inthreadContext) + +
+           
+ voidsetThreadName(String inthreadName) + +
+           
+ voidtraverse(TestElementTraverser traverser) + +
+          Convenient way to traverse a test element.
+protected  voidtraverseCollection(CollectionProperty col, + TestElementTraverser traverser) + +
+           
+protected  voidtraverseMap(MapProperty map, + TestElementTraverser traverser) + +
+           
+protected  voidtraverseProperty(TestElementTraverser traverser, + JMeterProperty value) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+AbstractTestElement

+
+public AbstractTestElement()
+
+
+ + + + + + + + +
+Method Detail
+ +

+clone

+
+public Object clone()
+
+
+
Specified by:
clone in interface TestElement
Overrides:
clone in class Object
+
+
+
+
+
+
+ +

+clear

+
+public void clear()
+
+
Clear the TestElement of all data. +

+

+
Specified by:
clear in interface TestElement
+
+
+
+
+
+
+ +

+clearTestElementChildren

+
+public void clearTestElementChildren()
+
+
This method should clear any test element properties that are merged + by TestElement.addTestElement(TestElement). +

+ Default implementation - does nothing +

+

+
Specified by:
clearTestElementChildren in interface TestElement
+
+
+
+
+
+
+ +

+removeProperty

+
+public void removeProperty(String key)
+
+
Remove property stored under the key +

+

+
Specified by:
removeProperty in interface TestElement
+
+
+
Parameters:
key - name of the property to be removed
+
+
+
+ +

+equals

+
+public boolean equals(Object o)
+
+
+

+

+
Overrides:
equals in class Object
+
+
+
+
+
+
+ +

+hashCode

+
+public int hashCode()
+
+
+

+

+
Overrides:
hashCode in class Object
+
+
+
+
+
+
+ +

+addTestElement

+
+public void addTestElement(TestElement el)
+
+
+

+

+
Specified by:
addTestElement in interface TestElement
+
+
+
+
+
+
+ +

+setName

+
+public void setName(String name)
+
+
+
Specified by:
setName in interface TestElement
+
+
+
Parameters:
name - of this element
+
+
+
+ +

+getName

+
+public String getName()
+
+
Description copied from interface: TestElement
+
Get the name of this test element +

+

+
Specified by:
getName in interface TestElement
+
+
+ +
Returns:
name of this element
+
+
+
+ +

+setComment

+
+public void setComment(String comment)
+
+
Description copied from interface: TestElement
+
Associates a comment with this element +

+

+
Specified by:
setComment in interface TestElement
+
+
+
Parameters:
comment - to be associated
+
+
+
+ +

+getComment

+
+public String getComment()
+
+
+
Specified by:
getComment in interface TestElement
+
+
+ +
Returns:
comment associated with this element
+
+
+
+ +

+getProperty

+
+public JMeterProperty getProperty(String key)
+
+
Get the named property. If it doesn't exist, a new NullProperty object is + created with the same name and returned. +

+

+
Specified by:
getProperty in interface TestElement
+
+
+
Parameters:
key - the name of the property to get +
Returns:
JMeterProperty stored under the name, or + NullProperty if no property can be found
+
+
+
+ +

+traverse

+
+public void traverse(TestElementTraverser traverser)
+
+
Description copied from interface: TestElement
+
Convenient way to traverse a test element. +

+

+
Specified by:
traverse in interface TestElement
+
+
+
Parameters:
traverser - The traverser that is notified of the contained elements
+
+
+
+ +

+traverseProperty

+
+protected void traverseProperty(TestElementTraverser traverser,
+                                JMeterProperty value)
+
+
+
+
+
+
+
+
+
+ +

+traverseMap

+
+protected void traverseMap(MapProperty map,
+                           TestElementTraverser traverser)
+
+
+
+
+
+
+
+
+
+ +

+traverseCollection

+
+protected void traverseCollection(CollectionProperty col,
+                                  TestElementTraverser traverser)
+
+
+
+
+
+
+
+
+
+ +

+getPropertyAsInt

+
+public int getPropertyAsInt(String key)
+
+
Description copied from interface: TestElement
+
Return a property as an int value. +

+

+
Specified by:
getPropertyAsInt in interface TestElement
+
+
+
Parameters:
key - the name of the property to get +
Returns:
the value of the property
+
+
+
+ +

+getPropertyAsInt

+
+public int getPropertyAsInt(String key,
+                            int defaultValue)
+
+
Description copied from interface: TestElement
+
Return a property as an int value or a default value if no property + could be found. +

+

+
Specified by:
getPropertyAsInt in interface TestElement
+
+
+
Parameters:
key - the name of the property to get
defaultValue - the default value to use +
Returns:
the value of the property, or defaultValue if no + property could be found
+
+
+
+ +

+getPropertyAsBoolean

+
+public boolean getPropertyAsBoolean(String key)
+
+
Description copied from interface: TestElement
+
Return a property as a boolean value. +

+

+
Specified by:
getPropertyAsBoolean in interface TestElement
+
+
+
Parameters:
key - the name of the property to get +
Returns:
the value of the property
+
+
+
+ +

+getPropertyAsBoolean

+
+public boolean getPropertyAsBoolean(String key,
+                                    boolean defaultVal)
+
+
Description copied from interface: TestElement
+
Return a property as a boolean value or a default value if no property + could be found. +

+

+
Specified by:
getPropertyAsBoolean in interface TestElement
+
+
+
Parameters:
key - the name of the property to get
defaultVal - the default value to use +
Returns:
the value of the property, or defaultValue if no + property could be found
+
+
+
+ +

+getPropertyAsFloat

+
+public float getPropertyAsFloat(String key)
+
+
Description copied from interface: TestElement
+
Return a property as a float value. +

+

+
Specified by:
getPropertyAsFloat in interface TestElement
+
+
+
Parameters:
key - the name of the property to get +
Returns:
the value of the property
+
+
+
+ +

+getPropertyAsLong

+
+public long getPropertyAsLong(String key)
+
+
Description copied from interface: TestElement
+
Return a property as a long value. +

+

+
Specified by:
getPropertyAsLong in interface TestElement
+
+
+
Parameters:
key - the name of the property to get +
Returns:
the value of the property
+
+
+
+ +

+getPropertyAsLong

+
+public long getPropertyAsLong(String key,
+                              long defaultValue)
+
+
Description copied from interface: TestElement
+
Return a property as a long value or a default value if no property + could be found. +

+

+
Specified by:
getPropertyAsLong in interface TestElement
+
+
+
Parameters:
key - the name of the property to get
defaultValue - the default value to use +
Returns:
the value of the property, or defaultValue if no + property could be found
+
+
+
+ +

+getPropertyAsDouble

+
+public double getPropertyAsDouble(String key)
+
+
Description copied from interface: TestElement
+
Return a property as a double value. +

+

+
Specified by:
getPropertyAsDouble in interface TestElement
+
+
+
Parameters:
key - the name of the property to get +
Returns:
the value of the property
+
+
+
+ +

+getPropertyAsString

+
+public String getPropertyAsString(String key)
+
+
Description copied from interface: TestElement
+
Return a property as a string value. +

+

+
Specified by:
getPropertyAsString in interface TestElement
+
+
+
Parameters:
key - the name of the property to get +
Returns:
the value of the property
+
+
+
+ +

+getPropertyAsString

+
+public String getPropertyAsString(String key,
+                                  String defaultValue)
+
+
Description copied from interface: TestElement
+
Return a property as an string value or a default value if no property + could be found. +

+

+
Specified by:
getPropertyAsString in interface TestElement
+
+
+
Parameters:
key - the name of the property to get
defaultValue - the default value to use +
Returns:
the value of the property, or defaultValue if no + property could be found
+
+
+
+ +

+addProperty

+
+protected void addProperty(JMeterProperty property,
+                           boolean clone)
+
+
Add property to test element +

+

+
+
+
+
Parameters:
property - JMeterProperty to add to current Test Element
clone - clone property
+
+
+
+ +

+addProperty

+
+protected void addProperty(JMeterProperty property)
+
+
Add property to test element without cloning it +

+

+
+
+
+
Parameters:
property - JMeterProperty
+
+
+
+ +

+clearTemporary

+
+protected void clearTemporary(JMeterProperty property)
+
+
Remove property from temporaryProperties +

+

+
+
+
+
Parameters:
property - JMeterProperty
+
+
+
+ +

+logProperties

+
+protected void logProperties()
+
+
Log the properties of the test element +

+

+
+
+
+
See Also:
TestElement.setProperty(JMeterProperty)
+
+
+
+ +

+setProperty

+
+public void setProperty(JMeterProperty property)
+
+
Description copied from interface: TestElement
+
Sets and overwrites a property in the TestElement. This call will be + ignored if the TestElement is currently a "running version". +

+

+
Specified by:
setProperty in interface TestElement
+
+
+
Parameters:
property - the property to be set
+
+
+
+ +

+setProperty

+
+public void setProperty(String name,
+                        String value)
+
+
+
Specified by:
setProperty in interface TestElement
+
+
+
+
+
+
+ +

+setProperty

+
+public void setProperty(String name,
+                        String value,
+                        String dflt)
+
+
Create a String property - but only if it is not the default. + This is intended for use when adding new properties to JMeter + so that JMX files are not expanded unnecessarily. + + N.B. - must agree with the default applied when reading the property. +

+

+
Specified by:
setProperty in interface TestElement
+
+
+
Parameters:
name - property name
value - current value
dflt - default
+
+
+
+ +

+setProperty

+
+public void setProperty(String name,
+                        boolean value)
+
+
+
Specified by:
setProperty in interface TestElement
+
+
+
+
+
+
+ +

+setProperty

+
+public void setProperty(String name,
+                        boolean value,
+                        boolean dflt)
+
+
Create a boolean property - but only if it is not the default. + This is intended for use when adding new properties to JMeter + so that JMX files are not expanded unnecessarily. + + N.B. - must agree with the default applied when reading the property. +

+

+
Specified by:
setProperty in interface TestElement
+
+
+
Parameters:
name - property name
value - current value
dflt - default
+
+
+
+ +

+setProperty

+
+public void setProperty(String name,
+                        int value)
+
+
+
Specified by:
setProperty in interface TestElement
+
+
+
+
+
+
+ +

+setProperty

+
+public void setProperty(String name,
+                        int value,
+                        int dflt)
+
+
Create an int property - but only if it is not the default. + This is intended for use when adding new properties to JMeter + so that JMX files are not expanded unnecessarily. + + N.B. - must agree with the default applied when reading the property. +

+

+
Specified by:
setProperty in interface TestElement
+
+
+
Parameters:
name - property name
value - current value
dflt - default
+
+
+
+ +

+setProperty

+
+public void setProperty(String name,
+                        long value)
+
+
+
Specified by:
setProperty in interface TestElement
+
+
+
+
+
+
+ +

+setProperty

+
+public void setProperty(String name,
+                        long value,
+                        long dflt)
+
+
Create a long property - but only if it is not the default. + This is intended for use when adding new properties to JMeter + so that JMX files are not expanded unnecessarily. + + N.B. - must agree with the default applied when reading the property. +

+

+
Specified by:
setProperty in interface TestElement
+
+
+
Parameters:
name - property name
value - current value
dflt - default
+
+
+
+ +

+propertyIterator

+
+public PropertyIterator propertyIterator()
+
+
Description copied from interface: TestElement
+
Get a Property Iterator for the TestElements properties. +

+

+
Specified by:
propertyIterator in interface TestElement
+
+
+ +
Returns:
PropertyIterator
+
+
+
+ +

+mergeIn

+
+protected void mergeIn(TestElement element)
+
+
Add to this the properties of element (by reference) +

+

+
+
+
+
Parameters:
element - TestElement
+
+
+
+ +

+isRunningVersion

+
+public boolean isRunningVersion()
+
+
Returns the runningVersion. +

+

+
Specified by:
isRunningVersion in interface TestElement
+
+
+ +
Returns:
true if the element is the running version
+
+
+
+ +

+setRunningVersion

+
+public void setRunningVersion(boolean runningVersion)
+
+
Sets the runningVersion. +

+

+
Specified by:
setRunningVersion in interface TestElement
+
+
+
Parameters:
runningVersion - the runningVersion to set
+
+
+
+ +

+recoverRunningVersion

+
+public void recoverRunningVersion()
+
+
Tells the test element to return to the state it was in when + setRunningVersion(true) was called. +

+

+
Specified by:
recoverRunningVersion in interface TestElement
+
+
+
+
+
+
+ +

+emptyTemporary

+
+protected void emptyTemporary()
+
+
Clears temporaryProperties +

+

+
+
+
+
+
+
+
+ +

+isTemporary

+
+public boolean isTemporary(JMeterProperty property)
+
+
Test whether a given property is only a temporary resident of the + TestElement +

+

+
Specified by:
isTemporary in interface TestElement
+
+
+
Parameters:
property - the property to be tested +
Returns:
true if property is temporary
+
+
+
+ +

+setTemporary

+
+public void setTemporary(JMeterProperty property)
+
+
Indicate that the given property should be only a temporary property in + the TestElement +

+

+
Specified by:
setTemporary in interface TestElement
+
+
+
Parameters:
property - void
+
+
+
+ +

+getThreadContext

+
+public JMeterContext getThreadContext()
+
+
+
Specified by:
getThreadContext in interface TestElement
+
+
+ +
Returns:
Returns the threadContext.
+
+
+
+ +

+setThreadContext

+
+public void setThreadContext(JMeterContext inthreadContext)
+
+
+
Specified by:
setThreadContext in interface TestElement
+
+
+
Parameters:
inthreadContext - The threadContext to set.
+
+
+
+ +

+getThreadName

+
+public String getThreadName()
+
+
+
Specified by:
getThreadName in interface TestElement
+
+
+ +
Returns:
Returns the threadName.
+
+
+
+ +

+setThreadName

+
+public void setThreadName(String inthreadName)
+
+
+
Specified by:
setThreadName in interface TestElement
+
+
+
Parameters:
inthreadName - The threadName to set.
+
+
+
+ +

+canRemove

+
+public boolean canRemove()
+
+
Called by Remove to determine if it is safe to remove the element. The + element can either clean itself up, and return true, or the element can + return false. +

+

+
Specified by:
canRemove in interface TestElement
+
+
+ +
Returns:
true if safe to remove the element
+
+
+
+ +

+isEnabled

+
+public boolean isEnabled()
+
+
Description copied from interface: TestElement
+
Check if ENABLED property is present and true ; defaults to true +

+

+
Specified by:
isEnabled in interface TestElement
+
+
+ +
Returns:
true if element is enabled
+
+
+
+ +

+setEnabled

+
+public void setEnabled(boolean enabled)
+
+
Description copied from interface: TestElement
+
Set the enabled status of the test element +

+

+
Specified by:
setEnabled in interface TestElement
+
+
+
Parameters:
enabled - the status to set
+
+
+
+ +

+getSearchableTokens

+
+public List<String> getSearchableTokens()
+
+
Get a list of all tokens that should be visible to searching} +

+

+
Specified by:
getSearchableTokens in interface Searchable
+
+
+ +
Returns:
List of searchable tokens
+
+
+
+ +

+addPropertiesValues

+
+protected final void addPropertiesValues(List<String> result,
+                                         Set<String> propertyNames)
+
+
Add to result the values of propertyNames +

+

+
+
+
+
Parameters:
result - List of values of propertyNames
propertyNames - Set of names of properties to extract
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/testelement/AbstractTestElementBeanInfo.html b/docs/api/org/apache/jmeter/testelement/AbstractTestElementBeanInfo.html new file mode 100644 index 00000000000..d6934a9e12b --- /dev/null +++ b/docs/api/org/apache/jmeter/testelement/AbstractTestElementBeanInfo.html @@ -0,0 +1,462 @@ + + + + + +AbstractTestElementBeanInfo (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.testelement +
+Class AbstractTestElementBeanInfo

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElementBeanInfo
+
+
+
All Implemented Interfaces:
BeanInfo
+
+
+
Direct Known Subclasses:
HTTPSamplerBaseBeanInfo
+
+
+
+
public class AbstractTestElementBeanInfo
extends Object
implements BeanInfo
+ + +

+This is the BeanInfo object for the AbstractTestElement class. It acts as a "stopper" + for the introspector: we don't want it to look at properties defined at this + or higher classes. +

+ Note this is really needed since using Introspector.getBeanInfo with a stop + class is not an option because: +

    +
  1. The API does not define a 3-parameter getBeanInfo in which you can use a + stop class AND flags. [Why? I guess this is a bug in the spec.] +
  2. java.beans.Introspector is buggy and, opposite to what's stated in the + Javadocs, only results of getBeanInfo(Class) are actually cached. +
+

+ +

+

+
Version:
+
$Revision: 1595401 $
+
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from interface java.beans.BeanInfo
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32
+  + + + + + + + + + + +
+Constructor Summary
AbstractTestElementBeanInfo() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ BeanInfo[]getAdditionalBeanInfo() + +
+           
+ BeanDescriptorgetBeanDescriptor() + +
+          
+ intgetDefaultEventIndex() + +
+          
+ intgetDefaultPropertyIndex() + +
+          
+ EventSetDescriptor[]getEventSetDescriptors() + +
+          
+ ImagegetIcon(int iconKind) + +
+          
+ MethodDescriptor[]getMethodDescriptors() + +
+          
+ PropertyDescriptor[]getPropertyDescriptors() + +
+          
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+AbstractTestElementBeanInfo

+
+public AbstractTestElementBeanInfo()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getAdditionalBeanInfo

+
+public BeanInfo[] getAdditionalBeanInfo()
+
+
+
Specified by:
getAdditionalBeanInfo in interface BeanInfo
+
+
+
+
+
+
+ +

+getBeanDescriptor

+
+public BeanDescriptor getBeanDescriptor()
+
+
+

+

+
Specified by:
getBeanDescriptor in interface BeanInfo
+
+
+
+
+
+
+ +

+getDefaultEventIndex

+
+public int getDefaultEventIndex()
+
+
+

+

+
Specified by:
getDefaultEventIndex in interface BeanInfo
+
+
+
+
+
+
+ +

+getDefaultPropertyIndex

+
+public int getDefaultPropertyIndex()
+
+
+

+

+
Specified by:
getDefaultPropertyIndex in interface BeanInfo
+
+
+
+
+
+
+ +

+getEventSetDescriptors

+
+public EventSetDescriptor[] getEventSetDescriptors()
+
+
+

+

+
Specified by:
getEventSetDescriptors in interface BeanInfo
+
+
+
+
+
+
+ +

+getIcon

+
+public Image getIcon(int iconKind)
+
+
+

+

+
Specified by:
getIcon in interface BeanInfo
+
+
+
+
+
+
+ +

+getMethodDescriptors

+
+public MethodDescriptor[] getMethodDescriptors()
+
+
+

+

+
Specified by:
getMethodDescriptors in interface BeanInfo
+
+
+
+
+
+
+ +

+getPropertyDescriptors

+
+public PropertyDescriptor[] getPropertyDescriptors()
+
+
+

+

+
Specified by:
getPropertyDescriptors in interface BeanInfo
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/testelement/OnErrorTestElement.html b/docs/api/org/apache/jmeter/testelement/OnErrorTestElement.html new file mode 100644 index 00000000000..56255dd2f5a --- /dev/null +++ b/docs/api/org/apache/jmeter/testelement/OnErrorTestElement.html @@ -0,0 +1,519 @@ + + + + + +OnErrorTestElement (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.testelement +
+Class OnErrorTestElement

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.testelement.OnErrorTestElement
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Searchable, TestElement
+
+
+
Direct Known Subclasses:
ResultAction
+
+
+
+
public abstract class OnErrorTestElement
extends AbstractTestElement
+ + +

+

+
Version:
+
$Revision: 1413358 $
+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static StringON_ERROR_ACTION + +
+           
+static intON_ERROR_CONTINUE + +
+           
+static intON_ERROR_START_NEXT_THREAD_LOOP + +
+           
+static intON_ERROR_STOPTEST + +
+           
+static intON_ERROR_STOPTEST_NOW + +
+           
+static intON_ERROR_STOPTHREAD + +
+           
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + + +
+Constructor Summary
+protected OnErrorTestElement() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ intgetErrorAction() + +
+           
+ booleanisContinue() + +
+           
+ booleanisStartNextThreadLoop() + +
+           
+ booleanisStopTest() + +
+           
+ booleanisStopTestNow() + +
+           
+ booleanisStopThread() + +
+           
+ voidsetErrorAction(int value) + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+ON_ERROR_CONTINUE

+
+public static final int ON_ERROR_CONTINUE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+ON_ERROR_STOPTHREAD

+
+public static final int ON_ERROR_STOPTHREAD
+
+
+
See Also:
Constant Field Values
+
+
+ +

+ON_ERROR_STOPTEST

+
+public static final int ON_ERROR_STOPTEST
+
+
+
See Also:
Constant Field Values
+
+
+ +

+ON_ERROR_STOPTEST_NOW

+
+public static final int ON_ERROR_STOPTEST_NOW
+
+
+
See Also:
Constant Field Values
+
+
+ +

+ON_ERROR_START_NEXT_THREAD_LOOP

+
+public static final int ON_ERROR_START_NEXT_THREAD_LOOP
+
+
+
See Also:
Constant Field Values
+
+
+ +

+ON_ERROR_ACTION

+
+public static final String ON_ERROR_ACTION
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+OnErrorTestElement

+
+protected OnErrorTestElement()
+
+
+ + + + + + + + +
+Method Detail
+ +

+setErrorAction

+
+public void setErrorAction(int value)
+
+
+
+
+
+
+ +

+getErrorAction

+
+public int getErrorAction()
+
+
+
+
+
+
+ +

+isContinue

+
+public boolean isContinue()
+
+
+
+
+
+
+ +

+isStopThread

+
+public boolean isStopThread()
+
+
+
+
+
+
+ +

+isStopTest

+
+public boolean isStopTest()
+
+
+
+
+
+
+ +

+isStopTestNow

+
+public boolean isStopTestNow()
+
+
+
+
+
+
+ +

+isStartNextThreadLoop

+
+public boolean isStartNextThreadLoop()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/testelement/TestCloneable.html b/docs/api/org/apache/jmeter/testelement/TestCloneable.html new file mode 100644 index 00000000000..46153c13c25 --- /dev/null +++ b/docs/api/org/apache/jmeter/testelement/TestCloneable.html @@ -0,0 +1,211 @@ + + + + + +TestCloneable (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.testelement +
+Interface TestCloneable

+
+
All Superinterfaces:
Cloneable
+
+
+
All Known Implementing Classes:
OrderPreservingLogParser, SessionFilter, SharedTCLogParser
+
+
+
+
public interface TestCloneable
extends Cloneable
+ + +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+ Objectclone() + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+clone

+
+Object clone()
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/testelement/TestElement.html b/docs/api/org/apache/jmeter/testelement/TestElement.html new file mode 100644 index 00000000000..4433c9973bb --- /dev/null +++ b/docs/api/org/apache/jmeter/testelement/TestElement.html @@ -0,0 +1,1384 @@ + + + + + +TestElement (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.testelement +
+Interface TestElement

+
+
All Superinterfaces:
Cloneable
+
+
+
All Known Subinterfaces:
Controller, Sampler
+
+
+
All Known Implementing Classes:
AbstractJDBCProcessor, AbstractJDBCTestElement, AbstractListenerElement, AbstractSampler, AbstractScopedAssertion, AbstractScopedTestElement, AbstractTestElement, AbstractThreadGroup, AccessLogSampler, AjpSampler, AnchorModifier, Argument, Arguments, AuthManager, Authorization, BackendListener, BaseJMSSampler, BeanShellAssertion, BeanShellListener, BeanShellPostProcessor, BeanShellPreProcessor, BeanShellSampler, BeanShellTestElement, BeanShellTimer, BSFAssertion, BSFListener, BSFPostProcessor, BSFPreProcessor, BSFSampler, BSFTestElement, BSFTimer, CacheManager, CompareAssertion, ConfigTestElement, ConstantThroughputTimer, ConstantTimer, Cookie, CookieManager, CounterConfig, CriticalSectionController, CSVDataSet, DataSourceElement, DebugPostProcessor, DebugSampler, DNSCacheManager, DurationAssertion, Example1, Example2, Example3, ExampleSampler, ForeachController, FTPSampler, GaussianRandomTimer, GenericController, Header, HeaderManager, HTMLAssertion, HtmlExtractor, HTTPArgument, HTTPFileArg, HTTPFileArgs, HttpMirrorControl, HTTPSampler, HTTPSampler2, HTTPSamplerBase, HTTPSamplerProxy, IfController, IncludeController, InterleaveControl, JavaConfig, JavaSampler, JDBCPostProcessor, JDBCPreProcessor, JDBCSampler, JMSProperties, JMSProperty, JMSSampler, JSR223Assertion, JSR223Listener, JSR223PostProcessor, JSR223PreProcessor, JSR223Sampler, JSR223TestElement, JSR223Timer, JUnitSampler, KeystoreConfig, LDAPArgument, LDAPArguments, LDAPExtSampler, LDAPSampler, LoginConfig, LoopController, MailerModel, MailerResultCollector, MailReaderSampler, MD5HexAssertion, ModuleController, MongoScriptSampler, MongoSourceElement, MonitorStats, OnceOnlyController, OnErrorTestElement, ParamMask, ParamModifier, PoissonRandomTimer, PostThreadGroup, ProxyControl, PublisherSampler, RandomController, RandomOrderController, RandomTimer, RandomVariableConfig, RecordingController, RegexExtractor, RegExUserParameters, RemoteListenerWrapper, RemoteSampleListenerWrapper, RemoteTestListenerWrapper, RemoteThreadsListenerWrapper, ResponseAssertion, ResultAction, ResultCollector, ResultSaver, RunTime, ScriptingTestElement, SetupThreadGroup, SizeAssertion, SMIMEAssertionTestElement, SmtpSampler, SoapSampler, SubscriberSampler, SubstitutionElement, Summariser, SwitchController, SyncTimer, SystemSampler, TCPSampler, TestAction, TestFragmentController, TestPlan, ThreadGroup, ThroughputController, TransactionController, TransactionSampler, UniformRandomTimer, URLRewritingModifier, UserParameters, WebServiceSampler, WhileController, WorkBench, XMLAssertion, XMLSchemaAssertion, XPathAssertion, XPathExtractor
+
+
+
+
public interface TestElement
extends Cloneable
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static StringCOMMENTS + +
+           
+static StringENABLED + +
+           
+static StringGUI_CLASS + +
+           
+static StringNAME + +
+           
+static StringTEST_CLASS + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddTestElement(TestElement child) + +
+           
+ booleancanRemove() + +
+          Called by Remove to determine if it is safe to remove the element.
+ voidclear() + +
+          Clear the TestElement of all data.
+ voidclearTestElementChildren() + +
+          This method should clear any test element properties that are merged + by addTestElement(TestElement).
+ Objectclone() + +
+           
+ StringgetComment() + +
+           
+ StringgetName() + +
+          Get the name of this test element
+ JMeterPropertygetProperty(String propName) + +
+          Given the name of the property, returns the appropriate property from + JMeter.
+ booleangetPropertyAsBoolean(String key) + +
+          Return a property as a boolean value.
+ booleangetPropertyAsBoolean(String key, + boolean defaultValue) + +
+          Return a property as a boolean value or a default value if no property + could be found.
+ doublegetPropertyAsDouble(String key) + +
+          Return a property as a double value.
+ floatgetPropertyAsFloat(String key) + +
+          Return a property as a float value.
+ intgetPropertyAsInt(String key) + +
+          Return a property as an int value.
+ intgetPropertyAsInt(String key, + int defaultValue) + +
+          Return a property as an int value or a default value if no property + could be found.
+ longgetPropertyAsLong(String key) + +
+          Return a property as a long value.
+ longgetPropertyAsLong(String key, + long defaultValue) + +
+          Return a property as a long value or a default value if no property + could be found.
+ StringgetPropertyAsString(String key) + +
+          Return a property as a string value.
+ StringgetPropertyAsString(String key, + String defaultValue) + +
+          Return a property as an string value or a default value if no property + could be found.
+ JMeterContextgetThreadContext() + +
+           
+ StringgetThreadName() + +
+           
+ booleanisEnabled() + +
+          Check if ENABLED property is present and true ; defaults to true
+ booleanisRunningVersion() + +
+          Returns true or false whether the element is the running version.
+ booleanisTemporary(JMeterProperty property) + +
+          Test whether a given property is only a temporary resident of the + TestElement
+ PropertyIteratorpropertyIterator() + +
+          Get a Property Iterator for the TestElements properties.
+ voidrecoverRunningVersion() + +
+          Tells the test element to return to the state it was in when + setRunningVersion(true) was called.
+ voidremoveProperty(String key) + +
+          Remove property stored under the key
+ voidsetComment(String comment) + +
+          Associates a comment with this element
+ voidsetEnabled(boolean enabled) + +
+          Set the enabled status of the test element
+ voidsetName(String name) + +
+           
+ voidsetProperty(JMeterProperty property) + +
+          Sets and overwrites a property in the TestElement.
+ voidsetProperty(String key, + boolean value) + +
+           
+ voidsetProperty(String key, + boolean value, + boolean dflt) + +
+           
+ voidsetProperty(String key, + int value) + +
+           
+ voidsetProperty(String key, + int value, + int dflt) + +
+           
+ voidsetProperty(String name, + long value) + +
+           
+ voidsetProperty(String name, + long value, + long dflt) + +
+           
+ voidsetProperty(String key, + String value) + +
+           
+ voidsetProperty(String key, + String value, + String dflt) + +
+           
+ voidsetRunningVersion(boolean run) + +
+          Make the test element the running version, or make it no longer the + running version.
+ voidsetTemporary(JMeterProperty property) + +
+          Indicate that the given property should be only a temporary property in + the TestElement
+ voidsetThreadContext(JMeterContext threadContext) + +
+           
+ voidsetThreadName(String threadName) + +
+           
+ voidtraverse(TestElementTraverser traverser) + +
+          Convenient way to traverse a test element.
+  +

+ + + + + + + + +
+Field Detail
+ +

+NAME

+
+static final String NAME
+
+
+
See Also:
Constant Field Values
+
+
+ +

+GUI_CLASS

+
+static final String GUI_CLASS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+ENABLED

+
+static final String ENABLED
+
+
+
See Also:
Constant Field Values
+
+
+ +

+TEST_CLASS

+
+static final String TEST_CLASS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COMMENTS

+
+static final String COMMENTS
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Method Detail
+ +

+addTestElement

+
+void addTestElement(TestElement child)
+
+
+
+
+
+
+
+
+
+ +

+clearTestElementChildren

+
+void clearTestElementChildren()
+
+
This method should clear any test element properties that are merged + by addTestElement(TestElement). +

+

+
+
+
+
+
+
+
+ +

+setProperty

+
+void setProperty(String key,
+                 String value)
+
+
+
+
+
+
+
+
+
+ +

+setProperty

+
+void setProperty(String key,
+                 String value,
+                 String dflt)
+
+
+
+
+
+
+
+
+
+ +

+setProperty

+
+void setProperty(String key,
+                 boolean value)
+
+
+
+
+
+
+
+
+
+ +

+setProperty

+
+void setProperty(String key,
+                 boolean value,
+                 boolean dflt)
+
+
+
+
+
+
+
+
+
+ +

+setProperty

+
+void setProperty(String key,
+                 int value)
+
+
+
+
+
+
+
+
+
+ +

+setProperty

+
+void setProperty(String key,
+                 int value,
+                 int dflt)
+
+
+
+
+
+
+
+
+
+ +

+setProperty

+
+void setProperty(String name,
+                 long value)
+
+
+
+
+
+
+
+
+
+ +

+setProperty

+
+void setProperty(String name,
+                 long value,
+                 long dflt)
+
+
+
+
+
+
+
+
+
+ +

+isEnabled

+
+boolean isEnabled()
+
+
Check if ENABLED property is present and true ; defaults to true +

+

+
+
+
+ +
Returns:
true if element is enabled
+
+
+
+ +

+setEnabled

+
+void setEnabled(boolean enabled)
+
+
Set the enabled status of the test element +

+

+
+
+
+
Parameters:
enabled - the status to set
+
+
+
+ +

+isRunningVersion

+
+boolean isRunningVersion()
+
+
Returns true or false whether the element is the running version. +

+

+
+
+
+ +
Returns:
true if the element is the running version
+
+
+
+ +

+isTemporary

+
+boolean isTemporary(JMeterProperty property)
+
+
Test whether a given property is only a temporary resident of the + TestElement +

+

+
+
+
+
Parameters:
property - the property to be tested +
Returns:
true if property is temporary
+
+
+
+ +

+setTemporary

+
+void setTemporary(JMeterProperty property)
+
+
Indicate that the given property should be only a temporary property in + the TestElement +

+

+
+
+
+
Parameters:
property - void
+
+
+
+ +

+getPropertyAsBoolean

+
+boolean getPropertyAsBoolean(String key)
+
+
Return a property as a boolean value. +

+

+
+
+
+
Parameters:
key - the name of the property to get +
Returns:
the value of the property
+
+
+
+ +

+getPropertyAsBoolean

+
+boolean getPropertyAsBoolean(String key,
+                             boolean defaultValue)
+
+
Return a property as a boolean value or a default value if no property + could be found. +

+

+
+
+
+
Parameters:
key - the name of the property to get
defaultValue - the default value to use +
Returns:
the value of the property, or defaultValue if no + property could be found
+
+
+
+ +

+getPropertyAsLong

+
+long getPropertyAsLong(String key)
+
+
Return a property as a long value. +

+

+
+
+
+
Parameters:
key - the name of the property to get +
Returns:
the value of the property
+
+
+
+ +

+getPropertyAsLong

+
+long getPropertyAsLong(String key,
+                       long defaultValue)
+
+
Return a property as a long value or a default value if no property + could be found. +

+

+
+
+
+
Parameters:
key - the name of the property to get
defaultValue - the default value to use +
Returns:
the value of the property, or defaultValue if no + property could be found
+
+
+
+ +

+getPropertyAsInt

+
+int getPropertyAsInt(String key)
+
+
Return a property as an int value. +

+

+
+
+
+
Parameters:
key - the name of the property to get +
Returns:
the value of the property
+
+
+
+ +

+getPropertyAsInt

+
+int getPropertyAsInt(String key,
+                     int defaultValue)
+
+
Return a property as an int value or a default value if no property + could be found. +

+

+
+
+
+
Parameters:
key - the name of the property to get
defaultValue - the default value to use +
Returns:
the value of the property, or defaultValue if no + property could be found
+
+
+
+ +

+getPropertyAsFloat

+
+float getPropertyAsFloat(String key)
+
+
Return a property as a float value. +

+

+
+
+
+
Parameters:
key - the name of the property to get +
Returns:
the value of the property
+
+
+
+ +

+getPropertyAsDouble

+
+double getPropertyAsDouble(String key)
+
+
Return a property as a double value. +

+

+
+
+
+
Parameters:
key - the name of the property to get +
Returns:
the value of the property
+
+
+
+ +

+setRunningVersion

+
+void setRunningVersion(boolean run)
+
+
Make the test element the running version, or make it no longer the + running version. This tells the test element that it's current state must + be retrievable by a call to recoverRunningVersion(). It is kind of like + making the TestElement Read- Only, but not as strict. Changes can be made + and the element can be modified, but the state of the element at the time + of the call to setRunningVersion() must be recoverable. +

+

+
+
+
+
Parameters:
run - flag whether this element should be the running version
+
+
+
+ +

+recoverRunningVersion

+
+void recoverRunningVersion()
+
+
Tells the test element to return to the state it was in when + setRunningVersion(true) was called. +

+

+
+
+
+
+
+
+
+ +

+clear

+
+void clear()
+
+
Clear the TestElement of all data. +

+

+
+
+
+
+
+
+
+ +

+getPropertyAsString

+
+String getPropertyAsString(String key)
+
+
Return a property as a string value. +

+

+
+
+
+
Parameters:
key - the name of the property to get +
Returns:
the value of the property
+
+
+
+ +

+getPropertyAsString

+
+String getPropertyAsString(String key,
+                           String defaultValue)
+
+
Return a property as an string value or a default value if no property + could be found. +

+

+
+
+
+
Parameters:
key - the name of the property to get
defaultValue - the default value to use +
Returns:
the value of the property, or defaultValue if no + property could be found
+
+
+
+ +

+setProperty

+
+void setProperty(JMeterProperty property)
+
+
Sets and overwrites a property in the TestElement. This call will be + ignored if the TestElement is currently a "running version". +

+

+
+
+
+
Parameters:
property - the property to be set
+
+
+
+ +

+getProperty

+
+JMeterProperty getProperty(String propName)
+
+
Given the name of the property, returns the appropriate property from + JMeter. If it is null, a NullProperty object will be returned. +

+

+
+
+
+
Parameters:
propName - the name of the property to get +
Returns:
JMeterProperty stored under the name, or + NullProperty if no property can be found
+
+
+
+ +

+propertyIterator

+
+PropertyIterator propertyIterator()
+
+
Get a Property Iterator for the TestElements properties. +

+

+
+
+
+ +
Returns:
PropertyIterator
+
+
+
+ +

+removeProperty

+
+void removeProperty(String key)
+
+
Remove property stored under the key +

+

+
+
+
+
Parameters:
key - name of the property to be removed
+
+
+
+ +

+clone

+
+Object clone()
+
+
+
+
+
+
+
+
+
+ +

+traverse

+
+void traverse(TestElementTraverser traverser)
+
+
Convenient way to traverse a test element. +

+

+
+
+
+
Parameters:
traverser - The traverser that is notified of the contained elements
+
+
+
+ +

+getThreadContext

+
+JMeterContext getThreadContext()
+
+
+
+
+
+ +
Returns:
Returns the threadContext.
+
+
+
+ +

+setThreadContext

+
+void setThreadContext(JMeterContext threadContext)
+
+
+
+
+
+
Parameters:
threadContext - The threadContext to set.
+
+
+
+ +

+getThreadName

+
+String getThreadName()
+
+
+
+
+
+ +
Returns:
Returns the threadName.
+
+
+
+ +

+setThreadName

+
+void setThreadName(String threadName)
+
+
+
+
+
+
Parameters:
threadName - The threadName to set.
+
+
+
+ +

+canRemove

+
+boolean canRemove()
+
+
Called by Remove to determine if it is safe to remove the element. The + element can either clean itself up, and return true, or the element can + return false. +

+

+
+
+
+ +
Returns:
true if safe to remove the element
+
+
+
+ +

+getName

+
+String getName()
+
+
Get the name of this test element +

+

+
+
+
+ +
Returns:
name of this element
+
+
+
+ +

+setName

+
+void setName(String name)
+
+
+
+
+
+
Parameters:
name - of this element
+
+
+
+ +

+getComment

+
+String getComment()
+
+
+
+
+
+ +
Returns:
comment associated with this element
+
+
+
+ +

+setComment

+
+void setComment(String comment)
+
+
Associates a comment with this element +

+

+
+
+
+
Parameters:
comment - to be associated
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/testelement/TestElementTraverser.html b/docs/api/org/apache/jmeter/testelement/TestElementTraverser.html new file mode 100644 index 00000000000..21d2c6e6f28 --- /dev/null +++ b/docs/api/org/apache/jmeter/testelement/TestElementTraverser.html @@ -0,0 +1,278 @@ + + + + + +TestElementTraverser (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.testelement +
+Interface TestElementTraverser

+
+
+
public interface TestElementTraverser
+ + +

+For traversing Test Elements, which contain property that can be other test + elements, strings, collections, maps, objects +

+ +

+

+
Version:
+
$Revision: 1649318 $
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidendProperty(JMeterProperty key) + +
+          Notification that a property is ending.
+ voidendTestElement(TestElement el) + +
+          Notification that the test element is now done.
+ voidstartProperty(JMeterProperty key) + +
+          Notification that a property is starting.
+ voidstartTestElement(TestElement el) + +
+          Notification that a new test element is about to be traversed.
+  +

+ + + + + + + + +
+Method Detail
+ +

+startTestElement

+
+void startTestElement(TestElement el)
+
+
Notification that a new test element is about to be traversed. +

+

+
Parameters:
el - element to be traversed
+
+
+
+ +

+endTestElement

+
+void endTestElement(TestElement el)
+
+
Notification that the test element is now done. +

+

+
Parameters:
el - element that was traversed
+
+
+
+ +

+startProperty

+
+void startProperty(JMeterProperty key)
+
+
Notification that a property is starting. This could be a test element + property or a Map property - depends on the context. +

+

+
Parameters:
key - property to be traversed
+
+
+
+ +

+endProperty

+
+void endProperty(JMeterProperty key)
+
+
Notification that a property is ending. Again, this could be a test + element or a Map property, depending on the context. +

+

+
Parameters:
key - property that was traversed
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/testelement/TestIterationListener.html b/docs/api/org/apache/jmeter/testelement/TestIterationListener.html new file mode 100644 index 00000000000..63afa320ec4 --- /dev/null +++ b/docs/api/org/apache/jmeter/testelement/TestIterationListener.html @@ -0,0 +1,215 @@ + + + + + +TestIterationListener (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.testelement +
+Interface TestIterationListener

+
+
All Known Subinterfaces:
TestListener
+
+
+
All Known Implementing Classes:
AccessLogSampler, AjpSampler, AuthManager, CacheManager, CookieManager, DNSCacheManager, HTTPSampler, HTTPSampler2, HTTPSamplerBase, HTTPSamplerProxy, SoapSampler, WebServiceSampler
+
+
+
+
public interface TestIterationListener
+ + +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+ voidtestIterationStart(LoopIterationEvent event) + +
+          Each time through a Thread Group's test script, an iteration event is + fired for each thread.
+  +

+ + + + + + + + +
+Method Detail
+ +

+testIterationStart

+
+void testIterationStart(LoopIterationEvent event)
+
+
Each time through a Thread Group's test script, an iteration event is + fired for each thread. + + This will be after the test elements have been cloned, so in general + the instance will not be the same as the ones the start/end methods call. +

+

+
Parameters:
event - the iteration event
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/testelement/TestListener.html b/docs/api/org/apache/jmeter/testelement/TestListener.html new file mode 100644 index 00000000000..04ac46b6c22 --- /dev/null +++ b/docs/api/org/apache/jmeter/testelement/TestListener.html @@ -0,0 +1,203 @@ + + + + + +TestListener (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.testelement +
+Interface TestListener

+
+
All Superinterfaces:
TestIterationListener, TestStateListener
+
+
+Deprecated. since 2.8, please use TestStateListener and/or TestIterationListener +

+

+
@Deprecated
+public interface TestListener
extends TestStateListener, TestIterationListener
+ + +

+TestListener interface is used for methods that are called at different + stages of each test. +

+ +

+


+ +

+ + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.testelement.TestStateListener
testEnded, testEnded, testStarted, testStarted
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.testelement.TestIterationListener
testIterationStart
+  +

+ +


+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/testelement/TestPlan.html b/docs/api/org/apache/jmeter/testelement/TestPlan.html new file mode 100644 index 00000000000..ed115de094a --- /dev/null +++ b/docs/api/org/apache/jmeter/testelement/TestPlan.html @@ -0,0 +1,907 @@ + + + + + +TestPlan (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.testelement +
+Class TestPlan

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.testelement.TestPlan
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Searchable, TestElement, TestStateListener
+
+
+
+
public class TestPlan
extends AbstractTestElement
implements Serializable, TestStateListener
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + + + + +
+Constructor Summary
TestPlan() + +
+           
TestPlan(String name) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddParameter(String name, + String value) + +
+           
+ voidaddTestElement(TestElement tg) + +
+          
+ voidaddThreadGroup(AbstractThreadGroup group) + +
+          Adds a feature to the AbstractThreadGroup attribute of the TestPlan object.
+ ArgumentsgetArguments() + +
+           
+ StringgetBasedir() + +
+           
+static booleangetFunctionalMode() + +
+          Gets the static copy of the functional mode
+ StringgetTestPlanClasspath() + +
+          Returns the classpath
+ String[]getTestPlanClasspathArray() + +
+           
+ Map<String,String>getUserDefinedVariables() + +
+           
+ JMeterPropertygetUserDefinedVariablesAsProperty() + +
+           
+ booleanisFunctionalMode() + +
+          Fetches the functional mode property
+ booleanisSerialized() + +
+          Fetch the serialize threadgroups property
+ booleanisTearDownOnShutdown() + +
+           
+ voidprepareForPreCompile() + +
+           
+ voidsetBasedir(String b) + +
+           
+ voidsetFunctionalMode(boolean funcMode) + +
+           
+ voidsetSerialized(boolean serializeTGs) + +
+           
+ voidsetTearDownOnShutdown(boolean tearDown) + +
+           
+ voidsetTestPlanClasspath(String text) + +
+          Set the classpath for the test plan.
+ voidsetTestPlanClasspathArray(String[] text) + +
+           
+ voidsetUserDefinedVariables(Arguments vars) + +
+           
+ voidtestEnded() + +
+           + Called once for all threads after the end of a test.
+ voidtestEnded(String host) + +
+           + Called once for all threads after the end of a test.
+ voidtestStarted() + +
+           + Called just before the start of the test from the main engine thread.
+ voidtestStarted(String host) + +
+           + Called just before the start of the test from the main engine thread.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+TestPlan

+
+public TestPlan()
+
+
+
+ +

+TestPlan

+
+public TestPlan(String name)
+
+
+ + + + + + + + +
+Method Detail
+ +

+prepareForPreCompile

+
+public void prepareForPreCompile()
+
+
+
+
+
+
+
+
+
+ +

+isFunctionalMode

+
+public boolean isFunctionalMode()
+
+
Fetches the functional mode property +

+

+
+
+
+ +
Returns:
functional mode
+
+
+
+ +

+setUserDefinedVariables

+
+public void setUserDefinedVariables(Arguments vars)
+
+
+
+
+
+
+
+
+
+ +

+getUserDefinedVariablesAsProperty

+
+public JMeterProperty getUserDefinedVariablesAsProperty()
+
+
+
+
+
+
+
+
+
+ +

+getBasedir

+
+public String getBasedir()
+
+
+
+
+
+
+
+
+
+ +

+setBasedir

+
+public void setBasedir(String b)
+
+
+
+
+
+
+
+
+
+ +

+getArguments

+
+public Arguments getArguments()
+
+
+
+
+
+
+
+
+
+ +

+getUserDefinedVariables

+
+public Map<String,String> getUserDefinedVariables()
+
+
+
+
+
+
+
+
+
+ +

+setFunctionalMode

+
+public void setFunctionalMode(boolean funcMode)
+
+
+
+
+
+
+
+
+
+ +

+getFunctionalMode

+
+public static boolean getFunctionalMode()
+
+
Gets the static copy of the functional mode +

+

+
+
+
+ +
Returns:
mode
+
+
+
+ +

+setSerialized

+
+public void setSerialized(boolean serializeTGs)
+
+
+
+
+
+
+
+
+
+ +

+setTearDownOnShutdown

+
+public void setTearDownOnShutdown(boolean tearDown)
+
+
+
+
+
+
+
+
+
+ +

+isTearDownOnShutdown

+
+public boolean isTearDownOnShutdown()
+
+
+
+
+
+
+
+
+
+ +

+setTestPlanClasspath

+
+public void setTestPlanClasspath(String text)
+
+
Set the classpath for the test plan. If the classpath is made up from + more then one path, the parts must be separated with + CLASSPATH_SEPARATOR. +

+

+
+
+
+
Parameters:
text - the classpath to be set
+
+
+
+ +

+setTestPlanClasspathArray

+
+public void setTestPlanClasspathArray(String[] text)
+
+
+
+
+
+
+
+
+
+ +

+getTestPlanClasspathArray

+
+public String[] getTestPlanClasspathArray()
+
+
+
+
+
+
+
+
+
+ +

+getTestPlanClasspath

+
+public String getTestPlanClasspath()
+
+
Returns the classpath +

+

+
+
+
+ +
Returns:
classpath
+
+
+
+ +

+isSerialized

+
+public boolean isSerialized()
+
+
Fetch the serialize threadgroups property +

+

+
+
+
+ +
Returns:
serialized setting
+
+
+
+ +

+addParameter

+
+public void addParameter(String name,
+                         String value)
+
+
+
+
+
+
+
+
+
+ +

+addTestElement

+
+public void addTestElement(TestElement tg)
+
+
Description copied from class: AbstractTestElement
+
+

+

+
Specified by:
addTestElement in interface TestElement
Overrides:
addTestElement in class AbstractTestElement
+
+
+
+
+
+
+ +

+addThreadGroup

+
+public void addThreadGroup(AbstractThreadGroup group)
+
+
Adds a feature to the AbstractThreadGroup attribute of the TestPlan object. +

+

+
+
+
+
Parameters:
group - the feature to be added to the AbstractThreadGroup attribute
+
+
+
+ +

+testEnded

+
+public void testEnded()
+
+

+ Called once for all threads after the end of a test. + + This will use the same element instances as at the start of the test. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testEnded in interface TestStateListener
+
+
+
See Also:
StandardJMeterEngine.stopTest()
+
+
+
+ +

+testEnded

+
+public void testEnded(String host)
+
+

+ Called once for all threads after the end of a test. + + This will use the same element instances as at the start of the test. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testEnded in interface TestStateListener
+
+
+
Parameters:
host - name of host
See Also:
StandardJMeterEngine.stopTest()
+
+
+
+ +

+testStarted

+
+public void testStarted()
+
+

+ Called just before the start of the test from the main engine thread. + + This is before the test elements are cloned. + + Note that not all the test + variables will have been set up at this point. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testStarted in interface TestStateListener
+
+
+
See Also:
StandardJMeterEngine.run()
+
+
+
+ +

+testStarted

+
+public void testStarted(String host)
+
+

+ Called just before the start of the test from the main engine thread. + + This is before the test elements are cloned. + + Note that not all the test + variables will have been set up at this point. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testStarted in interface TestStateListener
+
+
+
Parameters:
host - name of host
See Also:
StandardJMeterEngine.run()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/testelement/TestStateListener.html b/docs/api/org/apache/jmeter/testelement/TestStateListener.html new file mode 100644 index 00000000000..af682715e69 --- /dev/null +++ b/docs/api/org/apache/jmeter/testelement/TestStateListener.html @@ -0,0 +1,327 @@ + + + + + +TestStateListener (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.testelement +
+Interface TestStateListener

+
+
All Known Subinterfaces:
TestListener
+
+
+
All Known Implementing Classes:
AbstractJDBCProcessor, AbstractJDBCTestElement, AccessLogSampler, AjpSampler, AuthManager, BackendListener, BeanShellAssertion, BeanShellListener, BeanShellPostProcessor, BeanShellPreProcessor, BeanShellSampler, BeanShellTestElement, BeanShellTimer, CacheManager, ConstantThroughputTimer, CookieManager, CriticalSectionController, DataSourceElement, HTTPSampler, HTTPSampler2, HTTPSamplerBase, HTTPSamplerProxy, JavaSampler, JDBCPostProcessor, JDBCPreProcessor, JDBCSampler, JSR223Assertion, JSR223Listener, JSR223PostProcessor, JSR223PreProcessor, JSR223Sampler, JSR223TestElement, JSR223Timer, KeystoreConfig, LDAPExtSampler, MailerResultCollector, MainFrame, MongoSourceElement, ParamModifier, PublisherSampler, RemoteListenerWrapper, RemoteSampleListenerImpl, RemoteTestListenerWrapper, ResultCollector, SoapSampler, StringFromFile, SubscriberSampler, Summariser, SyncTimer, TestPlan, ThroughputController, WebServiceSampler
+
+
+
+
public interface TestStateListener
+ + +

+

+
Since:
+
2.8
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidtestEnded() + +
+           + Called once for all threads after the end of a test.
+ voidtestEnded(String host) + +
+           + Called once for all threads after the end of a test.
+ voidtestStarted() + +
+           + Called just before the start of the test from the main engine thread.
+ voidtestStarted(String host) + +
+           + Called just before the start of the test from the main engine thread.
+  +

+ + + + + + + + +
+Method Detail
+ +

+testStarted

+
+void testStarted()
+
+

+ Called just before the start of the test from the main engine thread. + + This is before the test elements are cloned. + + Note that not all the test + variables will have been set up at this point. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
See Also:
StandardJMeterEngine.run()
+
+
+
+ +

+testStarted

+
+void testStarted(String host)
+
+

+ Called just before the start of the test from the main engine thread. + + This is before the test elements are cloned. + + Note that not all the test + variables will have been set up at this point. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Parameters:
host - name of host
See Also:
StandardJMeterEngine.run()
+
+
+
+ +

+testEnded

+
+void testEnded()
+
+

+ Called once for all threads after the end of a test. + + This will use the same element instances as at the start of the test. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
See Also:
StandardJMeterEngine.stopTest()
+
+
+
+ +

+testEnded

+
+void testEnded(String host)
+
+

+ Called once for all threads after the end of a test. + + This will use the same element instances as at the start of the test. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Parameters:
host - name of host
See Also:
StandardJMeterEngine.stopTest()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/testelement/ThreadListener.html b/docs/api/org/apache/jmeter/testelement/ThreadListener.html new file mode 100644 index 00000000000..24bd3613533 --- /dev/null +++ b/docs/api/org/apache/jmeter/testelement/ThreadListener.html @@ -0,0 +1,234 @@ + + + + + +ThreadListener (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.testelement +
+Interface ThreadListener

+
+
All Known Implementing Classes:
AccessLogSampler, AjpSampler, BeanShellAssertion, BeanShellListener, BeanShellPostProcessor, BeanShellPreProcessor, BeanShellSampler, BeanShellTestElement, BeanShellTimer, CriticalSectionController, HTTPSampler, HTTPSampler2, HTTPSamplerBase, HTTPSamplerProxy, Jexl2Function, JMSSampler, JUnitSampler, RemoteThreadsListenerImpl, RemoteThreadsListenerTestElement, RemoteThreadsListenerWrapper, SessionFilter, SoapSampler, SubscriberSampler, SyncTimer, TCPSampler, WebServiceSampler, XMLAssertion
+
+
+
+
public interface ThreadListener
+ + +

+Allow threads to perform startup and closedown if necessary +

+ +

+


+ +

+ + + + + + + + + + + + + + + + +
+Method Summary
+ voidthreadFinished() + +
+          Called for each thread after all samples have been processed.
+ voidthreadStarted() + +
+          Called for each thread before starting sampling.
+  +

+ + + + + + + + +
+Method Detail
+ +

+threadStarted

+
+void threadStarted()
+
+
Called for each thread before starting sampling. + WARNING: this is called before any Config test elements are processed, + so any properties they define will not have been merged in yet. +

+

+
See Also:
JMeterThread.threadStarted()
+
+
+
+ +

+threadFinished

+
+void threadFinished()
+
+
Called for each thread after all samples have been processed. +

+

+
See Also:
JMeterThread.threadFinished(org.apache.jmeter.engine.event.LoopIterationListener)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/testelement/VariablesCollection.html b/docs/api/org/apache/jmeter/testelement/VariablesCollection.html new file mode 100644 index 00000000000..2d693558f05 --- /dev/null +++ b/docs/api/org/apache/jmeter/testelement/VariablesCollection.html @@ -0,0 +1,280 @@ + + + + + +VariablesCollection (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.testelement +
+Class VariablesCollection

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.VariablesCollection
+
+
+
All Implemented Interfaces:
Serializable
+
+
+
+
public class VariablesCollection
extends Object
implements Serializable
+ + +

+

+
Version:
+
$Revision: 1380371 $
+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
VariablesCollection() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddJMeterVariables(JMeterVariables jmVars) + +
+           
+ JMeterVariablesgetVariables() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+VariablesCollection

+
+public VariablesCollection()
+
+
+ + + + + + + + +
+Method Detail
+ +

+addJMeterVariables

+
+public void addJMeterVariables(JMeterVariables jmVars)
+
+
+
+
+
+
+
+
+
+ +

+getVariables

+
+public JMeterVariables getVariables()
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/testelement/WorkBench.html b/docs/api/org/apache/jmeter/testelement/WorkBench.html new file mode 100644 index 00000000000..30f15d993a8 --- /dev/null +++ b/docs/api/org/apache/jmeter/testelement/WorkBench.html @@ -0,0 +1,300 @@ + + + + + +WorkBench (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.testelement +
+Class WorkBench

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.testelement.WorkBench
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Searchable, TestElement
+
+
+
+
public class WorkBench
extends AbstractTestElement
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
WorkBench() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ booleangetSaveWorkBench() + +
+           
+ voidsetSaveWorkBench(boolean saveWorkBench) + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+WorkBench

+
+public WorkBench()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getSaveWorkBench

+
+public boolean getSaveWorkBench()
+
+
+
+
+
+
+ +

+setSaveWorkBench

+
+public void setSaveWorkBench(boolean saveWorkBench)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/testelement/package-frame.html b/docs/api/org/apache/jmeter/testelement/package-frame.html new file mode 100644 index 00000000000..80b272068c9 --- /dev/null +++ b/docs/api/org/apache/jmeter/testelement/package-frame.html @@ -0,0 +1,67 @@ + + + + + +org.apache.jmeter.testelement (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.testelement + + + + +
+Interfaces  + +
+TestCloneable +
+TestElement +
+TestElementTraverser +
+TestIterationListener +
+TestListener +
+TestStateListener +
+ThreadListener
+ + + + + + +
+Classes  + +
+AbstractScopedAssertion +
+AbstractScopedTestElement +
+AbstractTestElement +
+AbstractTestElementBeanInfo +
+OnErrorTestElement +
+TestPlan +
+VariablesCollection +
+WorkBench
+ + + + diff --git a/docs/api/org/apache/jmeter/testelement/package-summary.html b/docs/api/org/apache/jmeter/testelement/package-summary.html new file mode 100644 index 00000000000..5e222233a6b --- /dev/null +++ b/docs/api/org/apache/jmeter/testelement/package-summary.html @@ -0,0 +1,222 @@ + + + + + +org.apache.jmeter.testelement (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.testelement +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Interface Summary
TestCloneable 
TestElement 
TestElementTraverserFor traversing Test Elements, which contain property that can be other test + elements, strings, collections, maps, objects
TestIterationListener 
TestListenerDeprecated. since 2.8, please use TestStateListener and/or TestIterationListener
TestStateListener 
ThreadListenerAllow threads to perform startup and closedown if necessary
+  + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
AbstractScopedAssertion + Super-class for all Assertions that can be applied to main sample, sub-samples or both.
AbstractScopedTestElement + Super-class for TestElements that can be applied to main sample, sub-samples or both.
AbstractTestElement 
AbstractTestElementBeanInfoThis is the BeanInfo object for the AbstractTestElement class.
OnErrorTestElement 
TestPlan 
VariablesCollection 
WorkBench 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/testelement/package-tree.html b/docs/api/org/apache/jmeter/testelement/package-tree.html new file mode 100644 index 00000000000..6fdc4a42f40 --- /dev/null +++ b/docs/api/org/apache/jmeter/testelement/package-tree.html @@ -0,0 +1,170 @@ + + + + + +org.apache.jmeter.testelement Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.testelement +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/testelement/property/AbstractProperty.html b/docs/api/org/apache/jmeter/testelement/property/AbstractProperty.html new file mode 100644 index 00000000000..76250ee4c9f --- /dev/null +++ b/docs/api/org/apache/jmeter/testelement/property/AbstractProperty.html @@ -0,0 +1,914 @@ + + + + + +AbstractProperty (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.testelement.property +
+Class AbstractProperty

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.property.AbstractProperty
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Comparable<JMeterProperty>, JMeterProperty
+
+
+
Direct Known Subclasses:
BooleanProperty, FunctionProperty, MultiProperty, NullProperty, NumberProperty, ObjectProperty, StringProperty
+
+
+
+
public abstract class AbstractProperty
extends Object
implements JMeterProperty
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Field Summary
+protected static org.apache.log.Loggerlog + +
+           
+  + + + + + + + + + + + + + +
+Constructor Summary
AbstractProperty() + +
+           
AbstractProperty(String name) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ AbstractPropertyclone() + +
+          
+ intcompareTo(JMeterProperty arg0) + +
+          Compares two JMeterProperty object values.
+protected  JMeterPropertyconvertObject(Object item) + +
+           
+static JMeterPropertycreateProperty(Object item) + +
+           
+ booleanequals(Object o) + +
+          Determines if the two objects are equal by comparing names and values
+protected  JMeterPropertygetBlankProperty() + +
+           
+protected static JMeterPropertygetBlankProperty(Object item) + +
+           
+ booleangetBooleanValue() + +
+          Returns false if string is invalid or null.
+ doublegetDoubleValue() + +
+          Returns 0 if string is invalid or null.
+ floatgetFloatValue() + +
+          Returns 0 if string is invalid or null.
+ intgetIntValue() + +
+          Returns 0 if string is invalid or null.
+protected  PropertyIteratorgetIterator(Collection<JMeterProperty> values) + +
+           
+ longgetLongValue() + +
+          Returns 0 if string is invalid or null.
+ StringgetName() + +
+          The name of the property.
+protected  Class<? extends JMeterProperty>getPropertyType() + +
+          Get the property type for this property.
+ inthashCode() + +
+          
+protected  booleanisEqualType(JMeterProperty prop) + +
+           
+ booleanisRunningVersion() + +
+          Returns whether the property is a running version.
+protected static JMeterPropertymakeProperty(Object item) + +
+          Create a JMeterProperty from an object.
+ voidmergeIn(JMeterProperty prop) + +
+          Take the given property object and merge it's value with the current + property object.
+protected  Collection<JMeterProperty>normalizeList(Collection<?> coll) + +
+          Convert a collection of objects into JMeterProperty objects.
+protected  Map<String,JMeterProperty>normalizeMap(Map<?,?> coll) + +
+          Given a Map, it converts the Map into a collection of JMeterProperty + objects, appropriate for a MapProperty object.
+ voidsetName(String name) + +
+          Set the property name.
+ voidsetRunningVersion(boolean runningVersion) + +
+          Make the property a running version or turn it off as the running + version.
+ StringtoString() + +
+          Provides the string representation of the property.
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.testelement.property.JMeterProperty
getObjectValue, getStringValue, recoverRunningVersion, setObjectValue
+  +

+ + + + + + + + +
+Field Detail
+ +

+log

+
+protected static final org.apache.log.Logger log
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+AbstractProperty

+
+public AbstractProperty(String name)
+
+
+
+ +

+AbstractProperty

+
+public AbstractProperty()
+
+
+ + + + + + + + +
+Method Detail
+ +

+isEqualType

+
+protected boolean isEqualType(JMeterProperty prop)
+
+
+
+
+
+
+
+
+
+ +

+isRunningVersion

+
+public boolean isRunningVersion()
+
+
Returns whether the property is a running version. +

+

+
Specified by:
isRunningVersion in interface JMeterProperty
+
+
+ +
Returns:
flag whether this property is a running version
+
+
+
+ +

+getName

+
+public String getName()
+
+
The name of the property. Typically this should match the name that keys + the property's location in the test elements Map. +

+

+
Specified by:
getName in interface JMeterProperty
+
+
+ +
Returns:
the name of the property
+
+
+
+ +

+setName

+
+public void setName(String name)
+
+
Set the property name. +

+

+
Specified by:
setName in interface JMeterProperty
+
+
+
Parameters:
name - the name of the property
+
+
+
+ +

+setRunningVersion

+
+public void setRunningVersion(boolean runningVersion)
+
+
Make the property a running version or turn it off as the running + version. A property that is made a running version will preserve the + current state in such a way that it is retrievable by a future call to + 'recoverRunningVersion()'. Additionally, a property that is a running + version will resolve all functions prior to returning it's property + value. A non-running version property will return functions as their + uncompiled string representation. +

+

+
Specified by:
setRunningVersion in interface JMeterProperty
+
+
+
Parameters:
runningVersion - flag whether this property is a running version
+
+
+
+ +

+getIterator

+
+protected PropertyIterator getIterator(Collection<JMeterProperty> values)
+
+
+
+
+
+
+
+
+
+ +

+clone

+
+public AbstractProperty clone()
+
+
+

+

+
Specified by:
clone in interface JMeterProperty
Overrides:
clone in class Object
+
+
+
+
+
+
+ +

+getIntValue

+
+public int getIntValue()
+
+
Returns 0 if string is invalid or null. +

+

+
Specified by:
getIntValue in interface JMeterProperty
+
+
+
See Also:
JMeterProperty.getIntValue()
+
+
+
+ +

+getLongValue

+
+public long getLongValue()
+
+
Returns 0 if string is invalid or null. +

+

+
Specified by:
getLongValue in interface JMeterProperty
+
+
+
See Also:
JMeterProperty.getLongValue()
+
+
+
+ +

+getDoubleValue

+
+public double getDoubleValue()
+
+
Returns 0 if string is invalid or null. +

+

+
Specified by:
getDoubleValue in interface JMeterProperty
+
+
+
See Also:
JMeterProperty.getDoubleValue()
+
+
+
+ +

+getFloatValue

+
+public float getFloatValue()
+
+
Returns 0 if string is invalid or null. +

+

+
Specified by:
getFloatValue in interface JMeterProperty
+
+
+
See Also:
JMeterProperty.getFloatValue()
+
+
+
+ +

+getBooleanValue

+
+public boolean getBooleanValue()
+
+
Returns false if string is invalid or null. +

+

+
Specified by:
getBooleanValue in interface JMeterProperty
+
+
+
See Also:
JMeterProperty.getBooleanValue()
+
+
+
+ +

+equals

+
+public boolean equals(Object o)
+
+
Determines if the two objects are equal by comparing names and values +

+

+
Overrides:
equals in class Object
+
+
+ +
Returns:
true if names are equal and values are equal (or both null)
+
+
+
+ +

+hashCode

+
+public int hashCode()
+
+
+

+

+
Overrides:
hashCode in class Object
+
+
+
+
+
+
+ +

+compareTo

+
+public int compareTo(JMeterProperty arg0)
+
+
Compares two JMeterProperty object values. N.B. Does not compare names +

+

+
Specified by:
compareTo in interface Comparable<JMeterProperty>
+
+
+
Parameters:
arg0 - JMeterProperty to compare against +
Returns:
0 if equal values or both values null; -1 otherwise
See Also:
Comparable.compareTo(Object)
+
+
+
+ +

+getPropertyType

+
+protected Class<? extends JMeterProperty> getPropertyType()
+
+
Get the property type for this property. Used to convert raw values into + JMeterProperties. +

+

+
+
+
+ +
Returns:
property type of this property
+
+
+
+ +

+getBlankProperty

+
+protected JMeterProperty getBlankProperty()
+
+
+
+
+
+
+
+
+
+ +

+getBlankProperty

+
+protected static JMeterProperty getBlankProperty(Object item)
+
+
+
+
+
+
+
+
+
+ +

+normalizeList

+
+protected Collection<JMeterProperty> normalizeList(Collection<?> coll)
+
+
Convert a collection of objects into JMeterProperty objects. +

+

+
+
+
+
Parameters:
coll - Collection of any type of object +
Returns:
Collection of JMeterProperty objects
+
+
+
+ +

+normalizeMap

+
+protected Map<String,JMeterProperty> normalizeMap(Map<?,?> coll)
+
+
Given a Map, it converts the Map into a collection of JMeterProperty + objects, appropriate for a MapProperty object. +

+

+
+
+
+
Parameters:
coll - Map to convert +
Returns:
converted Map
+
+
+
+ +

+createProperty

+
+public static JMeterProperty createProperty(Object item)
+
+
+
+
+
+
+
+
+
+ +

+makeProperty

+
+protected static JMeterProperty makeProperty(Object item)
+
+
Create a JMeterProperty from an object. + The object can be one of: +
    +
  • JMeterProperty - returned unchanged
  • +
  • TestElement => TestElementProperty with the same name
  • +
  • Map|Collection => Map|CollectionProperty with the name = item.hashCode
  • +
+

+

+
+
+
+
Parameters:
item - object to be turned into a propery +
Returns:
the JMeterProperty
+
+
+
+ +

+convertObject

+
+protected JMeterProperty convertObject(Object item)
+
+
+
+
+
+
+
+
+
+ +

+toString

+
+public String toString()
+
+
Provides the string representation of the property. +

+

+
Overrides:
toString in class Object
+
+
+ +
Returns:
the string value
+
+
+
+ +

+mergeIn

+
+public void mergeIn(JMeterProperty prop)
+
+
Take the given property object and merge it's value with the current + property object. For most property types, this will simply be ignored. + But for collection properties and test element properties, more complex + behavior is required. +

+

+
Specified by:
mergeIn in interface JMeterProperty
+
+
+
Parameters:
prop - the property object to merge into this property
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/testelement/property/BooleanProperty.html b/docs/api/org/apache/jmeter/testelement/property/BooleanProperty.html new file mode 100644 index 00000000000..0575e86d9c2 --- /dev/null +++ b/docs/api/org/apache/jmeter/testelement/property/BooleanProperty.html @@ -0,0 +1,444 @@ + + + + + +BooleanProperty (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.testelement.property +
+Class BooleanProperty

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.property.AbstractProperty
+      extended by org.apache.jmeter.testelement.property.BooleanProperty
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Comparable<JMeterProperty>, JMeterProperty
+
+
+
+
public class BooleanProperty
extends AbstractProperty
+ + +

+

+
Version:
+
$Revision: 1413956 $
+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.testelement.property.AbstractProperty
log
+  + + + + + + + + + + + + + +
+Constructor Summary
BooleanProperty() + +
+           
BooleanProperty(String name, + boolean v) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ BooleanPropertyclone() + +
+          
+ booleangetBooleanValue() + +
+          Returns false if string is invalid or null.
+ ObjectgetObjectValue() + +
+          
+ StringgetStringValue() + +
+          
+ voidrecoverRunningVersion(TestElement owner) + +
+          Tell the property to revert to the state at the time + setRunningVersion(true) was called.
+ voidsetObjectValue(Object v) + +
+           
+ voidsetRunningVersion(boolean runningVersion) + +
+          Make the property a running version or turn it off as the running + version.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.property.AbstractProperty
compareTo, convertObject, createProperty, equals, getBlankProperty, getBlankProperty, getDoubleValue, getFloatValue, getIntValue, getIterator, getLongValue, getName, getPropertyType, hashCode, isEqualType, isRunningVersion, makeProperty, mergeIn, normalizeList, normalizeMap, setName, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+BooleanProperty

+
+public BooleanProperty(String name,
+                       boolean v)
+
+
+
+ +

+BooleanProperty

+
+public BooleanProperty()
+
+
+ + + + + + + + +
+Method Detail
+ +

+setObjectValue

+
+public void setObjectValue(Object v)
+
+
+
+
+
+
+ +

+getStringValue

+
+public String getStringValue()
+
+
+

+

+
+
+
+
+ +

+getObjectValue

+
+public Object getObjectValue()
+
+
+

+

+
+
+
+
+ +

+clone

+
+public BooleanProperty clone()
+
+
Description copied from class: AbstractProperty
+
+

+

+
Specified by:
clone in interface JMeterProperty
Overrides:
clone in class AbstractProperty
+
+
+
+
+
+
+ +

+getBooleanValue

+
+public boolean getBooleanValue()
+
+
Returns false if string is invalid or null. +

+

+
Specified by:
getBooleanValue in interface JMeterProperty
Overrides:
getBooleanValue in class AbstractProperty
+
+
+
See Also:
JMeterProperty.getBooleanValue()
+
+
+
+ +

+setRunningVersion

+
+public void setRunningVersion(boolean runningVersion)
+
+
Make the property a running version or turn it off as the running + version. A property that is made a running version will preserve the + current state in such a way that it is retrievable by a future call to + 'recoverRunningVersion()'. Additionally, a property that is a running + version will resolve all functions prior to returning it's property + value. A non-running version property will return functions as their + uncompiled string representation. +

+

+
Specified by:
setRunningVersion in interface JMeterProperty
Overrides:
setRunningVersion in class AbstractProperty
+
+
+
Parameters:
runningVersion - flag whether this property is a running version
+
+
+
+ +

+recoverRunningVersion

+
+public void recoverRunningVersion(TestElement owner)
+
+
Tell the property to revert to the state at the time + setRunningVersion(true) was called. +

+

+
Parameters:
owner - the owning element
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/testelement/property/CollectionProperty.html b/docs/api/org/apache/jmeter/testelement/property/CollectionProperty.html new file mode 100644 index 00000000000..2bdf1065fa4 --- /dev/null +++ b/docs/api/org/apache/jmeter/testelement/property/CollectionProperty.html @@ -0,0 +1,738 @@ + + + + + +CollectionProperty (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.testelement.property +
+Class CollectionProperty

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.property.AbstractProperty
+      extended by org.apache.jmeter.testelement.property.MultiProperty
+          extended by org.apache.jmeter.testelement.property.CollectionProperty
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Comparable<JMeterProperty>, JMeterProperty
+
+
+
+
public class CollectionProperty
extends MultiProperty
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.testelement.property.AbstractProperty
log
+  + + + + + + + + + + + + + +
+Constructor Summary
CollectionProperty() + +
+           
CollectionProperty(String name, + Collection<?> value) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddItem(Object item) + +
+           
+ voidaddProperty(JMeterProperty prop) + +
+          Add a property to the collection.
+ voidclear() + +
+          Clear away all values in the property.
+ CollectionPropertyclone() + +
+          
+ booleanequals(Object o) + +
+          Determines if the two objects are equal by comparing names and values
+ JMeterPropertyget(int row) + +
+           
+ ObjectgetObjectValue() + +
+          
+protected  Class<? extends JMeterProperty>getPropertyType() + +
+          Figures out what kind of properties this collection is holding and + returns the class type.
+ StringgetStringValue() + +
+          
+ inthashCode() + +
+          
+ PropertyIteratoriterator() + +
+          Get the property iterator to iterate through the sub-values of this + JMeterProperty.
+ voidrecoverRunningVersion(TestElement owner) + +
+          Tell the property to revert to the state at the time + setRunningVersion(true) was called.
+ voidremove(int index) + +
+           
+ voidremove(String prop) + +
+           
+ voidset(int index, + JMeterProperty prop) + +
+           
+ voidset(int index, + String prop) + +
+           
+ voidsetCollection(Collection<?> coll) + +
+           
+ voidsetObjectValue(Object v) + +
+          
+ voidsetRunningVersion(boolean running) + +
+          Make the property a running version or turn it off as the running + version.
+ intsize() + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.property.MultiProperty
mergeIn, recoverRunningVersionOfSubElements
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.property.AbstractProperty
compareTo, convertObject, createProperty, getBlankProperty, getBlankProperty, getBooleanValue, getDoubleValue, getFloatValue, getIntValue, getIterator, getLongValue, getName, isEqualType, isRunningVersion, makeProperty, normalizeList, normalizeMap, setName, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+CollectionProperty

+
+public CollectionProperty(String name,
+                          Collection<?> value)
+
+
+
+ +

+CollectionProperty

+
+public CollectionProperty()
+
+
+ + + + + + + + +
+Method Detail
+ +

+equals

+
+public boolean equals(Object o)
+
+
Description copied from class: AbstractProperty
+
Determines if the two objects are equal by comparing names and values +

+

+
Overrides:
equals in class AbstractProperty
+
+
+ +
Returns:
true if names are equal and values are equal (or both null)
+
+
+
+ +

+hashCode

+
+public int hashCode()
+
+
Description copied from class: AbstractProperty
+
+

+

+
Overrides:
hashCode in class AbstractProperty
+
+
+
+
+
+
+ +

+remove

+
+public void remove(String prop)
+
+
+
+
+
+
+ +

+set

+
+public void set(int index,
+                String prop)
+
+
+
+
+
+
+ +

+set

+
+public void set(int index,
+                JMeterProperty prop)
+
+
+
+
+
+
+ +

+get

+
+public JMeterProperty get(int row)
+
+
+
+
+
+
+ +

+remove

+
+public void remove(int index)
+
+
+
+
+
+
+ +

+setObjectValue

+
+public void setObjectValue(Object v)
+
+
+

+

+
+
+
+
+ +

+iterator

+
+public PropertyIterator iterator()
+
+
Get the property iterator to iterate through the sub-values of this + JMeterProperty. +

+

+
Specified by:
iterator in class MultiProperty
+
+
+ +
Returns:
an iterator for the sub-values of this property
+
+
+
+ +

+getStringValue

+
+public String getStringValue()
+
+
+

+

+
+
+
+
+ +

+getObjectValue

+
+public Object getObjectValue()
+
+
+

+

+
+
+
+
+ +

+size

+
+public int size()
+
+
+
+
+
+
+ +

+clone

+
+public CollectionProperty clone()
+
+
+

+

+
Specified by:
clone in interface JMeterProperty
Overrides:
clone in class AbstractProperty
+
+
+
+
+
+
+ +

+setCollection

+
+public void setCollection(Collection<?> coll)
+
+
+
+
+
+
+ +

+clear

+
+public void clear()
+
+
Clear away all values in the property. +

+

+
Specified by:
clear in class MultiProperty
+
+
+
+
+
+
+ +

+addProperty

+
+public void addProperty(JMeterProperty prop)
+
+
Add a property to the collection. +

+

+
Specified by:
addProperty in class MultiProperty
+
+
+
Parameters:
prop - the JMeterProperty to add
+
+
+
+ +

+addItem

+
+public void addItem(Object item)
+
+
+
+
+
+
+ +

+getPropertyType

+
+protected Class<? extends JMeterProperty> getPropertyType()
+
+
Figures out what kind of properties this collection is holding and + returns the class type. +

+

+
Overrides:
getPropertyType in class AbstractProperty
+
+
+ +
Returns:
property type of this property
See Also:
AbstractProperty.getPropertyType()
+
+
+
+ +

+recoverRunningVersion

+
+public void recoverRunningVersion(TestElement owner)
+
+
Tell the property to revert to the state at the time + setRunningVersion(true) was called. +

+

+
Parameters:
owner - the owning element
+
+
+
+ +

+setRunningVersion

+
+public void setRunningVersion(boolean running)
+
+
Make the property a running version or turn it off as the running + version. A property that is made a running version will preserve the + current state in such a way that it is retrievable by a future call to + 'recoverRunningVersion()'. Additionally, a property that is a running + version will resolve all functions prior to returning it's property + value. A non-running version property will return functions as their + uncompiled string representation. +

+

+
Specified by:
setRunningVersion in interface JMeterProperty
Overrides:
setRunningVersion in class MultiProperty
+
+
+
Parameters:
running - flag whether this property is a running version
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/testelement/property/DoubleProperty.html b/docs/api/org/apache/jmeter/testelement/property/DoubleProperty.html new file mode 100644 index 00000000000..57f8475f19b --- /dev/null +++ b/docs/api/org/apache/jmeter/testelement/property/DoubleProperty.html @@ -0,0 +1,602 @@ + + + + + +DoubleProperty (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.testelement.property +
+Class DoubleProperty

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.property.AbstractProperty
+      extended by org.apache.jmeter.testelement.property.NumberProperty
+          extended by org.apache.jmeter.testelement.property.DoubleProperty
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Comparable<JMeterProperty>, JMeterProperty
+
+
+
+
public class DoubleProperty
extends NumberProperty
+ + +

+

+
Version:
+
$Revision: 1413956 $
+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.testelement.property.AbstractProperty
log
+  + + + + + + + + + + + + + +
+Constructor Summary
DoubleProperty() + +
+           
DoubleProperty(String name, + double value) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ DoublePropertyclone() + +
+          
+ booleangetBooleanValue() + +
+          Returns false if string is invalid or null.
+ doublegetDoubleValue() + +
+          Returns 0 if string is invalid or null.
+ floatgetFloatValue() + +
+          Returns 0 if string is invalid or null.
+ intgetIntValue() + +
+          Returns 0 if string is invalid or null.
+ longgetLongValue() + +
+          Returns 0 if string is invalid or null.
+ ObjectgetObjectValue() + +
+          
+ StringgetStringValue() + +
+          
+ voidrecoverRunningVersion(TestElement owner) + +
+          Tell the property to revert to the state at the time + setRunningVersion(true) was called.
+protected  voidsetNumberValue(Number n) + +
+          Set the value of the property with a Number object.
+protected  voidsetNumberValue(String n) + +
+          Set the value of the property with a String object.
+ voidsetRunningVersion(boolean runningVersion) + +
+          Make the property a running version or turn it off as the running + version.
+ voidsetValue(float value) + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.property.NumberProperty
compareTo, setObjectValue
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.property.AbstractProperty
convertObject, createProperty, equals, getBlankProperty, getBlankProperty, getIterator, getName, getPropertyType, hashCode, isEqualType, isRunningVersion, makeProperty, mergeIn, normalizeList, normalizeMap, setName, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+DoubleProperty

+
+public DoubleProperty(String name,
+                      double value)
+
+
+
+ +

+DoubleProperty

+
+public DoubleProperty()
+
+
+ + + + + + + + +
+Method Detail
+ +

+setValue

+
+public void setValue(float value)
+
+
+
+
+
+
+ +

+setNumberValue

+
+protected void setNumberValue(Number n)
+
+
Set the value of the property with a Number object. +

+

+
Specified by:
setNumberValue in class NumberProperty
+
+
+
Parameters:
n - the value to set
+
+
+
+ +

+setNumberValue

+
+protected void setNumberValue(String n)
+                       throws NumberFormatException
+
+
Set the value of the property with a String object. +

+

+
Specified by:
setNumberValue in class NumberProperty
+
+
+
Parameters:
n - the number to set as a string representation +
Throws: +
NumberFormatException - if the number n can not be converted to a + Number
+
+
+
+ +

+getStringValue

+
+public String getStringValue()
+
+
+

+

+
+
+
+
+ +

+getObjectValue

+
+public Object getObjectValue()
+
+
+

+

+
+
+
+
+ +

+clone

+
+public DoubleProperty clone()
+
+
+

+

+
Specified by:
clone in interface JMeterProperty
Overrides:
clone in class AbstractProperty
+
+
+
+
+
+
+ +

+getBooleanValue

+
+public boolean getBooleanValue()
+
+
Returns false if string is invalid or null. +

+

+
Specified by:
getBooleanValue in interface JMeterProperty
Overrides:
getBooleanValue in class AbstractProperty
+
+
+
See Also:
JMeterProperty.getBooleanValue()
+
+
+
+ +

+getDoubleValue

+
+public double getDoubleValue()
+
+
Returns 0 if string is invalid or null. +

+

+
Specified by:
getDoubleValue in interface JMeterProperty
Overrides:
getDoubleValue in class AbstractProperty
+
+
+
See Also:
JMeterProperty.getDoubleValue()
+
+
+
+ +

+getFloatValue

+
+public float getFloatValue()
+
+
Returns 0 if string is invalid or null. +

+

+
Specified by:
getFloatValue in interface JMeterProperty
Overrides:
getFloatValue in class AbstractProperty
+
+
+
See Also:
JMeterProperty.getFloatValue()
+
+
+
+ +

+getIntValue

+
+public int getIntValue()
+
+
Returns 0 if string is invalid or null. +

+

+
Specified by:
getIntValue in interface JMeterProperty
Overrides:
getIntValue in class AbstractProperty
+
+
+
See Also:
JMeterProperty.getIntValue()
+
+
+
+ +

+getLongValue

+
+public long getLongValue()
+
+
Description copied from class: AbstractProperty
+
Returns 0 if string is invalid or null. +

+

+
Specified by:
getLongValue in interface JMeterProperty
Overrides:
getLongValue in class AbstractProperty
+
+
+
See Also:
JMeterProperty.getLongValue()
+
+
+
+ +

+setRunningVersion

+
+public void setRunningVersion(boolean runningVersion)
+
+
Make the property a running version or turn it off as the running + version. A property that is made a running version will preserve the + current state in such a way that it is retrievable by a future call to + 'recoverRunningVersion()'. Additionally, a property that is a running + version will resolve all functions prior to returning it's property + value. A non-running version property will return functions as their + uncompiled string representation. +

+

+
Specified by:
setRunningVersion in interface JMeterProperty
Overrides:
setRunningVersion in class AbstractProperty
+
+
+
Parameters:
runningVersion - flag whether this property is a running version
+
+
+
+ +

+recoverRunningVersion

+
+public void recoverRunningVersion(TestElement owner)
+
+
Tell the property to revert to the state at the time + setRunningVersion(true) was called. +

+

+
Parameters:
owner - the owning element
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/testelement/property/FloatProperty.html b/docs/api/org/apache/jmeter/testelement/property/FloatProperty.html new file mode 100644 index 00000000000..14098f7b476 --- /dev/null +++ b/docs/api/org/apache/jmeter/testelement/property/FloatProperty.html @@ -0,0 +1,601 @@ + + + + + +FloatProperty (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.testelement.property +
+Class FloatProperty

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.property.AbstractProperty
+      extended by org.apache.jmeter.testelement.property.NumberProperty
+          extended by org.apache.jmeter.testelement.property.FloatProperty
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Comparable<JMeterProperty>, JMeterProperty
+
+
+
+
public class FloatProperty
extends NumberProperty
+ + +

+

+
Version:
+
$Revision: 1413956 $
+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.testelement.property.AbstractProperty
log
+  + + + + + + + + + + + + + +
+Constructor Summary
FloatProperty() + +
+           
FloatProperty(String name, + float value) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ FloatPropertyclone() + +
+          
+ booleangetBooleanValue() + +
+          Returns false if string is invalid or null.
+ doublegetDoubleValue() + +
+          Returns 0 if string is invalid or null.
+ floatgetFloatValue() + +
+          Returns 0 if string is invalid or null.
+ intgetIntValue() + +
+          Returns 0 if string is invalid or null.
+ longgetLongValue() + +
+          Returns 0 if string is invalid or null.
+ ObjectgetObjectValue() + +
+          
+ StringgetStringValue() + +
+          
+ voidrecoverRunningVersion(TestElement owner) + +
+          Tell the property to revert to the state at the time + setRunningVersion(true) was called.
+protected  voidsetNumberValue(Number n) + +
+          Set the value of the property with a Number object.
+protected  voidsetNumberValue(String n) + +
+          Set the value of the property with a String object.
+ voidsetRunningVersion(boolean runningVersion) + +
+          Make the property a running version or turn it off as the running + version.
+ voidsetValue(float value) + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.property.NumberProperty
compareTo, setObjectValue
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.property.AbstractProperty
convertObject, createProperty, equals, getBlankProperty, getBlankProperty, getIterator, getName, getPropertyType, hashCode, isEqualType, isRunningVersion, makeProperty, mergeIn, normalizeList, normalizeMap, setName, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+FloatProperty

+
+public FloatProperty(String name,
+                     float value)
+
+
+
+ +

+FloatProperty

+
+public FloatProperty()
+
+
+ + + + + + + + +
+Method Detail
+ +

+setRunningVersion

+
+public void setRunningVersion(boolean runningVersion)
+
+
Make the property a running version or turn it off as the running + version. A property that is made a running version will preserve the + current state in such a way that it is retrievable by a future call to + 'recoverRunningVersion()'. Additionally, a property that is a running + version will resolve all functions prior to returning it's property + value. A non-running version property will return functions as their + uncompiled string representation. +

+

+
Specified by:
setRunningVersion in interface JMeterProperty
Overrides:
setRunningVersion in class AbstractProperty
+
+
+
Parameters:
runningVersion - flag whether this property is a running version
+
+
+
+ +

+recoverRunningVersion

+
+public void recoverRunningVersion(TestElement owner)
+
+
Tell the property to revert to the state at the time + setRunningVersion(true) was called. +

+

+
Parameters:
owner - the owning element
+
+
+
+ +

+setValue

+
+public void setValue(float value)
+
+
+
+
+
+
+ +

+setNumberValue

+
+protected void setNumberValue(Number n)
+
+
Set the value of the property with a Number object. +

+

+
Specified by:
setNumberValue in class NumberProperty
+
+
+
Parameters:
n - the value to set
+
+
+
+ +

+setNumberValue

+
+protected void setNumberValue(String n)
+                       throws NumberFormatException
+
+
Set the value of the property with a String object. +

+

+
Specified by:
setNumberValue in class NumberProperty
+
+
+
Parameters:
n - the number to set as a string representation +
Throws: +
NumberFormatException - if the number n can not be converted to a + Number
+
+
+
+ +

+getStringValue

+
+public String getStringValue()
+
+
+

+

+
+
+
+
+ +

+getObjectValue

+
+public Object getObjectValue()
+
+
+

+

+
+
+
+
+ +

+clone

+
+public FloatProperty clone()
+
+
+

+

+
Specified by:
clone in interface JMeterProperty
Overrides:
clone in class AbstractProperty
+
+
+
+
+
+
+ +

+getBooleanValue

+
+public boolean getBooleanValue()
+
+
Returns false if string is invalid or null. +

+

+
Specified by:
getBooleanValue in interface JMeterProperty
Overrides:
getBooleanValue in class AbstractProperty
+
+
+
See Also:
JMeterProperty.getBooleanValue()
+
+
+
+ +

+getDoubleValue

+
+public double getDoubleValue()
+
+
Returns 0 if string is invalid or null. +

+

+
Specified by:
getDoubleValue in interface JMeterProperty
Overrides:
getDoubleValue in class AbstractProperty
+
+
+
See Also:
JMeterProperty.getDoubleValue()
+
+
+
+ +

+getFloatValue

+
+public float getFloatValue()
+
+
Returns 0 if string is invalid or null. +

+

+
Specified by:
getFloatValue in interface JMeterProperty
Overrides:
getFloatValue in class AbstractProperty
+
+
+
See Also:
JMeterProperty.getFloatValue()
+
+
+
+ +

+getIntValue

+
+public int getIntValue()
+
+
Returns 0 if string is invalid or null. +

+

+
Specified by:
getIntValue in interface JMeterProperty
Overrides:
getIntValue in class AbstractProperty
+
+
+
See Also:
JMeterProperty.getIntValue()
+
+
+
+ +

+getLongValue

+
+public long getLongValue()
+
+
Returns 0 if string is invalid or null. +

+

+
Specified by:
getLongValue in interface JMeterProperty
Overrides:
getLongValue in class AbstractProperty
+
+
+
See Also:
JMeterProperty.getLongValue()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/testelement/property/FunctionProperty.html b/docs/api/org/apache/jmeter/testelement/property/FunctionProperty.html new file mode 100644 index 00000000000..3ef941f0012 --- /dev/null +++ b/docs/api/org/apache/jmeter/testelement/property/FunctionProperty.html @@ -0,0 +1,444 @@ + + + + + +FunctionProperty (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.testelement.property +
+Class FunctionProperty

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.property.AbstractProperty
+      extended by org.apache.jmeter.testelement.property.FunctionProperty
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Comparable<JMeterProperty>, JMeterProperty
+
+
+
+
public class FunctionProperty
extends AbstractProperty
+ + +

+Class that implements the Function property +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.testelement.property.AbstractProperty
log
+  + + + + + + + + + + + + + +
+Constructor Summary
FunctionProperty() + +
+           
FunctionProperty(String name, + CompoundVariable func) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ FunctionPropertyclone() + +
+          
+ booleanequals(Object o) + +
+          Determines if the two objects are equal by comparing names and values
+ ObjectgetObjectValue() + +
+           
+ StringgetStringValue() + +
+          Executes the function (and caches the value for the duration of the test + iteration) if the property is a running version.
+ inthashCode() + +
+          
+ voidrecoverRunningVersion(TestElement owner) + +
+          Tell the property to revert to the state at the time + setRunningVersion(true) was called.
+ voidsetObjectValue(Object v) + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.property.AbstractProperty
compareTo, convertObject, createProperty, getBlankProperty, getBlankProperty, getBooleanValue, getDoubleValue, getFloatValue, getIntValue, getIterator, getLongValue, getName, getPropertyType, isEqualType, isRunningVersion, makeProperty, mergeIn, normalizeList, normalizeMap, setName, setRunningVersion, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+FunctionProperty

+
+public FunctionProperty(String name,
+                        CompoundVariable func)
+
+
+
+ +

+FunctionProperty

+
+public FunctionProperty()
+
+
+ + + + + + + + +
+Method Detail
+ +

+setObjectValue

+
+public void setObjectValue(Object v)
+
+
+
+
+
+
+ +

+equals

+
+public boolean equals(Object o)
+
+
Description copied from class: AbstractProperty
+
Determines if the two objects are equal by comparing names and values +

+

+
Overrides:
equals in class AbstractProperty
+
+
+ +
Returns:
true if names are equal and values are equal (or both null)
+
+
+
+ +

+hashCode

+
+public int hashCode()
+
+
Description copied from class: AbstractProperty
+
+

+

+
Overrides:
hashCode in class AbstractProperty
+
+
+
+
+
+
+ +

+getStringValue

+
+public String getStringValue()
+
+
Executes the function (and caches the value for the duration of the test + iteration) if the property is a running version. Otherwise, the raw + string representation of the function is provided. +

+

+
See Also:
JMeterProperty.getStringValue()
+
+
+
+ +

+getObjectValue

+
+public Object getObjectValue()
+
+
+
See Also:
JMeterProperty.getObjectValue()
+
+
+
+ +

+clone

+
+public FunctionProperty clone()
+
+
Description copied from class: AbstractProperty
+
+

+

+
Specified by:
clone in interface JMeterProperty
Overrides:
clone in class AbstractProperty
+
+
+
+
+
+
+ +

+recoverRunningVersion

+
+public void recoverRunningVersion(TestElement owner)
+
+
Description copied from interface: JMeterProperty
+
Tell the property to revert to the state at the time + setRunningVersion(true) was called. +

+

+
Parameters:
owner - the owning element
See Also:
JMeterProperty.recoverRunningVersion(TestElement)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/testelement/property/IntegerProperty.html b/docs/api/org/apache/jmeter/testelement/property/IntegerProperty.html new file mode 100644 index 00000000000..37ac33887ba --- /dev/null +++ b/docs/api/org/apache/jmeter/testelement/property/IntegerProperty.html @@ -0,0 +1,616 @@ + + + + + +IntegerProperty (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.testelement.property +
+Class IntegerProperty

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.property.AbstractProperty
+      extended by org.apache.jmeter.testelement.property.NumberProperty
+          extended by org.apache.jmeter.testelement.property.IntegerProperty
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Comparable<JMeterProperty>, JMeterProperty
+
+
+
+
public class IntegerProperty
extends NumberProperty
+ + +

+

+
Version:
+
$Revision: 1413956 $
+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.testelement.property.AbstractProperty
log
+  + + + + + + + + + + + + + + + + +
+Constructor Summary
IntegerProperty() + +
+           
IntegerProperty(String name) + +
+           
IntegerProperty(String name, + int value) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ IntegerPropertyclone() + +
+          
+ booleangetBooleanValue() + +
+          Returns false if string is invalid or null.
+ doublegetDoubleValue() + +
+          Returns 0 if string is invalid or null.
+ floatgetFloatValue() + +
+          Returns 0 if string is invalid or null.
+ intgetIntValue() + +
+          Returns 0 if string is invalid or null.
+ longgetLongValue() + +
+          Returns 0 if string is invalid or null.
+ ObjectgetObjectValue() + +
+           
+ StringgetStringValue() + +
+           
+ voidrecoverRunningVersion(TestElement owner) + +
+          Tell the property to revert to the state at the time + setRunningVersion(true) was called.
+protected  voidsetNumberValue(Number n) + +
+          Set the value of the property with a Number object.
+protected  voidsetNumberValue(String n) + +
+          Set the value of the property with a String object.
+ voidsetRunningVersion(boolean runningVersion) + +
+          Make the property a running version or turn it off as the running + version.
+ voidsetValue(int value) + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.property.NumberProperty
compareTo, setObjectValue
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.property.AbstractProperty
convertObject, createProperty, equals, getBlankProperty, getBlankProperty, getIterator, getName, getPropertyType, hashCode, isEqualType, isRunningVersion, makeProperty, mergeIn, normalizeList, normalizeMap, setName, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+IntegerProperty

+
+public IntegerProperty(String name,
+                       int value)
+
+
+
+ +

+IntegerProperty

+
+public IntegerProperty(String name)
+
+
+
+ +

+IntegerProperty

+
+public IntegerProperty()
+
+
+ + + + + + + + +
+Method Detail
+ +

+setRunningVersion

+
+public void setRunningVersion(boolean runningVersion)
+
+
Make the property a running version or turn it off as the running + version. A property that is made a running version will preserve the + current state in such a way that it is retrievable by a future call to + 'recoverRunningVersion()'. Additionally, a property that is a running + version will resolve all functions prior to returning it's property + value. A non-running version property will return functions as their + uncompiled string representation. +

+

+
Specified by:
setRunningVersion in interface JMeterProperty
Overrides:
setRunningVersion in class AbstractProperty
+
+
+
Parameters:
runningVersion - flag whether this property is a running version
+
+
+
+ +

+recoverRunningVersion

+
+public void recoverRunningVersion(TestElement owner)
+
+
Tell the property to revert to the state at the time + setRunningVersion(true) was called. +

+

+
Parameters:
owner - the owning element
+
+
+
+ +

+setValue

+
+public void setValue(int value)
+
+
+
+
+
+
+ +

+setNumberValue

+
+protected void setNumberValue(Number n)
+
+
Set the value of the property with a Number object. +

+

+
Specified by:
setNumberValue in class NumberProperty
+
+
+
Parameters:
n - the value to set
+
+
+
+ +

+setNumberValue

+
+protected void setNumberValue(String n)
+                       throws NumberFormatException
+
+
Set the value of the property with a String object. +

+

+
Specified by:
setNumberValue in class NumberProperty
+
+
+
Parameters:
n - the number to set as a string representation +
Throws: +
NumberFormatException - if the number n can not be converted to a + Number
+
+
+
+ +

+getStringValue

+
+public String getStringValue()
+
+
+
See Also:
JMeterProperty.getStringValue()
+
+
+
+ +

+getObjectValue

+
+public Object getObjectValue()
+
+
+
See Also:
JMeterProperty.getObjectValue()
+
+
+
+ +

+clone

+
+public IntegerProperty clone()
+
+
+

+

+
Specified by:
clone in interface JMeterProperty
Overrides:
clone in class AbstractProperty
+
+
+
+
+
+
+ +

+getBooleanValue

+
+public boolean getBooleanValue()
+
+
Description copied from class: AbstractProperty
+
Returns false if string is invalid or null. +

+

+
Specified by:
getBooleanValue in interface JMeterProperty
Overrides:
getBooleanValue in class AbstractProperty
+
+
+
See Also:
JMeterProperty.getBooleanValue()
+
+
+
+ +

+getDoubleValue

+
+public double getDoubleValue()
+
+
Description copied from class: AbstractProperty
+
Returns 0 if string is invalid or null. +

+

+
Specified by:
getDoubleValue in interface JMeterProperty
Overrides:
getDoubleValue in class AbstractProperty
+
+
+
See Also:
JMeterProperty.getDoubleValue()
+
+
+
+ +

+getFloatValue

+
+public float getFloatValue()
+
+
Description copied from class: AbstractProperty
+
Returns 0 if string is invalid or null. +

+

+
Specified by:
getFloatValue in interface JMeterProperty
Overrides:
getFloatValue in class AbstractProperty
+
+
+
See Also:
JMeterProperty.getFloatValue()
+
+
+
+ +

+getIntValue

+
+public int getIntValue()
+
+
Description copied from class: AbstractProperty
+
Returns 0 if string is invalid or null. +

+

+
Specified by:
getIntValue in interface JMeterProperty
Overrides:
getIntValue in class AbstractProperty
+
+
+
See Also:
JMeterProperty.getIntValue()
+
+
+
+ +

+getLongValue

+
+public long getLongValue()
+
+
Description copied from class: AbstractProperty
+
Returns 0 if string is invalid or null. +

+

+
Specified by:
getLongValue in interface JMeterProperty
Overrides:
getLongValue in class AbstractProperty
+
+
+
See Also:
JMeterProperty.getLongValue()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/testelement/property/JMeterProperty.html b/docs/api/org/apache/jmeter/testelement/property/JMeterProperty.html new file mode 100644 index 00000000000..defa825c7d4 --- /dev/null +++ b/docs/api/org/apache/jmeter/testelement/property/JMeterProperty.html @@ -0,0 +1,556 @@ + + + + + +JMeterProperty (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.testelement.property +
+Interface JMeterProperty

+
+
All Superinterfaces:
Cloneable, Comparable<JMeterProperty>, Serializable
+
+
+
All Known Implementing Classes:
AbstractProperty, BooleanProperty, CollectionProperty, DoubleProperty, FloatProperty, FunctionProperty, IntegerProperty, LongProperty, MapProperty, MultiProperty, NullProperty, NumberProperty, ObjectProperty, StringProperty, TestElementProperty
+
+
+
+
public interface JMeterProperty
extends Serializable, Cloneable, Comparable<JMeterProperty>
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ JMeterPropertyclone() + +
+           
+ booleangetBooleanValue() + +
+           
+ doublegetDoubleValue() + +
+           
+ floatgetFloatValue() + +
+           
+ intgetIntValue() + +
+           
+ longgetLongValue() + +
+           
+ StringgetName() + +
+          The name of the property.
+ ObjectgetObjectValue() + +
+           
+ StringgetStringValue() + +
+           
+ booleanisRunningVersion() + +
+          Returns whether the property is a running version.
+ voidmergeIn(JMeterProperty prop) + +
+          Take the given property object and merge it's value with the current + property object.
+ voidrecoverRunningVersion(TestElement owner) + +
+          Tell the property to revert to the state at the time + setRunningVersion(true) was called.
+ voidsetName(String name) + +
+          Set the property name.
+ voidsetObjectValue(Object value) + +
+           
+ voidsetRunningVersion(boolean runningVersion) + +
+          Make the property a running version or turn it off as the running + version.
+ + + + + + + +
Methods inherited from interface java.lang.Comparable
compareTo
+  +

+ + + + + + + + +
+Method Detail
+ +

+isRunningVersion

+
+boolean isRunningVersion()
+
+
Returns whether the property is a running version. +

+

+
+
+
+ +
Returns:
flag whether this property is a running version
+
+
+
+ +

+getName

+
+String getName()
+
+
The name of the property. Typically this should match the name that keys + the property's location in the test elements Map. +

+

+
+
+
+ +
Returns:
the name of the property
+
+
+
+ +

+setName

+
+void setName(String name)
+
+
Set the property name. +

+

+
+
+
+
Parameters:
name - the name of the property
+
+
+
+ +

+setRunningVersion

+
+void setRunningVersion(boolean runningVersion)
+
+
Make the property a running version or turn it off as the running + version. A property that is made a running version will preserve the + current state in such a way that it is retrievable by a future call to + 'recoverRunningVersion()'. Additionally, a property that is a running + version will resolve all functions prior to returning it's property + value. A non-running version property will return functions as their + uncompiled string representation. +

+

+
+
+
+
Parameters:
runningVersion - flag whether this property is a running version
+
+
+
+ +

+recoverRunningVersion

+
+void recoverRunningVersion(TestElement owner)
+
+
Tell the property to revert to the state at the time + setRunningVersion(true) was called. +

+

+
+
+
+
Parameters:
owner - the owning element
+
+
+
+ +

+mergeIn

+
+void mergeIn(JMeterProperty prop)
+
+
Take the given property object and merge it's value with the current + property object. For most property types, this will simply be ignored. + But for collection properties and test element properties, more complex + behavior is required. +

+

+
+
+
+
Parameters:
prop - the property object to merge into this property
+
+
+
+ +

+getIntValue

+
+int getIntValue()
+
+
+
+
+
+
+
+
+
+ +

+getLongValue

+
+long getLongValue()
+
+
+
+
+
+
+
+
+
+ +

+getDoubleValue

+
+double getDoubleValue()
+
+
+
+
+
+
+
+
+
+ +

+getFloatValue

+
+float getFloatValue()
+
+
+
+
+
+
+
+
+
+ +

+getBooleanValue

+
+boolean getBooleanValue()
+
+
+
+
+
+
+
+
+
+ +

+getStringValue

+
+String getStringValue()
+
+
+
+
+
+
+
+
+
+ +

+getObjectValue

+
+Object getObjectValue()
+
+
+
+
+
+
+
+
+
+ +

+setObjectValue

+
+void setObjectValue(Object value)
+
+
+
+
+
+
+
+
+
+ +

+clone

+
+JMeterProperty clone()
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/testelement/property/LongProperty.html b/docs/api/org/apache/jmeter/testelement/property/LongProperty.html new file mode 100644 index 00000000000..c90fa8a8463 --- /dev/null +++ b/docs/api/org/apache/jmeter/testelement/property/LongProperty.html @@ -0,0 +1,602 @@ + + + + + +LongProperty (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.testelement.property +
+Class LongProperty

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.property.AbstractProperty
+      extended by org.apache.jmeter.testelement.property.NumberProperty
+          extended by org.apache.jmeter.testelement.property.LongProperty
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Comparable<JMeterProperty>, JMeterProperty
+
+
+
+
public class LongProperty
extends NumberProperty
+ + +

+

+
Version:
+
$Revision: 1413956 $
+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.testelement.property.AbstractProperty
log
+  + + + + + + + + + + + + + +
+Constructor Summary
LongProperty() + +
+           
LongProperty(String name, + long value) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ LongPropertyclone() + +
+          
+ booleangetBooleanValue() + +
+          Returns false if string is invalid or null.
+ doublegetDoubleValue() + +
+          Returns 0 if string is invalid or null.
+ floatgetFloatValue() + +
+          Returns 0 if string is invalid or null.
+ intgetIntValue() + +
+          Returns 0 if string is invalid or null.
+ longgetLongValue() + +
+          Returns 0 if string is invalid or null.
+ ObjectgetObjectValue() + +
+           
+ StringgetStringValue() + +
+           
+ voidrecoverRunningVersion(TestElement owner) + +
+          Tell the property to revert to the state at the time + setRunningVersion(true) was called.
+protected  voidsetNumberValue(Number n) + +
+          Set the value of the property with a Number object.
+protected  voidsetNumberValue(String n) + +
+          Set the value of the property with a String object.
+ voidsetRunningVersion(boolean runningVersion) + +
+          Make the property a running version or turn it off as the running + version.
+ voidsetValue(int value) + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.property.NumberProperty
compareTo, setObjectValue
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.property.AbstractProperty
convertObject, createProperty, equals, getBlankProperty, getBlankProperty, getIterator, getName, getPropertyType, hashCode, isEqualType, isRunningVersion, makeProperty, mergeIn, normalizeList, normalizeMap, setName, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+LongProperty

+
+public LongProperty(String name,
+                    long value)
+
+
+
+ +

+LongProperty

+
+public LongProperty()
+
+
+ + + + + + + + +
+Method Detail
+ +

+setRunningVersion

+
+public void setRunningVersion(boolean runningVersion)
+
+
Make the property a running version or turn it off as the running + version. A property that is made a running version will preserve the + current state in such a way that it is retrievable by a future call to + 'recoverRunningVersion()'. Additionally, a property that is a running + version will resolve all functions prior to returning it's property + value. A non-running version property will return functions as their + uncompiled string representation. +

+

+
Specified by:
setRunningVersion in interface JMeterProperty
Overrides:
setRunningVersion in class AbstractProperty
+
+
+
Parameters:
runningVersion - flag whether this property is a running version
+
+
+
+ +

+recoverRunningVersion

+
+public void recoverRunningVersion(TestElement owner)
+
+
Tell the property to revert to the state at the time + setRunningVersion(true) was called. +

+

+
Parameters:
owner - the owning element
+
+
+
+ +

+setValue

+
+public void setValue(int value)
+
+
+
+
+
+
+ +

+setNumberValue

+
+protected void setNumberValue(Number n)
+
+
Set the value of the property with a Number object. +

+

+
Specified by:
setNumberValue in class NumberProperty
+
+
+
Parameters:
n - the value to set
+
+
+
+ +

+setNumberValue

+
+protected void setNumberValue(String n)
+                       throws NumberFormatException
+
+
Set the value of the property with a String object. +

+

+
Specified by:
setNumberValue in class NumberProperty
+
+
+
Parameters:
n - the number to set as a string representation +
Throws: +
NumberFormatException - if the number n can not be converted to a + Number
+
+
+
+ +

+getStringValue

+
+public String getStringValue()
+
+
+
See Also:
JMeterProperty.getStringValue()
+
+
+
+ +

+getObjectValue

+
+public Object getObjectValue()
+
+
+
See Also:
JMeterProperty.getObjectValue()
+
+
+
+ +

+clone

+
+public LongProperty clone()
+
+
+

+

+
Specified by:
clone in interface JMeterProperty
Overrides:
clone in class AbstractProperty
+
+
+
+
+
+
+ +

+getBooleanValue

+
+public boolean getBooleanValue()
+
+
Description copied from class: AbstractProperty
+
Returns false if string is invalid or null. +

+

+
Specified by:
getBooleanValue in interface JMeterProperty
Overrides:
getBooleanValue in class AbstractProperty
+
+
+
See Also:
JMeterProperty.getBooleanValue()
+
+
+
+ +

+getDoubleValue

+
+public double getDoubleValue()
+
+
Description copied from class: AbstractProperty
+
Returns 0 if string is invalid or null. +

+

+
Specified by:
getDoubleValue in interface JMeterProperty
Overrides:
getDoubleValue in class AbstractProperty
+
+
+
See Also:
JMeterProperty.getDoubleValue()
+
+
+
+ +

+getFloatValue

+
+public float getFloatValue()
+
+
Description copied from class: AbstractProperty
+
Returns 0 if string is invalid or null. +

+

+
Specified by:
getFloatValue in interface JMeterProperty
Overrides:
getFloatValue in class AbstractProperty
+
+
+
See Also:
JMeterProperty.getFloatValue()
+
+
+
+ +

+getIntValue

+
+public int getIntValue()
+
+
Description copied from class: AbstractProperty
+
Returns 0 if string is invalid or null. +

+

+
Specified by:
getIntValue in interface JMeterProperty
Overrides:
getIntValue in class AbstractProperty
+
+
+
See Also:
JMeterProperty.getIntValue()
+
+
+
+ +

+getLongValue

+
+public long getLongValue()
+
+
Description copied from class: AbstractProperty
+
Returns 0 if string is invalid or null. +

+

+
Specified by:
getLongValue in interface JMeterProperty
Overrides:
getLongValue in class AbstractProperty
+
+
+
See Also:
JMeterProperty.getLongValue()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/testelement/property/MapProperty.html b/docs/api/org/apache/jmeter/testelement/property/MapProperty.html new file mode 100644 index 00000000000..a5c28a25197 --- /dev/null +++ b/docs/api/org/apache/jmeter/testelement/property/MapProperty.html @@ -0,0 +1,659 @@ + + + + + +MapProperty (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.testelement.property +
+Class MapProperty

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.property.AbstractProperty
+      extended by org.apache.jmeter.testelement.property.MultiProperty
+          extended by org.apache.jmeter.testelement.property.MapProperty
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Comparable<JMeterProperty>, JMeterProperty
+
+
+
+
public class MapProperty
extends MultiProperty
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.testelement.property.AbstractProperty
log
+  + + + + + + + + + + + + + +
+Constructor Summary
MapProperty() + +
+           
MapProperty(String name, + Map<?,?> value) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddProperty(JMeterProperty prop) + +
+          Add a property to the collection.
+ voidaddProperty(String name, + JMeterProperty prop) + +
+           
+ voidclear() + +
+          Clear away all values in the property.
+ MapPropertyclone() + +
+          
+ booleanequals(Object o) + +
+          Determines if the two objects are equal by comparing names and values
+ JMeterPropertyget(String key) + +
+           
+ ObjectgetObjectValue() + +
+          
+protected  Class<? extends JMeterProperty>getPropertyType() + +
+          Figures out what kind of properties this collection is holding and + returns the class type.
+ StringgetStringValue() + +
+          
+ inthashCode() + +
+          
+ PropertyIteratoriterator() + +
+          Get the property iterator to iterate through the sub-values of this + JMeterProperty.
+ voidrecoverRunningVersion(TestElement owner) + +
+          Tell the property to revert to the state at the time + setRunningVersion(true) was called.
+ voidsetMap(Map<?,?> newMap) + +
+           
+ voidsetObjectValue(Object v) + +
+          
+ voidsetRunningVersion(boolean running) + +
+          Make the property a running version or turn it off as the running + version.
+ PropertyIteratorvalueIterator() + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.property.MultiProperty
mergeIn, recoverRunningVersionOfSubElements
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.property.AbstractProperty
compareTo, convertObject, createProperty, getBlankProperty, getBlankProperty, getBooleanValue, getDoubleValue, getFloatValue, getIntValue, getIterator, getLongValue, getName, isEqualType, isRunningVersion, makeProperty, normalizeList, normalizeMap, setName, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+MapProperty

+
+public MapProperty(String name,
+                   Map<?,?> value)
+
+
+
+ +

+MapProperty

+
+public MapProperty()
+
+
+ + + + + + + + +
+Method Detail
+ +

+equals

+
+public boolean equals(Object o)
+
+
Determines if the two objects are equal by comparing names and values +

+

+
Overrides:
equals in class AbstractProperty
+
+
+ +
Returns:
true if names are equal and values are equal (or both null)
+
+
+
+ +

+hashCode

+
+public int hashCode()
+
+
Description copied from class: AbstractProperty
+
+

+

+
Overrides:
hashCode in class AbstractProperty
+
+
+
+
+
+
+ +

+setObjectValue

+
+public void setObjectValue(Object v)
+
+
+

+

+
+
+
+
+ +

+addProperty

+
+public void addProperty(JMeterProperty prop)
+
+
Add a property to the collection. +

+

+
Specified by:
addProperty in class MultiProperty
+
+
+
Parameters:
prop - the JMeterProperty to add
+
+
+
+ +

+get

+
+public JMeterProperty get(String key)
+
+
+
+
+
+
+ +

+getPropertyType

+
+protected Class<? extends JMeterProperty> getPropertyType()
+
+
Figures out what kind of properties this collection is holding and + returns the class type. +

+

+
Overrides:
getPropertyType in class AbstractProperty
+
+
+ +
Returns:
property type of this property
See Also:
AbstractProperty.getPropertyType()
+
+
+
+ +

+getStringValue

+
+public String getStringValue()
+
+
+

+

+
+
+
+
+ +

+getObjectValue

+
+public Object getObjectValue()
+
+
+

+

+
+
+
+
+ +

+clone

+
+public MapProperty clone()
+
+
+

+

+
Specified by:
clone in interface JMeterProperty
Overrides:
clone in class AbstractProperty
+
+
+
+
+
+
+ +

+valueIterator

+
+public PropertyIterator valueIterator()
+
+
+
+
+
+
+ +

+addProperty

+
+public void addProperty(String name,
+                        JMeterProperty prop)
+
+
+
+
+
+
+ +

+setMap

+
+public void setMap(Map<?,?> newMap)
+
+
+
+
+
+
+ +

+recoverRunningVersion

+
+public void recoverRunningVersion(TestElement owner)
+
+
Tell the property to revert to the state at the time + setRunningVersion(true) was called. +

+

+
Parameters:
owner - the owning element
+
+
+
+ +

+clear

+
+public void clear()
+
+
Clear away all values in the property. +

+

+
Specified by:
clear in class MultiProperty
+
+
+
+
+
+
+ +

+iterator

+
+public PropertyIterator iterator()
+
+
Get the property iterator to iterate through the sub-values of this + JMeterProperty. +

+

+
Specified by:
iterator in class MultiProperty
+
+
+ +
Returns:
an iterator for the sub-values of this property
+
+
+
+ +

+setRunningVersion

+
+public void setRunningVersion(boolean running)
+
+
Make the property a running version or turn it off as the running + version. A property that is made a running version will preserve the + current state in such a way that it is retrievable by a future call to + 'recoverRunningVersion()'. Additionally, a property that is a running + version will resolve all functions prior to returning it's property + value. A non-running version property will return functions as their + uncompiled string representation. +

+

+
Specified by:
setRunningVersion in interface JMeterProperty
Overrides:
setRunningVersion in class MultiProperty
+
+
+
Parameters:
running - flag whether this property is a running version
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/testelement/property/MultiProperty.html b/docs/api/org/apache/jmeter/testelement/property/MultiProperty.html new file mode 100644 index 00000000000..b5b3a5a85ee --- /dev/null +++ b/docs/api/org/apache/jmeter/testelement/property/MultiProperty.html @@ -0,0 +1,441 @@ + + + + + +MultiProperty (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.testelement.property +
+Class MultiProperty

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.property.AbstractProperty
+      extended by org.apache.jmeter.testelement.property.MultiProperty
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Comparable<JMeterProperty>, JMeterProperty
+
+
+
Direct Known Subclasses:
CollectionProperty, MapProperty, TestElementProperty
+
+
+
+
public abstract class MultiProperty
extends AbstractProperty
+ + +

+For JMeterProperties that hold multiple properties within, provides a simple + interface for retrieving a property iterator for the sub values. +

+ +

+

+
Version:
+
$Revision: 1647786 $
+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.testelement.property.AbstractProperty
log
+  + + + + + + + + + + + + + +
+Constructor Summary
MultiProperty() + +
+           
MultiProperty(String name) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+abstract  voidaddProperty(JMeterProperty prop) + +
+          Add a property to the collection.
+abstract  voidclear() + +
+          Clear away all values in the property.
+abstract  PropertyIteratoriterator() + +
+          Get the property iterator to iterate through the sub-values of this + JMeterProperty.
+ voidmergeIn(JMeterProperty prop) + +
+          Take the given property object and merge it's value with the current + property object.
+protected  voidrecoverRunningVersionOfSubElements(TestElement owner) + +
+           
+ voidsetRunningVersion(boolean running) + +
+          Make the property a running version or turn it off as the running + version.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.property.AbstractProperty
clone, compareTo, convertObject, createProperty, equals, getBlankProperty, getBlankProperty, getBooleanValue, getDoubleValue, getFloatValue, getIntValue, getIterator, getLongValue, getName, getPropertyType, hashCode, isEqualType, isRunningVersion, makeProperty, normalizeList, normalizeMap, setName, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.testelement.property.JMeterProperty
getObjectValue, getStringValue, recoverRunningVersion, setObjectValue
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+MultiProperty

+
+public MultiProperty()
+
+
+
+ +

+MultiProperty

+
+public MultiProperty(String name)
+
+
+ + + + + + + + +
+Method Detail
+ +

+iterator

+
+public abstract PropertyIterator iterator()
+
+
Get the property iterator to iterate through the sub-values of this + JMeterProperty. +

+

+ +
Returns:
an iterator for the sub-values of this property
+
+
+
+ +

+addProperty

+
+public abstract void addProperty(JMeterProperty prop)
+
+
Add a property to the collection. +

+

+
Parameters:
prop - the JMeterProperty to add
+
+
+
+ +

+clear

+
+public abstract void clear()
+
+
Clear away all values in the property. +

+

+
+
+
+
+ +

+setRunningVersion

+
+public void setRunningVersion(boolean running)
+
+
Description copied from class: AbstractProperty
+
Make the property a running version or turn it off as the running + version. A property that is made a running version will preserve the + current state in such a way that it is retrievable by a future call to + 'recoverRunningVersion()'. Additionally, a property that is a running + version will resolve all functions prior to returning it's property + value. A non-running version property will return functions as their + uncompiled string representation. +

+

+
Specified by:
setRunningVersion in interface JMeterProperty
Overrides:
setRunningVersion in class AbstractProperty
+
+
+
Parameters:
running - flag whether this property is a running version
+
+
+
+ +

+recoverRunningVersionOfSubElements

+
+protected void recoverRunningVersionOfSubElements(TestElement owner)
+
+
+
+
+
+
+ +

+mergeIn

+
+public void mergeIn(JMeterProperty prop)
+
+
Description copied from class: AbstractProperty
+
Take the given property object and merge it's value with the current + property object. For most property types, this will simply be ignored. + But for collection properties and test element properties, more complex + behavior is required. +

+

+
Specified by:
mergeIn in interface JMeterProperty
Overrides:
mergeIn in class AbstractProperty
+
+
+
Parameters:
prop - the property object to merge into this property
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/testelement/property/NullProperty.html b/docs/api/org/apache/jmeter/testelement/property/NullProperty.html new file mode 100644 index 00000000000..87dd98fad93 --- /dev/null +++ b/docs/api/org/apache/jmeter/testelement/property/NullProperty.html @@ -0,0 +1,566 @@ + + + + + +NullProperty (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.testelement.property +
+Class NullProperty

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.property.AbstractProperty
+      extended by org.apache.jmeter.testelement.property.NullProperty
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Comparable<JMeterProperty>, JMeterProperty
+
+
+
+
public final class NullProperty
extends AbstractProperty
+ + +

+A null property. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.testelement.property.AbstractProperty
log
+  + + + + + + + + + + + + + +
+Constructor Summary
NullProperty() + +
+           
NullProperty(String name) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ NullPropertyclone() + +
+          
+ booleangetBooleanValue() + +
+          Returns false if string is invalid or null.
+ doublegetDoubleValue() + +
+          Returns 0 if string is invalid or null.
+ floatgetFloatValue() + +
+          Returns 0 if string is invalid or null.
+ intgetIntValue() + +
+          Returns 0 if string is invalid or null.
+ longgetLongValue() + +
+          Returns 0 if string is invalid or null.
+ ObjectgetObjectValue() + +
+           
+ StringgetStringValue() + +
+           
+ booleanisRunningVersion() + +
+          Returns whether the property is a running version.
+ voidmergeIn(JMeterProperty prop) + +
+          Take the given property object and merge it's value with the current + property object.
+ voidrecoverRunningVersion(TestElement owner) + +
+          Tell the property to revert to the state at the time + setRunningVersion(true) was called.
+ voidsetObjectValue(Object v) + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.property.AbstractProperty
compareTo, convertObject, createProperty, equals, getBlankProperty, getBlankProperty, getIterator, getName, getPropertyType, hashCode, isEqualType, makeProperty, normalizeList, normalizeMap, setName, setRunningVersion, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+NullProperty

+
+public NullProperty(String name)
+
+
+
+ +

+NullProperty

+
+public NullProperty()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getStringValue

+
+public String getStringValue()
+
+
+
See Also:
JMeterProperty.getStringValue()
+
+
+
+ +

+setObjectValue

+
+public void setObjectValue(Object v)
+
+
+
+
+
+
+ +

+getObjectValue

+
+public Object getObjectValue()
+
+
+
See Also:
JMeterProperty.getObjectValue()
+
+
+
+ +

+isRunningVersion

+
+public boolean isRunningVersion()
+
+
Description copied from class: AbstractProperty
+
Returns whether the property is a running version. +

+

+
Specified by:
isRunningVersion in interface JMeterProperty
Overrides:
isRunningVersion in class AbstractProperty
+
+
+ +
Returns:
flag whether this property is a running version
See Also:
JMeterProperty.isRunningVersion()
+
+
+
+ +

+mergeIn

+
+public void mergeIn(JMeterProperty prop)
+
+
Description copied from class: AbstractProperty
+
Take the given property object and merge it's value with the current + property object. For most property types, this will simply be ignored. + But for collection properties and test element properties, more complex + behavior is required. +

+

+
Specified by:
mergeIn in interface JMeterProperty
Overrides:
mergeIn in class AbstractProperty
+
+
+
Parameters:
prop - the property object to merge into this property
See Also:
JMeterProperty.mergeIn(JMeterProperty)
+
+
+
+ +

+clone

+
+public NullProperty clone()
+
+
Description copied from class: AbstractProperty
+
+

+

+
Specified by:
clone in interface JMeterProperty
Overrides:
clone in class AbstractProperty
+
+
+
+
+
+
+ +

+getBooleanValue

+
+public boolean getBooleanValue()
+
+
Description copied from class: AbstractProperty
+
Returns false if string is invalid or null. +

+

+
Specified by:
getBooleanValue in interface JMeterProperty
Overrides:
getBooleanValue in class AbstractProperty
+
+
+
See Also:
JMeterProperty.getBooleanValue()
+
+
+
+ +

+getDoubleValue

+
+public double getDoubleValue()
+
+
Description copied from class: AbstractProperty
+
Returns 0 if string is invalid or null. +

+

+
Specified by:
getDoubleValue in interface JMeterProperty
Overrides:
getDoubleValue in class AbstractProperty
+
+
+
See Also:
JMeterProperty.getDoubleValue()
+
+
+
+ +

+getFloatValue

+
+public float getFloatValue()
+
+
Description copied from class: AbstractProperty
+
Returns 0 if string is invalid or null. +

+

+
Specified by:
getFloatValue in interface JMeterProperty
Overrides:
getFloatValue in class AbstractProperty
+
+
+
See Also:
JMeterProperty.getFloatValue()
+
+
+
+ +

+getIntValue

+
+public int getIntValue()
+
+
Description copied from class: AbstractProperty
+
Returns 0 if string is invalid or null. +

+

+
Specified by:
getIntValue in interface JMeterProperty
Overrides:
getIntValue in class AbstractProperty
+
+
+
See Also:
JMeterProperty.getIntValue()
+
+
+
+ +

+getLongValue

+
+public long getLongValue()
+
+
Description copied from class: AbstractProperty
+
Returns 0 if string is invalid or null. +

+

+
Specified by:
getLongValue in interface JMeterProperty
Overrides:
getLongValue in class AbstractProperty
+
+
+
See Also:
JMeterProperty.getLongValue()
+
+
+
+ +

+recoverRunningVersion

+
+public void recoverRunningVersion(TestElement owner)
+
+
Description copied from interface: JMeterProperty
+
Tell the property to revert to the state at the time + setRunningVersion(true) was called. +

+

+
Parameters:
owner - the owning element
See Also:
JMeterProperty.recoverRunningVersion(TestElement)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/testelement/property/NumberProperty.html b/docs/api/org/apache/jmeter/testelement/property/NumberProperty.html new file mode 100644 index 00000000000..1eeb7d9c83b --- /dev/null +++ b/docs/api/org/apache/jmeter/testelement/property/NumberProperty.html @@ -0,0 +1,379 @@ + + + + + +NumberProperty (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.testelement.property +
+Class NumberProperty

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.property.AbstractProperty
+      extended by org.apache.jmeter.testelement.property.NumberProperty
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Comparable<JMeterProperty>, JMeterProperty
+
+
+
Direct Known Subclasses:
DoubleProperty, FloatProperty, IntegerProperty, LongProperty
+
+
+
+
public abstract class NumberProperty
extends AbstractProperty
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.testelement.property.AbstractProperty
log
+  + + + + + + + + + + + + + +
+Constructor Summary
NumberProperty() + +
+           
NumberProperty(String name) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ intcompareTo(JMeterProperty arg0) + +
+          Compares two JMeterProperty object values.
+protected abstract  voidsetNumberValue(Number n) + +
+          Set the value of the property with a Number object.
+protected abstract  voidsetNumberValue(String n) + +
+          Set the value of the property with a String object.
+ voidsetObjectValue(Object v) + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.property.AbstractProperty
clone, convertObject, createProperty, equals, getBlankProperty, getBlankProperty, getBooleanValue, getDoubleValue, getFloatValue, getIntValue, getIterator, getLongValue, getName, getPropertyType, hashCode, isEqualType, isRunningVersion, makeProperty, mergeIn, normalizeList, normalizeMap, setName, setRunningVersion, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.testelement.property.JMeterProperty
getObjectValue, getStringValue, recoverRunningVersion
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+NumberProperty

+
+public NumberProperty()
+
+
+
+ +

+NumberProperty

+
+public NumberProperty(String name)
+
+
+ + + + + + + + +
+Method Detail
+ +

+setNumberValue

+
+protected abstract void setNumberValue(Number n)
+
+
Set the value of the property with a Number object. +

+

+
Parameters:
n - the value to set
+
+
+
+ +

+setNumberValue

+
+protected abstract void setNumberValue(String n)
+                                throws NumberFormatException
+
+
Set the value of the property with a String object. +

+

+
Parameters:
n - the number to set as a string representation +
Throws: +
NumberFormatException - if the number n can not be converted to a + Number
+
+
+
+ +

+setObjectValue

+
+public void setObjectValue(Object v)
+
+
+
+
+
+
+ +

+compareTo

+
+public int compareTo(JMeterProperty arg0)
+
+
Description copied from class: AbstractProperty
+
Compares two JMeterProperty object values. N.B. Does not compare names +

+

+
Specified by:
compareTo in interface Comparable<JMeterProperty>
Overrides:
compareTo in class AbstractProperty
+
+
+
Parameters:
arg0 - JMeterProperty to compare against +
Returns:
0 if equal values or both values null; -1 otherwise
See Also:
Comparable.compareTo(Object)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/testelement/property/ObjectProperty.html b/docs/api/org/apache/jmeter/testelement/property/ObjectProperty.html new file mode 100644 index 00000000000..4a0a657c920 --- /dev/null +++ b/docs/api/org/apache/jmeter/testelement/property/ObjectProperty.html @@ -0,0 +1,448 @@ + + + + + +ObjectProperty (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.testelement.property +
+Class ObjectProperty

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.property.AbstractProperty
+      extended by org.apache.jmeter.testelement.property.ObjectProperty
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Comparable<JMeterProperty>, JMeterProperty
+
+
+
+
public class ObjectProperty
extends AbstractProperty
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.testelement.property.AbstractProperty
log
+  + + + + + + + + + + + + + + + + +
+Constructor Summary
ObjectProperty() + +
+          Default constructor.
ObjectProperty(String name) + +
+          Constructs an instance with name as its name and a + null value.
ObjectProperty(String name, + Object p) + +
+          Constructs an instance with name as its name and the giveN + value.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ ObjectPropertyclone() + +
+          
+ ObjectgetObjectValue() + +
+          
+ StringgetStringValue() + +
+          
+ voidrecoverRunningVersion(TestElement owner) + +
+          Tell the property to revert to the state at the time + setRunningVersion(true) was called.
+ voidsetObjectValue(Object value) + +
+          
+ voidsetRunningVersion(boolean runningVersion) + +
+          Make the property a running version or turn it off as the running + version.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.property.AbstractProperty
compareTo, convertObject, createProperty, equals, getBlankProperty, getBlankProperty, getBooleanValue, getDoubleValue, getFloatValue, getIntValue, getIterator, getLongValue, getName, getPropertyType, hashCode, isEqualType, isRunningVersion, makeProperty, mergeIn, normalizeList, normalizeMap, setName, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ObjectProperty

+
+public ObjectProperty()
+
+
Default constructor. Constructs an ObjectProperty with no name + and a null value +

+

+
+ +

+ObjectProperty

+
+public ObjectProperty(String name)
+
+
Constructs an instance with name as its name and a + null value. +

+

+
Parameters:
name - the name of this property
+
+
+ +

+ObjectProperty

+
+public ObjectProperty(String name,
+                      Object p)
+
+
Constructs an instance with name as its name and the giveN + value. +

+

+
Parameters:
name - the name of this property
p - the value for this property
+
+ + + + + + + + +
+Method Detail
+ +

+recoverRunningVersion

+
+public void recoverRunningVersion(TestElement owner)
+
+
Tell the property to revert to the state at the time + setRunningVersion(true) was called. +

+

+
Parameters:
owner - the owning element
+
+
+
+ +

+setRunningVersion

+
+public void setRunningVersion(boolean runningVersion)
+
+
Make the property a running version or turn it off as the running + version. A property that is made a running version will preserve the + current state in such a way that it is retrievable by a future call to + 'recoverRunningVersion()'. Additionally, a property that is a running + version will resolve all functions prior to returning it's property + value. A non-running version property will return functions as their + uncompiled string representation. +

+

+
Specified by:
setRunningVersion in interface JMeterProperty
Overrides:
setRunningVersion in class AbstractProperty
+
+
+
Parameters:
runningVersion - flag whether this property is a running version
+
+
+
+ +

+clone

+
+public ObjectProperty clone()
+
+
+

+

+
Specified by:
clone in interface JMeterProperty
Overrides:
clone in class AbstractProperty
+
+
+
+
+
+
+ +

+getStringValue

+
+public String getStringValue()
+
+
+

+

+
+
+
+
+ +

+getObjectValue

+
+public Object getObjectValue()
+
+
+

+

+
+
+
+
+ +

+setObjectValue

+
+public void setObjectValue(Object value)
+
+
+

+

+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/testelement/property/PropertyIterator.html b/docs/api/org/apache/jmeter/testelement/property/PropertyIterator.html new file mode 100644 index 00000000000..e9ad0304da2 --- /dev/null +++ b/docs/api/org/apache/jmeter/testelement/property/PropertyIterator.html @@ -0,0 +1,243 @@ + + + + + +PropertyIterator (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.testelement.property +
+Interface PropertyIterator

+
+
All Known Implementing Classes:
PropertyIteratorImpl
+
+
+
+
public interface PropertyIterator
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleanhasNext() + +
+           
+ JMeterPropertynext() + +
+           
+ voidremove() + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+hasNext

+
+boolean hasNext()
+
+
+
+
+
+
+ +

+next

+
+JMeterProperty next()
+
+
+
+
+
+
+ +

+remove

+
+void remove()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/testelement/property/PropertyIteratorImpl.html b/docs/api/org/apache/jmeter/testelement/property/PropertyIteratorImpl.html new file mode 100644 index 00000000000..363c6399098 --- /dev/null +++ b/docs/api/org/apache/jmeter/testelement/property/PropertyIteratorImpl.html @@ -0,0 +1,304 @@ + + + + + +PropertyIteratorImpl (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.testelement.property +
+Class PropertyIteratorImpl

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.property.PropertyIteratorImpl
+
+
+
All Implemented Interfaces:
PropertyIterator
+
+
+
+
public class PropertyIteratorImpl
extends Object
implements PropertyIterator
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
PropertyIteratorImpl(Collection<JMeterProperty> value) + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleanhasNext() + +
+          
+ JMeterPropertynext() + +
+          
+ voidremove() + +
+          
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+PropertyIteratorImpl

+
+public PropertyIteratorImpl(Collection<JMeterProperty> value)
+
+
+ + + + + + + + +
+Method Detail
+ +

+hasNext

+
+public boolean hasNext()
+
+
+

+

+
Specified by:
hasNext in interface PropertyIterator
+
+
+
+
+
+
+ +

+next

+
+public JMeterProperty next()
+
+
+

+

+
Specified by:
next in interface PropertyIterator
+
+
+
+
+
+
+ +

+remove

+
+public void remove()
+
+
+

+

+
Specified by:
remove in interface PropertyIterator
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/testelement/property/StringProperty.html b/docs/api/org/apache/jmeter/testelement/property/StringProperty.html new file mode 100644 index 00000000000..319c32ee845 --- /dev/null +++ b/docs/api/org/apache/jmeter/testelement/property/StringProperty.html @@ -0,0 +1,439 @@ + + + + + +StringProperty (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.testelement.property +
+Class StringProperty

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.property.AbstractProperty
+      extended by org.apache.jmeter.testelement.property.StringProperty
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Comparable<JMeterProperty>, JMeterProperty
+
+
+
+
public class StringProperty
extends AbstractProperty
+ + +

+

+
Version:
+
$Revision: 1413956 $
+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.testelement.property.AbstractProperty
log
+  + + + + + + + + + + + + + +
+Constructor Summary
StringProperty() + +
+           
StringProperty(String name, + String value) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringPropertyclone() + +
+          
+ ObjectgetObjectValue() + +
+           
+ StringgetStringValue() + +
+           
+ voidrecoverRunningVersion(TestElement owner) + +
+          Tell the property to revert to the state at the time + setRunningVersion(true) was called.
+ voidsetObjectValue(Object v) + +
+          
+ voidsetRunningVersion(boolean runningVersion) + +
+          Make the property a running version or turn it off as the running + version.
+ voidsetValue(String value) + +
+          Sets the value.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.property.AbstractProperty
compareTo, convertObject, createProperty, equals, getBlankProperty, getBlankProperty, getBooleanValue, getDoubleValue, getFloatValue, getIntValue, getIterator, getLongValue, getName, getPropertyType, hashCode, isEqualType, isRunningVersion, makeProperty, mergeIn, normalizeList, normalizeMap, setName, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+StringProperty

+
+public StringProperty(String name,
+                      String value)
+
+
+
+ +

+StringProperty

+
+public StringProperty()
+
+
+ + + + + + + + +
+Method Detail
+ +

+setRunningVersion

+
+public void setRunningVersion(boolean runningVersion)
+
+
Description copied from class: AbstractProperty
+
Make the property a running version or turn it off as the running + version. A property that is made a running version will preserve the + current state in such a way that it is retrievable by a future call to + 'recoverRunningVersion()'. Additionally, a property that is a running + version will resolve all functions prior to returning it's property + value. A non-running version property will return functions as their + uncompiled string representation. +

+

+
Specified by:
setRunningVersion in interface JMeterProperty
Overrides:
setRunningVersion in class AbstractProperty
+
+
+
Parameters:
runningVersion - flag whether this property is a running version
See Also:
JMeterProperty.setRunningVersion(boolean)
+
+
+
+ +

+setObjectValue

+
+public void setObjectValue(Object v)
+
+
+

+

+
+
+
+
+ +

+getStringValue

+
+public String getStringValue()
+
+
+
See Also:
JMeterProperty.getStringValue()
+
+
+
+ +

+getObjectValue

+
+public Object getObjectValue()
+
+
+
See Also:
JMeterProperty.getObjectValue()
+
+
+
+ +

+clone

+
+public StringProperty clone()
+
+
+

+

+
Specified by:
clone in interface JMeterProperty
Overrides:
clone in class AbstractProperty
+
+
+
+
+
+
+ +

+setValue

+
+public void setValue(String value)
+
+
Sets the value. +

+

+
Parameters:
value - The value to set
+
+
+
+ +

+recoverRunningVersion

+
+public void recoverRunningVersion(TestElement owner)
+
+
Tell the property to revert to the state at the time + setRunningVersion(true) was called. +

+

+
Parameters:
owner - the owning element
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/testelement/property/TestElementProperty.html b/docs/api/org/apache/jmeter/testelement/property/TestElementProperty.html new file mode 100644 index 00000000000..d00af7fd038 --- /dev/null +++ b/docs/api/org/apache/jmeter/testelement/property/TestElementProperty.html @@ -0,0 +1,621 @@ + + + + + +TestElementProperty (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.testelement.property +
+Class TestElementProperty

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.property.AbstractProperty
+      extended by org.apache.jmeter.testelement.property.MultiProperty
+          extended by org.apache.jmeter.testelement.property.TestElementProperty
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Comparable<JMeterProperty>, JMeterProperty
+
+
+
+
public class TestElementProperty
extends MultiProperty
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.testelement.property.AbstractProperty
log
+  + + + + + + + + + + + + + +
+Constructor Summary
TestElementProperty() + +
+           
TestElementProperty(String name, + TestElement value) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddProperty(JMeterProperty prop) + +
+          Add a property to the collection.
+ voidclear() + +
+          Clear away all values in the property.
+ TestElementPropertyclone() + +
+          
+ booleanequals(Object o) + +
+          Determines if two test elements are equal.
+ TestElementgetElement() + +
+           
+ ObjectgetObjectValue() + +
+          
+ StringgetStringValue() + +
+          
+ inthashCode() + +
+          
+ PropertyIteratoriterator() + +
+          Get the property iterator to iterate through the sub-values of this + JMeterProperty.
+ voidmergeIn(JMeterProperty prop) + +
+          Take the given property object and merge it's value with the current + property object.
+ voidrecoverRunningVersion(TestElement owner) + +
+          Tell the property to revert to the state at the time + setRunningVersion(true) was called.
+ voidsetElement(TestElement el) + +
+           
+ voidsetObjectValue(Object v) + +
+          
+ voidsetRunningVersion(boolean runningVersion) + +
+          Make the property a running version or turn it off as the running + version.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.property.MultiProperty
recoverRunningVersionOfSubElements
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.property.AbstractProperty
compareTo, convertObject, createProperty, getBlankProperty, getBlankProperty, getBooleanValue, getDoubleValue, getFloatValue, getIntValue, getIterator, getLongValue, getName, getPropertyType, isEqualType, isRunningVersion, makeProperty, normalizeList, normalizeMap, setName, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+TestElementProperty

+
+public TestElementProperty(String name,
+                           TestElement value)
+
+
+
+ +

+TestElementProperty

+
+public TestElementProperty()
+
+
+ + + + + + + + +
+Method Detail
+ +

+equals

+
+public boolean equals(Object o)
+
+
Determines if two test elements are equal. +

+

+
Overrides:
equals in class AbstractProperty
+
+
+ +
Returns:
true if the value is not null and equals the other Objects value; + false otherwise (even if both values are null)
+
+
+
+ +

+hashCode

+
+public int hashCode()
+
+
Description copied from class: AbstractProperty
+
+

+

+
Overrides:
hashCode in class AbstractProperty
+
+
+
+
+
+
+ +

+getStringValue

+
+public String getStringValue()
+
+
+

+

+
+
+
+
+ +

+setObjectValue

+
+public void setObjectValue(Object v)
+
+
+

+

+
+
+
+
+ +

+getObjectValue

+
+public Object getObjectValue()
+
+
+

+

+
+
+
+
+ +

+getElement

+
+public TestElement getElement()
+
+
+
+
+
+
+ +

+setElement

+
+public void setElement(TestElement el)
+
+
+
+
+
+
+ +

+clone

+
+public TestElementProperty clone()
+
+
+

+

+
Specified by:
clone in interface JMeterProperty
Overrides:
clone in class AbstractProperty
+
+
+
+
+
+
+ +

+mergeIn

+
+public void mergeIn(JMeterProperty prop)
+
+
Take the given property object and merge it's value with the current + property object. For most property types, this will simply be ignored. + But for collection properties and test element properties, more complex + behavior is required. +

+

+
Specified by:
mergeIn in interface JMeterProperty
Overrides:
mergeIn in class MultiProperty
+
+
+
Parameters:
prop - the property object to merge into this property
+
+
+
+ +

+recoverRunningVersion

+
+public void recoverRunningVersion(TestElement owner)
+
+
Tell the property to revert to the state at the time + setRunningVersion(true) was called. +

+

+
Parameters:
owner - the owning element
+
+
+
+ +

+setRunningVersion

+
+public void setRunningVersion(boolean runningVersion)
+
+
Make the property a running version or turn it off as the running + version. A property that is made a running version will preserve the + current state in such a way that it is retrievable by a future call to + 'recoverRunningVersion()'. Additionally, a property that is a running + version will resolve all functions prior to returning it's property + value. A non-running version property will return functions as their + uncompiled string representation. +

+

+
Specified by:
setRunningVersion in interface JMeterProperty
Overrides:
setRunningVersion in class MultiProperty
+
+
+
Parameters:
runningVersion - flag whether this property is a running version
+
+
+
+ +

+addProperty

+
+public void addProperty(JMeterProperty prop)
+
+
Add a property to the collection. +

+

+
Specified by:
addProperty in class MultiProperty
+
+
+
Parameters:
prop - the JMeterProperty to add
+
+
+
+ +

+clear

+
+public void clear()
+
+
Clear away all values in the property. +

+

+
Specified by:
clear in class MultiProperty
+
+
+
+
+
+
+ +

+iterator

+
+public PropertyIterator iterator()
+
+
Get the property iterator to iterate through the sub-values of this + JMeterProperty. +

+

+
Specified by:
iterator in class MultiProperty
+
+
+ +
Returns:
an iterator for the sub-values of this property
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/testelement/property/package-frame.html b/docs/api/org/apache/jmeter/testelement/property/package-frame.html new file mode 100644 index 00000000000..2d25f1da8cf --- /dev/null +++ b/docs/api/org/apache/jmeter/testelement/property/package-frame.html @@ -0,0 +1,73 @@ + + + + + +org.apache.jmeter.testelement.property (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.testelement.property + + + + +
+Interfaces  + +
+JMeterProperty +
+PropertyIterator
+ + + + + + +
+Classes  + +
+AbstractProperty +
+BooleanProperty +
+CollectionProperty +
+DoubleProperty +
+FloatProperty +
+FunctionProperty +
+IntegerProperty +
+LongProperty +
+MapProperty +
+MultiProperty +
+NullProperty +
+NumberProperty +
+ObjectProperty +
+PropertyIteratorImpl +
+StringProperty +
+TestElementProperty
+ + + + diff --git a/docs/api/org/apache/jmeter/testelement/property/package-summary.html b/docs/api/org/apache/jmeter/testelement/property/package-summary.html new file mode 100644 index 00000000000..d9017dd1716 --- /dev/null +++ b/docs/api/org/apache/jmeter/testelement/property/package-summary.html @@ -0,0 +1,232 @@ + + + + + +org.apache.jmeter.testelement.property (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.testelement.property +

+ + + + + + + + + + + + + +
+Interface Summary
JMeterProperty 
PropertyIterator 
+  + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
AbstractProperty 
BooleanProperty 
CollectionProperty 
DoubleProperty 
FloatProperty 
FunctionPropertyClass that implements the Function property
IntegerProperty 
LongProperty 
MapProperty 
MultiPropertyFor JMeterProperties that hold multiple properties within, provides a simple + interface for retrieving a property iterator for the sub values.
NullPropertyA null property.
NumberProperty 
ObjectProperty 
PropertyIteratorImpl 
StringProperty 
TestElementProperty 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/testelement/property/package-tree.html b/docs/api/org/apache/jmeter/testelement/property/package-tree.html new file mode 100644 index 00000000000..31863e6b21a --- /dev/null +++ b/docs/api/org/apache/jmeter/testelement/property/package-tree.html @@ -0,0 +1,171 @@ + + + + + +org.apache.jmeter.testelement.property Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.testelement.property +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/threads/AbstractThreadGroup.html b/docs/api/org/apache/jmeter/threads/AbstractThreadGroup.html new file mode 100644 index 00000000000..aac95b1d034 --- /dev/null +++ b/docs/api/org/apache/jmeter/threads/AbstractThreadGroup.html @@ -0,0 +1,1069 @@ + + + + + +AbstractThreadGroup (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.threads +
+Class AbstractThreadGroup

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.threads.AbstractThreadGroup
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Controller, Searchable, TestElement, JMeterThreadMonitor, TestCompilerHelper
+
+
+
Direct Known Subclasses:
ThreadGroup
+
+
+
+
public abstract class AbstractThreadGroup
extends AbstractTestElement
implements Serializable, Controller, JMeterThreadMonitor, TestCompilerHelper
+ + +

+ThreadGroup holds the settings for a JMeter thread group. + + This class is intended to be ThreadSafe. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static StringMAIN_CONTROLLER + +
+           
+static StringNUM_THREADS + +
+          Number of threads in the thread group
+static StringON_SAMPLE_ERROR + +
+          Action to be taken when a Sampler error occurs
+static StringON_SAMPLE_ERROR_CONTINUE + +
+          Continue, i.e. ignore sampler errors
+static StringON_SAMPLE_ERROR_START_NEXT_LOOP + +
+          Start next loop for current thread if sampler error occurs
+static StringON_SAMPLE_ERROR_STOPTEST + +
+          Stop test (all threads) if sampler error occurs, the entire test is stopped at the end of any current samples
+static StringON_SAMPLE_ERROR_STOPTEST_NOW + +
+          Stop test NOW (all threads) if sampler error occurs, the entire test is stopped abruptly.
+static StringON_SAMPLE_ERROR_STOPTHREAD + +
+          Stop current thread if sampler error occurs
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
AbstractThreadGroup() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddIterationListener(LoopIterationListener lis) + +
+          Controllers have to notify listeners of when they begin an iteration + through their sub-elements.
+ voidaddTestElement(TestElement child) + +
+          Add a test element.
+ booleanaddTestElementOnce(TestElement child) + +
+          Add child test element only if it has not already been added.
+ intgetNumberOfThreads() + +
+          Get the number of active threads
+ intgetNumThreads() + +
+          Get the number of threads.
+ booleangetOnErrorStartNextLoop() + +
+          Check if a sampler error should cause thread to start next loop.
+ booleangetOnErrorStopTest() + +
+          Check if a sampler error should cause test to stop.
+ booleangetOnErrorStopTestNow() + +
+          Check if a sampler error should cause test to stop now.
+ booleangetOnErrorStopThread() + +
+          Check if a sampler error should cause thread to stop.
+ ControllergetSamplerController() + +
+          Get the sampler controller.
+ voidinitialize() + +
+          Called to initialize a controller at the beginning of a test iteration.
+ booleanisDone() + +
+          Indicates whether the Controller is done delivering Samplers for the rest + of the test.
+ Samplernext() + +
+          Delivers the next Sampler or null
+abstract  intnumberOfActiveThreads() + +
+           
+ voidremoveIterationListener(LoopIterationListener iterationListener) + +
+          Unregister IterationListener
+ voidsetNumThreads(int numThreads) + +
+          Set the total number of threads to start
+ voidsetSamplerController(LoopController c) + +
+          Set the sampler controller.
+abstract  voidstart(int groupCount, + ListenerNotifier notifier, + ListedHashTree threadGroupTree, + StandardJMeterEngine engine) + +
+           
+ voidstartNextLoop() + +
+          Start next iteration after an error
+abstract  voidstop() + +
+           
+abstract  booleanstopThread(String threadName, + boolean now) + +
+           
+abstract  voidtellThreadsToStop() + +
+           
+ voidtriggerEndOfLoop() + +
+          NOOP
+abstract  booleanverifyThreadsStopped() + +
+           
+abstract  voidwaitThreadsStopped() + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.testelement.TestElement
canRemove, clear, clearTestElementChildren, clone, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.threads.JMeterThreadMonitor
threadFinished
+  +

+ + + + + + + + +
+Field Detail
+ +

+ON_SAMPLE_ERROR

+
+public static final String ON_SAMPLE_ERROR
+
+
Action to be taken when a Sampler error occurs +

+

+
See Also:
Constant Field Values
+
+
+ +

+ON_SAMPLE_ERROR_CONTINUE

+
+public static final String ON_SAMPLE_ERROR_CONTINUE
+
+
Continue, i.e. ignore sampler errors +

+

+
See Also:
Constant Field Values
+
+
+ +

+ON_SAMPLE_ERROR_START_NEXT_LOOP

+
+public static final String ON_SAMPLE_ERROR_START_NEXT_LOOP
+
+
Start next loop for current thread if sampler error occurs +

+

+
See Also:
Constant Field Values
+
+
+ +

+ON_SAMPLE_ERROR_STOPTHREAD

+
+public static final String ON_SAMPLE_ERROR_STOPTHREAD
+
+
Stop current thread if sampler error occurs +

+

+
See Also:
Constant Field Values
+
+
+ +

+ON_SAMPLE_ERROR_STOPTEST

+
+public static final String ON_SAMPLE_ERROR_STOPTEST
+
+
Stop test (all threads) if sampler error occurs, the entire test is stopped at the end of any current samples +

+

+
See Also:
Constant Field Values
+
+
+ +

+ON_SAMPLE_ERROR_STOPTEST_NOW

+
+public static final String ON_SAMPLE_ERROR_STOPTEST_NOW
+
+
Stop test NOW (all threads) if sampler error occurs, the entire test is stopped abruptly. Any current samplers are interrupted if possible. +

+

+
See Also:
Constant Field Values
+
+
+ +

+NUM_THREADS

+
+public static final String NUM_THREADS
+
+
Number of threads in the thread group +

+

+
See Also:
Constant Field Values
+
+
+ +

+MAIN_CONTROLLER

+
+public static final String MAIN_CONTROLLER
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+AbstractThreadGroup

+
+public AbstractThreadGroup()
+
+
+ + + + + + + + +
+Method Detail
+ +

+isDone

+
+public boolean isDone()
+
+
Indicates whether the Controller is done delivering Samplers for the rest + of the test. + + When the top-level controller returns true to JMeterThread, + the thread is complete. +

+

+
Specified by:
isDone in interface Controller
+
+
+ +
Returns:
boolean
+
+
+
+ +

+next

+
+public Sampler next()
+
+
Delivers the next Sampler or null +

+

+
Specified by:
next in interface Controller
+
+
+ +
Returns:
org.apache.jmeter.samplers.Sampler or null
+
+
+
+ +

+getSamplerController

+
+public Controller getSamplerController()
+
+
Get the sampler controller. +

+

+
+
+
+ +
Returns:
the sampler controller.
+
+
+
+ +

+setSamplerController

+
+public void setSamplerController(LoopController c)
+
+
Set the sampler controller. +

+

+
+
+
+
Parameters:
c - the sampler controller.
+
+
+
+ +

+addTestElement

+
+public void addTestElement(TestElement child)
+
+
Add a test element. +

+

+
Specified by:
addTestElement in interface TestElement
Overrides:
addTestElement in class AbstractTestElement
+
+
+
Parameters:
child - the test element to add.
+
+
+
+ +

+addTestElementOnce

+
+public final boolean addTestElementOnce(TestElement child)
+
+
Add child test element only if it has not already been added. +

+ Only for use by TestCompiler. +

+

+
Specified by:
addTestElementOnce in interface TestCompilerHelper
+
+
+
Parameters:
child - the TestElement to be added +
Returns:
true if the child was added
+
+
+
+ +

+addIterationListener

+
+public void addIterationListener(LoopIterationListener lis)
+
+
Controllers have to notify listeners of when they begin an iteration + through their sub-elements. +

+

+
Specified by:
addIterationListener in interface Controller
+
+
+
Parameters:
lis - The LoopIterationListener to add
+
+
+
+ +

+removeIterationListener

+
+public void removeIterationListener(LoopIterationListener iterationListener)
+
+
Unregister IterationListener +

+

+
Specified by:
removeIterationListener in interface Controller
+
+
+
Parameters:
iterationListener - LoopIterationListener
+
+
+
+ +

+initialize

+
+public void initialize()
+
+
Called to initialize a controller at the beginning of a test iteration. +

+

+
Specified by:
initialize in interface Controller
+
+
+
+
+
+
+ +

+startNextLoop

+
+public void startNextLoop()
+
+
Start next iteration after an error +

+

+
+
+
+
+
+
+
+ +

+triggerEndOfLoop

+
+public void triggerEndOfLoop()
+
+
NOOP +

+

+
Specified by:
triggerEndOfLoop in interface Controller
+
+
+
+
+
+
+ +

+setNumThreads

+
+public void setNumThreads(int numThreads)
+
+
Set the total number of threads to start +

+

+
+
+
+
Parameters:
numThreads - the number of threads.
+
+
+
+ +

+getNumberOfThreads

+
+public int getNumberOfThreads()
+
+
Get the number of active threads +

+

+
+
+
+ +
Returns:
the number of active threads
+
+
+
+ +

+getNumThreads

+
+public int getNumThreads()
+
+
Get the number of threads. +

+

+
+
+
+ +
Returns:
the number of threads.
+
+
+
+ +

+getOnErrorStartNextLoop

+
+public boolean getOnErrorStartNextLoop()
+
+
Check if a sampler error should cause thread to start next loop. +

+

+
+
+
+ +
Returns:
true if thread should start next loop
+
+
+
+ +

+getOnErrorStopThread

+
+public boolean getOnErrorStopThread()
+
+
Check if a sampler error should cause thread to stop. +

+

+
+
+
+ +
Returns:
true if thread should stop
+
+
+
+ +

+getOnErrorStopTest

+
+public boolean getOnErrorStopTest()
+
+
Check if a sampler error should cause test to stop. +

+

+
+
+
+ +
Returns:
true if test (all threads) should stop
+
+
+
+ +

+getOnErrorStopTestNow

+
+public boolean getOnErrorStopTestNow()
+
+
Check if a sampler error should cause test to stop now. +

+

+
+
+
+ +
Returns:
true if test (all threads) should stop immediately
+
+
+
+ +

+stopThread

+
+public abstract boolean stopThread(String threadName,
+                                   boolean now)
+
+
+
+
+
+
+
+
+
+ +

+numberOfActiveThreads

+
+public abstract int numberOfActiveThreads()
+
+
+
+
+
+
+
+
+
+ +

+start

+
+public abstract void start(int groupCount,
+                           ListenerNotifier notifier,
+                           ListedHashTree threadGroupTree,
+                           StandardJMeterEngine engine)
+
+
+
+
+
+
+
+
+
+ +

+verifyThreadsStopped

+
+public abstract boolean verifyThreadsStopped()
+
+
+
+
+
+
+
+
+
+ +

+waitThreadsStopped

+
+public abstract void waitThreadsStopped()
+
+
+
+
+
+
+
+
+
+ +

+tellThreadsToStop

+
+public abstract void tellThreadsToStop()
+
+
+
+
+
+
+
+
+
+ +

+stop

+
+public abstract void stop()
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/threads/FindTestElementsUpToRootTraverser.html b/docs/api/org/apache/jmeter/threads/FindTestElementsUpToRootTraverser.html new file mode 100644 index 00000000000..12e61dd51e0 --- /dev/null +++ b/docs/api/org/apache/jmeter/threads/FindTestElementsUpToRootTraverser.html @@ -0,0 +1,348 @@ + + + + + +FindTestElementsUpToRootTraverser (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.threads +
+Class FindTestElementsUpToRootTraverser

+
+java.lang.Object
+  extended by org.apache.jmeter.threads.FindTestElementsUpToRootTraverser
+
+
+
All Implemented Interfaces:
HashTreeTraverser
+
+
+
+
public class FindTestElementsUpToRootTraverser
extends Object
implements HashTreeTraverser
+ + +

+HashTreeTraverser implementation that stores in a Stack all + the Test Elements on the path to a particular node. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
FindTestElementsUpToRootTraverser(Object nodeToFind) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddNode(Object node, + HashTree subTree) + +
+          The tree traverses itself depth-first, calling addNode for each object it + encounters as it goes.
+ List<Controller>getControllersToRoot() + +
+          Returns all controllers that where in Tree down to nodeToFind in reverse order (from leaf to root)
+ voidprocessPath() + +
+          Process path is called when a leaf is reached.
+ voidsubtractNode() + +
+          Indicates traversal has moved up a step, and the visitor should remove + the top node from its stack structure.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+FindTestElementsUpToRootTraverser

+
+public FindTestElementsUpToRootTraverser(Object nodeToFind)
+
+
+
Parameters:
nodeToFind - Node to find
+
+ + + + + + + + +
+Method Detail
+ +

+addNode

+
+public void addNode(Object node,
+                    HashTree subTree)
+
+
The tree traverses itself depth-first, calling addNode for each object it + encounters as it goes. This is a callback method, and should not be + called except by a HashTree during traversal. +

+

+
Specified by:
addNode in interface HashTreeTraverser
+
+
+
Parameters:
node - the node currently encountered
subTree - the HashTree under the node encountered
+
+
+
+ +

+subtractNode

+
+public void subtractNode()
+
+
Indicates traversal has moved up a step, and the visitor should remove + the top node from its stack structure. This is a callback method, and + should not be called except by a HashTree during traversal. +

+

+
Specified by:
subtractNode in interface HashTreeTraverser
+
+
+
+
+
+
+ +

+processPath

+
+public void processPath()
+
+
Process path is called when a leaf is reached. If a visitor wishes to + generate Lists of path elements to each leaf, it should keep a Stack data + structure of nodes passed to it with addNode, and removing top items for + every HashTreeTraverser.subtractNode() call. This is a callback method, and should + not be called except by a HashTree during traversal. +

+

+
Specified by:
processPath in interface HashTreeTraverser
+
+
+
+
+
+
+ +

+getControllersToRoot

+
+public List<Controller> getControllersToRoot()
+
+
Returns all controllers that where in Tree down to nodeToFind in reverse order (from leaf to root) +

+

+
+
+
+ +
Returns:
List of Controller
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/threads/JMeterContext.html b/docs/api/org/apache/jmeter/threads/JMeterContext.html new file mode 100644 index 00000000000..a79544c9cd5 --- /dev/null +++ b/docs/api/org/apache/jmeter/threads/JMeterContext.html @@ -0,0 +1,642 @@ + + + + + +JMeterContext (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.threads +
+Class JMeterContext

+
+java.lang.Object
+  extended by org.apache.jmeter.threads.JMeterContext
+
+
+
+
public class JMeterContext
extends Object
+ + +

+Holds context for a thread. + Generated by JMeterContextService. + + The class is not thread-safe - it is only intended for use within a single thread. +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidcleanAfterSample() + +
+          Clean cached data after sample
+ voidclear() + +
+           
+ SamplergetCurrentSampler() + +
+           
+ StandardJMeterEnginegetEngine() + +
+           
+ SampleResultgetPreviousResult() + +
+           
+ SamplergetPreviousSampler() + +
+          Returns the previousSampler.
+ Map<String,Object>getSamplerContext() + +
+          Sampler context is cleaned up as soon as Post-Processor have ended
+ JMeterThreadgetThread() + +
+           
+ AbstractThreadGroupgetThreadGroup() + +
+           
+ intgetThreadNum() + +
+          Returns the threadNum.
+ JMeterVariablesgetVariables() + +
+          Gives access to the JMeter variables for the current thread.
+ booleanisRestartNextLoop() + +
+          a restart of the loop was required ?
+ booleanisSamplingStarted() + +
+           
+ voidsetCurrentSampler(Sampler sampler) + +
+           
+ voidsetEngine(StandardJMeterEngine engine) + +
+           
+ voidsetPreviousResult(SampleResult result) + +
+           
+ voidsetRestartNextLoop(boolean restartNextLoop) + +
+          if set to true a restart of the loop will occurs
+ voidsetSamplingStarted(boolean b) + +
+           
+ voidsetThread(JMeterThread thread) + +
+           
+ voidsetThreadGroup(AbstractThreadGroup threadgrp) + +
+           
+ voidsetThreadNum(int threadNum) + +
+          Sets the threadNum.
+ voidsetVariables(JMeterVariables vars) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+clear

+
+public void clear()
+
+
+
+
+
+
+ +

+getVariables

+
+public JMeterVariables getVariables()
+
+
Gives access to the JMeter variables for the current thread. +

+

+ +
Returns:
a pointer to the JMeter variables.
+
+
+
+ +

+setVariables

+
+public void setVariables(JMeterVariables vars)
+
+
+
+
+
+
+ +

+getPreviousResult

+
+public SampleResult getPreviousResult()
+
+
+
+
+
+
+ +

+setPreviousResult

+
+public void setPreviousResult(SampleResult result)
+
+
+
+
+
+
+ +

+getCurrentSampler

+
+public Sampler getCurrentSampler()
+
+
+
+
+
+
+ +

+setCurrentSampler

+
+public void setCurrentSampler(Sampler sampler)
+
+
+
+
+
+
+ +

+getPreviousSampler

+
+public Sampler getPreviousSampler()
+
+
Returns the previousSampler. +

+

+ +
Returns:
Sampler
+
+
+
+ +

+getThreadNum

+
+public int getThreadNum()
+
+
Returns the threadNum. +

+

+ +
Returns:
int
+
+
+
+ +

+setThreadNum

+
+public void setThreadNum(int threadNum)
+
+
Sets the threadNum. +

+

+
Parameters:
threadNum - the threadNum to set
+
+
+
+ +

+getThread

+
+public JMeterThread getThread()
+
+
+
+
+
+
+ +

+setThread

+
+public void setThread(JMeterThread thread)
+
+
+
+
+
+
+ +

+getThreadGroup

+
+public AbstractThreadGroup getThreadGroup()
+
+
+
+
+
+
+ +

+setThreadGroup

+
+public void setThreadGroup(AbstractThreadGroup threadgrp)
+
+
+
+
+
+
+ +

+getEngine

+
+public StandardJMeterEngine getEngine()
+
+
+
+
+
+
+ +

+setEngine

+
+public void setEngine(StandardJMeterEngine engine)
+
+
+
+
+
+
+ +

+isSamplingStarted

+
+public boolean isSamplingStarted()
+
+
+
+
+
+
+ +

+setSamplingStarted

+
+public void setSamplingStarted(boolean b)
+
+
+
+
+
+
+ +

+setRestartNextLoop

+
+public void setRestartNextLoop(boolean restartNextLoop)
+
+
if set to true a restart of the loop will occurs +

+

+
Parameters:
restartNextLoop - flag whether restart will occur
+
+
+
+ +

+isRestartNextLoop

+
+public boolean isRestartNextLoop()
+
+
a restart of the loop was required ? +

+

+ +
Returns:
the restartNextLoop
+
+
+
+ +

+cleanAfterSample

+
+public void cleanAfterSample()
+
+
Clean cached data after sample +

+

+
+
+
+
+ +

+getSamplerContext

+
+public Map<String,Object> getSamplerContext()
+
+
Sampler context is cleaned up as soon as Post-Processor have ended +

+

+ +
Returns:
Context to use within PostProcessors to cache data
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/threads/JMeterContextService.ThreadCounts.html b/docs/api/org/apache/jmeter/threads/JMeterContextService.ThreadCounts.html new file mode 100644 index 00000000000..a740e50a63a --- /dev/null +++ b/docs/api/org/apache/jmeter/threads/JMeterContextService.ThreadCounts.html @@ -0,0 +1,262 @@ + + + + + +JMeterContextService.ThreadCounts (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.threads +
+Class JMeterContextService.ThreadCounts

+
+java.lang.Object
+  extended by org.apache.jmeter.threads.JMeterContextService.ThreadCounts
+
+
+
Enclosing class:
JMeterContextService
+
+
+
+
public static class JMeterContextService.ThreadCounts
extends Object
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + +
+Field Summary
+ intactiveThreads + +
+           
+ intfinishedThreads + +
+           
+ intstartedThreads + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+activeThreads

+
+public final int activeThreads
+
+
+
+
+
+ +

+startedThreads

+
+public final int startedThreads
+
+
+
+
+
+ +

+finishedThreads

+
+public final int finishedThreads
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/threads/JMeterContextService.html b/docs/api/org/apache/jmeter/threads/JMeterContextService.html new file mode 100644 index 00000000000..da00e46cce9 --- /dev/null +++ b/docs/api/org/apache/jmeter/threads/JMeterContextService.html @@ -0,0 +1,432 @@ + + + + + +JMeterContextService (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.threads +
+Class JMeterContextService

+
+java.lang.Object
+  extended by org.apache.jmeter.threads.JMeterContextService
+
+
+
+
public final class JMeterContextService
extends Object
+ + +

+Provides context service for JMeter threads. + Keeps track of active and total thread counts. +

+ +

+


+ +

+ + + + + + + + + + + +
+Nested Class Summary
+static classJMeterContextService.ThreadCounts + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static voidaddTotalThreads(int thisGroup) + +
+          Update the total number of threads
+static voidclearTotalThreads() + +
+          Set total threads to zero; also clears started and finished counts
+static voidendTest() + +
+          Called by MainFrame#testEnded().
+static JMeterContextgetContext() + +
+          Gives access to the current thread context.
+static intgetNumberOfThreads() + +
+          Get the number of currently active threads
+static longgetTestStartTime() + +
+           
+static JMeterContextService.ThreadCountsgetThreadCounts() + +
+           
+static intgetTotalThreads() + +
+          Get the total number of threads (>= active)
+static voidreplaceContext(JMeterContext context) + +
+          Replace Thread Context by the parameter.
+static voidstartTest() + +
+          Method is called by the JMeterEngine class when a test run is started.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+getContext

+
+public static JMeterContext getContext()
+
+
Gives access to the current thread context. +

+

+ +
Returns:
the current thread Context
+
+
+
+ +

+replaceContext

+
+public static void replaceContext(JMeterContext context)
+
+
Replace Thread Context by the parameter. Currently only used by the + private class ASyncSample in + HTTPSamplerBase +

+

+
Parameters:
context - JMeterContext
+
+
+
+ +

+startTest

+
+public static void startTest()
+
+
Method is called by the JMeterEngine class when a test run is started. + Zeroes numberOfActiveThreads. + Saves current time in a field and in the JMeter property "TESTSTART.MS" +

+

+
+
+
+
+ +

+getNumberOfThreads

+
+public static int getNumberOfThreads()
+
+
Get the number of currently active threads +

+

+ +
Returns:
active thread count
+
+
+
+ +

+getThreadCounts

+
+public static JMeterContextService.ThreadCounts getThreadCounts()
+
+
+
+
+
+
+ +

+endTest

+
+public static void endTest()
+
+
Called by MainFrame#testEnded(). + Clears start time field. +

+

+
+
+
+
+ +

+getTestStartTime

+
+public static long getTestStartTime()
+
+
+
+
+
+
+ +

+getTotalThreads

+
+public static int getTotalThreads()
+
+
Get the total number of threads (>= active) +

+

+ +
Returns:
total thread count
+
+
+
+ +

+addTotalThreads

+
+public static void addTotalThreads(int thisGroup)
+
+
Update the total number of threads +

+

+
Parameters:
thisGroup - number of threads in this thread group
+
+
+
+ +

+clearTotalThreads

+
+public static void clearTotalThreads()
+
+
Set total threads to zero; also clears started and finished counts +

+

+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/threads/JMeterThread.html b/docs/api/org/apache/jmeter/threads/JMeterThread.html new file mode 100644 index 00000000000..268523a03e1 --- /dev/null +++ b/docs/api/org/apache/jmeter/threads/JMeterThread.html @@ -0,0 +1,797 @@ + + + + + +JMeterThread (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.threads +
+Class JMeterThread

+
+java.lang.Object
+  extended by org.apache.jmeter.threads.JMeterThread
+
+
+
All Implemented Interfaces:
Runnable, Interruptible
+
+
+
+
public class JMeterThread
extends Object
implements Runnable, Interruptible
+ + +

+The JMeter interface to the sampling process, allowing JMeter to see the + timing, add listeners for sampling events and to stop the sampling process. +

+ +

+


+ +

+ + + + + + + + + + + + + + + +
+Field Summary
+static StringLAST_SAMPLE_OK + +
+           
+static StringPACKAGE_OBJECT + +
+           
+  + + + + + + + + + + +
+Constructor Summary
JMeterThread(HashTree test, + JMeterThreadMonitor monitor, + ListenerNotifier note) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+protected  voiddelayBy(long delay, + String type) + +
+          Wait for delay with RAMPUP_GRANULARITY
+ longgetEndTime() + +
+          Get the end time value.
+ longgetStartTime() + +
+          Get the start time value.
+ StringgetThreadName() + +
+           
+ intgetThreadNum() + +
+          Returns the threadNum.
+ booleaninterrupt() + +
+          Interrupt the current operation if possible.
+ voidrun() + +
+           
+ voidsetEndTime(long etime) + +
+          Set the EndTime for this Thread.
+ voidsetEngine(StandardJMeterEngine engine) + +
+          Save the engine instance for access to the stop methods
+ voidsetInitialContext(JMeterContext context) + +
+           
+ voidsetInitialDelay(int delay) + +
+          Set rampup delay for JMeterThread Thread
+ voidsetOnErrorStartNextLoop(boolean b) + +
+          Should Thread start next loop on Sampler error?
+ voidsetOnErrorStopTest(boolean b) + +
+          Should Test stop on sampler error?
+ voidsetOnErrorStopTestNow(boolean b) + +
+          Should Test stop abruptly on sampler error?
+ voidsetOnErrorStopThread(boolean b) + +
+          Should Thread stop on Sampler error?
+ voidsetScheduled(boolean sche) + +
+          Enable the scheduler for this JMeterThread.
+ voidsetStartTime(long stime) + +
+          Set the StartTime for this Thread.
+ voidsetThreadGroup(AbstractThreadGroup group) + +
+           
+ voidsetThreadName(String threadName) + +
+           
+ voidsetThreadNum(int threadNum) + +
+          Sets the threadNum.
+ voidstop() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+PACKAGE_OBJECT

+
+public static final String PACKAGE_OBJECT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+LAST_SAMPLE_OK

+
+public static final String LAST_SAMPLE_OK
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+JMeterThread

+
+public JMeterThread(HashTree test,
+                    JMeterThreadMonitor monitor,
+                    ListenerNotifier note)
+
+
+ + + + + + + + +
+Method Detail
+ +

+setInitialContext

+
+public void setInitialContext(JMeterContext context)
+
+
+
+
+
+
+
+
+
+ +

+setScheduled

+
+public void setScheduled(boolean sche)
+
+
Enable the scheduler for this JMeterThread. +

+

+
+
+
+
Parameters:
sche - flag whether the scheduler should be enabled
+
+
+
+ +

+setStartTime

+
+public void setStartTime(long stime)
+
+
Set the StartTime for this Thread. +

+

+
+
+
+
Parameters:
stime - the StartTime value.
+
+
+
+ +

+getStartTime

+
+public long getStartTime()
+
+
Get the start time value. +

+

+
+
+
+ +
Returns:
the start time value.
+
+
+
+ +

+setEndTime

+
+public void setEndTime(long etime)
+
+
Set the EndTime for this Thread. +

+

+
+
+
+
Parameters:
etime - the EndTime value.
+
+
+
+ +

+getEndTime

+
+public long getEndTime()
+
+
Get the end time value. +

+

+
+
+
+ +
Returns:
the end time value.
+
+
+
+ +

+setThreadName

+
+public void setThreadName(String threadName)
+
+
+
+
+
+
+
+
+
+ +

+run

+
+public void run()
+
+
+
Specified by:
run in interface Runnable
+
+
+
+
+
+
+ +

+getThreadName

+
+public String getThreadName()
+
+
+
+
+
+
+
+
+
+ +

+stop

+
+public void stop()
+
+
+
+
+
+
+
+
+
+ +

+interrupt

+
+public boolean interrupt()
+
+
Interrupt the current operation if possible. +

+

+
Specified by:
interrupt in interface Interruptible
+
+
+ +
Returns:
true if there was an operation to interrupt.
+
+
+
+ +

+setInitialDelay

+
+public void setInitialDelay(int delay)
+
+
Set rampup delay for JMeterThread Thread +

+

+
+
+
+
Parameters:
delay - Rampup delay for JMeterThread
+
+
+
+ +

+delayBy

+
+protected final void delayBy(long delay,
+                             String type)
+
+
Wait for delay with RAMPUP_GRANULARITY +

+

+
+
+
+
Parameters:
delay - delay in ms
type - Delay type
+
+
+
+ +

+getThreadNum

+
+public int getThreadNum()
+
+
Returns the threadNum. +

+

+
+
+
+ +
Returns:
the threadNum
+
+
+
+ +

+setThreadNum

+
+public void setThreadNum(int threadNum)
+
+
Sets the threadNum. +

+

+
+
+
+
Parameters:
threadNum - the threadNum to set
+
+
+
+ +

+setEngine

+
+public void setEngine(StandardJMeterEngine engine)
+
+
Save the engine instance for access to the stop methods +

+

+
+
+
+
Parameters:
engine - the engine which is used
+
+
+
+ +

+setOnErrorStopTest

+
+public void setOnErrorStopTest(boolean b)
+
+
Should Test stop on sampler error? +

+

+
+
+
+
Parameters:
b - - + true or false
+
+
+
+ +

+setOnErrorStopTestNow

+
+public void setOnErrorStopTestNow(boolean b)
+
+
Should Test stop abruptly on sampler error? +

+

+
+
+
+
Parameters:
b - - + true or false
+
+
+
+ +

+setOnErrorStopThread

+
+public void setOnErrorStopThread(boolean b)
+
+
Should Thread stop on Sampler error? +

+

+
+
+
+
Parameters:
b - - + true or false
+
+
+
+ +

+setOnErrorStartNextLoop

+
+public void setOnErrorStartNextLoop(boolean b)
+
+
Should Thread start next loop on Sampler error? +

+

+
+
+
+
Parameters:
b - - + true or false
+
+
+
+ +

+setThreadGroup

+
+public void setThreadGroup(AbstractThreadGroup group)
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/threads/JMeterThreadMonitor.html b/docs/api/org/apache/jmeter/threads/JMeterThreadMonitor.html new file mode 100644 index 00000000000..2e7583cd4b9 --- /dev/null +++ b/docs/api/org/apache/jmeter/threads/JMeterThreadMonitor.html @@ -0,0 +1,209 @@ + + + + + +JMeterThreadMonitor (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.threads +
+Interface JMeterThreadMonitor

+
+
All Known Implementing Classes:
AbstractThreadGroup, PostThreadGroup, SetupThreadGroup, ThreadGroup
+
+
+
+
public interface JMeterThreadMonitor
+ + +

+

+
Version:
+
$Revision: 1377076 $
+
+
+ +

+ + + + + + + + + + + + +
+Method Summary
+ voidthreadFinished(JMeterThread thread) + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+threadFinished

+
+void threadFinished(JMeterThread thread)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/threads/JMeterVariables.html b/docs/api/org/apache/jmeter/threads/JMeterVariables.html new file mode 100644 index 00000000000..f379df66b5e --- /dev/null +++ b/docs/api/org/apache/jmeter/threads/JMeterVariables.html @@ -0,0 +1,501 @@ + + + + + +JMeterVariables (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.threads +
+Class JMeterVariables

+
+java.lang.Object
+  extended by org.apache.jmeter.threads.JMeterVariables
+
+
+
+
public class JMeterVariables
extends Object
+ + +

+Class which defines JMeter variables. + These are similar to properties, but they are local to a single thread. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
JMeterVariables() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Set<Map.Entry<String,Object>>entrySet() + +
+           
+ Stringget(String key) + +
+          Gets the value of a variable, coerced to a String.
+ intgetIteration() + +
+           
+ Iterator<Map.Entry<String,Object>>getIterator() + +
+          Gets a read-only Iterator over the variables.
+ ObjectgetObject(String key) + +
+          Gets the value of a variable (not converted to String).
+ StringgetThreadName() + +
+           
+ voidincIteration() + +
+           
+ voidinitialize() + +
+           
+ voidput(String key, + String value) + +
+          Creates or updates a variable with a String value.
+ voidputAll(JMeterVariables vars) + +
+           
+ voidputAll(Map<String,?> vars) + +
+           
+ voidputObject(String key, + Object value) + +
+          Creates or updates a variable with a value that does not have to be a String.
+ Objectremove(String key) + +
+          Remove a variable.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+JMeterVariables

+
+public JMeterVariables()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getThreadName

+
+public String getThreadName()
+
+
+
+
+
+
+ +

+getIteration

+
+public int getIteration()
+
+
+
+
+
+
+ +

+incIteration

+
+public void incIteration()
+
+
+
+
+
+
+ +

+initialize

+
+public void initialize()
+
+
+
+
+
+
+ +

+remove

+
+public Object remove(String key)
+
+
Remove a variable. +

+

+
Parameters:
key - the variable name to remove +
Returns:
the variable value, or null if there was no such variable
+
+
+
+ +

+put

+
+public void put(String key,
+                String value)
+
+
Creates or updates a variable with a String value. +

+

+
Parameters:
key - the variable name
value - the variable value
+
+
+
+ +

+putObject

+
+public void putObject(String key,
+                      Object value)
+
+
Creates or updates a variable with a value that does not have to be a String. +

+

+
Parameters:
key - the variable name
value - the variable value
+
+
+
+ +

+putAll

+
+public void putAll(Map<String,?> vars)
+
+
+
+
+
+
+ +

+putAll

+
+public void putAll(JMeterVariables vars)
+
+
+
+
+
+
+ +

+get

+
+public String get(String key)
+
+
Gets the value of a variable, coerced to a String. +

+

+
Parameters:
key - the name of the variable +
Returns:
the value of the variable, or null if it does not exist
+
+
+
+ +

+getObject

+
+public Object getObject(String key)
+
+
Gets the value of a variable (not converted to String). +

+

+
Parameters:
key - the name of the variable +
Returns:
the value of the variable, or null if it does not exist
+
+
+
+ +

+getIterator

+
+public Iterator<Map.Entry<String,Object>> getIterator()
+
+
Gets a read-only Iterator over the variables. +

+

+ +
Returns:
the iterator
+
+
+
+ +

+entrySet

+
+public Set<Map.Entry<String,Object>> entrySet()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/threads/ListenerNotifier.html b/docs/api/org/apache/jmeter/threads/ListenerNotifier.html new file mode 100644 index 00000000000..844c92bfea0 --- /dev/null +++ b/docs/api/org/apache/jmeter/threads/ListenerNotifier.html @@ -0,0 +1,261 @@ + + + + + +ListenerNotifier (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.threads +
+Class ListenerNotifier

+
+java.lang.Object
+  extended by org.apache.jmeter.threads.ListenerNotifier
+
+
+
+
public class ListenerNotifier
extends Object
+ + +

+Processes sample events. + The current implementation processes events in the calling thread + using notifyListeners(SampleEvent, List) + The other code is not used currently, so is commented out. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
ListenerNotifier() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ voidnotifyListeners(SampleEvent res, + List<SampleListener> listeners) + +
+          Notify a list of listeners that a sample has occurred.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ListenerNotifier

+
+public ListenerNotifier()
+
+
+ + + + + + + + +
+Method Detail
+ +

+notifyListeners

+
+public void notifyListeners(SampleEvent res,
+                            List<SampleListener> listeners)
+
+
Notify a list of listeners that a sample has occurred. +

+

+
Parameters:
res - the sample event that has occurred. Must be non-null.
listeners - a list of the listeners which should be notified. This list + must not be null and must contain only SampleListener + elements.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/threads/PostThreadGroup.html b/docs/api/org/apache/jmeter/threads/PostThreadGroup.html new file mode 100644 index 00000000000..5c191f79064 --- /dev/null +++ b/docs/api/org/apache/jmeter/threads/PostThreadGroup.html @@ -0,0 +1,305 @@ + + + + + +PostThreadGroup (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.threads +
+Class PostThreadGroup

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.threads.AbstractThreadGroup
+          extended by org.apache.jmeter.threads.ThreadGroup
+              extended by org.apache.jmeter.threads.PostThreadGroup
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Controller, Searchable, TestElement, JMeterThreadMonitor, TestCompilerHelper
+
+
+
+
public class PostThreadGroup
extends ThreadGroup
+ + +

+PostThreadGroup is a special type of ThreadGroup that can be used for + performing actions at the end of a test for cleanup and such. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.threads.ThreadGroup
DELAY, DELAYED_START, DURATION, END_TIME, RAMP_TIME, SCHEDULER, START_TIME
+ + + + + + + +
Fields inherited from class org.apache.jmeter.threads.AbstractThreadGroup
MAIN_CONTROLLER, NUM_THREADS, ON_SAMPLE_ERROR, ON_SAMPLE_ERROR_CONTINUE, ON_SAMPLE_ERROR_START_NEXT_LOOP, ON_SAMPLE_ERROR_STOPTEST, ON_SAMPLE_ERROR_STOPTEST_NOW, ON_SAMPLE_ERROR_STOPTHREAD
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
PostThreadGroup() + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class org.apache.jmeter.threads.ThreadGroup
getDelay, getDuration, getEndTime, getRampUp, getScheduler, getStartTime, numberOfActiveThreads, setDelay, setDuration, setEndTime, setRampUp, setScheduler, setStartTime, start, stop, stopThread, tellThreadsToStop, threadFinished, verifyThreadsStopped, waitThreadsStopped
+ + + + + + + +
Methods inherited from class org.apache.jmeter.threads.AbstractThreadGroup
addIterationListener, addTestElement, addTestElementOnce, getNumberOfThreads, getNumThreads, getOnErrorStartNextLoop, getOnErrorStopTest, getOnErrorStopTestNow, getOnErrorStopThread, getSamplerController, initialize, isDone, next, removeIterationListener, setNumThreads, setSamplerController, startNextLoop, triggerEndOfLoop
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.testelement.TestElement
canRemove, clear, clearTestElementChildren, clone, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+PostThreadGroup

+
+public PostThreadGroup()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/threads/RemoteThreadsLifeCycleListener.html b/docs/api/org/apache/jmeter/threads/RemoteThreadsLifeCycleListener.html new file mode 100644 index 00000000000..73d7781a602 --- /dev/null +++ b/docs/api/org/apache/jmeter/threads/RemoteThreadsLifeCycleListener.html @@ -0,0 +1,229 @@ + + + + + +RemoteThreadsLifeCycleListener (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.threads +
+Interface RemoteThreadsLifeCycleListener

+
+
+
public interface RemoteThreadsLifeCycleListener
+ + +

+Interface notified when number of active threads changes +

+ +

+

+
Since:
+
2.10
+
+
+ +

+ + + + + + + + + + + + + + + + +
+Method Summary
+ voidthreadNumberDecreased(int numberOfThreads) + +
+           
+ voidthreadNumberIncreased(int numberOfThreads) + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+threadNumberIncreased

+
+void threadNumberIncreased(int numberOfThreads)
+
+
+
Parameters:
numberOfThreads - number of active threads
+
+
+
+ +

+threadNumberDecreased

+
+void threadNumberDecreased(int numberOfThreads)
+
+
+
Parameters:
numberOfThreads - number of active threads
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/threads/RemoteThreadsListener.html b/docs/api/org/apache/jmeter/threads/RemoteThreadsListener.html new file mode 100644 index 00000000000..0a2aa6a9db3 --- /dev/null +++ b/docs/api/org/apache/jmeter/threads/RemoteThreadsListener.html @@ -0,0 +1,247 @@ + + + + + +RemoteThreadsListener (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.threads +
+Interface RemoteThreadsListener

+
+
All Superinterfaces:
Remote
+
+
+
All Known Implementing Classes:
RemoteThreadsListenerImpl
+
+
+
+
public interface RemoteThreadsListener
extends Remote
+ + +

+RMI Interface that allows notification of remote start/end of threads +

+ +

+

+
Since:
+
2.10
+
+
+ +

+ + + + + + + + + + + + + + + + +
+Method Summary
+ voidthreadFinished() + +
+           
+ voidthreadStarted() + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+threadStarted

+
+void threadStarted()
+                   throws RemoteException
+
+
+
+
+
+ +
Throws: +
RemoteException - when remote calling of the method fails
See Also:
ThreadListener.threadStarted()
+
+
+
+ +

+threadFinished

+
+void threadFinished()
+                    throws RemoteException
+
+
+
+
+
+ +
Throws: +
RemoteException - when remote calling of the method fails
See Also:
ThreadListener.threadFinished()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/threads/RemoteThreadsListenerImpl.html b/docs/api/org/apache/jmeter/threads/RemoteThreadsListenerImpl.html new file mode 100644 index 00000000000..85df6f094b0 --- /dev/null +++ b/docs/api/org/apache/jmeter/threads/RemoteThreadsListenerImpl.html @@ -0,0 +1,345 @@ + + + + + +RemoteThreadsListenerImpl (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.threads +
+Class RemoteThreadsListenerImpl

+
+java.lang.Object
+  extended by java.rmi.server.RemoteObject
+      extended by java.rmi.server.RemoteServer
+          extended by java.rmi.server.UnicastRemoteObject
+              extended by org.apache.jmeter.threads.RemoteThreadsListenerImpl
+
+
+
All Implemented Interfaces:
Serializable, Remote, ThreadListener, RemoteThreadsListener
+
+
+
+
public class RemoteThreadsListenerImpl
extends UnicastRemoteObject
implements RemoteThreadsListener, ThreadListener
+ + +

+RMI Implementation, client side code (ie executed on Controller) +

+ +

+

+
Since:
+
2.10
+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class java.rmi.server.RemoteObject
ref
+  + + + + + + + + + + +
+Constructor Summary
RemoteThreadsListenerImpl() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ voidthreadFinished() + +
+          Called for each thread after all samples have been processed.
+ voidthreadStarted() + +
+          Called for each thread before starting sampling.
+ + + + + + + +
Methods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, unexportObject
+ + + + + + + +
Methods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLog
+ + + + + + + +
Methods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toString, toStub
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+RemoteThreadsListenerImpl

+
+public RemoteThreadsListenerImpl()
+                          throws RemoteException
+
+
+ +
Throws: +
RemoteException - if failed to export object
+
+ + + + + + + + +
+Method Detail
+ +

+threadStarted

+
+public void threadStarted()
+
+
Description copied from interface: ThreadListener
+
Called for each thread before starting sampling. + WARNING: this is called before any Config test elements are processed, + so any properties they define will not have been merged in yet. +

+

+
Specified by:
threadStarted in interface ThreadListener
Specified by:
threadStarted in interface RemoteThreadsListener
+
+
+
See Also:
RemoteThreadsListener.threadStarted()
+
+
+
+ +

+threadFinished

+
+public void threadFinished()
+
+
Description copied from interface: ThreadListener
+
Called for each thread after all samples have been processed. +

+

+
Specified by:
threadFinished in interface ThreadListener
Specified by:
threadFinished in interface RemoteThreadsListener
+
+
+
See Also:
ThreadListener.threadFinished()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/threads/RemoteThreadsListenerTestElement.html b/docs/api/org/apache/jmeter/threads/RemoteThreadsListenerTestElement.html new file mode 100644 index 00000000000..0d61bbab6fd --- /dev/null +++ b/docs/api/org/apache/jmeter/threads/RemoteThreadsListenerTestElement.html @@ -0,0 +1,292 @@ + + + + + +RemoteThreadsListenerTestElement (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.threads +
+Class RemoteThreadsListenerTestElement

+
+java.lang.Object
+  extended by org.apache.jmeter.threads.RemoteThreadsListenerTestElement
+
+
+
All Implemented Interfaces:
Remoteable, ThreadListener
+
+
+
+
public class RemoteThreadsListenerTestElement
extends Object
implements Remoteable, ThreadListener
+ + +

+Empty implementation only used to be able to do replacement by ConvertListeners +

+ +

+

+
Since:
+
2.10
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
RemoteThreadsListenerTestElement() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ voidthreadFinished() + +
+          Called for each thread after all samples have been processed.
+ voidthreadStarted() + +
+          Called for each thread before starting sampling.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+RemoteThreadsListenerTestElement

+
+public RemoteThreadsListenerTestElement()
+
+
+ + + + + + + + +
+Method Detail
+ +

+threadStarted

+
+public void threadStarted()
+
+
Description copied from interface: ThreadListener
+
Called for each thread before starting sampling. + WARNING: this is called before any Config test elements are processed, + so any properties they define will not have been merged in yet. +

+

+
Specified by:
threadStarted in interface ThreadListener
+
+
+
See Also:
JMeterThread.threadStarted()
+
+
+
+ +

+threadFinished

+
+public void threadFinished()
+
+
Description copied from interface: ThreadListener
+
Called for each thread after all samples have been processed. +

+

+
Specified by:
threadFinished in interface ThreadListener
+
+
+
See Also:
JMeterThread.threadFinished(org.apache.jmeter.engine.event.LoopIterationListener)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/threads/RemoteThreadsListenerWrapper.html b/docs/api/org/apache/jmeter/threads/RemoteThreadsListenerWrapper.html new file mode 100644 index 00000000000..cd4faed7c1c --- /dev/null +++ b/docs/api/org/apache/jmeter/threads/RemoteThreadsListenerWrapper.html @@ -0,0 +1,334 @@ + + + + + +RemoteThreadsListenerWrapper (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.threads +
+Class RemoteThreadsListenerWrapper

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.threads.RemoteThreadsListenerWrapper
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, NoThreadClone, Searchable, TestElement, ThreadListener
+
+
+
+
public class RemoteThreadsListenerWrapper
extends AbstractTestElement
implements ThreadListener, Serializable, NoThreadClone
+ + +

+server side wrapper, used to notify RMI client +

+ +

+

+
Since:
+
2.10
+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + + + + +
+Constructor Summary
RemoteThreadsListenerWrapper() + +
+           
RemoteThreadsListenerWrapper(RemoteThreadsListener l) + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ voidthreadFinished() + +
+          Called for each thread after all samples have been processed.
+ voidthreadStarted() + +
+          Called for each thread before starting sampling.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+RemoteThreadsListenerWrapper

+
+public RemoteThreadsListenerWrapper(RemoteThreadsListener l)
+
+
+
+ +

+RemoteThreadsListenerWrapper

+
+public RemoteThreadsListenerWrapper()
+
+
+ + + + + + + + +
+Method Detail
+ +

+threadStarted

+
+public void threadStarted()
+
+
Description copied from interface: ThreadListener
+
Called for each thread before starting sampling. + WARNING: this is called before any Config test elements are processed, + so any properties they define will not have been merged in yet. +

+

+
Specified by:
threadStarted in interface ThreadListener
+
+
+
See Also:
JMeterThread.threadStarted()
+
+
+
+ +

+threadFinished

+
+public void threadFinished()
+
+
Description copied from interface: ThreadListener
+
Called for each thread after all samples have been processed. +

+

+
Specified by:
threadFinished in interface ThreadListener
+
+
+
See Also:
JMeterThread.threadFinished(org.apache.jmeter.engine.event.LoopIterationListener)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/threads/SamplePackage.html b/docs/api/org/apache/jmeter/threads/SamplePackage.html new file mode 100644 index 00000000000..7aa381df190 --- /dev/null +++ b/docs/api/org/apache/jmeter/threads/SamplePackage.html @@ -0,0 +1,568 @@ + + + + + +SamplePackage (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.threads +
+Class SamplePackage

+
+java.lang.Object
+  extended by org.apache.jmeter.threads.SamplePackage
+
+
+
+
public class SamplePackage
extends Object
+ + +

+Packages methods related to sample handling.
+ A SamplePackage contains all elements associated to a Sampler: +

    +
  • SampleListener(s)
  • +
  • Timer(s)
  • +
  • Assertion(s)
  • +
  • PreProcessor(s)
  • +
  • PostProcessor(s)
  • +
  • ConfigTestElement(s)
  • +
  • Controller(s)
  • +
+

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
SamplePackage(List<ConfigTestElement> configs, + List<SampleListener> listeners, + List<Timer> timers, + List<Assertion> assertions, + List<PostProcessor> postProcessors, + List<PreProcessor> preProcessors, + List<Controller> controllers) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddAssertion(Assertion asser) + +
+          Add Assertion
+ voidaddPostProcessor(PostProcessor ex) + +
+          Add Post processor
+ voidaddPreProcessor(PreProcessor pre) + +
+          Add Pre processor
+ voidaddSampleListener(SampleListener listener) + +
+          Add Sample Listener
+ voidaddTimer(Timer timer) + +
+          Add Timer
+ List<Assertion>getAssertions() + +
+           
+ List<ConfigTestElement>getConfigs() + +
+          Returns the configs.
+ List<PostProcessor>getPostProcessors() + +
+           
+ List<PreProcessor>getPreProcessors() + +
+          Returns the preProcessors.
+ List<SampleListener>getSampleListeners() + +
+           
+ SamplergetSampler() + +
+           
+ List<Timer>getTimers() + +
+           
+ voidrecoverRunningVersion() + +
+          Recover each member of SamplePackage to the state before the call of setRunningVersion(true)
+ voidsetRunningVersion(boolean running) + +
+          Make the SamplePackage the running version, or make it no longer the + running version.
+ voidsetSampler(Sampler s) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SamplePackage

+
+public SamplePackage(List<ConfigTestElement> configs,
+                     List<SampleListener> listeners,
+                     List<Timer> timers,
+                     List<Assertion> assertions,
+                     List<PostProcessor> postProcessors,
+                     List<PreProcessor> preProcessors,
+                     List<Controller> controllers)
+
+
+ + + + + + + + +
+Method Detail
+ +

+setRunningVersion

+
+public void setRunningVersion(boolean running)
+
+
Make the SamplePackage the running version, or make it no longer the + running version. This tells to each element of the SamplePackage that it's current state must + be retrievable by a call to recoverRunningVersion(). +

+

+
Parameters:
running - boolean
See Also:
TestElement.setRunningVersion(boolean)
+
+
+
+ +

+recoverRunningVersion

+
+public void recoverRunningVersion()
+
+
Recover each member of SamplePackage to the state before the call of setRunningVersion(true) +

+

+
See Also:
TestElement.recoverRunningVersion()
+
+
+
+ +

+getSampleListeners

+
+public List<SampleListener> getSampleListeners()
+
+
+ +
Returns:
List of SampleListeners
+
+
+
+ +

+addSampleListener

+
+public void addSampleListener(SampleListener listener)
+
+
Add Sample Listener +

+

+
Parameters:
listener - SampleListener
+
+
+
+ +

+getTimers

+
+public List<Timer> getTimers()
+
+
+ +
Returns:
List of Timers
+
+
+
+ +

+addPostProcessor

+
+public void addPostProcessor(PostProcessor ex)
+
+
Add Post processor +

+

+
Parameters:
ex - PostProcessor
+
+
+
+ +

+addPreProcessor

+
+public void addPreProcessor(PreProcessor pre)
+
+
Add Pre processor +

+

+
Parameters:
pre - PreProcessor
+
+
+
+ +

+addTimer

+
+public void addTimer(Timer timer)
+
+
Add Timer +

+

+
Parameters:
timer - Timer
+
+
+
+ +

+addAssertion

+
+public void addAssertion(Assertion asser)
+
+
Add Assertion +

+

+
Parameters:
asser - Assertion
+
+
+
+ +

+getAssertions

+
+public List<Assertion> getAssertions()
+
+
+ +
Returns:
List of Assertion
+
+
+
+ +

+getPostProcessors

+
+public List<PostProcessor> getPostProcessors()
+
+
+ +
Returns:
List of PostProcessors
+
+
+
+ +

+getSampler

+
+public Sampler getSampler()
+
+
+ +
Returns:
Sampler
+
+
+
+ +

+setSampler

+
+public void setSampler(Sampler s)
+
+
+
Parameters:
s - Sampler
+
+
+
+ +

+getPreProcessors

+
+public List<PreProcessor> getPreProcessors()
+
+
Returns the preProcessors. +

+

+ +
Returns:
List of PreProcessor
+
+
+
+ +

+getConfigs

+
+public List<ConfigTestElement> getConfigs()
+
+
Returns the configs. +

+

+ +
Returns:
List of ConfigTestElement
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/threads/SetupThreadGroup.html b/docs/api/org/apache/jmeter/threads/SetupThreadGroup.html new file mode 100644 index 00000000000..e36eec18400 --- /dev/null +++ b/docs/api/org/apache/jmeter/threads/SetupThreadGroup.html @@ -0,0 +1,305 @@ + + + + + +SetupThreadGroup (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.threads +
+Class SetupThreadGroup

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.threads.AbstractThreadGroup
+          extended by org.apache.jmeter.threads.ThreadGroup
+              extended by org.apache.jmeter.threads.SetupThreadGroup
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Controller, Searchable, TestElement, JMeterThreadMonitor, TestCompilerHelper
+
+
+
+
public class SetupThreadGroup
extends ThreadGroup
+ + +

+SetupThreadGroup.java is a special type of ThreadGroup that can be used for + setting up of a test before the bulk of the test executes later. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.threads.ThreadGroup
DELAY, DELAYED_START, DURATION, END_TIME, RAMP_TIME, SCHEDULER, START_TIME
+ + + + + + + +
Fields inherited from class org.apache.jmeter.threads.AbstractThreadGroup
MAIN_CONTROLLER, NUM_THREADS, ON_SAMPLE_ERROR, ON_SAMPLE_ERROR_CONTINUE, ON_SAMPLE_ERROR_START_NEXT_LOOP, ON_SAMPLE_ERROR_STOPTEST, ON_SAMPLE_ERROR_STOPTEST_NOW, ON_SAMPLE_ERROR_STOPTHREAD
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
SetupThreadGroup() + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class org.apache.jmeter.threads.ThreadGroup
getDelay, getDuration, getEndTime, getRampUp, getScheduler, getStartTime, numberOfActiveThreads, setDelay, setDuration, setEndTime, setRampUp, setScheduler, setStartTime, start, stop, stopThread, tellThreadsToStop, threadFinished, verifyThreadsStopped, waitThreadsStopped
+ + + + + + + +
Methods inherited from class org.apache.jmeter.threads.AbstractThreadGroup
addIterationListener, addTestElement, addTestElementOnce, getNumberOfThreads, getNumThreads, getOnErrorStartNextLoop, getOnErrorStopTest, getOnErrorStopTestNow, getOnErrorStopThread, getSamplerController, initialize, isDone, next, removeIterationListener, setNumThreads, setSamplerController, startNextLoop, triggerEndOfLoop
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.testelement.TestElement
canRemove, clear, clearTestElementChildren, clone, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SetupThreadGroup

+
+public SetupThreadGroup()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/threads/TestCompiler.html b/docs/api/org/apache/jmeter/threads/TestCompiler.html new file mode 100644 index 00000000000..c23be21ec9b --- /dev/null +++ b/docs/api/org/apache/jmeter/threads/TestCompiler.html @@ -0,0 +1,460 @@ + + + + + +TestCompiler (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.threads +
+Class TestCompiler

+
+java.lang.Object
+  extended by org.apache.jmeter.threads.TestCompiler
+
+
+
All Implemented Interfaces:
HashTreeTraverser
+
+
+
+
public class TestCompiler
extends Object
implements HashTreeTraverser
+ + +

+HashTreeTraverser implementation that traverses the Test Tree to build: +

    +
  • A map with key Sampler and as value the associated SamplePackage
  • +
  • A map with key TransactionController and as value the associated SamplePackage
  • +
+

+ +

+


+ +

+ + + + + + + + + + + +
+Field Summary
+static booleanIS_USE_STATIC_SET + +
+           
+  + + + + + + + + + + +
+Constructor Summary
TestCompiler(HashTree testTree) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddNode(Object node, + HashTree subTree) + +
+          The tree traverses itself depth-first, calling addNode for each object it + encounters as it goes.
+ SamplePackageconfigureSampler(Sampler sampler) + +
+          Configures sampler from SamplePackage extracted from Test plan and returns it
+ SamplePackageconfigureTransactionSampler(TransactionSampler transactionSampler) + +
+          Configures Transaction Sampler from SamplePackage extracted from Test plan and returns it
+ voiddone(SamplePackage pack) + +
+          Reset pack to its initial state
+static voidinitialize() + +
+          Clears the pairing Set Called by StandardJmeterEngine at the start of a + test run.
+ voidprocessPath() + +
+          Process path is called when a leaf is reached.
+ voidsubtractNode() + +
+          Indicates traversal has moved up a step, and the visitor should remove + the top node from its stack structure.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+IS_USE_STATIC_SET

+
+public static final boolean IS_USE_STATIC_SET
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+TestCompiler

+
+public TestCompiler(HashTree testTree)
+
+
+ + + + + + + + +
+Method Detail
+ +

+initialize

+
+public static void initialize()
+
+
Clears the pairing Set Called by StandardJmeterEngine at the start of a + test run. +

+

+
+
+
+
+
+
+
+ +

+configureSampler

+
+public SamplePackage configureSampler(Sampler sampler)
+
+
Configures sampler from SamplePackage extracted from Test plan and returns it +

+

+
+
+
+
Parameters:
sampler - Sampler +
Returns:
SamplePackage
+
+
+
+ +

+configureTransactionSampler

+
+public SamplePackage configureTransactionSampler(TransactionSampler transactionSampler)
+
+
Configures Transaction Sampler from SamplePackage extracted from Test plan and returns it +

+

+
+
+
+
Parameters:
transactionSampler - TransactionSampler +
Returns:
SamplePackage
+
+
+
+ +

+done

+
+public void done(SamplePackage pack)
+
+
Reset pack to its initial state +

+

+
+
+
+
Parameters:
pack - the SamplePackage to reset
+
+
+
+ +

+addNode

+
+public void addNode(Object node,
+                    HashTree subTree)
+
+
The tree traverses itself depth-first, calling addNode for each object it + encounters as it goes. This is a callback method, and should not be + called except by a HashTree during traversal. +

+

+
Specified by:
addNode in interface HashTreeTraverser
+
+
+
Parameters:
node - the node currently encountered
subTree - the HashTree under the node encountered
+
+
+
+ +

+subtractNode

+
+public void subtractNode()
+
+
Indicates traversal has moved up a step, and the visitor should remove + the top node from its stack structure. This is a callback method, and + should not be called except by a HashTree during traversal. +

+

+
Specified by:
subtractNode in interface HashTreeTraverser
+
+
+
+
+
+
+ +

+processPath

+
+public void processPath()
+
+
Process path is called when a leaf is reached. If a visitor wishes to + generate Lists of path elements to each leaf, it should keep a Stack data + structure of nodes passed to it with addNode, and removing top items for + every HashTreeTraverser.subtractNode() call. This is a callback method, and should + not be called except by a HashTree during traversal. +

+

+
Specified by:
processPath in interface HashTreeTraverser
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/threads/TestCompilerHelper.html b/docs/api/org/apache/jmeter/threads/TestCompilerHelper.html new file mode 100644 index 00000000000..0b444f09626 --- /dev/null +++ b/docs/api/org/apache/jmeter/threads/TestCompilerHelper.html @@ -0,0 +1,225 @@ + + + + + +TestCompilerHelper (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.threads +
+Interface TestCompilerHelper

+
+
All Known Implementing Classes:
AbstractThreadGroup, CriticalSectionController, ForeachController, GenericController, IfController, IncludeController, InterleaveControl, LoopController, ModuleController, OnceOnlyController, PostThreadGroup, ProxyControl, RandomController, RandomOrderController, RecordingController, RunTime, SetupThreadGroup, SwitchController, TestFragmentController, ThreadGroup, ThroughputController, TransactionController, WhileController
+
+
+
+
public interface TestCompilerHelper
+ + +

+Bug 53796 - TestCompiler uses static Set which can grow huge + + This interface is a means to allow the pair data to be saved with the parent + instance, thus allowing it to be garbage collected when the thread completes. + + This uses a bit more memory, as each controller test element includes the data + structure to contain the child element. However, there is no need to store the + parent element. +

+ +

+

+
Since:
+
2.8
+
+
+ +

+ + + + + + + + + + + + +
+Method Summary
+ booleanaddTestElementOnce(TestElement child) + +
+          Add child test element only if it has not already been added.
+  +

+ + + + + + + + +
+Method Detail
+ +

+addTestElementOnce

+
+boolean addTestElementOnce(TestElement child)
+
+
Add child test element only if it has not already been added. +

+ Only for use by TestCompiler. +

+

+
Parameters:
child - the TestElement to be added +
Returns:
true if the child was added
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/threads/ThreadGroup.html b/docs/api/org/apache/jmeter/threads/ThreadGroup.html new file mode 100644 index 00000000000..a40ff2f025d --- /dev/null +++ b/docs/api/org/apache/jmeter/threads/ThreadGroup.html @@ -0,0 +1,930 @@ + + + + + +ThreadGroup (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.threads +
+Class ThreadGroup

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.threads.AbstractThreadGroup
+          extended by org.apache.jmeter.threads.ThreadGroup
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Controller, Searchable, TestElement, JMeterThreadMonitor, TestCompilerHelper
+
+
+
Direct Known Subclasses:
PostThreadGroup, SetupThreadGroup
+
+
+
+
public class ThreadGroup
extends AbstractThreadGroup
+ + +

+ThreadGroup holds the settings for a JMeter thread group. + + This class is intended to be ThreadSafe. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static StringDELAY + +
+          Scheduler start delay, overrides start time
+static StringDELAYED_START + +
+          Whether thread startup is delayed until required
+static StringDURATION + +
+          Scheduler duration, overrides end time
+static StringEND_TIME + +
+          Scheduler absolute end time
+static StringRAMP_TIME + +
+          Ramp-up time
+static StringSCHEDULER + +
+          Whether scheduler is being used
+static StringSTART_TIME + +
+          Scheduler absolute start time
+ + + + + + + +
Fields inherited from class org.apache.jmeter.threads.AbstractThreadGroup
MAIN_CONTROLLER, NUM_THREADS, ON_SAMPLE_ERROR, ON_SAMPLE_ERROR_CONTINUE, ON_SAMPLE_ERROR_START_NEXT_LOOP, ON_SAMPLE_ERROR_STOPTEST, ON_SAMPLE_ERROR_STOPTEST_NOW, ON_SAMPLE_ERROR_STOPTHREAD
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
ThreadGroup() + +
+          No-arg constructor.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ longgetDelay() + +
+          Get the startup delay
+ longgetDuration() + +
+          Get the desired duration of the thread group test run
+ longgetEndTime() + +
+          Get the end time value.
+ intgetRampUp() + +
+          Get the ramp-up value.
+ booleangetScheduler() + +
+          Get whether scheduler is being used
+ longgetStartTime() + +
+          Get the absolute start time value.
+ intnumberOfActiveThreads() + +
+           
+ voidsetDelay(long delay) + +
+          Set the startup delay
+ voidsetDuration(long duration) + +
+          Set the desired duration of the thread group test run
+ voidsetEndTime(long etime) + +
+          Set the EndTime value.
+ voidsetRampUp(int rampUp) + +
+          Set the ramp-up value.
+ voidsetScheduler(boolean Scheduler) + +
+          Set whether scheduler is being used
+ voidsetStartTime(long stime) + +
+          Set the absolute StartTime value.
+ voidstart(int groupCount, + ListenerNotifier notifier, + ListedHashTree threadGroupTree, + StandardJMeterEngine engine) + +
+           
+ voidstop() + +
+          For each thread, invoke: + + JMeterThread.stop() - set stop flag +
+ booleanstopThread(String threadName, + boolean now) + +
+          Stop thread called threadName: + + stop JMeter thread + interrupt JMeter thread + interrupt underlying thread +
+ voidtellThreadsToStop() + +
+          For each thread, invoke: + + JMeterThread.stop() - set stop flag + JMeterThread.interrupt() - interrupt sampler + Thread.interrupt() - interrupt JVM thread +
+ voidthreadFinished(JMeterThread thread) + +
+          Called by JMeterThread when it finishes
+ booleanverifyThreadsStopped() + +
+           
+ voidwaitThreadsStopped() + +
+          Wait for all Group Threads to stop
+ + + + + + + +
Methods inherited from class org.apache.jmeter.threads.AbstractThreadGroup
addIterationListener, addTestElement, addTestElementOnce, getNumberOfThreads, getNumThreads, getOnErrorStartNextLoop, getOnErrorStopTest, getOnErrorStopTestNow, getOnErrorStopThread, getSamplerController, initialize, isDone, next, removeIterationListener, setNumThreads, setSamplerController, startNextLoop, triggerEndOfLoop
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.testelement.TestElement
canRemove, clear, clearTestElementChildren, clone, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse
+  +

+ + + + + + + + +
+Field Detail
+ +

+RAMP_TIME

+
+public static final String RAMP_TIME
+
+
Ramp-up time +

+

+
See Also:
Constant Field Values
+
+
+ +

+DELAYED_START

+
+public static final String DELAYED_START
+
+
Whether thread startup is delayed until required +

+

+
See Also:
Constant Field Values
+
+
+ +

+SCHEDULER

+
+public static final String SCHEDULER
+
+
Whether scheduler is being used +

+

+
See Also:
Constant Field Values
+
+
+ +

+START_TIME

+
+public static final String START_TIME
+
+
Scheduler absolute start time +

+

+
See Also:
Constant Field Values
+
+
+ +

+END_TIME

+
+public static final String END_TIME
+
+
Scheduler absolute end time +

+

+
See Also:
Constant Field Values
+
+
+ +

+DURATION

+
+public static final String DURATION
+
+
Scheduler duration, overrides end time +

+

+
See Also:
Constant Field Values
+
+
+ +

+DELAY

+
+public static final String DELAY
+
+
Scheduler start delay, overrides start time +

+

+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+ThreadGroup

+
+public ThreadGroup()
+
+
No-arg constructor. +

+

+ + + + + + + + +
+Method Detail
+ +

+setScheduler

+
+public void setScheduler(boolean Scheduler)
+
+
Set whether scheduler is being used +

+

+
Parameters:
Scheduler - true is scheduler is to be used
+
+
+
+ +

+getScheduler

+
+public boolean getScheduler()
+
+
Get whether scheduler is being used +

+

+ +
Returns:
true if scheduler is being used
+
+
+
+ +

+setStartTime

+
+public void setStartTime(long stime)
+
+
Set the absolute StartTime value. +

+

+
Parameters:
stime - - + the StartTime value.
+
+
+
+ +

+getStartTime

+
+public long getStartTime()
+
+
Get the absolute start time value. +

+

+ +
Returns:
the start time value.
+
+
+
+ +

+getDuration

+
+public long getDuration()
+
+
Get the desired duration of the thread group test run +

+

+ +
Returns:
the duration (in secs)
+
+
+
+ +

+setDuration

+
+public void setDuration(long duration)
+
+
Set the desired duration of the thread group test run +

+

+
Parameters:
duration - in seconds
+
+
+
+ +

+getDelay

+
+public long getDelay()
+
+
Get the startup delay +

+

+ +
Returns:
the delay (in secs)
+
+
+
+ +

+setDelay

+
+public void setDelay(long delay)
+
+
Set the startup delay +

+

+
Parameters:
delay - in seconds
+
+
+
+ +

+setEndTime

+
+public void setEndTime(long etime)
+
+
Set the EndTime value. +

+

+
Parameters:
etime - - + the EndTime value.
+
+
+
+ +

+getEndTime

+
+public long getEndTime()
+
+
Get the end time value. +

+

+ +
Returns:
the end time value.
+
+
+
+ +

+setRampUp

+
+public void setRampUp(int rampUp)
+
+
Set the ramp-up value. +

+

+
Parameters:
rampUp - the ramp-up value.
+
+
+
+ +

+getRampUp

+
+public int getRampUp()
+
+
Get the ramp-up value. +

+

+ +
Returns:
the ramp-up value.
+
+
+
+ +

+start

+
+public void start(int groupCount,
+                  ListenerNotifier notifier,
+                  ListedHashTree threadGroupTree,
+                  StandardJMeterEngine engine)
+
+
+
Specified by:
start in class AbstractThreadGroup
+
+
+
+
+
+
+ +

+stopThread

+
+public boolean stopThread(String threadName,
+                          boolean now)
+
+
Stop thread called threadName: +
    +
  1. stop JMeter thread
  2. +
  3. interrupt JMeter thread
  4. +
  5. interrupt underlying thread
  6. +
+

+

+
Specified by:
stopThread in class AbstractThreadGroup
+
+
+
Parameters:
threadName - String thread name
now - boolean for stop +
Returns:
true if thread stopped
+
+
+
+ +

+threadFinished

+
+public void threadFinished(JMeterThread thread)
+
+
Called by JMeterThread when it finishes +

+

+
+
+
+
+ +

+tellThreadsToStop

+
+public void tellThreadsToStop()
+
+
For each thread, invoke: + +

+

+
Specified by:
tellThreadsToStop in class AbstractThreadGroup
+
+
+
+
+
+
+ +

+stop

+
+public void stop()
+
+
For each thread, invoke: + +

+

+
Specified by:
stop in class AbstractThreadGroup
+
+
+
+
+
+
+ +

+numberOfActiveThreads

+
+public int numberOfActiveThreads()
+
+
+
Specified by:
numberOfActiveThreads in class AbstractThreadGroup
+
+
+ +
Returns:
number of active threads
+
+
+
+ +

+verifyThreadsStopped

+
+public boolean verifyThreadsStopped()
+
+
+
Specified by:
verifyThreadsStopped in class AbstractThreadGroup
+
+
+ +
Returns:
boolean true if all threads stopped
+
+
+
+ +

+waitThreadsStopped

+
+public void waitThreadsStopped()
+
+
Wait for all Group Threads to stop +

+

+
Specified by:
waitThreadsStopped in class AbstractThreadGroup
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/threads/gui/AbstractThreadGroupGui.html b/docs/api/org/apache/jmeter/threads/gui/AbstractThreadGroupGui.html new file mode 100644 index 00000000000..36b40e2d790 --- /dev/null +++ b/docs/api/org/apache/jmeter/threads/gui/AbstractThreadGroupGui.html @@ -0,0 +1,567 @@ + + + + + +AbstractThreadGroupGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.threads.gui +
+Class AbstractThreadGroupGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.threads.gui.AbstractThreadGroupGui
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
Direct Known Subclasses:
ThreadGroupGui
+
+
+
+
public abstract class AbstractThreadGroupGui
extends AbstractJMeterGuiComponent
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
AbstractThreadGroupGui() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclearGui() + +
+          Provides a default implementation that resets the name field to the value of + getStaticLabel(), reset comment and sets enabled to true.
+ voidconfigure(TestElement tg) + +
+          A newly created gui component can be initialized with the contents of a + Test Element object by calling this method.
+protected  voidconfigureTestElement(TestElement tg) + +
+          This provides a convenience for extenders when they implement the + JMeterGUIComponent.modifyTestElement(TestElement) method.
+ JPopupMenucreatePopupMenu() + +
+          When a user right-clicks on the component in the test tree, or selects + the edit menu when the component is selected, the component will be asked + to return a JPopupMenu that provides all the options available to the + user from this component.
+ Collection<String>getMenuCategories() + +
+          This is the list of add menu categories this gui component will be + available under.
+ DimensiongetPreferredSize() + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.gui.JMeterGUIComponent
createTestElement, getLabelResource, modifyTestElement
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+AbstractThreadGroupGui

+
+public AbstractThreadGroupGui()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getMenuCategories

+
+public Collection<String> getMenuCategories()
+
+
Description copied from interface: JMeterGUIComponent
+
This is the list of add menu categories this gui component will be + available under. For instance, if this represents a Controller, then the + MenuFactory.CONTROLLERS category should be in the returned collection. + When a user right-clicks on a tree element and looks through the "add" + menu, which category your GUI component shows up in is determined by + which categories are returned by this method. Most GUI's belong to only + one category, but it is possible for a component to exist in multiple + categories. +

+

+ +
Returns:
a Collection of Strings, where each element is one of the + constants defined in MenuFactory
See Also:
MenuFactory
+
+
+
+ +

+createPopupMenu

+
+public JPopupMenu createPopupMenu()
+
+
Description copied from interface: JMeterGUIComponent
+
When a user right-clicks on the component in the test tree, or selects + the edit menu when the component is selected, the component will be asked + to return a JPopupMenu that provides all the options available to the + user from this component. +

+

+ +
Returns:
a JPopupMenu appropriate for the component.
+
+
+
+ +

+getPreferredSize

+
+public Dimension getPreferredSize()
+
+
+
Overrides:
getPreferredSize in class JComponent
+
+
+
+
+
+
+ +

+clearGui

+
+public void clearGui()
+
+
Description copied from class: AbstractJMeterGuiComponent
+
Provides a default implementation that resets the name field to the value of + getStaticLabel(), reset comment and sets enabled to true. Your GUI may need more things + cleared, in which case you should override, clear the extra fields, and + still call super.clearGui(). +

+

+
Specified by:
clearGui in interface ClearGui
Overrides:
clearGui in class AbstractJMeterGuiComponent
+
+
+
+
+
+
+ +

+configure

+
+public void configure(TestElement tg)
+
+
Description copied from class: AbstractJMeterGuiComponent
+
A newly created gui component can be initialized with the contents of a + Test Element object by calling this method. The component is responsible + for querying the Test Element object for the relevant information to + display in its GUI. +

+ AbstractJMeterGuiComponent provides a partial implementation of this + method, setting the name of the component and its enabled status. + Subclasses should override this method, performing their own + configuration as needed, but also calling this super-implementation. +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class AbstractJMeterGuiComponent
+
+
+
Parameters:
tg - the TestElement to configure
+
+
+
+ +

+configureTestElement

+
+protected void configureTestElement(TestElement tg)
+
+
Description copied from class: AbstractJMeterGuiComponent
+
This provides a convenience for extenders when they implement the + JMeterGUIComponent.modifyTestElement(TestElement) method. This + method will set the name, gui class, and test class for the created Test + Element. It should be called by every extending class when + creating/modifying Test Elements, as that will best assure consistent + behavior. +

+

+
Overrides:
configureTestElement in class AbstractJMeterGuiComponent
+
+
+
Parameters:
tg - the TestElement being created.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/threads/gui/PostThreadGroupGui.html b/docs/api/org/apache/jmeter/threads/gui/PostThreadGroupGui.html new file mode 100644 index 00000000000..9a7b212bfa7 --- /dev/null +++ b/docs/api/org/apache/jmeter/threads/gui/PostThreadGroupGui.html @@ -0,0 +1,471 @@ + + + + + +PostThreadGroupGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.threads.gui +
+Class PostThreadGroupGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.threads.gui.AbstractThreadGroupGui
+                          extended by org.apache.jmeter.threads.gui.ThreadGroupGui
+                              extended by org.apache.jmeter.threads.gui.PostThreadGroupGui
+
+
+
All Implemented Interfaces:
ItemListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
+
public class PostThreadGroupGui
extends ThreadGroupGui
implements ItemListener
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
PostThreadGroupGui() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ TestElementcreateTestElement() + +
+          JMeter test components are separated into a model and a GUI + representation.
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.threads.gui.ThreadGroupGui
clearGui, configure, itemStateChanged, modifyTestElement
+ + + + + + + +
Methods inherited from class org.apache.jmeter.threads.gui.AbstractThreadGroupGui
configureTestElement, createPopupMenu, getMenuCategories, getPreferredSize
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+ + + + + + + +
Methods inherited from interface java.awt.event.ItemListener
itemStateChanged
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+PostThreadGroupGui

+
+public PostThreadGroupGui()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+
Specified by:
getLabelResource in interface JMeterGUIComponent
Overrides:
getLabelResource in class ThreadGroupGui
+
+
+ +
Returns:
the resource name
+
+
+
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
Description copied from interface: JMeterGUIComponent
+
JMeter test components are separated into a model and a GUI + representation. The model holds the data and the GUI displays it. The GUI + class is responsible for knowing how to create and initialize with data + the model class that it knows how to display, and this method is called + when new test elements are created. +

+

+
Specified by:
createTestElement in interface JMeterGUIComponent
Overrides:
createTestElement in class ThreadGroupGui
+
+
+ +
Returns:
the Test Element object that the GUI component represents.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/threads/gui/SetupThreadGroupGui.html b/docs/api/org/apache/jmeter/threads/gui/SetupThreadGroupGui.html new file mode 100644 index 00000000000..d6d70d2d99d --- /dev/null +++ b/docs/api/org/apache/jmeter/threads/gui/SetupThreadGroupGui.html @@ -0,0 +1,471 @@ + + + + + +SetupThreadGroupGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.threads.gui +
+Class SetupThreadGroupGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.threads.gui.AbstractThreadGroupGui
+                          extended by org.apache.jmeter.threads.gui.ThreadGroupGui
+                              extended by org.apache.jmeter.threads.gui.SetupThreadGroupGui
+
+
+
All Implemented Interfaces:
ItemListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
+
public class SetupThreadGroupGui
extends ThreadGroupGui
implements ItemListener
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
SetupThreadGroupGui() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ TestElementcreateTestElement() + +
+          JMeter test components are separated into a model and a GUI + representation.
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.threads.gui.ThreadGroupGui
clearGui, configure, itemStateChanged, modifyTestElement
+ + + + + + + +
Methods inherited from class org.apache.jmeter.threads.gui.AbstractThreadGroupGui
configureTestElement, createPopupMenu, getMenuCategories, getPreferredSize
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+ + + + + + + +
Methods inherited from interface java.awt.event.ItemListener
itemStateChanged
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SetupThreadGroupGui

+
+public SetupThreadGroupGui()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+
Specified by:
getLabelResource in interface JMeterGUIComponent
Overrides:
getLabelResource in class ThreadGroupGui
+
+
+ +
Returns:
the resource name
+
+
+
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
Description copied from interface: JMeterGUIComponent
+
JMeter test components are separated into a model and a GUI + representation. The model holds the data and the GUI displays it. The GUI + class is responsible for knowing how to create and initialize with data + the model class that it knows how to display, and this method is called + when new test elements are created. +

+

+
Specified by:
createTestElement in interface JMeterGUIComponent
Overrides:
createTestElement in class ThreadGroupGui
+
+
+ +
Returns:
the Test Element object that the GUI component represents.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/threads/gui/ThreadGroupGui.html b/docs/api/org/apache/jmeter/threads/gui/ThreadGroupGui.html new file mode 100644 index 00000000000..09e4eb5a94f --- /dev/null +++ b/docs/api/org/apache/jmeter/threads/gui/ThreadGroupGui.html @@ -0,0 +1,578 @@ + + + + + +ThreadGroupGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.threads.gui +
+Class ThreadGroupGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.threads.gui.AbstractThreadGroupGui
+                          extended by org.apache.jmeter.threads.gui.ThreadGroupGui
+
+
+
All Implemented Interfaces:
ItemListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
Direct Known Subclasses:
PostThreadGroupGui, SetupThreadGroupGui
+
+
+
+
public class ThreadGroupGui
extends AbstractThreadGroupGui
implements ItemListener
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + + + + +
+Constructor Summary
ThreadGroupGui() + +
+           
ThreadGroupGui(boolean showDelayedStart) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclearGui() + +
+          Provides a default implementation that resets the name field to the value of + getStaticLabel(), reset comment and sets enabled to true.
+ voidconfigure(TestElement tg) + +
+          A newly created gui component can be initialized with the contents of a + Test Element object by calling this method.
+ TestElementcreateTestElement() + +
+          JMeter test components are separated into a model and a GUI + representation.
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ voiditemStateChanged(ItemEvent ie) + +
+           
+ voidmodifyTestElement(TestElement tg) + +
+          Modifies a given TestElement to mirror the data in the gui components.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.threads.gui.AbstractThreadGroupGui
configureTestElement, createPopupMenu, getMenuCategories, getPreferredSize
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ThreadGroupGui

+
+public ThreadGroupGui()
+
+
+
+ +

+ThreadGroupGui

+
+public ThreadGroupGui(boolean showDelayedStart)
+
+
+ + + + + + + + +
+Method Detail
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
Description copied from interface: JMeterGUIComponent
+
JMeter test components are separated into a model and a GUI + representation. The model holds the data and the GUI displays it. The GUI + class is responsible for knowing how to create and initialize with data + the model class that it knows how to display, and this method is called + when new test elements are created. +

+

+
Specified by:
createTestElement in interface JMeterGUIComponent
+
+
+ +
Returns:
the Test Element object that the GUI component represents.
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement tg)
+
+
Modifies a given TestElement to mirror the data in the gui components. +

+

+
Specified by:
modifyTestElement in interface JMeterGUIComponent
+
+
+
Parameters:
tg - the TestElement to modify
See Also:
JMeterGUIComponent.modifyTestElement(TestElement)
+
+
+
+ +

+configure

+
+public void configure(TestElement tg)
+
+
Description copied from class: AbstractJMeterGuiComponent
+
A newly created gui component can be initialized with the contents of a + Test Element object by calling this method. The component is responsible + for querying the Test Element object for the relevant information to + display in its GUI. +

+ AbstractJMeterGuiComponent provides a partial implementation of this + method, setting the name of the component and its enabled status. + Subclasses should override this method, performing their own + configuration as needed, but also calling this super-implementation. +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class AbstractThreadGroupGui
+
+
+
Parameters:
tg - the TestElement to configure
+
+
+
+ +

+itemStateChanged

+
+public void itemStateChanged(ItemEvent ie)
+
+
+
Specified by:
itemStateChanged in interface ItemListener
+
+
+
+
+
+
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+
Specified by:
getLabelResource in interface JMeterGUIComponent
+
+
+ +
Returns:
the resource name
+
+
+
+ +

+clearGui

+
+public void clearGui()
+
+
Description copied from class: AbstractJMeterGuiComponent
+
Provides a default implementation that resets the name field to the value of + getStaticLabel(), reset comment and sets enabled to true. Your GUI may need more things + cleared, in which case you should override, clear the extra fields, and + still call super.clearGui(). +

+

+
Specified by:
clearGui in interface ClearGui
Overrides:
clearGui in class AbstractThreadGroupGui
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/threads/gui/package-frame.html b/docs/api/org/apache/jmeter/threads/gui/package-frame.html new file mode 100644 index 00000000000..128cdc76d9f --- /dev/null +++ b/docs/api/org/apache/jmeter/threads/gui/package-frame.html @@ -0,0 +1,36 @@ + + + + + +org.apache.jmeter.threads.gui (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.threads.gui + + + + +
+Classes  + +
+AbstractThreadGroupGui +
+PostThreadGroupGui +
+SetupThreadGroupGui +
+ThreadGroupGui
+ + + + diff --git a/docs/api/org/apache/jmeter/threads/gui/package-summary.html b/docs/api/org/apache/jmeter/threads/gui/package-summary.html new file mode 100644 index 00000000000..6217f2b83f5 --- /dev/null +++ b/docs/api/org/apache/jmeter/threads/gui/package-summary.html @@ -0,0 +1,165 @@ + + + + + +org.apache.jmeter.threads.gui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.threads.gui +

+ + + + + + + + + + + + + + + + + + + + + +
+Class Summary
AbstractThreadGroupGui 
PostThreadGroupGui 
SetupThreadGroupGui 
ThreadGroupGui 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/threads/gui/package-tree.html b/docs/api/org/apache/jmeter/threads/gui/package-tree.html new file mode 100644 index 00000000000..75e240d47d4 --- /dev/null +++ b/docs/api/org/apache/jmeter/threads/gui/package-tree.html @@ -0,0 +1,170 @@ + + + + + +org.apache.jmeter.threads.gui Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.threads.gui +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/threads/package-frame.html b/docs/api/org/apache/jmeter/threads/package-frame.html new file mode 100644 index 00000000000..51d57dcbdba --- /dev/null +++ b/docs/api/org/apache/jmeter/threads/package-frame.html @@ -0,0 +1,77 @@ + + + + + +org.apache.jmeter.threads (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.threads + + + + +
+Interfaces  + +
+JMeterThreadMonitor +
+RemoteThreadsLifeCycleListener +
+RemoteThreadsListener +
+TestCompilerHelper
+ + + + + + +
+Classes  + +
+AbstractThreadGroup +
+FindTestElementsUpToRootTraverser +
+JMeterContext +
+JMeterContextService +
+JMeterContextService.ThreadCounts +
+JMeterThread +
+JMeterVariables +
+ListenerNotifier +
+PostThreadGroup +
+RemoteThreadsListenerImpl +
+RemoteThreadsListenerTestElement +
+RemoteThreadsListenerWrapper +
+SamplePackage +
+SetupThreadGroup +
+TestCompiler +
+ThreadGroup
+ + + + diff --git a/docs/api/org/apache/jmeter/threads/package-summary.html b/docs/api/org/apache/jmeter/threads/package-summary.html new file mode 100644 index 00000000000..c5df5ff64d0 --- /dev/null +++ b/docs/api/org/apache/jmeter/threads/package-summary.html @@ -0,0 +1,250 @@ + + + + + +org.apache.jmeter.threads (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.threads +

+ + + + + + + + + + + + + + + + + + + + + +
+Interface Summary
JMeterThreadMonitor 
RemoteThreadsLifeCycleListenerInterface notified when number of active threads changes
RemoteThreadsListenerRMI Interface that allows notification of remote start/end of threads
TestCompilerHelperBug 53796 - TestCompiler uses static Set which can grow huge + + This interface is a means to allow the pair data to be saved with the parent + instance, thus allowing it to be garbage collected when the thread completes.
+  + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
AbstractThreadGroupThreadGroup holds the settings for a JMeter thread group.
FindTestElementsUpToRootTraverserHashTreeTraverser implementation that stores in a Stack all + the Test Elements on the path to a particular node.
JMeterContextHolds context for a thread.
JMeterContextServiceProvides context service for JMeter threads.
JMeterContextService.ThreadCounts 
JMeterThreadThe JMeter interface to the sampling process, allowing JMeter to see the + timing, add listeners for sampling events and to stop the sampling process.
JMeterVariablesClass which defines JMeter variables.
ListenerNotifierProcesses sample events.
PostThreadGroupPostThreadGroup is a special type of ThreadGroup that can be used for + performing actions at the end of a test for cleanup and such.
RemoteThreadsListenerImplRMI Implementation, client side code (ie executed on Controller)
RemoteThreadsListenerTestElementEmpty implementation only used to be able to do replacement by ConvertListeners
RemoteThreadsListenerWrapperserver side wrapper, used to notify RMI client
SamplePackagePackages methods related to sample handling.
SetupThreadGroupSetupThreadGroup.java is a special type of ThreadGroup that can be used for + setting up of a test before the bulk of the test executes later.
TestCompilerHashTreeTraverser implementation that traverses the Test Tree to build: + + A map with key Sampler and as value the associated SamplePackage + A map with key TransactionController and as value the associated SamplePackage +
ThreadGroupThreadGroup holds the settings for a JMeter thread group.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/threads/package-tree.html b/docs/api/org/apache/jmeter/threads/package-tree.html new file mode 100644 index 00000000000..3add2ceb75c --- /dev/null +++ b/docs/api/org/apache/jmeter/threads/package-tree.html @@ -0,0 +1,177 @@ + + + + + +org.apache.jmeter.threads Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.threads +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/timers/BSFTimer.html b/docs/api/org/apache/jmeter/timers/BSFTimer.html new file mode 100644 index 00000000000..e2ccbd91d0d --- /dev/null +++ b/docs/api/org/apache/jmeter/timers/BSFTimer.html @@ -0,0 +1,318 @@ + + + + + +BSFTimer (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.timers +
+Class BSFTimer

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.util.ScriptingTestElement
+          extended by org.apache.jmeter.util.BSFTestElement
+              extended by org.apache.jmeter.timers.BSFTimer
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Searchable, TestBean, TestElement, Timer
+
+
+
+
public class BSFTimer
extends BSFTestElement
implements Cloneable, Timer, TestBean
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.util.ScriptingTestElement
scriptLanguage
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
BSFTimer() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ longdelay() + +
+          This method is called after a sampling process is done to know how much + time the sampling thread has to wait until sampling again.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.util.BSFTestElement
evalFileOrScript, getManager, getScriptLanguage, initManager, processFileOrScript, setScriptLanguage
+ + + + + + + +
Methods inherited from class org.apache.jmeter.util.ScriptingTestElement
getFilename, getParameters, getScript, setFilename, setParameters, setScript
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+BSFTimer

+
+public BSFTimer()
+
+
+ + + + + + + + +
+Method Detail
+ +

+delay

+
+public long delay()
+
+
This method is called after a sampling process is done to know how much + time the sampling thread has to wait until sampling again. +

+

+
Specified by:
delay in interface Timer
+
+
+ +
Returns:
the computed delay value.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/timers/BSFTimerBeanInfo.html b/docs/api/org/apache/jmeter/timers/BSFTimerBeanInfo.html new file mode 100644 index 00000000000..2652b114796 --- /dev/null +++ b/docs/api/org/apache/jmeter/timers/BSFTimerBeanInfo.html @@ -0,0 +1,272 @@ + + + + + +BSFTimerBeanInfo (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.timers +
+Class BSFTimerBeanInfo

+
+java.lang.Object
+  extended by java.beans.SimpleBeanInfo
+      extended by org.apache.jmeter.testbeans.BeanInfoSupport
+          extended by org.apache.jmeter.util.ScriptingBeanInfoSupport
+              extended by org.apache.jmeter.util.BSFBeanInfoSupport
+                  extended by org.apache.jmeter.timers.BSFTimerBeanInfo
+
+
+
All Implemented Interfaces:
BeanInfo
+
+
+
+
public class BSFTimerBeanInfo
extends BSFBeanInfoSupport
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.testbeans.BeanInfoSupport
DEFAULT, MULTILINE, NOT_EXPRESSION, NOT_OTHER, NOT_UNDEFINED, RESOURCE_BUNDLE, TAGS, TEXT_LANGUAGE
+ + + + + + + +
Fields inherited from interface java.beans.BeanInfo
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32
+  + + + + + + + + + + +
+Constructor Summary
BSFTimerBeanInfo() + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testbeans.BeanInfoSupport
createPropertyGroup, getAdditionalBeanInfo, getBeanDescriptor, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getIcon, getMethodDescriptors, getPropertyDescriptors, property, property, property, setIcon
+ + + + + + + +
Methods inherited from class java.beans.SimpleBeanInfo
loadImage
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+BSFTimerBeanInfo

+
+public BSFTimerBeanInfo()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/timers/BeanShellTimer.html b/docs/api/org/apache/jmeter/timers/BeanShellTimer.html new file mode 100644 index 00000000000..7d0b8549490 --- /dev/null +++ b/docs/api/org/apache/jmeter/timers/BeanShellTimer.html @@ -0,0 +1,321 @@ + + + + + +BeanShellTimer (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.timers +
+Class BeanShellTimer

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.util.BeanShellTestElement
+          extended by org.apache.jmeter.timers.BeanShellTimer
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Searchable, TestBean, TestElement, TestStateListener, ThreadListener, Timer
+
+
+
+
public class BeanShellTimer
extends BeanShellTestElement
implements Cloneable, Timer, TestBean
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
BeanShellTimer() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ longdelay() + +
+          This method is called after a sampling process is done to know how much + time the sampling thread has to wait until sampling again.
+protected  StringgetInitFileProperty() + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.util.BeanShellTestElement
clone, getBeanShellInterpreter, getFilename, getParameters, getScript, isResetInterpreter, processFileOrScript, readResolve, setFilename, setParameters, setResetInterpreter, setScript, testEnded, testEnded, testStarted, testStarted, threadFinished, threadStarted
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+BeanShellTimer

+
+public BeanShellTimer()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getInitFileProperty

+
+protected String getInitFileProperty()
+
+
+
Specified by:
getInitFileProperty in class BeanShellTestElement
+
+
+
+
+
+
+ +

+delay

+
+public long delay()
+
+
This method is called after a sampling process is done to know how much + time the sampling thread has to wait until sampling again. +

+

+
Specified by:
delay in interface Timer
+
+
+ +
Returns:
the computed delay value.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/timers/BeanShellTimerBeanInfo.html b/docs/api/org/apache/jmeter/timers/BeanShellTimerBeanInfo.html new file mode 100644 index 00000000000..315463bdb3a --- /dev/null +++ b/docs/api/org/apache/jmeter/timers/BeanShellTimerBeanInfo.html @@ -0,0 +1,271 @@ + + + + + +BeanShellTimerBeanInfo (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.timers +
+Class BeanShellTimerBeanInfo

+
+java.lang.Object
+  extended by java.beans.SimpleBeanInfo
+      extended by org.apache.jmeter.testbeans.BeanInfoSupport
+          extended by org.apache.jmeter.util.BeanShellBeanInfoSupport
+              extended by org.apache.jmeter.timers.BeanShellTimerBeanInfo
+
+
+
All Implemented Interfaces:
BeanInfo
+
+
+
+
public class BeanShellTimerBeanInfo
extends BeanShellBeanInfoSupport
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.testbeans.BeanInfoSupport
DEFAULT, MULTILINE, NOT_EXPRESSION, NOT_OTHER, NOT_UNDEFINED, RESOURCE_BUNDLE, TAGS, TEXT_LANGUAGE
+ + + + + + + +
Fields inherited from interface java.beans.BeanInfo
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32
+  + + + + + + + + + + +
+Constructor Summary
BeanShellTimerBeanInfo() + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testbeans.BeanInfoSupport
createPropertyGroup, getAdditionalBeanInfo, getBeanDescriptor, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getIcon, getMethodDescriptors, getPropertyDescriptors, property, property, property, setIcon
+ + + + + + + +
Methods inherited from class java.beans.SimpleBeanInfo
loadImage
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+BeanShellTimerBeanInfo

+
+public BeanShellTimerBeanInfo()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/timers/ConstantThroughputTimer.Mode.html b/docs/api/org/apache/jmeter/timers/ConstantThroughputTimer.Mode.html new file mode 100644 index 00000000000..bd6c5f81107 --- /dev/null +++ b/docs/api/org/apache/jmeter/timers/ConstantThroughputTimer.Mode.html @@ -0,0 +1,395 @@ + + + + + +ConstantThroughputTimer.Mode (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.timers +
+Enum ConstantThroughputTimer.Mode

+
+java.lang.Object
+  extended by java.lang.Enum<ConstantThroughputTimer.Mode>
+      extended by org.apache.jmeter.timers.ConstantThroughputTimer.Mode
+
+
+
All Implemented Interfaces:
Serializable, Comparable<ConstantThroughputTimer.Mode>
+
+
+
Enclosing class:
ConstantThroughputTimer
+
+
+
+
public static enum ConstantThroughputTimer.Mode
extends Enum<ConstantThroughputTimer.Mode>
+ + +

+This enum defines the calculation modes used by the ConstantThroughputTimer. +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + +
+Enum Constant Summary
AllActiveThreads + +
+           
AllActiveThreads_Shared + +
+           
AllActiveThreadsInCurrentThreadGroup + +
+           
AllActiveThreadsInCurrentThreadGroup_Shared + +
+           
ThisThreadOnly + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringtoString() + +
+           
+static ConstantThroughputTimer.ModevalueOf(String name) + +
+          Returns the enum constant of this type with the specified name.
+static ConstantThroughputTimer.Mode[]values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+ + + + + + + +
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
+ + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Enum Constant Detail
+ +

+ThisThreadOnly

+
+public static final ConstantThroughputTimer.Mode ThisThreadOnly
+
+
+
+
+
+ +

+AllActiveThreads

+
+public static final ConstantThroughputTimer.Mode AllActiveThreads
+
+
+
+
+
+ +

+AllActiveThreadsInCurrentThreadGroup

+
+public static final ConstantThroughputTimer.Mode AllActiveThreadsInCurrentThreadGroup
+
+
+
+
+
+ +

+AllActiveThreads_Shared

+
+public static final ConstantThroughputTimer.Mode AllActiveThreads_Shared
+
+
+
+
+
+ +

+AllActiveThreadsInCurrentThreadGroup_Shared

+
+public static final ConstantThroughputTimer.Mode AllActiveThreadsInCurrentThreadGroup_Shared
+
+
+
+
+ + + + + + + + +
+Method Detail
+ +

+values

+
+public static ConstantThroughputTimer.Mode[] values()
+
+
Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
+for (ConstantThroughputTimer.Mode c : ConstantThroughputTimer.Mode.values())
+    System.out.println(c);
+
+

+

+ +
Returns:
an array containing the constants of this enum type, in +the order they are declared
+
+
+
+ +

+valueOf

+
+public static ConstantThroughputTimer.Mode valueOf(String name)
+
+
Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.) +

+

+
Parameters:
name - the name of the enum constant to be returned. +
Returns:
the enum constant with the specified name +
Throws: +
IllegalArgumentException - if this enum type has no constant +with the specified name +
NullPointerException - if the argument is null
+
+
+
+ +

+toString

+
+public String toString()
+
+
+
Overrides:
toString in class Enum<ConstantThroughputTimer.Mode>
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/timers/ConstantThroughputTimer.html b/docs/api/org/apache/jmeter/timers/ConstantThroughputTimer.html new file mode 100644 index 00000000000..a7fe79a265b --- /dev/null +++ b/docs/api/org/apache/jmeter/timers/ConstantThroughputTimer.html @@ -0,0 +1,641 @@ + + + + + +ConstantThroughputTimer (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.timers +
+Class ConstantThroughputTimer

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.timers.ConstantThroughputTimer
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Searchable, TestBean, TestElement, TestStateListener, Timer
+
+
+
+
public class ConstantThroughputTimer
extends AbstractTestElement
implements Timer, TestStateListener, TestBean
+ + +

+This class implements a constant throughput timer. A Constant Throughtput + Timer paces the samplers under its influence so that the total number of + samples per unit of time approaches a given constant as much as possible. + + There are two different ways of pacing the requests: + - delay each thread according to when it last ran + - delay each thread according to when any thread last ran +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Nested Class Summary
+static classConstantThroughputTimer.Mode + +
+          This enum defines the calculation modes used by the ConstantThroughputTimer.
+ + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
ConstantThroughputTimer() + +
+          Constructor for a non-configured ConstantThroughputTimer.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+protected  longcalculateCurrentTarget(long currentTime) + +
+          Calculate the target time by adding the result of private method + calculateDelay() to the given currentTime
+ longdelay() + +
+          Retrieve the delay to use during test execution.
+ intgetCalcMode() + +
+           
+ doublegetThroughput() + +
+          Gets the configured desired throughput.
+ voidsetCalcMode(int mode) + +
+           
+ voidsetProperty(JMeterProperty property) + +
+          Override the setProperty method in order to convert + the original String calcMode property.
+ voidsetThroughput(double throughput) + +
+          Sets the desired throughput.
+ voidtestEnded() + +
+           + Called once for all threads after the end of a test.
+ voidtestEnded(String host) + +
+           + Called once for all threads after the end of a test.
+ voidtestStarted() + +
+          Get the timer ready to compute delays for a new test.
+ voidtestStarted(String host) + +
+           + Called just before the start of the test from the main engine thread.
+ StringtoString() + +
+          Provide a description of this timer class.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ConstantThroughputTimer

+
+public ConstantThroughputTimer()
+
+
Constructor for a non-configured ConstantThroughputTimer. +

+

+ + + + + + + + +
+Method Detail
+ +

+setThroughput

+
+public void setThroughput(double throughput)
+
+
Sets the desired throughput. +

+

+
+
+
+
Parameters:
throughput - Desired sampling rate, in samples per minute.
+
+
+
+ +

+getThroughput

+
+public double getThroughput()
+
+
Gets the configured desired throughput. +

+

+
+
+
+ +
Returns:
the rate at which samples should occur, in samples per minute.
+
+
+
+ +

+getCalcMode

+
+public int getCalcMode()
+
+
+
+
+
+
+
+
+
+ +

+setCalcMode

+
+public void setCalcMode(int mode)
+
+
+
+
+
+
+
+
+
+ +

+delay

+
+public long delay()
+
+
Retrieve the delay to use during test execution. +

+

+
Specified by:
delay in interface Timer
+
+
+ +
Returns:
the computed delay value.
See Also:
Timer.delay()
+
+
+
+ +

+calculateCurrentTarget

+
+protected long calculateCurrentTarget(long currentTime)
+
+
Calculate the target time by adding the result of private method + calculateDelay() to the given currentTime +

+

+
+
+
+
Parameters:
currentTime - time in ms +
Returns:
new Target time
+
+
+
+ +

+toString

+
+public String toString()
+
+
Provide a description of this timer class. + + TODO: Is this ever used? I can't remember where. Remove if it isn't -- + TODO: or obtain text from bean's displayName or shortDescription. +

+

+
Overrides:
toString in class Object
+
+
+ +
Returns:
the description of this timer class.
+
+
+
+ +

+testStarted

+
+public void testStarted()
+
+
Get the timer ready to compute delays for a new test. +

+

+ Called just before the start of the test from the main engine thread. + + This is before the test elements are cloned. + + Note that not all the test + variables will have been set up at this point. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testStarted in interface TestStateListener
+
+
+
See Also:
StandardJMeterEngine.run()
+
+
+
+ +

+setProperty

+
+public void setProperty(JMeterProperty property)
+
+
Override the setProperty method in order to convert + the original String calcMode property. + This used the locale-dependent display value, so caused + problems when the language was changed. + Note that the calcMode StringProperty is replaced with an IntegerProperty + so the conversion only needs to happen once. +

+

+
Specified by:
setProperty in interface TestElement
Overrides:
setProperty in class AbstractTestElement
+
+
+
Parameters:
property - the property to be set
+
+
+
+ +

+testEnded

+
+public void testEnded()
+
+

+ Called once for all threads after the end of a test. + + This will use the same element instances as at the start of the test. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testEnded in interface TestStateListener
+
+
+
See Also:
StandardJMeterEngine.stopTest()
+
+
+
+ +

+testStarted

+
+public void testStarted(String host)
+
+

+ Called just before the start of the test from the main engine thread. + + This is before the test elements are cloned. + + Note that not all the test + variables will have been set up at this point. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testStarted in interface TestStateListener
+
+
+
Parameters:
host - name of host
See Also:
StandardJMeterEngine.run()
+
+
+
+ +

+testEnded

+
+public void testEnded(String host)
+
+

+ Called once for all threads after the end of a test. + + This will use the same element instances as at the start of the test. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testEnded in interface TestStateListener
+
+
+
Parameters:
host - name of host
See Also:
StandardJMeterEngine.stopTest()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/timers/ConstantThroughputTimerBeanInfo.html b/docs/api/org/apache/jmeter/timers/ConstantThroughputTimerBeanInfo.html new file mode 100644 index 00000000000..3b614b77975 --- /dev/null +++ b/docs/api/org/apache/jmeter/timers/ConstantThroughputTimerBeanInfo.html @@ -0,0 +1,274 @@ + + + + + +ConstantThroughputTimerBeanInfo (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.timers +
+Class ConstantThroughputTimerBeanInfo

+
+java.lang.Object
+  extended by java.beans.SimpleBeanInfo
+      extended by org.apache.jmeter.testbeans.BeanInfoSupport
+          extended by org.apache.jmeter.timers.ConstantThroughputTimerBeanInfo
+
+
+
All Implemented Interfaces:
BeanInfo
+
+
+
+
public class ConstantThroughputTimerBeanInfo
extends BeanInfoSupport
+ + +

+BeanInfo for the ConstantThroughputTimer. +

+ +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.testbeans.BeanInfoSupport
DEFAULT, MULTILINE, NOT_EXPRESSION, NOT_OTHER, NOT_UNDEFINED, RESOURCE_BUNDLE, TAGS, TEXT_LANGUAGE
+ + + + + + + +
Fields inherited from interface java.beans.BeanInfo
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32
+  + + + + + + + + + + +
+Constructor Summary
ConstantThroughputTimerBeanInfo() + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testbeans.BeanInfoSupport
createPropertyGroup, getAdditionalBeanInfo, getBeanDescriptor, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getIcon, getMethodDescriptors, getPropertyDescriptors, property, property, property, setIcon
+ + + + + + + +
Methods inherited from class java.beans.SimpleBeanInfo
loadImage
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ConstantThroughputTimerBeanInfo

+
+public ConstantThroughputTimerBeanInfo()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/timers/ConstantTimer.html b/docs/api/org/apache/jmeter/timers/ConstantTimer.html new file mode 100644 index 00000000000..c4d8fd5e36a --- /dev/null +++ b/docs/api/org/apache/jmeter/timers/ConstantTimer.html @@ -0,0 +1,471 @@ + + + + + +ConstantTimer (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.timers +
+Class ConstantTimer

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.timers.ConstantTimer
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, LoopIterationListener, Searchable, TestElement, Timer
+
+
+
Direct Known Subclasses:
RandomTimer
+
+
+
+
public class ConstantTimer
extends AbstractTestElement
implements Timer, Serializable, LoopIterationListener
+ + +

+This class implements a constant timer with its own panel and fields for + value update and user interaction. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Field Summary
+static StringDELAY + +
+           
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
ConstantTimer() + +
+          No-arg constructor.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ longdelay() + +
+          Retrieve the delay to use during test execution.
+ StringgetDelay() + +
+          Get the delay value for display.
+ doublegetRange() + +
+          Retrieve the range (not used for this timer).
+ voiditerationStart(LoopIterationEvent event) + +
+          Gain access to any variables that have been defined.
+ voidsetDelay(String delay) + +
+          Set the delay for this timer.
+ voidsetRange(double range) + +
+          Set the range (not used for this timer).
+ StringtoString() + +
+          Provide a description of this timer class.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+DELAY

+
+public static final String DELAY
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+ConstantTimer

+
+public ConstantTimer()
+
+
No-arg constructor. +

+

+ + + + + + + + +
+Method Detail
+ +

+setDelay

+
+public void setDelay(String delay)
+
+
Set the delay for this timer. +

+

+
+
+
+
Parameters:
delay - The delay for this timer
+
+
+
+ +

+setRange

+
+public void setRange(double range)
+
+
Set the range (not used for this timer). +

+

+
+
+
+
Parameters:
range - Not used
+
+
+
+ +

+getDelay

+
+public String getDelay()
+
+
Get the delay value for display. +

+

+
+
+
+ +
Returns:
the delay value for display.
+
+
+
+ +

+getRange

+
+public double getRange()
+
+
Retrieve the range (not used for this timer). +

+

+
+
+
+ +
Returns:
the range (always zero for this timer).
+
+
+
+ +

+delay

+
+public long delay()
+
+
Retrieve the delay to use during test execution. +

+

+
Specified by:
delay in interface Timer
+
+
+ +
Returns:
the delay.
+
+
+
+ +

+toString

+
+public String toString()
+
+
Provide a description of this timer class. +

+

+
Overrides:
toString in class Object
+
+
+ +
Returns:
the description of this timer class.
+
+
+
+ +

+iterationStart

+
+public void iterationStart(LoopIterationEvent event)
+
+
Gain access to any variables that have been defined. +

+

+
Specified by:
iterationStart in interface LoopIterationListener
+
+
+
Parameters:
event - the event
See Also:
LoopIterationListener.iterationStart(LoopIterationEvent)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/timers/GaussianRandomTimer.html b/docs/api/org/apache/jmeter/timers/GaussianRandomTimer.html new file mode 100644 index 00000000000..fdb5712478c --- /dev/null +++ b/docs/api/org/apache/jmeter/timers/GaussianRandomTimer.html @@ -0,0 +1,358 @@ + + + + + +GaussianRandomTimer (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.timers +
+Class GaussianRandomTimer

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.timers.ConstantTimer
+          extended by org.apache.jmeter.timers.RandomTimer
+              extended by org.apache.jmeter.timers.GaussianRandomTimer
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, LoopIterationListener, Searchable, TestElement, Timer
+
+
+
+
public class GaussianRandomTimer
extends RandomTimer
implements Serializable
+ + +

+This class implements those methods needed by RandomTimer to be instantiable + and implements a random delay with an average value and a gaussian + distributed variation. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.timers.RandomTimer
random, RANGE
+ + + + + + + +
Fields inherited from class org.apache.jmeter.timers.ConstantTimer
DELAY
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
GaussianRandomTimer() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ longdelay() + +
+          Retrieve the delay to use during test execution.
+ StringtoString() + +
+          Provide a description of this timer class.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.timers.RandomTimer
getRange, setRange, setRange
+ + + + + + + +
Methods inherited from class org.apache.jmeter.timers.ConstantTimer
getDelay, iterationStart, setDelay
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+GaussianRandomTimer

+
+public GaussianRandomTimer()
+
+
+ + + + + + + + +
+Method Detail
+ +

+delay

+
+public long delay()
+
+
Description copied from class: ConstantTimer
+
Retrieve the delay to use during test execution. +

+

+
Specified by:
delay in interface Timer
Overrides:
delay in class ConstantTimer
+
+
+ +
Returns:
the delay.
+
+
+
+ +

+toString

+
+public String toString()
+
+
Description copied from class: ConstantTimer
+
Provide a description of this timer class. +

+

+
Overrides:
toString in class ConstantTimer
+
+
+ +
Returns:
the description of this timer class.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/timers/JSR223Timer.html b/docs/api/org/apache/jmeter/timers/JSR223Timer.html new file mode 100644 index 00000000000..6551e121ada --- /dev/null +++ b/docs/api/org/apache/jmeter/timers/JSR223Timer.html @@ -0,0 +1,318 @@ + + + + + +JSR223Timer (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.timers +
+Class JSR223Timer

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.util.ScriptingTestElement
+          extended by org.apache.jmeter.util.JSR223TestElement
+              extended by org.apache.jmeter.timers.JSR223Timer
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Searchable, TestBean, TestElement, TestStateListener, Timer
+
+
+
+
public class JSR223Timer
extends JSR223TestElement
implements Cloneable, Timer, TestBean
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.util.ScriptingTestElement
scriptLanguage
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
JSR223Timer() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ longdelay() + +
+          This method is called after a sampling process is done to know how much + time the sampling thread has to wait until sampling again.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.util.JSR223TestElement
getCacheKey, getInstance, getScriptEngine, getScriptLanguage, populateBindings, processFileOrScript, setCacheKey, setScriptLanguage, testEnded, testEnded, testStarted, testStarted
+ + + + + + + +
Methods inherited from class org.apache.jmeter.util.ScriptingTestElement
getFilename, getParameters, getScript, setFilename, setParameters, setScript
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+JSR223Timer

+
+public JSR223Timer()
+
+
+ + + + + + + + +
+Method Detail
+ +

+delay

+
+public long delay()
+
+
This method is called after a sampling process is done to know how much + time the sampling thread has to wait until sampling again. +

+

+
Specified by:
delay in interface Timer
+
+
+ +
Returns:
the computed delay value.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/timers/JSR223TimerBeanInfo.html b/docs/api/org/apache/jmeter/timers/JSR223TimerBeanInfo.html new file mode 100644 index 00000000000..d235aca1228 --- /dev/null +++ b/docs/api/org/apache/jmeter/timers/JSR223TimerBeanInfo.html @@ -0,0 +1,281 @@ + + + + + +JSR223TimerBeanInfo (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.timers +
+Class JSR223TimerBeanInfo

+
+java.lang.Object
+  extended by java.beans.SimpleBeanInfo
+      extended by org.apache.jmeter.testbeans.BeanInfoSupport
+          extended by org.apache.jmeter.util.ScriptingBeanInfoSupport
+              extended by org.apache.jmeter.util.JSR223BeanInfoSupport
+                  extended by org.apache.jmeter.timers.JSR223TimerBeanInfo
+
+
+
All Implemented Interfaces:
BeanInfo
+
+
+
+
public class JSR223TimerBeanInfo
extends JSR223BeanInfoSupport
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.util.JSR223BeanInfoSupport
LANGUAGE_NAMES
+ + + + + + + +
Fields inherited from class org.apache.jmeter.testbeans.BeanInfoSupport
DEFAULT, MULTILINE, NOT_EXPRESSION, NOT_OTHER, NOT_UNDEFINED, RESOURCE_BUNDLE, TAGS, TEXT_LANGUAGE
+ + + + + + + +
Fields inherited from interface java.beans.BeanInfo
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32
+  + + + + + + + + + + +
+Constructor Summary
JSR223TimerBeanInfo() + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testbeans.BeanInfoSupport
createPropertyGroup, getAdditionalBeanInfo, getBeanDescriptor, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getIcon, getMethodDescriptors, getPropertyDescriptors, property, property, property, setIcon
+ + + + + + + +
Methods inherited from class java.beans.SimpleBeanInfo
loadImage
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+JSR223TimerBeanInfo

+
+public JSR223TimerBeanInfo()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/timers/PoissonRandomTimer.html b/docs/api/org/apache/jmeter/timers/PoissonRandomTimer.html new file mode 100644 index 00000000000..83f22244729 --- /dev/null +++ b/docs/api/org/apache/jmeter/timers/PoissonRandomTimer.html @@ -0,0 +1,356 @@ + + + + + +PoissonRandomTimer (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.timers +
+Class PoissonRandomTimer

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.timers.ConstantTimer
+          extended by org.apache.jmeter.timers.RandomTimer
+              extended by org.apache.jmeter.timers.PoissonRandomTimer
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, LoopIterationListener, Searchable, TestElement, Timer
+
+
+
+
public class PoissonRandomTimer
extends RandomTimer
implements Serializable
+ + +

+This class implements those methods needed by RandomTimer to be instantiable + and implements a random delay with an average value and a Poisson + distributed variation. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.timers.RandomTimer
random, RANGE
+ + + + + + + +
Fields inherited from class org.apache.jmeter.timers.ConstantTimer
DELAY
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
PoissonRandomTimer() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ longdelay() + +
+          Retrieve the delay to use during test execution.
+ StringtoString() + +
+          Provide a description of this timer class.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.timers.RandomTimer
getRange, setRange, setRange
+ + + + + + + +
Methods inherited from class org.apache.jmeter.timers.ConstantTimer
getDelay, iterationStart, setDelay
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+PoissonRandomTimer

+
+public PoissonRandomTimer()
+
+
+ + + + + + + + +
+Method Detail
+ +

+delay

+
+public long delay()
+
+
Retrieve the delay to use during test execution. +

+

+
Specified by:
delay in interface Timer
Overrides:
delay in class ConstantTimer
+
+
+ +
Returns:
the delay.
+
+
+
+ +

+toString

+
+public String toString()
+
+
Provide a description of this timer class. +

+

+
Overrides:
toString in class ConstantTimer
+
+
+ +
Returns:
the description of this timer class.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/timers/RandomTimer.html b/docs/api/org/apache/jmeter/timers/RandomTimer.html new file mode 100644 index 00000000000..573b2be5c4e --- /dev/null +++ b/docs/api/org/apache/jmeter/timers/RandomTimer.html @@ -0,0 +1,417 @@ + + + + + +RandomTimer (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.timers +
+Class RandomTimer

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.timers.ConstantTimer
+          extended by org.apache.jmeter.timers.RandomTimer
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, LoopIterationListener, Searchable, TestElement, Timer
+
+
+
Direct Known Subclasses:
GaussianRandomTimer, PoissonRandomTimer, UniformRandomTimer
+
+
+
+
public abstract class RandomTimer
extends ConstantTimer
implements Timer, Serializable
+ + +

+This class implements a random timer with its own panel and fields for value + update and user interaction. Since this class does not define the delay() + method, is abstract and must be extended to provide full functionality. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + +
+Field Summary
+protected  Randomrandom + +
+           
+static StringRANGE + +
+           
+ + + + + + + +
Fields inherited from class org.apache.jmeter.timers.ConstantTimer
DELAY
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
RandomTimer() + +
+          No-arg constructor.
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ doublegetRange() + +
+          Get the range value.
+ voidsetRange(double range) + +
+          Set the range value.
+ voidsetRange(String range) + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.timers.ConstantTimer
delay, getDelay, iterationStart, setDelay, toString
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.timers.Timer
delay
+  +

+ + + + + + + + +
+Field Detail
+ +

+RANGE

+
+public static final String RANGE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+random

+
+protected final Random random
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+RandomTimer

+
+public RandomTimer()
+
+
No-arg constructor. +

+

+ + + + + + + + +
+Method Detail
+ +

+setRange

+
+public void setRange(double range)
+
+
Set the range value. +

+

+
Overrides:
setRange in class ConstantTimer
+
+
+
Parameters:
range - Not used
+
+
+
+ +

+setRange

+
+public void setRange(String range)
+
+
+
+
+
+
+
+
+
+ +

+getRange

+
+public double getRange()
+
+
Get the range value. +

+

+
Overrides:
getRange in class ConstantTimer
+
+
+ +
Returns:
double
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/timers/SyncTimer.html b/docs/api/org/apache/jmeter/timers/SyncTimer.html new file mode 100644 index 00000000000..1d03c90f1c1 --- /dev/null +++ b/docs/api/org/apache/jmeter/timers/SyncTimer.html @@ -0,0 +1,586 @@ + + + + + +SyncTimer (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.timers +
+Class SyncTimer

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.timers.SyncTimer
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Searchable, TestBean, TestElement, TestStateListener, ThreadListener, Timer
+
+
+
+
public class SyncTimer
extends AbstractTestElement
implements Timer, Serializable, TestBean, TestStateListener, ThreadListener
+ + +

+The purpose of the SyncTimer is to block threads until X number of threads + have been blocked, and then they are all released at once. A SyncTimer can + thus create large instant loads at various points of the test plan. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
SyncTimer() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Objectclone() + +
+          We have to control the cloning process because we need some cross-thread + communication if our synctimers are to be able to determine when to block + and when to release.
+ longdelay() + +
+          This method is called after a sampling process is done to know how much + time the sampling thread has to wait until sampling again.
+ intgetGroupSize() + +
+           
+ longgetTimeoutInMs() + +
+           
+ voidsetGroupSize(int numThreads) + +
+           
+ voidsetTimeoutInMs(long timeoutInMs) + +
+           
+ voidtestEnded() + +
+           + Called once for all threads after the end of a test.
+ voidtestEnded(String host) + +
+          Reset timerCounter
+ voidtestStarted() + +
+           + Called just before the start of the test from the main engine thread.
+ voidtestStarted(String host) + +
+          Reset timerCounter
+ voidthreadFinished() + +
+          Called for each thread after all samples have been processed.
+ voidthreadStarted() + +
+          Called for each thread before starting sampling.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SyncTimer

+
+public SyncTimer()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getGroupSize

+
+public int getGroupSize()
+
+
+
+
+
+ +
Returns:
Returns the numThreads.
+
+
+
+ +

+setGroupSize

+
+public void setGroupSize(int numThreads)
+
+
+
+
+
+
Parameters:
numThreads - The numThreads to set.
+
+
+
+ +

+delay

+
+public long delay()
+
+
This method is called after a sampling process is done to know how much + time the sampling thread has to wait until sampling again. +

+

+
Specified by:
delay in interface Timer
+
+
+ +
Returns:
the computed delay value.
+
+
+
+ +

+clone

+
+public Object clone()
+
+
We have to control the cloning process because we need some cross-thread + communication if our synctimers are to be able to determine when to block + and when to release. +

+

+
Specified by:
clone in interface TestElement
Overrides:
clone in class AbstractTestElement
+
+
+
+
+
+
+ +

+testEnded

+
+public void testEnded()
+
+

+ Called once for all threads after the end of a test. + + This will use the same element instances as at the start of the test. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testEnded in interface TestStateListener
+
+
+
See Also:
StandardJMeterEngine.stopTest()
+
+
+
+ +

+testEnded

+
+public void testEnded(String host)
+
+
Reset timerCounter +

+

+
Specified by:
testEnded in interface TestStateListener
+
+
+
Parameters:
host - name of host
See Also:
StandardJMeterEngine.stopTest()
+
+
+
+ +

+testStarted

+
+public void testStarted()
+
+

+ Called just before the start of the test from the main engine thread. + + This is before the test elements are cloned. + + Note that not all the test + variables will have been set up at this point. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testStarted in interface TestStateListener
+
+
+
See Also:
StandardJMeterEngine.run()
+
+
+
+ +

+testStarted

+
+public void testStarted(String host)
+
+
Reset timerCounter +

+

+
Specified by:
testStarted in interface TestStateListener
+
+
+
Parameters:
host - name of host
See Also:
StandardJMeterEngine.run()
+
+
+
+ +

+threadStarted

+
+public void threadStarted()
+
+
Description copied from interface: ThreadListener
+
Called for each thread before starting sampling. + WARNING: this is called before any Config test elements are processed, + so any properties they define will not have been merged in yet. +

+

+
Specified by:
threadStarted in interface ThreadListener
+
+
+
See Also:
JMeterThread.threadStarted()
+
+
+
+ +

+threadFinished

+
+public void threadFinished()
+
+
Description copied from interface: ThreadListener
+
Called for each thread after all samples have been processed. +

+

+
Specified by:
threadFinished in interface ThreadListener
+
+
+
See Also:
JMeterThread.threadFinished(org.apache.jmeter.engine.event.LoopIterationListener)
+
+
+
+ +

+getTimeoutInMs

+
+public long getTimeoutInMs()
+
+
+
+
+
+ +
Returns:
the timeoutInMs
+
+
+
+ +

+setTimeoutInMs

+
+public void setTimeoutInMs(long timeoutInMs)
+
+
+
+
+
+
Parameters:
timeoutInMs - the timeoutInMs to set
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/timers/SyncTimerBeanInfo.html b/docs/api/org/apache/jmeter/timers/SyncTimerBeanInfo.html new file mode 100644 index 00000000000..9cf76c56d4f --- /dev/null +++ b/docs/api/org/apache/jmeter/timers/SyncTimerBeanInfo.html @@ -0,0 +1,270 @@ + + + + + +SyncTimerBeanInfo (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.timers +
+Class SyncTimerBeanInfo

+
+java.lang.Object
+  extended by java.beans.SimpleBeanInfo
+      extended by org.apache.jmeter.testbeans.BeanInfoSupport
+          extended by org.apache.jmeter.timers.SyncTimerBeanInfo
+
+
+
All Implemented Interfaces:
BeanInfo
+
+
+
+
public class SyncTimerBeanInfo
extends BeanInfoSupport
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.testbeans.BeanInfoSupport
DEFAULT, MULTILINE, NOT_EXPRESSION, NOT_OTHER, NOT_UNDEFINED, RESOURCE_BUNDLE, TAGS, TEXT_LANGUAGE
+ + + + + + + +
Fields inherited from interface java.beans.BeanInfo
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32
+  + + + + + + + + + + +
+Constructor Summary
SyncTimerBeanInfo() + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testbeans.BeanInfoSupport
createPropertyGroup, getAdditionalBeanInfo, getBeanDescriptor, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getIcon, getMethodDescriptors, getPropertyDescriptors, property, property, property, setIcon
+ + + + + + + +
Methods inherited from class java.beans.SimpleBeanInfo
loadImage
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SyncTimerBeanInfo

+
+public SyncTimerBeanInfo()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/timers/Timer.html b/docs/api/org/apache/jmeter/timers/Timer.html new file mode 100644 index 00000000000..76f605ac901 --- /dev/null +++ b/docs/api/org/apache/jmeter/timers/Timer.html @@ -0,0 +1,221 @@ + + + + + +Timer (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.timers +
+Interface Timer

+
+
All Superinterfaces:
Serializable
+
+
+
All Known Implementing Classes:
BeanShellTimer, BSFTimer, ConstantThroughputTimer, ConstantTimer, GaussianRandomTimer, JSR223Timer, PoissonRandomTimer, RandomTimer, SyncTimer, UniformRandomTimer
+
+
+
+
public interface Timer
extends Serializable
+ + +

+This interface defines those methods that must be implemented by timer + plugins. +

+ +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+ longdelay() + +
+          This method is called after a sampling process is done to know how much + time the sampling thread has to wait until sampling again.
+  +

+ + + + + + + + +
+Method Detail
+ +

+delay

+
+long delay()
+
+
This method is called after a sampling process is done to know how much + time the sampling thread has to wait until sampling again. +

+

+
+
+
+ +
Returns:
the computed delay value.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/timers/UniformRandomTimer.html b/docs/api/org/apache/jmeter/timers/UniformRandomTimer.html new file mode 100644 index 00000000000..77c83635638 --- /dev/null +++ b/docs/api/org/apache/jmeter/timers/UniformRandomTimer.html @@ -0,0 +1,358 @@ + + + + + +UniformRandomTimer (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.timers +
+Class UniformRandomTimer

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.timers.ConstantTimer
+          extended by org.apache.jmeter.timers.RandomTimer
+              extended by org.apache.jmeter.timers.UniformRandomTimer
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, LoopIterationListener, Searchable, TestElement, Timer
+
+
+
+
public class UniformRandomTimer
extends RandomTimer
implements Serializable
+ + +

+This class implements those methods needed by RandomTimer to be instantiable + and implements a random delay with an average value and a uniformly + distributed variation. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.timers.RandomTimer
random, RANGE
+ + + + + + + +
Fields inherited from class org.apache.jmeter.timers.ConstantTimer
DELAY
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
UniformRandomTimer() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ longdelay() + +
+          Retrieve the delay to use during test execution.
+ StringtoString() + +
+          Provide a description of this timer class.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.timers.RandomTimer
getRange, setRange, setRange
+ + + + + + + +
Methods inherited from class org.apache.jmeter.timers.ConstantTimer
getDelay, iterationStart, setDelay
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+UniformRandomTimer

+
+public UniformRandomTimer()
+
+
+ + + + + + + + +
+Method Detail
+ +

+delay

+
+public long delay()
+
+
Description copied from class: ConstantTimer
+
Retrieve the delay to use during test execution. +

+

+
Specified by:
delay in interface Timer
Overrides:
delay in class ConstantTimer
+
+
+ +
Returns:
the delay.
+
+
+
+ +

+toString

+
+public String toString()
+
+
Description copied from class: ConstantTimer
+
Provide a description of this timer class. +

+

+
Overrides:
toString in class ConstantTimer
+
+
+ +
Returns:
the description of this timer class.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/timers/gui/AbstractRandomTimerGui.html b/docs/api/org/apache/jmeter/timers/gui/AbstractRandomTimerGui.html new file mode 100644 index 00000000000..b6c2efa8a0b --- /dev/null +++ b/docs/api/org/apache/jmeter/timers/gui/AbstractRandomTimerGui.html @@ -0,0 +1,646 @@ + + + + + +AbstractRandomTimerGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.timers.gui +
+Class AbstractRandomTimerGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.timers.gui.AbstractTimerGui
+                          extended by org.apache.jmeter.timers.gui.AbstractRandomTimerGui
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
Direct Known Subclasses:
GaussianRandomTimerGui, PoissonRandomTimerGui, UniformRandomTimerGui
+
+
+
+
public abstract class AbstractRandomTimerGui
extends AbstractTimerGui
+ + +

+Abstract Random timer GUI. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
AbstractRandomTimerGui() + +
+          No-arg constructor.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclearGui() + +
+          Provides a default implementation that resets the name field to the value of + getStaticLabel(), reset comment and sets enabled to true.
+ voidconfigure(TestElement el) + +
+          Configure this GUI component from the underlying TestElement.
+protected abstract  RandomTimercreateRandomTimer() + +
+          Create implementation of RandomTimer
+ TestElementcreateTestElement() + +
+          Create the test element underlying this GUI component.
+static voiderror(Exception e, + JComponent thrower) + +
+          Handle an error.
+protected abstract  StringgetDefaultDelay() + +
+           
+protected abstract  StringgetDefaultRange() + +
+           
+abstract  StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+protected abstract  StringgetTimerDelayLabelKey() + +
+           
+protected abstract  StringgetTimerRangeLabelKey() + +
+           
+ voidmodifyTestElement(TestElement timer) + +
+          Modifies a given TestElement to mirror the data in the gui components.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.timers.gui.AbstractTimerGui
createPopupMenu, getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+AbstractRandomTimerGui

+
+public AbstractRandomTimerGui()
+
+
No-arg constructor. +

+

+ + + + + + + + +
+Method Detail
+ +

+error

+
+public static void error(Exception e,
+                         JComponent thrower)
+
+
Handle an error. +

+

+
Parameters:
e - the Exception that was thrown.
thrower - the JComponent that threw the Exception.
+
+
+
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
Create the test element underlying this GUI component. +

+

+ +
Returns:
the Test Element object that the GUI component represents.
See Also:
JMeterGUIComponent.createTestElement()
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement timer)
+
+
Modifies a given TestElement to mirror the data in the gui components. +

+

+
Parameters:
timer - the TestElement to modify
See Also:
JMeterGUIComponent.modifyTestElement(TestElement)
+
+
+
+ +

+configure

+
+public void configure(TestElement el)
+
+
Configure this GUI component from the underlying TestElement. +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class AbstractJMeterGuiComponent
+
+
+
Parameters:
el - the TestElement to configure
See Also:
JMeterGUIComponent.configure(TestElement)
+
+
+
+ +

+clearGui

+
+public void clearGui()
+
+
Provides a default implementation that resets the name field to the value of + getStaticLabel(), reset comment and sets enabled to true. Your GUI may need more things + cleared, in which case you should override, clear the extra fields, and + still call super.clearGui(). +

+

+
Specified by:
clearGui in interface ClearGui
Overrides:
clearGui in class AbstractJMeterGuiComponent
+
+
+
+
+
+
+ +

+getLabelResource

+
+public abstract String getLabelResource()
+
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+ +
Returns:
the resource name
+
+
+
+ +

+createRandomTimer

+
+protected abstract RandomTimer createRandomTimer()
+
+
Create implementation of RandomTimer +

+

+ +
Returns:
RandomTimer
+
+
+
+ +

+getTimerDelayLabelKey

+
+protected abstract String getTimerDelayLabelKey()
+
+
+ +
Returns:
String timer delay label key
+
+
+
+ +

+getTimerRangeLabelKey

+
+protected abstract String getTimerRangeLabelKey()
+
+
+ +
Returns:
String timer range label key
+
+
+
+ +

+getDefaultDelay

+
+protected abstract String getDefaultDelay()
+
+
+ +
Returns:
String default delay value
+
+
+
+ +

+getDefaultRange

+
+protected abstract String getDefaultRange()
+
+
+ +
Returns:
String default range value
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/timers/gui/AbstractTimerGui.html b/docs/api/org/apache/jmeter/timers/gui/AbstractTimerGui.html new file mode 100644 index 00000000000..4b06af4d634 --- /dev/null +++ b/docs/api/org/apache/jmeter/timers/gui/AbstractTimerGui.html @@ -0,0 +1,454 @@ + + + + + +AbstractTimerGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.timers.gui +
+Class AbstractTimerGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.timers.gui.AbstractTimerGui
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
Direct Known Subclasses:
AbstractRandomTimerGui, ConstantTimerGui
+
+
+
+
public abstract class AbstractTimerGui
extends AbstractJMeterGuiComponent
+ + +

+This is the base class for JMeter GUI components which manage timers. +

+ +

+

+
Version:
+
$Revision: 1595401 $
+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
AbstractTimerGui() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ JPopupMenucreatePopupMenu() + +
+          When a user right-clicks on the component in the test tree, or selects + the edit menu when the component is selected, the component will be asked + to return a JPopupMenu that provides all the options available to the + user from this component.
+ Collection<String>getMenuCategories() + +
+          This is the list of menu categories this gui component will be available + under.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
clearGui, configure, configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.gui.JMeterGUIComponent
createTestElement, getLabelResource, modifyTestElement
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+AbstractTimerGui

+
+public AbstractTimerGui()
+
+
+ + + + + + + + +
+Method Detail
+ +

+createPopupMenu

+
+public JPopupMenu createPopupMenu()
+
+
When a user right-clicks on the component in the test tree, or selects + the edit menu when the component is selected, the component will be asked + to return a JPopupMenu that provides all the options available to the + user from this component. +

+ This implementation returns menu items appropriate for most timer + components. +

+

+ +
Returns:
a JPopupMenu appropriate for the component.
+
+
+
+ +

+getMenuCategories

+
+public Collection<String> getMenuCategories()
+
+
This is the list of menu categories this gui component will be available + under. This implementation returns + MenuFactory.TIMERS, which is + appropriate for most timer components. +

+

+ +
Returns:
a Collection of Strings, where each element is one of the + constants defined in MenuFactory
See Also:
MenuFactory
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/timers/gui/ConstantTimerGui.html b/docs/api/org/apache/jmeter/timers/gui/ConstantTimerGui.html new file mode 100644 index 00000000000..434701f4060 --- /dev/null +++ b/docs/api/org/apache/jmeter/timers/gui/ConstantTimerGui.html @@ -0,0 +1,542 @@ + + + + + +ConstantTimerGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.timers.gui +
+Class ConstantTimerGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.timers.gui.AbstractTimerGui
+                          extended by org.apache.jmeter.timers.gui.ConstantTimerGui
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
+
public class ConstantTimerGui
extends AbstractTimerGui
+ + +

+The GUI for ConstantTimer. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
ConstantTimerGui() + +
+          No-arg constructor.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclearGui() + +
+          Provides a default implementation that resets the name field to the value of + getStaticLabel(), reset comment and sets enabled to true.
+ voidconfigure(TestElement el) + +
+          Configure this GUI component from the underlying TestElement.
+ TestElementcreateTestElement() + +
+          Create the test element underlying this GUI component.
+static voiderror(Exception e, + JComponent thrower) + +
+          Handle an error.
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ voidmodifyTestElement(TestElement timer) + +
+          Modifies a given TestElement to mirror the data in the gui components.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.timers.gui.AbstractTimerGui
createPopupMenu, getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ConstantTimerGui

+
+public ConstantTimerGui()
+
+
No-arg constructor. +

+

+ + + + + + + + +
+Method Detail
+ +

+error

+
+public static void error(Exception e,
+                         JComponent thrower)
+
+
Handle an error. +

+

+
Parameters:
e - the Exception that was thrown.
thrower - the JComponent that threw the Exception.
+
+
+
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+ +
Returns:
the resource name
+
+
+
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
Create the test element underlying this GUI component. +

+

+ +
Returns:
the Test Element object that the GUI component represents.
See Also:
JMeterGUIComponent.createTestElement()
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement timer)
+
+
Modifies a given TestElement to mirror the data in the gui components. +

+

+
Parameters:
timer - the TestElement to modify
See Also:
JMeterGUIComponent.modifyTestElement(TestElement)
+
+
+
+ +

+configure

+
+public void configure(TestElement el)
+
+
Configure this GUI component from the underlying TestElement. +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class AbstractJMeterGuiComponent
+
+
+
Parameters:
el - the TestElement to configure
See Also:
JMeterGUIComponent.configure(TestElement)
+
+
+
+ +

+clearGui

+
+public void clearGui()
+
+
Provides a default implementation that resets the name field to the value of + getStaticLabel(), reset comment and sets enabled to true. Your GUI may need more things + cleared, in which case you should override, clear the extra fields, and + still call super.clearGui(). +

+

+
Specified by:
clearGui in interface ClearGui
Overrides:
clearGui in class AbstractJMeterGuiComponent
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/timers/gui/GaussianRandomTimerGui.html b/docs/api/org/apache/jmeter/timers/gui/GaussianRandomTimerGui.html new file mode 100644 index 00000000000..2821b62e4ca --- /dev/null +++ b/docs/api/org/apache/jmeter/timers/gui/GaussianRandomTimerGui.html @@ -0,0 +1,561 @@ + + + + + +GaussianRandomTimerGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.timers.gui +
+Class GaussianRandomTimerGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.timers.gui.AbstractTimerGui
+                          extended by org.apache.jmeter.timers.gui.AbstractRandomTimerGui
+                              extended by org.apache.jmeter.timers.gui.GaussianRandomTimerGui
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
+
public class GaussianRandomTimerGui
extends AbstractRandomTimerGui
+ + +

+Implementation of a gaussian random timer. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
GaussianRandomTimerGui() + +
+          No-arg constructor.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+protected  RandomTimercreateRandomTimer() + +
+          Create implementation of RandomTimer
+protected  StringgetDefaultDelay() + +
+          
+protected  StringgetDefaultRange() + +
+          
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+protected  StringgetTimerDelayLabelKey() + +
+          
+protected  StringgetTimerRangeLabelKey() + +
+          
+ + + + + + + +
Methods inherited from class org.apache.jmeter.timers.gui.AbstractRandomTimerGui
clearGui, configure, createTestElement, error, modifyTestElement
+ + + + + + + +
Methods inherited from class org.apache.jmeter.timers.gui.AbstractTimerGui
createPopupMenu, getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+GaussianRandomTimerGui

+
+public GaussianRandomTimerGui()
+
+
No-arg constructor. +

+

+ + + + + + + + +
+Method Detail
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+
Specified by:
getLabelResource in interface JMeterGUIComponent
Specified by:
getLabelResource in class AbstractRandomTimerGui
+
+
+ +
Returns:
the resource name
+
+
+
+ +

+createRandomTimer

+
+protected RandomTimer createRandomTimer()
+
+
Create implementation of RandomTimer +

+

+
Specified by:
createRandomTimer in class AbstractRandomTimerGui
+
+
+ +
Returns:
RandomTimer
+
+
+
+ +

+getTimerDelayLabelKey

+
+protected String getTimerDelayLabelKey()
+
+
+

+

+
Specified by:
getTimerDelayLabelKey in class AbstractRandomTimerGui
+
+
+ +
Returns:
String timer delay label key
+
+
+
+ +

+getTimerRangeLabelKey

+
+protected String getTimerRangeLabelKey()
+
+
+

+

+
Specified by:
getTimerRangeLabelKey in class AbstractRandomTimerGui
+
+
+ +
Returns:
String timer range label key
+
+
+
+ +

+getDefaultDelay

+
+protected String getDefaultDelay()
+
+
+

+

+
Specified by:
getDefaultDelay in class AbstractRandomTimerGui
+
+
+ +
Returns:
String default delay value
+
+
+
+ +

+getDefaultRange

+
+protected String getDefaultRange()
+
+
+

+

+
Specified by:
getDefaultRange in class AbstractRandomTimerGui
+
+
+ +
Returns:
String default range value
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/timers/gui/PoissonRandomTimerGui.html b/docs/api/org/apache/jmeter/timers/gui/PoissonRandomTimerGui.html new file mode 100644 index 00000000000..005fe5dc936 --- /dev/null +++ b/docs/api/org/apache/jmeter/timers/gui/PoissonRandomTimerGui.html @@ -0,0 +1,553 @@ + + + + + +PoissonRandomTimerGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.timers.gui +
+Class PoissonRandomTimerGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.timers.gui.AbstractTimerGui
+                          extended by org.apache.jmeter.timers.gui.AbstractRandomTimerGui
+                              extended by org.apache.jmeter.timers.gui.PoissonRandomTimerGui
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
+
public class PoissonRandomTimerGui
extends AbstractRandomTimerGui
+ + +

+Implementation of a Poisson random timer. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
PoissonRandomTimerGui() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+protected  RandomTimercreateRandomTimer() + +
+          Create implementation of RandomTimer
+protected  StringgetDefaultDelay() + +
+           
+protected  StringgetDefaultRange() + +
+           
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+protected  StringgetTimerDelayLabelKey() + +
+           
+protected  StringgetTimerRangeLabelKey() + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.timers.gui.AbstractRandomTimerGui
clearGui, configure, createTestElement, error, modifyTestElement
+ + + + + + + +
Methods inherited from class org.apache.jmeter.timers.gui.AbstractTimerGui
createPopupMenu, getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+PoissonRandomTimerGui

+
+public PoissonRandomTimerGui()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from class: AbstractRandomTimerGui
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+
Specified by:
getLabelResource in interface JMeterGUIComponent
Specified by:
getLabelResource in class AbstractRandomTimerGui
+
+
+ +
Returns:
the resource name
+
+
+
+ +

+createRandomTimer

+
+protected RandomTimer createRandomTimer()
+
+
Description copied from class: AbstractRandomTimerGui
+
Create implementation of RandomTimer +

+

+
Specified by:
createRandomTimer in class AbstractRandomTimerGui
+
+
+ +
Returns:
RandomTimer
+
+
+
+ +

+getTimerDelayLabelKey

+
+protected String getTimerDelayLabelKey()
+
+
+
Specified by:
getTimerDelayLabelKey in class AbstractRandomTimerGui
+
+
+ +
Returns:
String timer delay label key
+
+
+
+ +

+getTimerRangeLabelKey

+
+protected String getTimerRangeLabelKey()
+
+
+
Specified by:
getTimerRangeLabelKey in class AbstractRandomTimerGui
+
+
+ +
Returns:
String timer range label key
+
+
+
+ +

+getDefaultDelay

+
+protected String getDefaultDelay()
+
+
+
Specified by:
getDefaultDelay in class AbstractRandomTimerGui
+
+
+ +
Returns:
String default delay value
+
+
+
+ +

+getDefaultRange

+
+protected String getDefaultRange()
+
+
+
Specified by:
getDefaultRange in class AbstractRandomTimerGui
+
+
+ +
Returns:
String default range value
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/timers/gui/UniformRandomTimerGui.html b/docs/api/org/apache/jmeter/timers/gui/UniformRandomTimerGui.html new file mode 100644 index 00000000000..9018953614f --- /dev/null +++ b/docs/api/org/apache/jmeter/timers/gui/UniformRandomTimerGui.html @@ -0,0 +1,561 @@ + + + + + +UniformRandomTimerGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.timers.gui +
+Class UniformRandomTimerGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.timers.gui.AbstractTimerGui
+                          extended by org.apache.jmeter.timers.gui.AbstractRandomTimerGui
+                              extended by org.apache.jmeter.timers.gui.UniformRandomTimerGui
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
+
public class UniformRandomTimerGui
extends AbstractRandomTimerGui
+ + +

+Implementation of a uniform random timer. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
UniformRandomTimerGui() + +
+          No-arg constructor.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+protected  RandomTimercreateRandomTimer() + +
+          Create implementation of RandomTimer
+protected  StringgetDefaultDelay() + +
+          
+protected  StringgetDefaultRange() + +
+          
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+protected  StringgetTimerDelayLabelKey() + +
+          
+protected  StringgetTimerRangeLabelKey() + +
+          
+ + + + + + + +
Methods inherited from class org.apache.jmeter.timers.gui.AbstractRandomTimerGui
clearGui, configure, createTestElement, error, modifyTestElement
+ + + + + + + +
Methods inherited from class org.apache.jmeter.timers.gui.AbstractTimerGui
createPopupMenu, getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+UniformRandomTimerGui

+
+public UniformRandomTimerGui()
+
+
No-arg constructor. +

+

+ + + + + + + + +
+Method Detail
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+
Specified by:
getLabelResource in interface JMeterGUIComponent
Specified by:
getLabelResource in class AbstractRandomTimerGui
+
+
+ +
Returns:
the resource name
+
+
+
+ +

+createRandomTimer

+
+protected RandomTimer createRandomTimer()
+
+
Create implementation of RandomTimer +

+

+
Specified by:
createRandomTimer in class AbstractRandomTimerGui
+
+
+ +
Returns:
RandomTimer
+
+
+
+ +

+getTimerDelayLabelKey

+
+protected String getTimerDelayLabelKey()
+
+
+

+

+
Specified by:
getTimerDelayLabelKey in class AbstractRandomTimerGui
+
+
+ +
Returns:
String timer delay label key
+
+
+
+ +

+getTimerRangeLabelKey

+
+protected String getTimerRangeLabelKey()
+
+
+

+

+
Specified by:
getTimerRangeLabelKey in class AbstractRandomTimerGui
+
+
+ +
Returns:
String timer range label key
+
+
+
+ +

+getDefaultDelay

+
+protected String getDefaultDelay()
+
+
+

+

+
Specified by:
getDefaultDelay in class AbstractRandomTimerGui
+
+
+ +
Returns:
String default delay value
+
+
+
+ +

+getDefaultRange

+
+protected String getDefaultRange()
+
+
+

+

+
Specified by:
getDefaultRange in class AbstractRandomTimerGui
+
+
+ +
Returns:
String default range value
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/timers/gui/package-frame.html b/docs/api/org/apache/jmeter/timers/gui/package-frame.html new file mode 100644 index 00000000000..c934a536d44 --- /dev/null +++ b/docs/api/org/apache/jmeter/timers/gui/package-frame.html @@ -0,0 +1,40 @@ + + + + + +org.apache.jmeter.timers.gui (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.timers.gui + + + + +
+Classes  + +
+AbstractRandomTimerGui +
+AbstractTimerGui +
+ConstantTimerGui +
+GaussianRandomTimerGui +
+PoissonRandomTimerGui +
+UniformRandomTimerGui
+ + + + diff --git a/docs/api/org/apache/jmeter/timers/gui/package-summary.html b/docs/api/org/apache/jmeter/timers/gui/package-summary.html new file mode 100644 index 00000000000..5dc4f2ed589 --- /dev/null +++ b/docs/api/org/apache/jmeter/timers/gui/package-summary.html @@ -0,0 +1,173 @@ + + + + + +org.apache.jmeter.timers.gui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.timers.gui +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
AbstractRandomTimerGuiAbstract Random timer GUI.
AbstractTimerGuiThis is the base class for JMeter GUI components which manage timers.
ConstantTimerGuiThe GUI for ConstantTimer.
GaussianRandomTimerGuiImplementation of a gaussian random timer.
PoissonRandomTimerGuiImplementation of a Poisson random timer.
UniformRandomTimerGuiImplementation of a uniform random timer.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/timers/gui/package-tree.html b/docs/api/org/apache/jmeter/timers/gui/package-tree.html new file mode 100644 index 00000000000..5f9f621c420 --- /dev/null +++ b/docs/api/org/apache/jmeter/timers/gui/package-tree.html @@ -0,0 +1,167 @@ + + + + + +org.apache.jmeter.timers.gui Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.timers.gui +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/timers/package-frame.html b/docs/api/org/apache/jmeter/timers/package-frame.html new file mode 100644 index 00000000000..8517d4a5314 --- /dev/null +++ b/docs/api/org/apache/jmeter/timers/package-frame.html @@ -0,0 +1,80 @@ + + + + + +org.apache.jmeter.timers (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.timers + + + + +
+Interfaces  + +
+Timer
+ + + + + + +
+Classes  + +
+BeanShellTimer +
+BeanShellTimerBeanInfo +
+BSFTimer +
+BSFTimerBeanInfo +
+ConstantThroughputTimer +
+ConstantThroughputTimerBeanInfo +
+ConstantTimer +
+GaussianRandomTimer +
+JSR223Timer +
+JSR223TimerBeanInfo +
+PoissonRandomTimer +
+RandomTimer +
+SyncTimer +
+SyncTimerBeanInfo +
+UniformRandomTimer
+ + + + + + +
+Enums  + +
+ConstantThroughputTimer.Mode
+ + + + diff --git a/docs/api/org/apache/jmeter/timers/package-summary.html b/docs/api/org/apache/jmeter/timers/package-summary.html new file mode 100644 index 00000000000..420beb2d0a7 --- /dev/null +++ b/docs/api/org/apache/jmeter/timers/package-summary.html @@ -0,0 +1,247 @@ + + + + + +org.apache.jmeter.timers (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.timers +

+ + + + + + + + + +
+Interface Summary
TimerThis interface defines those methods that must be implemented by timer + plugins.
+  + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
BeanShellTimer 
BeanShellTimerBeanInfo 
BSFTimer 
BSFTimerBeanInfo 
ConstantThroughputTimerThis class implements a constant throughput timer.
ConstantThroughputTimerBeanInfoBeanInfo for the ConstantThroughputTimer.
ConstantTimerThis class implements a constant timer with its own panel and fields for + value update and user interaction.
GaussianRandomTimerThis class implements those methods needed by RandomTimer to be instantiable + and implements a random delay with an average value and a gaussian + distributed variation.
JSR223Timer 
JSR223TimerBeanInfo 
PoissonRandomTimerThis class implements those methods needed by RandomTimer to be instantiable + and implements a random delay with an average value and a Poisson + distributed variation.
RandomTimerThis class implements a random timer with its own panel and fields for value + update and user interaction.
SyncTimerThe purpose of the SyncTimer is to block threads until X number of threads + have been blocked, and then they are all released at once.
SyncTimerBeanInfo 
UniformRandomTimerThis class implements those methods needed by RandomTimer to be instantiable + and implements a random delay with an average value and a uniformly + distributed variation.
+  + +

+ + + + + + + + + +
+Enum Summary
ConstantThroughputTimer.ModeThis enum defines the calculation modes used by the ConstantThroughputTimer.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/timers/package-tree.html b/docs/api/org/apache/jmeter/timers/package-tree.html new file mode 100644 index 00000000000..931fece14d0 --- /dev/null +++ b/docs/api/org/apache/jmeter/timers/package-tree.html @@ -0,0 +1,207 @@ + + + + + +org.apache.jmeter.timers Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.timers +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +

+Enum Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/util/BSFBeanInfoSupport.html b/docs/api/org/apache/jmeter/util/BSFBeanInfoSupport.html new file mode 100644 index 00000000000..567c8c44b64 --- /dev/null +++ b/docs/api/org/apache/jmeter/util/BSFBeanInfoSupport.html @@ -0,0 +1,280 @@ + + + + + +BSFBeanInfoSupport (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.util +
+Class BSFBeanInfoSupport

+
+java.lang.Object
+  extended by java.beans.SimpleBeanInfo
+      extended by org.apache.jmeter.testbeans.BeanInfoSupport
+          extended by org.apache.jmeter.util.ScriptingBeanInfoSupport
+              extended by org.apache.jmeter.util.BSFBeanInfoSupport
+
+
+
All Implemented Interfaces:
BeanInfo
+
+
+
Direct Known Subclasses:
BSFAssertionBeanInfo, BSFListenerBeanInfo, BSFPostProcessorBeanInfo, BSFPreProcessorBeanInfo, BSFSamplerBeanInfo, BSFTimerBeanInfo
+
+
+
+
public abstract class BSFBeanInfoSupport
extends ScriptingBeanInfoSupport
+ + +

+Parent class to handle common GUI design for BSF test elements +

+ +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.testbeans.BeanInfoSupport
DEFAULT, MULTILINE, NOT_EXPRESSION, NOT_OTHER, NOT_UNDEFINED, RESOURCE_BUNDLE, TAGS, TEXT_LANGUAGE
+ + + + + + + +
Fields inherited from interface java.beans.BeanInfo
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32
+  + + + + + + + + + + + +
+Constructor Summary
+protected BSFBeanInfoSupport(Class<? extends TestBean> beanClass) + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testbeans.BeanInfoSupport
createPropertyGroup, getAdditionalBeanInfo, getBeanDescriptor, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getIcon, getMethodDescriptors, getPropertyDescriptors, property, property, property, setIcon
+ + + + + + + +
Methods inherited from class java.beans.SimpleBeanInfo
loadImage
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+BSFBeanInfoSupport

+
+protected BSFBeanInfoSupport(Class<? extends TestBean> beanClass)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/util/BSFJavaScriptEngine.html b/docs/api/org/apache/jmeter/util/BSFJavaScriptEngine.html new file mode 100644 index 00000000000..f810f896863 --- /dev/null +++ b/docs/api/org/apache/jmeter/util/BSFJavaScriptEngine.html @@ -0,0 +1,415 @@ + + + + + +BSFJavaScriptEngine (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.util +
+Class BSFJavaScriptEngine

+
+java.lang.Object
+  extended by org.apache.bsf.util.BSFEngineImpl
+      extended by org.apache.jmeter.util.BSFJavaScriptEngine
+
+
+
All Implemented Interfaces:
PropertyChangeListener, EventListener, org.apache.bsf.BSFEngine
+
+
+
+
public class BSFJavaScriptEngine
extends org.apache.bsf.util.BSFEngineImpl
+ + +

+This is the interface to Netscape's Rhino (JavaScript) from the + Bean Scripting Framework. +

+ The original version of this code was first written by Adam Peller + for use in LotusXSL. Sanjiva took his code and adapted it for BSF. + + Modified for JMeter to fix bug BSF-22. +

+ +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.bsf.util.BSFEngineImpl
classLoader, classPath, declaredBeans, lang, mgr, tempDir
+  + + + + + + + + + + +
+Constructor Summary
BSFJavaScriptEngine() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Objectcall(Object object, + String method, + Object[] args) + +
+          Return an object from an extension.
+ voiddeclareBean(org.apache.bsf.BSFDeclaredBean bean) + +
+           
+ Objecteval(String source, + int lineNo, + int columnNo, + Object oscript) + +
+          This is used by an application to evaluate a string containing + some expression.
+ voidinitialize(org.apache.bsf.BSFManager mgr, + String lang, + Vector declaredBeans) + +
+          Initialize the engine.
+ voidundeclareBean(org.apache.bsf.BSFDeclaredBean bean) + +
+           
+ + + + + + + +
Methods inherited from class org.apache.bsf.util.BSFEngineImpl
apply, compileApply, compileExpr, compileScript, exec, iexec, propertyChange, terminate
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+BSFJavaScriptEngine

+
+public BSFJavaScriptEngine()
+
+
+ + + + + + + + +
+Method Detail
+ +

+call

+
+public Object call(Object object,
+                   String method,
+                   Object[] args)
+            throws org.apache.bsf.BSFException
+
+
Return an object from an extension. +

+

+
Parameters:
object - Object on which to make the call (ignored).
method - The name of the method to call.
args - an array of arguments to be + passed to the extension, which may be either + Vectors of Nodes, or Strings. +
Throws: +
org.apache.bsf.BSFException
+
+
+
+ +

+declareBean

+
+public void declareBean(org.apache.bsf.BSFDeclaredBean bean)
+                 throws org.apache.bsf.BSFException
+
+
+
Specified by:
declareBean in interface org.apache.bsf.BSFEngine
Overrides:
declareBean in class org.apache.bsf.util.BSFEngineImpl
+
+
+ +
Throws: +
org.apache.bsf.BSFException
+
+
+
+ +

+eval

+
+public Object eval(String source,
+                   int lineNo,
+                   int columnNo,
+                   Object oscript)
+            throws org.apache.bsf.BSFException
+
+
This is used by an application to evaluate a string containing + some expression. +

+

+ +
Throws: +
org.apache.bsf.BSFException
+
+
+
+ +

+initialize

+
+public void initialize(org.apache.bsf.BSFManager mgr,
+                       String lang,
+                       Vector declaredBeans)
+                throws org.apache.bsf.BSFException
+
+
Initialize the engine. + Put the manager into the context-manager + map hashtable too. +

+

+
Specified by:
initialize in interface org.apache.bsf.BSFEngine
Overrides:
initialize in class org.apache.bsf.util.BSFEngineImpl
+
+
+ +
Throws: +
org.apache.bsf.BSFException
+
+
+
+ +

+undeclareBean

+
+public void undeclareBean(org.apache.bsf.BSFDeclaredBean bean)
+                   throws org.apache.bsf.BSFException
+
+
+
Specified by:
undeclareBean in interface org.apache.bsf.BSFEngine
Overrides:
undeclareBean in class org.apache.bsf.util.BSFEngineImpl
+
+
+ +
Throws: +
org.apache.bsf.BSFException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/util/BSFTestElement.html b/docs/api/org/apache/jmeter/util/BSFTestElement.html new file mode 100644 index 00000000000..33d3514d2ae --- /dev/null +++ b/docs/api/org/apache/jmeter/util/BSFTestElement.html @@ -0,0 +1,428 @@ + + + + + +BSFTestElement (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.util +
+Class BSFTestElement

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.util.ScriptingTestElement
+          extended by org.apache.jmeter.util.BSFTestElement
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Searchable, TestElement
+
+
+
Direct Known Subclasses:
BSFAssertion, BSFListener, BSFPostProcessor, BSFPreProcessor, BSFSampler, BSFTimer
+
+
+
+
public abstract class BSFTestElement
extends ScriptingTestElement
implements Serializable
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.util.ScriptingTestElement
scriptLanguage
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
BSFTestElement() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+protected  ObjectevalFileOrScript(org.apache.bsf.BSFManager mgr) + +
+           
+protected  org.apache.bsf.BSFManagergetManager() + +
+           
+ StringgetScriptLanguage() + +
+           
+protected  voidinitManager(org.apache.bsf.BSFManager mgr) + +
+           
+protected  voidprocessFileOrScript(org.apache.bsf.BSFManager mgr) + +
+           
+ voidsetScriptLanguage(String s) + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.util.ScriptingTestElement
getFilename, getParameters, getScript, setFilename, setParameters, setScript
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+BSFTestElement

+
+public BSFTestElement()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getManager

+
+protected org.apache.bsf.BSFManager getManager()
+                                        throws org.apache.bsf.BSFException
+
+
+
+
+
+ +
Throws: +
org.apache.bsf.BSFException
+
+
+
+ +

+initManager

+
+protected void initManager(org.apache.bsf.BSFManager mgr)
+                    throws org.apache.bsf.BSFException
+
+
+
+
+
+ +
Throws: +
org.apache.bsf.BSFException
+
+
+
+ +

+processFileOrScript

+
+protected void processFileOrScript(org.apache.bsf.BSFManager mgr)
+                            throws org.apache.bsf.BSFException
+
+
+
+
+
+ +
Throws: +
org.apache.bsf.BSFException
+
+
+
+ +

+evalFileOrScript

+
+protected Object evalFileOrScript(org.apache.bsf.BSFManager mgr)
+                           throws org.apache.bsf.BSFException
+
+
+
+
+
+ +
Throws: +
org.apache.bsf.BSFException
+
+
+
+ +

+getScriptLanguage

+
+public String getScriptLanguage()
+
+
+
+
+
+
+
+
+
+ +

+setScriptLanguage

+
+public void setScriptLanguage(String s)
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/util/BeanShellBeanInfoSupport.html b/docs/api/org/apache/jmeter/util/BeanShellBeanInfoSupport.html new file mode 100644 index 00000000000..3b32ffdb6f4 --- /dev/null +++ b/docs/api/org/apache/jmeter/util/BeanShellBeanInfoSupport.html @@ -0,0 +1,279 @@ + + + + + +BeanShellBeanInfoSupport (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.util +
+Class BeanShellBeanInfoSupport

+
+java.lang.Object
+  extended by java.beans.SimpleBeanInfo
+      extended by org.apache.jmeter.testbeans.BeanInfoSupport
+          extended by org.apache.jmeter.util.BeanShellBeanInfoSupport
+
+
+
All Implemented Interfaces:
BeanInfo
+
+
+
Direct Known Subclasses:
BeanShellListenerBeanInfo, BeanShellPostProcessorBeanInfo, BeanShellPreProcessorBeanInfo, BeanShellTimerBeanInfo
+
+
+
+
public abstract class BeanShellBeanInfoSupport
extends BeanInfoSupport
+ + +

+Parent class to handle common GUI design +

+ +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.testbeans.BeanInfoSupport
DEFAULT, MULTILINE, NOT_EXPRESSION, NOT_OTHER, NOT_UNDEFINED, RESOURCE_BUNDLE, TAGS, TEXT_LANGUAGE
+ + + + + + + +
Fields inherited from interface java.beans.BeanInfo
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32
+  + + + + + + + + + + + +
+Constructor Summary
+protected BeanShellBeanInfoSupport(Class<? extends TestBean> beanClass) + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testbeans.BeanInfoSupport
createPropertyGroup, getAdditionalBeanInfo, getBeanDescriptor, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getIcon, getMethodDescriptors, getPropertyDescriptors, property, property, property, setIcon
+ + + + + + + +
Methods inherited from class java.beans.SimpleBeanInfo
loadImage
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+BeanShellBeanInfoSupport

+
+protected BeanShellBeanInfoSupport(Class<? extends TestBean> beanClass)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/util/BeanShellClient.html b/docs/api/org/apache/jmeter/util/BeanShellClient.html new file mode 100644 index 00000000000..e12f4cae315 --- /dev/null +++ b/docs/api/org/apache/jmeter/util/BeanShellClient.html @@ -0,0 +1,255 @@ + + + + + +BeanShellClient (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.util +
+Class BeanShellClient

+
+java.lang.Object
+  extended by org.apache.jmeter.util.BeanShellClient
+
+
+
+
public class BeanShellClient
extends Object
+ + +

+Implements a client that can talk to the JMeter BeanShell server. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
BeanShellClient() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static voidmain(String[] args) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+BeanShellClient

+
+public BeanShellClient()
+
+
+ + + + + + + + +
+Method Detail
+ +

+main

+
+public static void main(String[] args)
+                 throws Exception
+
+
+ +
Throws: +
Exception
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/util/BeanShellInterpreter.html b/docs/api/org/apache/jmeter/util/BeanShellInterpreter.html new file mode 100644 index 00000000000..04b0e6ef224 --- /dev/null +++ b/docs/api/org/apache/jmeter/util/BeanShellInterpreter.html @@ -0,0 +1,444 @@ + + + + + +BeanShellInterpreter (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.util +
+Class BeanShellInterpreter

+
+java.lang.Object
+  extended by org.apache.jmeter.util.BeanShellInterpreter
+
+
+
+
public class BeanShellInterpreter
extends Object
+ + +

+BeanShell setup function - encapsulates all the access to the BeanShell + Interpreter in a single class. + + The class uses dynamic class loading to access BeanShell, which means that + all the source files can be built without needing access to the bsh jar. + + If the beanshell jar is not present at run-time, an error will be logged +

+ +

+


+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
BeanShellInterpreter() + +
+           
BeanShellInterpreter(String init, + org.apache.log.Logger _log) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Objecteval(String s) + +
+           
+ ObjectevalNoLog(String s) + +
+           
+ Objectget(String s) + +
+           
+static booleanisInterpreterPresent() + +
+           
+ voidreset() + +
+          Resets the BeanShell interpreter.
+ Objectset(String s, + boolean b) + +
+           
+ Objectset(String s, + Object o) + +
+           
+ Objectsource(String s) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+BeanShellInterpreter

+
+public BeanShellInterpreter()
+                     throws ClassNotFoundException
+
+
+ +
Throws: +
ClassNotFoundException
+
+
+ +

+BeanShellInterpreter

+
+public BeanShellInterpreter(String init,
+                            org.apache.log.Logger _log)
+                     throws ClassNotFoundException
+
+
+
Parameters:
init - initialisation file
_log - logger to pass to interpreter +
Throws: +
ClassNotFoundException - when beanshell can not be instantiated
+
+ + + + + + + + +
+Method Detail
+ +

+reset

+
+public void reset()
+           throws ClassNotFoundException
+
+
Resets the BeanShell interpreter. +

+

+ +
Throws: +
ClassNotFoundException - if interpreter cannot be instantiated
+
+
+
+ +

+eval

+
+public Object eval(String s)
+            throws JMeterException
+
+
+ +
Throws: +
JMeterException
+
+
+
+ +

+evalNoLog

+
+public Object evalNoLog(String s)
+                 throws JMeterException
+
+
+ +
Throws: +
JMeterException
+
+
+
+ +

+set

+
+public Object set(String s,
+                  Object o)
+           throws JMeterException
+
+
+ +
Throws: +
JMeterException
+
+
+
+ +

+set

+
+public Object set(String s,
+                  boolean b)
+           throws JMeterException
+
+
+ +
Throws: +
JMeterException
+
+
+
+ +

+source

+
+public Object source(String s)
+              throws JMeterException
+
+
+ +
Throws: +
JMeterException
+
+
+
+ +

+get

+
+public Object get(String s)
+           throws JMeterException
+
+
+ +
Throws: +
JMeterException
+
+
+
+ +

+isInterpreterPresent

+
+public static boolean isInterpreterPresent()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/util/BeanShellServer.html b/docs/api/org/apache/jmeter/util/BeanShellServer.html new file mode 100644 index 00000000000..ce5a03901b5 --- /dev/null +++ b/docs/api/org/apache/jmeter/util/BeanShellServer.html @@ -0,0 +1,271 @@ + + + + + +BeanShellServer (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.util +
+Class BeanShellServer

+
+java.lang.Object
+  extended by org.apache.jmeter.util.BeanShellServer
+
+
+
All Implemented Interfaces:
Runnable
+
+
+
+
public class BeanShellServer
extends Object
implements Runnable
+ + +

+Implements a BeanShell server to allow access to JMeter variables and + methods. + + To enable, define the JMeter property: beanshell.server.port (see + JMeter.java) beanshell.server.file (optional, startup file) +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
BeanShellServer(int port, + String file) + +
+          Constructor which sets the port for this server and the path to an + optional init file
+  + + + + + + + + + + + +
+Method Summary
+ voidrun() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+BeanShellServer

+
+public BeanShellServer(int port,
+                       String file)
+
+
Constructor which sets the port for this server and the path to an + optional init file +

+

+
Parameters:
port - the port for the server to use
file - the path to an init file, or an empty string, if no init file + should be used
+
+ + + + + + + + +
+Method Detail
+ +

+run

+
+public void run()
+
+
+
Specified by:
run in interface Runnable
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/util/BeanShellTestElement.html b/docs/api/org/apache/jmeter/util/BeanShellTestElement.html new file mode 100644 index 00000000000..3088120eeb1 --- /dev/null +++ b/docs/api/org/apache/jmeter/util/BeanShellTestElement.html @@ -0,0 +1,787 @@ + + + + + +BeanShellTestElement (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.util +
+Class BeanShellTestElement

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.util.BeanShellTestElement
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Searchable, TestElement, TestStateListener, ThreadListener
+
+
+
Direct Known Subclasses:
BeanShellAssertion, BeanShellListener, BeanShellPostProcessor, BeanShellPreProcessor, BeanShellSampler, BeanShellTimer
+
+
+
+
public abstract class BeanShellTestElement
extends AbstractTestElement
implements Serializable, Cloneable, ThreadListener, TestStateListener
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
BeanShellTestElement() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Objectclone() + +
+           
+protected  BeanShellInterpretergetBeanShellInterpreter() + +
+          Get the interpreter and set up standard script variables.
+ StringgetFilename() + +
+           
+protected abstract  StringgetInitFileProperty() + +
+           
+ StringgetParameters() + +
+           
+ StringgetScript() + +
+          Return the script (TestBean version).
+ booleanisResetInterpreter() + +
+           
+protected  ObjectprocessFileOrScript(BeanShellInterpreter bsh) + +
+          Process the file or script from the test element.
+protected  ObjectreadResolve() + +
+           
+ voidsetFilename(String s) + +
+           
+ voidsetParameters(String s) + +
+           
+ voidsetResetInterpreter(boolean b) + +
+           
+ voidsetScript(String s) + +
+          Set the script (TestBean version).
+ voidtestEnded() + +
+           + Called once for all threads after the end of a test.
+ voidtestEnded(String host) + +
+           + Called once for all threads after the end of a test.
+ voidtestStarted() + +
+           + Called just before the start of the test from the main engine thread.
+ voidtestStarted(String host) + +
+           + Called just before the start of the test from the main engine thread.
+ voidthreadFinished() + +
+          Called for each thread after all samples have been processed.
+ voidthreadStarted() + +
+          Called for each thread before starting sampling.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+BeanShellTestElement

+
+public BeanShellTestElement()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getInitFileProperty

+
+protected abstract String getInitFileProperty()
+
+
+
+
+
+
+
+
+
+ +

+getBeanShellInterpreter

+
+protected BeanShellInterpreter getBeanShellInterpreter()
+
+
Get the interpreter and set up standard script variables. +

+ Sets the following script variables: +

    +
  • ctx
  • +
  • Label
  • +
  • prev
  • +
  • props
  • +
  • vars
  • +
+

+

+
+
+
+ +
Returns:
the interpreter
+
+
+
+ +

+readResolve

+
+protected Object readResolve()
+
+
+
+
+
+
+
+
+
+ +

+clone

+
+public Object clone()
+
+
+
Specified by:
clone in interface TestElement
Overrides:
clone in class AbstractTestElement
+
+
+
+
+
+
+ +

+processFileOrScript

+
+protected Object processFileOrScript(BeanShellInterpreter bsh)
+                              throws JMeterException
+
+
Process the file or script from the test element. +

+ Sets the following script variables: +

    +
  • FileName
  • +
  • Parameters
  • +
  • bsh.args
  • +
+

+

+
+
+
+
Parameters:
bsh - the interpreter, not null +
Returns:
the result of the script, may be null +
Throws: +
JMeterException - when working with the bsh fails
+
+
+
+ +

+getScript

+
+public String getScript()
+
+
Return the script (TestBean version). + Must be overridden for subclasses that don't implement TestBean + otherwise the clone() method won't work. +

+

+
+
+
+ +
Returns:
the script to execute
+
+
+
+ +

+setScript

+
+public void setScript(String s)
+
+
Set the script (TestBean version). + Must be overridden for subclasses that don't implement TestBean + otherwise the clone() method won't work. +

+

+
+
+
+
Parameters:
s - the script to execute (may be blank)
+
+
+
+ +

+threadStarted

+
+public void threadStarted()
+
+
Description copied from interface: ThreadListener
+
Called for each thread before starting sampling. + WARNING: this is called before any Config test elements are processed, + so any properties they define will not have been merged in yet. +

+

+
Specified by:
threadStarted in interface ThreadListener
+
+
+
See Also:
JMeterThread.threadStarted()
+
+
+
+ +

+threadFinished

+
+public void threadFinished()
+
+
Description copied from interface: ThreadListener
+
Called for each thread after all samples have been processed. +

+

+
Specified by:
threadFinished in interface ThreadListener
+
+
+
See Also:
JMeterThread.threadFinished(org.apache.jmeter.engine.event.LoopIterationListener)
+
+
+
+ +

+testEnded

+
+public void testEnded()
+
+
Description copied from interface: TestStateListener
+

+ Called once for all threads after the end of a test. + + This will use the same element instances as at the start of the test. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testEnded in interface TestStateListener
+
+
+
See Also:
StandardJMeterEngine.stopTest()
+
+
+
+ +

+testEnded

+
+public void testEnded(String host)
+
+
Description copied from interface: TestStateListener
+

+ Called once for all threads after the end of a test. + + This will use the same element instances as at the start of the test. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testEnded in interface TestStateListener
+
+
+
Parameters:
host - name of host
See Also:
StandardJMeterEngine.stopTest()
+
+
+
+ +

+testStarted

+
+public void testStarted()
+
+
Description copied from interface: TestStateListener
+

+ Called just before the start of the test from the main engine thread. + + This is before the test elements are cloned. + + Note that not all the test + variables will have been set up at this point. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testStarted in interface TestStateListener
+
+
+
See Also:
StandardJMeterEngine.run()
+
+
+
+ +

+testStarted

+
+public void testStarted(String host)
+
+
Description copied from interface: TestStateListener
+

+ Called just before the start of the test from the main engine thread. + + This is before the test elements are cloned. + + Note that not all the test + variables will have been set up at this point. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testStarted in interface TestStateListener
+
+
+
Parameters:
host - name of host
See Also:
StandardJMeterEngine.run()
+
+
+
+ +

+getParameters

+
+public String getParameters()
+
+
+
+
+
+
+
+
+
+ +

+setParameters

+
+public void setParameters(String s)
+
+
+
+
+
+
+
+
+
+ +

+getFilename

+
+public String getFilename()
+
+
+
+
+
+
+
+
+
+ +

+setFilename

+
+public void setFilename(String s)
+
+
+
+
+
+
+
+
+
+ +

+isResetInterpreter

+
+public boolean isResetInterpreter()
+
+
+
+
+
+
+
+
+
+ +

+setResetInterpreter

+
+public void setResetInterpreter(boolean b)
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/util/CPSPauser.html b/docs/api/org/apache/jmeter/util/CPSPauser.html new file mode 100644 index 00000000000..b5aba29accd --- /dev/null +++ b/docs/api/org/apache/jmeter/util/CPSPauser.html @@ -0,0 +1,258 @@ + + + + + +CPSPauser (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.util +
+Class CPSPauser

+
+java.lang.Object
+  extended by org.apache.jmeter.util.CPSPauser
+
+
+
+
public class CPSPauser
extends Object
+ + +

+Generate appropriate pauses for a given CPS (characters per second) +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
CPSPauser(int cps) + +
+          Create a pauser with the appropriate speed settings.
+  + + + + + + + + + + + +
+Method Summary
+ voidpause(int bytes) + +
+          Pause for an appropriate time according to the number of bytes being transferred.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+CPSPauser

+
+public CPSPauser(int cps)
+
+
Create a pauser with the appropriate speed settings. +

+

+
Parameters:
cps - CPS to emulate
+
+ + + + + + + + +
+Method Detail
+ +

+pause

+
+public void pause(int bytes)
+
+
Pause for an appropriate time according to the number of bytes being transferred. +

+

+
Parameters:
bytes - number of bytes being transferred
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/util/Calculator.html b/docs/api/org/apache/jmeter/util/Calculator.html new file mode 100644 index 00000000000..4bfa249268c --- /dev/null +++ b/docs/api/org/apache/jmeter/util/Calculator.html @@ -0,0 +1,607 @@ + + + + + +Calculator (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.util +
+Class Calculator

+
+java.lang.Object
+  extended by org.apache.jmeter.util.Calculator
+
+
+
+
public class Calculator
extends Object
+ + +

+Class to calculate various items that don't require all previous results to be saved: +

    +
  • mean = average
  • +
  • standard deviation
  • +
  • minimum
  • +
  • maximum
  • +
+

+ +

+


+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
Calculator() + +
+           
Calculator(String label) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddBytes(long newValue) + +
+           
+ voidaddSample(SampleResult res) + +
+          Add details for a sample result, which may consist of multiple samples.
+ voidaddValue(long newValue) + +
+          Deprecated. Use addSample(SampleResult) instead
+ voidclear() + +
+           
+ doublegetAvgPageBytes() + +
+          calculates the average page size, which means divide the bytes by number + of samples.
+ doublegetBytesPerSecond() + +
+          Throughput in bytes / second
+ intgetCount() + +
+           
+ doublegetErrorPercentage() + +
+          Returns the raw double value of the percentage of samples with errors + that were recorded.
+ doublegetKBPerSecond() + +
+          Throughput in kilobytes / second
+ StringgetLabel() + +
+           
+ longgetMax() + +
+           
+ doublegetMean() + +
+           
+ NumbergetMeanAsNumber() + +
+           
+ longgetMin() + +
+           
+ doublegetRate() + +
+          Returns the throughput associated to this sampler in requests per second.
+ doublegetStandardDeviation() + +
+           
+ longgetTotalBytes() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Calculator

+
+public Calculator()
+
+
+
+ +

+Calculator

+
+public Calculator(String label)
+
+
+ + + + + + + + +
+Method Detail
+ +

+clear

+
+public void clear()
+
+
+
+
+
+
+ +

+addValue

+
+@Deprecated
+public void addValue(long newValue)
+
+
Deprecated. Use addSample(SampleResult) instead +

+

Add the value for a single sample. +

+

+
Parameters:
newValue - the value for the new sample
+
+
+
+ +

+addBytes

+
+public void addBytes(long newValue)
+
+
+
+
+
+
+ +

+addSample

+
+public void addSample(SampleResult res)
+
+
Add details for a sample result, which may consist of multiple samples. + Updates the number of bytes read, error count, startTime and elapsedTime +

+

+
Parameters:
res - the sample result; might represent multiple values
+
+
+
+ +

+getTotalBytes

+
+public long getTotalBytes()
+
+
+
+
+
+
+ +

+getMean

+
+public double getMean()
+
+
+
+
+
+
+ +

+getMeanAsNumber

+
+public Number getMeanAsNumber()
+
+
+
+
+
+
+ +

+getStandardDeviation

+
+public double getStandardDeviation()
+
+
+
+
+
+
+ +

+getMin

+
+public long getMin()
+
+
+
+
+
+
+ +

+getMax

+
+public long getMax()
+
+
+
+
+
+
+ +

+getCount

+
+public int getCount()
+
+
+
+
+
+
+ +

+getLabel

+
+public String getLabel()
+
+
+
+
+
+
+ +

+getErrorPercentage

+
+public double getErrorPercentage()
+
+
Returns the raw double value of the percentage of samples with errors + that were recorded. (Between 0.0 and 1.0) +

+

+ +
Returns:
the raw double value of the percentage of samples with errors + that were recorded.
+
+
+
+ +

+getRate

+
+public double getRate()
+
+
Returns the throughput associated to this sampler in requests per second. + May be slightly skewed because it takes the timestamps of the first and + last samples as the total time passed, and the test may actually have + started before that start time and ended after that end time. +

+

+ +
Returns:
throughput associated to this sampler in requests per second
+
+
+
+ +

+getAvgPageBytes

+
+public double getAvgPageBytes()
+
+
calculates the average page size, which means divide the bytes by number + of samples. +

+

+ +
Returns:
average page size in bytes
+
+
+
+ +

+getBytesPerSecond

+
+public double getBytesPerSecond()
+
+
Throughput in bytes / second +

+

+ +
Returns:
throughput in bytes/second
+
+
+
+ +

+getKBPerSecond

+
+public double getKBPerSecond()
+
+
Throughput in kilobytes / second +

+

+ +
Returns:
Throughput in kilobytes / second
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/util/ColorHelper.html b/docs/api/org/apache/jmeter/util/ColorHelper.html new file mode 100644 index 00000000000..40561df4344 --- /dev/null +++ b/docs/api/org/apache/jmeter/util/ColorHelper.html @@ -0,0 +1,231 @@ + + + + + +ColorHelper (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.util +
+Class ColorHelper

+
+java.lang.Object
+  extended by org.apache.jmeter.util.ColorHelper
+
+
+
+
public final class ColorHelper
extends Object
+ + +

+This class contains the static utility methods to manipulate colors. +

+ +

+

+
Version:
+
$Revision: 1648193 $
+
+
+ +

+ + + + + + + + + + + + +
+Method Summary
+static ColorchangeColorCyclicIncrement(Color col, + int inc) + +
+          Given the Color, get the red, green and blue components.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+changeColorCyclicIncrement

+
+public static Color changeColorCyclicIncrement(Color col,
+                                               int inc)
+
+
Given the Color, get the red, green and blue components. + Increment the lowest of the components by the indicated increment value. + If all the components are the same value increment in the order of red, + green and blue. +

+

+
Parameters:
col - Color to start with
inc - value to increment the color components +
Returns:
the color after change
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/util/CustomX509TrustManager.html b/docs/api/org/apache/jmeter/util/CustomX509TrustManager.html new file mode 100644 index 00000000000..1f4034a447d --- /dev/null +++ b/docs/api/org/apache/jmeter/util/CustomX509TrustManager.html @@ -0,0 +1,316 @@ + + + + + +CustomX509TrustManager (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.util +
+Class CustomX509TrustManager

+
+java.lang.Object
+  extended by org.apache.jmeter.util.CustomX509TrustManager
+
+
+
All Implemented Interfaces:
TrustManager, X509TrustManager
+
+
+
+
public class CustomX509TrustManager
extends Object
implements X509TrustManager
+ + +

+Custom TrustManager ignores all certificate errors + + TODO: implement conditional checking and logging + + (Derived from AuthSSLX509TrustManager in HttpClient contrib directory) +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
CustomX509TrustManager(X509TrustManager defaultTrustManager) + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidcheckClientTrusted(X509Certificate[] certificates, + String authType) + +
+           
+ voidcheckServerTrusted(X509Certificate[] certificates, + String authType) + +
+           
+ X509Certificate[]getAcceptedIssuers() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+CustomX509TrustManager

+
+public CustomX509TrustManager(X509TrustManager defaultTrustManager)
+
+
+ + + + + + + + +
+Method Detail
+ +

+checkClientTrusted

+
+public void checkClientTrusted(X509Certificate[] certificates,
+                               String authType)
+                        throws CertificateException
+
+
+
Specified by:
checkClientTrusted in interface X509TrustManager
+
+
+ +
Throws: +
CertificateException
See Also:
X509TrustManager.checkClientTrusted(X509Certificate[],String)
+
+
+
+ +

+checkServerTrusted

+
+public void checkServerTrusted(X509Certificate[] certificates,
+                               String authType)
+                        throws CertificateException
+
+
+
Specified by:
checkServerTrusted in interface X509TrustManager
+
+
+ +
Throws: +
CertificateException
See Also:
X509TrustManager.checkServerTrusted(X509Certificate[],String)
+
+
+
+ +

+getAcceptedIssuers

+
+public X509Certificate[] getAcceptedIssuers()
+
+
+
Specified by:
getAcceptedIssuers in interface X509TrustManager
+
+
+
See Also:
X509TrustManager.getAcceptedIssuers()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/util/Document.html b/docs/api/org/apache/jmeter/util/Document.html new file mode 100644 index 00000000000..fff1a8232ea --- /dev/null +++ b/docs/api/org/apache/jmeter/util/Document.html @@ -0,0 +1,253 @@ + + + + + +Document (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.util +
+Class Document

+
+java.lang.Object
+  extended by org.apache.jmeter.util.Document
+
+
+
+
public class Document
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
Document() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static StringgetTextFromDocument(byte[] document) + +
+          Convert to text plain a lot of kind of document (like odt, ods, odp, + doc(x), xls(x), ppt(x), pdf, mp3, mp4, etc.) with Apache Tika
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Document

+
+public Document()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getTextFromDocument

+
+public static String getTextFromDocument(byte[] document)
+
+
Convert to text plain a lot of kind of document (like odt, ods, odp, + doc(x), xls(x), ppt(x), pdf, mp3, mp4, etc.) with Apache Tika +

+

+
Parameters:
document - binary representation of the document +
Returns:
text from document without format
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/util/HttpSSLProtocolSocketFactory.html b/docs/api/org/apache/jmeter/util/HttpSSLProtocolSocketFactory.html new file mode 100644 index 00000000000..986e425246a --- /dev/null +++ b/docs/api/org/apache/jmeter/util/HttpSSLProtocolSocketFactory.html @@ -0,0 +1,530 @@ + + + + + +HttpSSLProtocolSocketFactory (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.util +
+Class HttpSSLProtocolSocketFactory

+
+java.lang.Object
+  extended by javax.net.SocketFactory
+      extended by javax.net.ssl.SSLSocketFactory
+          extended by org.apache.jmeter.util.HttpSSLProtocolSocketFactory
+
+
+
All Implemented Interfaces:
org.apache.commons.httpclient.protocol.ProtocolSocketFactory, org.apache.commons.httpclient.protocol.SecureProtocolSocketFactory
+
+
+
+
public class HttpSSLProtocolSocketFactory
extends SSLSocketFactory
implements org.apache.commons.httpclient.protocol.SecureProtocolSocketFactory
+ + +

+Derived from EasySSLProtocolFactory + + Used by JsseSSLManager to set up the Commons HttpClient and Java https socket handling +

+ +

+


+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
HttpSSLProtocolSocketFactory(JsseSSLManager sslManager) + +
+           
HttpSSLProtocolSocketFactory(JsseSSLManager sslManager, + int cps) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ SocketcreateSocket() + +
+           
+ SocketcreateSocket(InetAddress host, + int port) + +
+           
+ SocketcreateSocket(InetAddress address, + int port, + InetAddress localAddress, + int localPort) + +
+           
+ SocketcreateSocket(Socket socket, + String host, + int port, + boolean autoClose) + +
+           
+ SocketcreateSocket(String host, + int port) + +
+           
+ SocketcreateSocket(String host, + int port, + InetAddress clientHost, + int clientPort) + +
+           
+ SocketcreateSocket(String host, + int port, + InetAddress localAddress, + int localPort, + org.apache.commons.httpclient.params.HttpConnectionParams params) + +
+          Attempts to get a new socket connection to the given host within the given time limit.
+ String[]getDefaultCipherSuites() + +
+           
+ String[]getSupportedCipherSuites() + +
+           
+ + + + + + + +
Methods inherited from class javax.net.ssl.SSLSocketFactory
getDefault
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+HttpSSLProtocolSocketFactory

+
+public HttpSSLProtocolSocketFactory(JsseSSLManager sslManager)
+
+
+
+ +

+HttpSSLProtocolSocketFactory

+
+public HttpSSLProtocolSocketFactory(JsseSSLManager sslManager,
+                                    int cps)
+
+
+ + + + + + + + +
+Method Detail
+ +

+createSocket

+
+public Socket createSocket(String host,
+                           int port,
+                           InetAddress localAddress,
+                           int localPort,
+                           org.apache.commons.httpclient.params.HttpConnectionParams params)
+                    throws IOException,
+                           UnknownHostException,
+                           org.apache.commons.httpclient.ConnectTimeoutException
+
+
Attempts to get a new socket connection to the given host within the given time limit. +

+

+
Specified by:
createSocket in interface org.apache.commons.httpclient.protocol.ProtocolSocketFactory
+
+
+
Parameters:
host - the host name/IP
port - the port on the host
localAddress - the local host name/IP to bind the socket to
localPort - the port on the local machine
params - Http connection parameters +
Returns:
Socket a new socket +
Throws: +
IOException - if an I/O error occurs while creating the socket +
UnknownHostException - if the IP address of the host cannot be + determined +
org.apache.commons.httpclient.ConnectTimeoutException
+
+
+
+ +

+createSocket

+
+public Socket createSocket(String host,
+                           int port)
+                    throws IOException,
+                           UnknownHostException
+
+
+
Specified by:
createSocket in interface org.apache.commons.httpclient.protocol.ProtocolSocketFactory
Specified by:
createSocket in class SocketFactory
+
+
+ +
Throws: +
IOException +
UnknownHostException
See Also:
ProtocolSocketFactory.createSocket(java.lang.String,int)
+
+
+
+ +

+createSocket

+
+public Socket createSocket()
+                    throws IOException,
+                           UnknownHostException
+
+
+
Overrides:
createSocket in class SocketFactory
+
+
+ +
Throws: +
IOException +
UnknownHostException
See Also:
SocketFactory.createSocket()
+
+
+
+ +

+createSocket

+
+public Socket createSocket(Socket socket,
+                           String host,
+                           int port,
+                           boolean autoClose)
+                    throws IOException,
+                           UnknownHostException
+
+
+
Specified by:
createSocket in interface org.apache.commons.httpclient.protocol.SecureProtocolSocketFactory
Specified by:
createSocket in class SSLSocketFactory
+
+
+ +
Throws: +
IOException +
UnknownHostException
See Also:
SecureProtocolSocketFactory.createSocket(java.net.Socket,java.lang.String,int,boolean)
+
+
+
+ +

+createSocket

+
+public Socket createSocket(String host,
+                           int port,
+                           InetAddress clientHost,
+                           int clientPort)
+                    throws IOException,
+                           UnknownHostException
+
+
+
Specified by:
createSocket in interface org.apache.commons.httpclient.protocol.ProtocolSocketFactory
Specified by:
createSocket in class SocketFactory
+
+
+ +
Throws: +
IOException +
UnknownHostException
See Also:
ProtocolSocketFactory.createSocket(java.lang.String,int,java.net.InetAddress,int)
+
+
+
+ +

+createSocket

+
+public Socket createSocket(InetAddress host,
+                           int port)
+                    throws IOException
+
+
+
Specified by:
createSocket in class SocketFactory
+
+
+ +
Throws: +
IOException
+
+
+
+ +

+createSocket

+
+public Socket createSocket(InetAddress address,
+                           int port,
+                           InetAddress localAddress,
+                           int localPort)
+                    throws IOException
+
+
+
Specified by:
createSocket in class SocketFactory
+
+
+ +
Throws: +
IOException
+
+
+
+ +

+getDefaultCipherSuites

+
+public String[] getDefaultCipherSuites()
+
+
+
Specified by:
getDefaultCipherSuites in class SSLSocketFactory
+
+
+
+
+
+
+ +

+getSupportedCipherSuites

+
+public String[] getSupportedCipherSuites()
+
+
+
Specified by:
getSupportedCipherSuites in class SSLSocketFactory
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/util/JMeterTreeNodeTransferable.html b/docs/api/org/apache/jmeter/util/JMeterTreeNodeTransferable.html new file mode 100644 index 00000000000..7d1c7bf80e5 --- /dev/null +++ b/docs/api/org/apache/jmeter/util/JMeterTreeNodeTransferable.html @@ -0,0 +1,372 @@ + + + + + +JMeterTreeNodeTransferable (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.util +
+Class JMeterTreeNodeTransferable

+
+java.lang.Object
+  extended by org.apache.jmeter.util.JMeterTreeNodeTransferable
+
+
+
All Implemented Interfaces:
Transferable
+
+
+
+
public class JMeterTreeNodeTransferable
extends Object
implements Transferable
+ + +

+Simple implementation of a transferable for JMeterTreeNode arrays based on serialization. +

+ +

+

+
Since:
+
2.9
+
+
+ +

+ + + + + + + + + + + +
+Field Summary
+static DataFlavorJMETER_TREE_NODE_ARRAY_DATA_FLAVOR + +
+           
+  + + + + + + + + + + +
+Constructor Summary
JMeterTreeNodeTransferable() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ ObjectgetTransferData(DataFlavor flavor) + +
+           
+ DataFlavor[]getTransferDataFlavors() + +
+           
+ booleanisDataFlavorSupported(DataFlavor flavor) + +
+           
+ voidsetTransferData(JMeterTreeNode[] nodes) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+JMETER_TREE_NODE_ARRAY_DATA_FLAVOR

+
+public static final DataFlavor JMETER_TREE_NODE_ARRAY_DATA_FLAVOR
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+JMeterTreeNodeTransferable

+
+public JMeterTreeNodeTransferable()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getTransferDataFlavors

+
+public DataFlavor[] getTransferDataFlavors()
+
+
+
Specified by:
getTransferDataFlavors in interface Transferable
+
+
+
+
+
+
+ +

+isDataFlavorSupported

+
+public boolean isDataFlavorSupported(DataFlavor flavor)
+
+
+
Specified by:
isDataFlavorSupported in interface Transferable
+
+
+
+
+
+
+ +

+getTransferData

+
+public Object getTransferData(DataFlavor flavor)
+                       throws UnsupportedFlavorException,
+                              IOException
+
+
+
Specified by:
getTransferData in interface Transferable
+
+
+ +
Throws: +
UnsupportedFlavorException +
IOException
+
+
+
+ +

+setTransferData

+
+public void setTransferData(JMeterTreeNode[] nodes)
+                     throws IOException
+
+
+
+
+
+ +
Throws: +
IOException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/util/JMeterUtils.html b/docs/api/org/apache/jmeter/util/JMeterUtils.html new file mode 100644 index 00000000000..c5d1b86f5c1 --- /dev/null +++ b/docs/api/org/apache/jmeter/util/JMeterUtils.html @@ -0,0 +1,2046 @@ + + + + + +JMeterUtils (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.util +
+Class JMeterUtils

+
+java.lang.Object
+  extended by org.apache.jmeter.util.JMeterUtils
+
+
+
All Implemented Interfaces:
UnitTestManager
+
+
+
+
public class JMeterUtils
extends Object
implements UnitTestManager
+ + +

+This class contains the static utility methods used by JMeter. +

+ +

+


+ +

+ + + + + + + + + + + +
+Field Summary
+static StringRES_KEY_PFX + +
+           
+  + + + + + + + + + + +
+Constructor Summary
JMeterUtils() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static voidaddLocaleChangeListener(LocaleChangeListener listener) + +
+           
+static voidclearMatcherMemory(org.apache.oro.text.regex.Perl5Matcher matcher, + org.apache.oro.text.regex.Pattern pattern) + +
+          Hack to make matcher clean the two internal buffers it keeps in memory which size is equivalent to + the unzipped page size
+static JButtoncreateButton(String name, + ActionListener listener) + +
+          Create a button with the netscape style
+static JButtoncreateSimpleButton(String name, + ActionListener listener) + +
+          Create a button with the netscape style
+static List<String>findClassesThatExtend(Class<?> superClass) + +
+          Convenience method for + ClassFinder.findClassesThatExtend(String[], Class[], boolean) + with the option to include inner classes in the search set to false + and the path list is derived from JMeterUtils.getSearchPaths().
+static FilefindFile(String fileName) + +
+          Find a file in the current directory or in the JMeter bin directory.
+static intfindInArray(String[] array, + String value) + +
+          Finds a string in an array of strings and returns the
+static Hashtable<String,String>getAlias(Properties properties) + +
+          Creates the vector of alias strings.
+static Vector<Object>getControllers(Properties properties) + +
+          Creates a vector of SampleController plugins.
+static Hashtable<String,String>getHashtable(Properties properties, + String prefix) + +
+          Creates a table of strings for all the properties that start with a + common prefix.
+static ImageIcongetImage(String name) + +
+          This looks for the requested image in the classpath under + org.apache.jmeter.images.
+static ImageIcongetImage(String name, + String description) + +
+          This looks for the requested image in the classpath under + org.apache.jmeter.images.
+static StringgetJMeterBinDir() + +
+          Get the JMeter bin directory - does not include the trailing separator.
+static StringgetJMeterCopyright() + +
+          Gets the JMeter copyright.
+static StringgetJMeterHome() + +
+          Get the JMeter home directory - does not include the trailing separator.
+static PropertiesgetJMeterProperties() + +
+          This gets the currently defined appProperties.
+static StringgetJMeterVersion() + +
+          Gets the JMeter Version.
+static LocalegetLocale() + +
+          Gets the current locale.
+static StringgetLocaleString(String locale) + +
+          Get the locale name as a resource.
+static StringgetLocalHostFullName() + +
+          Returns the cached result from calling + InetAddress.getLocalHost().getCanonicalHostName()
+static StringgetLocalHostIP() + +
+          Returns the cached result from calling + InetAddress.getLocalHost().getHostAddress()
+static StringgetLocalHostName() + +
+          Returns the cached result from calling + InetAddress.getLocalHost().getHostName()
+static org.apache.oro.text.regex.Perl5MatchergetMatcher() + +
+          Gets Perl5Matcher for this thread.
+static StringgetParsedLabel(String key) + +
+          To get I18N label from properties file
+static org.apache.oro.text.regex.PatterngetPattern(String expression) + +
+          Get a compiled expression from the pattern cache (READ_ONLY).
+static org.apache.oro.text.regex.PatterngetPattern(String expression, + int options) + +
+          Get a compiled expression from the pattern cache.
+static org.apache.oro.text.PatternCacheLRUgetPatternCache() + +
+           
+static booleangetPropDefault(String propName, + boolean defaultVal) + +
+          Get a boolean value with default if not present.
+static intgetPropDefault(String propName, + int defaultVal) + +
+          Get a int value with default if not present.
+static longgetPropDefault(String propName, + long defaultVal) + +
+          Get a long value with default if not present.
+static StringgetPropDefault(String propName, + String defaultVal) + +
+          Get a String value with default if not present.
+static PropertiesgetProperties(String file) + +
+          This method is used by the init method to load the property file that may + even reside in the user space, or in the classpath under + org.apache.jmeter.jmeter.properties.
+static StringgetProperty(String propName) + +
+          Get the value of a JMeter property.
+static intgetRandomInt(int r) + +
+          Provide random numbers
+static StringgetResourceFileAsText(String name) + +
+           
+static StringgetResString(String key) + +
+          Gets the resource string for this key.
+static StringgetResString(String key, + Locale forcedLocale) + +
+          Gets the resource string for this key in Locale.
+static StringgetResString(String key, + String defaultValue) + +
+          Deprecated. Only intended for use in development; use + getResString(String) normally
+static String[]getSearchPaths() + +
+          Generate a list of paths to search.
+static String[]getTestSamples(Properties properties, + String name) + +
+          Create a string of class names for a particular SamplerController
+static Vector<Object>getTimers(Properties properties) + +
+          Creates the vector of Timers plugins.
+static Vector<String>getVector(Properties properties, + String name) + +
+          Creates a vector of strings for all the properties that start with a + common prefix.
+static Vector<Object>getVisualizers(Properties properties) + +
+          Creates the vector of visualizer plugins.
+static XMLReadergetXMLParser() + +
+          Create an instance of an org.xml.sax.Parser based on the default props.
+static voidhelpGC() + +
+          Help GC by triggering GC and finalization
+ voidinitializeProperties(String file) + +
+          Your implementation will be handed the filename that was provided to + AllTests as a configuration file.
+static voidinitLocale() + +
+          Initialise the JMeter Locale
+static voidinitLogging() + +
+          Initialise JMeter logging
+static Objectinstantiate(String className, + String impls) + +
+          Instatiate an object and guarantee its class.
+static Vector<Object>instantiate(Vector<String> v, + String className) + +
+          Instantiate a vector of classes
+static booleanisExpertMode() + +
+          Determine whether we are in 'expert' mode.
+static voidloadJMeterProperties(String file) + +
+          Load the JMeter properties file; if not found, then + default to "org/apache/jmeter/jmeter.properties" from the classpath + + + c.f. loadProperties
+static PropertiesloadProperties(String file) + +
+          This method loads a property file that may reside in the user space, or + in the classpath
+static PropertiesloadProperties(String file, + Properties defaultProps) + +
+          This method loads a property file that may reside in the user space, or + in the classpath
+static LinkedHashMap<String,String>parseHeaders(String headers) + +
+          Split line into name/value pairs and remove colon ':'
+static voidremoveLocaleChangeListener(LocaleChangeListener listener) + +
+           
+static voidreportErrorToUser(String errorMsg) + +
+          Report an error through a dialog box.
+static voidreportErrorToUser(String errorMsg, + String titleMsg) + +
+          Report an error through a dialog box.
+static voidrunSafe(Runnable runnable) + +
+          Run the runnable in AWT Thread if current thread is not AWT thread + otherwise runs call SwingUtilities.invokeAndWait(Runnable)
+static voidselJComboBoxItem(Properties properties, + JComboBox combo, + Vector<?> namVec, + String name) + +
+          Sets the selection of the JComboBox to the Object 'name' from the list in + namVec.
+static voidsetJMeterHome(String home) + +
+           
+static voidsetLocale(Locale loc) + +
+          Changes the current locale: re-reads resource strings and notifies + listeners.
+static ObjectsetProperty(String propName, + String propValue) + +
+          Set a String value
+static Stringunsplit(Object[] splittee, + Object splitChar) + +
+          Takes an array of strings and a tokenizer character, and returns a string + of all the strings concatenated with the tokenizer string in between each + one.
+static Stringunsplit(Object[] splittee, + Object splitChar, + String def) + +
+          Takes an array of strings and a tokenizer character, and returns a string + of all the strings concatenated with the tokenizer string in between each + one.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+RES_KEY_PFX

+
+public static final String RES_KEY_PFX
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+JMeterUtils

+
+public JMeterUtils()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getMatcher

+
+public static org.apache.oro.text.regex.Perl5Matcher getMatcher()
+
+
Gets Perl5Matcher for this thread. +

+

+
+
+
+ +
Returns:
the Perl5Matcher for this thread
+
+
+
+ +

+getProperties

+
+public static Properties getProperties(String file)
+
+
This method is used by the init method to load the property file that may + even reside in the user space, or in the classpath under + org.apache.jmeter.jmeter.properties. + + The method also initialises logging and sets up the default Locale + + TODO - perhaps remove? + [still used +

+

+
+
+
+
Parameters:
file - the file to load +
Returns:
the Properties from the file
See Also:
getJMeterProperties(), +loadJMeterProperties(String), +initLogging(), +initLocale()
+
+
+
+ +

+initLogging

+
+public static void initLogging()
+
+
Initialise JMeter logging +

+

+
+
+
+
+
+
+
+ +

+initLocale

+
+public static void initLocale()
+
+
Initialise the JMeter Locale +

+

+
+
+
+
+
+
+
+ +

+loadJMeterProperties

+
+public static void loadJMeterProperties(String file)
+
+
Load the JMeter properties file; if not found, then + default to "org/apache/jmeter/jmeter.properties" from the classpath + +

+ c.f. loadProperties +

+

+
+
+
+
Parameters:
file - Name of the file from which the JMeter properties should be loaded
+
+
+
+ +

+loadProperties

+
+public static Properties loadProperties(String file)
+
+
This method loads a property file that may reside in the user space, or + in the classpath +

+

+
+
+
+
Parameters:
file - the file to load +
Returns:
the Properties from the file, may be null (e.g. file not found)
+
+
+
+ +

+loadProperties

+
+public static Properties loadProperties(String file,
+                                        Properties defaultProps)
+
+
This method loads a property file that may reside in the user space, or + in the classpath +

+

+
+
+
+
Parameters:
file - the file to load
defaultProps - a set of default properties +
Returns:
the Properties from the file; if it could not be processed, the defaultProps are returned.
+
+
+
+ +

+getPatternCache

+
+public static org.apache.oro.text.PatternCacheLRU getPatternCache()
+
+
+
+
+
+
+
+
+
+ +

+getPattern

+
+public static org.apache.oro.text.regex.Pattern getPattern(String expression)
+                                                    throws org.apache.oro.text.MalformedCachePatternException
+
+
Get a compiled expression from the pattern cache (READ_ONLY). +

+

+
+
+
+
Parameters:
expression - regular expression to be looked up +
Returns:
compiled pattern +
Throws: +
org.apache.oro.text.MalformedCachePatternException - (Runtime) + This should be caught for expressions that may vary (e.g. user input)
+
+
+
+ +

+getPattern

+
+public static org.apache.oro.text.regex.Pattern getPattern(String expression,
+                                                           int options)
+                                                    throws org.apache.oro.text.MalformedCachePatternException
+
+
Get a compiled expression from the pattern cache. +

+

+
+
+
+
Parameters:
expression - RE
options - e.g. READ_ONLY_MASK +
Returns:
compiled pattern +
Throws: +
org.apache.oro.text.MalformedCachePatternException - (Runtime) + This should be caught for expressions that may vary (e.g. user input)
+
+
+
+ +

+initializeProperties

+
+public void initializeProperties(String file)
+
+
Description copied from interface: UnitTestManager
+
Your implementation will be handed the filename that was provided to + AllTests as a configuration file. It can hold whatever properties you + need to configure your system prior to the unit tests running. +

+

+
Specified by:
initializeProperties in interface UnitTestManager
+
+
+
Parameters:
file - path to the configuration file
+
+
+
+ +

+findClassesThatExtend

+
+public static List<String> findClassesThatExtend(Class<?> superClass)
+                                          throws IOException
+
+
Convenience method for + ClassFinder.findClassesThatExtend(String[], Class[], boolean) + with the option to include inner classes in the search set to false + and the path list is derived from JMeterUtils.getSearchPaths(). +

+

+
+
+
+
Parameters:
superClass - - single class to search for +
Returns:
List of Strings containing discovered class names. +
Throws: +
IOException - when the used ClassFinder throws one while searching for the class
+
+
+
+ +

+getSearchPaths

+
+public static String[] getSearchPaths()
+
+
Generate a list of paths to search. + The output array always starts with + JMETER_HOME/lib/ext + and is followed by any paths obtained from the "search_paths" JMeter property. +

+

+
+
+
+ +
Returns:
array of path strings
+
+
+
+ +

+getRandomInt

+
+public static int getRandomInt(int r)
+
+
Provide random numbers +

+

+
+
+
+
Parameters:
r - - + the upper bound (exclusive) +
Returns:
a random int
+
+
+
+ +

+setLocale

+
+public static void setLocale(Locale loc)
+
+
Changes the current locale: re-reads resource strings and notifies + listeners. +

+

+
+
+
+
Parameters:
loc - - + new locale
+
+
+
+ +

+getLocale

+
+public static Locale getLocale()
+
+
Gets the current locale. +

+

+
+
+
+ +
Returns:
current locale
+
+
+
+ +

+addLocaleChangeListener

+
+public static void addLocaleChangeListener(LocaleChangeListener listener)
+
+
+
+
+
+
+
+
+
+ +

+removeLocaleChangeListener

+
+public static void removeLocaleChangeListener(LocaleChangeListener listener)
+
+
+
+
+
+
+
+
+
+ +

+getResString

+
+public static String getResString(String key)
+
+
Gets the resource string for this key. + + If the resource is not found, a warning is logged +

+

+
+
+
+
Parameters:
key - the key in the resource file +
Returns:
the resource string if the key is found; otherwise, return + "[res_key="+key+"]"
+
+
+
+ +

+getResString

+
+public static String getResString(String key,
+                                  Locale forcedLocale)
+
+
Gets the resource string for this key in Locale. + + If the resource is not found, a warning is logged +

+

+
+
+
+
Parameters:
key - the key in the resource file
forcedLocale - Force a particular locale +
Returns:
the resource string if the key is found; otherwise, return + "[res_key="+key+"]"
Since:
+
2.7
+
+
+
+
+ +

+getResString

+
+@Deprecated
+public static String getResString(String key,
+                                             String defaultValue)
+
+
Deprecated. Only intended for use in development; use + getResString(String) normally +

+

Gets the resource string for this key. + + If the resource is not found, a warning is logged +

+

+
+
+
+
Parameters:
key - the key in the resource file
defaultValue - - + the default value +
Returns:
the resource string if the key is found; otherwise, return the + default
+
+
+
+ +

+getParsedLabel

+
+public static String getParsedLabel(String key)
+
+
To get I18N label from properties file +

+

+
+
+
+
Parameters:
key - in messages.properties +
Returns:
I18N label without (if exists) last colon ':' and spaces
+
+
+
+ +

+getLocaleString

+
+public static String getLocaleString(String locale)
+
+
Get the locale name as a resource. + Does not log an error if the resource does not exist. + This is needed to support additional locales, as they won't be in existing messages files. +

+

+
+
+
+
Parameters:
locale - name +
Returns:
the locale display name as defined in the current Locale or the original string if not present
+
+
+
+ +

+getJMeterProperties

+
+public static Properties getJMeterProperties()
+
+
This gets the currently defined appProperties. It can only be called + after the getProperties(String) or loadJMeterProperties(String) + method has been called. +

+

+
+
+
+ +
Returns:
The JMeterProperties value, + may be null if loadJMeterProperties(String) has not been called
See Also:
getProperties(String), +loadJMeterProperties(String)
+
+
+
+ +

+getImage

+
+public static ImageIcon getImage(String name)
+
+
This looks for the requested image in the classpath under + org.apache.jmeter.images.<name> +

+

+
+
+
+
Parameters:
name - Description of Parameter +
Returns:
The Image value
+
+
+
+ +

+getImage

+
+public static ImageIcon getImage(String name,
+                                 String description)
+
+
This looks for the requested image in the classpath under + org.apache.jmeter.images.<name>, and also sets the description + of the image, which is useful if the icon is going to be placed + on the clipboard. +

+

+
+
+
+
Parameters:
name - the name of the image
description - the description of the image +
Returns:
The Image value
+
+
+
+ +

+getResourceFileAsText

+
+public static String getResourceFileAsText(String name)
+
+
+
+
+
+
+
+
+
+ +

+getTimers

+
+public static Vector<Object> getTimers(Properties properties)
+
+
Creates the vector of Timers plugins. +

+

+
+
+
+
Parameters:
properties - Description of Parameter +
Returns:
The Timers value
+
+
+
+ +

+getVisualizers

+
+public static Vector<Object> getVisualizers(Properties properties)
+
+
Creates the vector of visualizer plugins. +

+

+
+
+
+
Parameters:
properties - Description of Parameter +
Returns:
The Visualizers value
+
+
+
+ +

+getControllers

+
+public static Vector<Object> getControllers(Properties properties)
+
+
Creates a vector of SampleController plugins. +

+

+
+
+
+
Parameters:
properties - The properties with information about the samplers +
Returns:
The Controllers value
+
+
+
+ +

+getTestSamples

+
+public static String[] getTestSamples(Properties properties,
+                                      String name)
+
+
Create a string of class names for a particular SamplerController +

+

+
+
+
+
Parameters:
properties - The properties with info about the samples.
name - The name of the sampler controller. +
Returns:
The TestSamples value
+
+
+
+ +

+getXMLParser

+
+public static XMLReader getXMLParser()
+
+
Create an instance of an org.xml.sax.Parser based on the default props. +

+

+
+
+
+ +
Returns:
The XMLParser value
+
+
+
+ +

+getAlias

+
+public static Hashtable<String,String> getAlias(Properties properties)
+
+
Creates the vector of alias strings. +

+ The properties will be filtered by all values starting with + alias.. The matching entries will be used for the new + Hashtable while the prefix alias. will be stripped + of the keys. +

+

+
+
+
+
Parameters:
properties - the input values +
Returns:
The Alias value
+
+
+
+ +

+getVector

+
+public static Vector<String> getVector(Properties properties,
+                                       String name)
+
+
Creates a vector of strings for all the properties that start with a + common prefix. +

+

+
+
+
+
Parameters:
properties - Description of Parameter
name - Description of Parameter +
Returns:
The Vector value
+
+
+
+ +

+getHashtable

+
+public static Hashtable<String,String> getHashtable(Properties properties,
+                                                    String prefix)
+
+
Creates a table of strings for all the properties that start with a + common prefix. +

+ So if you have Properties prop with two entries, say +

    +
  • this.test
  • +
  • that.something
  • +
+ And would call this method with a prefix this, the + result would be a new Hashtable with one entry, which key would + be test. +

+

+
+
+
+
Parameters:
properties - input to search
prefix - to match against properties +
Returns:
a Hashtable where the keys are the original matching keys with + the prefix removed
+
+
+
+ +

+getPropDefault

+
+public static int getPropDefault(String propName,
+                                 int defaultVal)
+
+
Get a int value with default if not present. +

+

+
+
+
+
Parameters:
propName - the name of the property.
defaultVal - the default value. +
Returns:
The PropDefault value
+
+
+
+ +

+getPropDefault

+
+public static boolean getPropDefault(String propName,
+                                     boolean defaultVal)
+
+
Get a boolean value with default if not present. +

+

+
+
+
+
Parameters:
propName - the name of the property.
defaultVal - the default value. +
Returns:
The PropDefault value
+
+
+
+ +

+getPropDefault

+
+public static long getPropDefault(String propName,
+                                  long defaultVal)
+
+
Get a long value with default if not present. +

+

+
+
+
+
Parameters:
propName - the name of the property.
defaultVal - the default value. +
Returns:
The PropDefault value
+
+
+
+ +

+getPropDefault

+
+public static String getPropDefault(String propName,
+                                    String defaultVal)
+
+
Get a String value with default if not present. +

+

+
+
+
+
Parameters:
propName - the name of the property.
defaultVal - the default value. +
Returns:
The PropDefault value
+
+
+
+ +

+getProperty

+
+public static String getProperty(String propName)
+
+
Get the value of a JMeter property. +

+

+
+
+
+
Parameters:
propName - the name of the property. +
Returns:
the value of the JMeter property, or null if not defined
+
+
+
+ +

+setProperty

+
+public static Object setProperty(String propName,
+                                 String propValue)
+
+
Set a String value +

+

+
+
+
+
Parameters:
propName - the name of the property.
propValue - the value of the property +
Returns:
the previous value of the property
+
+
+
+ +

+selJComboBoxItem

+
+public static void selJComboBoxItem(Properties properties,
+                                    JComboBox combo,
+                                    Vector<?> namVec,
+                                    String name)
+
+
Sets the selection of the JComboBox to the Object 'name' from the list in + namVec. + NOTUSED? +

+

+
+
+
+
Parameters:
properties - not used at the moment
combo - JComboBox to work on
namVec - List of names, which are displayed in combo
name - Name, that is to be selected. It has to be in namVec
+
+
+
+ +

+instantiate

+
+public static Object instantiate(String className,
+                                 String impls)
+
+
Instatiate an object and guarantee its class. +

+

+
+
+
+
Parameters:
className - The name of the class to instantiate.
impls - The name of the class it must be an instance of +
Returns:
an instance of the class, or null if instantiation failed or the class did not implement/extend as required
+
+
+
+ +

+instantiate

+
+public static Vector<Object> instantiate(Vector<String> v,
+                                         String className)
+
+
Instantiate a vector of classes +

+

+
+
+
+
Parameters:
v - Description of Parameter
className - Description of Parameter +
Returns:
Description of the Returned Value
+
+
+
+ +

+createButton

+
+public static JButton createButton(String name,
+                                   ActionListener listener)
+
+
Create a button with the netscape style +

+

+
+
+
+
Parameters:
name - Description of Parameter
listener - Description of Parameter +
Returns:
Description of the Returned Value
+
+
+
+ +

+createSimpleButton

+
+public static JButton createSimpleButton(String name,
+                                         ActionListener listener)
+
+
Create a button with the netscape style +

+

+
+
+
+
Parameters:
name - Description of Parameter
listener - Description of Parameter +
Returns:
Description of the Returned Value
+
+
+
+ +

+reportErrorToUser

+
+public static void reportErrorToUser(String errorMsg)
+
+
Report an error through a dialog box. + Title defaults to "error_title" resource string +

+

+
+
+
+
Parameters:
errorMsg - - the error message.
+
+
+
+ +

+reportErrorToUser

+
+public static void reportErrorToUser(String errorMsg,
+                                     String titleMsg)
+
+
Report an error through a dialog box. +

+

+
+
+
+
Parameters:
errorMsg - - the error message.
titleMsg - - title string
+
+
+
+ +

+findInArray

+
+public static int findInArray(String[] array,
+                              String value)
+
+
Finds a string in an array of strings and returns the +

+

+
+
+
+
Parameters:
array - Array of strings.
value - String to compare to array values. +
Returns:
Index of value in array, or -1 if not in array.
+
+
+
+ +

+unsplit

+
+public static String unsplit(Object[] splittee,
+                             Object splitChar)
+
+
Takes an array of strings and a tokenizer character, and returns a string + of all the strings concatenated with the tokenizer string in between each + one. +

+

+
+
+
+
Parameters:
splittee - Array of Objects to be concatenated.
splitChar - Object to unsplit the strings with. +
Returns:
Array of all the tokens.
+
+
+
+ +

+unsplit

+
+public static String unsplit(Object[] splittee,
+                             Object splitChar,
+                             String def)
+
+
Takes an array of strings and a tokenizer character, and returns a string + of all the strings concatenated with the tokenizer string in between each + one. +

+

+
+
+
+
Parameters:
splittee - Array of Objects to be concatenated.
splitChar - Object to unsplit the strings with.
def - Default value to replace null values in array. +
Returns:
Array of all the tokens.
+
+
+
+ +

+getJMeterHome

+
+public static String getJMeterHome()
+
+
Get the JMeter home directory - does not include the trailing separator. +

+

+
+
+
+ +
Returns:
the home directory
+
+
+
+ +

+getJMeterBinDir

+
+public static String getJMeterBinDir()
+
+
Get the JMeter bin directory - does not include the trailing separator. +

+

+
+
+
+ +
Returns:
the bin directory
+
+
+
+ +

+setJMeterHome

+
+public static void setJMeterHome(String home)
+
+
+
+
+
+
+
+
+
+ +

+getJMeterVersion

+
+public static String getJMeterVersion()
+
+
Gets the JMeter Version. +

+

+
+
+
+ +
Returns:
the JMeter version string
+
+
+
+ +

+getJMeterCopyright

+
+public static String getJMeterCopyright()
+
+
Gets the JMeter copyright. +

+

+
+
+
+ +
Returns:
the JMeter copyright string
+
+
+
+ +

+isExpertMode

+
+public static boolean isExpertMode()
+
+
Determine whether we are in 'expert' mode. Certain features may be hidden + from user's view unless in expert mode. +

+

+
+
+
+ +
Returns:
true iif we're in expert mode
+
+
+
+ +

+findFile

+
+public static File findFile(String fileName)
+
+
Find a file in the current directory or in the JMeter bin directory. +

+

+
+
+
+
Parameters:
fileName - the name of the file to find +
Returns:
File object
+
+
+
+ +

+getLocalHostIP

+
+public static String getLocalHostIP()
+
+
Returns the cached result from calling + InetAddress.getLocalHost().getHostAddress() +

+

+
+
+
+ +
Returns:
String representation of local IP address
+
+
+
+ +

+getLocalHostName

+
+public static String getLocalHostName()
+
+
Returns the cached result from calling + InetAddress.getLocalHost().getHostName() +

+

+
+
+
+ +
Returns:
local host name
+
+
+
+ +

+getLocalHostFullName

+
+public static String getLocalHostFullName()
+
+
Returns the cached result from calling + InetAddress.getLocalHost().getCanonicalHostName() +

+

+
+
+
+ +
Returns:
local host name in canonical form
+
+
+
+ +

+parseHeaders

+
+public static LinkedHashMap<String,String> parseHeaders(String headers)
+
+
Split line into name/value pairs and remove colon ':' +

+

+
+
+
+
Parameters:
headers - multi-line string headers +
Returns:
a map name/value for each header
+
+
+
+ +

+runSafe

+
+public static final void runSafe(Runnable runnable)
+
+
Run the runnable in AWT Thread if current thread is not AWT thread + otherwise runs call SwingUtilities.invokeAndWait(Runnable) +

+

+
+
+
+
Parameters:
runnable - Runnable
+
+
+
+ +

+helpGC

+
+public static final void helpGC()
+
+
Help GC by triggering GC and finalization +

+

+
+
+
+
+
+
+
+ +

+clearMatcherMemory

+
+public static final void clearMatcherMemory(org.apache.oro.text.regex.Perl5Matcher matcher,
+                                            org.apache.oro.text.regex.Pattern pattern)
+
+
Hack to make matcher clean the two internal buffers it keeps in memory which size is equivalent to + the unzipped page size +

+

+
+
+
+
Parameters:
matcher - Perl5Matcher
pattern - Pattern
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/util/JMeterVersion.html b/docs/api/org/apache/jmeter/util/JMeterVersion.html new file mode 100644 index 00000000000..4a6e53ece52 --- /dev/null +++ b/docs/api/org/apache/jmeter/util/JMeterVersion.html @@ -0,0 +1,219 @@ + + + + + +JMeterVersion (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.util +
+Class JMeterVersion

+
+java.lang.Object
+  extended by org.apache.jmeter.util.JMeterVersion
+
+
+
+
public final class JMeterVersion
extends Object
+ + +

+Utility class to define the JMeter Version string +

+ +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+static StringgetCopyRight() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+getCopyRight

+
+public static String getCopyRight()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/util/JSR223BeanInfoSupport.html b/docs/api/org/apache/jmeter/util/JSR223BeanInfoSupport.html new file mode 100644 index 00000000000..38d4c02a540 --- /dev/null +++ b/docs/api/org/apache/jmeter/util/JSR223BeanInfoSupport.html @@ -0,0 +1,307 @@ + + + + + +JSR223BeanInfoSupport (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.util +
+Class JSR223BeanInfoSupport

+
+java.lang.Object
+  extended by java.beans.SimpleBeanInfo
+      extended by org.apache.jmeter.testbeans.BeanInfoSupport
+          extended by org.apache.jmeter.util.ScriptingBeanInfoSupport
+              extended by org.apache.jmeter.util.JSR223BeanInfoSupport
+
+
+
All Implemented Interfaces:
BeanInfo
+
+
+
Direct Known Subclasses:
JSR223AssertionBeanInfo, JSR223ListenerBeanInfo, JSR223PostProcessorBeanInfo, JSR223PreProcessorBeanInfo, JSR223SamplerBeanInfo, JSR223TimerBeanInfo
+
+
+
+
public abstract class JSR223BeanInfoSupport
extends ScriptingBeanInfoSupport
+ + +

+Parent class to handle common GUI design for JSR223 test elements +

+ +

+


+ +

+ + + + + + + + + + + +
+Field Summary
+static String[][]LANGUAGE_NAMES + +
+           
+ + + + + + + +
Fields inherited from class org.apache.jmeter.testbeans.BeanInfoSupport
DEFAULT, MULTILINE, NOT_EXPRESSION, NOT_OTHER, NOT_UNDEFINED, RESOURCE_BUNDLE, TAGS, TEXT_LANGUAGE
+ + + + + + + +
Fields inherited from interface java.beans.BeanInfo
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32
+  + + + + + + + + + + + +
+Constructor Summary
+protected JSR223BeanInfoSupport(Class<? extends TestBean> beanClass) + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testbeans.BeanInfoSupport
createPropertyGroup, getAdditionalBeanInfo, getBeanDescriptor, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getIcon, getMethodDescriptors, getPropertyDescriptors, property, property, property, setIcon
+ + + + + + + +
Methods inherited from class java.beans.SimpleBeanInfo
loadImage
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+LANGUAGE_NAMES

+
+public static final String[][] LANGUAGE_NAMES
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+JSR223BeanInfoSupport

+
+protected JSR223BeanInfoSupport(Class<? extends TestBean> beanClass)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/util/JSR223TestElement.html b/docs/api/org/apache/jmeter/util/JSR223TestElement.html new file mode 100644 index 00000000000..d3c1e5751fe --- /dev/null +++ b/docs/api/org/apache/jmeter/util/JSR223TestElement.html @@ -0,0 +1,631 @@ + + + + + +JSR223TestElement (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.util +
+Class JSR223TestElement

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.util.ScriptingTestElement
+          extended by org.apache.jmeter.util.JSR223TestElement
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Searchable, TestElement, TestStateListener
+
+
+
Direct Known Subclasses:
JSR223Assertion, JSR223Listener, JSR223PostProcessor, JSR223PreProcessor, JSR223Sampler, JSR223Timer
+
+
+
+
public abstract class JSR223TestElement
extends ScriptingTestElement
implements Serializable, TestStateListener
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.util.ScriptingTestElement
scriptLanguage
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
JSR223TestElement() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetCacheKey() + +
+           
+static ScriptEngineManagergetInstance() + +
+           
+protected  ScriptEnginegetScriptEngine() + +
+           
+ StringgetScriptLanguage() + +
+           
+protected  voidpopulateBindings(Bindings bindings) + +
+          Populate variables to be passed to scripts
+protected  ObjectprocessFileOrScript(ScriptEngine scriptEngine, + Bindings bindings) + +
+          This method will run inline script or file script with special behaviour for file script: + - If ScriptEngine implements Compilable script will be compiled and cached + - If not if will be run
+ voidsetCacheKey(String cacheKey) + +
+           
+ voidsetScriptLanguage(String s) + +
+           
+ voidtestEnded() + +
+           + Called once for all threads after the end of a test.
+ voidtestEnded(String host) + +
+           + Called once for all threads after the end of a test.
+ voidtestStarted() + +
+           + Called just before the start of the test from the main engine thread.
+ voidtestStarted(String host) + +
+           + Called just before the start of the test from the main engine thread.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.util.ScriptingTestElement
getFilename, getParameters, getScript, setFilename, setParameters, setScript
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+JSR223TestElement

+
+public JSR223TestElement()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getInstance

+
+public static ScriptEngineManager getInstance()
+
+
+
+
+
+ +
Returns:
ScriptEngineManager singleton
+
+
+
+ +

+getScriptEngine

+
+protected ScriptEngine getScriptEngine()
+                                throws ScriptException
+
+
+
+
+
+ +
Throws: +
ScriptException
+
+
+
+ +

+populateBindings

+
+protected void populateBindings(Bindings bindings)
+
+
Populate variables to be passed to scripts +

+

+
+
+
+
Parameters:
bindings - Bindings
+
+
+
+ +

+processFileOrScript

+
+protected Object processFileOrScript(ScriptEngine scriptEngine,
+                                     Bindings bindings)
+                              throws IOException,
+                                     ScriptException
+
+
This method will run inline script or file script with special behaviour for file script: + - If ScriptEngine implements Compilable script will be compiled and cached + - If not if will be run +

+

+
+
+
+
Parameters:
scriptEngine - ScriptEngine
bindings - Bindings might be null +
Returns:
Object returned by script +
Throws: +
IOException - when reading the script fails +
ScriptException - when compiling or evaluation of the script fails
+
+
+
+ +

+getCacheKey

+
+public String getCacheKey()
+
+
+
+
+
+ +
Returns:
the cacheKey
+
+
+
+ +

+setCacheKey

+
+public void setCacheKey(String cacheKey)
+
+
+
+
+
+
Parameters:
cacheKey - the cacheKey to set
+
+
+
+ +

+testStarted

+
+public void testStarted()
+
+
Description copied from interface: TestStateListener
+

+ Called just before the start of the test from the main engine thread. + + This is before the test elements are cloned. + + Note that not all the test + variables will have been set up at this point. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testStarted in interface TestStateListener
+
+
+
See Also:
TestStateListener.testStarted()
+
+
+
+ +

+testStarted

+
+public void testStarted(String host)
+
+
Description copied from interface: TestStateListener
+

+ Called just before the start of the test from the main engine thread. + + This is before the test elements are cloned. + + Note that not all the test + variables will have been set up at this point. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testStarted in interface TestStateListener
+
+
+
Parameters:
host - name of host
See Also:
TestStateListener.testStarted(java.lang.String)
+
+
+
+ +

+testEnded

+
+public void testEnded()
+
+
Description copied from interface: TestStateListener
+

+ Called once for all threads after the end of a test. + + This will use the same element instances as at the start of the test. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testEnded in interface TestStateListener
+
+
+
See Also:
TestStateListener.testEnded()
+
+
+
+ +

+testEnded

+
+public void testEnded(String host)
+
+
Description copied from interface: TestStateListener
+

+ Called once for all threads after the end of a test. + + This will use the same element instances as at the start of the test. +

+ +

+ + N.B. testStarted() and testEnded() are called from different threads. + +

+

+

+
Specified by:
testEnded in interface TestStateListener
+
+
+
Parameters:
host - name of host
See Also:
TestStateListener.testEnded(java.lang.String)
+
+
+
+ +

+getScriptLanguage

+
+public String getScriptLanguage()
+
+
+
+
+
+
+
+
+
+ +

+setScriptLanguage

+
+public void setScriptLanguage(String s)
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/util/JsseSSLManager.html b/docs/api/org/apache/jmeter/util/JsseSSLManager.html new file mode 100644 index 00000000000..de1aa5d34db --- /dev/null +++ b/docs/api/org/apache/jmeter/util/JsseSSLManager.html @@ -0,0 +1,398 @@ + + + + + +JsseSSLManager (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.util +
+Class JsseSSLManager

+
+java.lang.Object
+  extended by org.apache.jmeter.util.SSLManager
+      extended by org.apache.jmeter.util.JsseSSLManager
+
+
+
+
public class JsseSSLManager
extends SSLManager
+ + +

+The SSLManager handles the KeyStore information for JMeter. Basically, it + handles all the logic for loading and initializing all the JSSE parameters + and selecting the alias to authenticate against if it is available. + SSLManager will try to automatically select the client certificate for you, + but if it can't make a decision, it will pop open a dialog asking you for + more information. + + TODO: does not actually prompt +

+ +

+


+ +

+ + + + + + + + + + + +
+Field Summary
+static intCPS + +
+          Characters per second, used to slow down sockets
+ + + + + + + +
Fields inherited from class org.apache.jmeter.util.SSLManager
defaultpw, JAVAX_NET_SSL_KEY_STORE
+  + + + + + + + + + + +
+Constructor Summary
JsseSSLManager(Provider provider) + +
+          Create the SSLContext, and wrap all the X509KeyManagers with + our X509KeyManager so that we can choose our alias.
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ SSLContextgetContext() + +
+          Returns the SSLContext we are using.
+ voidresetContext() + +
+          Resets the SSLContext if using per-thread contexts.
+ voidsetContext(HttpURLConnection conn) + +
+          Sets the Context attribute of the JsseSSLManager object
+protected  voidsetProvider(Provider p) + +
+          Sets the Provider attribute of the JsseSSLManager object
+ + + + + + + +
Methods inherited from class org.apache.jmeter.util.SSLManager
configureKeystore, destroyKeystore, getInstance, getKeyStore, getTrustStore, isSSLSupported, reset
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+CPS

+
+public static final int CPS
+
+
Characters per second, used to slow down sockets +

+

+
+
+ + + + + + + + +
+Constructor Detail
+ +

+JsseSSLManager

+
+public JsseSSLManager(Provider provider)
+
+
Create the SSLContext, and wrap all the X509KeyManagers with + our X509KeyManager so that we can choose our alias. +

+

+
Parameters:
provider - Description of Parameter
+
+ + + + + + + + +
+Method Detail
+ +

+setContext

+
+public void setContext(HttpURLConnection conn)
+
+
Sets the Context attribute of the JsseSSLManager object +

+

+
Specified by:
setContext in class SSLManager
+
+
+
Parameters:
conn - The new Context value
+
+
+
+ +

+setProvider

+
+protected final void setProvider(Provider p)
+
+
Sets the Provider attribute of the JsseSSLManager object +

+

+
Overrides:
setProvider in class SSLManager
+
+
+
Parameters:
p - The new Provider value
+
+
+
+ +

+getContext

+
+public SSLContext getContext()
+                      throws GeneralSecurityException
+
+
Returns the SSLContext we are using. This is either a context per thread, + or, for backwards compatibility, a single shared context. +

+

+ +
Returns:
The Context value +
Throws: +
GeneralSecurityException - when constructing the context fails
+
+
+
+ +

+resetContext

+
+public void resetContext()
+
+
Resets the SSLContext if using per-thread contexts. +

+

+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/util/LocaleChangeEvent.html b/docs/api/org/apache/jmeter/util/LocaleChangeEvent.html new file mode 100644 index 00000000000..336713335a6 --- /dev/null +++ b/docs/api/org/apache/jmeter/util/LocaleChangeEvent.html @@ -0,0 +1,299 @@ + + + + + +LocaleChangeEvent (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.util +
+Class LocaleChangeEvent

+
+java.lang.Object
+  extended by java.util.EventObject
+      extended by org.apache.jmeter.util.LocaleChangeEvent
+
+
+
All Implemented Interfaces:
Serializable
+
+
+
+
public class LocaleChangeEvent
extends EventObject
+ + +

+

+
Version:
+
$Revision: 905027 $
+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class java.util.EventObject
source
+  + + + + + + + + + + + + + +
+Constructor Summary
LocaleChangeEvent(Object source) + +
+           
LocaleChangeEvent(Object source, + Locale locale) + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ LocalegetLocale() + +
+           
+ + + + + + + +
Methods inherited from class java.util.EventObject
getSource, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+LocaleChangeEvent

+
+public LocaleChangeEvent(Object source)
+
+
+
+ +

+LocaleChangeEvent

+
+public LocaleChangeEvent(Object source,
+                         Locale locale)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getLocale

+
+public Locale getLocale()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/util/LocaleChangeListener.html b/docs/api/org/apache/jmeter/util/LocaleChangeListener.html new file mode 100644 index 00000000000..4d4c1cd6bec --- /dev/null +++ b/docs/api/org/apache/jmeter/util/LocaleChangeListener.html @@ -0,0 +1,205 @@ + + + + + +LocaleChangeListener (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.util +
+Interface LocaleChangeListener

+
+
All Known Implementing Classes:
FunctionHelper, GuiPackage, JMeterMenuBar, JMeterToolBar, TestBeanGUI
+
+
+
+
public interface LocaleChangeListener
+ + +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+ voidlocaleChanged(LocaleChangeEvent event) + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+localeChanged

+
+void localeChanged(LocaleChangeEvent event)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/util/NameUpdater.html b/docs/api/org/apache/jmeter/util/NameUpdater.html new file mode 100644 index 00000000000..382064d7d64 --- /dev/null +++ b/docs/api/org/apache/jmeter/util/NameUpdater.html @@ -0,0 +1,326 @@ + + + + + +NameUpdater (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.util +
+Class NameUpdater

+
+java.lang.Object
+  extended by org.apache.jmeter.util.NameUpdater
+
+
+
+
public final class NameUpdater
extends Object
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static StringgetCurrentName(String className) + +
+          Looks up the class name; if that does not exist in the map, + then defaults to the input name.
+static StringgetCurrentName(String propertyName, + String className) + +
+          Looks up class name / property name combination; if that + does not exist in the map, then defaults to input property name.
+static StringgetCurrentName(String value, + String propertyName, + String className) + +
+          Looks up class name . property name / value combination; + if that does not exist in the map, returns the original value.
+static StringgetCurrentTestName(String testClassName, + String guiClassName) + +
+          Looks up test element / gui class combination; if that + does not exist in the map, then defaults to getCurrentName(testClassName).
+static booleanisMapped(String key) + +
+          Check if a key is in the map; intended for use by + SaveService#checkClasses() + only.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+getCurrentName

+
+public static String getCurrentName(String className)
+
+
Looks up the class name; if that does not exist in the map, + then defaults to the input name. +

+

+
Parameters:
className - the classname from the script file +
Returns:
the class name to use, possibly updated.
+
+
+
+ +

+getCurrentTestName

+
+public static String getCurrentTestName(String testClassName,
+                                        String guiClassName)
+
+
Looks up test element / gui class combination; if that + does not exist in the map, then defaults to getCurrentName(testClassName). +

+

+
Parameters:
testClassName - - test element class name
guiClassName - - associated gui class name +
Returns:
new test class name
+
+
+
+ +

+getCurrentName

+
+public static String getCurrentName(String propertyName,
+                                    String className)
+
+
Looks up class name / property name combination; if that + does not exist in the map, then defaults to input property name. +

+

+
Parameters:
propertyName - - property name to check
className - - class name containing the property +
Returns:
possibly updated property name
+
+
+
+ +

+getCurrentName

+
+public static String getCurrentName(String value,
+                                    String propertyName,
+                                    String className)
+
+
Looks up class name . property name / value combination; + if that does not exist in the map, returns the original value. +

+

+
Parameters:
value - the value to be checked
propertyName - the name of the property
className - the class containing the propery. +
Returns:
the value, updated if necessary
+
+
+
+ +

+isMapped

+
+public static boolean isMapped(String key)
+
+
Check if a key is in the map; intended for use by + SaveService#checkClasses() + only. +

+

+
Parameters:
key - name of the key to check +
Returns:
true if the key is in the map
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/util/NamedObject.html b/docs/api/org/apache/jmeter/util/NamedObject.html new file mode 100644 index 00000000000..2106339006b --- /dev/null +++ b/docs/api/org/apache/jmeter/util/NamedObject.html @@ -0,0 +1,202 @@ + + + + + +NamedObject (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.util +
+Interface NamedObject

+
+
+
public interface NamedObject
+ + +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+ StringgetName() + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+getName

+
+String getName()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/util/PropertiesBasedPrefixResolver.html b/docs/api/org/apache/jmeter/util/PropertiesBasedPrefixResolver.html new file mode 100644 index 00000000000..1b98aff66b8 --- /dev/null +++ b/docs/api/org/apache/jmeter/util/PropertiesBasedPrefixResolver.html @@ -0,0 +1,274 @@ + + + + + +PropertiesBasedPrefixResolver (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.util +
+Class PropertiesBasedPrefixResolver

+
+java.lang.Object
+  extended by org.apache.xml.utils.PrefixResolverDefault
+      extended by org.apache.jmeter.util.PropertiesBasedPrefixResolver
+
+
+
All Implemented Interfaces:
org.apache.xml.utils.PrefixResolver
+
+
+
+
public class PropertiesBasedPrefixResolver
extends org.apache.xml.utils.PrefixResolverDefault
+ + +

+PrefixResolver implementation that loads prefix configuration from jmeter property xpath.namespace.config +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
PropertiesBasedPrefixResolver(Node xpathExpressionContext) + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ StringgetNamespaceForPrefix(String prefix, + Node namespaceContext) + +
+          Searches prefix in NAMESPACE_MAP, if it fails to find it defaults to parent implementation
+ + + + + + + +
Methods inherited from class org.apache.xml.utils.PrefixResolverDefault
getBaseIdentifier, getNamespaceForPrefix, handlesNullPrefixes
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+PropertiesBasedPrefixResolver

+
+public PropertiesBasedPrefixResolver(Node xpathExpressionContext)
+
+
+
Parameters:
xpathExpressionContext - Node
+
+ + + + + + + + +
+Method Detail
+ +

+getNamespaceForPrefix

+
+public String getNamespaceForPrefix(String prefix,
+                                    Node namespaceContext)
+
+
Searches prefix in NAMESPACE_MAP, if it fails to find it defaults to parent implementation +

+

+
Specified by:
getNamespaceForPrefix in interface org.apache.xml.utils.PrefixResolver
Overrides:
getNamespaceForPrefix in class org.apache.xml.utils.PrefixResolverDefault
+
+
+
Parameters:
prefix - Prefix
namespaceContext - Node
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/util/SSLManager.html b/docs/api/org/apache/jmeter/util/SSLManager.html new file mode 100644 index 00000000000..ce45df870a5 --- /dev/null +++ b/docs/api/org/apache/jmeter/util/SSLManager.html @@ -0,0 +1,518 @@ + + + + + +SSLManager (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.util +
+Class SSLManager

+
+java.lang.Object
+  extended by org.apache.jmeter.util.SSLManager
+
+
+
Direct Known Subclasses:
JsseSSLManager
+
+
+
+
public abstract class SSLManager
extends Object
+ + +

+The SSLManager handles the KeyStore information for JMeter. Basically, it + handles all the logic for loading and initializing all the JSSE parameters + and selecting the alias to authenticate against if it is available. + SSLManager will try to automatically select the client certificate for you, + but if it can't make a decision, it will pop open a dialog asking you for + more information. + + TODO? - N.B. does not currently allow the selection of a client certificate. +

+ +

+


+ +

+ + + + + + + + + + + + + + + +
+Field Summary
+protected  Stringdefaultpw + +
+          Have the password available
+static StringJAVAX_NET_SSL_KEY_STORE + +
+           
+  + + + + + + + + + + + +
+Constructor Summary
+protected SSLManager() + +
+          Protected Constructor to remove the possibility of directly instantiating + this object.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidconfigureKeystore(boolean preload, + int startIndex, + int endIndex, + String clientCertAliasVarName) + +
+          Configure Keystore
+ voiddestroyKeystore() + +
+          Destroy Keystore
+static SSLManagergetInstance() + +
+          Static accessor for the SSLManager object.
+protected  JmeterKeyStoregetKeyStore() + +
+          Opens and initializes the KeyStore.
+protected  KeyStoregetTrustStore() + +
+          Opens and initializes the TrustStore.
+static booleanisSSLSupported() + +
+          Test whether SSL is supported or not.
+static voidreset() + +
+          Resets the SSLManager so that we can create a new one with a new keystore
+abstract  voidsetContext(HttpURLConnection conn) + +
+           
+protected  voidsetProvider(Provider provider) + +
+          Default implementation of setting the Provider
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+JAVAX_NET_SSL_KEY_STORE

+
+public static final String JAVAX_NET_SSL_KEY_STORE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+defaultpw

+
+protected String defaultpw
+
+
Have the password available +

+

+
+
+ + + + + + + + +
+Constructor Detail
+ +

+SSLManager

+
+protected SSLManager()
+
+
Protected Constructor to remove the possibility of directly instantiating + this object. Create the SSLContext, and wrap all the X509KeyManagers with + our X509KeyManager so that we can choose our alias. +

+

+ + + + + + + + +
+Method Detail
+ +

+reset

+
+public static void reset()
+
+
Resets the SSLManager so that we can create a new one with a new keystore +

+

+
+
+
+
+ +

+setContext

+
+public abstract void setContext(HttpURLConnection conn)
+
+
+
+
+
+
+ +

+setProvider

+
+protected void setProvider(Provider provider)
+
+
Default implementation of setting the Provider +

+

+
Parameters:
provider - the provider to use
+
+
+
+ +

+getKeyStore

+
+protected JmeterKeyStore getKeyStore()
+
+
Opens and initializes the KeyStore. If the password for the KeyStore is + not set, this method will prompt you to enter it. Unfortunately, there is + no PasswordEntryField available from JOptionPane. +

+

+ +
Returns:
the configured JmeterKeyStore
+
+
+
+ +

+getTrustStore

+
+protected KeyStore getTrustStore()
+
+
Opens and initializes the TrustStore. + + There are 3 possibilities: + - no truststore name provided, in which case the default Java truststore should be used + - truststore name is provided, and loads OK + - truststore name is provided, but is not found or does not load OK, in which case an empty + truststore is created + + If the KeyStore object cannot be created, then this is currently treated the same + as if no truststore name was provided. +

+

+ +
Returns:
truststore + - null: use Java truststore + - otherwise, the truststore, which may be empty if the file could not be loaded.
+
+
+
+ +

+getInstance

+
+public static final SSLManager getInstance()
+
+
Static accessor for the SSLManager object. The SSLManager is a singleton. +

+

+ +
Returns:
the singleton SSLManager
+
+
+
+ +

+isSSLSupported

+
+public static final boolean isSSLSupported()
+
+
Test whether SSL is supported or not. +

+

+ +
Returns:
flag whether SSL is supported
+
+
+
+ +

+configureKeystore

+
+public void configureKeystore(boolean preload,
+                              int startIndex,
+                              int endIndex,
+                              String clientCertAliasVarName)
+
+
Configure Keystore +

+

+
Parameters:
preload - flag whether the keystore should be opened within this method, + or the opening should be delayed
startIndex - first index to consider for a key
endIndex - last index to consider for a key
clientCertAliasVarName - name of the default key, if empty the first key will be used + as default key
+
+
+
+ +

+destroyKeystore

+
+public void destroyKeystore()
+
+
Destroy Keystore +

+

+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/util/ScopePanel.html b/docs/api/org/apache/jmeter/util/ScopePanel.html new file mode 100644 index 00000000000..29ba582a39c --- /dev/null +++ b/docs/api/org/apache/jmeter/util/ScopePanel.html @@ -0,0 +1,726 @@ + + + + + +ScopePanel (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.util +
+Class ScopePanel

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.util.ScopePanel
+
+
+
All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible
+
+
+
+
public class ScopePanel
extends JPanel
implements ActionListener
+ + +

+Scope panel so users can choose whether + to apply the test element to the parent sample, the child samples or both. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + + + + + + + +
+Constructor Summary
ScopePanel() + +
+           
ScopePanel(boolean enableVariableButton) + +
+           
ScopePanel(boolean enableVariableButton, + boolean enableParentAndSubsamples, + boolean enableSubsamplesOnly) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidactionPerformed(ActionEvent e) + +
+           
+ voidclearGui() + +
+           
+ intgetSelection() + +
+           
+ StringgetVariable() + +
+           
+ booleanisScopeAll() + +
+           
+ booleanisScopeChildren() + +
+           
+ booleanisScopeParent() + +
+           
+ booleanisScopeVariable() + +
+           
+ voidsetScopeAll() + +
+           
+ voidsetScopeAll(boolean enableVariableButton) + +
+           
+ voidsetScopeChildren() + +
+           
+ voidsetScopeChildren(boolean enableVariableButton) + +
+           
+ voidsetScopeParent() + +
+           
+ voidsetScopeParent(boolean enableVariableButton) + +
+           
+ voidsetScopeVariable(String value) + +
+           
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ScopePanel

+
+public ScopePanel()
+
+
+
+ +

+ScopePanel

+
+public ScopePanel(boolean enableVariableButton)
+
+
+
+ +

+ScopePanel

+
+public ScopePanel(boolean enableVariableButton,
+                  boolean enableParentAndSubsamples,
+                  boolean enableSubsamplesOnly)
+
+
+ + + + + + + + +
+Method Detail
+ +

+clearGui

+
+public void clearGui()
+
+
+
+
+
+
+
+
+
+ +

+getSelection

+
+public int getSelection()
+
+
+
+
+
+
+
+
+
+ +

+setScopeAll

+
+public void setScopeAll()
+
+
+
+
+
+
+
+
+
+ +

+setScopeAll

+
+public void setScopeAll(boolean enableVariableButton)
+
+
+
+
+
+
+
+
+
+ +

+setScopeChildren

+
+public void setScopeChildren()
+
+
+
+
+
+
+
+
+
+ +

+setScopeChildren

+
+public void setScopeChildren(boolean enableVariableButton)
+
+
+
+
+
+
+
+
+
+ +

+setScopeParent

+
+public void setScopeParent()
+
+
+
+
+
+
+
+
+
+ +

+setScopeParent

+
+public void setScopeParent(boolean enableVariableButton)
+
+
+
+
+
+
+
+
+
+ +

+setScopeVariable

+
+public void setScopeVariable(String value)
+
+
+
+
+
+
+
+
+
+ +

+isScopeParent

+
+public boolean isScopeParent()
+
+
+
+
+
+
+
+
+
+ +

+isScopeChildren

+
+public boolean isScopeChildren()
+
+
+
+
+
+
+
+
+
+ +

+isScopeAll

+
+public boolean isScopeAll()
+
+
+
+
+
+
+
+
+
+ +

+isScopeVariable

+
+public boolean isScopeVariable()
+
+
+
+
+
+
+
+
+
+ +

+actionPerformed

+
+public void actionPerformed(ActionEvent e)
+
+
+
Specified by:
actionPerformed in interface ActionListener
+
+
+
+
+
+
+ +

+getVariable

+
+public String getVariable()
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/util/ScriptingBeanInfoSupport.html b/docs/api/org/apache/jmeter/util/ScriptingBeanInfoSupport.html new file mode 100644 index 00000000000..b96718d433b --- /dev/null +++ b/docs/api/org/apache/jmeter/util/ScriptingBeanInfoSupport.html @@ -0,0 +1,301 @@ + + + + + +ScriptingBeanInfoSupport (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.util +
+Class ScriptingBeanInfoSupport

+
+java.lang.Object
+  extended by java.beans.SimpleBeanInfo
+      extended by org.apache.jmeter.testbeans.BeanInfoSupport
+          extended by org.apache.jmeter.util.ScriptingBeanInfoSupport
+
+
+
All Implemented Interfaces:
BeanInfo
+
+
+
Direct Known Subclasses:
BSFBeanInfoSupport, JSR223BeanInfoSupport
+
+
+
+
public abstract class ScriptingBeanInfoSupport
extends BeanInfoSupport
+ + +

+Parent class to define common GUI parameters for BSF and JSR223 test elements +

+ +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.testbeans.BeanInfoSupport
DEFAULT, MULTILINE, NOT_EXPRESSION, NOT_OTHER, NOT_UNDEFINED, RESOURCE_BUNDLE, TAGS, TEXT_LANGUAGE
+ + + + + + + +
Fields inherited from interface java.beans.BeanInfo
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32
+  + + + + + + + + + + + + + + + +
+Constructor Summary
+ ScriptingBeanInfoSupport(Class<? extends TestBean> beanClass, + String[] languageTags) + +
+           
+protected ScriptingBeanInfoSupport(Class<? extends TestBean> beanClass, + String[] LANGUAGE_TAGS, + ResourceBundle rb) + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testbeans.BeanInfoSupport
createPropertyGroup, getAdditionalBeanInfo, getBeanDescriptor, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getIcon, getMethodDescriptors, getPropertyDescriptors, property, property, property, setIcon
+ + + + + + + +
Methods inherited from class java.beans.SimpleBeanInfo
loadImage
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ScriptingBeanInfoSupport

+
+public ScriptingBeanInfoSupport(Class<? extends TestBean> beanClass,
+                                String[] languageTags)
+
+
+
+ +

+ScriptingBeanInfoSupport

+
+protected ScriptingBeanInfoSupport(Class<? extends TestBean> beanClass,
+                                   String[] LANGUAGE_TAGS,
+                                   ResourceBundle rb)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/util/ScriptingTestElement.html b/docs/api/org/apache/jmeter/util/ScriptingTestElement.html new file mode 100644 index 00000000000..322f069603c --- /dev/null +++ b/docs/api/org/apache/jmeter/util/ScriptingTestElement.html @@ -0,0 +1,420 @@ + + + + + +ScriptingTestElement (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.util +
+Class ScriptingTestElement

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.util.ScriptingTestElement
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Searchable, TestElement
+
+
+
Direct Known Subclasses:
BSFTestElement, JSR223TestElement
+
+
+
+
public abstract class ScriptingTestElement
extends AbstractTestElement
+ + +

+Common parent class for the BSFTestElement and JSR223TestElement scripting test elements. + These also share the ScriptingBeanInfoSupport class for configuration. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Field Summary
+protected  StringscriptLanguage + +
+           
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
ScriptingTestElement() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetFilename() + +
+           
+ StringgetParameters() + +
+           
+ StringgetScript() + +
+          Return the script (TestBean version).
+ voidsetFilename(String s) + +
+           
+ voidsetParameters(String s) + +
+           
+ voidsetScript(String s) + +
+          Set the script (TestBean version).
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+scriptLanguage

+
+protected String scriptLanguage
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+ScriptingTestElement

+
+public ScriptingTestElement()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getScript

+
+public String getScript()
+
+
Return the script (TestBean version). + Must be overridden for subclasses that don't implement TestBean + otherwise the clone() method won't work. +

+

+ +
Returns:
the script to execute
+
+
+
+ +

+setScript

+
+public void setScript(String s)
+
+
Set the script (TestBean version). + Must be overridden for subclasses that don't implement TestBean + otherwise the clone() method won't work. +

+

+
Parameters:
s - the script to execute (may be blank)
+
+
+
+ +

+getParameters

+
+public String getParameters()
+
+
+
+
+
+
+ +

+setParameters

+
+public void setParameters(String s)
+
+
+
+
+
+
+ +

+getFilename

+
+public String getFilename()
+
+
+
+
+
+
+ +

+setFilename

+
+public void setFilename(String s)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/util/ShutdownClient.html b/docs/api/org/apache/jmeter/util/ShutdownClient.html new file mode 100644 index 00000000000..36a511213b1 --- /dev/null +++ b/docs/api/org/apache/jmeter/util/ShutdownClient.html @@ -0,0 +1,255 @@ + + + + + +ShutdownClient (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.util +
+Class ShutdownClient

+
+java.lang.Object
+  extended by org.apache.jmeter.util.ShutdownClient
+
+
+
+
public class ShutdownClient
extends Object
+ + +

+Simple utility to send a shutdown message to a non-GUI instance of JMeter +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
ShutdownClient() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static voidmain(String[] args) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ShutdownClient

+
+public ShutdownClient()
+
+
+ + + + + + + + +
+Method Detail
+ +

+main

+
+public static void main(String[] args)
+                 throws IOException
+
+
+ +
Throws: +
IOException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/util/SlowInputStream.html b/docs/api/org/apache/jmeter/util/SlowInputStream.html new file mode 100644 index 00000000000..fc581164d6e --- /dev/null +++ b/docs/api/org/apache/jmeter/util/SlowInputStream.html @@ -0,0 +1,325 @@ + + + + + +SlowInputStream (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.util +
+Class SlowInputStream

+
+java.lang.Object
+  extended by java.io.InputStream
+      extended by java.io.FilterInputStream
+          extended by org.apache.jmeter.util.SlowInputStream
+
+
+
All Implemented Interfaces:
Closeable
+
+
+
+
public class SlowInputStream
extends FilterInputStream
+ + +

+InputStream wrapper to emulate a slow device, e.g. modem +

+ +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class java.io.FilterInputStream
in
+  + + + + + + + + + + +
+Constructor Summary
SlowInputStream(InputStream in, + int cps) + +
+          Wraps the input stream to emulate a slow device
+  + + + + + + + + + + + + + + + +
+Method Summary
+ intread() + +
+           
+ intread(byte[] b, + int off, + int len) + +
+           
+ + + + + + + +
Methods inherited from class java.io.FilterInputStream
available, close, mark, markSupported, read, reset, skip
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SlowInputStream

+
+public SlowInputStream(InputStream in,
+                       int cps)
+
+
Wraps the input stream to emulate a slow device +

+

+
Parameters:
in - input stream
cps - characters per second to emulate
+
+ + + + + + + + +
+Method Detail
+ +

+read

+
+public int read()
+         throws IOException
+
+
+
Overrides:
read in class FilterInputStream
+
+
+ +
Throws: +
IOException
+
+
+
+ +

+read

+
+public int read(byte[] b,
+                int off,
+                int len)
+         throws IOException
+
+
+
Overrides:
read in class FilterInputStream
+
+
+ +
Throws: +
IOException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/util/SlowOutputStream.html b/docs/api/org/apache/jmeter/util/SlowOutputStream.html new file mode 100644 index 00000000000..c120c91c51d --- /dev/null +++ b/docs/api/org/apache/jmeter/util/SlowOutputStream.html @@ -0,0 +1,325 @@ + + + + + +SlowOutputStream (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.util +
+Class SlowOutputStream

+
+java.lang.Object
+  extended by java.io.OutputStream
+      extended by java.io.FilterOutputStream
+          extended by org.apache.jmeter.util.SlowOutputStream
+
+
+
All Implemented Interfaces:
Closeable, Flushable
+
+
+
+
public class SlowOutputStream
extends FilterOutputStream
+ + +

+OutputStream filter to emulate a slow device, e.g. modem +

+ +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class java.io.FilterOutputStream
out
+  + + + + + + + + + + +
+Constructor Summary
SlowOutputStream(OutputStream out, + int cps) + +
+          Create wrapped Output Stream toe emulate the requested CPS.
+  + + + + + + + + + + + + + + + +
+Method Summary
+ voidwrite(byte[] b, + int off, + int len) + +
+           
+ voidwrite(int b) + +
+           
+ + + + + + + +
Methods inherited from class java.io.FilterOutputStream
close, flush, write
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SlowOutputStream

+
+public SlowOutputStream(OutputStream out,
+                        int cps)
+
+
Create wrapped Output Stream toe emulate the requested CPS. +

+

+
Parameters:
out - OutputStream
cps - characters per second
+
+ + + + + + + + +
+Method Detail
+ +

+write

+
+public void write(byte[] b,
+                  int off,
+                  int len)
+           throws IOException
+
+
+
Overrides:
write in class FilterOutputStream
+
+
+ +
Throws: +
IOException
+
+
+
+ +

+write

+
+public void write(int b)
+           throws IOException
+
+
+
Overrides:
write in class FilterOutputStream
+
+
+ +
Throws: +
IOException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/util/SlowSSLSocket.html b/docs/api/org/apache/jmeter/util/SlowSSLSocket.html new file mode 100644 index 00000000000..3c1753f629e --- /dev/null +++ b/docs/api/org/apache/jmeter/util/SlowSSLSocket.html @@ -0,0 +1,1626 @@ + + + + + +SlowSSLSocket (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.util +
+Class SlowSSLSocket

+
+java.lang.Object
+  extended by java.net.Socket
+      extended by javax.net.ssl.SSLSocket
+          extended by org.apache.jmeter.util.SlowSSLSocket
+
+
+
+
public class SlowSSLSocket
extends SSLSocket
+ + +

+"Slow" SSLsocket implementation to emulate dial-up modems etc + + WARNING: the class relies on overriding all superclass methods in order to apply them to the input socket. + Any missing methods will access the superclass socket, which will probably be in the wrong state. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
SlowSSLSocket(SSLSocket sock, + int cps) + +
+          Wrap an SSLSocket with slow input and output streams
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddHandshakeCompletedListener(HandshakeCompletedListener arg0) + +
+           
+ voidbind(SocketAddress bindpoint) + +
+           
+ voidclose() + +
+           
+ voidconnect(SocketAddress endpoint) + +
+           
+ voidconnect(SocketAddress endpoint, + int timeout) + +
+           
+ SocketChannelgetChannel() + +
+           
+ String[]getEnabledCipherSuites() + +
+           
+ String[]getEnabledProtocols() + +
+           
+ booleangetEnableSessionCreation() + +
+           
+ InetAddressgetInetAddress() + +
+           
+ InputStreamgetInputStream() + +
+           
+ booleangetKeepAlive() + +
+           
+ InetAddressgetLocalAddress() + +
+           
+ intgetLocalPort() + +
+           
+ SocketAddressgetLocalSocketAddress() + +
+           
+ booleangetNeedClientAuth() + +
+           
+ booleangetOOBInline() + +
+           
+ OutputStreamgetOutputStream() + +
+           
+ intgetPort() + +
+           
+ intgetReceiveBufferSize() + +
+           
+ SocketAddressgetRemoteSocketAddress() + +
+           
+ booleangetReuseAddress() + +
+           
+ intgetSendBufferSize() + +
+           
+ SSLSessiongetSession() + +
+           
+ intgetSoLinger() + +
+           
+ intgetSoTimeout() + +
+           
+ String[]getSupportedCipherSuites() + +
+           
+ String[]getSupportedProtocols() + +
+           
+ booleangetTcpNoDelay() + +
+           
+ intgetTrafficClass() + +
+           
+ booleangetUseClientMode() + +
+           
+ booleangetWantClientAuth() + +
+           
+ booleanisBound() + +
+           
+ booleanisClosed() + +
+           
+ booleanisConnected() + +
+           
+ booleanisInputShutdown() + +
+           
+ booleanisOutputShutdown() + +
+           
+ voidremoveHandshakeCompletedListener(HandshakeCompletedListener arg0) + +
+           
+ voidsendUrgentData(int data) + +
+           
+ voidsetEnabledCipherSuites(String[] arg0) + +
+           
+ voidsetEnabledProtocols(String[] arg0) + +
+           
+ voidsetEnableSessionCreation(boolean arg0) + +
+           
+ voidsetKeepAlive(boolean on) + +
+           
+ voidsetNeedClientAuth(boolean arg0) + +
+           
+ voidsetOOBInline(boolean on) + +
+           
+ voidsetReceiveBufferSize(int size) + +
+           
+ voidsetReuseAddress(boolean on) + +
+           
+ voidsetSendBufferSize(int size) + +
+           
+ voidsetSoLinger(boolean on, + int linger) + +
+           
+ voidsetSoTimeout(int timeout) + +
+           
+ voidsetTcpNoDelay(boolean on) + +
+           
+ voidsetTrafficClass(int tc) + +
+           
+ voidsetUseClientMode(boolean arg0) + +
+           
+ voidsetWantClientAuth(boolean arg0) + +
+           
+ voidshutdownInput() + +
+           
+ voidshutdownOutput() + +
+           
+ voidstartHandshake() + +
+           
+ StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class javax.net.ssl.SSLSocket
getSSLParameters, setSSLParameters
+ + + + + + + +
Methods inherited from class java.net.Socket
setPerformancePreferences, setSocketImplFactory
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SlowSSLSocket

+
+public SlowSSLSocket(SSLSocket sock,
+                     int cps)
+
+
Wrap an SSLSocket with slow input and output streams +

+

+
Parameters:
sock - SSLSocket to be wrapped
cps - characters per second to emulate
+
+ + + + + + + + +
+Method Detail
+ +

+getOutputStream

+
+public OutputStream getOutputStream()
+                             throws IOException
+
+
+
Overrides:
getOutputStream in class Socket
+
+
+ +
Throws: +
IOException
+
+
+
+ +

+getInputStream

+
+public InputStream getInputStream()
+                           throws IOException
+
+
+
Overrides:
getInputStream in class Socket
+
+
+ +
Throws: +
IOException
+
+
+
+ +

+addHandshakeCompletedListener

+
+public void addHandshakeCompletedListener(HandshakeCompletedListener arg0)
+
+
+
Specified by:
addHandshakeCompletedListener in class SSLSocket
+
+
+
+
+
+
+ +

+getEnableSessionCreation

+
+public boolean getEnableSessionCreation()
+
+
+
Specified by:
getEnableSessionCreation in class SSLSocket
+
+
+
+
+
+
+ +

+getEnabledCipherSuites

+
+public String[] getEnabledCipherSuites()
+
+
+
Specified by:
getEnabledCipherSuites in class SSLSocket
+
+
+
+
+
+
+ +

+getEnabledProtocols

+
+public String[] getEnabledProtocols()
+
+
+
Specified by:
getEnabledProtocols in class SSLSocket
+
+
+
+
+
+
+ +

+getNeedClientAuth

+
+public boolean getNeedClientAuth()
+
+
+
Specified by:
getNeedClientAuth in class SSLSocket
+
+
+
+
+
+
+ +

+getSession

+
+public SSLSession getSession()
+
+
+
Specified by:
getSession in class SSLSocket
+
+
+
+
+
+
+ +

+getSupportedCipherSuites

+
+public String[] getSupportedCipherSuites()
+
+
+
Specified by:
getSupportedCipherSuites in class SSLSocket
+
+
+
+
+
+
+ +

+getSupportedProtocols

+
+public String[] getSupportedProtocols()
+
+
+
Specified by:
getSupportedProtocols in class SSLSocket
+
+
+
+
+
+
+ +

+getUseClientMode

+
+public boolean getUseClientMode()
+
+
+
Specified by:
getUseClientMode in class SSLSocket
+
+
+
+
+
+
+ +

+getWantClientAuth

+
+public boolean getWantClientAuth()
+
+
+
Specified by:
getWantClientAuth in class SSLSocket
+
+
+
+
+
+
+ +

+removeHandshakeCompletedListener

+
+public void removeHandshakeCompletedListener(HandshakeCompletedListener arg0)
+
+
+
Specified by:
removeHandshakeCompletedListener in class SSLSocket
+
+
+
+
+
+
+ +

+setEnableSessionCreation

+
+public void setEnableSessionCreation(boolean arg0)
+
+
+
Specified by:
setEnableSessionCreation in class SSLSocket
+
+
+
+
+
+
+ +

+setEnabledCipherSuites

+
+public void setEnabledCipherSuites(String[] arg0)
+
+
+
Specified by:
setEnabledCipherSuites in class SSLSocket
+
+
+
+
+
+
+ +

+setEnabledProtocols

+
+public void setEnabledProtocols(String[] arg0)
+
+
+
Specified by:
setEnabledProtocols in class SSLSocket
+
+
+
+
+
+
+ +

+setNeedClientAuth

+
+public void setNeedClientAuth(boolean arg0)
+
+
+
Specified by:
setNeedClientAuth in class SSLSocket
+
+
+
+
+
+
+ +

+setUseClientMode

+
+public void setUseClientMode(boolean arg0)
+
+
+
Specified by:
setUseClientMode in class SSLSocket
+
+
+
+
+
+
+ +

+setWantClientAuth

+
+public void setWantClientAuth(boolean arg0)
+
+
+
Specified by:
setWantClientAuth in class SSLSocket
+
+
+
+
+
+
+ +

+startHandshake

+
+public void startHandshake()
+                    throws IOException
+
+
+
Specified by:
startHandshake in class SSLSocket
+
+
+ +
Throws: +
IOException
+
+
+
+ +

+bind

+
+public void bind(SocketAddress bindpoint)
+          throws IOException
+
+
+
Overrides:
bind in class Socket
+
+
+ +
Throws: +
IOException
+
+
+
+ +

+close

+
+public void close()
+           throws IOException
+
+
+
Overrides:
close in class Socket
+
+
+ +
Throws: +
IOException
+
+
+
+ +

+connect

+
+public void connect(SocketAddress endpoint,
+                    int timeout)
+             throws IOException
+
+
+
Overrides:
connect in class Socket
+
+
+ +
Throws: +
IOException
+
+
+
+ +

+connect

+
+public void connect(SocketAddress endpoint)
+             throws IOException
+
+
+
Overrides:
connect in class Socket
+
+
+ +
Throws: +
IOException
+
+
+
+ +

+getChannel

+
+public SocketChannel getChannel()
+
+
+
Overrides:
getChannel in class Socket
+
+
+
+
+
+
+ +

+getInetAddress

+
+public InetAddress getInetAddress()
+
+
+
Overrides:
getInetAddress in class Socket
+
+
+
+
+
+
+ +

+getKeepAlive

+
+public boolean getKeepAlive()
+                     throws SocketException
+
+
+
Overrides:
getKeepAlive in class Socket
+
+
+ +
Throws: +
SocketException
+
+
+
+ +

+getLocalAddress

+
+public InetAddress getLocalAddress()
+
+
+
Overrides:
getLocalAddress in class Socket
+
+
+
+
+
+
+ +

+getLocalPort

+
+public int getLocalPort()
+
+
+
Overrides:
getLocalPort in class Socket
+
+
+
+
+
+
+ +

+getLocalSocketAddress

+
+public SocketAddress getLocalSocketAddress()
+
+
+
Overrides:
getLocalSocketAddress in class Socket
+
+
+
+
+
+
+ +

+getOOBInline

+
+public boolean getOOBInline()
+                     throws SocketException
+
+
+
Overrides:
getOOBInline in class Socket
+
+
+ +
Throws: +
SocketException
+
+
+
+ +

+getPort

+
+public int getPort()
+
+
+
Overrides:
getPort in class Socket
+
+
+
+
+
+
+ +

+getReceiveBufferSize

+
+public int getReceiveBufferSize()
+                         throws SocketException
+
+
+
Overrides:
getReceiveBufferSize in class Socket
+
+
+ +
Throws: +
SocketException
+
+
+
+ +

+getRemoteSocketAddress

+
+public SocketAddress getRemoteSocketAddress()
+
+
+
Overrides:
getRemoteSocketAddress in class Socket
+
+
+
+
+
+
+ +

+getReuseAddress

+
+public boolean getReuseAddress()
+                        throws SocketException
+
+
+
Overrides:
getReuseAddress in class Socket
+
+
+ +
Throws: +
SocketException
+
+
+
+ +

+getSendBufferSize

+
+public int getSendBufferSize()
+                      throws SocketException
+
+
+
Overrides:
getSendBufferSize in class Socket
+
+
+ +
Throws: +
SocketException
+
+
+
+ +

+getSoLinger

+
+public int getSoLinger()
+                throws SocketException
+
+
+
Overrides:
getSoLinger in class Socket
+
+
+ +
Throws: +
SocketException
+
+
+
+ +

+getSoTimeout

+
+public int getSoTimeout()
+                 throws SocketException
+
+
+
Overrides:
getSoTimeout in class Socket
+
+
+ +
Throws: +
SocketException
+
+
+
+ +

+getTcpNoDelay

+
+public boolean getTcpNoDelay()
+                      throws SocketException
+
+
+
Overrides:
getTcpNoDelay in class Socket
+
+
+ +
Throws: +
SocketException
+
+
+
+ +

+getTrafficClass

+
+public int getTrafficClass()
+                    throws SocketException
+
+
+
Overrides:
getTrafficClass in class Socket
+
+
+ +
Throws: +
SocketException
+
+
+
+ +

+isBound

+
+public boolean isBound()
+
+
+
Overrides:
isBound in class Socket
+
+
+
+
+
+
+ +

+isClosed

+
+public boolean isClosed()
+
+
+
Overrides:
isClosed in class Socket
+
+
+
+
+
+
+ +

+isConnected

+
+public boolean isConnected()
+
+
+
Overrides:
isConnected in class Socket
+
+
+
+
+
+
+ +

+isInputShutdown

+
+public boolean isInputShutdown()
+
+
+
Overrides:
isInputShutdown in class Socket
+
+
+
+
+
+
+ +

+isOutputShutdown

+
+public boolean isOutputShutdown()
+
+
+
Overrides:
isOutputShutdown in class Socket
+
+
+
+
+
+
+ +

+sendUrgentData

+
+public void sendUrgentData(int data)
+                    throws IOException
+
+
+
Overrides:
sendUrgentData in class Socket
+
+
+ +
Throws: +
IOException
+
+
+
+ +

+setKeepAlive

+
+public void setKeepAlive(boolean on)
+                  throws SocketException
+
+
+
Overrides:
setKeepAlive in class Socket
+
+
+ +
Throws: +
SocketException
+
+
+
+ +

+setOOBInline

+
+public void setOOBInline(boolean on)
+                  throws SocketException
+
+
+
Overrides:
setOOBInline in class Socket
+
+
+ +
Throws: +
SocketException
+
+
+
+ +

+setReceiveBufferSize

+
+public void setReceiveBufferSize(int size)
+                          throws SocketException
+
+
+
Overrides:
setReceiveBufferSize in class Socket
+
+
+ +
Throws: +
SocketException
+
+
+
+ +

+setReuseAddress

+
+public void setReuseAddress(boolean on)
+                     throws SocketException
+
+
+
Overrides:
setReuseAddress in class Socket
+
+
+ +
Throws: +
SocketException
+
+
+
+ +

+setSendBufferSize

+
+public void setSendBufferSize(int size)
+                       throws SocketException
+
+
+
Overrides:
setSendBufferSize in class Socket
+
+
+ +
Throws: +
SocketException
+
+
+
+ +

+setSoLinger

+
+public void setSoLinger(boolean on,
+                        int linger)
+                 throws SocketException
+
+
+
Overrides:
setSoLinger in class Socket
+
+
+ +
Throws: +
SocketException
+
+
+
+ +

+setSoTimeout

+
+public void setSoTimeout(int timeout)
+                  throws SocketException
+
+
+
Overrides:
setSoTimeout in class Socket
+
+
+ +
Throws: +
SocketException
+
+
+
+ +

+setTcpNoDelay

+
+public void setTcpNoDelay(boolean on)
+                   throws SocketException
+
+
+
Overrides:
setTcpNoDelay in class Socket
+
+
+ +
Throws: +
SocketException
+
+
+
+ +

+setTrafficClass

+
+public void setTrafficClass(int tc)
+                     throws SocketException
+
+
+
Overrides:
setTrafficClass in class Socket
+
+
+ +
Throws: +
SocketException
+
+
+
+ +

+shutdownInput

+
+public void shutdownInput()
+                   throws IOException
+
+
+
Overrides:
shutdownInput in class Socket
+
+
+ +
Throws: +
IOException
+
+
+
+ +

+shutdownOutput

+
+public void shutdownOutput()
+                    throws IOException
+
+
+
Overrides:
shutdownOutput in class Socket
+
+
+ +
Throws: +
IOException
+
+
+
+ +

+toString

+
+public String toString()
+
+
+
Overrides:
toString in class Socket
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/util/SlowSocket.html b/docs/api/org/apache/jmeter/util/SlowSocket.html new file mode 100644 index 00000000000..ac62708e7eb --- /dev/null +++ b/docs/api/org/apache/jmeter/util/SlowSocket.html @@ -0,0 +1,384 @@ + + + + + +SlowSocket (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.util +
+Class SlowSocket

+
+java.lang.Object
+  extended by java.net.Socket
+      extended by org.apache.jmeter.util.SlowSocket
+
+
+
+
public class SlowSocket
extends Socket
+ + +

+"Slow" (non-SSL) socket implementation to emulate dial-up modems etc +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + +
+Constructor Summary
SlowSocket(int cps) + +
+          Added for use by SlowHC4SocketFactory.
SlowSocket(int cps, + String host, + int port) + +
+           
SlowSocket(int cps, + String host, + int port, + InetAddress localAddr, + int localPort) + +
+           
SlowSocket(int cps, + String host, + int port, + InetAddress localAddress, + int localPort, + int timeout) + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ InputStreamgetInputStream() + +
+           
+ OutputStreamgetOutputStream() + +
+           
+ + + + + + + +
Methods inherited from class java.net.Socket
bind, close, connect, connect, getChannel, getInetAddress, getKeepAlive, getLocalAddress, getLocalPort, getLocalSocketAddress, getOOBInline, getPort, getReceiveBufferSize, getRemoteSocketAddress, getReuseAddress, getSendBufferSize, getSoLinger, getSoTimeout, getTcpNoDelay, getTrafficClass, isBound, isClosed, isConnected, isInputShutdown, isOutputShutdown, sendUrgentData, setKeepAlive, setOOBInline, setPerformancePreferences, setReceiveBufferSize, setReuseAddress, setSendBufferSize, setSocketImplFactory, setSoLinger, setSoTimeout, setTcpNoDelay, setTrafficClass, shutdownInput, shutdownOutput, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SlowSocket

+
+public SlowSocket(int cps,
+                  String host,
+                  int port,
+                  InetAddress localAddress,
+                  int localPort,
+                  int timeout)
+           throws IOException
+
+
+ +
Throws: +
IOException
+
+
+ +

+SlowSocket

+
+public SlowSocket(int cps,
+                  String host,
+                  int port,
+                  InetAddress localAddr,
+                  int localPort)
+           throws IOException
+
+
+
Parameters:
cps - characters per second
host - hostname
port - port
localAddr - local address
localPort - local port +
Throws: +
IOException - if an I/O error occurs during initialization +
IllegalArgumentException - if cps <= 0, or if the port or + localPort values lie outside of the allowed + range between 0 and 65535
+
+
+ +

+SlowSocket

+
+public SlowSocket(int cps,
+                  String host,
+                  int port)
+           throws UnknownHostException,
+                  IOException
+
+
+
Parameters:
cps - characters per second
host - hostname
port - port +
Throws: +
UnknownHostException - if the name of the host can not be determined automatically +
IOException - if an I/O error occurs during initialization +
IllegalArgumentException - if cps <= 0, or if the port or + localPort values lie outside of the allowed + range between 0 and 65535
+
+
+ +

+SlowSocket

+
+public SlowSocket(int cps)
+
+
Added for use by SlowHC4SocketFactory. +

+

+
Parameters:
cps - characters per second
+
+ + + + + + + + +
+Method Detail
+ +

+getOutputStream

+
+public OutputStream getOutputStream()
+                             throws IOException
+
+
+
Overrides:
getOutputStream in class Socket
+
+
+ +
Throws: +
IOException
+
+
+
+ +

+getInputStream

+
+public InputStream getInputStream()
+                           throws IOException
+
+
+
Overrides:
getInputStream in class Socket
+
+
+ +
Throws: +
IOException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/util/StringUtilities.html b/docs/api/org/apache/jmeter/util/StringUtilities.html new file mode 100644 index 00000000000..f3520d06323 --- /dev/null +++ b/docs/api/org/apache/jmeter/util/StringUtilities.html @@ -0,0 +1,222 @@ + + + + + +StringUtilities (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.util +
+Class StringUtilities

+
+java.lang.Object
+  extended by org.apache.jmeter.util.StringUtilities
+
+
+
+
public final class StringUtilities
extends Object
+ + +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+static Stringsubstitute(String input, + String pattern, + String sub) + +
+          Replace all patterns in a String
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+substitute

+
+public static String substitute(String input,
+                                String pattern,
+                                String sub)
+
+
Replace all patterns in a String +

+

+
Parameters:
input - - string to be transformed
pattern - - pattern to replace
sub - - replacement +
Returns:
the updated string
See Also:
- JDK1.4 only
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/util/ThreadLocalRandom.html b/docs/api/org/apache/jmeter/util/ThreadLocalRandom.html new file mode 100644 index 00000000000..16edc00bc23 --- /dev/null +++ b/docs/api/org/apache/jmeter/util/ThreadLocalRandom.html @@ -0,0 +1,449 @@ + + + + + +ThreadLocalRandom (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.util +
+Class ThreadLocalRandom

+
+java.lang.Object
+  extended by java.util.Random
+      extended by org.apache.jmeter.util.ThreadLocalRandom
+
+
+
All Implemented Interfaces:
Serializable
+
+
+
+
public class ThreadLocalRandom
extends Random
+ + +

+A random number generator isolated to the current thread. Like the + global Random generator used by the Math class, a ThreadLocalRandom is initialized + with an internally generated seed that may not otherwise be + modified. When applicable, use of ThreadLocalRandom rather + than shared Random objects in concurrent programs will + typically encounter much less overhead and contention. Use of + ThreadLocalRandom is particularly appropriate when multiple + tasks (for example, each a java.util.concurrent.ForkJoinTask (JDK 1.7)) + use random numbers in parallel in thread pools. + +

Usages of this class should typically be of the form: + ThreadLocalRandom.current().nextX(...) (where + X is Int, Long, etc). + When all usages are of this form, it is never possible to + accidently share a ThreadLocalRandom across multiple threads. + +

This class also provides additional commonly used bounded random + generation methods. +

+ +

+

+
Since:
+
2.12
+
Author:
+
Doug Lea + TODO Remove when minimum Java Version become Java 7
+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static ThreadLocalRandomcurrent() + +
+          Returns the current thread's ThreadLocalRandom.
+protected  intnext(int bits) + +
+           
+ doublenextDouble(double n) + +
+          Returns a pseudorandom, uniformly distributed double value + between 0 (inclusive) and the specified value (exclusive).
+ doublenextDouble(double least, + double bound) + +
+          Returns a pseudorandom, uniformly distributed value between the + given least value (inclusive) and bound (exclusive).
+ intnextInt(int least, + int bound) + +
+          Returns a pseudorandom, uniformly distributed value between the + given least value (inclusive) and bound (exclusive).
+ longnextLong(long n) + +
+          Returns a pseudorandom, uniformly distributed value + between 0 (inclusive) and the specified value (exclusive).
+ longnextLong(long least, + long bound) + +
+          Returns a pseudorandom, uniformly distributed value between the + given least value (inclusive) and bound (exclusive).
+ voidsetSeed(long seed) + +
+          Throws UnsupportedOperationException.
+ + + + + + + +
Methods inherited from class java.util.Random
nextBoolean, nextBytes, nextDouble, nextFloat, nextGaussian, nextInt, nextInt, nextLong
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+current

+
+public static ThreadLocalRandom current()
+
+
Returns the current thread's ThreadLocalRandom. +

+

+ +
Returns:
the current thread's ThreadLocalRandom
+
+
+
+ +

+setSeed

+
+public void setSeed(long seed)
+
+
Throws UnsupportedOperationException. Setting seeds in + this generator is not supported. +

+

+
Overrides:
setSeed in class Random
+
+
+ +
Throws: +
UnsupportedOperationException - always
+
+
+
+ +

+next

+
+protected int next(int bits)
+
+
+
Overrides:
next in class Random
+
+
+
+
+
+
+ +

+nextInt

+
+public int nextInt(int least,
+                   int bound)
+
+
Returns a pseudorandom, uniformly distributed value between the + given least value (inclusive) and bound (exclusive). +

+

+
Parameters:
least - the least value returned
bound - the upper bound (exclusive) +
Returns:
the next value +
Throws: +
IllegalArgumentException - if least greater than or equal + to bound
+
+
+
+ +

+nextLong

+
+public long nextLong(long n)
+
+
Returns a pseudorandom, uniformly distributed value + between 0 (inclusive) and the specified value (exclusive). +

+

+
Parameters:
n - the bound on the random number to be returned. Must be + positive. +
Returns:
the next value +
Throws: +
IllegalArgumentException - if n is not positive
+
+
+
+ +

+nextLong

+
+public long nextLong(long least,
+                     long bound)
+
+
Returns a pseudorandom, uniformly distributed value between the + given least value (inclusive) and bound (exclusive). +

+

+
Parameters:
least - the least value returned
bound - the upper bound (exclusive) +
Returns:
the next value +
Throws: +
IllegalArgumentException - if least greater than or equal + to bound
+
+
+
+ +

+nextDouble

+
+public double nextDouble(double n)
+
+
Returns a pseudorandom, uniformly distributed double value + between 0 (inclusive) and the specified value (exclusive). +

+

+
Parameters:
n - the bound on the random number to be returned. Must be + positive. +
Returns:
the next value +
Throws: +
IllegalArgumentException - if n is not positive
+
+
+
+ +

+nextDouble

+
+public double nextDouble(double least,
+                         double bound)
+
+
Returns a pseudorandom, uniformly distributed value between the + given least value (inclusive) and bound (exclusive). +

+

+
Parameters:
least - the least value returned
bound - the upper bound (exclusive) +
Returns:
the next value +
Throws: +
IllegalArgumentException - if least greater than or equal + to bound
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/util/TidyException.html b/docs/api/org/apache/jmeter/util/TidyException.html new file mode 100644 index 00000000000..53769bfa9da --- /dev/null +++ b/docs/api/org/apache/jmeter/util/TidyException.html @@ -0,0 +1,256 @@ + + + + + +TidyException (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.util +
+Class TidyException

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by org.apache.jmeter.util.TidyException
+
+
+
All Implemented Interfaces:
Serializable
+
+
+
+
public class TidyException
extends Exception
+ + +

+Class for reporting errors when running Tidy. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
TidyException() + +
+           
TidyException(int errors, + int warnings) + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+TidyException

+
+public TidyException()
+
+
+
+ +

+TidyException

+
+public TidyException(int errors,
+                     int warnings)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/util/XPathUtil.html b/docs/api/org/apache/jmeter/util/XPathUtil.html new file mode 100644 index 00000000000..c3d50153f20 --- /dev/null +++ b/docs/api/org/apache/jmeter/util/XPathUtil.html @@ -0,0 +1,491 @@ + + + + + +XPathUtil (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.util +
+Class XPathUtil

+
+java.lang.Object
+  extended by org.apache.jmeter.util.XPathUtil
+
+
+
+
public class XPathUtil
extends Object
+ + +

+This class provides a few utility methods for dealing with XML/XPath. +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static voidcomputeAssertionResult(AssertionResult result, + Document doc, + String xPathExpression, + boolean isNegated) + +
+          Fills result
+static StringformatXml(String xml) + +
+          Formats XML
+static DocumentmakeDocument(InputStream stream, + boolean validate, + boolean whitespace, + boolean namespace, + boolean tolerant, + boolean quiet, + boolean showWarnings, + boolean report_errors, + boolean isXml, + boolean downloadDTDs) + +
+          Utility function to get new Document
+static DocumentmakeDocument(InputStream stream, + boolean validate, + boolean whitespace, + boolean namespace, + boolean tolerant, + boolean quiet, + boolean showWarnings, + boolean report_errors, + boolean isXml, + boolean downloadDTDs, + OutputStream tidyOut) + +
+          Utility function to get new Document
+static DocumentBuildermakeDocumentBuilder(boolean validate, + boolean whitespace, + boolean namespace, + boolean downloadDTDs) + +
+          Create a DocumentBuilder using the makeDocumentFactory func.
+static org.w3c.tidy.TidymakeTidyParser(boolean quiet, + boolean showWarnings, + boolean isXml, + StringWriter stringWriter) + +
+          Create a Tidy parser with the specified settings.
+static voidputValuesForXPathInList(Document document, + String xPathQuery, + List<String> matchStrings, + boolean fragment) + +
+          Put in matchStrings results of evaluation
+static NodeListselectNodeList(Document document, + String xPathExpression) + +
+          Extract NodeList using expression
+static voidvalidateXPath(Document document, + String xpathString) + +
+          Validate xpathString is a valid XPath expression
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+makeDocumentBuilder

+
+public static DocumentBuilder makeDocumentBuilder(boolean validate,
+                                                  boolean whitespace,
+                                                  boolean namespace,
+                                                  boolean downloadDTDs)
+                                           throws ParserConfigurationException
+
+
Create a DocumentBuilder using the makeDocumentFactory func. +

+

+
Parameters:
validate - should the parser validate documents?
whitespace - should the parser eliminate whitespace in element content?
namespace - should the parser be namespace aware?
downloadDTDs - if true, parser should attempt to resolve external entities +
Returns:
document builder +
Throws: +
ParserConfigurationException - if DocumentBuilder can not be created for the wanted configuration
+
+
+
+ +

+makeDocument

+
+public static Document makeDocument(InputStream stream,
+                                    boolean validate,
+                                    boolean whitespace,
+                                    boolean namespace,
+                                    boolean tolerant,
+                                    boolean quiet,
+                                    boolean showWarnings,
+                                    boolean report_errors,
+                                    boolean isXml,
+                                    boolean downloadDTDs)
+                             throws ParserConfigurationException,
+                                    SAXException,
+                                    IOException,
+                                    TidyException
+
+
Utility function to get new Document +

+

+
Parameters:
stream - - Document Input stream
validate - - Validate Document (not Tidy)
whitespace - - Element Whitespace (not Tidy)
namespace - - Is Namespace aware. (not Tidy)
tolerant - - Is tolerant - i.e. use the Tidy parser
quiet - - set Tidy quiet
showWarnings - - set Tidy warnings
report_errors - - throw TidyException if Tidy detects an error
isXml - - is document already XML (Tidy only)
downloadDTDs - - if true, try to download external DTDs +
Returns:
document +
Throws: +
ParserConfigurationException - when no DocumentBuilder can be constructed for the wanted configuration +
SAXException - if parsing fails +
IOException - if an I/O error occurs while parsing +
TidyException - if a ParseError is detected and report_errors is true
+
+
+
+ +

+makeDocument

+
+public static Document makeDocument(InputStream stream,
+                                    boolean validate,
+                                    boolean whitespace,
+                                    boolean namespace,
+                                    boolean tolerant,
+                                    boolean quiet,
+                                    boolean showWarnings,
+                                    boolean report_errors,
+                                    boolean isXml,
+                                    boolean downloadDTDs,
+                                    OutputStream tidyOut)
+                             throws ParserConfigurationException,
+                                    SAXException,
+                                    IOException,
+                                    TidyException
+
+
Utility function to get new Document +

+

+
Parameters:
stream - - Document Input stream
validate - - Validate Document (not Tidy)
whitespace - - Element Whitespace (not Tidy)
namespace - - Is Namespace aware. (not Tidy)
tolerant - - Is tolerant - i.e. use the Tidy parser
quiet - - set Tidy quiet
showWarnings - - set Tidy warnings
report_errors - - throw TidyException if Tidy detects an error
isXml - - is document already XML (Tidy only)
downloadDTDs - - if true, try to download external DTDs
tidyOut - OutputStream for Tidy pretty-printing +
Returns:
document +
Throws: +
ParserConfigurationException - if DocumentBuilder can not be created for the wanted configuration +
SAXException - if parsing fails +
IOException - if I/O error occurs while parsing +
TidyException - if a ParseError is detected and report_errors is true
+
+
+
+ +

+makeTidyParser

+
+public static org.w3c.tidy.Tidy makeTidyParser(boolean quiet,
+                                               boolean showWarnings,
+                                               boolean isXml,
+                                               StringWriter stringWriter)
+
+
Create a Tidy parser with the specified settings. +

+

+
Parameters:
quiet - - set the Tidy quiet flag?
showWarnings - - show Tidy warnings?
isXml - - treat the content as XML?
stringWriter - - if non-null, use this for Tidy errorOutput +
Returns:
the Tidy parser
+
+
+
+ +

+selectNodeList

+
+public static NodeList selectNodeList(Document document,
+                                      String xPathExpression)
+                               throws TransformerException
+
+
Extract NodeList using expression +

+

+
Parameters:
document - Document
xPathExpression - XPath expression +
Returns:
NodeList +
Throws: +
TransformerException - when the internally used xpath engine fails
+
+
+
+ +

+putValuesForXPathInList

+
+public static void putValuesForXPathInList(Document document,
+                                           String xPathQuery,
+                                           List<String> matchStrings,
+                                           boolean fragment)
+                                    throws TransformerException
+
+
Put in matchStrings results of evaluation +

+

+
Parameters:
document - XML document
xPathQuery - XPath Query
matchStrings - List of strings that will be filled
fragment - return fragment +
Throws: +
TransformerException - when the internally used xpath engine fails
+
+
+
+ +

+validateXPath

+
+public static void validateXPath(Document document,
+                                 String xpathString)
+                          throws TransformerException
+
+
Validate xpathString is a valid XPath expression +

+

+
Parameters:
document - XML Document
xpathString - XPATH String +
Throws: +
TransformerException - if expression fails to evaluate
+
+
+
+ +

+computeAssertionResult

+
+public static void computeAssertionResult(AssertionResult result,
+                                          Document doc,
+                                          String xPathExpression,
+                                          boolean isNegated)
+
+
Fills result +

+

+
Parameters:
result - AssertionResult
doc - XML Document
xPathExpression - XPath expression
isNegated - flag whether a non-match should be considered a success
+
+
+
+ +

+formatXml

+
+public static final String formatXml(String xml)
+
+
Formats XML +

+

+
Parameters:
xml - string to format +
Returns:
String formatted XML
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/util/keystore/JmeterKeyStore.html b/docs/api/org/apache/jmeter/util/keystore/JmeterKeyStore.html new file mode 100644 index 00000000000..f7b43272a8d --- /dev/null +++ b/docs/api/org/apache/jmeter/util/keystore/JmeterKeyStore.html @@ -0,0 +1,433 @@ + + + + + +JmeterKeyStore (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.util.keystore +
+Class JmeterKeyStore

+
+java.lang.Object
+  extended by org.apache.jmeter.util.keystore.JmeterKeyStore
+
+
+
+
public final class JmeterKeyStore
extends Object
+ + +

+Use this Keystore for JMeter specific KeyStores. +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetAlias() + +
+          Get the next or only alias.
+ StringgetAlias(int index) + +
+           
+ intgetAliasCount() + +
+           
+ X509Certificate[]getCertificateChain(String alias) + +
+          Get the ordered certificate chain for a specific alias.
+ String[]getClientAliases(String keyType, + Principal[] issuers) + +
+          Compiles the list of all client aliases with a private key.
+static JmeterKeyStoregetInstance(String type) + +
+          Create a keystore which returns the first alias only.
+static JmeterKeyStoregetInstance(String type, + int startIndex, + int endIndex, + String clientCertAliasVarName) + +
+          Create a keystore which returns a range of aliases (if available)
+ PrivateKeygetPrivateKey(String alias) + +
+          Return the private Key for a specific alias
+ voidload(InputStream is, + String pword) + +
+          Process the input stream and try to read the keys from the store
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+load

+
+public void load(InputStream is,
+                 String pword)
+          throws NoSuchAlgorithmException,
+                 CertificateException,
+                 IOException,
+                 KeyStoreException,
+                 UnrecoverableKeyException
+
+
Process the input stream and try to read the keys from the store +

+

+
Parameters:
is - InputStream from which the store should be loaded
pword - the password used to check the integrity of the store +
Throws: +
IOException - if there is a problem decoding or reading the store. A bad + password might be the cause for this, or an empty store +
CertificateException - if any of the certificated in the store can not be loaded +
NoSuchAlgorithmException - if the algorithm to check the integrity of the store can not + be found +
KeyStoreException - if the store has not been initialized (should not happen + here) +
UnrecoverableKeyException - if the key can not be recovered from the store (should not + happen here, either)
+
+
+
+ +

+getCertificateChain

+
+public X509Certificate[] getCertificateChain(String alias)
+
+
Get the ordered certificate chain for a specific alias. +

+

+
Parameters:
alias - the alias for which the certificate chain should be given +
Returns:
the certificate chain for the alias +
Throws: +
IllegalArgumentException - if no chain could be found for the alias
+
+
+
+ +

+getAlias

+
+public String getAlias()
+
+
Get the next or only alias. +

+

+ +
Returns:
the next or only alias. +
Throws: +
IllegalArgumentException - if clientCertAliasVarName is not empty and no key for this + alias could be found
+
+
+
+ +

+getAliasCount

+
+public int getAliasCount()
+
+
+
+
+
+
+ +

+getAlias

+
+public String getAlias(int index)
+
+
+
+
+
+
+ +

+getPrivateKey

+
+public PrivateKey getPrivateKey(String alias)
+
+
Return the private Key for a specific alias +

+

+
Parameters:
alias - the name of the alias for the private key +
Returns:
the private key for the given alias +
Throws: +
IllegalArgumentException - when no private key could be found
+
+
+
+ +

+getInstance

+
+public static JmeterKeyStore getInstance(String type,
+                                         int startIndex,
+                                         int endIndex,
+                                         String clientCertAliasVarName)
+                                  throws KeyStoreException
+
+
Create a keystore which returns a range of aliases (if available) +

+

+
Parameters:
type - store type (e.g. JKS)
startIndex - first index (from 0)
endIndex - last index (to count -1)
clientCertAliasVarName - name of the default key to, if empty the first key will be + used as default key +
Returns:
the keystore +
Throws: +
KeyStoreException - when the type of the store is not supported +
IllegalArgumentException - when startIndex < 0, endIndex + < 0, or endIndex < startIndex
+
+
+
+ +

+getInstance

+
+public static JmeterKeyStore getInstance(String type)
+                                  throws KeyStoreException
+
+
Create a keystore which returns the first alias only. +

+

+
Parameters:
type - of the store e.g. JKS +
Returns:
the keystore +
Throws: +
KeyStoreException - when the type of the store is not supported
+
+
+
+ +

+getClientAliases

+
+public String[] getClientAliases(String keyType,
+                                 Principal[] issuers)
+
+
Compiles the list of all client aliases with a private key. + TODO Currently, keyType and issuers are both ignored. +

+

+
Parameters:
keyType - the key algorithm type name (RSA, DSA, etc.)
issuers - the CA certificates we are narrowing our selection on. +
Returns:
the array of aliases; may be empty
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/util/keystore/package-frame.html b/docs/api/org/apache/jmeter/util/keystore/package-frame.html new file mode 100644 index 00000000000..cadb71cb487 --- /dev/null +++ b/docs/api/org/apache/jmeter/util/keystore/package-frame.html @@ -0,0 +1,30 @@ + + + + + +org.apache.jmeter.util.keystore (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.util.keystore + + + + +
+Classes  + +
+JmeterKeyStore
+ + + + diff --git a/docs/api/org/apache/jmeter/util/keystore/package-summary.html b/docs/api/org/apache/jmeter/util/keystore/package-summary.html new file mode 100644 index 00000000000..807a68c19e1 --- /dev/null +++ b/docs/api/org/apache/jmeter/util/keystore/package-summary.html @@ -0,0 +1,153 @@ + + + + + +org.apache.jmeter.util.keystore (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.util.keystore +

+ + + + + + + + + +
+Class Summary
JmeterKeyStoreUse this Keystore for JMeter specific KeyStores.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/util/keystore/package-tree.html b/docs/api/org/apache/jmeter/util/keystore/package-tree.html new file mode 100644 index 00000000000..7e4072d53ea --- /dev/null +++ b/docs/api/org/apache/jmeter/util/keystore/package-tree.html @@ -0,0 +1,149 @@ + + + + + +org.apache.jmeter.util.keystore Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.util.keystore +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/util/package-frame.html b/docs/api/org/apache/jmeter/util/package-frame.html new file mode 100644 index 00000000000..09ce4cf0388 --- /dev/null +++ b/docs/api/org/apache/jmeter/util/package-frame.html @@ -0,0 +1,122 @@ + + + + + +org.apache.jmeter.util (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.util + + + + +
+Interfaces  + +
+LocaleChangeListener +
+NamedObject
+ + + + + + +
+Classes  + +
+BeanShellBeanInfoSupport +
+BeanShellClient +
+BeanShellInterpreter +
+BeanShellServer +
+BeanShellTestElement +
+BSFBeanInfoSupport +
+BSFJavaScriptEngine +
+BSFTestElement +
+Calculator +
+ColorHelper +
+CPSPauser +
+CustomX509TrustManager +
+Document +
+HttpSSLProtocolSocketFactory +
+JMeterTreeNodeTransferable +
+JMeterUtils +
+JMeterVersion +
+JSR223BeanInfoSupport +
+JSR223TestElement +
+JsseSSLManager +
+LocaleChangeEvent +
+NameUpdater +
+PropertiesBasedPrefixResolver +
+ScopePanel +
+ScriptingBeanInfoSupport +
+ScriptingTestElement +
+ShutdownClient +
+SlowInputStream +
+SlowOutputStream +
+SlowSocket +
+SlowSSLSocket +
+SSLManager +
+StringUtilities +
+ThreadLocalRandom +
+XPathUtil
+ + + + + + +
+Exceptions  + +
+TidyException
+ + + + diff --git a/docs/api/org/apache/jmeter/util/package-summary.html b/docs/api/org/apache/jmeter/util/package-summary.html new file mode 100644 index 00000000000..e0ea0e41a61 --- /dev/null +++ b/docs/api/org/apache/jmeter/util/package-summary.html @@ -0,0 +1,339 @@ + + + + + +org.apache.jmeter.util (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.util +

+ + + + + + + + + + + + + +
+Interface Summary
LocaleChangeListener 
NamedObject 
+  + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
BeanShellBeanInfoSupportParent class to handle common GUI design
BeanShellClientImplements a client that can talk to the JMeter BeanShell server.
BeanShellInterpreterBeanShell setup function - encapsulates all the access to the BeanShell + Interpreter in a single class.
BeanShellServerImplements a BeanShell server to allow access to JMeter variables and + methods.
BeanShellTestElement 
BSFBeanInfoSupportParent class to handle common GUI design for BSF test elements
BSFJavaScriptEngineThis is the interface to Netscape's Rhino (JavaScript) from the + Bean Scripting Framework.
BSFTestElement 
CalculatorClass to calculate various items that don't require all previous results to be saved: + + mean = average + standard deviation + minimum + maximum +
ColorHelperThis class contains the static utility methods to manipulate colors.
CPSPauserGenerate appropriate pauses for a given CPS (characters per second)
CustomX509TrustManagerCustom TrustManager ignores all certificate errors + + TODO: implement conditional checking and logging + + (Derived from AuthSSLX509TrustManager in HttpClient contrib directory)
Document 
HttpSSLProtocolSocketFactoryDerived from EasySSLProtocolFactory + + Used by JsseSSLManager to set up the Commons HttpClient and Java https socket handling
JMeterTreeNodeTransferableSimple implementation of a transferable for JMeterTreeNode arrays based on serialization.
JMeterUtilsThis class contains the static utility methods used by JMeter.
JMeterVersionUtility class to define the JMeter Version string
JSR223BeanInfoSupportParent class to handle common GUI design for JSR223 test elements
JSR223TestElement 
JsseSSLManagerThe SSLManager handles the KeyStore information for JMeter.
LocaleChangeEvent 
NameUpdater 
PropertiesBasedPrefixResolverPrefixResolver implementation that loads prefix configuration from jmeter property xpath.namespace.config
ScopePanelScope panel so users can choose whether + to apply the test element to the parent sample, the child samples or both.
ScriptingBeanInfoSupportParent class to define common GUI parameters for BSF and JSR223 test elements
ScriptingTestElementCommon parent class for the BSFTestElement and JSR223TestElement scripting test elements.
ShutdownClientSimple utility to send a shutdown message to a non-GUI instance of JMeter
SlowInputStreamInputStream wrapper to emulate a slow device, e.g. modem
SlowOutputStreamOutputStream filter to emulate a slow device, e.g. modem
SlowSocket"Slow" (non-SSL) socket implementation to emulate dial-up modems etc
SlowSSLSocket"Slow" SSLsocket implementation to emulate dial-up modems etc + + WARNING: the class relies on overriding all superclass methods in order to apply them to the input socket.
SSLManagerThe SSLManager handles the KeyStore information for JMeter.
StringUtilities 
ThreadLocalRandomA random number generator isolated to the current thread.
XPathUtilThis class provides a few utility methods for dealing with XML/XPath.
+  + +

+ + + + + + + + + +
+Exception Summary
TidyExceptionClass for reporting errors when running Tidy.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/util/package-tree.html b/docs/api/org/apache/jmeter/util/package-tree.html new file mode 100644 index 00000000000..b025f4cd3c2 --- /dev/null +++ b/docs/api/org/apache/jmeter/util/package-tree.html @@ -0,0 +1,223 @@ + + + + + +org.apache.jmeter.util Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.util +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/AccumListener.html b/docs/api/org/apache/jmeter/visualizers/AccumListener.html new file mode 100644 index 00000000000..33879c9473b --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/AccumListener.html @@ -0,0 +1,202 @@ + + + + + +AccumListener (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers +
+Interface AccumListener

+
+
+
public interface AccumListener
+ + +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+ voidupdateGui(RunningSample s) + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+updateGui

+
+void updateGui(RunningSample s)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/AssertionVisualizer.html b/docs/api/org/apache/jmeter/visualizers/AssertionVisualizer.html new file mode 100644 index 00000000000..279ebdbe866 --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/AssertionVisualizer.html @@ -0,0 +1,492 @@ + + + + + +AssertionVisualizer (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers +
+Class AssertionVisualizer

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.visualizers.gui.AbstractListenerGui
+                          extended by org.apache.jmeter.visualizers.gui.AbstractVisualizer
+                              extended by org.apache.jmeter.visualizers.AssertionVisualizer
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, EventListener, Accessible, ChangeListener, ClearGui, JMeterGUIComponent, UnsharedComponent, Clearable, Printable, Visualizer
+
+
+
+
public class AssertionVisualizer
extends AbstractVisualizer
implements Clearable
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.visualizers.gui.AbstractVisualizer
collector, isStats
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
AssertionVisualizer() + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidadd(SampleResult sample) + +
+          This method is called by sampling thread to inform the visualizer about + the arrival of a new sample.
+ voidclearData() + +
+          Clears the current data of the object.
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.visualizers.gui.AbstractVisualizer
clearGui, configure, configureTestElement, createTestElement, getErrorLoggingCheckbox, getFile, getFilePanel, getModel, isStats, makeTitlePanel, modifyTestElement, setFile, setModel, stateChanged
+ + + + + + + +
Methods inherited from class org.apache.jmeter.visualizers.gui.AbstractListenerGui
createPopupMenu, getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+AssertionVisualizer

+
+public AssertionVisualizer()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+
Specified by:
getLabelResource in interface JMeterGUIComponent
+
+
+ +
Returns:
the resource name
+
+
+
+ +

+add

+
+public void add(SampleResult sample)
+
+
Description copied from interface: Visualizer
+
This method is called by sampling thread to inform the visualizer about + the arrival of a new sample. +

+

+
Specified by:
add in interface Visualizer
+
+
+
Parameters:
sample - the newly arrived sample
+
+
+
+ +

+clearData

+
+public void clearData()
+
+
Description copied from interface: Clearable
+
Clears the current data of the object. +

+

+
Specified by:
clearData in interface Clearable
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/AxisGraph.html b/docs/api/org/apache/jmeter/visualizers/AxisGraph.html new file mode 100644 index 00000000000..fa0723fd65e --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/AxisGraph.html @@ -0,0 +1,1373 @@ + + + + + +AxisGraph (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers +
+Class AxisGraph

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.visualizers.AxisGraph
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible
+
+
+
+
public class AxisGraph
extends JPanel
+ + +

+Axis graph is used by StatGraphVisualizer, which generates bar graphs + from the statistical data. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+protected  Color[]color + +
+           
+protected  double[][]data + +
+           
+protected  ColorforeColor + +
+           
+protected  intheight + +
+           
+protected  FontlegendFont + +
+           
+protected  String[]legendLabels + +
+           
+protected  intlegendPlacement + +
+           
+protected  intmaxLength + +
+           
+protected  intmaxYAxisScale + +
+           
+protected  booleanoutlinesBarFlag + +
+           
+protected  booleanshowGrouping + +
+           
+protected  Stringtitle + +
+           
+protected  FonttitleFont + +
+           
+protected  FontvalueFont + +
+           
+protected  booleanvalueOrientation + +
+           
+protected  intwidth + +
+           
+protected  String[]xAxisLabels + +
+           
+protected  StringxAxisTitle + +
+           
+protected  StringyAxisLabel + +
+           
+protected  StringyAxisTitle + +
+           
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + + + + + + + +
+Constructor Summary
AxisGraph() + +
+           
AxisGraph(LayoutManager layout) + +
+           
AxisGraph(LayoutManager layout, + boolean isDoubleBuffered) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Color[]getColor() + +
+           
+ ColorgetForeColor() + +
+           
+ FontgetLegendFont() + +
+           
+ intgetLegendPlacement() + +
+           
+ intgetMaxYAxisScale() + +
+           
+ FontgetTitleFont() + +
+           
+ FontgetValueFont() + +
+           
+ booleanisOutlinesBarFlag() + +
+           
+ booleanisShowGrouping() + +
+           
+ booleanisValueOrientation() + +
+           
+ voidpaintComponent(Graphics graphics) + +
+           
+ voidsetColor(Color[] color) + +
+           
+ voidsetData(double[][] data) + +
+          Expects null array when no data not empty array
+ voidsetForeColor(Color foreColor) + +
+           
+ voidsetHeight(int h) + +
+           
+ voidsetLegendFont(Font legendFont) + +
+           
+ voidsetLegendLabels(String[] labels) + +
+           
+ voidsetLegendPlacement(int legendPlacement) + +
+           
+ voidsetMaxLength(int maxLength) + +
+           
+ voidsetMaxYAxisScale(int maxYAxisScale) + +
+           
+ voidsetOutlinesBarFlag(boolean outlinesBarFlag) + +
+           
+ voidsetShowGrouping(boolean showGrouping) + +
+           
+ voidsetTitle(String title) + +
+           
+ voidsetTitleFont(Font titleFont) + +
+           
+ voidsetValueFont(Font valueFont) + +
+           
+ voidsetValueOrientation(boolean valueOrientation) + +
+           
+ voidsetWidth(int w) + +
+           
+ voidsetXAxisLabels(String[] labels) + +
+          Expects null array when no labels not empty array
+ voidsetXAxisTitle(String title) + +
+           
+ voidsetYAxisLabels(String label) + +
+           
+ voidsetYAxisTitle(String title) + +
+           
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+data

+
+protected double[][] data
+
+
+
+
+
+ +

+title

+
+protected String title
+
+
+
+
+
+ +

+xAxisTitle

+
+protected String xAxisTitle
+
+
+
+
+
+ +

+yAxisTitle

+
+protected String yAxisTitle
+
+
+
+
+
+ +

+yAxisLabel

+
+protected String yAxisLabel
+
+
+
+
+
+ +

+maxLength

+
+protected int maxLength
+
+
+
+
+
+ +

+xAxisLabels

+
+protected String[] xAxisLabels
+
+
+
+
+
+ +

+width

+
+protected int width
+
+
+
+
+
+ +

+height

+
+protected int height
+
+
+
+
+
+ +

+legendLabels

+
+protected String[] legendLabels
+
+
+
+
+
+ +

+maxYAxisScale

+
+protected int maxYAxisScale
+
+
+
+
+
+ +

+titleFont

+
+protected Font titleFont
+
+
+
+
+
+ +

+legendFont

+
+protected Font legendFont
+
+
+
+
+
+ +

+valueFont

+
+protected Font valueFont
+
+
+
+
+
+ +

+color

+
+protected Color[] color
+
+
+
+
+
+ +

+foreColor

+
+protected Color foreColor
+
+
+
+
+
+ +

+outlinesBarFlag

+
+protected boolean outlinesBarFlag
+
+
+
+
+
+ +

+showGrouping

+
+protected boolean showGrouping
+
+
+
+
+
+ +

+valueOrientation

+
+protected boolean valueOrientation
+
+
+
+
+
+ +

+legendPlacement

+
+protected int legendPlacement
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+AxisGraph

+
+public AxisGraph()
+
+
+
+ +

+AxisGraph

+
+public AxisGraph(LayoutManager layout)
+
+
+
Parameters:
layout - The LayoutManager to use
+
+
+ +

+AxisGraph

+
+public AxisGraph(LayoutManager layout,
+                 boolean isDoubleBuffered)
+
+
+
Parameters:
layout - The LayoutManager to use
isDoubleBuffered - Flag whether double buffering should be used
+
+ + + + + + + + +
+Method Detail
+ +

+setData

+
+public void setData(double[][] data)
+
+
Expects null array when no data not empty array +

+

+
Parameters:
data - The data to be drawn
+
+
+
+ +

+setTitle

+
+public void setTitle(String title)
+
+
+
+
+
+
+ +

+setMaxLength

+
+public void setMaxLength(int maxLength)
+
+
+
+
+
+
+ +

+setXAxisTitle

+
+public void setXAxisTitle(String title)
+
+
+
+
+
+
+ +

+setYAxisTitle

+
+public void setYAxisTitle(String title)
+
+
+
+
+
+
+ +

+setXAxisLabels

+
+public void setXAxisLabels(String[] labels)
+
+
Expects null array when no labels not empty array +

+

+
Parameters:
labels - The labels for the x axis
+
+
+
+ +

+setYAxisLabels

+
+public void setYAxisLabels(String label)
+
+
+
+
+
+
+ +

+setLegendLabels

+
+public void setLegendLabels(String[] labels)
+
+
+
+
+
+
+ +

+setWidth

+
+public void setWidth(int w)
+
+
+
+
+
+
+ +

+setHeight

+
+public void setHeight(int h)
+
+
+
+
+
+
+ +

+getMaxYAxisScale

+
+public int getMaxYAxisScale()
+
+
+ +
Returns:
the maxYAxisScale
+
+
+
+ +

+setMaxYAxisScale

+
+public void setMaxYAxisScale(int maxYAxisScale)
+
+
+
Parameters:
maxYAxisScale - the maxYAxisScale to set
+
+
+
+ +

+getColor

+
+public Color[] getColor()
+
+
+ +
Returns:
the color
+
+
+
+ +

+setColor

+
+public void setColor(Color[] color)
+
+
+
Parameters:
color - the color to set
+
+
+
+ +

+getForeColor

+
+public Color getForeColor()
+
+
+ +
Returns:
the foreColor
+
+
+
+ +

+setForeColor

+
+public void setForeColor(Color foreColor)
+
+
+
Parameters:
foreColor - the foreColor to set
+
+
+
+ +

+getTitleFont

+
+public Font getTitleFont()
+
+
+ +
Returns:
the titleFont
+
+
+
+ +

+setTitleFont

+
+public void setTitleFont(Font titleFont)
+
+
+
Parameters:
titleFont - the titleFont to set
+
+
+
+ +

+getLegendFont

+
+public Font getLegendFont()
+
+
+ +
Returns:
the legendFont
+
+
+
+ +

+setLegendFont

+
+public void setLegendFont(Font legendFont)
+
+
+
Parameters:
legendFont - the legendFont to set
+
+
+
+ +

+getValueFont

+
+public Font getValueFont()
+
+
+ +
Returns:
the valueFont
+
+
+
+ +

+setValueFont

+
+public void setValueFont(Font valueFont)
+
+
+
Parameters:
valueFont - the valueFont to set
+
+
+
+ +

+getLegendPlacement

+
+public int getLegendPlacement()
+
+
+ +
Returns:
the legendPlacement
+
+
+
+ +

+setLegendPlacement

+
+public void setLegendPlacement(int legendPlacement)
+
+
+
Parameters:
legendPlacement - the legendPlacement to set
+
+
+
+ +

+isOutlinesBarFlag

+
+public boolean isOutlinesBarFlag()
+
+
+ +
Returns:
the outlinesBarFlag
+
+
+
+ +

+setOutlinesBarFlag

+
+public void setOutlinesBarFlag(boolean outlinesBarFlag)
+
+
+
Parameters:
outlinesBarFlag - the outlinesBarFlag to set
+
+
+
+ +

+isValueOrientation

+
+public boolean isValueOrientation()
+
+
+ +
Returns:
the valueOrientation
+
+
+
+ +

+setValueOrientation

+
+public void setValueOrientation(boolean valueOrientation)
+
+
+
Parameters:
valueOrientation - the valueOrientation to set
+
+
+
+ +

+isShowGrouping

+
+public boolean isShowGrouping()
+
+
+ +
Returns:
the showGrouping
+
+
+
+ +

+setShowGrouping

+
+public void setShowGrouping(boolean showGrouping)
+
+
+
Parameters:
showGrouping - the showGrouping to set
+
+
+
+ +

+paintComponent

+
+public void paintComponent(Graphics graphics)
+
+
+
Overrides:
paintComponent in class JComponent
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/BSFListener.html b/docs/api/org/apache/jmeter/visualizers/BSFListener.html new file mode 100644 index 00000000000..2927e62d60e --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/BSFListener.html @@ -0,0 +1,419 @@ + + + + + +BSFListener (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers +
+Class BSFListener

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.util.ScriptingTestElement
+          extended by org.apache.jmeter.util.BSFTestElement
+              extended by org.apache.jmeter.visualizers.BSFListener
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Searchable, SampleListener, TestBean, TestElement, Visualizer
+
+
+
+
public class BSFListener
extends BSFTestElement
implements Cloneable, SampleListener, TestBean, Visualizer
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.util.ScriptingTestElement
scriptLanguage
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
BSFListener() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidadd(SampleResult sample) + +
+          This method is called by sampling thread to inform the visualizer about + the arrival of a new sample.
+ booleanisStats() + +
+          This method is used to indicate a visualizer generates statistics.
+ voidsampleOccurred(SampleEvent event) + +
+          A sample has started and stopped.
+ voidsampleStarted(SampleEvent e) + +
+          A sample has started.
+ voidsampleStopped(SampleEvent e) + +
+          A sample has stopped.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.util.BSFTestElement
evalFileOrScript, getManager, getScriptLanguage, initManager, processFileOrScript, setScriptLanguage
+ + + + + + + +
Methods inherited from class org.apache.jmeter.util.ScriptingTestElement
getFilename, getParameters, getScript, setFilename, setParameters, setScript
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+BSFListener

+
+public BSFListener()
+
+
+ + + + + + + + +
+Method Detail
+ +

+sampleOccurred

+
+public void sampleOccurred(SampleEvent event)
+
+
Description copied from interface: SampleListener
+
A sample has started and stopped. +

+

+
Specified by:
sampleOccurred in interface SampleListener
+
+
+
Parameters:
event - the SampleEvent that has occurred
+
+
+
+ +

+sampleStarted

+
+public void sampleStarted(SampleEvent e)
+
+
Description copied from interface: SampleListener
+
A sample has started. +

+

+
Specified by:
sampleStarted in interface SampleListener
+
+
+
Parameters:
e - the SampleEvent that has started
+
+
+
+ +

+sampleStopped

+
+public void sampleStopped(SampleEvent e)
+
+
Description copied from interface: SampleListener
+
A sample has stopped. +

+

+
Specified by:
sampleStopped in interface SampleListener
+
+
+
Parameters:
e - the SampleEvent that has stopped
+
+
+
+ +

+add

+
+public void add(SampleResult sample)
+
+
Description copied from interface: Visualizer
+
This method is called by sampling thread to inform the visualizer about + the arrival of a new sample. +

+

+
Specified by:
add in interface Visualizer
+
+
+
Parameters:
sample - the newly arrived sample
+
+
+
+ +

+isStats

+
+public boolean isStats()
+
+
Description copied from interface: Visualizer
+
This method is used to indicate a visualizer generates statistics. +

+

+
Specified by:
isStats in interface Visualizer
+
+
+ +
Returns:
true if visualiser generates statistics
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/BSFListenerBeanInfo.html b/docs/api/org/apache/jmeter/visualizers/BSFListenerBeanInfo.html new file mode 100644 index 00000000000..b4fc6727e27 --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/BSFListenerBeanInfo.html @@ -0,0 +1,272 @@ + + + + + +BSFListenerBeanInfo (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers +
+Class BSFListenerBeanInfo

+
+java.lang.Object
+  extended by java.beans.SimpleBeanInfo
+      extended by org.apache.jmeter.testbeans.BeanInfoSupport
+          extended by org.apache.jmeter.util.ScriptingBeanInfoSupport
+              extended by org.apache.jmeter.util.BSFBeanInfoSupport
+                  extended by org.apache.jmeter.visualizers.BSFListenerBeanInfo
+
+
+
All Implemented Interfaces:
BeanInfo
+
+
+
+
public class BSFListenerBeanInfo
extends BSFBeanInfoSupport
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.testbeans.BeanInfoSupport
DEFAULT, MULTILINE, NOT_EXPRESSION, NOT_OTHER, NOT_UNDEFINED, RESOURCE_BUNDLE, TAGS, TEXT_LANGUAGE
+ + + + + + + +
Fields inherited from interface java.beans.BeanInfo
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32
+  + + + + + + + + + + +
+Constructor Summary
BSFListenerBeanInfo() + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testbeans.BeanInfoSupport
createPropertyGroup, getAdditionalBeanInfo, getBeanDescriptor, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getIcon, getMethodDescriptors, getPropertyDescriptors, property, property, property, setIcon
+ + + + + + + +
Methods inherited from class java.beans.SimpleBeanInfo
loadImage
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+BSFListenerBeanInfo

+
+public BSFListenerBeanInfo()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/BarGraph.html b/docs/api/org/apache/jmeter/visualizers/BarGraph.html new file mode 100644 index 00000000000..2b9fd2d1fb6 --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/BarGraph.html @@ -0,0 +1,352 @@ + + + + + +BarGraph (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers +
+Class BarGraph

+
+java.lang.Object
+  extended by org.apache.jmeter.visualizers.BarGraph
+
+
+
+
public class BarGraph
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
BarGraph(String label, + boolean checked, + Color backColor) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ ColorgetBackColor() + +
+           
+ JCheckBoxgetChkBox() + +
+           
+ StringgetLabel() + +
+           
+ voidsetBackColor(Color backColor) + +
+           
+ voidsetChkBox(JCheckBox chkBox) + +
+           
+ voidsetLabel(String label) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+BarGraph

+
+public BarGraph(String label,
+                boolean checked,
+                Color backColor)
+
+
+
Parameters:
label - The label of this component
checked - Flag whether the corresponding checkbox should be checked
backColor - The color of the background
+
+ + + + + + + + +
+Method Detail
+ +

+getLabel

+
+public String getLabel()
+
+
+ +
Returns:
the label
+
+
+
+ +

+setLabel

+
+public void setLabel(String label)
+
+
+
Parameters:
label - the label to set
+
+
+
+ +

+getChkBox

+
+public JCheckBox getChkBox()
+
+
+ +
Returns:
the chkBox
+
+
+
+ +

+setChkBox

+
+public void setChkBox(JCheckBox chkBox)
+
+
+
Parameters:
chkBox - the chkBox to set
+
+
+
+ +

+getBackColor

+
+public Color getBackColor()
+
+
+ +
Returns:
the backColor
+
+
+
+ +

+setBackColor

+
+public void setBackColor(Color backColor)
+
+
+
Parameters:
backColor - the backColor to set
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/BeanShellListener.html b/docs/api/org/apache/jmeter/visualizers/BeanShellListener.html new file mode 100644 index 00000000000..0a10cbc0dd9 --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/BeanShellListener.html @@ -0,0 +1,422 @@ + + + + + +BeanShellListener (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers +
+Class BeanShellListener

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.util.BeanShellTestElement
+          extended by org.apache.jmeter.visualizers.BeanShellListener
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Searchable, UnsharedComponent, SampleListener, TestBean, TestElement, TestStateListener, ThreadListener, Visualizer
+
+
+
+
public class BeanShellListener
extends BeanShellTestElement
implements Cloneable, SampleListener, TestBean, Visualizer, UnsharedComponent
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
BeanShellListener() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidadd(SampleResult sample) + +
+          This method is called by sampling thread to inform the visualizer about + the arrival of a new sample.
+protected  StringgetInitFileProperty() + +
+           
+ booleanisStats() + +
+          This method is used to indicate a visualizer generates statistics.
+ voidsampleOccurred(SampleEvent se) + +
+          A sample has started and stopped.
+ voidsampleStarted(SampleEvent e) + +
+          A sample has started.
+ voidsampleStopped(SampleEvent e) + +
+          A sample has stopped.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.util.BeanShellTestElement
clone, getBeanShellInterpreter, getFilename, getParameters, getScript, isResetInterpreter, processFileOrScript, readResolve, setFilename, setParameters, setResetInterpreter, setScript, testEnded, testEnded, testStarted, testStarted, threadFinished, threadStarted
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+BeanShellListener

+
+public BeanShellListener()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getInitFileProperty

+
+protected String getInitFileProperty()
+
+
+
Specified by:
getInitFileProperty in class BeanShellTestElement
+
+
+
+
+
+
+ +

+sampleOccurred

+
+public void sampleOccurred(SampleEvent se)
+
+
Description copied from interface: SampleListener
+
A sample has started and stopped. +

+

+
Specified by:
sampleOccurred in interface SampleListener
+
+
+
Parameters:
se - the SampleEvent that has occurred
+
+
+
+ +

+sampleStarted

+
+public void sampleStarted(SampleEvent e)
+
+
Description copied from interface: SampleListener
+
A sample has started. +

+

+
Specified by:
sampleStarted in interface SampleListener
+
+
+
Parameters:
e - the SampleEvent that has started
+
+
+
+ +

+sampleStopped

+
+public void sampleStopped(SampleEvent e)
+
+
Description copied from interface: SampleListener
+
A sample has stopped. +

+

+
Specified by:
sampleStopped in interface SampleListener
+
+
+
Parameters:
e - the SampleEvent that has stopped
+
+
+
+ +

+add

+
+public void add(SampleResult sample)
+
+
Description copied from interface: Visualizer
+
This method is called by sampling thread to inform the visualizer about + the arrival of a new sample. +

+

+
Specified by:
add in interface Visualizer
+
+
+
Parameters:
sample - the newly arrived sample
+
+
+
+ +

+isStats

+
+public boolean isStats()
+
+
Description copied from interface: Visualizer
+
This method is used to indicate a visualizer generates statistics. +

+

+
Specified by:
isStats in interface Visualizer
+
+
+ +
Returns:
true if visualiser generates statistics
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/BeanShellListenerBeanInfo.html b/docs/api/org/apache/jmeter/visualizers/BeanShellListenerBeanInfo.html new file mode 100644 index 00000000000..3271b4c4e61 --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/BeanShellListenerBeanInfo.html @@ -0,0 +1,271 @@ + + + + + +BeanShellListenerBeanInfo (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers +
+Class BeanShellListenerBeanInfo

+
+java.lang.Object
+  extended by java.beans.SimpleBeanInfo
+      extended by org.apache.jmeter.testbeans.BeanInfoSupport
+          extended by org.apache.jmeter.util.BeanShellBeanInfoSupport
+              extended by org.apache.jmeter.visualizers.BeanShellListenerBeanInfo
+
+
+
All Implemented Interfaces:
BeanInfo
+
+
+
+
public class BeanShellListenerBeanInfo
extends BeanShellBeanInfoSupport
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.testbeans.BeanInfoSupport
DEFAULT, MULTILINE, NOT_EXPRESSION, NOT_OTHER, NOT_UNDEFINED, RESOURCE_BUNDLE, TAGS, TEXT_LANGUAGE
+ + + + + + + +
Fields inherited from interface java.beans.BeanInfo
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32
+  + + + + + + + + + + +
+Constructor Summary
BeanShellListenerBeanInfo() + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testbeans.BeanInfoSupport
createPropertyGroup, getAdditionalBeanInfo, getBeanDescriptor, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getIcon, getMethodDescriptors, getPropertyDescriptors, property, property, property, setIcon
+ + + + + + + +
Methods inherited from class java.beans.SimpleBeanInfo
loadImage
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+BeanShellListenerBeanInfo

+
+public BeanShellListenerBeanInfo()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/CachingStatCalculator.html b/docs/api/org/apache/jmeter/visualizers/CachingStatCalculator.html new file mode 100644 index 00000000000..b59f6f004ae --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/CachingStatCalculator.html @@ -0,0 +1,331 @@ + + + + + +CachingStatCalculator (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers +
+Class CachingStatCalculator

+
+java.lang.Object
+  extended by org.apache.jmeter.visualizers.SamplingStatCalculator
+      extended by org.apache.jmeter.visualizers.CachingStatCalculator
+
+
+
+
public class CachingStatCalculator
extends SamplingStatCalculator
+ + +

+Provides storage of samples in addition to calculations +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
CachingStatCalculator(String string) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ SampleaddSample(SampleResult res) + +
+          Records a sample.
+ voidclear() + +
+          Clear the counters (useful for differential stats)
+ SamplegetSample(int index) + +
+           
+ List<Sample>getSamples() + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.visualizers.SamplingStatCalculator
getAvgPageBytes, getBytesPerSecond, getCount, getCurrentSample, getDistribution, getElapsed, getErrorCount, getErrorPercentage, getKBPerSecond, getLabel, getMax, getMaxThroughput, getMean, getMeanAsNumber, getMedian, getMin, getPercentPoint, getPercentPoint, getRate, getStandardDeviation, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+CachingStatCalculator

+
+public CachingStatCalculator(String string)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getSamples

+
+public List<Sample> getSamples()
+
+
+
+
+
+
+ +

+getSample

+
+public Sample getSample(int index)
+
+
+
+
+
+
+ +

+clear

+
+public void clear()
+
+
Description copied from class: SamplingStatCalculator
+
Clear the counters (useful for differential stats) +

+

+
Overrides:
clear in class SamplingStatCalculator
+
+
+
+
+
+
+ +

+addSample

+
+public Sample addSample(SampleResult res)
+
+
Records a sample. +

+

+
Overrides:
addSample in class SamplingStatCalculator
+
+
+
Parameters:
res - the sample to record +
Returns:
newly created sample with current statistics
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/ComparisonVisualizer.html b/docs/api/org/apache/jmeter/visualizers/ComparisonVisualizer.html new file mode 100644 index 00000000000..8f9b0a58da5 --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/ComparisonVisualizer.html @@ -0,0 +1,492 @@ + + + + + +ComparisonVisualizer (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers +
+Class ComparisonVisualizer

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.visualizers.gui.AbstractListenerGui
+                          extended by org.apache.jmeter.visualizers.gui.AbstractVisualizer
+                              extended by org.apache.jmeter.visualizers.ComparisonVisualizer
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, EventListener, Accessible, ChangeListener, ClearGui, JMeterGUIComponent, UnsharedComponent, Clearable, Printable, Visualizer
+
+
+
+
public class ComparisonVisualizer
extends AbstractVisualizer
implements Clearable
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.visualizers.gui.AbstractVisualizer
collector, isStats
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
ComparisonVisualizer() + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidadd(SampleResult sample) + +
+          This method is called by sampling thread to inform the visualizer about + the arrival of a new sample.
+ voidclearData() + +
+          Clears the current data of the object.
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.visualizers.gui.AbstractVisualizer
clearGui, configure, configureTestElement, createTestElement, getErrorLoggingCheckbox, getFile, getFilePanel, getModel, isStats, makeTitlePanel, modifyTestElement, setFile, setModel, stateChanged
+ + + + + + + +
Methods inherited from class org.apache.jmeter.visualizers.gui.AbstractListenerGui
createPopupMenu, getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ComparisonVisualizer

+
+public ComparisonVisualizer()
+
+
+ + + + + + + + +
+Method Detail
+ +

+add

+
+public void add(SampleResult sample)
+
+
Description copied from interface: Visualizer
+
This method is called by sampling thread to inform the visualizer about + the arrival of a new sample. +

+

+
Specified by:
add in interface Visualizer
+
+
+
Parameters:
sample - the newly arrived sample
+
+
+
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+
Specified by:
getLabelResource in interface JMeterGUIComponent
+
+
+ +
Returns:
the resource name
+
+
+
+ +

+clearData

+
+public void clearData()
+
+
Description copied from interface: Clearable
+
Clears the current data of the object. +

+

+
Specified by:
clearData in interface Clearable
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/DistributionGraph.html b/docs/api/org/apache/jmeter/visualizers/DistributionGraph.html new file mode 100644 index 00000000000..fd54c3f6761 --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/DistributionGraph.html @@ -0,0 +1,551 @@ + + + + + +DistributionGraph (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers +
+Class DistributionGraph

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by org.apache.jmeter.visualizers.DistributionGraph
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Scrollable, Clearable
+
+
+
+
public class DistributionGraph
extends JComponent
implements Scrollable, Clearable
+ + +

+New graph for drawing distribution graph of the results. It is intended as a + way to view the data after the stress has been performed. Although it can be + used at runtime, it is not recommended, since it is rather intensive. The + graph will draw a red line at 90% and an orange line at 50%. I like + distribution graphs because they allow me to see how the data clumps. In + general, the data will tend to clump in predictable ways when the application + is well designed and implemented. Data that generates erratic graphs are + generally not desirable. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + + + + +
+Constructor Summary
DistributionGraph() + +
+          Constructor for the Graph object.
DistributionGraph(SamplingStatCalculator model) + +
+          Constructor for the Graph object.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclearData() + +
+          Clears this graph.
+ DimensiongetPreferredScrollableViewportSize() + +
+          Gets the PreferredScrollableViewportSize attribute of the Graph object.
+ intgetScrollableBlockIncrement(Rectangle visibleRect, + int orientation, + int direction) + +
+          Gets the ScrollableBlockIncrement attribute of the Graph object.
+ booleangetScrollableTracksViewportHeight() + +
+          Gets the ScrollableTracksViewportHeight attribute of the Graph object.
+ booleangetScrollableTracksViewportWidth() + +
+          Gets the ScrollableTracksViewportWidth attribute of the Graph object.
+ intgetScrollableUnitIncrement(Rectangle visibleRect, + int orientation, + int direction) + +
+          Gets the ScrollableUnitIncrement attribute of the Graph object.
+ voidpaintComponent(Graphics g) + +
+          Method is responsible for calling drawSample and updating the graph.
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getAccessibleContext, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getUIClassID, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintImmediately, paintImmediately, paramString, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update, updateUI
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+DistributionGraph

+
+public DistributionGraph()
+
+
Constructor for the Graph object. +

+

+
+ +

+DistributionGraph

+
+public DistributionGraph(SamplingStatCalculator model)
+
+
Constructor for the Graph object. +

+

+
Parameters:
model - The container for the aggregated sample data
+
+ + + + + + + + +
+Method Detail
+ +

+getScrollableTracksViewportWidth

+
+public boolean getScrollableTracksViewportWidth()
+
+
Gets the ScrollableTracksViewportWidth attribute of the Graph object. +

+

+
Specified by:
getScrollableTracksViewportWidth in interface Scrollable
+
+
+ +
Returns:
the ScrollableTracksViewportWidth value
+
+
+
+ +

+getScrollableTracksViewportHeight

+
+public boolean getScrollableTracksViewportHeight()
+
+
Gets the ScrollableTracksViewportHeight attribute of the Graph object. +

+

+
Specified by:
getScrollableTracksViewportHeight in interface Scrollable
+
+
+ +
Returns:
the ScrollableTracksViewportHeight value
+
+
+
+ +

+getPreferredScrollableViewportSize

+
+public Dimension getPreferredScrollableViewportSize()
+
+
Gets the PreferredScrollableViewportSize attribute of the Graph object. +

+

+
Specified by:
getPreferredScrollableViewportSize in interface Scrollable
+
+
+ +
Returns:
the PreferredScrollableViewportSize value
+
+
+
+ +

+getScrollableUnitIncrement

+
+public int getScrollableUnitIncrement(Rectangle visibleRect,
+                                      int orientation,
+                                      int direction)
+
+
Gets the ScrollableUnitIncrement attribute of the Graph object. +

+

+
Specified by:
getScrollableUnitIncrement in interface Scrollable
+
+
+ +
Returns:
the ScrollableUnitIncrement value
+
+
+
+ +

+getScrollableBlockIncrement

+
+public int getScrollableBlockIncrement(Rectangle visibleRect,
+                                       int orientation,
+                                       int direction)
+
+
Gets the ScrollableBlockIncrement attribute of the Graph object. +

+

+
Specified by:
getScrollableBlockIncrement in interface Scrollable
+
+
+ +
Returns:
the ScrollableBlockIncrement value
+
+
+
+ +

+clearData

+
+public void clearData()
+
+
Clears this graph. +

+

+
Specified by:
clearData in interface Clearable
+
+
+
+
+
+
+ +

+paintComponent

+
+public void paintComponent(Graphics g)
+
+
Method is responsible for calling drawSample and updating the graph. +

+

+
Overrides:
paintComponent in class JComponent
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/DistributionGraphVisualizer.html b/docs/api/org/apache/jmeter/visualizers/DistributionGraphVisualizer.html new file mode 100644 index 00000000000..4fc564c2ada --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/DistributionGraphVisualizer.html @@ -0,0 +1,621 @@ + + + + + +DistributionGraphVisualizer (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers +
+Class DistributionGraphVisualizer

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.visualizers.gui.AbstractListenerGui
+                          extended by org.apache.jmeter.visualizers.gui.AbstractVisualizer
+                              extended by org.apache.jmeter.visualizers.DistributionGraphVisualizer
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, EventListener, Accessible, ChangeListener, ClearGui, JMeterGUIComponent, UnsharedComponent, Clearable, GraphListener, ImageVisualizer, Printable, Visualizer
+
+
+
+
public class DistributionGraphVisualizer
extends AbstractVisualizer
implements ImageVisualizer, GraphListener, Clearable
+ + +

+This class implements the visualizer for displaying the distribution graph. + Distribution graphs are useful for standard benchmarks and viewing the + distribution of data points. Results tend to clump together. + + Created May 25, 2004 +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.visualizers.gui.AbstractVisualizer
collector, isStats
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
DistributionGraphVisualizer() + +
+          Constructor for the GraphVisualizer object.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidadd(SampleResult res) + +
+          This method is called by sampling thread to inform the visualizer about + the arrival of a new sample.
+ voidclearData() + +
+          Clears the current data of the object.
+ ImagegetImage() + +
+          Gets the Image attribute of the GraphVisualizer object.
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ JComponentgetPrintableComponent() + +
+          Method implements Printable, which is suppose to return the correct + internal component.
+ StringtoString() + +
+           
+ voidupdateGui() + +
+           
+ voidupdateGui(Sample s) + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.visualizers.gui.AbstractVisualizer
clearGui, configure, configureTestElement, createTestElement, getErrorLoggingCheckbox, getFile, getFilePanel, getModel, isStats, makeTitlePanel, modifyTestElement, setFile, setModel, stateChanged
+ + + + + + + +
Methods inherited from class org.apache.jmeter.visualizers.gui.AbstractListenerGui
createPopupMenu, getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+DistributionGraphVisualizer

+
+public DistributionGraphVisualizer()
+
+
Constructor for the GraphVisualizer object. +

+

+ + + + + + + + +
+Method Detail
+ +

+getImage

+
+public Image getImage()
+
+
Gets the Image attribute of the GraphVisualizer object. +

+

+
Specified by:
getImage in interface ImageVisualizer
+
+
+ +
Returns:
the Image value
+
+
+
+ +

+updateGui

+
+public void updateGui()
+
+
+
Specified by:
updateGui in interface GraphListener
+
+
+
+
+
+
+ +

+updateGui

+
+public void updateGui(Sample s)
+
+
+
Specified by:
updateGui in interface GraphListener
+
+
+
+
+
+
+ +

+add

+
+public void add(SampleResult res)
+
+
Description copied from interface: Visualizer
+
This method is called by sampling thread to inform the visualizer about + the arrival of a new sample. +

+

+
Specified by:
add in interface Visualizer
+
+
+
Parameters:
res - the newly arrived sample
+
+
+
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+
Specified by:
getLabelResource in interface JMeterGUIComponent
+
+
+ +
Returns:
the resource name
+
+
+
+ +

+clearData

+
+public void clearData()
+
+
Description copied from interface: Clearable
+
Clears the current data of the object. +

+

+
Specified by:
clearData in interface Clearable
+
+
+
+
+
+
+ +

+toString

+
+public String toString()
+
+
+
Overrides:
toString in class Component
+
+
+
+
+
+
+ +

+getPrintableComponent

+
+public JComponent getPrintableComponent()
+
+
Method implements Printable, which is suppose to return the correct + internal component. The Action class can then print or save the graphics + to a file. +

+

+
Specified by:
getPrintableComponent in interface Printable
Overrides:
getPrintableComponent in class AbstractJMeterGuiComponent
+
+
+ +
Returns:
this object
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/Graph.html b/docs/api/org/apache/jmeter/visualizers/Graph.html new file mode 100644 index 00000000000..d13cd8609dc --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/Graph.html @@ -0,0 +1,699 @@ + + + + + +Graph (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers +
+Class Graph

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by org.apache.jmeter.visualizers.Graph
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Scrollable, Clearable
+
+
+
+
public class Graph
extends JComponent
implements Scrollable, Clearable
+ + +

+Implements a simple graph for displaying performance results. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + + + + +
+Constructor Summary
Graph() + +
+          Constructor for the Graph object.
Graph(CachingStatCalculator model) + +
+          Constructor for the Graph object.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclearData() + +
+          Clears this graph.
+ voidenableAverage(boolean value) + +
+           
+ voidenableData(boolean value) + +
+           
+ voidenableDeviation(boolean value) + +
+           
+ voidenableMedian(boolean value) + +
+           
+ voidenableThroughput(boolean value) + +
+           
+ longgetGraphMax() + +
+           
+ DimensiongetPreferredScrollableViewportSize() + +
+          Gets the PreferredScrollableViewportSize attribute of the Graph object.
+ intgetScrollableBlockIncrement(Rectangle visibleRect, + int orientation, + int direction) + +
+          Gets the ScrollableBlockIncrement attribute of the Graph object.
+ booleangetScrollableTracksViewportHeight() + +
+          Gets the ScrollableTracksViewportHeight attribute of the Graph object.
+ booleangetScrollableTracksViewportWidth() + +
+          Gets the ScrollableTracksViewportWidth attribute of the Graph object.
+ intgetScrollableUnitIncrement(Rectangle visibleRect, + int orientation, + int direction) + +
+          Gets the ScrollableUnitIncrement attribute of the Graph object.
+ voidpaintComponent(Graphics g) + +
+          }
+ voidupdateGui(Sample oneSample) + +
+           
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getAccessibleContext, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getUIClassID, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintImmediately, paintImmediately, paramString, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update, updateUI
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Graph

+
+public Graph()
+
+
Constructor for the Graph object. +

+

+
+ +

+Graph

+
+public Graph(CachingStatCalculator model)
+
+
Constructor for the Graph object. +

+

+
Parameters:
model - The container for samples and statistics
+
+ + + + + + + + +
+Method Detail
+ +

+getPreferredScrollableViewportSize

+
+public Dimension getPreferredScrollableViewportSize()
+
+
Gets the PreferredScrollableViewportSize attribute of the Graph object. +

+

+
Specified by:
getPreferredScrollableViewportSize in interface Scrollable
+
+
+ +
Returns:
the PreferredScrollableViewportSize value
+
+
+
+ +

+getScrollableUnitIncrement

+
+public int getScrollableUnitIncrement(Rectangle visibleRect,
+                                      int orientation,
+                                      int direction)
+
+
Gets the ScrollableUnitIncrement attribute of the Graph object. +

+

+
Specified by:
getScrollableUnitIncrement in interface Scrollable
+
+
+ +
Returns:
the ScrollableUnitIncrement value
+
+
+
+ +

+getScrollableBlockIncrement

+
+public int getScrollableBlockIncrement(Rectangle visibleRect,
+                                       int orientation,
+                                       int direction)
+
+
Gets the ScrollableBlockIncrement attribute of the Graph object. +

+

+
Specified by:
getScrollableBlockIncrement in interface Scrollable
+
+
+ +
Returns:
the ScrollableBlockIncrement value
+
+
+
+ +

+getScrollableTracksViewportWidth

+
+public boolean getScrollableTracksViewportWidth()
+
+
Gets the ScrollableTracksViewportWidth attribute of the Graph object. +

+

+
Specified by:
getScrollableTracksViewportWidth in interface Scrollable
+
+
+ +
Returns:
the ScrollableTracksViewportWidth value
+
+
+
+ +

+getScrollableTracksViewportHeight

+
+public boolean getScrollableTracksViewportHeight()
+
+
Gets the ScrollableTracksViewportHeight attribute of the Graph object. +

+

+
Specified by:
getScrollableTracksViewportHeight in interface Scrollable
+
+
+ +
Returns:
the ScrollableTracksViewportHeight value
+
+
+
+ +

+clearData

+
+public void clearData()
+
+
Clears this graph. +

+

+
Specified by:
clearData in interface Clearable
+
+
+
+
+
+
+ +

+enableData

+
+public void enableData(boolean value)
+
+
+
+
+
+
+
+
+
+ +

+enableAverage

+
+public void enableAverage(boolean value)
+
+
+
+
+
+
+
+
+
+ +

+enableMedian

+
+public void enableMedian(boolean value)
+
+
+
+
+
+
+
+
+
+ +

+enableDeviation

+
+public void enableDeviation(boolean value)
+
+
+
+
+
+
+
+
+
+ +

+enableThroughput

+
+public void enableThroughput(boolean value)
+
+
+
+
+
+
+
+
+
+ +

+updateGui

+
+public void updateGui(Sample oneSample)
+
+
+
+
+
+
+
+
+
+ +

+paintComponent

+
+public void paintComponent(Graphics g)
+
+
} +

+

+
Overrides:
paintComponent in class JComponent
+
+
+
+
+
+
+ +

+getGraphMax

+
+public long getGraphMax()
+
+
+
+
+
+ +
Returns:
Returns the graphMax.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/GraphListener.html b/docs/api/org/apache/jmeter/visualizers/GraphListener.html new file mode 100644 index 00000000000..63c22a7106a --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/GraphListener.html @@ -0,0 +1,224 @@ + + + + + +GraphListener (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers +
+Interface GraphListener

+
+
All Known Implementing Classes:
DistributionGraphVisualizer, MonitorHealthVisualizer, SplineVisualizer
+
+
+
+
public interface GraphListener
+ + +

+


+ +

+ + + + + + + + + + + + + + + + +
+Method Summary
+ voidupdateGui() + +
+           
+ voidupdateGui(Sample s) + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+updateGui

+
+void updateGui(Sample s)
+
+
+
+
+
+
+ +

+updateGui

+
+void updateGui()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/GraphVisualizer.html b/docs/api/org/apache/jmeter/visualizers/GraphVisualizer.html new file mode 100644 index 00000000000..2fbba26f153 --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/GraphVisualizer.html @@ -0,0 +1,593 @@ + + + + + +GraphVisualizer (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers +
+Class GraphVisualizer

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.visualizers.gui.AbstractListenerGui
+                          extended by org.apache.jmeter.visualizers.gui.AbstractVisualizer
+                              extended by org.apache.jmeter.visualizers.GraphVisualizer
+
+
+
All Implemented Interfaces:
ItemListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, ChangeListener, ClearGui, JMeterGUIComponent, UnsharedComponent, Clearable, ImageVisualizer, Printable, Visualizer
+
+
+
+
public class GraphVisualizer
extends AbstractVisualizer
implements ImageVisualizer, ItemListener, Clearable
+ + +

+This class implements a statistical analyser that calculates both the average + and the standard deviation of the sampling process and outputs them as + autoscaling plots. + + Created February 8, 2001 +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.visualizers.gui.AbstractVisualizer
collector, isStats
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
GraphVisualizer() + +
+          Constructor for the GraphVisualizer object.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidadd(SampleResult res) + +
+          This method is called by sampling thread to inform the visualizer about + the arrival of a new sample.
+ voidclearData() + +
+          Clears the current data of the object.
+ ImagegetImage() + +
+          Gets the Image attribute of the GraphVisualizer object.
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ voiditemStateChanged(ItemEvent e) + +
+           
+ StringtoString() + +
+           
+ voidupdateGui(Sample s) + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.visualizers.gui.AbstractVisualizer
clearGui, configure, configureTestElement, createTestElement, getErrorLoggingCheckbox, getFile, getFilePanel, getModel, isStats, makeTitlePanel, modifyTestElement, setFile, setModel, stateChanged
+ + + + + + + +
Methods inherited from class org.apache.jmeter.visualizers.gui.AbstractListenerGui
createPopupMenu, getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+GraphVisualizer

+
+public GraphVisualizer()
+
+
Constructor for the GraphVisualizer object. +

+

+ + + + + + + + +
+Method Detail
+ +

+getImage

+
+public Image getImage()
+
+
Gets the Image attribute of the GraphVisualizer object. +

+

+
Specified by:
getImage in interface ImageVisualizer
+
+
+ +
Returns:
the Image value
+
+
+
+ +

+updateGui

+
+public void updateGui(Sample s)
+
+
+
+
+
+
+
+
+
+ +

+add

+
+public void add(SampleResult res)
+
+
Description copied from interface: Visualizer
+
This method is called by sampling thread to inform the visualizer about + the arrival of a new sample. +

+

+
Specified by:
add in interface Visualizer
+
+
+
Parameters:
res - the newly arrived sample
+
+
+
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+
Specified by:
getLabelResource in interface JMeterGUIComponent
+
+
+ +
Returns:
the resource name
+
+
+
+ +

+itemStateChanged

+
+public void itemStateChanged(ItemEvent e)
+
+
+
Specified by:
itemStateChanged in interface ItemListener
+
+
+
+
+
+
+ +

+clearData

+
+public void clearData()
+
+
Description copied from interface: Clearable
+
Clears the current data of the object. +

+

+
Specified by:
clearData in interface Clearable
+
+
+
+
+
+
+ +

+toString

+
+public String toString()
+
+
+
Overrides:
toString in class Component
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/ImageVisualizer.html b/docs/api/org/apache/jmeter/visualizers/ImageVisualizer.html new file mode 100644 index 00000000000..87d1f6e9cdb --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/ImageVisualizer.html @@ -0,0 +1,213 @@ + + + + + +ImageVisualizer (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers +
+Interface ImageVisualizer

+
+
All Known Implementing Classes:
DistributionGraphVisualizer, GraphVisualizer, MonitorHealthVisualizer, SplineVisualizer
+
+
+
+
public interface ImageVisualizer
+ + +

+TODO - interface is used but getImage() does not appear to be used +

+ +

+

+
Version:
+
$Revision: 1377064 $
+
+
+ +

+ + + + + + + + + + + + +
+Method Summary
+ ImagegetImage() + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+getImage

+
+Image getImage()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/JSR223Listener.html b/docs/api/org/apache/jmeter/visualizers/JSR223Listener.html new file mode 100644 index 00000000000..4e4c7e91efe --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/JSR223Listener.html @@ -0,0 +1,419 @@ + + + + + +JSR223Listener (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers +
+Class JSR223Listener

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.util.ScriptingTestElement
+          extended by org.apache.jmeter.util.JSR223TestElement
+              extended by org.apache.jmeter.visualizers.JSR223Listener
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Searchable, SampleListener, TestBean, TestElement, TestStateListener, Visualizer
+
+
+
+
public class JSR223Listener
extends JSR223TestElement
implements Cloneable, SampleListener, TestBean, Visualizer
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.util.ScriptingTestElement
scriptLanguage
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
JSR223Listener() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidadd(SampleResult sample) + +
+          This method is called by sampling thread to inform the visualizer about + the arrival of a new sample.
+ booleanisStats() + +
+          This method is used to indicate a visualizer generates statistics.
+ voidsampleOccurred(SampleEvent event) + +
+          A sample has started and stopped.
+ voidsampleStarted(SampleEvent e) + +
+          A sample has started.
+ voidsampleStopped(SampleEvent e) + +
+          A sample has stopped.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.util.JSR223TestElement
getCacheKey, getInstance, getScriptEngine, getScriptLanguage, populateBindings, processFileOrScript, setCacheKey, setScriptLanguage, testEnded, testEnded, testStarted, testStarted
+ + + + + + + +
Methods inherited from class org.apache.jmeter.util.ScriptingTestElement
getFilename, getParameters, getScript, setFilename, setParameters, setScript
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+JSR223Listener

+
+public JSR223Listener()
+
+
+ + + + + + + + +
+Method Detail
+ +

+sampleOccurred

+
+public void sampleOccurred(SampleEvent event)
+
+
Description copied from interface: SampleListener
+
A sample has started and stopped. +

+

+
Specified by:
sampleOccurred in interface SampleListener
+
+
+
Parameters:
event - the SampleEvent that has occurred
+
+
+
+ +

+sampleStarted

+
+public void sampleStarted(SampleEvent e)
+
+
Description copied from interface: SampleListener
+
A sample has started. +

+

+
Specified by:
sampleStarted in interface SampleListener
+
+
+
Parameters:
e - the SampleEvent that has started
+
+
+
+ +

+sampleStopped

+
+public void sampleStopped(SampleEvent e)
+
+
Description copied from interface: SampleListener
+
A sample has stopped. +

+

+
Specified by:
sampleStopped in interface SampleListener
+
+
+
Parameters:
e - the SampleEvent that has stopped
+
+
+
+ +

+add

+
+public void add(SampleResult sample)
+
+
Description copied from interface: Visualizer
+
This method is called by sampling thread to inform the visualizer about + the arrival of a new sample. +

+

+
Specified by:
add in interface Visualizer
+
+
+
Parameters:
sample - the newly arrived sample
+
+
+
+ +

+isStats

+
+public boolean isStats()
+
+
Description copied from interface: Visualizer
+
This method is used to indicate a visualizer generates statistics. +

+

+
Specified by:
isStats in interface Visualizer
+
+
+ +
Returns:
true if visualiser generates statistics
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/JSR223ListenerBeanInfo.html b/docs/api/org/apache/jmeter/visualizers/JSR223ListenerBeanInfo.html new file mode 100644 index 00000000000..99974f81f85 --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/JSR223ListenerBeanInfo.html @@ -0,0 +1,281 @@ + + + + + +JSR223ListenerBeanInfo (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers +
+Class JSR223ListenerBeanInfo

+
+java.lang.Object
+  extended by java.beans.SimpleBeanInfo
+      extended by org.apache.jmeter.testbeans.BeanInfoSupport
+          extended by org.apache.jmeter.util.ScriptingBeanInfoSupport
+              extended by org.apache.jmeter.util.JSR223BeanInfoSupport
+                  extended by org.apache.jmeter.visualizers.JSR223ListenerBeanInfo
+
+
+
All Implemented Interfaces:
BeanInfo
+
+
+
+
public class JSR223ListenerBeanInfo
extends JSR223BeanInfoSupport
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.util.JSR223BeanInfoSupport
LANGUAGE_NAMES
+ + + + + + + +
Fields inherited from class org.apache.jmeter.testbeans.BeanInfoSupport
DEFAULT, MULTILINE, NOT_EXPRESSION, NOT_OTHER, NOT_UNDEFINED, RESOURCE_BUNDLE, TAGS, TEXT_LANGUAGE
+ + + + + + + +
Fields inherited from interface java.beans.BeanInfo
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32
+  + + + + + + + + + + +
+Constructor Summary
JSR223ListenerBeanInfo() + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testbeans.BeanInfoSupport
createPropertyGroup, getAdditionalBeanInfo, getBeanDescriptor, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getIcon, getMethodDescriptors, getPropertyDescriptors, property, property, property, setIcon
+ + + + + + + +
Methods inherited from class java.beans.SimpleBeanInfo
loadImage
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+JSR223ListenerBeanInfo

+
+public JSR223ListenerBeanInfo()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/LineGraph.html b/docs/api/org/apache/jmeter/visualizers/LineGraph.html new file mode 100644 index 00000000000..5ecb38a23af --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/LineGraph.html @@ -0,0 +1,900 @@ + + + + + +LineGraph (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers +
+Class LineGraph

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.visualizers.LineGraph
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible
+
+
+
+
public class LineGraph
extends JPanel
+ + +

+Axis graph is used by StatGraphVisualizer, which generates bar graphs + from the statistical data. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+protected  double[][]data + +
+           
+protected  intheight + +
+           
+protected  intpaint_counter + +
+           
+protected  intshape_counter + +
+           
+protected  Stringtitle + +
+           
+protected  intwidth + +
+           
+protected  String[]xAxisLabels + +
+           
+protected  StringxAxisTitle + +
+           
+protected  String[]yAxisLabel + +
+           
+protected  StringyAxisTitle + +
+           
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + + + + + + + +
+Constructor Summary
LineGraph() + +
+           
LineGraph(LayoutManager layout) + +
+           
LineGraph(LayoutManager layout, + boolean isDoubleBuffered) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Paint[]createPaint(int count) + +
+          return an array of Paint with different colors.
+ Shape[]createShapes(int count) + +
+          Since we only have 4 shapes, the method will start with the first shape + and keep cycling through the shapes in order.
+ Stroke[]createStrokes(int count) + +
+          Create a given number of Strokes
+ PaintnextPaint() + +
+          The method will return the next paint color in the PAINT_ARRAY.
+ ShapenextShape() + +
+          Return the next shape
+ StrokenextStroke() + +
+          method always return a new BasicStroke with 1.0f weight
+ voidpaintComponent(Graphics g) + +
+           
+ voidsetData(double[][] data) + +
+           
+ voidsetHeight(int h) + +
+           
+ voidsetTitle(String title) + +
+           
+ voidsetWidth(int w) + +
+           
+ voidsetXAxisLabels(String[] labels) + +
+           
+ voidsetXAxisTitle(String title) + +
+           
+ voidsetYAxisLabels(String[] label) + +
+           
+ voidsetYAxisTitle(String title) + +
+           
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+data

+
+protected double[][] data
+
+
+
+
+
+ +

+title

+
+protected String title
+
+
+
+
+
+ +

+xAxisTitle

+
+protected String xAxisTitle
+
+
+
+
+
+ +

+yAxisTitle

+
+protected String yAxisTitle
+
+
+
+
+
+ +

+xAxisLabels

+
+protected String[] xAxisLabels
+
+
+
+
+
+ +

+yAxisLabel

+
+protected String[] yAxisLabel
+
+
+
+
+
+ +

+width

+
+protected int width
+
+
+
+
+
+ +

+height

+
+protected int height
+
+
+
+
+
+ +

+shape_counter

+
+protected int shape_counter
+
+
+
+
+
+ +

+paint_counter

+
+protected int paint_counter
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+LineGraph

+
+public LineGraph()
+
+
+
+ +

+LineGraph

+
+public LineGraph(LayoutManager layout)
+
+
+
Parameters:
layout - The LayoutManager to be used
+
+
+ +

+LineGraph

+
+public LineGraph(LayoutManager layout,
+                 boolean isDoubleBuffered)
+
+
+
Parameters:
layout - The LayoutManager to be used
isDoubleBuffered - Flag whether double buffering should be used
+
+ + + + + + + + +
+Method Detail
+ +

+setData

+
+public void setData(double[][] data)
+
+
+
+
+
+
+ +

+setTitle

+
+public void setTitle(String title)
+
+
+
+
+
+
+ +

+setXAxisTitle

+
+public void setXAxisTitle(String title)
+
+
+
+
+
+
+ +

+setYAxisTitle

+
+public void setYAxisTitle(String title)
+
+
+
+
+
+
+ +

+setXAxisLabels

+
+public void setXAxisLabels(String[] labels)
+
+
+
+
+
+
+ +

+setYAxisLabels

+
+public void setYAxisLabels(String[] label)
+
+
+
+
+
+
+ +

+setWidth

+
+public void setWidth(int w)
+
+
+
+
+
+
+ +

+setHeight

+
+public void setHeight(int h)
+
+
+
+
+
+
+ +

+paintComponent

+
+public void paintComponent(Graphics g)
+
+
+
Overrides:
paintComponent in class JComponent
+
+
+
+
+
+
+ +

+createShapes

+
+public Shape[] createShapes(int count)
+
+
Since we only have 4 shapes, the method will start with the first shape + and keep cycling through the shapes in order. +

+

+
Parameters:
count - The number of shapes to be created +
Returns:
the first n shapes
+
+
+
+ +

+nextShape

+
+public Shape nextShape()
+
+
Return the next shape +

+

+ +
Returns:
the next shape
+
+
+
+ +

+createStrokes

+
+public Stroke[] createStrokes(int count)
+
+
Create a given number of Strokes +

+

+
Parameters:
count - The number of strokes to be created +
Returns:
the first count strokes
+
+
+
+ +

+nextStroke

+
+public Stroke nextStroke()
+
+
method always return a new BasicStroke with 1.0f weight +

+

+ +
Returns:
a new BasicStroke with 1.0f weight
+
+
+
+ +

+createPaint

+
+public Paint[] createPaint(int count)
+
+
return an array of Paint with different colors. The current + implementation will cycle through 12 colors if a line graph has more than + 12 entries +

+

+
Parameters:
count - The number of Paints to be created +
Returns:
an array of Paint with different colors
+
+
+
+ +

+nextPaint

+
+public Paint nextPaint()
+
+
The method will return the next paint color in the PAINT_ARRAY. + Rather than return a random color, we want it to always go through + the same sequence. This way, the same charts will always use the + same color and make it easier to compare side by side. +

+

+ +
Returns:
the next paint color in the PAINT_ARRAY
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/MailerVisualizer.html b/docs/api/org/apache/jmeter/visualizers/MailerVisualizer.html new file mode 100644 index 00000000000..a13ec2f5198 --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/MailerVisualizer.html @@ -0,0 +1,697 @@ + + + + + +MailerVisualizer (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers +
+Class MailerVisualizer

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.visualizers.gui.AbstractListenerGui
+                          extended by org.apache.jmeter.visualizers.gui.AbstractVisualizer
+                              extended by org.apache.jmeter.visualizers.MailerVisualizer
+
+
+
All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, ChangeListener, ClearGui, JMeterGUIComponent, UnsharedComponent, Clearable, Printable, Visualizer
+
+
+
+
public class MailerVisualizer
extends AbstractVisualizer
implements ActionListener, Clearable, ChangeListener
+ + +

+This class implements a visualizer that mails a message when an error occurs. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.visualizers.gui.AbstractVisualizer
collector, isStats
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
MailerVisualizer() + +
+          Constructs the MailerVisualizer and initializes its GUI.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidactionPerformed(ActionEvent e) + +
+          Reacts on an ActionEvent (like pressing a button).
+ voidadd(SampleResult res) + +
+          This method is called by sampling thread to inform the visualizer about + the arrival of a new sample.
+ voidclearData() + +
+          Clears any stored sampling-informations.
+ voidconfigure(TestElement el) + +
+          Restores MailerVisualizer.
+ TestElementcreateTestElement() + +
+          Makes MailerVisualizer storable.
+ StringgetAttributesTitle() + +
+          Returns a String for the title of the attributes-panel as set up in the + properties-file using the lookup-constant "mailer_attributes_panel".
+ JPanelgetControlPanel() + +
+           
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ voidmodifyTestElement(TestElement c) + +
+          GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components.
+ voidstateChanged(ChangeEvent e) + +
+          Invoked when the target of the listener has changed its state.
+ StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.visualizers.gui.AbstractVisualizer
clearGui, configureTestElement, getErrorLoggingCheckbox, getFile, getFilePanel, getModel, isStats, makeTitlePanel, setFile, setModel
+ + + + + + + +
Methods inherited from class org.apache.jmeter.visualizers.gui.AbstractListenerGui
createPopupMenu, getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+MailerVisualizer

+
+public MailerVisualizer()
+
+
Constructs the MailerVisualizer and initializes its GUI. +

+

+ + + + + + + + +
+Method Detail
+ +

+getControlPanel

+
+public JPanel getControlPanel()
+
+
+
+
+
+
+
+
+
+ +

+clearData

+
+public void clearData()
+
+
Clears any stored sampling-informations. +

+

+
Specified by:
clearData in interface Clearable
+
+
+
+
+
+
+ +

+add

+
+public void add(SampleResult res)
+
+
Description copied from interface: Visualizer
+
This method is called by sampling thread to inform the visualizer about + the arrival of a new sample. +

+

+
Specified by:
add in interface Visualizer
+
+
+
Parameters:
res - the newly arrived sample
+
+
+
+ +

+toString

+
+public String toString()
+
+
+
Overrides:
toString in class Component
+
+
+
+
+
+
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+
Specified by:
getLabelResource in interface JMeterGUIComponent
+
+
+ +
Returns:
the resource name
+
+
+
+ +

+getAttributesTitle

+
+public String getAttributesTitle()
+
+
Returns a String for the title of the attributes-panel as set up in the + properties-file using the lookup-constant "mailer_attributes_panel". +

+

+
+
+
+ +
Returns:
The title of the component.
+
+
+
+ +

+actionPerformed

+
+public void actionPerformed(ActionEvent e)
+
+
Reacts on an ActionEvent (like pressing a button). +

+

+
Specified by:
actionPerformed in interface ActionListener
+
+
+
Parameters:
e - The ActionEvent with information about the event and its + source.
+
+
+
+ +

+configure

+
+public void configure(TestElement el)
+
+
Restores MailerVisualizer. +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class AbstractVisualizer
+
+
+
Parameters:
el - the TestElement to configure
+
+
+
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
Makes MailerVisualizer storable. +

+

+
Specified by:
createTestElement in interface JMeterGUIComponent
Overrides:
createTestElement in class AbstractVisualizer
+
+
+ +
Returns:
the Test Element object that the GUI component represents.
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement c)
+
+
GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components. This method should + overwrite whatever data is currently in the TestElement as it is called + after a user has filled out the form elements in the gui with new + information. +

+

+
Specified by:
modifyTestElement in interface JMeterGUIComponent
Overrides:
modifyTestElement in class AbstractVisualizer
+
+
+
Parameters:
c - the TestElement to modify
+
+
+
+ +

+stateChanged

+
+public void stateChanged(ChangeEvent e)
+
+
Invoked when the target of the listener has changed its state. This + implementation assumes that the target is the FilePanel, and will update + the result collector for the new filename. +

+

+
Specified by:
stateChanged in interface ChangeListener
Overrides:
stateChanged in class AbstractVisualizer
+
+
+
Parameters:
e - the event that has occurred
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/MonitorAccumModel.html b/docs/api/org/apache/jmeter/visualizers/MonitorAccumModel.html new file mode 100644 index 00000000000..d1c0de7bfb1 --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/MonitorAccumModel.html @@ -0,0 +1,555 @@ + + + + + +MonitorAccumModel (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers +
+Class MonitorAccumModel

+
+java.lang.Object
+  extended by org.apache.jmeter.visualizers.MonitorAccumModel
+
+
+
All Implemented Interfaces:
Serializable, Clearable
+
+
+
+
public class MonitorAccumModel
extends Object
implements Clearable, Serializable
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
MonitorAccumModel() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddListener(MonitorListener listener) + +
+          Add a listener.
+ voidaddSample(MonitorModel model) + +
+          Method will look up the server in the map.
+ voidaddSample(SampleResult sample) + +
+          Method will try to parse the response data.
+ voidclearData() + +
+          Clears everything except the listener.
+ MonitorModelcreateNewMonitorModel(URL url) + +
+          Method will return a new MonitorModel object with the given URL.
+ List<MonitorModel>getAllSamples(String url) + +
+          Get all MonitorModels matching the URL.
+ intgetBufferSize() + +
+           
+ MonitorModelgetLastSample() + +
+          Added this method we that we can save the calculated stats.
+ MonitorModelgetSample(String url) + +
+          Get the MonitorModel matching the url.
+ voidnoResponse(URL url) + +
+          If there is no response from the server, we create a new MonitorStats + object with the current timestamp and health "dead".
+ voidnotifyListeners(MonitorModel model) + +
+          notify the listeners with the MonitorModel object.
+ voidsetBufferSize(int buffer) + +
+           
+ voidsetPrefix(String prefix) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+MonitorAccumModel

+
+public MonitorAccumModel()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getBufferSize

+
+public int getBufferSize()
+
+
+
+
+
+
+
+
+
+ +

+setBufferSize

+
+public void setBufferSize(int buffer)
+
+
+
+
+
+
+
+
+
+ +

+setPrefix

+
+public void setPrefix(String prefix)
+
+
+
+
+
+
+
+
+
+ +

+getLastSample

+
+public MonitorModel getLastSample()
+
+
Added this method we that we can save the calculated stats. +

+

+
+
+
+ +
Returns:
current sample
+
+
+
+ +

+addSample

+
+public void addSample(MonitorModel model)
+
+
Method will look up the server in the map. The MonitorModel will be added + to an existing list, or a new one will be created. +

+

+
+
+
+
Parameters:
model - the MonitorModel to be added
+
+
+
+ +

+getAllSamples

+
+public List<MonitorModel> getAllSamples(String url)
+
+
Get all MonitorModels matching the URL. +

+

+
+
+
+
Parameters:
url - to be matched against +
Returns:
list
+
+
+
+ +

+getSample

+
+public MonitorModel getSample(String url)
+
+
Get the MonitorModel matching the url. +

+

+
+
+
+
Parameters:
url - to be matched against +
Returns:
the first MonitorModel registered for this + url
+
+
+
+ +

+addSample

+
+public void addSample(SampleResult sample)
+
+
Method will try to parse the response data. If the request was a monitor + request, but the response was incomplete, bad or the server refused the + connection, we will set the server's health to "dead". If the request was + not a monitor sample, the method will ignore it. +

+

+
+
+
+
Parameters:
sample - SampleResult with the result of the status request
+
+
+
+ +

+noResponse

+
+public void noResponse(URL url)
+
+
If there is no response from the server, we create a new MonitorStats + object with the current timestamp and health "dead". +

+

+
+
+
+
Parameters:
url - URL from where the status should have come
+
+
+
+ +

+createNewMonitorModel

+
+public MonitorModel createNewMonitorModel(URL url)
+
+
Method will return a new MonitorModel object with the given URL. This is + used when the server fails to respond fully, or is dead. +

+

+
+
+
+
Parameters:
url - URL from where the status should have come +
Returns:
new MonitorModel
+
+
+
+ +

+clearData

+
+public void clearData()
+
+
Clears everything except the listener. Do not clear the listeners. If we + clear listeners, subsequent "run" will not notify the gui of data + changes. +

+

+
Specified by:
clearData in interface Clearable
+
+
+
+
+
+
+ +

+notifyListeners

+
+public void notifyListeners(MonitorModel model)
+
+
notify the listeners with the MonitorModel object. +

+

+
+
+
+
Parameters:
model - the MonitorModel that should be sent to the listeners
+
+
+
+ +

+addListener

+
+public void addListener(MonitorListener listener)
+
+
Add a listener. When samples are added, the class will notify the + listener of the change. +

+

+
+
+
+
Parameters:
listener - the MonitorListener that should be added
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/MonitorGraph.html b/docs/api/org/apache/jmeter/visualizers/MonitorGraph.html new file mode 100644 index 00000000000..84e952e534b --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/MonitorGraph.html @@ -0,0 +1,550 @@ + + + + + +MonitorGraph (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers +
+Class MonitorGraph

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by org.apache.jmeter.visualizers.MonitorGraph
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Clearable, MonitorGuiListener
+
+
+
+
public class MonitorGraph
extends JComponent
implements MonitorGuiListener, Clearable
+ + +

+MonitorGraph will draw the performance history of a given server. It displays + 4 lines: +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + + + + +
+Constructor Summary
MonitorGraph() + +
+          Deprecated. Only for use in unit testing
MonitorGraph(MonitorAccumModel model) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclearData() + +
+          clear will repaint the graph
+ voidpaintComponent(Graphics g) + +
+          painComponent is responsible for drawing the actual graph.
+ voidsetHealth(boolean health) + +
+           
+ voidsetLoad(boolean load) + +
+           
+ voidsetMem(boolean mem) + +
+           
+ voidsetThread(boolean thread) + +
+           
+ voidupdateGui() + +
+          updateGui() will call repaint
+ voidupdateGui(MonitorModel model) + +
+          The method will first check to see if the graph is visible.
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getAccessibleContext, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getUIClassID, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintImmediately, paintImmediately, paramString, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update, updateUI
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+MonitorGraph

+
+@Deprecated
+public MonitorGraph()
+
+
Deprecated. Only for use in unit testing +

+

Needed for Serialization tests. +

+

+
+ +

+MonitorGraph

+
+public MonitorGraph(MonitorAccumModel model)
+
+
+ + + + + + + + +
+Method Detail
+ +

+setHealth

+
+public void setHealth(boolean health)
+
+
+
+
+
+
+
+
+
+ +

+setLoad

+
+public void setLoad(boolean load)
+
+
+
+
+
+
+
+
+
+ +

+setMem

+
+public void setMem(boolean mem)
+
+
+
+
+
+
+
+
+
+ +

+setThread

+
+public void setThread(boolean thread)
+
+
+
+
+
+
+
+
+
+ +

+updateGui

+
+public void updateGui(MonitorModel model)
+
+
The method will first check to see if the graph is visible. If it is, it + will repaint the graph. +

+

+
Specified by:
updateGui in interface MonitorGuiListener
+
+
+
+
+
+
+ +

+paintComponent

+
+public void paintComponent(Graphics g)
+
+
painComponent is responsible for drawing the actual graph. This is + because of how screen works. Tried to use clipping, but I don't + understand it well enough to get the desired effect. +

+

+
Overrides:
paintComponent in class JComponent
+
+
+
+
+
+
+ +

+updateGui

+
+public void updateGui()
+
+
updateGui() will call repaint +

+

+
Specified by:
updateGui in interface MonitorGuiListener
+
+
+
+
+
+
+ +

+clearData

+
+public void clearData()
+
+
clear will repaint the graph +

+

+
Specified by:
clearData in interface Clearable
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/MonitorGuiListener.html b/docs/api/org/apache/jmeter/visualizers/MonitorGuiListener.html new file mode 100644 index 00000000000..0c8f7b35cb6 --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/MonitorGuiListener.html @@ -0,0 +1,224 @@ + + + + + +MonitorGuiListener (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers +
+Interface MonitorGuiListener

+
+
All Known Implementing Classes:
MonitorGraph, ServerPanel
+
+
+
+
public interface MonitorGuiListener
+ + +

+


+ +

+ + + + + + + + + + + + + + + + +
+Method Summary
+ voidupdateGui() + +
+           
+ voidupdateGui(MonitorModel event) + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+updateGui

+
+void updateGui(MonitorModel event)
+
+
+
+
+
+
+ +

+updateGui

+
+void updateGui()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/MonitorHealthPanel.html b/docs/api/org/apache/jmeter/visualizers/MonitorHealthPanel.html new file mode 100644 index 00000000000..400b265ba6d --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/MonitorHealthPanel.html @@ -0,0 +1,431 @@ + + + + + +MonitorHealthPanel (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers +
+Class MonitorHealthPanel

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.visualizers.MonitorHealthPanel
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, Clearable, MonitorListener
+
+
+
+
public class MonitorHealthPanel
extends JPanel
implements MonitorListener, Clearable
+ + +

+The health panel is responsible for showing the health of the servers. It + only uses the most current information to show the status. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + + + + +
+Constructor Summary
MonitorHealthPanel() + +
+          Deprecated. Only for use in unit testing
MonitorHealthPanel(MonitorAccumModel model) + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddSample(MonitorModel model) + +
+           
+ voidclearData() + +
+          clear will clear the hashmap, remove all ServerPanels from the servers + pane, and update the ui.
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+MonitorHealthPanel

+
+@Deprecated
+public MonitorHealthPanel()
+
+
Deprecated. Only for use in unit testing +

+

+
+ +

+MonitorHealthPanel

+
+public MonitorHealthPanel(MonitorAccumModel model)
+
+
+
Parameters:
model - model to use
+
+ + + + + + + + +
+Method Detail
+ +

+addSample

+
+public void addSample(MonitorModel model)
+
+
+
Specified by:
addSample in interface MonitorListener
+
+
+
Parameters:
model - information about monitored server
+
+
+
+ +

+clearData

+
+public void clearData()
+
+
clear will clear the hashmap, remove all ServerPanels from the servers + pane, and update the ui. +

+

+
Specified by:
clearData in interface Clearable
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/MonitorHealthVisualizer.html b/docs/api/org/apache/jmeter/visualizers/MonitorHealthVisualizer.html new file mode 100644 index 00000000000..44913e686e4 --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/MonitorHealthVisualizer.html @@ -0,0 +1,653 @@ + + + + + +MonitorHealthVisualizer (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers +
+Class MonitorHealthVisualizer

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.visualizers.gui.AbstractListenerGui
+                          extended by org.apache.jmeter.visualizers.gui.AbstractVisualizer
+                              extended by org.apache.jmeter.visualizers.MonitorHealthVisualizer
+
+
+
All Implemented Interfaces:
ItemListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, ChangeListener, ClearGui, JMeterGUIComponent, UnsharedComponent, Clearable, GraphListener, ImageVisualizer, Printable, Visualizer
+
+
+
+
public class MonitorHealthVisualizer
extends AbstractVisualizer
implements ImageVisualizer, ItemListener, GraphListener, Clearable
+ + +

+For performance reasons, I am using tabs for the visualizers. Since a + visualizer is heavy weight, I don not want to have two separate result + collectors rather the same information. Instead, I would rather have the + visualizer be the container for the data and simply pass the data to child + JComponents. In the future, we may want to add email alerts as a third tab. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.visualizers.gui.AbstractVisualizer
collector, isStats
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
MonitorHealthVisualizer() + +
+          Constructor for the GraphVisualizer object.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidadd(SampleResult res) + +
+          Because of the unique requirements of a monitor We have to handle the + results differently than normal GUI components.
+ voidclearData() + +
+          Clears the MonitorAccumModel.
+ voidconfigure(TestElement el) + +
+          A newly created gui component can be initialized with the contents of a + Test Element object by calling this method.
+ ImagegetImage() + +
+           
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ voiditemStateChanged(ItemEvent e) + +
+           
+ voidmodifyTestElement(TestElement c) + +
+          GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components.
+ voidupdateGui() + +
+           
+ voidupdateGui(Sample s) + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.visualizers.gui.AbstractVisualizer
clearGui, configureTestElement, createTestElement, getErrorLoggingCheckbox, getFile, getFilePanel, getModel, isStats, makeTitlePanel, setFile, setModel, stateChanged
+ + + + + + + +
Methods inherited from class org.apache.jmeter.visualizers.gui.AbstractListenerGui
createPopupMenu, getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+MonitorHealthVisualizer

+
+public MonitorHealthVisualizer()
+
+
Constructor for the GraphVisualizer object. +

+

+ + + + + + + + +
+Method Detail
+ +

+configure

+
+public void configure(TestElement el)
+
+
Description copied from class: AbstractJMeterGuiComponent
+
A newly created gui component can be initialized with the contents of a + Test Element object by calling this method. The component is responsible + for querying the Test Element object for the relevant information to + display in its GUI. +

+ AbstractJMeterGuiComponent provides a partial implementation of this + method, setting the name of the component and its enabled status. + Subclasses should override this method, performing their own + configuration as needed, but also calling this super-implementation. +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class AbstractVisualizer
+
+
+
Parameters:
el - the TestElement to configure
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement c)
+
+
Description copied from interface: JMeterGUIComponent
+
GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components. This method should + overwrite whatever data is currently in the TestElement as it is called + after a user has filled out the form elements in the gui with new + information. +

+

+
Specified by:
modifyTestElement in interface JMeterGUIComponent
Overrides:
modifyTestElement in class AbstractVisualizer
+
+
+
Parameters:
c - the TestElement to modify
+
+
+
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+
Specified by:
getLabelResource in interface JMeterGUIComponent
+
+
+ +
Returns:
the resource name
+
+
+
+ +

+add

+
+public void add(SampleResult res)
+
+
Because of the unique requirements of a monitor We have to handle the + results differently than normal GUI components. A monitor should be able + to run for a very long time without eating up all the memory. +

+

+
Specified by:
add in interface Visualizer
+
+
+
Parameters:
res - the newly arrived sample
+
+
+
+ +

+getImage

+
+public Image getImage()
+
+
+
Specified by:
getImage in interface ImageVisualizer
+
+
+
+
+
+
+ +

+itemStateChanged

+
+public void itemStateChanged(ItemEvent e)
+
+
+
Specified by:
itemStateChanged in interface ItemListener
+
+
+
+
+
+
+ +

+updateGui

+
+public void updateGui()
+
+
+
Specified by:
updateGui in interface GraphListener
+
+
+
+
+
+
+ +

+updateGui

+
+public void updateGui(Sample s)
+
+
+
Specified by:
updateGui in interface GraphListener
+
+
+
+
+
+
+ +

+clearData

+
+public void clearData()
+
+
Clears the MonitorAccumModel. +

+

+
Specified by:
clearData in interface Clearable
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/MonitorListener.html b/docs/api/org/apache/jmeter/visualizers/MonitorListener.html new file mode 100644 index 00000000000..05941b4525d --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/MonitorListener.html @@ -0,0 +1,205 @@ + + + + + +MonitorListener (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers +
+Interface MonitorListener

+
+
All Known Implementing Classes:
MonitorHealthPanel, MonitorPerformancePanel
+
+
+
+
public interface MonitorListener
+ + +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+ voidaddSample(MonitorModel model) + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+addSample

+
+void addSample(MonitorModel model)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/MonitorModel.html b/docs/api/org/apache/jmeter/visualizers/MonitorModel.html new file mode 100644 index 00000000000..3847173999b --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/MonitorModel.html @@ -0,0 +1,591 @@ + + + + + +MonitorModel (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers +
+Class MonitorModel

+
+java.lang.Object
+  extended by org.apache.jmeter.visualizers.MonitorModel
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Clearable
+
+
+
+
public class MonitorModel
extends Object
implements Clearable, Serializable, Cloneable
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
MonitorModel() + +
+           
MonitorModel(MonitorStats stat) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclearData() + +
+          clear will create a new MonitorStats object.
+ Objectclone() + +
+          a clone method is provided for convienance.
+ MonitorStatscloneMonitorStats() + +
+          a clone method to clone the stats
+ intgetCpuload() + +
+           
+ intgetHealth() + +
+           
+ StringgetHost() + +
+           
+ intgetLoad() + +
+           
+ intgetMemload() + +
+           
+ StringgetPort() + +
+           
+ StringgetProtocol() + +
+           
+ intgetThreadload() + +
+           
+ longgetTimestamp() + +
+           
+ StringgetTimestampString() + +
+          Method will return a formatted date using SimpleDateFormat.
+ StringgetURL() + +
+           
+ StringtoString() + +
+          Method is used by DefaultMutableTreeNode to get the label for the node.
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+MonitorModel

+
+public MonitorModel()
+
+
+
+ +

+MonitorModel

+
+public MonitorModel(MonitorStats stat)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getHealth

+
+public int getHealth()
+
+
+
+
+
+
+
+
+
+ +

+getLoad

+
+public int getLoad()
+
+
+
+
+
+
+
+
+
+ +

+getCpuload

+
+public int getCpuload()
+
+
+
+
+
+
+
+
+
+ +

+getMemload

+
+public int getMemload()
+
+
+
+
+
+
+
+
+
+ +

+getThreadload

+
+public int getThreadload()
+
+
+
+
+
+
+
+
+
+ +

+getHost

+
+public String getHost()
+
+
+
+
+
+
+
+
+
+ +

+getPort

+
+public String getPort()
+
+
+
+
+
+
+
+
+
+ +

+getProtocol

+
+public String getProtocol()
+
+
+
+
+
+
+
+
+
+ +

+getTimestamp

+
+public long getTimestamp()
+
+
+
+
+
+
+
+
+
+ +

+getURL

+
+public String getURL()
+
+
+
+
+
+
+
+
+
+ +

+getTimestampString

+
+public String getTimestampString()
+
+
Method will return a formatted date using SimpleDateFormat. +

+

+
+
+
+ +
Returns:
String
+
+
+
+ +

+toString

+
+public String toString()
+
+
Method is used by DefaultMutableTreeNode to get the label for the node. +

+

+
Overrides:
toString in class Object
+
+
+
+
+
+
+ +

+clearData

+
+public void clearData()
+
+
clear will create a new MonitorStats object. +

+

+
Specified by:
clearData in interface Clearable
+
+
+
+
+
+
+ +

+clone

+
+public Object clone()
+
+
a clone method is provided for convienance. In some cases, it may be + desirable to clone the object. +

+

+
Overrides:
clone in class Object
+
+
+
+
+
+
+ +

+cloneMonitorStats

+
+public MonitorStats cloneMonitorStats()
+
+
a clone method to clone the stats +

+

+
+
+
+ +
Returns:
new instance of the class
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/MonitorPerformancePanel.html b/docs/api/org/apache/jmeter/visualizers/MonitorPerformancePanel.html new file mode 100644 index 00000000000..7b37feec145 --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/MonitorPerformancePanel.html @@ -0,0 +1,468 @@ + + + + + +MonitorPerformancePanel (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers +
+Class MonitorPerformancePanel

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JSplitPane
+                  extended by org.apache.jmeter.visualizers.MonitorPerformancePanel
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, EventListener, Accessible, TreeSelectionListener, Clearable, MonitorListener
+
+
+
+
public class MonitorPerformancePanel
extends JSplitPane
implements TreeSelectionListener, MonitorListener, Clearable
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JSplitPane
JSplitPane.AccessibleJSplitPane
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class javax.swing.JSplitPane
BOTTOM, CONTINUOUS_LAYOUT_PROPERTY, continuousLayout, DIVIDER, DIVIDER_LOCATION_PROPERTY, DIVIDER_SIZE_PROPERTY, dividerSize, HORIZONTAL_SPLIT, LAST_DIVIDER_LOCATION_PROPERTY, lastDividerLocation, LEFT, leftComponent, ONE_TOUCH_EXPANDABLE_PROPERTY, oneTouchExpandable, orientation, ORIENTATION_PROPERTY, RESIZE_WEIGHT_PROPERTY, RIGHT, rightComponent, TOP, VERTICAL_SPLIT
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + + + + +
+Constructor Summary
MonitorPerformancePanel() + +
+          Deprecated. Only for use in unit testing
MonitorPerformancePanel(MonitorAccumModel model, + MonitorGraph graph) + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddSample(MonitorModel model) + +
+          MonitorAccumModel will call this method to notify the component data has + changed.
+ voidclearData() + +
+          clear will remove all child nodes from the ROOTNODE, clear the HashMap, + update the graph and jpanel for the server tree.
+ voidvalueChanged(TreeSelectionEvent e) + +
+          When the user selects a different node in the tree, we get the selected + node.
+ + + + + + + +
Methods inherited from class javax.swing.JSplitPane
addImpl, getAccessibleContext, getBottomComponent, getDividerLocation, getDividerSize, getLastDividerLocation, getLeftComponent, getMaximumDividerLocation, getMinimumDividerLocation, getOrientation, getResizeWeight, getRightComponent, getTopComponent, getUI, getUIClassID, isContinuousLayout, isOneTouchExpandable, isValidateRoot, paintChildren, paramString, remove, remove, removeAll, resetToPreferredSizes, setBottomComponent, setContinuousLayout, setDividerLocation, setDividerLocation, setDividerSize, setLastDividerLocation, setLeftComponent, setOneTouchExpandable, setOrientation, setResizeWeight, setRightComponent, setTopComponent, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, paint, paintBorder, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+MonitorPerformancePanel

+
+@Deprecated
+public MonitorPerformancePanel()
+
+
Deprecated. Only for use in unit testing +

+

+
+ +

+MonitorPerformancePanel

+
+public MonitorPerformancePanel(MonitorAccumModel model,
+                               MonitorGraph graph)
+
+
+
Parameters:
model - model to use
graph - graph to use
+
+ + + + + + + + +
+Method Detail
+ +

+addSample

+
+public void addSample(MonitorModel model)
+
+
MonitorAccumModel will call this method to notify the component data has + changed. +

+

+
Specified by:
addSample in interface MonitorListener
+
+
+
+
+
+
+ +

+valueChanged

+
+public void valueChanged(TreeSelectionEvent e)
+
+
When the user selects a different node in the tree, we get the selected + node. From the node, we get the UserObject used to create the treenode in + the constructor. +

+

+
Specified by:
valueChanged in interface TreeSelectionListener
+
+
+
+
+
+
+ +

+clearData

+
+public void clearData()
+
+
clear will remove all child nodes from the ROOTNODE, clear the HashMap, + update the graph and jpanel for the server tree. +

+

+
Specified by:
clearData in interface Clearable
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/MonitorStats.html b/docs/api/org/apache/jmeter/visualizers/MonitorStats.html new file mode 100644 index 00000000000..51e3c47f228 --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/MonitorStats.html @@ -0,0 +1,722 @@ + + + + + +MonitorStats (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers +
+Class MonitorStats

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.visualizers.MonitorStats
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Searchable, TestElement
+
+
+
+
public class MonitorStats
extends AbstractTestElement
implements Serializable
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + + + + +
+Constructor Summary
MonitorStats() + +
+           
MonitorStats(int health, + int load, + int cpuload, + int memload, + int threadload, + String host, + String port, + String protocol, + long time) + +
+          Default constructor
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ intgetCpuLoad() + +
+           
+ intgetHealth() + +
+           
+ StringgetHost() + +
+           
+ intgetLoad() + +
+           
+ intgetMemLoad() + +
+           
+ StringgetPort() + +
+           
+ StringgetProtocol() + +
+           
+ intgetThreadLoad() + +
+           
+ longgetTimeStamp() + +
+           
+ StringgetURL() + +
+          For convienance, this method returns the protocol, host and port as a + URL.
+ voidsetCpuLoad(int load) + +
+           
+ voidsetHealth(int health) + +
+           
+ voidsetHost(String host) + +
+           
+ voidsetLoad(int load) + +
+           
+ voidsetMemLoad(int load) + +
+           
+ voidsetPort(String port) + +
+           
+ voidsetProtocol(String protocol) + +
+           
+ voidsetThreadLoad(int load) + +
+           
+ voidsetTimeStamp(long time) + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+MonitorStats

+
+public MonitorStats()
+
+
+
+ +

+MonitorStats

+
+public MonitorStats(int health,
+                    int load,
+                    int cpuload,
+                    int memload,
+                    int threadload,
+                    String host,
+                    String port,
+                    String protocol,
+                    long time)
+
+
Default constructor +

+

+
Parameters:
health - Health of the server. Has to be one of HEALTHY, ACTIVE, WARNING or DEAD
load - load of the server as integer from a range in between 1 and + 100
cpuload - cpu load of the server as integer from range between 1 and 100
memload - load of the server as integer from a range in between 1 and + 100
threadload - thread load of the server as an integer from a range in + between 1 and 100
host - name of the host from which the status was taken
port - port from which the status was taken
protocol - over which the status was taken
time - time in milliseconds when this status was created
+
+ + + + + + + + +
+Method Detail
+ +

+getURL

+
+public String getURL()
+
+
For convienance, this method returns the protocol, host and port as a + URL. +

+

+
+
+
+ +
Returns:
protocol://host:port
+
+
+
+ +

+setHealth

+
+public void setHealth(int health)
+
+
+
+
+
+
+
+
+
+ +

+setLoad

+
+public void setLoad(int load)
+
+
+
+
+
+
+
+
+
+ +

+setCpuLoad

+
+public void setCpuLoad(int load)
+
+
+
+
+
+
+
+
+
+ +

+setMemLoad

+
+public void setMemLoad(int load)
+
+
+
+
+
+
+
+
+
+ +

+setThreadLoad

+
+public void setThreadLoad(int load)
+
+
+
+
+
+
+
+
+
+ +

+setHost

+
+public void setHost(String host)
+
+
+
+
+
+
+
+
+
+ +

+setPort

+
+public void setPort(String port)
+
+
+
+
+
+
+
+
+
+ +

+setProtocol

+
+public void setProtocol(String protocol)
+
+
+
+
+
+
+
+
+
+ +

+setTimeStamp

+
+public void setTimeStamp(long time)
+
+
+
+
+
+
+
+
+
+ +

+getHealth

+
+public int getHealth()
+
+
+
+
+
+
+
+
+
+ +

+getLoad

+
+public int getLoad()
+
+
+
+
+
+
+
+
+
+ +

+getCpuLoad

+
+public int getCpuLoad()
+
+
+
+
+
+
+
+
+
+ +

+getMemLoad

+
+public int getMemLoad()
+
+
+
+
+
+
+
+
+
+ +

+getThreadLoad

+
+public int getThreadLoad()
+
+
+
+
+
+
+
+
+
+ +

+getHost

+
+public String getHost()
+
+
+
+
+
+
+
+
+
+ +

+getPort

+
+public String getPort()
+
+
+
+
+
+
+
+
+
+ +

+getProtocol

+
+public String getProtocol()
+
+
+
+
+
+
+
+
+
+ +

+getTimeStamp

+
+public long getTimeStamp()
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/MonitorTabPane.html b/docs/api/org/apache/jmeter/visualizers/MonitorTabPane.html new file mode 100644 index 00000000000..ec4827a22a9 --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/MonitorTabPane.html @@ -0,0 +1,368 @@ + + + + + +MonitorTabPane (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers +
+Class MonitorTabPane

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JTabbedPane
+                  extended by org.apache.jmeter.visualizers.MonitorTabPane
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, SwingConstants
+
+
+
+
public class MonitorTabPane
extends JTabbedPane
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JTabbedPane
JTabbedPane.AccessibleJTabbedPane, JTabbedPane.ModelListener
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class javax.swing.JTabbedPane
changeEvent, changeListener, model, SCROLL_TAB_LAYOUT, tabPlacement, WRAP_TAB_LAYOUT
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface javax.swing.SwingConstants
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
MonitorTabPane() + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class javax.swing.JTabbedPane
add, add, add, add, add, addChangeListener, addTab, addTab, addTab, createChangeListener, fireStateChanged, getAccessibleContext, getBackgroundAt, getBoundsAt, getChangeListeners, getComponentAt, getDisabledIconAt, getDisplayedMnemonicIndexAt, getForegroundAt, getIconAt, getMnemonicAt, getModel, getSelectedComponent, getSelectedIndex, getTabComponentAt, getTabCount, getTabLayoutPolicy, getTabPlacement, getTabRunCount, getTitleAt, getToolTipText, getToolTipTextAt, getUI, getUIClassID, indexAtLocation, indexOfComponent, indexOfTab, indexOfTab, indexOfTabComponent, insertTab, isEnabledAt, paramString, remove, remove, removeAll, removeChangeListener, removeTabAt, setBackgroundAt, setComponentAt, setDisabledIconAt, setDisplayedMnemonicIndexAt, setEnabledAt, setForegroundAt, setIconAt, setMnemonicAt, setModel, setSelectedComponent, setSelectedIndex, setTabComponentAt, setTabLayoutPolicy, setTabPlacement, setTitleAt, setToolTipTextAt, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+MonitorTabPane

+
+public MonitorTabPane()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/Printable.html b/docs/api/org/apache/jmeter/visualizers/Printable.html new file mode 100644 index 00000000000..adc6b08a70f --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/Printable.html @@ -0,0 +1,211 @@ + + + + + +Printable (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers +
+Interface Printable

+
+
All Known Implementing Classes:
AbstractAssertionGui, AbstractConfigGui, AbstractControllerGui, AbstractJMeterGuiComponent, AbstractListenerGui, AbstractPostProcessorGui, AbstractPreProcessorGui, AbstractRandomTimerGui, AbstractSamplerGui, AbstractScopedJMeterGuiComponent, AbstractThreadGroupGui, AbstractTimerGui, AbstractVisualizer, AjpSamplerGui, AnchorModifierGui, ArgumentsPanel, AssertionGui, AssertionVisualizer, AuthPanel, BackendListenerGui, BeanShellAssertionGui, BeanShellSamplerGui, CacheManagerGui, ComparisonVisualizer, ConstantTimerGui, CookiePanel, CounterConfigGui, CriticalSectionControllerGui, DistributionGraphVisualizer, DNSCachePanel, DurationAssertionGui, ExampleSamplerGui, ForeachControlPanel, FtpConfigGui, FtpTestSamplerGui, GaussianRandomTimerGui, GraphVisualizer, HeaderPanel, HTMLAssertionGui, HtmlExtractorGui, HTTPArgumentsPanel, HttpDefaultsGui, HttpMirrorControlGui, HttpTestSampleGui, IfControllerPanel, IncludeControllerGui, InterleaveControlGui, JavaConfigGui, JavaTestSamplerGui, JMSPublisherGui, JMSSamplerGui, JMSSubscriberGui, JUnitTestSamplerGui, LDAPArgumentsPanel, LdapConfigGui, LdapExtConfigGui, LdapExtTestSamplerGui, LdapTestSamplerGui, LogicControllerGui, LoginConfigGui, LoopControlPanel, MailerVisualizer, MailReaderSamplerGui, MD5HexAssertionGUI, ModuleControllerGui, MonitorHealthVisualizer, ObsoleteGui, OnceOnlyControllerGui, ParamModifierGui, PoissonRandomTimerGui, PostThreadGroupGui, PropertyControlGui, ProxyControlGui, RandomControlGui, RandomOrderControllerGui, RecordController, RegexExtractorGui, RegExUserParametersGui, RespTimeGraphVisualizer, ResultActionGui, ResultSaverGui, RunTimeGui, SetupThreadGroupGui, SimpleConfigGui, SimpleDataWriter, SizeAssertionGui, SMIMEAssertionGui, SmtpSamplerGui, SoapSamplerGui, SplineVisualizer, StatGraphVisualizer, StatVisualizer, SummariserGui, SummaryReport, SwitchControllerGui, SystemSamplerGui, TableVisualizer, TCPConfigGui, TCPSamplerGui, TestActionGui, TestBeanGUI, TestFragmentControllerGui, TestPlanGui, ThreadGroupGui, ThroughputControllerGui, TransactionControllerGui, UniformRandomTimerGui, URLRewritingModifierGui, UserParametersGui, ViewResultsFullVisualizer, WebServiceSamplerGui, WhileControllerGui, WorkBenchGui, XMLAssertionGui, XMLSchemaAssertionGUI, XPathAssertionGui, XPathExtractorGui
+
+
+
+
public interface Printable
+ + +

+Printable is used by components that can be saved to an external file. It is + up to the visualizers to get the right component containing the JPanel or + JComponent to save. +

+ +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+ JComponentgetPrintableComponent() + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+getPrintableComponent

+
+JComponent getPrintableComponent()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/PropertyControlGui.html b/docs/api/org/apache/jmeter/visualizers/PropertyControlGui.html new file mode 100644 index 00000000000..4bf4f559868 --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/PropertyControlGui.html @@ -0,0 +1,598 @@ + + + + + +PropertyControlGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers +
+Class PropertyControlGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.config.gui.AbstractConfigGui
+                          extended by org.apache.jmeter.visualizers.PropertyControlGui
+
+
+
All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, ClearGui, JMeterGUIComponent, UnsharedComponent, Printable
+
+
+
+
public class PropertyControlGui
extends AbstractConfigGui
implements ActionListener, UnsharedComponent
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + + + + + +
+Field Summary
+protected  ObjectTableModeltableModel + +
+          The model for the arguments table.
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
PropertyControlGui() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidactionPerformed(ActionEvent action) + +
+           
+ voidconfigure(TestElement element) + +
+          A newly created gui component can be initialized with the contents of a + Test Element object by calling this method.
+ TestElementcreateTestElement() + +
+          JMeter test components are separated into a model and a GUI + representation.
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ Collection<String>getMenuCategories() + +
+          This is the list of menu categories this gui component will be available + under.
+ voidmodifyTestElement(TestElement element) + +
+          GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.config.gui.AbstractConfigGui
createPopupMenu
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
clearGui, configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+tableModel

+
+protected transient ObjectTableModel tableModel
+
+
The model for the arguments table. +

+

+
+
+ + + + + + + + +
+Constructor Detail
+ +

+PropertyControlGui

+
+public PropertyControlGui()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+
Specified by:
getLabelResource in interface JMeterGUIComponent
+
+
+ +
Returns:
the resource name
+
+
+
+ +

+getMenuCategories

+
+public Collection<String> getMenuCategories()
+
+
Description copied from class: AbstractConfigGui
+
This is the list of menu categories this gui component will be available + under. This implementation returns + MenuFactory.CONFIG_ELEMENTS, which is + appropriate for most configuration components. +

+

+
Specified by:
getMenuCategories in interface JMeterGUIComponent
Overrides:
getMenuCategories in class AbstractConfigGui
+
+
+ +
Returns:
a Collection of Strings, where each element is one of the + constants defined in MenuFactory
See Also:
MenuFactory
+
+
+
+ +

+actionPerformed

+
+public void actionPerformed(ActionEvent action)
+
+
+
Specified by:
actionPerformed in interface ActionListener
+
+
+
+
+
+
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
Description copied from interface: JMeterGUIComponent
+
JMeter test components are separated into a model and a GUI + representation. The model holds the data and the GUI displays it. The GUI + class is responsible for knowing how to create and initialize with data + the model class that it knows how to display, and this method is called + when new test elements are created. +

+

+
Specified by:
createTestElement in interface JMeterGUIComponent
+
+
+ +
Returns:
the Test Element object that the GUI component represents.
+
+
+
+ +

+configure

+
+public void configure(TestElement element)
+
+
Description copied from class: AbstractJMeterGuiComponent
+
A newly created gui component can be initialized with the contents of a + Test Element object by calling this method. The component is responsible + for querying the Test Element object for the relevant information to + display in its GUI. +

+ AbstractJMeterGuiComponent provides a partial implementation of this + method, setting the name of the component and its enabled status. + Subclasses should override this method, performing their own + configuration as needed, but also calling this super-implementation. +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class AbstractJMeterGuiComponent
+
+
+
Parameters:
element - the TestElement to configure
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement element)
+
+
Description copied from interface: JMeterGUIComponent
+
GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components. This method should + overwrite whatever data is currently in the TestElement as it is called + after a user has filled out the form elements in the gui with new + information. +

+

+
Specified by:
modifyTestElement in interface JMeterGUIComponent
+
+
+
Parameters:
element - the TestElement to modify
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/RenderAsCssJQuery.html b/docs/api/org/apache/jmeter/visualizers/RenderAsCssJQuery.html new file mode 100644 index 00000000000..1ba5985488f --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/RenderAsCssJQuery.html @@ -0,0 +1,506 @@ + + + + + +RenderAsCssJQuery (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers +
+Class RenderAsCssJQuery

+
+java.lang.Object
+  extended by org.apache.jmeter.visualizers.RenderAsCssJQuery
+
+
+
All Implemented Interfaces:
ActionListener, EventListener, ResultRenderer
+
+
+
+
public class RenderAsCssJQuery
extends Object
implements ResultRenderer, ActionListener
+ + +

+Implement ResultsRender for CSS/JQuery tester +

+ +

+

+
Since:
+
2.10
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
RenderAsCssJQuery() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidactionPerformed(ActionEvent e) + +
+          Display the response as text or as rendered HTML.
+ voidclearData() + +
+          
+ voidinit() + +
+          
+ voidrenderImage(SampleResult sampleResult) + +
+          
+ voidrenderResult(SampleResult sampleResult) + +
+          
+ voidsetBackgroundColor(Color backGround) + +
+          
+ voidsetLastSelectedTab(int index) + +
+          
+ voidsetRightSide(JTabbedPane side) + +
+          
+ voidsetSamplerResult(Object userObject) + +
+          
+ voidsetupTabPane() + +
+          
+ StringtoString() + +
+          
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+RenderAsCssJQuery

+
+public RenderAsCssJQuery()
+
+
+ + + + + + + + +
+Method Detail
+ +

+clearData

+
+public void clearData()
+
+
+

+

+
Specified by:
clearData in interface ResultRenderer
+
+
+
+
+
+
+ +

+init

+
+public void init()
+
+
+

+

+
Specified by:
init in interface ResultRenderer
+
+
+
+
+
+
+ +

+actionPerformed

+
+public void actionPerformed(ActionEvent e)
+
+
Display the response as text or as rendered HTML. Change the text on the + button appropriate to the current display. +

+

+
Specified by:
actionPerformed in interface ActionListener
+
+
+
Parameters:
e - the ActionEvent being processed
+
+
+
+ +

+renderResult

+
+public void renderResult(SampleResult sampleResult)
+
+
+

+

+
Specified by:
renderResult in interface ResultRenderer
+
+
+
+
+
+
+ +

+setupTabPane

+
+public void setupTabPane()
+
+
+

+

+
Specified by:
setupTabPane in interface ResultRenderer
+
+
+
+
+
+
+ +

+setRightSide

+
+public void setRightSide(JTabbedPane side)
+
+
+

+

+
Specified by:
setRightSide in interface ResultRenderer
+
+
+
+
+
+
+ +

+setSamplerResult

+
+public void setSamplerResult(Object userObject)
+
+
+

+

+
Specified by:
setSamplerResult in interface ResultRenderer
+
+
+
+
+
+
+ +

+setLastSelectedTab

+
+public void setLastSelectedTab(int index)
+
+
+

+

+
Specified by:
setLastSelectedTab in interface ResultRenderer
+
+
+
+
+
+
+ +

+toString

+
+public String toString()
+
+
+

+

+
Specified by:
toString in interface ResultRenderer
Overrides:
toString in class Object
+
+
+ +
Returns:
the string to be displayed by the ComboBox
+
+
+
+ +

+renderImage

+
+public void renderImage(SampleResult sampleResult)
+
+
+

+

+
Specified by:
renderImage in interface ResultRenderer
+
+
+
+
+
+
+ +

+setBackgroundColor

+
+public void setBackgroundColor(Color backGround)
+
+
+

+

+
Specified by:
setBackgroundColor in interface ResultRenderer
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/RenderAsDocument.html b/docs/api/org/apache/jmeter/visualizers/RenderAsDocument.html new file mode 100644 index 00000000000..4f703bc6e6f --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/RenderAsDocument.html @@ -0,0 +1,337 @@ + + + + + +RenderAsDocument (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers +
+Class RenderAsDocument

+
+java.lang.Object
+  extended by org.apache.jmeter.visualizers.SamplerResultTab
+      extended by org.apache.jmeter.visualizers.RenderAsDocument
+
+
+
All Implemented Interfaces:
ResultRenderer
+
+
+
+
public class RenderAsDocument
extends SamplerResultTab
implements ResultRenderer
+ + +

+


+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class org.apache.jmeter.visualizers.SamplerResultTab
SamplerResultTab.RowResult
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.visualizers.SamplerResultTab
activateSearchExtension, CLIENT_ERROR_COLOR, REDIRECT_COLOR, REQUEST_VIEW_COMMAND, results, resultsScrollPane, rightSide, searchTextExtension, SERVER_ERROR_COLOR, TEXT_COMMAND
+  + + + + + + + + + + +
+Constructor Summary
RenderAsDocument() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ voidrenderResult(SampleResult sampleResult) + +
+          
+ StringtoString() + +
+          
+ + + + + + + +
Methods inherited from class org.apache.jmeter.visualizers.SamplerResultTab
clearData, init, renderImage, setBackgroundColor, setLastSelectedTab, setRightSide, setSamplerResult, setupTabPane
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.visualizers.ResultRenderer
clearData, init, renderImage, setBackgroundColor, setLastSelectedTab, setRightSide, setSamplerResult, setupTabPane
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+RenderAsDocument

+
+public RenderAsDocument()
+
+
+ + + + + + + + +
+Method Detail
+ +

+renderResult

+
+public void renderResult(SampleResult sampleResult)
+
+
+

+

+
Specified by:
renderResult in interface ResultRenderer
+
+
+
+
+
+
+ +

+toString

+
+public String toString()
+
+
+

+

+
Specified by:
toString in interface ResultRenderer
Overrides:
toString in class Object
+
+
+ +
Returns:
the string to be displayed by the ComboBox
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/RenderAsHTML.html b/docs/api/org/apache/jmeter/visualizers/RenderAsHTML.html new file mode 100644 index 00000000000..7f0d450c69e --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/RenderAsHTML.html @@ -0,0 +1,390 @@ + + + + + +RenderAsHTML (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers +
+Class RenderAsHTML

+
+java.lang.Object
+  extended by org.apache.jmeter.visualizers.SamplerResultTab
+      extended by org.apache.jmeter.visualizers.RenderAsHTML
+
+
+
All Implemented Interfaces:
ResultRenderer
+
+
+
Direct Known Subclasses:
RenderAsHTMLWithEmbedded
+
+
+
+
public class RenderAsHTML
extends SamplerResultTab
implements ResultRenderer
+ + +

+


+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class org.apache.jmeter.visualizers.SamplerResultTab
SamplerResultTab.RowResult
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.visualizers.SamplerResultTab
activateSearchExtension, CLIENT_ERROR_COLOR, REDIRECT_COLOR, REQUEST_VIEW_COMMAND, results, resultsScrollPane, rightSide, searchTextExtension, SERVER_ERROR_COLOR, TEXT_COMMAND
+  + + + + + + + + + + +
+Constructor Summary
RenderAsHTML() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidrenderResult(SampleResult sampleResult) + +
+          
+protected  voidshowRenderedResponse(String response, + SampleResult res) + +
+           
+protected  voidshowRenderedResponse(String response, + SampleResult res, + boolean embedded) + +
+           
+ StringtoString() + +
+          
+ + + + + + + +
Methods inherited from class org.apache.jmeter.visualizers.SamplerResultTab
clearData, init, renderImage, setBackgroundColor, setLastSelectedTab, setRightSide, setSamplerResult, setupTabPane
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.visualizers.ResultRenderer
clearData, init, renderImage, setBackgroundColor, setLastSelectedTab, setRightSide, setSamplerResult, setupTabPane
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+RenderAsHTML

+
+public RenderAsHTML()
+
+
+ + + + + + + + +
+Method Detail
+ +

+renderResult

+
+public void renderResult(SampleResult sampleResult)
+
+
+

+

+
Specified by:
renderResult in interface ResultRenderer
+
+
+
+
+
+
+ +

+showRenderedResponse

+
+protected void showRenderedResponse(String response,
+                                    SampleResult res)
+
+
+
+
+
+
+
+
+
+ +

+showRenderedResponse

+
+protected void showRenderedResponse(String response,
+                                    SampleResult res,
+                                    boolean embedded)
+
+
+
+
+
+
+
+
+
+ +

+toString

+
+public String toString()
+
+
+

+

+
Specified by:
toString in interface ResultRenderer
Overrides:
toString in class Object
+
+
+ +
Returns:
the string to be displayed by the ComboBox
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/RenderAsHTMLWithEmbedded.html b/docs/api/org/apache/jmeter/visualizers/RenderAsHTMLWithEmbedded.html new file mode 100644 index 00000000000..da6c307c621 --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/RenderAsHTMLWithEmbedded.html @@ -0,0 +1,349 @@ + + + + + +RenderAsHTMLWithEmbedded (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers +
+Class RenderAsHTMLWithEmbedded

+
+java.lang.Object
+  extended by org.apache.jmeter.visualizers.SamplerResultTab
+      extended by org.apache.jmeter.visualizers.RenderAsHTML
+          extended by org.apache.jmeter.visualizers.RenderAsHTMLWithEmbedded
+
+
+
All Implemented Interfaces:
ResultRenderer
+
+
+
+
public class RenderAsHTMLWithEmbedded
extends RenderAsHTML
implements ResultRenderer
+ + +

+


+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class org.apache.jmeter.visualizers.SamplerResultTab
SamplerResultTab.RowResult
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.visualizers.SamplerResultTab
activateSearchExtension, CLIENT_ERROR_COLOR, REDIRECT_COLOR, REQUEST_VIEW_COMMAND, results, resultsScrollPane, rightSide, searchTextExtension, SERVER_ERROR_COLOR, TEXT_COMMAND
+  + + + + + + + + + + +
+Constructor Summary
RenderAsHTMLWithEmbedded() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+protected  voidshowRenderedResponse(String response, + SampleResult res) + +
+          
+ StringtoString() + +
+          
+ + + + + + + +
Methods inherited from class org.apache.jmeter.visualizers.RenderAsHTML
renderResult, showRenderedResponse
+ + + + + + + +
Methods inherited from class org.apache.jmeter.visualizers.SamplerResultTab
clearData, init, renderImage, setBackgroundColor, setLastSelectedTab, setRightSide, setSamplerResult, setupTabPane
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.visualizers.ResultRenderer
clearData, init, renderImage, renderResult, setBackgroundColor, setLastSelectedTab, setRightSide, setSamplerResult, setupTabPane
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+RenderAsHTMLWithEmbedded

+
+public RenderAsHTMLWithEmbedded()
+
+
+ + + + + + + + +
+Method Detail
+ +

+showRenderedResponse

+
+protected void showRenderedResponse(String response,
+                                    SampleResult res)
+
+
+

+

+
Overrides:
showRenderedResponse in class RenderAsHTML
+
+
+
+
+
+
+ +

+toString

+
+public String toString()
+
+
+

+

+
Specified by:
toString in interface ResultRenderer
Overrides:
toString in class RenderAsHTML
+
+
+ +
Returns:
the string to be displayed by the ComboBox
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/RenderAsJSON.html b/docs/api/org/apache/jmeter/visualizers/RenderAsJSON.html new file mode 100644 index 00000000000..7cbea8ba25c --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/RenderAsJSON.html @@ -0,0 +1,337 @@ + + + + + +RenderAsJSON (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers +
+Class RenderAsJSON

+
+java.lang.Object
+  extended by org.apache.jmeter.visualizers.SamplerResultTab
+      extended by org.apache.jmeter.visualizers.RenderAsJSON
+
+
+
All Implemented Interfaces:
ResultRenderer
+
+
+
+
public class RenderAsJSON
extends SamplerResultTab
implements ResultRenderer
+ + +

+


+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class org.apache.jmeter.visualizers.SamplerResultTab
SamplerResultTab.RowResult
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.visualizers.SamplerResultTab
activateSearchExtension, CLIENT_ERROR_COLOR, REDIRECT_COLOR, REQUEST_VIEW_COMMAND, results, resultsScrollPane, rightSide, searchTextExtension, SERVER_ERROR_COLOR, TEXT_COMMAND
+  + + + + + + + + + + +
+Constructor Summary
RenderAsJSON() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ voidrenderResult(SampleResult sampleResult) + +
+          
+ StringtoString() + +
+          
+ + + + + + + +
Methods inherited from class org.apache.jmeter.visualizers.SamplerResultTab
clearData, init, renderImage, setBackgroundColor, setLastSelectedTab, setRightSide, setSamplerResult, setupTabPane
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.visualizers.ResultRenderer
clearData, init, renderImage, setBackgroundColor, setLastSelectedTab, setRightSide, setSamplerResult, setupTabPane
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+RenderAsJSON

+
+public RenderAsJSON()
+
+
+ + + + + + + + +
+Method Detail
+ +

+renderResult

+
+public void renderResult(SampleResult sampleResult)
+
+
+

+

+
Specified by:
renderResult in interface ResultRenderer
+
+
+
+
+
+
+ +

+toString

+
+public String toString()
+
+
+

+

+
Specified by:
toString in interface ResultRenderer
Overrides:
toString in class Object
+
+
+ +
Returns:
the string to be displayed by the ComboBox
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/RenderAsRegexp.html b/docs/api/org/apache/jmeter/visualizers/RenderAsRegexp.html new file mode 100644 index 00000000000..10d65989b42 --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/RenderAsRegexp.html @@ -0,0 +1,502 @@ + + + + + +RenderAsRegexp (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers +
+Class RenderAsRegexp

+
+java.lang.Object
+  extended by org.apache.jmeter.visualizers.RenderAsRegexp
+
+
+
All Implemented Interfaces:
ActionListener, EventListener, ResultRenderer
+
+
+
+
public class RenderAsRegexp
extends Object
implements ResultRenderer, ActionListener
+ + +

+Implement ResultsRender for Regexp tester +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
RenderAsRegexp() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidactionPerformed(ActionEvent e) + +
+          Display the response as text or as rendered HTML.
+ voidclearData() + +
+          
+ voidinit() + +
+          
+ voidrenderImage(SampleResult sampleResult) + +
+          
+ voidrenderResult(SampleResult sampleResult) + +
+          
+ voidsetBackgroundColor(Color backGround) + +
+          
+ voidsetLastSelectedTab(int index) + +
+          
+ voidsetRightSide(JTabbedPane side) + +
+          
+ voidsetSamplerResult(Object userObject) + +
+          
+ voidsetupTabPane() + +
+          
+ StringtoString() + +
+          
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+RenderAsRegexp

+
+public RenderAsRegexp()
+
+
+ + + + + + + + +
+Method Detail
+ +

+clearData

+
+public void clearData()
+
+
+

+

+
Specified by:
clearData in interface ResultRenderer
+
+
+
+
+
+
+ +

+init

+
+public void init()
+
+
+

+

+
Specified by:
init in interface ResultRenderer
+
+
+
+
+
+
+ +

+actionPerformed

+
+public void actionPerformed(ActionEvent e)
+
+
Display the response as text or as rendered HTML. Change the text on the + button appropriate to the current display. +

+

+
Specified by:
actionPerformed in interface ActionListener
+
+
+
Parameters:
e - the ActionEvent being processed
+
+
+
+ +

+renderResult

+
+public void renderResult(SampleResult sampleResult)
+
+
+

+

+
Specified by:
renderResult in interface ResultRenderer
+
+
+
+
+
+
+ +

+setupTabPane

+
+public void setupTabPane()
+
+
+

+

+
Specified by:
setupTabPane in interface ResultRenderer
+
+
+
+
+
+
+ +

+setRightSide

+
+public void setRightSide(JTabbedPane side)
+
+
+

+

+
Specified by:
setRightSide in interface ResultRenderer
+
+
+
+
+
+
+ +

+setSamplerResult

+
+public void setSamplerResult(Object userObject)
+
+
+

+

+
Specified by:
setSamplerResult in interface ResultRenderer
+
+
+
+
+
+
+ +

+setLastSelectedTab

+
+public void setLastSelectedTab(int index)
+
+
+

+

+
Specified by:
setLastSelectedTab in interface ResultRenderer
+
+
+
+
+
+
+ +

+toString

+
+public String toString()
+
+
+

+

+
Specified by:
toString in interface ResultRenderer
Overrides:
toString in class Object
+
+
+ +
Returns:
the string to be displayed by the ComboBox
+
+
+
+ +

+renderImage

+
+public void renderImage(SampleResult sampleResult)
+
+
+

+

+
Specified by:
renderImage in interface ResultRenderer
+
+
+
+
+
+
+ +

+setBackgroundColor

+
+public void setBackgroundColor(Color backGround)
+
+
+

+

+
Specified by:
setBackgroundColor in interface ResultRenderer
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/RenderAsText.html b/docs/api/org/apache/jmeter/visualizers/RenderAsText.html new file mode 100644 index 00000000000..04135b3b6b5 --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/RenderAsText.html @@ -0,0 +1,337 @@ + + + + + +RenderAsText (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers +
+Class RenderAsText

+
+java.lang.Object
+  extended by org.apache.jmeter.visualizers.SamplerResultTab
+      extended by org.apache.jmeter.visualizers.RenderAsText
+
+
+
All Implemented Interfaces:
ResultRenderer
+
+
+
+
public class RenderAsText
extends SamplerResultTab
implements ResultRenderer
+ + +

+


+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class org.apache.jmeter.visualizers.SamplerResultTab
SamplerResultTab.RowResult
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.visualizers.SamplerResultTab
activateSearchExtension, CLIENT_ERROR_COLOR, REDIRECT_COLOR, REQUEST_VIEW_COMMAND, results, resultsScrollPane, rightSide, searchTextExtension, SERVER_ERROR_COLOR, TEXT_COMMAND
+  + + + + + + + + + + +
+Constructor Summary
RenderAsText() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ voidrenderResult(SampleResult sampleResult) + +
+          
+ StringtoString() + +
+          
+ + + + + + + +
Methods inherited from class org.apache.jmeter.visualizers.SamplerResultTab
clearData, init, renderImage, setBackgroundColor, setLastSelectedTab, setRightSide, setSamplerResult, setupTabPane
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.visualizers.ResultRenderer
clearData, init, renderImage, setBackgroundColor, setLastSelectedTab, setRightSide, setSamplerResult, setupTabPane
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+RenderAsText

+
+public RenderAsText()
+
+
+ + + + + + + + +
+Method Detail
+ +

+renderResult

+
+public void renderResult(SampleResult sampleResult)
+
+
+

+

+
Specified by:
renderResult in interface ResultRenderer
+
+
+
+
+
+
+ +

+toString

+
+public String toString()
+
+
+

+

+
Specified by:
toString in interface ResultRenderer
Overrides:
toString in class Object
+
+
+ +
Returns:
the string to be displayed by the ComboBox
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/RenderAsXML.html b/docs/api/org/apache/jmeter/visualizers/RenderAsXML.html new file mode 100644 index 00000000000..cda66134129 --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/RenderAsXML.html @@ -0,0 +1,359 @@ + + + + + +RenderAsXML (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers +
+Class RenderAsXML

+
+java.lang.Object
+  extended by org.apache.jmeter.visualizers.SamplerResultTab
+      extended by org.apache.jmeter.visualizers.RenderAsXML
+
+
+
All Implemented Interfaces:
ResultRenderer
+
+
+
+
public class RenderAsXML
extends SamplerResultTab
implements ResultRenderer
+ + +

+


+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class org.apache.jmeter.visualizers.SamplerResultTab
SamplerResultTab.RowResult
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.visualizers.SamplerResultTab
activateSearchExtension, CLIENT_ERROR_COLOR, REDIRECT_COLOR, REQUEST_VIEW_COMMAND, results, resultsScrollPane, rightSide, searchTextExtension, SERVER_ERROR_COLOR, TEXT_COMMAND
+  + + + + + + + + + + +
+Constructor Summary
RenderAsXML() + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclearData() + +
+           
+ voidrenderResult(SampleResult sampleResult) + +
+          
+ StringtoString() + +
+          
+ + + + + + + +
Methods inherited from class org.apache.jmeter.visualizers.SamplerResultTab
init, renderImage, setBackgroundColor, setLastSelectedTab, setRightSide, setSamplerResult, setupTabPane
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.visualizers.ResultRenderer
init, renderImage, setBackgroundColor, setLastSelectedTab, setRightSide, setSamplerResult, setupTabPane
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+RenderAsXML

+
+public RenderAsXML()
+
+
+ + + + + + + + +
+Method Detail
+ +

+renderResult

+
+public void renderResult(SampleResult sampleResult)
+
+
+

+

+
Specified by:
renderResult in interface ResultRenderer
+
+
+
+
+
+
+ +

+clearData

+
+public void clearData()
+
+
+
Specified by:
clearData in interface ResultRenderer
Overrides:
clearData in class SamplerResultTab
+
+
+
+
+
+
+ +

+toString

+
+public String toString()
+
+
+

+

+
Specified by:
toString in interface ResultRenderer
Overrides:
toString in class Object
+
+
+ +
Returns:
the string to be displayed by the ComboBox
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/RenderAsXPath.html b/docs/api/org/apache/jmeter/visualizers/RenderAsXPath.html new file mode 100644 index 00000000000..d2d2a6ac3a1 --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/RenderAsXPath.html @@ -0,0 +1,502 @@ + + + + + +RenderAsXPath (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers +
+Class RenderAsXPath

+
+java.lang.Object
+  extended by org.apache.jmeter.visualizers.RenderAsXPath
+
+
+
All Implemented Interfaces:
ActionListener, EventListener, ResultRenderer
+
+
+
+
public class RenderAsXPath
extends Object
implements ResultRenderer, ActionListener
+ + +

+Implement ResultsRender for XPath tester +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
RenderAsXPath() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidactionPerformed(ActionEvent e) + +
+          Display the response as text or as rendered HTML.
+ voidclearData() + +
+          
+ voidinit() + +
+          
+ voidrenderImage(SampleResult sampleResult) + +
+          
+ voidrenderResult(SampleResult sampleResult) + +
+          
+ voidsetBackgroundColor(Color backGround) + +
+          
+ voidsetLastSelectedTab(int index) + +
+          
+ voidsetRightSide(JTabbedPane side) + +
+          
+ voidsetSamplerResult(Object userObject) + +
+          
+ voidsetupTabPane() + +
+          
+ StringtoString() + +
+          
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+RenderAsXPath

+
+public RenderAsXPath()
+
+
+ + + + + + + + +
+Method Detail
+ +

+clearData

+
+public void clearData()
+
+
+

+

+
Specified by:
clearData in interface ResultRenderer
+
+
+
+
+
+
+ +

+init

+
+public void init()
+
+
+

+

+
Specified by:
init in interface ResultRenderer
+
+
+
+
+
+
+ +

+actionPerformed

+
+public void actionPerformed(ActionEvent e)
+
+
Display the response as text or as rendered HTML. Change the text on the + button appropriate to the current display. +

+

+
Specified by:
actionPerformed in interface ActionListener
+
+
+
Parameters:
e - the ActionEvent being processed
+
+
+
+ +

+renderResult

+
+public void renderResult(SampleResult sampleResult)
+
+
+

+

+
Specified by:
renderResult in interface ResultRenderer
+
+
+
+
+
+
+ +

+toString

+
+public String toString()
+
+
+

+

+
Specified by:
toString in interface ResultRenderer
Overrides:
toString in class Object
+
+
+ +
Returns:
the string to be displayed by the ComboBox
+
+
+
+ +

+setupTabPane

+
+public void setupTabPane()
+
+
+

+

+
Specified by:
setupTabPane in interface ResultRenderer
+
+
+
+
+
+
+ +

+setRightSide

+
+public void setRightSide(JTabbedPane side)
+
+
+

+

+
Specified by:
setRightSide in interface ResultRenderer
+
+
+
+
+
+
+ +

+setSamplerResult

+
+public void setSamplerResult(Object userObject)
+
+
+

+

+
Specified by:
setSamplerResult in interface ResultRenderer
+
+
+
+
+
+
+ +

+setLastSelectedTab

+
+public void setLastSelectedTab(int index)
+
+
+

+

+
Specified by:
setLastSelectedTab in interface ResultRenderer
+
+
+
+
+
+
+ +

+renderImage

+
+public void renderImage(SampleResult sampleResult)
+
+
+

+

+
Specified by:
renderImage in interface ResultRenderer
+
+
+
+
+
+
+ +

+setBackgroundColor

+
+public void setBackgroundColor(Color backGround)
+
+
+

+

+
Specified by:
setBackgroundColor in interface ResultRenderer
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/RequestPanel.html b/docs/api/org/apache/jmeter/visualizers/RequestPanel.html new file mode 100644 index 00000000000..68e92add9aa --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/RequestPanel.html @@ -0,0 +1,300 @@ + + + + + +RequestPanel (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers +
+Class RequestPanel

+
+java.lang.Object
+  extended by org.apache.jmeter.visualizers.RequestPanel
+
+
+
+
public class RequestPanel
extends Object
+ + +

+Manipulate all classes which implements request view panel interface + and return a super panel with a bottom tab list of this classes +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
RequestPanel() + +
+          Find and instanciate all class that extend RequestView + and Create Request Panel
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclearData() + +
+          Clear data in all request view
+ JPanelgetPanel() + +
+           
+ voidsetSamplerResult(SampleResult samplerResult) + +
+          Put SamplerResult in all request view
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+RequestPanel

+
+public RequestPanel()
+
+
Find and instanciate all class that extend RequestView + and Create Request Panel +

+

+ + + + + + + + +
+Method Detail
+ +

+clearData

+
+public void clearData()
+
+
Clear data in all request view +

+

+
+
+
+
+ +

+setSamplerResult

+
+public void setSamplerResult(SampleResult samplerResult)
+
+
Put SamplerResult in all request view +

+

+
Parameters:
samplerResult - The SampleResult to be put in all RequestViews
+
+
+
+ +

+getPanel

+
+public JPanel getPanel()
+
+
+ +
Returns:
a tabbed panel for view request
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/RequestView.html b/docs/api/org/apache/jmeter/visualizers/RequestView.html new file mode 100644 index 00000000000..c8010780c59 --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/RequestView.html @@ -0,0 +1,299 @@ + + + + + +RequestView (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers +
+Interface RequestView

+
+
All Known Implementing Classes:
RequestViewHTTP, RequestViewRaw
+
+
+
+
public interface RequestView
+ + +

+Interface for request panel in View Results Tree + All classes which implements this interface is display + on bottom tab in request panel +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclearData() + +
+          Clear all data in panel
+ StringgetLabel() + +
+          Get the label.
+ JPanelgetPanel() + +
+          Get the panel
+ voidinit() + +
+          Init the panel
+ voidsetSamplerResult(Object userObject) + +
+          Put the result bean to display in panel
+  +

+ + + + + + + + +
+Method Detail
+ +

+init

+
+void init()
+
+
Init the panel +

+

+
+
+
+
+ +

+clearData

+
+void clearData()
+
+
Clear all data in panel +

+

+
+
+
+
+ +

+setSamplerResult

+
+void setSamplerResult(Object userObject)
+
+
Put the result bean to display in panel +

+

+
Parameters:
userObject - result to display
+
+
+
+ +

+getPanel

+
+JPanel getPanel()
+
+
Get the panel +

+

+ +
Returns:
the panel viewer
+
+
+
+ +

+getLabel

+
+String getLabel()
+
+
Get the label. Use as name for bottom tab +

+

+ +
Returns:
the label's panel
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/RequestViewRaw.html b/docs/api/org/apache/jmeter/visualizers/RequestViewRaw.html new file mode 100644 index 00000000000..34aeca55790 --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/RequestViewRaw.html @@ -0,0 +1,362 @@ + + + + + +RequestViewRaw (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers +
+Class RequestViewRaw

+
+java.lang.Object
+  extended by org.apache.jmeter.visualizers.RequestViewRaw
+
+
+
All Implemented Interfaces:
RequestView
+
+
+
+
public class RequestViewRaw
extends Object
implements RequestView
+ + +

+(historical) Panel to view request data +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
RequestViewRaw() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclearData() + +
+          Clear all data in panel
+ StringgetLabel() + +
+          Get the label.
+ JPanelgetPanel() + +
+          Get the panel
+ voidinit() + +
+          request pane content
+ voidsetSamplerResult(Object objectResult) + +
+          Put the result bean to display in panel
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+RequestViewRaw

+
+public RequestViewRaw()
+
+
+ + + + + + + + +
+Method Detail
+ +

+init

+
+public void init()
+
+
request pane content +

+

+
Specified by:
init in interface RequestView
+
+
+
+
+
+
+ +

+clearData

+
+public void clearData()
+
+
Description copied from interface: RequestView
+
Clear all data in panel +

+

+
Specified by:
clearData in interface RequestView
+
+
+
+
+
+
+ +

+setSamplerResult

+
+public void setSamplerResult(Object objectResult)
+
+
Description copied from interface: RequestView
+
Put the result bean to display in panel +

+

+
Specified by:
setSamplerResult in interface RequestView
+
+
+
Parameters:
objectResult - result to display
+
+
+
+ +

+getPanel

+
+public JPanel getPanel()
+
+
Description copied from interface: RequestView
+
Get the panel +

+

+
Specified by:
getPanel in interface RequestView
+
+
+ +
Returns:
the panel viewer
+
+
+
+ +

+getLabel

+
+public String getLabel()
+
+
Description copied from interface: RequestView
+
Get the label. Use as name for bottom tab +

+

+
Specified by:
getLabel in interface RequestView
+
+
+ +
Returns:
the label's panel
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/RespTimeGraphChart.html b/docs/api/org/apache/jmeter/visualizers/RespTimeGraphChart.html new file mode 100644 index 00000000000..1dfd3f33135 --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/RespTimeGraphChart.html @@ -0,0 +1,1256 @@ + + + + + +RespTimeGraphChart (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers +
+Class RespTimeGraphChart

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.visualizers.RespTimeGraphChart
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible
+
+
+
+
public class RespTimeGraphChart
extends JPanel
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+protected  Color[]color + +
+           
+protected  double[][]data + +
+           
+protected  intheight + +
+           
+protected  intincrYAxisScale + +
+           
+protected  FontlegendFont + +
+           
+protected  String[]legendLabels + +
+           
+protected  intlegendPlacement + +
+           
+protected  intmaxYAxisScale + +
+           
+protected  ShapepointShape + +
+           
+protected  booleanshowGrouping + +
+           
+protected  floatstrokeWidth + +
+           
+protected  Stringtitle + +
+           
+protected  FonttitleFont + +
+           
+protected  intwidth + +
+           
+protected  String[]xAxisLabels + +
+           
+protected  StringxAxisTitle + +
+           
+protected  StringyAxisLabel + +
+           
+protected  StringyAxisTitle + +
+           
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + + + + + + + +
+Constructor Summary
RespTimeGraphChart() + +
+          Constructor
RespTimeGraphChart(LayoutManager layout) + +
+          Constructor
RespTimeGraphChart(LayoutManager layout, + boolean isDoubleBuffered) + +
+          Constructor
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Color[]getColor() + +
+           
+ FontgetLegendFont() + +
+           
+ intgetLegendPlacement() + +
+           
+ intgetMaxYAxisScale() + +
+           
+ ShapegetPointShape() + +
+           
+ floatgetStrokeWidth() + +
+           
+ FontgetTitleFont() + +
+           
+ booleanisShowGrouping() + +
+           
+ voidpaintComponent(Graphics graphics) + +
+           
+ voidsetColor(Color[] color) + +
+           
+ voidsetData(double[][] data) + +
+           
+ voidsetHeight(int h) + +
+           
+ voidsetIncrYAxisScale(int incrYAxisScale) + +
+           
+ voidsetLegendFont(Font legendFont) + +
+           
+ voidsetLegendLabels(String[] labels) + +
+           
+ voidsetLegendPlacement(int legendPlacement) + +
+           
+ voidsetMaxYAxisScale(int maxYAxisScale) + +
+           
+ voidsetPointShape(Shape pointShape) + +
+           
+ voidsetShowGrouping(boolean showGrouping) + +
+           
+ voidsetStrokeWidth(float strokeWidth) + +
+           
+ voidsetTitle(String title) + +
+           
+ voidsetTitleFont(Font titleFont) + +
+           
+ voidsetWidth(int w) + +
+           
+ voidsetXAxisLabels(String[] labels) + +
+           
+ voidsetXAxisTitle(String title) + +
+           
+ voidsetYAxisLabels(String label) + +
+           
+ voidsetYAxisTitle(String title) + +
+           
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+data

+
+protected double[][] data
+
+
+
+
+
+ +

+title

+
+protected String title
+
+
+
+
+
+ +

+xAxisTitle

+
+protected String xAxisTitle
+
+
+
+
+
+ +

+yAxisTitle

+
+protected String yAxisTitle
+
+
+
+
+
+ +

+yAxisLabel

+
+protected String yAxisLabel
+
+
+
+
+
+ +

+xAxisLabels

+
+protected String[] xAxisLabels
+
+
+
+
+
+ +

+width

+
+protected int width
+
+
+
+
+
+ +

+height

+
+protected int height
+
+
+
+
+
+ +

+incrYAxisScale

+
+protected int incrYAxisScale
+
+
+
+
+
+ +

+legendLabels

+
+protected String[] legendLabels
+
+
+
+
+
+ +

+maxYAxisScale

+
+protected int maxYAxisScale
+
+
+
+
+
+ +

+titleFont

+
+protected Font titleFont
+
+
+
+
+
+ +

+legendFont

+
+protected Font legendFont
+
+
+
+
+
+ +

+color

+
+protected Color[] color
+
+
+
+
+
+ +

+showGrouping

+
+protected boolean showGrouping
+
+
+
+
+
+ +

+legendPlacement

+
+protected int legendPlacement
+
+
+
+
+
+ +

+pointShape

+
+protected Shape pointShape
+
+
+
+
+
+ +

+strokeWidth

+
+protected float strokeWidth
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+RespTimeGraphChart

+
+public RespTimeGraphChart()
+
+
Constructor +

+

+
+ +

+RespTimeGraphChart

+
+public RespTimeGraphChart(LayoutManager layout)
+
+
Constructor +

+

+
Parameters:
layout - The LayoutManager to be used
+
+
+ +

+RespTimeGraphChart

+
+public RespTimeGraphChart(LayoutManager layout,
+                          boolean isDoubleBuffered)
+
+
Constructor +

+

+
Parameters:
layout - The LayoutManager to be used
isDoubleBuffered - Flag whether double buffering should be used
+
+ + + + + + + + +
+Method Detail
+ +

+setData

+
+public void setData(double[][] data)
+
+
+
+
+
+
+ +

+setTitle

+
+public void setTitle(String title)
+
+
+
+
+
+
+ +

+setXAxisTitle

+
+public void setXAxisTitle(String title)
+
+
+
+
+
+
+ +

+setYAxisTitle

+
+public void setYAxisTitle(String title)
+
+
+
+
+
+
+ +

+setXAxisLabels

+
+public void setXAxisLabels(String[] labels)
+
+
+
+
+
+
+ +

+setYAxisLabels

+
+public void setYAxisLabels(String label)
+
+
+
+
+
+
+ +

+setLegendLabels

+
+public void setLegendLabels(String[] labels)
+
+
+
+
+
+
+ +

+setWidth

+
+public void setWidth(int w)
+
+
+
+
+
+
+ +

+setHeight

+
+public void setHeight(int h)
+
+
+
+
+
+
+ +

+setIncrYAxisScale

+
+public void setIncrYAxisScale(int incrYAxisScale)
+
+
+
Parameters:
incrYAxisScale - the incrYAxisScale to set
+
+
+
+ +

+getMaxYAxisScale

+
+public int getMaxYAxisScale()
+
+
+ +
Returns:
the maxYAxisScale
+
+
+
+ +

+setMaxYAxisScale

+
+public void setMaxYAxisScale(int maxYAxisScale)
+
+
+
Parameters:
maxYAxisScale - the maxYAxisScale to set
+
+
+
+ +

+getColor

+
+public Color[] getColor()
+
+
+ +
Returns:
the color
+
+
+
+ +

+setColor

+
+public void setColor(Color[] color)
+
+
+
Parameters:
color - the color to set
+
+
+
+ +

+getTitleFont

+
+public Font getTitleFont()
+
+
+ +
Returns:
the titleFont
+
+
+
+ +

+setTitleFont

+
+public void setTitleFont(Font titleFont)
+
+
+
Parameters:
titleFont - the titleFont to set
+
+
+
+ +

+getLegendFont

+
+public Font getLegendFont()
+
+
+ +
Returns:
the legendFont
+
+
+
+ +

+setLegendFont

+
+public void setLegendFont(Font legendFont)
+
+
+
Parameters:
legendFont - the legendFont to set
+
+
+
+ +

+getLegendPlacement

+
+public int getLegendPlacement()
+
+
+ +
Returns:
the legendPlacement
+
+
+
+ +

+setLegendPlacement

+
+public void setLegendPlacement(int legendPlacement)
+
+
+
Parameters:
legendPlacement - the legendPlacement to set
+
+
+
+ +

+getPointShape

+
+public Shape getPointShape()
+
+
+ +
Returns:
the pointShape
+
+
+
+ +

+setPointShape

+
+public void setPointShape(Shape pointShape)
+
+
+
Parameters:
pointShape - the pointShape to set
+
+
+
+ +

+getStrokeWidth

+
+public float getStrokeWidth()
+
+
+ +
Returns:
the strokeWidth
+
+
+
+ +

+setStrokeWidth

+
+public void setStrokeWidth(float strokeWidth)
+
+
+
Parameters:
strokeWidth - the strokeWidth to set
+
+
+
+ +

+isShowGrouping

+
+public boolean isShowGrouping()
+
+
+ +
Returns:
the showGrouping
+
+
+
+ +

+setShowGrouping

+
+public void setShowGrouping(boolean showGrouping)
+
+
+
Parameters:
showGrouping - the showGrouping to set
+
+
+
+ +

+paintComponent

+
+public void paintComponent(Graphics graphics)
+
+
+
Overrides:
paintComponent in class JComponent
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/RespTimeGraphDataBean.html b/docs/api/org/apache/jmeter/visualizers/RespTimeGraphDataBean.html new file mode 100644 index 00000000000..609dc8ca043 --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/RespTimeGraphDataBean.html @@ -0,0 +1,358 @@ + + + + + +RespTimeGraphDataBean (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers +
+Class RespTimeGraphDataBean

+
+java.lang.Object
+  extended by org.apache.jmeter.visualizers.RespTimeGraphDataBean
+
+
+
+
public class RespTimeGraphDataBean
extends Object
+ + +

+Bean to hold timing information about samples +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
RespTimeGraphDataBean(long startTime, + long time, + String samplerLabel) + +
+          Constructor
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetSamplerLabel() + +
+           
+ longgetStartTime() + +
+           
+ longgetTime() + +
+           
+ voidsetSamplerLabel(String samplerLabel) + +
+           
+ voidsetStartTime(long startTime) + +
+           
+ voidsetTime(long time) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+RespTimeGraphDataBean

+
+public RespTimeGraphDataBean(long startTime,
+                             long time,
+                             String samplerLabel)
+
+
Constructor +

+

+
Parameters:
startTime - The start time of this Sample
time - The time elapsed for this sample
samplerLabel - The label for this sample
+
+ + + + + + + + +
+Method Detail
+ +

+getStartTime

+
+public long getStartTime()
+
+
+ +
Returns:
the startTime
+
+
+
+ +

+setStartTime

+
+public void setStartTime(long startTime)
+
+
+
Parameters:
startTime - the startTime to set
+
+
+
+ +

+getTime

+
+public long getTime()
+
+
+ +
Returns:
the time
+
+
+
+ +

+setTime

+
+public void setTime(long time)
+
+
+
Parameters:
time - the time to set
+
+
+
+ +

+getSamplerLabel

+
+public String getSamplerLabel()
+
+
+ +
Returns:
the samplerLabel
+
+
+
+ +

+setSamplerLabel

+
+public void setSamplerLabel(String samplerLabel)
+
+
+
Parameters:
samplerLabel - the samplerLabel to set
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/RespTimeGraphLineBean.html b/docs/api/org/apache/jmeter/visualizers/RespTimeGraphLineBean.html new file mode 100644 index 00000000000..f34f72dc857 --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/RespTimeGraphLineBean.html @@ -0,0 +1,315 @@ + + + + + +RespTimeGraphLineBean (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers +
+Class RespTimeGraphLineBean

+
+java.lang.Object
+  extended by org.apache.jmeter.visualizers.RespTimeGraphLineBean
+
+
+
+
public class RespTimeGraphLineBean
extends Object
+ + +

+Bean to represent information about a graph line +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
RespTimeGraphLineBean(String label, + Color lineColor) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetLabel() + +
+           
+ ColorgetLineColor() + +
+           
+ voidsetLabel(String label) + +
+           
+ voidsetLineColor(Color lineColor) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+RespTimeGraphLineBean

+
+public RespTimeGraphLineBean(String label,
+                             Color lineColor)
+
+
+
Parameters:
label - The label for this line
lineColor - The Color for this line
+
+ + + + + + + + +
+Method Detail
+ +

+getLabel

+
+public String getLabel()
+
+
+ +
Returns:
the label
+
+
+
+ +

+setLabel

+
+public void setLabel(String label)
+
+
+
Parameters:
label - the label to set
+
+
+
+ +

+getLineColor

+
+public Color getLineColor()
+
+
+ +
Returns:
the lineColor
+
+
+
+ +

+setLineColor

+
+public void setLineColor(Color lineColor)
+
+
+
Parameters:
lineColor - the lineColor to set
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/RespTimeGraphVisualizer.html b/docs/api/org/apache/jmeter/visualizers/RespTimeGraphVisualizer.html new file mode 100644 index 00000000000..aba1fcd0e5f --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/RespTimeGraphVisualizer.html @@ -0,0 +1,1392 @@ + + + + + +RespTimeGraphVisualizer (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers +
+Class RespTimeGraphVisualizer

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.visualizers.gui.AbstractListenerGui
+                          extended by org.apache.jmeter.visualizers.gui.AbstractVisualizer
+                              extended by org.apache.jmeter.visualizers.RespTimeGraphVisualizer
+
+
+
All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, ChangeListener, ClearGui, JMeterGUIComponent, UnsharedComponent, Clearable, Printable, Visualizer
+
+
+
+
public class RespTimeGraphVisualizer
extends AbstractVisualizer
implements ActionListener, Clearable
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static booleanDEFAULT_CASE_SENSITIVE + +
+           
+static booleanDEFAULT_DYNAMIC_GRAPH_SIZE + +
+           
+static intDEFAULT_INTERVAL + +
+           
+static intDEFAULT_LEGEND_FONT + +
+           
+static intDEFAULT_LEGEND_PLACEMENT + +
+           
+static intDEFAULT_LEGEND_SIZE + +
+           
+static intDEFAULT_LEGEND_STYLE + +
+           
+static intDEFAULT_LINE_SHAPE_POINT + +
+           
+static booleanDEFAULT_NUMBER_SHOW_GROUPING + +
+           
+static booleanDEFAULT_REGEXP + +
+           
+static booleanDEFAULT_SERIES_SELECTION + +
+           
+static intDEFAULT_STROKE_WIDTH_LIST + +
+           
+static intDEFAULT_TITLE_FONT_NAME + +
+           
+static intDEFAULT_TITLE_FONT_SIZE + +
+           
+static intDEFAULT_TITLE_FONT_STYLE + +
+           
+static StringDEFAULT_XAXIS_TIME_FORMAT + +
+           
+static StringGRAPH_SIZE_DYNAMIC + +
+           
+static StringGRAPH_SIZE_HEIGHT + +
+           
+static StringGRAPH_SIZE_WIDTH + +
+           
+static StringGRAPH_TITLE + +
+           
+static StringGRAPH_TITLE_FONT_NAME + +
+           
+static StringGRAPH_TITLE_FONT_SIZE + +
+           
+static StringGRAPH_TITLE_FONT_STYLE + +
+           
+static StringINTERVAL + +
+           
+static StringLEGEND_FONT + +
+           
+static StringLEGEND_PLACEMENT + +
+           
+static StringLEGEND_SIZE + +
+           
+static StringLEGEND_STYLE + +
+           
+static StringLINE_SHAPE_POINT + +
+           
+static StringLINE_STROKE_WIDTH + +
+           
+static StringSERIES_SELECTION + +
+           
+static StringSERIES_SELECTION_CASE_SENSITIVE + +
+           
+static StringSERIES_SELECTION_MATCH_LABEL + +
+           
+static StringSERIES_SELECTION_REGEXP + +
+           
+static StringXAXIS_TIME_FORMAT + +
+           
+static StringYAXIS_INCREMENT_SCALE + +
+           
+static StringYAXIS_NUMBER_GROUPING + +
+           
+static StringYAXIS_SCALE_MAX_VALUE + +
+           
+ + + + + + + +
Fields inherited from class org.apache.jmeter.visualizers.gui.AbstractVisualizer
collector, isStats
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
RespTimeGraphVisualizer() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidactionPerformed(ActionEvent event) + +
+           
+ voidadd(SampleResult sampleResult) + +
+          This method is called by sampling thread to inform the visualizer about + the arrival of a new sample.
+ voidclearData() + +
+          Clears the current data of the object.
+ voidclearGui() + +
+          Implements JMeterGUIComponent.clearGui
+ voidconfigure(TestElement te) + +
+          A newly created gui component can be initialized with the contents of a + Test Element object by calling this method.
+ double[][]getData() + +
+          Generate the data for the jChart API
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ JComponentgetPrintableComponent() + +
+          Subclasses need to over-ride this method, if they wish to return + something other than the Visualizer itself.
+ String[]getXAxisLabels() + +
+           
+ voidmakeGraph() + +
+           
+ voidmodifyTestElement(TestElement te) + +
+          GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.visualizers.gui.AbstractVisualizer
configureTestElement, createTestElement, getErrorLoggingCheckbox, getFile, getFilePanel, getModel, isStats, makeTitlePanel, setFile, setModel, stateChanged
+ + + + + + + +
Methods inherited from class org.apache.jmeter.visualizers.gui.AbstractListenerGui
createPopupMenu, getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+INTERVAL

+
+public static final String INTERVAL
+
+
+
See Also:
Constant Field Values
+
+
+ +

+SERIES_SELECTION

+
+public static final String SERIES_SELECTION
+
+
+
See Also:
Constant Field Values
+
+
+ +

+SERIES_SELECTION_MATCH_LABEL

+
+public static final String SERIES_SELECTION_MATCH_LABEL
+
+
+
See Also:
Constant Field Values
+
+
+ +

+SERIES_SELECTION_CASE_SENSITIVE

+
+public static final String SERIES_SELECTION_CASE_SENSITIVE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+SERIES_SELECTION_REGEXP

+
+public static final String SERIES_SELECTION_REGEXP
+
+
+
See Also:
Constant Field Values
+
+
+ +

+GRAPH_TITLE

+
+public static final String GRAPH_TITLE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+GRAPH_TITLE_FONT_NAME

+
+public static final String GRAPH_TITLE_FONT_NAME
+
+
+
See Also:
Constant Field Values
+
+
+ +

+GRAPH_TITLE_FONT_SIZE

+
+public static final String GRAPH_TITLE_FONT_SIZE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+GRAPH_TITLE_FONT_STYLE

+
+public static final String GRAPH_TITLE_FONT_STYLE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+LINE_STROKE_WIDTH

+
+public static final String LINE_STROKE_WIDTH
+
+
+
See Also:
Constant Field Values
+
+
+ +

+LINE_SHAPE_POINT

+
+public static final String LINE_SHAPE_POINT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+GRAPH_SIZE_DYNAMIC

+
+public static final String GRAPH_SIZE_DYNAMIC
+
+
+
See Also:
Constant Field Values
+
+
+ +

+GRAPH_SIZE_WIDTH

+
+public static final String GRAPH_SIZE_WIDTH
+
+
+
See Also:
Constant Field Values
+
+
+ +

+GRAPH_SIZE_HEIGHT

+
+public static final String GRAPH_SIZE_HEIGHT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+XAXIS_TIME_FORMAT

+
+public static final String XAXIS_TIME_FORMAT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+YAXIS_SCALE_MAX_VALUE

+
+public static final String YAXIS_SCALE_MAX_VALUE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+YAXIS_INCREMENT_SCALE

+
+public static final String YAXIS_INCREMENT_SCALE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+YAXIS_NUMBER_GROUPING

+
+public static final String YAXIS_NUMBER_GROUPING
+
+
+
See Also:
Constant Field Values
+
+
+ +

+LEGEND_PLACEMENT

+
+public static final String LEGEND_PLACEMENT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+LEGEND_FONT

+
+public static final String LEGEND_FONT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+LEGEND_SIZE

+
+public static final String LEGEND_SIZE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+LEGEND_STYLE

+
+public static final String LEGEND_STYLE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DEFAULT_INTERVAL

+
+public static final int DEFAULT_INTERVAL
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DEFAULT_SERIES_SELECTION

+
+public static final boolean DEFAULT_SERIES_SELECTION
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DEFAULT_CASE_SENSITIVE

+
+public static final boolean DEFAULT_CASE_SENSITIVE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DEFAULT_REGEXP

+
+public static final boolean DEFAULT_REGEXP
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DEFAULT_TITLE_FONT_NAME

+
+public static final int DEFAULT_TITLE_FONT_NAME
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DEFAULT_TITLE_FONT_SIZE

+
+public static final int DEFAULT_TITLE_FONT_SIZE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DEFAULT_TITLE_FONT_STYLE

+
+public static final int DEFAULT_TITLE_FONT_STYLE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DEFAULT_STROKE_WIDTH_LIST

+
+public static final int DEFAULT_STROKE_WIDTH_LIST
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DEFAULT_LINE_SHAPE_POINT

+
+public static final int DEFAULT_LINE_SHAPE_POINT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DEFAULT_DYNAMIC_GRAPH_SIZE

+
+public static final boolean DEFAULT_DYNAMIC_GRAPH_SIZE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DEFAULT_XAXIS_TIME_FORMAT

+
+public static final String DEFAULT_XAXIS_TIME_FORMAT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DEFAULT_NUMBER_SHOW_GROUPING

+
+public static final boolean DEFAULT_NUMBER_SHOW_GROUPING
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DEFAULT_LEGEND_PLACEMENT

+
+public static final int DEFAULT_LEGEND_PLACEMENT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DEFAULT_LEGEND_FONT

+
+public static final int DEFAULT_LEGEND_FONT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DEFAULT_LEGEND_SIZE

+
+public static final int DEFAULT_LEGEND_SIZE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DEFAULT_LEGEND_STYLE

+
+public static final int DEFAULT_LEGEND_STYLE
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+RespTimeGraphVisualizer

+
+public RespTimeGraphVisualizer()
+
+
+ + + + + + + + +
+Method Detail
+ +

+add

+
+public void add(SampleResult sampleResult)
+
+
Description copied from interface: Visualizer
+
This method is called by sampling thread to inform the visualizer about + the arrival of a new sample. +

+

+
Specified by:
add in interface Visualizer
+
+
+
Parameters:
sampleResult - the newly arrived sample
+
+
+
+ +

+makeGraph

+
+public void makeGraph()
+
+
+
+
+
+
+
+
+
+ +

+getData

+
+public double[][] getData()
+
+
Generate the data for the jChart API +

+

+
+
+
+ +
Returns:
array of array of data to draw
+
+
+
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+
Specified by:
getLabelResource in interface JMeterGUIComponent
+
+
+ +
Returns:
the resource name
+
+
+
+ +

+clearData

+
+public void clearData()
+
+
Description copied from interface: Clearable
+
Clears the current data of the object. +

+

+
Specified by:
clearData in interface Clearable
+
+
+
+
+
+
+ +

+actionPerformed

+
+public void actionPerformed(ActionEvent event)
+
+
+
Specified by:
actionPerformed in interface ActionListener
+
+
+
+
+
+
+ +

+getPrintableComponent

+
+public JComponent getPrintableComponent()
+
+
Description copied from class: AbstractJMeterGuiComponent
+
Subclasses need to over-ride this method, if they wish to return + something other than the Visualizer itself. +

+

+
Specified by:
getPrintableComponent in interface Printable
Overrides:
getPrintableComponent in class AbstractJMeterGuiComponent
+
+
+ +
Returns:
this object
+
+
+
+ +

+configure

+
+public void configure(TestElement te)
+
+
Description copied from class: AbstractJMeterGuiComponent
+
A newly created gui component can be initialized with the contents of a + Test Element object by calling this method. The component is responsible + for querying the Test Element object for the relevant information to + display in its GUI. +

+ AbstractJMeterGuiComponent provides a partial implementation of this + method, setting the name of the component and its enabled status. + Subclasses should override this method, performing their own + configuration as needed, but also calling this super-implementation. +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class AbstractVisualizer
+
+
+
Parameters:
te - the TestElement to configure
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement te)
+
+
Description copied from interface: JMeterGUIComponent
+
GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components. This method should + overwrite whatever data is currently in the TestElement as it is called + after a user has filled out the form elements in the gui with new + information. +

+

+
Specified by:
modifyTestElement in interface JMeterGUIComponent
Overrides:
modifyTestElement in class AbstractVisualizer
+
+
+
Parameters:
te - the TestElement to modify
+
+
+
+ +

+clearGui

+
+public void clearGui()
+
+
Implements JMeterGUIComponent.clearGui +

+

+
Specified by:
clearGui in interface ClearGui
Overrides:
clearGui in class AbstractVisualizer
+
+
+
+
+
+
+ +

+getXAxisLabels

+
+public String[] getXAxisLabels()
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/ResultRenderer.html b/docs/api/org/apache/jmeter/visualizers/ResultRenderer.html new file mode 100644 index 00000000000..d2bca533c76 --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/ResultRenderer.html @@ -0,0 +1,384 @@ + + + + + +ResultRenderer (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers +
+Interface ResultRenderer

+
+
All Known Implementing Classes:
RenderAsCssJQuery, RenderAsDocument, RenderAsHTML, RenderAsHTMLWithEmbedded, RenderAsJSON, RenderAsRegexp, RenderAsText, RenderAsXML, RenderAsXPath, SamplerResultTab
+
+
+
+
public interface ResultRenderer
+ + +

+Interface to results render +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclearData() + +
+           
+ voidinit() + +
+           
+ voidrenderImage(SampleResult sampleResult) + +
+           
+ voidrenderResult(SampleResult sampleResult) + +
+           
+ voidsetBackgroundColor(Color backGround) + +
+           
+ voidsetLastSelectedTab(int index) + +
+           
+ voidsetRightSide(JTabbedPane rightSide) + +
+           
+ voidsetSamplerResult(Object userObject) + +
+           
+ voidsetupTabPane() + +
+           
+ StringtoString() + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+clearData

+
+void clearData()
+
+
+
+
+
+
+ +

+init

+
+void init()
+
+
+
+
+
+
+ +

+setupTabPane

+
+void setupTabPane()
+
+
+
+
+
+
+ +

+setLastSelectedTab

+
+void setLastSelectedTab(int index)
+
+
+
+
+
+
+ +

+setRightSide

+
+void setRightSide(JTabbedPane rightSide)
+
+
+
+
+
+
+ +

+setSamplerResult

+
+void setSamplerResult(Object userObject)
+
+
+
+
+
+
+ +

+renderResult

+
+void renderResult(SampleResult sampleResult)
+
+
+
+
+
+
+ +

+renderImage

+
+void renderImage(SampleResult sampleResult)
+
+
+
+
+
+
+ +

+toString

+
+String toString()
+
+
+
Overrides:
toString in class Object
+
+
+ +
Returns:
the string to be displayed by the ComboBox
+
+
+
+ +

+setBackgroundColor

+
+void setBackgroundColor(Color backGround)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/RunningSample.html b/docs/api/org/apache/jmeter/visualizers/RunningSample.html new file mode 100644 index 00000000000..0620e764b8d --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/RunningSample.html @@ -0,0 +1,664 @@ + + + + + +RunningSample (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers +
+Class RunningSample

+
+java.lang.Object
+  extended by org.apache.jmeter.visualizers.RunningSample
+
+
+
+
public class RunningSample
extends Object
+ + +

+

+ Running sample data container. Just instantiate a new instance of this + class, and then call addSample(SampleResult) a few times, and pull + the stats out with whatever methods you prefer. +

+

+ Please note that this class is not thread-safe. + The calling class is responsible for ensuring thread safety if required. + Versions prior to 2.3.2 appeared to be thread-safe but weren't as label and index were not final. + Also the caller needs to synchronize access in order to ensure that variables are consistent. +

+

+ +

+


+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
RunningSample(RunningSample src) + +
+          Copy constructor to create a duplicate of existing instance (without the + disadvantages of clone()
RunningSample(String label, + int index) + +
+          Use this constructor to create the initial instance
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddSample(RunningSample rs) + +
+          Adds another RunningSample to this one.
+ voidaddSample(SampleResult res) + +
+          Records a sample.
+ voidclear() + +
+          Clear the counters (useful for differential stats)
+ longgetAverage() + +
+          Returns the average time in milliseconds that samples ran in.
+ longgetElapsed() + +
+          Get the elapsed time for the samples
+ longgetErrorCount() + +
+           
+ doublegetErrorPercentage() + +
+          Returns the raw double value of the percentage of samples with errors + that were recorded.
+ StringgetErrorPercentageString() + +
+          Returns a String which represents the percentage of sample errors that + have occurred. ("0.00%" through "100.00%")
+ intgetIndex() + +
+           
+ StringgetLabel() + +
+           
+ longgetMax() + +
+          Returns the time in milliseconds of the slowest sample.
+ longgetMin() + +
+          Returns the time in milliseconds of the quickest sample.
+ longgetNumSamples() + +
+          Returns the number of samples that have been recorded by this instance of + the RunningSample class.
+ doublegetRate() + +
+          Returns the throughput associated to this sampler in requests per second.
+ doublegetRatePerMin() + +
+          Returns the throughput associated to this sampler in requests per min.
+ StringgetRateString() + +
+          Returns a String that represents the throughput associated for this + sampler, in units appropriate to its dimension: + + The number is represented in requests/second or requests/minute or + requests/hour.
+ StringtoString() + +
+          For debugging purposes, mainly.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+RunningSample

+
+public RunningSample(String label,
+                     int index)
+
+
Use this constructor to create the initial instance +

+

+
Parameters:
label - the label for this component
index - the index of this component
+
+
+ +

+RunningSample

+
+public RunningSample(RunningSample src)
+
+
Copy constructor to create a duplicate of existing instance (without the + disadvantages of clone() +

+

+
Parameters:
src - existing RunningSample to be copied
+
+ + + + + + + + +
+Method Detail
+ +

+clear

+
+public void clear()
+
+
Clear the counters (useful for differential stats) +

+

+
+
+
+
+ +

+getElapsed

+
+public long getElapsed()
+
+
Get the elapsed time for the samples +

+

+ +
Returns:
how long the samples took
+
+
+
+ +

+getRate

+
+public double getRate()
+
+
Returns the throughput associated to this sampler in requests per second. + May be slightly skewed because it takes the timestamps of the first and + last samples as the total time passed, and the test may actually have + started before that start time and ended after that end time. +

+

+ +
Returns:
throughput associated with this sampler per second
+
+
+
+ +

+getRatePerMin

+
+public double getRatePerMin()
+
+
Returns the throughput associated to this sampler in requests per min. + May be slightly skewed because it takes the timestamps of the first and + last samples as the total time passed, and the test may actually have + started before that start time and ended after that end time. +

+

+ +
Returns:
throughput associated with this sampler per minute
+
+
+
+ +

+getRateString

+
+public String getRateString()
+
+
Returns a String that represents the throughput associated for this + sampler, in units appropriate to its dimension: +

+ The number is represented in requests/second or requests/minute or + requests/hour. +

+ Examples: "34.2/sec" "0.1/sec" "43.0/hour" "15.9/min" +

+

+ +
Returns:
a String representation of the rate the samples are being taken + at.
+
+
+
+ +

+getLabel

+
+public String getLabel()
+
+
+ +
Returns:
the label for this component
+
+
+
+ +

+getIndex

+
+public int getIndex()
+
+
+ +
Returns:
the index of this component
+
+
+
+ +

+addSample

+
+public void addSample(SampleResult res)
+
+
Records a sample. +

+

+
Parameters:
res - sample to record
+
+
+
+ +

+addSample

+
+public void addSample(RunningSample rs)
+
+
Adds another RunningSample to this one. + Does not check if it has the same label and index. +

+

+
Parameters:
rs - sample to add
+
+
+
+ +

+getMin

+
+public long getMin()
+
+
Returns the time in milliseconds of the quickest sample. +

+

+ +
Returns:
the time in milliseconds of the quickest sample.
+
+
+
+ +

+getMax

+
+public long getMax()
+
+
Returns the time in milliseconds of the slowest sample. +

+

+ +
Returns:
the time in milliseconds of the slowest sample.
+
+
+
+ +

+getAverage

+
+public long getAverage()
+
+
Returns the average time in milliseconds that samples ran in. +

+

+ +
Returns:
the average time in milliseconds that samples ran in.
+
+
+
+ +

+getNumSamples

+
+public long getNumSamples()
+
+
Returns the number of samples that have been recorded by this instance of + the RunningSample class. +

+

+ +
Returns:
the number of samples that have been recorded by this instance of + the RunningSample class.
+
+
+
+ +

+getErrorPercentage

+
+public double getErrorPercentage()
+
+
Returns the raw double value of the percentage of samples with errors + that were recorded. (Between 0.0 and 1.0) If you want a nicer return + format, see getErrorPercentageString(). +

+

+ +
Returns:
the raw double value of the percentage of samples with errors + that were recorded.
+
+
+
+ +

+getErrorPercentageString

+
+public String getErrorPercentageString()
+
+
Returns a String which represents the percentage of sample errors that + have occurred. ("0.00%" through "100.00%") +

+

+ +
Returns:
a String which represents the percentage of sample errors that + have occurred.
+
+
+
+ +

+toString

+
+public String toString()
+
+
For debugging purposes, mainly. +

+

+
Overrides:
toString in class Object
+
+
+
+
+
+
+ +

+getErrorCount

+
+public long getErrorCount()
+
+
+ +
Returns:
errorCount
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/Sample.html b/docs/api/org/apache/jmeter/visualizers/Sample.html new file mode 100644 index 00000000000..1c814100119 --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/Sample.html @@ -0,0 +1,719 @@ + + + + + +Sample (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers +
+Class Sample

+
+java.lang.Object
+  extended by org.apache.jmeter.visualizers.Sample
+
+
+
All Implemented Interfaces:
Serializable, Comparable<Sample>
+
+
+
+
public class Sample
extends Object
implements Serializable, Comparable<Sample>
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + +
+Constructor Summary
Sample() + +
+           
Sample(String name, + long data, + long average, + long deviation, + long median, + long distributionLine, + double throughput, + long errorCount, + boolean success, + long num, + long endTime) + +
+           
Sample(String name, + long data, + long average, + long deviation, + long median, + long distributionLine, + double throughput, + long errorCount, + boolean success, + long num, + long endTime, + int bytes, + String threadName) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ intcompareTo(Sample o) + +
+          
+ booleanequals(Object o) + +
+           
+ longgetAverage() + +
+           
+ intgetBytes() + +
+           
+ longgetCount() + +
+           
+ longgetData() + +
+           
+ longgetDeviation() + +
+           
+ longgetDistributionLine() + +
+           
+ longgetEndTime() + +
+           
+ longgetErrorCount() + +
+           
+ StringgetLabel() + +
+           
+ longgetMedian() + +
+           
+ longgetStartTime() + +
+           
+ StringgetStartTimeFormatted(Format format) + +
+           
+ StringgetThreadName() + +
+           
+ doublegetThroughput() + +
+           
+ inthashCode() + +
+           
+ booleanisSuccess() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Sample

+
+public Sample(String name,
+              long data,
+              long average,
+              long deviation,
+              long median,
+              long distributionLine,
+              double throughput,
+              long errorCount,
+              boolean success,
+              long num,
+              long endTime)
+
+
+
+ +

+Sample

+
+public Sample(String name,
+              long data,
+              long average,
+              long deviation,
+              long median,
+              long distributionLine,
+              double throughput,
+              long errorCount,
+              boolean success,
+              long num,
+              long endTime,
+              int bytes,
+              String threadName)
+
+
+
+ +

+Sample

+
+public Sample()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getBytes

+
+public int getBytes()
+
+
+
+
+
+
+
+
+
+ +

+getAverage

+
+public long getAverage()
+
+
+
+
+
+ +
Returns:
Returns the average.
+
+
+
+ +

+getCount

+
+public long getCount()
+
+
+
+
+
+ +
Returns:
Returns the count.
+
+
+
+ +

+getData

+
+public long getData()
+
+
+
+
+
+ +
Returns:
Returns the data (usually elapsed time)
+
+
+
+ +

+getDeviation

+
+public long getDeviation()
+
+
+
+
+
+ +
Returns:
Returns the deviation.
+
+
+
+ +

+getDistributionLine

+
+public long getDistributionLine()
+
+
+
+
+
+ +
Returns:
Returns the distributionLine.
+
+
+
+ +

+isSuccess

+
+public boolean isSuccess()
+
+
+
+
+
+ +
Returns:
Returns the error.
+
+
+
+ +

+getErrorCount

+
+public long getErrorCount()
+
+
+
+
+
+ +
Returns:
Returns the errorCount.
+
+
+
+ +

+getLabel

+
+public String getLabel()
+
+
+
+
+
+ +
Returns:
Returns the label.
+
+
+
+ +

+getThreadName

+
+public String getThreadName()
+
+
+
+
+
+ +
Returns:
Returns the threadName.
+
+
+
+ +

+getMedian

+
+public long getMedian()
+
+
+
+
+
+ +
Returns:
Returns the median.
+
+
+
+ +

+getThroughput

+
+public double getThroughput()
+
+
+
+
+
+ +
Returns:
Returns the throughput.
+
+
+
+ +

+compareTo

+
+public int compareTo(Sample o)
+
+
+

+

+
Specified by:
compareTo in interface Comparable<Sample>
+
+
+
+
+
+
+ +

+equals

+
+public boolean equals(Object o)
+
+
+
Overrides:
equals in class Object
+
+
+
+
+
+
+ +

+hashCode

+
+public int hashCode()
+
+
+
Overrides:
hashCode in class Object
+
+
+
+
+
+
+ +

+getEndTime

+
+public long getEndTime()
+
+
+
+
+
+ +
Returns:
Returns the endTime.
+
+
+
+ +

+getStartTime

+
+public long getStartTime()
+
+
+
+
+
+ +
Returns:
Returns the (calculated) startTime, assuming Data is the elapsed time.
+
+
+
+ +

+getStartTimeFormatted

+
+public String getStartTimeFormatted(Format format)
+
+
+
+
+
+
Parameters:
format - the format of the time to be used +
Returns:
the start time using the specified format + Intended for use from Functors
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/SamplerResultTab.RowResult.html b/docs/api/org/apache/jmeter/visualizers/SamplerResultTab.RowResult.html new file mode 100644 index 00000000000..4b1b6611418 --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/SamplerResultTab.RowResult.html @@ -0,0 +1,316 @@ + + + + + +SamplerResultTab.RowResult (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers +
+Class SamplerResultTab.RowResult

+
+java.lang.Object
+  extended by org.apache.jmeter.visualizers.SamplerResultTab.RowResult
+
+
+
Enclosing class:
SamplerResultTab
+
+
+
+
public static class SamplerResultTab.RowResult
extends Object
+ + +

+For model table +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
SamplerResultTab.RowResult(String key, + Object value) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetKey() + +
+           
+ ObjectgetValue() + +
+           
+ voidsetKey(String key) + +
+           
+ voidsetValue(Object value) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SamplerResultTab.RowResult

+
+public SamplerResultTab.RowResult(String key,
+                                  Object value)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getKey

+
+public String getKey()
+
+
+ +
Returns:
the key
+
+
+
+ +

+setKey

+
+public void setKey(String key)
+
+
+
Parameters:
key - the key to set
+
+
+
+ +

+getValue

+
+public Object getValue()
+
+
+ +
Returns:
the value
+
+
+
+ +

+setValue

+
+public void setValue(Object value)
+
+
+
Parameters:
value - the value to set
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/SamplerResultTab.html b/docs/api/org/apache/jmeter/visualizers/SamplerResultTab.html new file mode 100644 index 00000000000..cb4d77213ea --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/SamplerResultTab.html @@ -0,0 +1,645 @@ + + + + + +SamplerResultTab (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers +
+Class SamplerResultTab

+
+java.lang.Object
+  extended by org.apache.jmeter.visualizers.SamplerResultTab
+
+
+
All Implemented Interfaces:
ResultRenderer
+
+
+
Direct Known Subclasses:
RenderAsDocument, RenderAsHTML, RenderAsJSON, RenderAsText, RenderAsXML
+
+
+
+
public abstract class SamplerResultTab
extends Object
implements ResultRenderer
+ + +

+Right side in View Results Tree +

+ +

+


+ +

+ + + + + + + + + + + +
+Nested Class Summary
+static classSamplerResultTab.RowResult + +
+          For model table
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+protected  booleanactivateSearchExtension + +
+           
+static ColorCLIENT_ERROR_COLOR + +
+           
+static ColorREDIRECT_COLOR + +
+           
+protected static StringREQUEST_VIEW_COMMAND + +
+           
+protected  JEditorPaneresults + +
+          Contains results; contained in resultsPane
+protected  JScrollPaneresultsScrollPane + +
+          Response Data pane
+protected  JTabbedPanerightSide + +
+          request pane content
+protected  SearchTextExtensionsearchTextExtension + +
+           
+static ColorSERVER_ERROR_COLOR + +
+           
+protected static StringTEXT_COMMAND + +
+           
+  + + + + + + + + + + +
+Constructor Summary
SamplerResultTab() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclearData() + +
+           
+ voidinit() + +
+           
+ voidrenderImage(SampleResult sampleResult) + +
+           
+ voidsetBackgroundColor(Color backGround) + +
+           
+ voidsetLastSelectedTab(int index) + +
+           
+ voidsetRightSide(JTabbedPane side) + +
+           
+ voidsetSamplerResult(Object sample) + +
+           
+ voidsetupTabPane() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.visualizers.ResultRenderer
renderResult, toString
+  +

+ + + + + + + + +
+Field Detail
+ +

+SERVER_ERROR_COLOR

+
+public static final Color SERVER_ERROR_COLOR
+
+
+
+
+
+ +

+CLIENT_ERROR_COLOR

+
+public static final Color CLIENT_ERROR_COLOR
+
+
+
+
+
+ +

+REDIRECT_COLOR

+
+public static final Color REDIRECT_COLOR
+
+
+
+
+
+ +

+TEXT_COMMAND

+
+protected static final String TEXT_COMMAND
+
+
+
See Also:
Constant Field Values
+
+
+ +

+REQUEST_VIEW_COMMAND

+
+protected static final String REQUEST_VIEW_COMMAND
+
+
+
See Also:
Constant Field Values
+
+
+ +

+resultsScrollPane

+
+protected JScrollPane resultsScrollPane
+
+
Response Data pane +

+

+
+
+
+ +

+results

+
+protected JEditorPane results
+
+
Contains results; contained in resultsPane +

+

+
+
+
+ +

+rightSide

+
+protected JTabbedPane rightSide
+
+
request pane content +

+

+
+
+
+ +

+searchTextExtension

+
+protected SearchTextExtension searchTextExtension
+
+
+
+
+
+ +

+activateSearchExtension

+
+protected boolean activateSearchExtension
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+SamplerResultTab

+
+public SamplerResultTab()
+
+
+ + + + + + + + +
+Method Detail
+ +

+clearData

+
+public void clearData()
+
+
+
Specified by:
clearData in interface ResultRenderer
+
+
+
+
+
+
+ +

+init

+
+public void init()
+
+
+
Specified by:
init in interface ResultRenderer
+
+
+
+
+
+
+ +

+setupTabPane

+
+public void setupTabPane()
+
+
+
Specified by:
setupTabPane in interface ResultRenderer
+
+
+
+
+
+
+ +

+setSamplerResult

+
+public void setSamplerResult(Object sample)
+
+
+
Specified by:
setSamplerResult in interface ResultRenderer
+
+
+
+
+
+
+ +

+setRightSide

+
+public void setRightSide(JTabbedPane side)
+
+
+
Specified by:
setRightSide in interface ResultRenderer
+
+
+
+
+
+
+ +

+setLastSelectedTab

+
+public void setLastSelectedTab(int index)
+
+
+
Specified by:
setLastSelectedTab in interface ResultRenderer
+
+
+
+
+
+
+ +

+renderImage

+
+public void renderImage(SampleResult sampleResult)
+
+
+
Specified by:
renderImage in interface ResultRenderer
+
+
+
+
+
+
+ +

+setBackgroundColor

+
+public void setBackgroundColor(Color backGround)
+
+
+
Specified by:
setBackgroundColor in interface ResultRenderer
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/SamplingStatCalculator.html b/docs/api/org/apache/jmeter/visualizers/SamplingStatCalculator.html new file mode 100644 index 00000000000..6efe3c50c6e --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/SamplingStatCalculator.html @@ -0,0 +1,728 @@ + + + + + +SamplingStatCalculator (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers +
+Class SamplingStatCalculator

+
+java.lang.Object
+  extended by org.apache.jmeter.visualizers.SamplingStatCalculator
+
+
+
Direct Known Subclasses:
CachingStatCalculator
+
+
+
+
public class SamplingStatCalculator
extends Object
+ + +

+Aggregate sample data container. Just instantiate a new instance of this + class, and then call addSample(SampleResult) a few times, and pull + the stats out with whatever methods you prefer. +

+ +

+


+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
SamplingStatCalculator() + +
+           
SamplingStatCalculator(String label) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ SampleaddSample(SampleResult res) + +
+          Records a sample.
+ voidclear() + +
+          Clear the counters (useful for differential stats)
+ doublegetAvgPageBytes() + +
+          calculates the average page size, which means divide the bytes by number + of samples.
+ doublegetBytesPerSecond() + +
+          Throughput in bytes / second
+ longgetCount() + +
+           
+ SamplegetCurrentSample() + +
+           
+ Map<Number,Number[]>getDistribution() + +
+           
+ longgetElapsed() + +
+          Get the elapsed time for the samples
+ longgetErrorCount() + +
+           
+ doublegetErrorPercentage() + +
+          Returns the raw double value of the percentage of samples with errors + that were recorded.
+ doublegetKBPerSecond() + +
+          Throughput in kilobytes / second
+ StringgetLabel() + +
+           
+ NumbergetMax() + +
+           
+ doublegetMaxThroughput() + +
+           
+ doublegetMean() + +
+           
+ NumbergetMeanAsNumber() + +
+           
+ NumbergetMedian() + +
+           
+ NumbergetMin() + +
+           
+ NumbergetPercentPoint(double percent) + +
+           
+ NumbergetPercentPoint(float percent) + +
+           
+ doublegetRate() + +
+          Returns the throughput associated to this sampler in requests per second.
+ doublegetStandardDeviation() + +
+           
+ StringtoString() + +
+          For debugging purposes, only.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SamplingStatCalculator

+
+public SamplingStatCalculator()
+
+
+
+ +

+SamplingStatCalculator

+
+public SamplingStatCalculator(String label)
+
+
+ + + + + + + + +
+Method Detail
+ +

+clear

+
+public void clear()
+
+
Clear the counters (useful for differential stats) +

+

+
+
+
+
+ +

+getCurrentSample

+
+public Sample getCurrentSample()
+
+
+
+
+
+
+ +

+getElapsed

+
+public long getElapsed()
+
+
Get the elapsed time for the samples +

+

+ +
Returns:
how long the samples took
+
+
+
+ +

+getRate

+
+public double getRate()
+
+
Returns the throughput associated to this sampler in requests per second. + May be slightly skewed because it takes the timestamps of the first and + last samples as the total time passed, and the test may actually have + started before that start time and ended after that end time. +

+

+ +
Returns:
throughput associated with this sampler per second
+
+
+
+ +

+getBytesPerSecond

+
+public double getBytesPerSecond()
+
+
Throughput in bytes / second +

+

+ +
Returns:
throughput in bytes/second
+
+
+
+ +

+getKBPerSecond

+
+public double getKBPerSecond()
+
+
Throughput in kilobytes / second +

+

+ +
Returns:
Throughput in kilobytes / second
+
+
+
+ +

+getAvgPageBytes

+
+public double getAvgPageBytes()
+
+
calculates the average page size, which means divide the bytes by number + of samples. +

+

+ +
Returns:
average page size in bytes (0 if sample count is zero)
+
+
+
+ +

+getLabel

+
+public String getLabel()
+
+
+ +
Returns:
the label of this component
+
+
+
+ +

+addSample

+
+public Sample addSample(SampleResult res)
+
+
Records a sample. +

+

+
Parameters:
res - the sample to record +
Returns:
newly created sample with current statistics
+
+
+
+ +

+getErrorPercentage

+
+public double getErrorPercentage()
+
+
Returns the raw double value of the percentage of samples with errors + that were recorded. (Between 0.0 and 1.0) +

+

+ +
Returns:
the raw double value of the percentage of samples with errors + that were recorded.
+
+
+
+ +

+toString

+
+public String toString()
+
+
For debugging purposes, only. +

+

+
Overrides:
toString in class Object
+
+
+
+
+
+
+ +

+getErrorCount

+
+public long getErrorCount()
+
+
+ +
Returns:
errorCount
+
+
+
+ +

+getMaxThroughput

+
+public double getMaxThroughput()
+
+
+ +
Returns:
Returns the maxThroughput.
+
+
+
+ +

+getDistribution

+
+public Map<Number,Number[]> getDistribution()
+
+
+
+
+
+
+ +

+getPercentPoint

+
+public Number getPercentPoint(double percent)
+
+
+
+
+
+
+ +

+getCount

+
+public long getCount()
+
+
+
+
+
+
+ +

+getMax

+
+public Number getMax()
+
+
+
+
+
+
+ +

+getMean

+
+public double getMean()
+
+
+
+
+
+
+ +

+getMeanAsNumber

+
+public Number getMeanAsNumber()
+
+
+
+
+
+
+ +

+getMedian

+
+public Number getMedian()
+
+
+
+
+
+
+ +

+getMin

+
+public Number getMin()
+
+
+
+
+
+
+ +

+getPercentPoint

+
+public Number getPercentPoint(float percent)
+
+
+
+
+
+
+ +

+getStandardDeviation

+
+public double getStandardDeviation()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/SearchTextExtension.html b/docs/api/org/apache/jmeter/visualizers/SearchTextExtension.html new file mode 100644 index 00000000000..329261b6501 --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/SearchTextExtension.html @@ -0,0 +1,367 @@ + + + + + +SearchTextExtension (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers +
+Class SearchTextExtension

+
+java.lang.Object
+  extended by org.apache.jmeter.visualizers.SearchTextExtension
+
+
+
All Implemented Interfaces:
ActionListener, EventListener, DocumentListener
+
+
+
+
public class SearchTextExtension
extends Object
implements ActionListener, DocumentListener
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
SearchTextExtension() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidactionPerformed(ActionEvent e) + +
+          Display the response as text or as rendered HTML.
+ voidchangedUpdate(DocumentEvent e) + +
+           
+ voidinit(JPanel resultsPane) + +
+           
+ voidinsertUpdate(DocumentEvent e) + +
+           
+ voidremoveUpdate(DocumentEvent e) + +
+           
+ voidsetResults(JEditorPane results) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SearchTextExtension

+
+public SearchTextExtension()
+
+
+ + + + + + + + +
+Method Detail
+ +

+init

+
+public void init(JPanel resultsPane)
+
+
+
+
+
+
+
+
+
+ +

+setResults

+
+public void setResults(JEditorPane results)
+
+
+
+
+
+
+
+
+
+ +

+actionPerformed

+
+public void actionPerformed(ActionEvent e)
+
+
Display the response as text or as rendered HTML. Change the text on the + button appropriate to the current display. +

+

+
Specified by:
actionPerformed in interface ActionListener
+
+
+
Parameters:
e - the ActionEvent being processed
+
+
+
+ +

+changedUpdate

+
+public void changedUpdate(DocumentEvent e)
+
+
+
Specified by:
changedUpdate in interface DocumentListener
+
+
+
+
+
+
+ +

+insertUpdate

+
+public void insertUpdate(DocumentEvent e)
+
+
+
Specified by:
insertUpdate in interface DocumentListener
+
+
+
+
+
+
+ +

+removeUpdate

+
+public void removeUpdate(DocumentEvent e)
+
+
+
Specified by:
removeUpdate in interface DocumentListener
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/ServerPanel.html b/docs/api/org/apache/jmeter/visualizers/ServerPanel.html new file mode 100644 index 00000000000..80a6590bfa6 --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/ServerPanel.html @@ -0,0 +1,436 @@ + + + + + +ServerPanel (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers +
+Class ServerPanel

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.visualizers.ServerPanel
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, MonitorGuiListener
+
+
+
+
public class ServerPanel
extends JPanel
implements MonitorGuiListener
+ + +

+The purpose of ServerPanel is to display an unique server and its current + status. The server label consist of the protocol, host and port. For example, + a system with multiple Tomcat's running on different ports would be different + ServerPanel. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + + + + +
+Constructor Summary
ServerPanel() + +
+          Deprecated. Only for use in unit testing
ServerPanel(MonitorModel model) + +
+          Creates a new server panel for a monitored server
+  + + + + + + + + + + + + + + + +
+Method Summary
+ voidupdateGui() + +
+          update the gui
+ voidupdateGui(MonitorModel stat) + +
+          Method will update the ServerPanel's health, load, and timestamp.
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ServerPanel

+
+public ServerPanel(MonitorModel model)
+
+
Creates a new server panel for a monitored server +

+

+
Parameters:
model - information about the monitored server
+
+
+ +

+ServerPanel

+
+@Deprecated
+public ServerPanel()
+
+
Deprecated. Only for use in unit testing +

+

+ + + + + + + + +
+Method Detail
+ +

+updateGui

+
+public void updateGui(MonitorModel stat)
+
+
Method will update the ServerPanel's health, load, and timestamp. For + efficiency, it uses the static method to lookup the images. +

+

+
Specified by:
updateGui in interface MonitorGuiListener
+
+
+
+
+
+
+ +

+updateGui

+
+public void updateGui()
+
+
update the gui +

+

+
Specified by:
updateGui in interface MonitorGuiListener
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/SimpleDataWriter.html b/docs/api/org/apache/jmeter/visualizers/SimpleDataWriter.html new file mode 100644 index 00000000000..20b2e76bd7c --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/SimpleDataWriter.html @@ -0,0 +1,486 @@ + + + + + +SimpleDataWriter (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers +
+Class SimpleDataWriter

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.visualizers.gui.AbstractListenerGui
+                          extended by org.apache.jmeter.visualizers.gui.AbstractVisualizer
+                              extended by org.apache.jmeter.visualizers.SimpleDataWriter
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, EventListener, Accessible, ChangeListener, ClearGui, JMeterGUIComponent, UnsharedComponent, Clearable, Printable, Visualizer
+
+
+
+
public class SimpleDataWriter
extends AbstractVisualizer
+ + +

+This listener can record results to a file but not to the UI. It is meant to + provide an efficient means of recording data by eliminating GUI overhead. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.visualizers.gui.AbstractVisualizer
collector, isStats
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
SimpleDataWriter() + +
+          Create the SimpleDataWriter.
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidadd(SampleResult sample) + +
+          Does nothing, but required by interface.
+ voidclearData() + +
+          Does nothing, but required by interface.
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.visualizers.gui.AbstractVisualizer
clearGui, configure, configureTestElement, createTestElement, getErrorLoggingCheckbox, getFile, getFilePanel, getModel, isStats, makeTitlePanel, modifyTestElement, setFile, setModel, stateChanged
+ + + + + + + +
Methods inherited from class org.apache.jmeter.visualizers.gui.AbstractListenerGui
createPopupMenu, getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SimpleDataWriter

+
+public SimpleDataWriter()
+
+
Create the SimpleDataWriter. +

+

+ + + + + + + + +
+Method Detail
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+ +
Returns:
the resource name
+
+
+
+ +

+clearData

+
+public void clearData()
+
+
Does nothing, but required by interface. +

+

+
+
+
+
+ +

+add

+
+public void add(SampleResult sample)
+
+
Does nothing, but required by interface. +

+

+
Parameters:
sample - ignored
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/Spline3.html b/docs/api/org/apache/jmeter/visualizers/Spline3.html new file mode 100644 index 00000000000..7d67e10f3e4 --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/Spline3.html @@ -0,0 +1,829 @@ + + + + + +Spline3 (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers +
+Class Spline3

+
+java.lang.Object
+  extended by org.apache.jmeter.visualizers.Spline3
+
+
+
+
public class Spline3
extends Object
+ + +

+This class implements the representation of an interpolated Spline curve. +

+ The curve described by such an object interpolates an arbitrary number of + fixed points called nodes. The distance between two nodes should + currently be constant. This is about to change in a later version but it can + last a while as it's not really needed. Nevertheless, if you need the + feature, just write me + a note and I'll write it asap. +

+ The interpolated Spline curve can't be described by an polynomial analytic + equation, the degree of which would be as high as the number of nodes, which + would cause extreme oscillations of the curve on the edges. +

+ The solution is to split the curve accross a lot of little intervals : + an interval starts at one node and ends at the next one. Then, the + interpolation is done on each interval, according to the following conditions : +

    +
  1. the interpolated curve is degree 3 : it's a cubic curve ; +
  2. the interpolated curve contains the two points delimiting the interval. + This condition obviously implies the curve is continuous ; +
  3. the interpolated curve has a smooth slope : the curvature has to be the + same on the left and the right sides of each node ; +
  4. the curvature of the global curve is 0 at both edges. +
+ Every part of the global curve is represented by a cubic (degree-3) + polynomial, the coefficients of which have to be computed in order to meet + the above conditions. +

+ This leads to a n-unknow n-equation system to resolve. One can resolve an + equation system by several manners ; this class uses the Jacobi iterative + method, particularly well adapted to this situation, as the diagonal of the + system matrix is strong compared to the other elements. This implies the + algorithm always converges ! This is not the case of the Gauss-Seidel + algorithm, which is quite faster (it uses intermediate results of each + iteration to speed up the convergence) but it doesn't converge in all the + cases or it converges to a wrong value. This is not acceptable and that's why + the Jacobi method is safer. Anyway, the gain of speed is about a factor of 3 + but, for a 100x100 system, it means 10 ms instead of 30 ms, which is a pretty + good reason not to explore the question any further :) +

+ Here is a little piece of code showing how to use this class : + +

+  // ...
+  float[] nodes = {3F, 2F, 4F, 1F, 2.5F, 5F, 3F};
+  Spline3 curve = new Spline3(nodes);
+  // ...
+  public void paint(Graphics g) {
+    int[] plot = curve.getPlots();
+    for (int i = 1; i < n; i++) {
+      g.drawLine(i - 1, plot[i - 1], i, plot[i]);
+    }
+  }
+  // ...
+ 
+

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+protected  float[][]_A + +
+           
+protected  float[]_B + +
+           
+protected  float[][]_coefficients + +
+           
+protected  int_m + +
+           
+protected  int_maxIterations + +
+           
+protected  float_minPrecision + +
+           
+protected  int_n + +
+           
+protected  float[]_r + +
+           
+protected  float[]_rS + +
+           
+protected static intDEFAULT_MAX_ITERATIONS + +
+           
+protected static floatDEFAULT_PRECISION + +
+           
+  + + + + + + + + + + +
+Constructor Summary
Spline3(float[] r) + +
+          Creates a new Spline curve by calculating the coefficients of each part + of the curve, i.e. by resolving the equation system implied by the + interpolation condition on every interval.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+protected  booleanconverge() + +
+          Test if the Jacobi resolution of the equation system converges.
+ voiddebugCheck() + +
+          Manual check of the curve at the interpolated points.
+ intgetDefaultMaxIterations() + +
+           
+ floatgetDefaultPrecision() + +
+           
+ intgetMaxIterations() + +
+           
+ int[]getPlots(int width, + int height) + +
+          Computes drawable plots from the curve for a given draw space.
+ floatgetPrecision() + +
+           
+protected  voidinterpolation() + +
+          Computes the coefficients of the Spline interpolated curve, on each + interval.
+protected  voidjacobi() + +
+          Resolves the equation system by a Jacobi algorithm.
+protected  floatprecision(float[] oldX, + float[] newX) + +
+          Computes the current precision reached.
+ voidsetMaxIterations(int iterations) + +
+           
+ voidsetPrecision(float precision) + +
+           
+ voidsetToDefaultMaxIterations() + +
+           
+ voidsetToDefaultPrecision() + +
+           
+ floatvalue(float t) + +
+          Computes a (vertical) Y-axis value of the global curve.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+_coefficients

+
+protected float[][] _coefficients
+
+
+
+
+
+ +

+_A

+
+protected float[][] _A
+
+
+
+
+
+ +

+_B

+
+protected float[] _B
+
+
+
+
+
+ +

+_r

+
+protected float[] _r
+
+
+
+
+
+ +

+_rS

+
+protected float[] _rS
+
+
+
+
+
+ +

+_m

+
+protected int _m
+
+
+
+
+
+ +

+_n

+
+protected int _n
+
+
+
+
+
+ +

+DEFAULT_PRECISION

+
+protected static final float DEFAULT_PRECISION
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DEFAULT_MAX_ITERATIONS

+
+protected static final int DEFAULT_MAX_ITERATIONS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+_minPrecision

+
+protected float _minPrecision
+
+
+
+
+
+ +

+_maxIterations

+
+protected int _maxIterations
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+Spline3

+
+public Spline3(float[] r)
+
+
Creates a new Spline curve by calculating the coefficients of each part + of the curve, i.e. by resolving the equation system implied by the + interpolation condition on every interval. +

+

+
Parameters:
r - an array of float containing the vertical coordinates of the + nodes to interpolate ; the vertical coordinates start at 0 and + are equidistant with a step of 1.
+
+ + + + + + + + +
+Method Detail
+ +

+interpolation

+
+protected void interpolation()
+
+
Computes the coefficients of the Spline interpolated curve, on each + interval. The matrix system to resolve is AX=B +

+

+
+
+
+
+ +

+jacobi

+
+protected void jacobi()
+
+
Resolves the equation system by a Jacobi algorithm. The use of the slower + Jacobi algorithm instead of Gauss-Seidel is choosen here because Jacobi + is assured of to be convergent for this particular equation system, as + the system matrix has a strong diagonal. +

+

+
+
+
+
+ +

+converge

+
+protected boolean converge()
+
+
Test if the Jacobi resolution of the equation system converges. It's OK + if A has a strong diagonal. +

+

+ +
Returns:
true if equation system converges
+
+
+
+ +

+precision

+
+protected float precision(float[] oldX,
+                          float[] newX)
+
+
Computes the current precision reached. +

+

+
Parameters:
oldX - old values
newX - new values +
Returns:
indicator of how different the old and new values are (always + zero or greater, the nearer to zero the more similar)
+
+
+
+ +

+value

+
+public float value(float t)
+
+
Computes a (vertical) Y-axis value of the global curve. +

+

+
Parameters:
t - abscissa +
Returns:
computed ordinate
+
+
+
+ +

+debugCheck

+
+public void debugCheck()
+
+
Manual check of the curve at the interpolated points. +

+

+
+
+
+
+ +

+getPlots

+
+public int[] getPlots(int width,
+                      int height)
+
+
Computes drawable plots from the curve for a given draw space. The values + returned are drawable vertically and from the bottom of a Panel. +

+

+
Parameters:
width - width within the plots have to be computed
height - height within the plots are expected to be drawed +
Returns:
drawable plots within the limits defined, in an array of int (as + many int as the value of the width parameter)
+
+
+
+ +

+setPrecision

+
+public void setPrecision(float precision)
+
+
+
+
+
+
+ +

+getPrecision

+
+public float getPrecision()
+
+
+
+
+
+
+ +

+setToDefaultPrecision

+
+public void setToDefaultPrecision()
+
+
+
+
+
+
+ +

+getDefaultPrecision

+
+public float getDefaultPrecision()
+
+
+
+
+
+
+ +

+setMaxIterations

+
+public void setMaxIterations(int iterations)
+
+
+
+
+
+
+ +

+getMaxIterations

+
+public int getMaxIterations()
+
+
+
+
+
+
+ +

+setToDefaultMaxIterations

+
+public void setToDefaultMaxIterations()
+
+
+
+
+
+
+ +

+getDefaultMaxIterations

+
+public int getDefaultMaxIterations()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/SplineModel.html b/docs/api/org/apache/jmeter/visualizers/SplineModel.html new file mode 100644 index 00000000000..c923ba6e24b --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/SplineModel.html @@ -0,0 +1,651 @@ + + + + + +SplineModel (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers +
+Class SplineModel

+
+java.lang.Object
+  extended by org.apache.jmeter.visualizers.SplineModel
+
+
+
All Implemented Interfaces:
Clearable
+
+
+
+
public class SplineModel
extends Object
implements Clearable
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static intDEFAULT_NUMBER_OF_NODES + +
+           
+static intDEFAULT_REFRESH_PERIOD + +
+           
+protected  intnumberOfNodes + +
+           
+protected  intrefreshPeriod + +
+           
+protected  booleanSHOW_INCOMING_SAMPLES + +
+           
+  + + + + + + + + + + +
+Constructor Summary
SplineModel() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidadd(SampleResult sampleResult) + +
+           
+ voidclearData() + +
+          Clears the current data of the object.
+ longgetAverage() + +
+           
+ longgetCurrent() + +
+           
+ Spline3getDataCurve() + +
+           
+ longgetMaximum() + +
+           
+ longgetMinimum() + +
+           
+ StringgetName() + +
+           
+ longgetNumberOfCollectedSamples() + +
+           
+ longgetSample(int i) + +
+           
+ booleanisEditable() + +
+           
+ voidsetListener(GraphListener vis) + +
+           
+ voidsetName(String newName) + +
+           
+ voiduncompile() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+DEFAULT_NUMBER_OF_NODES

+
+public static final int DEFAULT_NUMBER_OF_NODES
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DEFAULT_REFRESH_PERIOD

+
+public static final int DEFAULT_REFRESH_PERIOD
+
+
+
See Also:
Constant Field Values
+
+
+ +

+SHOW_INCOMING_SAMPLES

+
+protected final boolean SHOW_INCOMING_SAMPLES
+
+
+
See Also:
Constant Field Values
+
+
+ +

+numberOfNodes

+
+protected int numberOfNodes
+
+
+
+
+
+ +

+refreshPeriod

+
+protected int refreshPeriod
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+SplineModel

+
+public SplineModel()
+
+
+ + + + + + + + +
+Method Detail
+ +

+setListener

+
+public void setListener(GraphListener vis)
+
+
+
+
+
+
+
+
+
+ +

+setName

+
+public void setName(String newName)
+
+
+
+
+
+
+
+
+
+ +

+isEditable

+
+public boolean isEditable()
+
+
+
+
+
+
+
+
+
+ +

+getDataCurve

+
+public Spline3 getDataCurve()
+
+
+
+
+
+
+
+
+
+ +

+getMinimum

+
+public long getMinimum()
+
+
+
+
+
+
+
+
+
+ +

+getMaximum

+
+public long getMaximum()
+
+
+
+
+
+
+
+
+
+ +

+getAverage

+
+public long getAverage()
+
+
+
+
+
+
+
+
+
+ +

+getCurrent

+
+public long getCurrent()
+
+
+
+
+
+
+
+
+
+ +

+getSample

+
+public long getSample(int i)
+
+
+
+
+
+
+
+
+
+ +

+getNumberOfCollectedSamples

+
+public long getNumberOfCollectedSamples()
+
+
+
+
+
+
+
+
+
+ +

+getName

+
+public String getName()
+
+
+
+
+
+
+
+
+
+ +

+uncompile

+
+public void uncompile()
+
+
+
+
+
+
+
+
+
+ +

+clearData

+
+public void clearData()
+
+
Description copied from interface: Clearable
+
Clears the current data of the object. +

+

+
Specified by:
clearData in interface Clearable
+
+
+
+
+
+
+ +

+add

+
+public void add(SampleResult sampleResult)
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/SplineVisualizer.SplineGraph.html b/docs/api/org/apache/jmeter/visualizers/SplineVisualizer.SplineGraph.html new file mode 100644 index 00000000000..905f4240be6 --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/SplineVisualizer.SplineGraph.html @@ -0,0 +1,389 @@ + + + + + +SplineVisualizer.SplineGraph (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers +
+Class SplineVisualizer.SplineGraph

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by org.apache.jmeter.visualizers.SplineVisualizer.SplineGraph
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable
+
+
+
Enclosing class:
SplineVisualizer
+
+
+
+
public class SplineVisualizer.SplineGraph
extends JComponent
+ + +

+Component showing a Spline curve. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
SplineVisualizer.SplineGraph() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ voidclear() + +
+          Clear the Spline graph and get ready for the next wave.
+ voidpaintComponent(Graphics g) + +
+           
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getAccessibleContext, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getUIClassID, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintImmediately, paintImmediately, paramString, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update, updateUI
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SplineVisualizer.SplineGraph

+
+public SplineVisualizer.SplineGraph()
+
+
+ + + + + + + + +
+Method Detail
+ +

+clear

+
+public void clear()
+
+
Clear the Spline graph and get ready for the next wave. +

+

+
+
+
+
+ +

+paintComponent

+
+public void paintComponent(Graphics g)
+
+
+
Overrides:
paintComponent in class JComponent
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/SplineVisualizer.html b/docs/api/org/apache/jmeter/visualizers/SplineVisualizer.html new file mode 100644 index 00000000000..d75ac4cb01e --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/SplineVisualizer.html @@ -0,0 +1,751 @@ + + + + + +SplineVisualizer (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers +
+Class SplineVisualizer

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.visualizers.gui.AbstractListenerGui
+                          extended by org.apache.jmeter.visualizers.gui.AbstractVisualizer
+                              extended by org.apache.jmeter.visualizers.SplineVisualizer
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, EventListener, Accessible, ChangeListener, ClearGui, JMeterGUIComponent, UnsharedComponent, Clearable, GraphListener, ImageVisualizer, Printable, Visualizer
+
+
+
+
public class SplineVisualizer
extends AbstractVisualizer
implements ImageVisualizer, GraphListener
+ + +

+This class implements a statistical analyser that takes samples to process a + Spline interpolated curve. Currently, it tries to look mostly like the + GraphVisualizer. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Nested Class Summary
+ classSplineVisualizer.SplineGraph + +
+          Component showing a Spline curve.
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+protected  ColorAVERAGE_COLOR + +
+           
+protected  ColorBACKGROUND_COLOR + +
+           
+protected  booleanFILL_UP_WITH_ZEROS + +
+           
+protected  ColorINCOMING_COLOR + +
+           
+protected  ColorMAXIMUM_COLOR + +
+           
+protected  ColorMINIMUM_COLOR + +
+           
+protected  intNUMBERS_TO_DISPLAY + +
+           
+ + + + + + + +
Fields inherited from class org.apache.jmeter.visualizers.gui.AbstractVisualizer
collector, isStats
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
SplineVisualizer() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidadd(SampleResult res) + +
+          This method is called by sampling thread to inform the visualizer about + the arrival of a new sample.
+ voidclearData() + +
+          Clears the current data of the object.
+ JPanelgetControlPanel() + +
+           
+ ImagegetImage() + +
+           
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ StringtoString() + +
+           
+ voidupdateGui() + +
+           
+ voidupdateGui(Sample s) + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.visualizers.gui.AbstractVisualizer
clearGui, configure, configureTestElement, createTestElement, getErrorLoggingCheckbox, getFile, getFilePanel, getModel, isStats, makeTitlePanel, modifyTestElement, setFile, setModel, stateChanged
+ + + + + + + +
Methods inherited from class org.apache.jmeter.visualizers.gui.AbstractListenerGui
createPopupMenu, getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+BACKGROUND_COLOR

+
+protected final Color BACKGROUND_COLOR
+
+
+
+
+
+ +

+MINIMUM_COLOR

+
+protected final Color MINIMUM_COLOR
+
+
+
+
+
+ +

+MAXIMUM_COLOR

+
+protected final Color MAXIMUM_COLOR
+
+
+
+
+
+ +

+AVERAGE_COLOR

+
+protected final Color AVERAGE_COLOR
+
+
+
+
+
+ +

+INCOMING_COLOR

+
+protected final Color INCOMING_COLOR
+
+
+
+
+
+ +

+NUMBERS_TO_DISPLAY

+
+protected final int NUMBERS_TO_DISPLAY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+FILL_UP_WITH_ZEROS

+
+protected final boolean FILL_UP_WITH_ZEROS
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+SplineVisualizer

+
+public SplineVisualizer()
+
+
+ + + + + + + + +
+Method Detail
+ +

+add

+
+public void add(SampleResult res)
+
+
Description copied from interface: Visualizer
+
This method is called by sampling thread to inform the visualizer about + the arrival of a new sample. +

+

+
Specified by:
add in interface Visualizer
+
+
+
Parameters:
res - the newly arrived sample
+
+
+
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+
Specified by:
getLabelResource in interface JMeterGUIComponent
+
+
+ +
Returns:
the resource name
+
+
+
+ +

+updateGui

+
+public void updateGui(Sample s)
+
+
+
Specified by:
updateGui in interface GraphListener
+
+
+
+
+
+
+ +

+clearData

+
+public void clearData()
+
+
Description copied from interface: Clearable
+
Clears the current data of the object. +

+

+
Specified by:
clearData in interface Clearable
+
+
+
+
+
+
+ +

+updateGui

+
+public void updateGui()
+
+
+
Specified by:
updateGui in interface GraphListener
+
+
+
+
+
+
+ +

+toString

+
+public String toString()
+
+
+
Overrides:
toString in class Component
+
+
+
+
+
+
+ +

+getControlPanel

+
+public JPanel getControlPanel()
+
+
+
+
+
+
+
+
+
+ +

+getImage

+
+public Image getImage()
+
+
+
Specified by:
getImage in interface ImageVisualizer
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/StatGraphProperties.html b/docs/api/org/apache/jmeter/visualizers/StatGraphProperties.html new file mode 100644 index 00000000000..f48867fbcf1 --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/StatGraphProperties.html @@ -0,0 +1,359 @@ + + + + + +StatGraphProperties (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers +
+Class StatGraphProperties

+
+java.lang.Object
+  extended by org.apache.jmeter.visualizers.StatGraphProperties
+
+
+
+
public class StatGraphProperties
extends Object
+ + +

+


+ +

+ + + + + + + + + + + + + + + +
+Field Summary
+static String[]fontSize + +
+           
+static String[]strokeWidth + +
+           
+  + + + + + + + + + + +
+Constructor Summary
StatGraphProperties() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static Map<String,String>getFontNameMap() + +
+           
+static Map<String,Integer>getFontStyleMap() + +
+           
+static Map<String,Integer>getPlacementNameMap() + +
+           
+static Map<String,Shape>getPointShapeMap() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+fontSize

+
+public static final String[] fontSize
+
+
+
+
+
+ +

+strokeWidth

+
+public static final String[] strokeWidth
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+StatGraphProperties

+
+public StatGraphProperties()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getFontNameMap

+
+public static Map<String,String> getFontNameMap()
+
+
+
+
+
+
+ +

+getFontStyleMap

+
+public static Map<String,Integer> getFontStyleMap()
+
+
+
+
+
+
+ +

+getPlacementNameMap

+
+public static Map<String,Integer> getPlacementNameMap()
+
+
+
+
+
+
+ +

+getPointShapeMap

+
+public static Map<String,Shape> getPointShapeMap()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/StatGraphVisualizer.html b/docs/api/org/apache/jmeter/visualizers/StatGraphVisualizer.html new file mode 100644 index 00000000000..4a0195846ea --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/StatGraphVisualizer.html @@ -0,0 +1,667 @@ + + + + + +StatGraphVisualizer (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers +
+Class StatGraphVisualizer

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.visualizers.gui.AbstractListenerGui
+                          extended by org.apache.jmeter.visualizers.gui.AbstractVisualizer
+                              extended by org.apache.jmeter.visualizers.StatGraphVisualizer
+
+
+
All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, ChangeListener, ClearGui, JMeterGUIComponent, UnsharedComponent, Clearable, Printable, Visualizer
+
+
+
+
public class StatGraphVisualizer
extends AbstractVisualizer
implements Clearable, ActionListener
+ + +

+Aggregrate Table-Based Reporting Visualizer for JMeter. Props to the people + who've done the other visualizers ahead of me (Stefano Mazzocchi), who I + borrowed code from to start me off (and much code may still exist). Thank + you! +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.visualizers.gui.AbstractVisualizer
collector, isStats
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
StatGraphVisualizer() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidactionPerformed(ActionEvent event) + +
+           
+ voidadd(SampleResult res) + +
+          This method is called by sampling thread to inform the visualizer about + the arrival of a new sample.
+ voidclearData() + +
+          Clears this visualizer and its model, and forces a repaint of the table.
+static List<List<Object>>getAllTableData(ObjectTableModel model, + Format[] formats) + +
+          We use this method to get the data, since we are using + ObjectTableModel, so the calling getDataVector doesn't + work as expected.
+ String[]getAxisLabels() + +
+           
+ double[][]getData() + +
+           
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ JComponentgetPrintableComponent() + +
+          Subclasses need to over-ride this method, if they wish to return + something other than the Visualizer itself.
+ voidmakeGraph() + +
+           
+static booleantestFunctors() + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.visualizers.gui.AbstractVisualizer
clearGui, configure, configureTestElement, createTestElement, getErrorLoggingCheckbox, getFile, getFilePanel, getModel, isStats, makeTitlePanel, modifyTestElement, setFile, setModel, stateChanged
+ + + + + + + +
Methods inherited from class org.apache.jmeter.visualizers.gui.AbstractListenerGui
createPopupMenu, getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+StatGraphVisualizer

+
+public StatGraphVisualizer()
+
+
+ + + + + + + + +
+Method Detail
+ +

+testFunctors

+
+public static boolean testFunctors()
+
+
+
+
+
+
+
+
+
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+
Specified by:
getLabelResource in interface JMeterGUIComponent
+
+
+ +
Returns:
the resource name
+
+
+
+ +

+add

+
+public void add(SampleResult res)
+
+
Description copied from interface: Visualizer
+
This method is called by sampling thread to inform the visualizer about + the arrival of a new sample. +

+

+
Specified by:
add in interface Visualizer
+
+
+
Parameters:
res - the newly arrived sample
+
+
+
+ +

+clearData

+
+public void clearData()
+
+
Clears this visualizer and its model, and forces a repaint of the table. +

+

+
Specified by:
clearData in interface Clearable
+
+
+
+
+
+
+ +

+makeGraph

+
+public void makeGraph()
+
+
+
+
+
+
+
+
+
+ +

+getData

+
+public double[][] getData()
+
+
+
+
+
+
+
+
+
+ +

+getAxisLabels

+
+public String[] getAxisLabels()
+
+
+
+
+
+
+
+
+
+ +

+getAllTableData

+
+public static List<List<Object>> getAllTableData(ObjectTableModel model,
+                                                 Format[] formats)
+
+
We use this method to get the data, since we are using + ObjectTableModel, so the calling getDataVector doesn't + work as expected. +

+

+
+
+
+
Parameters:
model - ObjectTableModel
formats - Array of Format array can contain null formatters in this case value is added as is +
Returns:
the data from the model
+
+
+
+ +

+actionPerformed

+
+public void actionPerformed(ActionEvent event)
+
+
+
Specified by:
actionPerformed in interface ActionListener
+
+
+
+
+
+
+ +

+getPrintableComponent

+
+public JComponent getPrintableComponent()
+
+
Description copied from class: AbstractJMeterGuiComponent
+
Subclasses need to over-ride this method, if they wish to return + something other than the Visualizer itself. +

+

+
Specified by:
getPrintableComponent in interface Printable
Overrides:
getPrintableComponent in class AbstractJMeterGuiComponent
+
+
+ +
Returns:
this object
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/StatVisualizer.html b/docs/api/org/apache/jmeter/visualizers/StatVisualizer.html new file mode 100644 index 00000000000..a8691cb2cb1 --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/StatVisualizer.html @@ -0,0 +1,610 @@ + + + + + +StatVisualizer (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers +
+Class StatVisualizer

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.visualizers.gui.AbstractListenerGui
+                          extended by org.apache.jmeter.visualizers.gui.AbstractVisualizer
+                              extended by org.apache.jmeter.visualizers.StatVisualizer
+
+
+
All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, ChangeListener, ClearGui, JMeterGUIComponent, UnsharedComponent, Clearable, Printable, Visualizer
+
+
+
+
public class StatVisualizer
extends AbstractVisualizer
implements Clearable, ActionListener
+ + +

+Aggregrate Table-Based Reporting Visualizer for JMeter. Props to the people + who've done the other visualizers ahead of me (Stefano Mazzocchi), who I + borrowed code from to start me off (and much code may still exist). Thank + you! +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.visualizers.gui.AbstractVisualizer
collector, isStats
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
StatVisualizer() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidactionPerformed(ActionEvent ev) + +
+           
+ voidadd(SampleResult res) + +
+          This method is called by sampling thread to inform the visualizer about + the arrival of a new sample.
+ voidclearData() + +
+          Clears this visualizer and its model, and forces a repaint of the table.
+ voidconfigure(TestElement el) + +
+          A newly created gui component can be initialized with the contents of a + Test Element object by calling this method.
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ voidmodifyTestElement(TestElement c) + +
+          GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components.
+static booleantestFunctors() + +
+          Deprecated. - only for use in testing
+ + + + + + + +
Methods inherited from class org.apache.jmeter.visualizers.gui.AbstractVisualizer
clearGui, configureTestElement, createTestElement, getErrorLoggingCheckbox, getFile, getFilePanel, getModel, isStats, makeTitlePanel, setFile, setModel, stateChanged
+ + + + + + + +
Methods inherited from class org.apache.jmeter.visualizers.gui.AbstractListenerGui
createPopupMenu, getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+StatVisualizer

+
+public StatVisualizer()
+
+
+ + + + + + + + +
+Method Detail
+ +

+testFunctors

+
+@Deprecated
+public static boolean testFunctors()
+
+
Deprecated. - only for use in testing +

+

+
+
+
+ +
Returns:
true iff all functors can be found
+
+
+
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+
Specified by:
getLabelResource in interface JMeterGUIComponent
+
+
+ +
Returns:
the resource name
+
+
+
+ +

+add

+
+public void add(SampleResult res)
+
+
Description copied from interface: Visualizer
+
This method is called by sampling thread to inform the visualizer about + the arrival of a new sample. +

+

+
Specified by:
add in interface Visualizer
+
+
+
Parameters:
res - the newly arrived sample
+
+
+
+ +

+clearData

+
+public void clearData()
+
+
Clears this visualizer and its model, and forces a repaint of the table. +

+

+
Specified by:
clearData in interface Clearable
+
+
+
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement c)
+
+
Description copied from interface: JMeterGUIComponent
+
GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components. This method should + overwrite whatever data is currently in the TestElement as it is called + after a user has filled out the form elements in the gui with new + information. +

+

+
Specified by:
modifyTestElement in interface JMeterGUIComponent
Overrides:
modifyTestElement in class AbstractVisualizer
+
+
+
Parameters:
c - the TestElement to modify
+
+
+
+ +

+configure

+
+public void configure(TestElement el)
+
+
Description copied from class: AbstractJMeterGuiComponent
+
A newly created gui component can be initialized with the contents of a + Test Element object by calling this method. The component is responsible + for querying the Test Element object for the relevant information to + display in its GUI. +

+ AbstractJMeterGuiComponent provides a partial implementation of this + method, setting the name of the component and its enabled status. + Subclasses should override this method, performing their own + configuration as needed, but also calling this super-implementation. +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class AbstractVisualizer
+
+
+
Parameters:
el - the TestElement to configure
+
+
+
+ +

+actionPerformed

+
+public void actionPerformed(ActionEvent ev)
+
+
+
Specified by:
actionPerformed in interface ActionListener
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/SummaryReport.html b/docs/api/org/apache/jmeter/visualizers/SummaryReport.html new file mode 100644 index 00000000000..75bc0b90acf --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/SummaryReport.html @@ -0,0 +1,608 @@ + + + + + +SummaryReport (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers +
+Class SummaryReport

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.visualizers.gui.AbstractListenerGui
+                          extended by org.apache.jmeter.visualizers.gui.AbstractVisualizer
+                              extended by org.apache.jmeter.visualizers.SummaryReport
+
+
+
All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, ChangeListener, ClearGui, JMeterGUIComponent, UnsharedComponent, Clearable, Printable, Visualizer
+
+
+
+
public class SummaryReport
extends AbstractVisualizer
implements Clearable, ActionListener
+ + +

+Simpler (lower memory) version of Aggregate Report (StatVisualizer). + Excludes the Median and 90% columns, which are expensive in memory terms +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.visualizers.gui.AbstractVisualizer
collector, isStats
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
SummaryReport() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidactionPerformed(ActionEvent ev) + +
+           
+ voidadd(SampleResult res) + +
+          This method is called by sampling thread to inform the visualizer about + the arrival of a new sample.
+ voidclearData() + +
+          Clears this visualizer and its model, and forces a repaint of the table.
+ voidconfigure(TestElement el) + +
+          A newly created gui component can be initialized with the contents of a + Test Element object by calling this method.
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ voidmodifyTestElement(TestElement c) + +
+          GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components.
+static booleantestFunctors() + +
+          Deprecated. - only for use in testing
+ + + + + + + +
Methods inherited from class org.apache.jmeter.visualizers.gui.AbstractVisualizer
clearGui, configureTestElement, createTestElement, getErrorLoggingCheckbox, getFile, getFilePanel, getModel, isStats, makeTitlePanel, setFile, setModel, stateChanged
+ + + + + + + +
Methods inherited from class org.apache.jmeter.visualizers.gui.AbstractListenerGui
createPopupMenu, getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SummaryReport

+
+public SummaryReport()
+
+
+ + + + + + + + +
+Method Detail
+ +

+testFunctors

+
+@Deprecated
+public static boolean testFunctors()
+
+
Deprecated. - only for use in testing +

+

+
+
+
+ +
Returns:
true iff all functors can be found
+
+
+
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+
Specified by:
getLabelResource in interface JMeterGUIComponent
+
+
+ +
Returns:
the resource name
+
+
+
+ +

+add

+
+public void add(SampleResult res)
+
+
Description copied from interface: Visualizer
+
This method is called by sampling thread to inform the visualizer about + the arrival of a new sample. +

+

+
Specified by:
add in interface Visualizer
+
+
+
Parameters:
res - the newly arrived sample
+
+
+
+ +

+clearData

+
+public void clearData()
+
+
Clears this visualizer and its model, and forces a repaint of the table. +

+

+
Specified by:
clearData in interface Clearable
+
+
+
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement c)
+
+
Description copied from interface: JMeterGUIComponent
+
GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components. This method should + overwrite whatever data is currently in the TestElement as it is called + after a user has filled out the form elements in the gui with new + information. +

+

+
Specified by:
modifyTestElement in interface JMeterGUIComponent
Overrides:
modifyTestElement in class AbstractVisualizer
+
+
+
Parameters:
c - the TestElement to modify
+
+
+
+ +

+configure

+
+public void configure(TestElement el)
+
+
Description copied from class: AbstractJMeterGuiComponent
+
A newly created gui component can be initialized with the contents of a + Test Element object by calling this method. The component is responsible + for querying the Test Element object for the relevant information to + display in its GUI. +

+ AbstractJMeterGuiComponent provides a partial implementation of this + method, setting the name of the component and its enabled status. + Subclasses should override this method, performing their own + configuration as needed, but also calling this super-implementation. +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class AbstractVisualizer
+
+
+
Parameters:
el - the TestElement to configure
+
+
+
+ +

+actionPerformed

+
+public void actionPerformed(ActionEvent ev)
+
+
+
Specified by:
actionPerformed in interface ActionListener
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/TableSample.html b/docs/api/org/apache/jmeter/visualizers/TableSample.html new file mode 100644 index 00000000000..5df93264fed --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/TableSample.html @@ -0,0 +1,563 @@ + + + + + +TableSample (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers +
+Class TableSample

+
+java.lang.Object
+  extended by org.apache.jmeter.visualizers.TableSample
+
+
+
All Implemented Interfaces:
Serializable, Comparable<TableSample>
+
+
+
+
public class TableSample
extends Object
implements Serializable, Comparable<TableSample>
+ + +

+Class to hold data for the TableVisualiser. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
TableSample() + +
+          Deprecated. for unit test code only
TableSample(long totalSamples, + int sampleCount, + long startTime, + String threadName, + String label, + long elapsed, + boolean success, + long bytes, + long latency, + long connect) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ intcompareTo(TableSample o) + +
+           
+ booleanequals(Object o) + +
+           
+ longgetBytes() + +
+           
+ longgetConnectTime() + +
+           
+ longgetElapsed() + +
+           
+ StringgetLabel() + +
+           
+ longgetLatency() + +
+           
+ StringgetSampleNumberString() + +
+           
+ longgetStartTime() + +
+           
+ StringgetStartTimeFormatted(Format format) + +
+           
+ StringgetThreadName() + +
+           
+ inthashCode() + +
+           
+ booleanisSuccess() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+TableSample

+
+@Deprecated
+public TableSample()
+
+
Deprecated. for unit test code only +

+

+
+ +

+TableSample

+
+public TableSample(long totalSamples,
+                   int sampleCount,
+                   long startTime,
+                   String threadName,
+                   String label,
+                   long elapsed,
+                   boolean success,
+                   long bytes,
+                   long latency,
+                   long connect)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getBytes

+
+public long getBytes()
+
+
+
+
+
+
+
+
+
+ +

+getSampleNumberString

+
+public String getSampleNumberString()
+
+
+
+
+
+
+
+
+
+ +

+getElapsed

+
+public long getElapsed()
+
+
+
+
+
+
+
+
+
+ +

+isSuccess

+
+public boolean isSuccess()
+
+
+
+
+
+
+
+
+
+ +

+getStartTime

+
+public long getStartTime()
+
+
+
+
+
+
+
+
+
+ +

+getStartTimeFormatted

+
+public String getStartTimeFormatted(Format format)
+
+
+
+
+
+
Parameters:
format - the format to be used on the time +
Returns:
the start time using the specified format + Intended for use from Functors
+
+
+
+ +

+getThreadName

+
+public String getThreadName()
+
+
+
+
+
+
+
+
+
+ +

+getLabel

+
+public String getLabel()
+
+
+
+
+
+
+
+
+
+ +

+compareTo

+
+public int compareTo(TableSample o)
+
+
+
Specified by:
compareTo in interface Comparable<TableSample>
+
+
+
+
+
+
+ +

+equals

+
+public boolean equals(Object o)
+
+
+
Overrides:
equals in class Object
+
+
+
+
+
+
+ +

+hashCode

+
+public int hashCode()
+
+
+
Overrides:
hashCode in class Object
+
+
+
+
+
+
+ +

+getLatency

+
+public long getLatency()
+
+
+
+
+
+ +
Returns:
the latency
+
+
+
+ +

+getConnectTime

+
+public long getConnectTime()
+
+
+
+
+
+ +
Returns:
the conneect time
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/TableVisualizer.SampleSuccessFunctor.html b/docs/api/org/apache/jmeter/visualizers/TableVisualizer.SampleSuccessFunctor.html new file mode 100644 index 00000000000..cc58583012c --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/TableVisualizer.SampleSuccessFunctor.html @@ -0,0 +1,268 @@ + + + + + +TableVisualizer.SampleSuccessFunctor (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers +
+Class TableVisualizer.SampleSuccessFunctor

+
+java.lang.Object
+  extended by org.apache.jorphan.reflect.Functor
+      extended by org.apache.jmeter.visualizers.TableVisualizer.SampleSuccessFunctor
+
+
+
Enclosing class:
TableVisualizer
+
+
+
+
public static class TableVisualizer.SampleSuccessFunctor
extends Functor
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
TableVisualizer.SampleSuccessFunctor(String methodName) + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ Objectinvoke(Object p_invokee) + +
+          Invoke the method on a given object.
+ + + + + + + +
Methods inherited from class org.apache.jorphan.reflect.Functor
checkMethod, checkMethod, invoke, invoke, invoke, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+TableVisualizer.SampleSuccessFunctor

+
+public TableVisualizer.SampleSuccessFunctor(String methodName)
+
+
+ + + + + + + + +
+Method Detail
+ +

+invoke

+
+public Object invoke(Object p_invokee)
+
+
Description copied from class: Functor
+
Invoke the method on a given object. +

+

+
Overrides:
invoke in class Functor
+
+
+
Parameters:
p_invokee - - provides the object to call; ignored if the class or object were provided to the constructor +
Returns:
the value
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/TableVisualizer.html b/docs/api/org/apache/jmeter/visualizers/TableVisualizer.html new file mode 100644 index 00000000000..91ffb54a310 --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/TableVisualizer.html @@ -0,0 +1,576 @@ + + + + + +TableVisualizer (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers +
+Class TableVisualizer

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.visualizers.gui.AbstractListenerGui
+                          extended by org.apache.jmeter.visualizers.gui.AbstractVisualizer
+                              extended by org.apache.jmeter.visualizers.TableVisualizer
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, EventListener, Accessible, ChangeListener, ClearGui, JMeterGUIComponent, UnsharedComponent, Clearable, Printable, Visualizer
+
+
+
+
public class TableVisualizer
extends AbstractVisualizer
implements Clearable
+ + +

+This class implements a statistical analyser that calculates both the average + and the standard deviation of the sampling process. The samples are displayed + in a JTable, and the statistics are displayed at the bottom of the table. + + created March 10, 2002 +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Nested Class Summary
+static classTableVisualizer.SampleSuccessFunctor + +
+           
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.visualizers.gui.AbstractVisualizer
collector, isStats
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
TableVisualizer() + +
+          Constructor for the TableVisualizer object.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidadd(SampleResult res) + +
+          This method is called by sampling thread to inform the visualizer about + the arrival of a new sample.
+ voidclearData() + +
+          Clears the current data of the object.
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+static booleantestFunctors() + +
+           
+ StringtoString() + +
+           
+protected  voidupdateTextFields(SampleResult res) + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jmeter.visualizers.gui.AbstractVisualizer
clearGui, configure, configureTestElement, createTestElement, getErrorLoggingCheckbox, getFile, getFilePanel, getModel, isStats, makeTitlePanel, modifyTestElement, setFile, setModel, stateChanged
+ + + + + + + +
Methods inherited from class org.apache.jmeter.visualizers.gui.AbstractListenerGui
createPopupMenu, getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+TableVisualizer

+
+public TableVisualizer()
+
+
Constructor for the TableVisualizer object. +

+

+ + + + + + + + +
+Method Detail
+ +

+testFunctors

+
+public static boolean testFunctors()
+
+
+
+
+
+
+
+
+
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Description copied from interface: JMeterGUIComponent
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+
Specified by:
getLabelResource in interface JMeterGUIComponent
+
+
+ +
Returns:
the resource name
+
+
+
+ +

+updateTextFields

+
+protected void updateTextFields(SampleResult res)
+
+
+
+
+
+
+
+
+
+ +

+add

+
+public void add(SampleResult res)
+
+
Description copied from interface: Visualizer
+
This method is called by sampling thread to inform the visualizer about + the arrival of a new sample. +

+

+
Specified by:
add in interface Visualizer
+
+
+
Parameters:
res - the newly arrived sample
+
+
+
+ +

+clearData

+
+public void clearData()
+
+
Description copied from interface: Clearable
+
Clears the current data of the object. +

+

+
Specified by:
clearData in interface Clearable
+
+
+
+
+
+
+ +

+toString

+
+public String toString()
+
+
+
Overrides:
toString in class Component
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/TreeNodeRenderer.html b/docs/api/org/apache/jmeter/visualizers/TreeNodeRenderer.html new file mode 100644 index 00000000000..a0c53d915c9 --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/TreeNodeRenderer.html @@ -0,0 +1,434 @@ + + + + + +TreeNodeRenderer (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers +
+Class TreeNodeRenderer

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JLabel
+                  extended by javax.swing.tree.DefaultTreeCellRenderer
+                      extended by org.apache.jmeter.visualizers.TreeNodeRenderer
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, SwingConstants, TreeCellRenderer
+
+
+
+
public class TreeNodeRenderer
extends DefaultTreeCellRenderer
+ + +

+Tree cell renderer used by ComparisonVisualizer. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JLabel
JLabel.AccessibleJLabel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class javax.swing.tree.DefaultTreeCellRenderer
backgroundNonSelectionColor, backgroundSelectionColor, borderSelectionColor, closedIcon, hasFocus, leafIcon, openIcon, selected, textNonSelectionColor, textSelectionColor
+ + + + + + + +
Fields inherited from class javax.swing.JLabel
labelFor
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface javax.swing.SwingConstants
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
TreeNodeRenderer() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ ComponentgetTreeCellRendererComponent(JTree tree, + Object value, + boolean sel, + boolean expanded, + boolean leaf, + int row, + boolean focus) + +
+           
+ + + + + + + +
Methods inherited from class javax.swing.tree.DefaultTreeCellRenderer
firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackgroundNonSelectionColor, getBackgroundSelectionColor, getBorderSelectionColor, getClosedIcon, getDefaultClosedIcon, getDefaultLeafIcon, getDefaultOpenIcon, getFont, getLeafIcon, getOpenIcon, getPreferredSize, getTextNonSelectionColor, getTextSelectionColor, invalidate, paint, repaint, repaint, repaint, revalidate, setBackground, setBackgroundNonSelectionColor, setBackgroundSelectionColor, setBorderSelectionColor, setClosedIcon, setFont, setLeafIcon, setOpenIcon, setTextNonSelectionColor, setTextSelectionColor, validate
+ + + + + + + +
Methods inherited from class javax.swing.JLabel
checkHorizontalKey, checkVerticalKey, getAccessibleContext, getDisabledIcon, getDisplayedMnemonic, getDisplayedMnemonicIndex, getHorizontalAlignment, getHorizontalTextPosition, getIcon, getIconTextGap, getLabelFor, getText, getUI, getUIClassID, getVerticalAlignment, getVerticalTextPosition, imageUpdate, paramString, setDisabledIcon, setDisplayedMnemonic, setDisplayedMnemonic, setDisplayedMnemonicIndex, setHorizontalAlignment, setHorizontalTextPosition, setIcon, setIconTextGap, setLabelFor, setText, setUI, setVerticalAlignment, setVerticalTextPosition, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+TreeNodeRenderer

+
+public TreeNodeRenderer()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getTreeCellRendererComponent

+
+public Component getTreeCellRendererComponent(JTree tree,
+                                              Object value,
+                                              boolean sel,
+                                              boolean expanded,
+                                              boolean leaf,
+                                              int row,
+                                              boolean focus)
+
+
+
Specified by:
getTreeCellRendererComponent in interface TreeCellRenderer
Overrides:
getTreeCellRendererComponent in class DefaultTreeCellRenderer
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/ViewResultsFullVisualizer.html b/docs/api/org/apache/jmeter/visualizers/ViewResultsFullVisualizer.html new file mode 100644 index 00000000000..9babc92dd5d --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/ViewResultsFullVisualizer.html @@ -0,0 +1,717 @@ + + + + + +ViewResultsFullVisualizer (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers +
+Class ViewResultsFullVisualizer

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.visualizers.gui.AbstractListenerGui
+                          extended by org.apache.jmeter.visualizers.gui.AbstractVisualizer
+                              extended by org.apache.jmeter.visualizers.ViewResultsFullVisualizer
+
+
+
All Implemented Interfaces:
ActionListener, ItemListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, ChangeListener, TreeSelectionListener, ClearGui, JMeterGUIComponent, UnsharedComponent, Clearable, Printable, Visualizer
+
+
+
+
public class ViewResultsFullVisualizer
extends AbstractVisualizer
implements ActionListener, TreeSelectionListener, Clearable, ItemListener
+ + +

+Base for ViewResults +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static ColorCLIENT_ERROR_COLOR + +
+           
+protected static StringCOMBO_CHANGE_COMMAND + +
+           
+static ColorREDIRECT_COLOR + +
+           
+static ColorSERVER_ERROR_COLOR + +
+           
+ + + + + + + +
Fields inherited from class org.apache.jmeter.visualizers.gui.AbstractVisualizer
collector, isStats
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
ViewResultsFullVisualizer() + +
+          Constructor
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidactionPerformed(ActionEvent event) + +
+          
+ voidadd(SampleResult sample) + +
+          This method is called by sampling thread to inform the visualizer about + the arrival of a new sample.
+ voidclearData() + +
+          Clears the current data of the object.
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+static StringgetResponseAsString(SampleResult res) + +
+           
+protected  voidinit() + +
+          Initialize this visualizer
+protected static booleanisTextDataType(SampleResult sampleResult) + +
+           
+ voiditemStateChanged(ItemEvent e) + +
+          Handler for Checkbox
+ voidvalueChanged(TreeSelectionEvent e) + +
+          
+ + + + + + + +
Methods inherited from class org.apache.jmeter.visualizers.gui.AbstractVisualizer
clearGui, configure, configureTestElement, createTestElement, getErrorLoggingCheckbox, getFile, getFilePanel, getModel, isStats, makeTitlePanel, modifyTestElement, setFile, setModel, stateChanged
+ + + + + + + +
Methods inherited from class org.apache.jmeter.visualizers.gui.AbstractListenerGui
createPopupMenu, getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+SERVER_ERROR_COLOR

+
+public static final Color SERVER_ERROR_COLOR
+
+
+
+
+
+ +

+CLIENT_ERROR_COLOR

+
+public static final Color CLIENT_ERROR_COLOR
+
+
+
+
+
+ +

+REDIRECT_COLOR

+
+public static final Color REDIRECT_COLOR
+
+
+
+
+
+ +

+COMBO_CHANGE_COMMAND

+
+protected static final String COMBO_CHANGE_COMMAND
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+ViewResultsFullVisualizer

+
+public ViewResultsFullVisualizer()
+
+
Constructor +

+

+ + + + + + + + +
+Method Detail
+ +

+add

+
+public void add(SampleResult sample)
+
+
This method is called by sampling thread to inform the visualizer about + the arrival of a new sample. +

+

+
Specified by:
add in interface Visualizer
+
+
+
Parameters:
sample - the newly arrived sample
+
+
+
+ +

+clearData

+
+public void clearData()
+
+
Clears the current data of the object. +

+

+
Specified by:
clearData in interface Clearable
+
+
+
+
+
+
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+
Specified by:
getLabelResource in interface JMeterGUIComponent
+
+
+ +
Returns:
the resource name
+
+
+
+ +

+init

+
+protected void init()
+
+
Initialize this visualizer +

+

+
+
+
+
+
+
+
+ +

+valueChanged

+
+public void valueChanged(TreeSelectionEvent e)
+
+
+

+

+
Specified by:
valueChanged in interface TreeSelectionListener
+
+
+
+
+
+
+ +

+isTextDataType

+
+protected static boolean isTextDataType(SampleResult sampleResult)
+
+
+
+
+
+
Parameters:
sampleResult - SampleResult +
Returns:
true if sampleResult is text or has empty content type
+
+
+
+ +

+actionPerformed

+
+public void actionPerformed(ActionEvent event)
+
+
+

+

+
Specified by:
actionPerformed in interface ActionListener
+
+
+
+
+
+
+ +

+getResponseAsString

+
+public static String getResponseAsString(SampleResult res)
+
+
+
+
+
+
+
+
+
+ +

+itemStateChanged

+
+public void itemStateChanged(ItemEvent e)
+
+
Handler for Checkbox +

+

+
Specified by:
itemStateChanged in interface ItemListener
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/Visualizer.html b/docs/api/org/apache/jmeter/visualizers/Visualizer.html new file mode 100644 index 00000000000..ce10d3e829b --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/Visualizer.html @@ -0,0 +1,240 @@ + + + + + +Visualizer (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers +
+Interface Visualizer

+
+
All Known Implementing Classes:
AbstractVisualizer, AssertionVisualizer, BeanShellListener, BSFListener, ComparisonVisualizer, DistributionGraphVisualizer, GraphVisualizer, JSR223Listener, MailerVisualizer, MonitorHealthVisualizer, RespTimeGraphVisualizer, SimpleDataWriter, SplineVisualizer, StatGraphVisualizer, StatVisualizer, SummaryReport, TableVisualizer, ViewResultsFullVisualizer
+
+
+
+
public interface Visualizer
+ + +

+Implement this method to be a Visualizer for JMeter. This interface defines a + single method, "add()", that provides the means by which + SampleResults are passed to + the implementing visualizer for display/logging. The easiest way to create + the visualizer is to extend the + AbstractVisualizer class. +

+ +

+


+ +

+ + + + + + + + + + + + + + + + +
+Method Summary
+ voidadd(SampleResult sample) + +
+          This method is called by sampling thread to inform the visualizer about + the arrival of a new sample.
+ booleanisStats() + +
+          This method is used to indicate a visualizer generates statistics.
+  +

+ + + + + + + + +
+Method Detail
+ +

+add

+
+void add(SampleResult sample)
+
+
This method is called by sampling thread to inform the visualizer about + the arrival of a new sample. +

+

+
Parameters:
sample - the newly arrived sample
+
+
+
+ +

+isStats

+
+boolean isStats()
+
+
This method is used to indicate a visualizer generates statistics. +

+

+ +
Returns:
true if visualiser generates statistics
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/XMLDefaultMutableTreeNode.html b/docs/api/org/apache/jmeter/visualizers/XMLDefaultMutableTreeNode.html new file mode 100644 index 00000000000..d3a46136638 --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/XMLDefaultMutableTreeNode.html @@ -0,0 +1,327 @@ + + + + + +XMLDefaultMutableTreeNode (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers +
+Class XMLDefaultMutableTreeNode

+
+java.lang.Object
+  extended by javax.swing.tree.DefaultMutableTreeNode
+      extended by org.apache.jmeter.visualizers.XMLDefaultMutableTreeNode
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, MutableTreeNode, TreeNode
+
+
+
+
public class XMLDefaultMutableTreeNode
extends DefaultMutableTreeNode
+ + +

+A extended class of DefaultMutableTreeNode except that it also attached XML + node and convert XML document into DefaultMutableTreeNode. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
+  + + + + + + + + + + + + + + + + +
+Constructor Summary
XMLDefaultMutableTreeNode() + +
+          Deprecated. only for use by test code
XMLDefaultMutableTreeNode(Node root) + +
+           
XMLDefaultMutableTreeNode(String name, + Node xmlNode) + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ NodegetXMLNode() + +
+          get the xml node
+ + + + + + + +
Methods inherited from class javax.swing.tree.DefaultMutableTreeNode
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+XMLDefaultMutableTreeNode

+
+@Deprecated
+public XMLDefaultMutableTreeNode()
+
+
Deprecated. only for use by test code +

+

+
+ +

+XMLDefaultMutableTreeNode

+
+public XMLDefaultMutableTreeNode(Node root)
+                          throws SAXException
+
+
+ +
Throws: +
SAXException
+
+
+ +

+XMLDefaultMutableTreeNode

+
+public XMLDefaultMutableTreeNode(String name,
+                                 Node xmlNode)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getXMLNode

+
+public Node getXMLNode()
+
+
get the xml node +

+

+ +
Returns:
the XML node
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/backend/AbstractBackendListenerClient.html b/docs/api/org/apache/jmeter/visualizers/backend/AbstractBackendListenerClient.html new file mode 100644 index 00000000000..62d10bb675e --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/backend/AbstractBackendListenerClient.html @@ -0,0 +1,492 @@ + + + + + +AbstractBackendListenerClient (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers.backend +
+Class AbstractBackendListenerClient

+
+java.lang.Object
+  extended by org.apache.jmeter.visualizers.backend.AbstractBackendListenerClient
+
+
+
All Implemented Interfaces:
BackendListenerClient
+
+
+
Direct Known Subclasses:
GraphiteBackendListenerClient
+
+
+
+
public abstract class AbstractBackendListenerClient
extends Object
implements BackendListenerClient
+ + +

+An abstract implementation of the BackendListenerClient interface. This + implementation provides default implementations of most of the methods in the + interface, as well as some convenience methods, in order to simplify + development of BackendListenerClient implementations. + + While it may be necessary to make changes to the BackendListenerClient interface + from time to time (therefore requiring changes to any implementations of this + interface), we intend to make this abstract class provide reasonable + implementations of any new methods so that subclasses do not necessarily need + to be updated for new versions. Therefore, when creating a new + BackendListenerClient implementation, developers are encouraged to subclass this + abstract class rather than implementing the BackendListenerClient interface + directly. Implementing BackendListenerClient directly will continue to be + supported for cases where extending this class is not possible (for example, + when the client class is already a subclass of some other class). +

+ The BackendListenerClient.handleSampleResults(java.util.List, BackendListenerContext) + method of BackendListenerClient does not have a default + implementation here, so subclasses must define at least this method. It may + be useful to override other methods as well. +

+ +

+

+
Since:
+
2.13
+
See Also:
BackendListener.sampleOccurred(org.apache.jmeter.samplers.SampleEvent)
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
AbstractBackendListenerClient() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ SampleResultcreateSampleResult(BackendListenerContext context, + SampleResult result) + +
+          Create a copy of SampleResult, this method is here to allow customizing + what is kept in the copy, for example copy could remove some useless fields.
+ ArgumentsgetDefaultParameters() + +
+          Provide a list of parameters which this test supports.
+protected  org.apache.log.LoggergetLogger() + +
+          Get a Logger instance which can be used by subclasses to log information.
+protected  Map<String,SamplerMetric>getMetricsPerSampler() + +
+           
+protected  SamplerMetricgetSamplerMetric(String sampleLabel) + +
+           
+protected  UserMetricgetUserMetrics() + +
+           
+ voidsetupTest(BackendListenerContext context) + +
+          Do any initialization required by this client.
+ voidteardownTest(BackendListenerContext context) + +
+          Do any clean-up required at the end of a test run.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.visualizers.backend.BackendListenerClient
handleSampleResults
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+AbstractBackendListenerClient

+
+public AbstractBackendListenerClient()
+
+
+ + + + + + + + +
+Method Detail
+ +

+setupTest

+
+public void setupTest(BackendListenerContext context)
+               throws Exception
+
+
Description copied from interface: BackendListenerClient
+
Do any initialization required by this client. It is generally + recommended to do any initialization such as getting parameter values in + the setupTest method rather than the runTest method in order to add as + little overhead as possible to the test. +

+

+
Specified by:
setupTest in interface BackendListenerClient
+
+
+
Parameters:
context - the context to run with. This provides access to + initialization parameters. + Context is readonly +
Throws: +
Exception - when setup fails
+
+
+
+ +

+teardownTest

+
+public void teardownTest(BackendListenerContext context)
+                  throws Exception
+
+
Description copied from interface: BackendListenerClient
+
Do any clean-up required at the end of a test run. +

+

+
Specified by:
teardownTest in interface BackendListenerClient
+
+
+
Parameters:
context - the context to run with. This provides access to + initialization parameters. +
Throws: +
Exception - when tear down fails
+
+
+
+ +

+getDefaultParameters

+
+public Arguments getDefaultParameters()
+
+
Description copied from interface: BackendListenerClient
+
Provide a list of parameters which this test supports. Any parameter + names and associated values returned by this method will appear in the + GUI by default so the user doesn't have to remember the exact names. The + user can add other parameters which are not listed here. If this method + returns null then no parameters will be listed. If the value for some + parameter is null then that parameter will be listed in the GUI with an + empty value. +

+

+
Specified by:
getDefaultParameters in interface BackendListenerClient
+
+
+ +
Returns:
a specification of the parameters used by this test which should + be listed in the GUI, or null if no parameters should be listed.
+
+
+
+ +

+getLogger

+
+protected org.apache.log.Logger getLogger()
+
+
Get a Logger instance which can be used by subclasses to log information. + As this class is designed to be subclassed this is useful. +

+

+
+
+
+ +
Returns:
a Logger instance which can be used for logging
+
+
+
+ +

+createSampleResult

+
+public SampleResult createSampleResult(BackendListenerContext context,
+                                       SampleResult result)
+
+
Create a copy of SampleResult, this method is here to allow customizing + what is kept in the copy, for example copy could remove some useless fields. + Note that if it returns null, the sample result is not put in the queue. + Defaults to returning result. +

+

+
Specified by:
createSampleResult in interface BackendListenerClient
+
+
+
Parameters:
context - BackendListenerContext
result - SampleResult +
Returns:
SampleResult
+
+
+
+ +

+getSamplerMetric

+
+protected final SamplerMetric getSamplerMetric(String sampleLabel)
+
+
+
+
+
+
Parameters:
sampleLabel - Name of sample used as key +
Returns:
SamplerMetric
+
+
+
+ +

+getMetricsPerSampler

+
+protected Map<String,SamplerMetric> getMetricsPerSampler()
+
+
+
+
+
+ +
Returns:
Map where key is SampleLabel and SamplerMetric is the metrics of this Sample
+
+
+
+ +

+getUserMetrics

+
+protected UserMetric getUserMetrics()
+
+
+
+
+
+ +
Returns:
UserMetric
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/backend/BackendListener.html b/docs/api/org/apache/jmeter/visualizers/backend/BackendListener.html new file mode 100644 index 00000000000..812266d7ea8 --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/backend/BackendListener.html @@ -0,0 +1,706 @@ + + + + + +BackendListener (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers.backend +
+Class BackendListener

+
+java.lang.Object
+  extended by org.apache.jmeter.testelement.AbstractTestElement
+      extended by org.apache.jmeter.visualizers.backend.BackendListener
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, NoThreadClone, Searchable, Remoteable, SampleListener, TestElement, TestStateListener
+
+
+
+
public class BackendListener
extends AbstractTestElement
implements Serializable, SampleListener, TestStateListener, NoThreadClone, Remoteable
+ + +

+Async Listener that delegates SampleResult handling to implementations of BackendListenerClient +

+ +

+

+
Since:
+
2.13
+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static StringARGUMENTS + +
+          Property key representing the arguments for the BackendListenerClient.
+static StringCLASSNAME + +
+          Property key representing the classname of the BackendListenerClient to user.
+static StringDEFAULT_QUEUE_SIZE + +
+           
+static StringQUEUE_SIZE + +
+          Queue size
+ + + + + + + +
Fields inherited from interface org.apache.jmeter.testelement.TestElement
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
+  + + + + + + + + + + +
+Constructor Summary
BackendListener() + +
+          Create a BackendListener.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Objectclone() + +
+           
+ ArgumentsgetArguments() + +
+          Get the arguments (parameters) for the BackendListenerClient to be executed + with.
+ StringgetClassname() + +
+          Gets the Classname of the BackendListenerClient object
+ StringgetQueueSize() + +
+          Gets the queue size
+ voidsampleOccurred(SampleEvent event) + +
+          A sample has started and stopped.
+ voidsampleStarted(SampleEvent e) + +
+          A sample has started.
+ voidsampleStopped(SampleEvent e) + +
+          A sample has stopped.
+ voidsetArguments(Arguments args) + +
+          Set the arguments (parameters) for the BackendListenerClient to be executed + with.
+ voidsetClassname(String classname) + +
+          Sets the Classname of the BackendListenerClient object
+ voidsetQueueSize(String queueSize) + +
+          Sets the queue size
+ voidtestEnded() + +
+          Implements TestStateListener.testEnded(String)
+ voidtestEnded(String host) + +
+          Method called at the end of the test.
+ voidtestStarted() + +
+          Implements TestStateListener.testStarted()
+ voidtestStarted(String host) + +
+          Implements TestStateListener.testStarted(String)
+ + + + + + + +
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+CLASSNAME

+
+public static final String CLASSNAME
+
+
Property key representing the classname of the BackendListenerClient to user. +

+

+
See Also:
Constant Field Values
+
+
+ +

+QUEUE_SIZE

+
+public static final String QUEUE_SIZE
+
+
Queue size +

+

+
See Also:
Constant Field Values
+
+
+ +

+ARGUMENTS

+
+public static final String ARGUMENTS
+
+
Property key representing the arguments for the BackendListenerClient. +

+

+
See Also:
Constant Field Values
+
+
+ +

+DEFAULT_QUEUE_SIZE

+
+public static final String DEFAULT_QUEUE_SIZE
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+BackendListener

+
+public BackendListener()
+
+
Create a BackendListener. +

+

+ + + + + + + + +
+Method Detail
+ +

+clone

+
+public Object clone()
+
+
+
Specified by:
clone in interface TestElement
Overrides:
clone in class AbstractTestElement
+
+
+
+
+
+
+ +

+sampleOccurred

+
+public void sampleOccurred(SampleEvent event)
+
+
Description copied from interface: SampleListener
+
A sample has started and stopped. +

+

+
Specified by:
sampleOccurred in interface SampleListener
+
+
+
Parameters:
event - the SampleEvent that has occurred
+
+
+
+ +

+testStarted

+
+public void testStarted()
+
+
Implements TestStateListener.testStarted() +

+

+
Specified by:
testStarted in interface TestStateListener
+
+
+
See Also:
StandardJMeterEngine.run()
+
+
+
+ +

+testStarted

+
+public void testStarted(String host)
+
+
Implements TestStateListener.testStarted(String) +

+

+
Specified by:
testStarted in interface TestStateListener
+
+
+
Parameters:
host - name of host
See Also:
StandardJMeterEngine.run()
+
+
+
+ +

+testEnded

+
+public void testEnded(String host)
+
+
Method called at the end of the test. This is called only on one instance + of BackendListener. This method will loop through all of the other + BackendListenerClients which have been registered (automatically in the + constructor) and notify them that the test has ended, allowing the + BackendListenerClients to cleanup. + Implements TestStateListener.testEnded(String) +

+

+
Specified by:
testEnded in interface TestStateListener
+
+
+
Parameters:
host - name of host
See Also:
StandardJMeterEngine.stopTest()
+
+
+
+ +

+testEnded

+
+public void testEnded()
+
+
Implements TestStateListener.testEnded(String) +

+

+
Specified by:
testEnded in interface TestStateListener
+
+
+
See Also:
StandardJMeterEngine.stopTest()
+
+
+
+ +

+sampleStarted

+
+public void sampleStarted(SampleEvent e)
+
+
Description copied from interface: SampleListener
+
A sample has started. +

+

+
Specified by:
sampleStarted in interface SampleListener
+
+
+
Parameters:
e - the SampleEvent that has started
+
+
+
+ +

+sampleStopped

+
+public void sampleStopped(SampleEvent e)
+
+
Description copied from interface: SampleListener
+
A sample has stopped. +

+

+
Specified by:
sampleStopped in interface SampleListener
+
+
+
Parameters:
e - the SampleEvent that has stopped
+
+
+
+ +

+setArguments

+
+public void setArguments(Arguments args)
+
+
Set the arguments (parameters) for the BackendListenerClient to be executed + with. +

+

+
+
+
+
Parameters:
args - the new arguments. These replace any existing arguments.
+
+
+
+ +

+getArguments

+
+public Arguments getArguments()
+
+
Get the arguments (parameters) for the BackendListenerClient to be executed + with. +

+

+
+
+
+ +
Returns:
the arguments
+
+
+
+ +

+setClassname

+
+public void setClassname(String classname)
+
+
Sets the Classname of the BackendListenerClient object +

+

+
+
+
+
Parameters:
classname - the new Classname value
+
+
+
+ +

+getClassname

+
+public String getClassname()
+
+
Gets the Classname of the BackendListenerClient object +

+

+
+
+
+ +
Returns:
the Classname value
+
+
+
+ +

+setQueueSize

+
+public void setQueueSize(String queueSize)
+
+
Sets the queue size +

+

+
+
+
+
Parameters:
queueSize - the size of the queue
+
+
+
+ +

+getQueueSize

+
+public String getQueueSize()
+
+
Gets the queue size +

+

+
+
+
+ +
Returns:
int queueSize
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/backend/BackendListenerClient.html b/docs/api/org/apache/jmeter/visualizers/backend/BackendListenerClient.html new file mode 100644 index 00000000000..fcebed35d71 --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/backend/BackendListenerClient.html @@ -0,0 +1,369 @@ + + + + + +BackendListenerClient (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers.backend +
+Interface BackendListenerClient

+
+
All Known Implementing Classes:
AbstractBackendListenerClient, GraphiteBackendListenerClient
+
+
+
+
public interface BackendListenerClient
+ + +

+This interface defines the interactions between the BackendListener and external + Java programs which can be executed by JMeter. Any Java class which wants to + be executed as a JMeter test must implement this interface (either directly + or indirectly through AbstractBackendListenerClient). +

+ JMeter will create one instance of a BackendListenerClient implementation for + each user/thread in the test. Additional instances may be created for + internal use by JMeter (for example, to find out what parameters are + supported by the client). +

+ When the test is started, setupTest() will be called on each thread's + BackendListenerClient instance to initialize the client. Then handleSampleResult() will be + called for each SampleResult notification. Finally, teardownTest() will be called + to allow the client to do any necessary clean-up. +

+ The JMeter BackendListener GUI allows a list of parameters to be defined for the + test. These are passed to the various test methods through the + BackendListenerContext. A list of default parameters can be defined + through the getDefaultParameters() method. These parameters and any default + values associated with them will be shown in the GUI. Users can add other + parameters as well. +

+ When possible, Listeners should extend AbstractBackendListenerClient rather than implementing BackendListenerClient + directly. This should protect your tests from future changes to the + interface. While it may be necessary to make changes to the BackendListenerClient + interface from time to time (therefore requiring changes to any + implementations of this interface), we intend to make this abstract class + provide reasonable default implementations of any new methods so that + subclasses do not necessarily need to be updated for new versions. + Implementing BackendListenerClient directly will continue to be supported for + cases where extending this class is not possible (for example, when the + client class is already a subclass of some other class). +

+ +

+

+
Since:
+
2.13
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ SampleResultcreateSampleResult(BackendListenerContext context, + SampleResult result) + +
+          Create a copy of SampleResult, this method is here to allow customizing + what is kept in the copy, for example copy could remove some useless fields.
+ ArgumentsgetDefaultParameters() + +
+          Provide a list of parameters which this test supports.
+ voidhandleSampleResults(List<SampleResult> sampleResults, + BackendListenerContext context) + +
+          Handle sampleResults, this can be done in many ways: + + Write to a file + Write to a distant server + ...
+ voidsetupTest(BackendListenerContext context) + +
+          Do any initialization required by this client.
+ voidteardownTest(BackendListenerContext context) + +
+          Do any clean-up required at the end of a test run.
+  +

+ + + + + + + + +
+Method Detail
+ +

+setupTest

+
+void setupTest(BackendListenerContext context)
+               throws Exception
+
+
Do any initialization required by this client. It is generally + recommended to do any initialization such as getting parameter values in + the setupTest method rather than the runTest method in order to add as + little overhead as possible to the test. +

+

+
Parameters:
context - the context to run with. This provides access to + initialization parameters. + Context is readonly +
Throws: +
Exception - when setup fails
+
+
+
+ +

+handleSampleResults

+
+void handleSampleResults(List<SampleResult> sampleResults,
+                         BackendListenerContext context)
+
+
Handle sampleResults, this can be done in many ways: +
    +
  • Write to a file
  • +
  • Write to a distant server
  • +
  • ...
  • +
+

+

+
Parameters:
sampleResults - List of SampleResult
context - the context to run with. This provides access to + initialization parameters.
+
+
+
+ +

+teardownTest

+
+void teardownTest(BackendListenerContext context)
+                  throws Exception
+
+
Do any clean-up required at the end of a test run. +

+

+
Parameters:
context - the context to run with. This provides access to + initialization parameters. +
Throws: +
Exception - when tear down fails
+
+
+
+ +

+getDefaultParameters

+
+Arguments getDefaultParameters()
+
+
Provide a list of parameters which this test supports. Any parameter + names and associated values returned by this method will appear in the + GUI by default so the user doesn't have to remember the exact names. The + user can add other parameters which are not listed here. If this method + returns null then no parameters will be listed. If the value for some + parameter is null then that parameter will be listed in the GUI with an + empty value. +

+

+ +
Returns:
a specification of the parameters used by this test which should + be listed in the GUI, or null if no parameters should be listed.
+
+
+
+ +

+createSampleResult

+
+SampleResult createSampleResult(BackendListenerContext context,
+                                SampleResult result)
+
+
Create a copy of SampleResult, this method is here to allow customizing + what is kept in the copy, for example copy could remove some useless fields. + Note that if it returns null, the sample result is not put in the queue. + Defaults to returning result. +

+

+
Parameters:
context - BackendListenerContext
result - SampleResult +
Returns:
SampleResult
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/backend/BackendListenerContext.html b/docs/api/org/apache/jmeter/visualizers/backend/BackendListenerContext.html new file mode 100644 index 00000000000..072b7f2cdf5 --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/backend/BackendListenerContext.html @@ -0,0 +1,482 @@ + + + + + +BackendListenerContext (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers.backend +
+Class BackendListenerContext

+
+java.lang.Object
+  extended by org.apache.jmeter.visualizers.backend.BackendListenerContext
+
+
+
+
public class BackendListenerContext
extends Object
+ + +

+BackendListenerContext is used to provide context information to a + BackendListenerClient implementation. This currently consists of the + initialization parameters which were specified in the GUI. +

+ +

+

+
Since:
+
2.13
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
BackendListenerContext(Arguments args) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleancontainsParameter(String name) + +
+          Determine whether or not a value has been specified for the parameter + with this name.
+ booleangetBooleanParameter(String name, + boolean defaultValue) + +
+           
+ intgetIntParameter(String name) + +
+          Get the value of a specified parameter as an integer.
+ intgetIntParameter(String name, + int defaultValue) + +
+          Get the value of a specified parameter as an integer, or return the + specified default value if the value was not specified or is not an + integer.
+ longgetLongParameter(String name) + +
+          Get the value of a specified parameter as a long.
+ longgetLongParameter(String name, + long defaultValue) + +
+          Get the value of a specified parameter as along, or return the specified + default value if the value was not specified or is not a long.
+ StringgetParameter(String name) + +
+          Get the value of a specific parameter as a String, or null if the value + was not specified.
+ StringgetParameter(String name, + String defaultValue) + +
+          Get the value of a specified parameter as a String, or return the + specified default value if the value was not specified.
+ Iterator<String>getParameterNamesIterator() + +
+          Get an iterator of the parameter names.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+BackendListenerContext

+
+public BackendListenerContext(Arguments args)
+
+
+
Parameters:
args - the initialization parameters.
+
+ + + + + + + + +
+Method Detail
+ +

+containsParameter

+
+public boolean containsParameter(String name)
+
+
Determine whether or not a value has been specified for the parameter + with this name. +

+

+
Parameters:
name - the name of the parameter to test +
Returns:
true if the parameter value has been specified, false otherwise.
+
+
+
+ +

+getParameterNamesIterator

+
+public Iterator<String> getParameterNamesIterator()
+
+
Get an iterator of the parameter names. Each entry in the Iterator is a + String. +

+

+ +
Returns:
an Iterator of Strings listing the names of the parameters which + have been specified for this test.
+
+
+
+ +

+getParameter

+
+public String getParameter(String name)
+
+
Get the value of a specific parameter as a String, or null if the value + was not specified. +

+

+
Parameters:
name - the name of the parameter whose value should be retrieved +
Returns:
the value of the parameter, or null if the value was not + specified
+
+
+
+ +

+getParameter

+
+public String getParameter(String name,
+                           String defaultValue)
+
+
Get the value of a specified parameter as a String, or return the + specified default value if the value was not specified. +

+

+
Parameters:
name - the name of the parameter whose value should be retrieved
defaultValue - the default value to return if the value of this parameter was + not specified +
Returns:
the value of the parameter, or the default value if the parameter + was not specified
+
+
+
+ +

+getIntParameter

+
+public int getIntParameter(String name)
+                    throws NumberFormatException
+
+
Get the value of a specified parameter as an integer. An exception will + be thrown if the parameter is not specified or if it is not an integer. + The value may be specified in decimal, hexadecimal, or octal, as defined + by Integer.decode(). +

+

+
Parameters:
name - the name of the parameter whose value should be retrieved +
Returns:
the value of the parameter +
Throws: +
NumberFormatException - if the parameter is not specified or is not an integer
See Also:
Integer.decode(java.lang.String)
+
+
+
+ +

+getIntParameter

+
+public int getIntParameter(String name,
+                           int defaultValue)
+
+
Get the value of a specified parameter as an integer, or return the + specified default value if the value was not specified or is not an + integer. A warning will be logged if the value is not an integer. The + value may be specified in decimal, hexadecimal, or octal, as defined by + Integer.decode(). +

+

+
Parameters:
name - the name of the parameter whose value should be retrieved
defaultValue - the default value to return if the value of this parameter was + not specified +
Returns:
the value of the parameter, or the default value if the parameter + was not specified
See Also:
Integer.decode(java.lang.String)
+
+
+
+ +

+getLongParameter

+
+public long getLongParameter(String name)
+                      throws NumberFormatException
+
+
Get the value of a specified parameter as a long. An exception will be + thrown if the parameter is not specified or if it is not a long. The + value may be specified in decimal, hexadecimal, or octal, as defined by + Long.decode(). +

+

+
Parameters:
name - the name of the parameter whose value should be retrieved +
Returns:
the value of the parameter +
Throws: +
NumberFormatException - if the parameter is not specified or is not a long
See Also:
Long.decode(String)
+
+
+
+ +

+getLongParameter

+
+public long getLongParameter(String name,
+                             long defaultValue)
+
+
Get the value of a specified parameter as along, or return the specified + default value if the value was not specified or is not a long. A warning + will be logged if the value is not a long. The value may be specified in + decimal, hexadecimal, or octal, as defined by Long.decode(). +

+

+
Parameters:
name - the name of the parameter whose value should be retrieved
defaultValue - the default value to return if the value of this parameter was + not specified +
Returns:
the value of the parameter, or the default value if the parameter + was not specified
See Also:
Long.decode(String)
+
+
+
+ +

+getBooleanParameter

+
+public boolean getBooleanParameter(String name,
+                                   boolean defaultValue)
+
+
+
Parameters:
name - Parameter name
defaultValue - Default value used if name is not in params +
Returns:
boolean
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/backend/BackendListenerGui.html b/docs/api/org/apache/jmeter/visualizers/backend/BackendListenerGui.html new file mode 100644 index 00000000000..def64cf3ec4 --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/backend/BackendListenerGui.html @@ -0,0 +1,575 @@ + + + + + +BackendListenerGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers.backend +
+Class BackendListenerGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.visualizers.gui.AbstractListenerGui
+                          extended by org.apache.jmeter.visualizers.backend.BackendListenerGui
+
+
+
All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
+
public class BackendListenerGui
extends AbstractListenerGui
implements ActionListener
+ + +

+The BackendListenerGui class provides the user interface for the + BackendListener object. +

+ +

+

+
Since:
+
2.13
+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
BackendListenerGui() + +
+          Create a new BackendListenerGui as a standalone component.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidactionPerformed(ActionEvent event) + +
+          Handle action events for this component.
+ voidclearGui() + +
+          Provides a default implementation that resets the name field to the value of + getStaticLabel(), reset comment and sets enabled to true.
+ voidconfigure(TestElement config) + +
+          A newly created gui component can be initialized with the contents of a + Test Element object by calling this method.
+ TestElementcreateTestElement() + +
+          JMeter test components are separated into a model and a GUI + representation.
+ StringgetLabelResource() + +
+          Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language.
+ voidmodifyTestElement(TestElement config) + +
+          GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.visualizers.gui.AbstractListenerGui
createPopupMenu, getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+BackendListenerGui

+
+public BackendListenerGui()
+
+
Create a new BackendListenerGui as a standalone component. +

+

+ + + + + + + + +
+Method Detail
+ +

+getLabelResource

+
+public String getLabelResource()
+
+
Get the component's resource name, which getStaticLabel uses to derive + the component's label in the local language. The resource name is fixed, + and does not vary with the selected language. + + Normally this method should be overriden in preference to overriding + getStaticLabel(). However where the resource name is not available or required, + getStaticLabel() may be overridden instead. +

+

+
Specified by:
getLabelResource in interface JMeterGUIComponent
+
+
+ +
Returns:
the resource name
+
+
+
+ +

+actionPerformed

+
+public void actionPerformed(ActionEvent event)
+
+
Handle action events for this component. This method currently handles + events for the classname combo box. +

+

+
Specified by:
actionPerformed in interface ActionListener
+
+
+
Parameters:
event - the ActionEvent to be handled
+
+
+
+ +

+configure

+
+public void configure(TestElement config)
+
+
A newly created gui component can be initialized with the contents of a + Test Element object by calling this method. The component is responsible + for querying the Test Element object for the relevant information to + display in its GUI. +

+ AbstractJMeterGuiComponent provides a partial implementation of this + method, setting the name of the component and its enabled status. + Subclasses should override this method, performing their own + configuration as needed, but also calling this super-implementation. +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class AbstractJMeterGuiComponent
+
+
+
Parameters:
config - the TestElement to configure
+
+
+
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
JMeter test components are separated into a model and a GUI + representation. The model holds the data and the GUI displays it. The GUI + class is responsible for knowing how to create and initialize with data + the model class that it knows how to display, and this method is called + when new test elements are created. +

+

+
Specified by:
createTestElement in interface JMeterGUIComponent
+
+
+ +
Returns:
the Test Element object that the GUI component represents.
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement config)
+
+
GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components. This method should + overwrite whatever data is currently in the TestElement as it is called + after a user has filled out the form elements in the gui with new + information. +

+

+
Specified by:
modifyTestElement in interface JMeterGUIComponent
+
+
+
Parameters:
config - the TestElement to modify
+
+
+
+ +

+clearGui

+
+public void clearGui()
+
+
Description copied from class: AbstractJMeterGuiComponent
+
Provides a default implementation that resets the name field to the value of + getStaticLabel(), reset comment and sets enabled to true. Your GUI may need more things + cleared, in which case you should override, clear the extra fields, and + still call super.clearGui(). +

+

+
Specified by:
clearGui in interface ClearGui
Overrides:
clearGui in class AbstractJMeterGuiComponent
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/backend/SamplerMetric.html b/docs/api/org/apache/jmeter/visualizers/backend/SamplerMetric.html new file mode 100644 index 00000000000..3d0119fec46 --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/backend/SamplerMetric.html @@ -0,0 +1,618 @@ + + + + + +SamplerMetric (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers.backend +
+Class SamplerMetric

+
+java.lang.Object
+  extended by org.apache.jmeter.visualizers.backend.SamplerMetric
+
+
+
+
public class SamplerMetric
extends Object
+ + +

+Sampler metric +

+ +

+

+
Since:
+
2.13
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
SamplerMetric() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidadd(SampleResult result) + +
+          Add a SampleResult to be used in the statistics
+ doublegetAllMaxTime() + +
+          Get the maximal elapsed time for requests within sliding window
+ doublegetAllMean() + +
+          Get the arithmetic mean of the stored values
+ doublegetAllMinTime() + +
+          Get the minimal elapsed time for requests within sliding window
+ doublegetAllPercentile(double percentile) + +
+          Returns an estimate for the requested percentile of the stored values.
+ intgetFailures() + +
+          Get the number of failed requests for the current time slot
+ doublegetKoMaxTime() + +
+          Get the maximal elapsed time for requests within sliding window
+ doublegetKoMean() + +
+          Get the arithmetic mean of the stored values
+ doublegetKoMinTime() + +
+          Get the minimal elapsed time for requests within sliding window
+ doublegetKoPercentile(double percentile) + +
+          Returns an estimate for the requested percentile of the stored values.
+ doublegetOkMaxTime() + +
+          Get the maximal elapsed time for requests within sliding window
+ doublegetOkMean() + +
+          Get the arithmetic mean of the stored values
+ doublegetOkMinTime() + +
+          Get the minimal elapsed time for requests within sliding window
+ doublegetOkPercentile(double percentile) + +
+          Returns an estimate for the requested percentile of the stored values.
+ intgetSuccesses() + +
+          Get the number of successful requests for the current time slot
+ intgetTotal() + +
+          Get the number of total requests for the current time slot
+ voidresetForTimeInterval() + +
+          Reset metric except for percentile related data
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SamplerMetric

+
+public SamplerMetric()
+
+
+ + + + + + + + +
+Method Detail
+ +

+add

+
+public void add(SampleResult result)
+
+
Add a SampleResult to be used in the statistics +

+

+
Parameters:
result - SampleResult to be used
+
+
+
+ +

+resetForTimeInterval

+
+public void resetForTimeInterval()
+
+
Reset metric except for percentile related data +

+

+
+
+
+
+ +

+getTotal

+
+public int getTotal()
+
+
Get the number of total requests for the current time slot +

+

+ +
Returns:
number of total requests
+
+
+
+ +

+getSuccesses

+
+public int getSuccesses()
+
+
Get the number of successful requests for the current time slot +

+

+ +
Returns:
number of successful requests
+
+
+
+ +

+getFailures

+
+public int getFailures()
+
+
Get the number of failed requests for the current time slot +

+

+ +
Returns:
number of failed requests
+
+
+
+ +

+getOkMaxTime

+
+public double getOkMaxTime()
+
+
Get the maximal elapsed time for requests within sliding window +

+

+ +
Returns:
the maximal elapsed time, or 0 if no requests have + been added yet
+
+
+
+ +

+getOkMinTime

+
+public double getOkMinTime()
+
+
Get the minimal elapsed time for requests within sliding window +

+

+ +
Returns:
the minTime, or Long.MAX_VALUE if no requests have been + added yet
+
+
+
+ +

+getOkMean

+
+public double getOkMean()
+
+
Get the arithmetic mean of the stored values +

+

+ +
Returns:
The arithmetic mean of the stored values
+
+
+
+ +

+getOkPercentile

+
+public double getOkPercentile(double percentile)
+
+
Returns an estimate for the requested percentile of the stored values. +

+

+
Parameters:
percentile - the requested percentile (scaled from 0 - 100) +
Returns:
Returns an estimate for the requested percentile of the stored + values.
+
+
+
+ +

+getKoMaxTime

+
+public double getKoMaxTime()
+
+
Get the maximal elapsed time for requests within sliding window +

+

+ +
Returns:
the maximal elapsed time, or 0 if no requests have + been added yet
+
+
+
+ +

+getKoMinTime

+
+public double getKoMinTime()
+
+
Get the minimal elapsed time for requests within sliding window +

+

+ +
Returns:
the minTime, or Long.MAX_VALUE if no requests have been + added yet
+
+
+
+ +

+getKoMean

+
+public double getKoMean()
+
+
Get the arithmetic mean of the stored values +

+

+ +
Returns:
The arithmetic mean of the stored values
+
+
+
+ +

+getKoPercentile

+
+public double getKoPercentile(double percentile)
+
+
Returns an estimate for the requested percentile of the stored values. +

+

+
Parameters:
percentile - the requested percentile (scaled from 0 - 100) +
Returns:
Returns an estimate for the requested percentile of the stored + values.
+
+
+
+ +

+getAllMaxTime

+
+public double getAllMaxTime()
+
+
Get the maximal elapsed time for requests within sliding window +

+

+ +
Returns:
the maximal elapsed time, or 0 if no requests have + been added yet
+
+
+
+ +

+getAllMinTime

+
+public double getAllMinTime()
+
+
Get the minimal elapsed time for requests within sliding window +

+

+ +
Returns:
the minTime, or Long.MAX_VALUE if no requests have been + added yet
+
+
+
+ +

+getAllMean

+
+public double getAllMean()
+
+
Get the arithmetic mean of the stored values +

+

+ +
Returns:
The arithmetic mean of the stored values
+
+
+
+ +

+getAllPercentile

+
+public double getAllPercentile(double percentile)
+
+
Returns an estimate for the requested percentile of the stored values. +

+

+
Parameters:
percentile - the requested percentile (scaled from 0 - 100) +
Returns:
Returns an estimate for the requested percentile of the stored + values.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/backend/UserMetric.html b/docs/api/org/apache/jmeter/visualizers/backend/UserMetric.html new file mode 100644 index 00000000000..909f01a8376 --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/backend/UserMetric.html @@ -0,0 +1,382 @@ + + + + + +UserMetric (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers.backend +
+Class UserMetric

+
+java.lang.Object
+  extended by org.apache.jmeter.visualizers.backend.UserMetric
+
+
+
+
public class UserMetric
extends Object
+ + +

+User metric +

+ +

+

+
Since:
+
2.13
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
UserMetric() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidadd(SampleResult result) + +
+          Add a SampleResult to be used in the statistics
+ intgetFinishedThreads() + +
+           
+ intgetMaxActiveThreads() + +
+           
+ intgetMeanActiveThreads() + +
+           
+ intgetMinActiveThreads() + +
+           
+ intgetStartedThreads() + +
+           
+ voidresetForTimeInterval() + +
+          Reset metric except for percentile related data
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+UserMetric

+
+public UserMetric()
+
+
+ + + + + + + + +
+Method Detail
+ +

+add

+
+public void add(SampleResult result)
+
+
Add a SampleResult to be used in the statistics +

+

+
Parameters:
result - SampleResult to be used
+
+
+
+ +

+resetForTimeInterval

+
+public void resetForTimeInterval()
+
+
Reset metric except for percentile related data +

+

+
+
+
+
+ +

+getMaxActiveThreads

+
+public int getMaxActiveThreads()
+
+
+ +
Returns:
the max number of active threads for this test run + using a sliding window of SLIDING_WINDOW_SIZE
+
+
+
+ +

+getMeanActiveThreads

+
+public int getMeanActiveThreads()
+
+
+ +
Returns:
the mean number of active threads for this test run + using a sliding window of SLIDING_WINDOW_SIZE
+
+
+
+ +

+getMinActiveThreads

+
+public int getMinActiveThreads()
+
+
+ +
Returns:
the min number of active threads for this test run + using a sliding window of SLIDING_WINDOW_SIZE
+
+
+
+ +

+getFinishedThreads

+
+public int getFinishedThreads()
+
+
+ +
Returns:
finished threads
+
+
+
+ +

+getStartedThreads

+
+public int getStartedThreads()
+
+
+ +
Returns:
started threads
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/backend/graphite/GraphiteBackendListenerClient.html b/docs/api/org/apache/jmeter/visualizers/backend/graphite/GraphiteBackendListenerClient.html new file mode 100644 index 00000000000..db35c51dff4 --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/backend/graphite/GraphiteBackendListenerClient.html @@ -0,0 +1,473 @@ + + + + + +GraphiteBackendListenerClient (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers.backend.graphite +
+Class GraphiteBackendListenerClient

+
+java.lang.Object
+  extended by org.apache.jmeter.visualizers.backend.AbstractBackendListenerClient
+      extended by org.apache.jmeter.visualizers.backend.graphite.GraphiteBackendListenerClient
+
+
+
All Implemented Interfaces:
Runnable, BackendListenerClient
+
+
+
+
public class GraphiteBackendListenerClient
extends AbstractBackendListenerClient
implements Runnable
+ + +

+Graphite based Listener using Pickle Protocol +

+ +

+

+
Since:
+
2.13
+
See Also:
Graphite Overview
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
GraphiteBackendListenerClient() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ ArgumentsgetDefaultParameters() + +
+          Provide a list of parameters which this test supports.
+ StringgetSamplersList() + +
+           
+ voidhandleSampleResults(List<SampleResult> sampleResults, + BackendListenerContext context) + +
+          Handle sampleResults, this can be done in many ways: + + Write to a file + Write to a distant server + ...
+ voidrun() + +
+           
+protected  voidsendMetrics() + +
+          Send metrics to Graphite
+ voidsetSamplersList(String samplersList) + +
+           
+ voidsetupTest(BackendListenerContext context) + +
+          Do any initialization required by this client.
+ voidteardownTest(BackendListenerContext context) + +
+          Do any clean-up required at the end of a test run.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.visualizers.backend.AbstractBackendListenerClient
createSampleResult, getLogger, getMetricsPerSampler, getSamplerMetric, getUserMetrics
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+GraphiteBackendListenerClient

+
+public GraphiteBackendListenerClient()
+
+
+ + + + + + + + +
+Method Detail
+ +

+run

+
+public void run()
+
+
+
Specified by:
run in interface Runnable
+
+
+
+
+
+
+ +

+sendMetrics

+
+protected void sendMetrics()
+
+
Send metrics to Graphite +

+

+
+
+
+
+
+
+
+ +

+getSamplersList

+
+public String getSamplersList()
+
+
+
+
+
+ +
Returns:
the samplersList
+
+
+
+ +

+setSamplersList

+
+public void setSamplersList(String samplersList)
+
+
+
+
+
+
Parameters:
samplersList - the samplersList to set
+
+
+
+ +

+handleSampleResults

+
+public void handleSampleResults(List<SampleResult> sampleResults,
+                                BackendListenerContext context)
+
+
Description copied from interface: BackendListenerClient
+
Handle sampleResults, this can be done in many ways: +
    +
  • Write to a file
  • +
  • Write to a distant server
  • +
  • ...
  • +
+

+

+
Specified by:
handleSampleResults in interface BackendListenerClient
+
+
+
Parameters:
sampleResults - List of SampleResult
context - the context to run with. This provides access to + initialization parameters.
+
+
+
+ +

+setupTest

+
+public void setupTest(BackendListenerContext context)
+               throws Exception
+
+
Description copied from interface: BackendListenerClient
+
Do any initialization required by this client. It is generally + recommended to do any initialization such as getting parameter values in + the setupTest method rather than the runTest method in order to add as + little overhead as possible to the test. +

+

+
Specified by:
setupTest in interface BackendListenerClient
Overrides:
setupTest in class AbstractBackendListenerClient
+
+
+
Parameters:
context - the context to run with. This provides access to + initialization parameters. + Context is readonly +
Throws: +
Exception - when setup fails
+
+
+
+ +

+teardownTest

+
+public void teardownTest(BackendListenerContext context)
+                  throws Exception
+
+
Description copied from interface: BackendListenerClient
+
Do any clean-up required at the end of a test run. +

+

+
Specified by:
teardownTest in interface BackendListenerClient
Overrides:
teardownTest in class AbstractBackendListenerClient
+
+
+
Parameters:
context - the context to run with. This provides access to + initialization parameters. +
Throws: +
Exception - when tear down fails
+
+
+
+ +

+getDefaultParameters

+
+public Arguments getDefaultParameters()
+
+
Description copied from interface: BackendListenerClient
+
Provide a list of parameters which this test supports. Any parameter + names and associated values returned by this method will appear in the + GUI by default so the user doesn't have to remember the exact names. The + user can add other parameters which are not listed here. If this method + returns null then no parameters will be listed. If the value for some + parameter is null then that parameter will be listed in the GUI with an + empty value. +

+

+
Specified by:
getDefaultParameters in interface BackendListenerClient
Overrides:
getDefaultParameters in class AbstractBackendListenerClient
+
+
+ +
Returns:
a specification of the parameters used by this test which should + be listed in the GUI, or null if no parameters should be listed.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/backend/graphite/SocketConnectionInfos.html b/docs/api/org/apache/jmeter/visualizers/backend/graphite/SocketConnectionInfos.html new file mode 100644 index 00000000000..815d68cb66e --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/backend/graphite/SocketConnectionInfos.html @@ -0,0 +1,319 @@ + + + + + +SocketConnectionInfos (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers.backend.graphite +
+Class SocketConnectionInfos

+
+java.lang.Object
+  extended by org.apache.jmeter.visualizers.backend.graphite.SocketConnectionInfos
+
+
+
+
public class SocketConnectionInfos
extends Object
+ + +

+Bean to embed host/port to Graphite +

+ +

+

+
Since:
+
2.13
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
SocketConnectionInfos(String host, + int port) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetHost() + +
+           
+ intgetPort() + +
+           
+ voidsetHost(String host) + +
+           
+ voidsetPort(int port) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SocketConnectionInfos

+
+public SocketConnectionInfos(String host,
+                             int port)
+
+
+
Parameters:
host - the name of the host to connect to
port - the port to connect to
+
+ + + + + + + + +
+Method Detail
+ +

+getHost

+
+public String getHost()
+
+
+ +
Returns:
the host
+
+
+
+ +

+setHost

+
+public void setHost(String host)
+
+
+
Parameters:
host - the host to set
+
+
+
+ +

+getPort

+
+public int getPort()
+
+
+ +
Returns:
the port
+
+
+
+ +

+setPort

+
+public void setPort(int port)
+
+
+
Parameters:
port - the port to set
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/backend/graphite/SocketOutputStream.html b/docs/api/org/apache/jmeter/visualizers/backend/graphite/SocketOutputStream.html new file mode 100644 index 00000000000..f6614853c70 --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/backend/graphite/SocketOutputStream.html @@ -0,0 +1,337 @@ + + + + + +SocketOutputStream (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers.backend.graphite +
+Class SocketOutputStream

+
+java.lang.Object
+  extended by java.io.OutputStream
+      extended by java.io.FilterOutputStream
+          extended by org.apache.jmeter.visualizers.backend.graphite.SocketOutputStream
+
+
+
All Implemented Interfaces:
Closeable, Flushable
+
+
+
+
public class SocketOutputStream
extends FilterOutputStream
+ + +

+Convenience class for writing bytes to a Socket. +

+ +

+

+
Since:
+
2.13
+
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class java.io.FilterOutputStream
out
+  + + + + + + + + + + + + + +
+Constructor Summary
SocketOutputStream(InetSocketAddress inetSocketAddress) + +
+           
SocketOutputStream(Socket socket) + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ SocketgetSocket() + +
+          Return the underlying Socket
+ StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.io.FilterOutputStream
close, flush, write, write, write
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SocketOutputStream

+
+public SocketOutputStream(InetSocketAddress inetSocketAddress)
+                   throws IOException
+
+
+ +
Throws: +
IOException
+
+
+ +

+SocketOutputStream

+
+public SocketOutputStream(Socket socket)
+                   throws IOException
+
+
+ +
Throws: +
IOException
+
+ + + + + + + + +
+Method Detail
+ +

+getSocket

+
+public Socket getSocket()
+
+
Return the underlying Socket +

+

+ +
Returns:
the underlying Socket
+
+
+
+ +

+toString

+
+public String toString()
+
+
+
Overrides:
toString in class Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/backend/graphite/SocketOutputStreamPoolFactory.html b/docs/api/org/apache/jmeter/visualizers/backend/graphite/SocketOutputStreamPoolFactory.html new file mode 100644 index 00000000000..49c0dec7f38 --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/backend/graphite/SocketOutputStreamPoolFactory.html @@ -0,0 +1,384 @@ + + + + + +SocketOutputStreamPoolFactory (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers.backend.graphite +
+Class SocketOutputStreamPoolFactory

+
+java.lang.Object
+  extended by org.apache.commons.pool2.BaseKeyedPooledObjectFactory<SocketConnectionInfos,SocketOutputStream>
+      extended by org.apache.jmeter.visualizers.backend.graphite.SocketOutputStreamPoolFactory
+
+
+
All Implemented Interfaces:
org.apache.commons.pool2.KeyedPooledObjectFactory<SocketConnectionInfos,SocketOutputStream>
+
+
+
+
public class SocketOutputStreamPoolFactory
extends org.apache.commons.pool2.BaseKeyedPooledObjectFactory<SocketConnectionInfos,SocketOutputStream>
implements org.apache.commons.pool2.KeyedPooledObjectFactory<SocketConnectionInfos,SocketOutputStream>
+ + +

+Pool Factory of SocketOutputStream +

+ +

+

+
Since:
+
2.13
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
SocketOutputStreamPoolFactory(int socketConnectTimeoutInMillis, + int socketTimeoutInMillis) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ SocketOutputStreamcreate(SocketConnectionInfos connectionInfos) + +
+           
+ voiddestroyObject(SocketConnectionInfos socketConnectionInfos, + org.apache.commons.pool2.PooledObject<SocketOutputStream> socketOutputStream) + +
+           
+ org.apache.commons.pool2.PooledObject<SocketOutputStream>makeObject(SocketConnectionInfos connectionInfos) + +
+           
+ booleanvalidateObject(SocketConnectionInfos HostAndPort, + org.apache.commons.pool2.PooledObject<SocketOutputStream> socketOutputStream) + +
+           
+ org.apache.commons.pool2.PooledObject<SocketOutputStream>wrap(SocketOutputStream outputStream) + +
+           
+ + + + + + + +
Methods inherited from class org.apache.commons.pool2.BaseKeyedPooledObjectFactory
activateObject, passivateObject
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.commons.pool2.KeyedPooledObjectFactory
activateObject, passivateObject
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SocketOutputStreamPoolFactory

+
+public SocketOutputStreamPoolFactory(int socketConnectTimeoutInMillis,
+                                     int socketTimeoutInMillis)
+
+
+ + + + + + + + +
+Method Detail
+ +

+makeObject

+
+public org.apache.commons.pool2.PooledObject<SocketOutputStream> makeObject(SocketConnectionInfos connectionInfos)
+                                                                     throws Exception
+
+
+
Specified by:
makeObject in interface org.apache.commons.pool2.KeyedPooledObjectFactory<SocketConnectionInfos,SocketOutputStream>
Overrides:
makeObject in class org.apache.commons.pool2.BaseKeyedPooledObjectFactory<SocketConnectionInfos,SocketOutputStream>
+
+
+ +
Throws: +
Exception
+
+
+
+ +

+destroyObject

+
+public void destroyObject(SocketConnectionInfos socketConnectionInfos,
+                          org.apache.commons.pool2.PooledObject<SocketOutputStream> socketOutputStream)
+                   throws Exception
+
+
+
Specified by:
destroyObject in interface org.apache.commons.pool2.KeyedPooledObjectFactory<SocketConnectionInfos,SocketOutputStream>
Overrides:
destroyObject in class org.apache.commons.pool2.BaseKeyedPooledObjectFactory<SocketConnectionInfos,SocketOutputStream>
+
+
+ +
Throws: +
Exception
+
+
+
+ +

+validateObject

+
+public boolean validateObject(SocketConnectionInfos HostAndPort,
+                              org.apache.commons.pool2.PooledObject<SocketOutputStream> socketOutputStream)
+
+
+
Specified by:
validateObject in interface org.apache.commons.pool2.KeyedPooledObjectFactory<SocketConnectionInfos,SocketOutputStream>
Overrides:
validateObject in class org.apache.commons.pool2.BaseKeyedPooledObjectFactory<SocketConnectionInfos,SocketOutputStream>
+
+
+
+
+
+
+ +

+create

+
+public SocketOutputStream create(SocketConnectionInfos connectionInfos)
+                          throws Exception
+
+
+
Specified by:
create in class org.apache.commons.pool2.BaseKeyedPooledObjectFactory<SocketConnectionInfos,SocketOutputStream>
+
+
+ +
Throws: +
Exception
+
+
+
+ +

+wrap

+
+public org.apache.commons.pool2.PooledObject<SocketOutputStream> wrap(SocketOutputStream outputStream)
+
+
+
Specified by:
wrap in class org.apache.commons.pool2.BaseKeyedPooledObjectFactory<SocketConnectionInfos,SocketOutputStream>
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/backend/graphite/package-frame.html b/docs/api/org/apache/jmeter/visualizers/backend/graphite/package-frame.html new file mode 100644 index 00000000000..96e1994aa0f --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/backend/graphite/package-frame.html @@ -0,0 +1,36 @@ + + + + + +org.apache.jmeter.visualizers.backend.graphite (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.visualizers.backend.graphite + + + + +
+Classes  + +
+GraphiteBackendListenerClient +
+SocketConnectionInfos +
+SocketOutputStream +
+SocketOutputStreamPoolFactory
+ + + + diff --git a/docs/api/org/apache/jmeter/visualizers/backend/graphite/package-summary.html b/docs/api/org/apache/jmeter/visualizers/backend/graphite/package-summary.html new file mode 100644 index 00000000000..15e8208350c --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/backend/graphite/package-summary.html @@ -0,0 +1,165 @@ + + + + + +org.apache.jmeter.visualizers.backend.graphite (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.visualizers.backend.graphite +

+ + + + + + + + + + + + + + + + + + + + + +
+Class Summary
GraphiteBackendListenerClientGraphite based Listener using Pickle Protocol
SocketConnectionInfosBean to embed host/port to Graphite
SocketOutputStreamConvenience class for writing bytes to a Socket.
SocketOutputStreamPoolFactoryPool Factory of SocketOutputStream
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/backend/graphite/package-tree.html b/docs/api/org/apache/jmeter/visualizers/backend/graphite/package-tree.html new file mode 100644 index 00000000000..660d02f3dad --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/backend/graphite/package-tree.html @@ -0,0 +1,162 @@ + + + + + +org.apache.jmeter.visualizers.backend.graphite Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.visualizers.backend.graphite +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/backend/package-frame.html b/docs/api/org/apache/jmeter/visualizers/backend/package-frame.html new file mode 100644 index 00000000000..e5ac71583ce --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/backend/package-frame.html @@ -0,0 +1,51 @@ + + + + + +org.apache.jmeter.visualizers.backend (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.visualizers.backend + + + + +
+Interfaces  + +
+BackendListenerClient
+ + + + + + +
+Classes  + +
+AbstractBackendListenerClient +
+BackendListener +
+BackendListenerContext +
+BackendListenerGui +
+SamplerMetric +
+UserMetric
+ + + + diff --git a/docs/api/org/apache/jmeter/visualizers/backend/package-summary.html b/docs/api/org/apache/jmeter/visualizers/backend/package-summary.html new file mode 100644 index 00000000000..5de8919b6cc --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/backend/package-summary.html @@ -0,0 +1,190 @@ + + + + + +org.apache.jmeter.visualizers.backend (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.visualizers.backend +

+ + + + + + + + + +
+Interface Summary
BackendListenerClientThis interface defines the interactions between the BackendListener and external + Java programs which can be executed by JMeter.
+  + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
AbstractBackendListenerClientAn abstract implementation of the BackendListenerClient interface.
BackendListenerAsync Listener that delegates SampleResult handling to implementations of BackendListenerClient
BackendListenerContextBackendListenerContext is used to provide context information to a + BackendListenerClient implementation.
BackendListenerGuiThe BackendListenerGui class provides the user interface for the + BackendListener object.
SamplerMetricSampler metric
UserMetricUser metric
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/backend/package-tree.html b/docs/api/org/apache/jmeter/visualizers/backend/package-tree.html new file mode 100644 index 00000000000..3e7ca023656 --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/backend/package-tree.html @@ -0,0 +1,176 @@ + + + + + +org.apache.jmeter.visualizers.backend Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.visualizers.backend +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/gui/AbstractListenerGui.html b/docs/api/org/apache/jmeter/visualizers/gui/AbstractListenerGui.html new file mode 100644 index 00000000000..569f679364f --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/gui/AbstractListenerGui.html @@ -0,0 +1,452 @@ + + + + + +AbstractListenerGui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers.gui +
+Class AbstractListenerGui

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.visualizers.gui.AbstractListenerGui
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ClearGui, JMeterGUIComponent, Printable
+
+
+
Direct Known Subclasses:
AbstractVisualizer, BackendListenerGui, ResultSaverGui, SummariserGui
+
+
+
+
public abstract class AbstractListenerGui
extends AbstractJMeterGuiComponent
+ + +

+Basic Listener/Visualiser Gui class to correspond with AbstractPreProcessorGui etc. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
AbstractListenerGui() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ JPopupMenucreatePopupMenu() + +
+          When a user right-clicks on the component in the test tree, or selects + the edit menu when the component is selected, the component will be asked + to return a JPopupMenu that provides all the options available to the + user from this component.
+ Collection<String>getMenuCategories() + +
+          This is the list of menu categories this gui component will be available + under.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
clearGui, configure, configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, makeTitlePanel, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.gui.JMeterGUIComponent
createTestElement, getLabelResource, modifyTestElement
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+AbstractListenerGui

+
+public AbstractListenerGui()
+
+
+ + + + + + + + +
+Method Detail
+ +

+createPopupMenu

+
+public JPopupMenu createPopupMenu()
+
+
When a user right-clicks on the component in the test tree, or selects + the edit menu when the component is selected, the component will be asked + to return a JPopupMenu that provides all the options available to the + user from this component. +

+ This implementation returns menu items appropriate for most visualizer + components. +

+

+ +
Returns:
a JPopupMenu appropriate for the component.
+
+
+
+ +

+getMenuCategories

+
+public Collection<String> getMenuCategories()
+
+
This is the list of menu categories this gui component will be available + under. This implementation returns + MenuFactory.LISTENERS, which is + appropriate for most visualizer components. +

+

+ +
Returns:
a Collection of Strings, where each element is one of the + constants defined in MenuFactory
See Also:
MenuFactory
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/gui/AbstractVisualizer.html b/docs/api/org/apache/jmeter/visualizers/gui/AbstractVisualizer.html new file mode 100644 index 00000000000..ff3e2cd1bb4 --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/gui/AbstractVisualizer.html @@ -0,0 +1,926 @@ + + + + + +AbstractVisualizer (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers.gui +
+Class AbstractVisualizer

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jmeter.gui.AbstractJMeterGuiComponent
+                      extended by org.apache.jmeter.visualizers.gui.AbstractListenerGui
+                          extended by org.apache.jmeter.visualizers.gui.AbstractVisualizer
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, EventListener, Accessible, ChangeListener, ClearGui, JMeterGUIComponent, UnsharedComponent, Clearable, Printable, Visualizer
+
+
+
Direct Known Subclasses:
AssertionVisualizer, ComparisonVisualizer, DistributionGraphVisualizer, GraphVisualizer, MailerVisualizer, MonitorHealthVisualizer, RespTimeGraphVisualizer, SimpleDataWriter, SplineVisualizer, StatGraphVisualizer, StatVisualizer, SummaryReport, TableVisualizer, ViewResultsFullVisualizer
+
+
+
+
public abstract class AbstractVisualizer
extends AbstractListenerGui
implements Visualizer, ChangeListener, UnsharedComponent, Clearable
+ + +

+This is the base class for JMeter GUI components which can display test + results in some way. It provides the following conveniences to developers: +

    +
  • Implements the + JMeterGUIComponent interface + that allows your Gui visualizer to "plug-in" to the JMeter GUI environment. + Provides implementations for the following methods: + +
  • +
  • Provides convenience methods to help you make a JMeter-compatible GUI: +
      +
    • makeTitlePanel(). Returns a panel that includes the name of + the component, and a FilePanel that allows users to control what file samples + are logged to.
    • +
    • getModel() and setModel(ResultCollector) methods for + setting and getting the model class that handles the receiving and logging of + sample results.
    • +
    +
  • +
+ For most developers, making a new visualizer is primarly for the purpose of + either calculating new statistics on the sample results that other + visualizers don't calculate, or displaying the results visually in a new and + interesting way. Making a new visualizer for either of these purposes is easy - + just extend this class and implement the + add(SampleResult) + method and display the results as you see fit. This AbstractVisualizer and + the default + ResultCollector handle + logging and registering to receive SampleEvents for you - all you need to do + is include the JPanel created by makeTitlePanel somewhere in your gui to + allow users set the log file. +

+ If you are doing more than that, you may need to extend + ResultCollector as well + and modify the configure(TestElement), + modifyTestElement(TestElement), and createTestElement() + methods to create and modify your alternate ResultCollector. For an example + of this, see the + MailerVisualizer. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + + + + + + + + + +
+Field Summary
+protected  ResultCollectorcollector + +
+           
+protected  booleanisStats + +
+           
+ + + + + + + +
Fields inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
namePanel
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
AbstractVisualizer() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclearGui() + +
+          Provides a default implementation that resets the name field to the value of + getStaticLabel(), reset comment and sets enabled to true.
+ voidconfigure(TestElement el) + +
+          A newly created gui component can be initialized with the contents of a + Test Element object by calling this method.
+protected  voidconfigureTestElement(AbstractListenerElement mc) + +
+          This provides a convenience for extenders when they implement the + JMeterGUIComponent.createTestElement() + method.
+ TestElementcreateTestElement() + +
+          JMeter test components are separated into a model and a GUI + representation.
+protected  JCheckBoxgetErrorLoggingCheckbox() + +
+          Gets the checkbox which selects whether or not only errors should be + logged.
+ StringgetFile() + +
+          Gets the filename which has been entered in the FilePanel.
+protected  ComponentgetFilePanel() + +
+          Gets the file panel which allows the user to save results to a file.
+protected  ResultCollectorgetModel() + +
+          Provides access to the ResultCollector model class for extending + implementations.
+ booleanisStats() + +
+          This method is used to indicate a visualizer generates statistics.
+protected  ContainermakeTitlePanel() + +
+          Create a standard title section for JMeter components.
+ voidmodifyTestElement(TestElement c) + +
+          GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components.
+ voidsetFile(String filename) + +
+          Sets the filename which results will be saved to.
+protected  voidsetModel(ResultCollector collector) + +
+          Provides extending classes the opportunity to set the ResultCollector + model for the Visualizer.
+ voidstateChanged(ChangeEvent e) + +
+          Invoked when the target of the listener has changed its state.
+ + + + + + + +
Methods inherited from class org.apache.jmeter.visualizers.gui.AbstractListenerGui
createPopupMenu, getMenuCategories
+ + + + + + + +
Methods inherited from class org.apache.jmeter.gui.AbstractJMeterGuiComponent
configureTestElement, createTitleLabel, getComment, getDocAnchor, getName, getNamePanel, getPrintableComponent, getStaticLabel, isEnabled, makeBorder, makeScrollPane, makeScrollPane, setComment, setEnabled, setName
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.visualizers.Visualizer
add
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.samplers.Clearable
clearData
+ + + + + + + +
Methods inherited from interface org.apache.jmeter.gui.JMeterGUIComponent
getLabelResource
+  +

+ + + + + + + + +
+Field Detail
+ +

+collector

+
+protected ResultCollector collector
+
+
+
+
+
+ +

+isStats

+
+protected boolean isStats
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+AbstractVisualizer

+
+public AbstractVisualizer()
+
+
+ + + + + + + + +
+Method Detail
+ +

+isStats

+
+public boolean isStats()
+
+
Description copied from interface: Visualizer
+
This method is used to indicate a visualizer generates statistics. +

+

+
Specified by:
isStats in interface Visualizer
+
+
+ +
Returns:
true if visualiser generates statistics
+
+
+
+ +

+getErrorLoggingCheckbox

+
+protected JCheckBox getErrorLoggingCheckbox()
+
+
Gets the checkbox which selects whether or not only errors should be + logged. Subclasses don't normally need to worry about this checkbox, + because it is automatically added to the GUI in makeTitlePanel(), + and the behavior is handled in this base class. +

+

+
+
+
+ +
Returns:
the error logging checkbox
+
+
+
+ +

+getModel

+
+protected ResultCollector getModel()
+
+
Provides access to the ResultCollector model class for extending + implementations. Using this method and setModel(ResultCollector) is only + necessary if your visualizer requires a differently behaving + ResultCollector. Using these methods will allow maximum reuse of the + methods provided by AbstractVisualizer in this event. +

+

+
+
+
+ +
Returns:
the associated collector
+
+
+
+ +

+getFilePanel

+
+protected Component getFilePanel()
+
+
Gets the file panel which allows the user to save results to a file. + Subclasses don't normally need to worry about this panel, because it is + automatically added to the GUI in makeTitlePanel(), and the + behavior is handled in this base class. +

+

+
+
+
+ +
Returns:
the file panel allowing users to save results
+
+
+
+ +

+setFile

+
+public void setFile(String filename)
+
+
Sets the filename which results will be saved to. This will set the + filename in the FilePanel. Subclasses don't normally need to call this + method, because configuration of the FilePanel is handled in this base + class. +

+

+
+
+
+
Parameters:
filename - the new filename
See Also:
getFilePanel()
+
+
+
+ +

+getFile

+
+public String getFile()
+
+
Gets the filename which has been entered in the FilePanel. Subclasses + don't normally need to call this method, because configuration of the + FilePanel is handled in this base class. +

+

+
+
+
+ +
Returns:
the current filename
See Also:
getFilePanel()
+
+
+
+ +

+stateChanged

+
+public void stateChanged(ChangeEvent e)
+
+
Invoked when the target of the listener has changed its state. This + implementation assumes that the target is the FilePanel, and will update + the result collector for the new filename. +

+

+
Specified by:
stateChanged in interface ChangeListener
+
+
+
Parameters:
e - the event that has occurred
+
+
+
+ +

+createTestElement

+
+public TestElement createTestElement()
+
+
Description copied from interface: JMeterGUIComponent
+
JMeter test components are separated into a model and a GUI + representation. The model holds the data and the GUI displays it. The GUI + class is responsible for knowing how to create and initialize with data + the model class that it knows how to display, and this method is called + when new test elements are created. +

+

+
Specified by:
createTestElement in interface JMeterGUIComponent
+
+
+ +
Returns:
the Test Element object that the GUI component represents.
+
+
+
+ +

+modifyTestElement

+
+public void modifyTestElement(TestElement c)
+
+
Description copied from interface: JMeterGUIComponent
+
GUI components are responsible for populating TestElements they create + with the data currently held in the GUI components. This method should + overwrite whatever data is currently in the TestElement as it is called + after a user has filled out the form elements in the gui with new + information. +

+

+
Specified by:
modifyTestElement in interface JMeterGUIComponent
+
+
+
Parameters:
c - the TestElement to modify
+
+
+
+ +

+configure

+
+public void configure(TestElement el)
+
+
Description copied from class: AbstractJMeterGuiComponent
+
A newly created gui component can be initialized with the contents of a + Test Element object by calling this method. The component is responsible + for querying the Test Element object for the relevant information to + display in its GUI. +

+ AbstractJMeterGuiComponent provides a partial implementation of this + method, setting the name of the component and its enabled status. + Subclasses should override this method, performing their own + configuration as needed, but also calling this super-implementation. +

+

+
Specified by:
configure in interface JMeterGUIComponent
Overrides:
configure in class AbstractJMeterGuiComponent
+
+
+
Parameters:
el - the TestElement to configure
+
+
+
+ +

+configureTestElement

+
+protected void configureTestElement(AbstractListenerElement mc)
+
+
This provides a convenience for extenders when they implement the + JMeterGUIComponent.createTestElement() + method. This method will set the name, gui class, and test class for the + created Test Element. It should be called by every extending class when + creating Test Elements, as that will best assure consistent behavior. +

+

+
+
+
+
Parameters:
mc - the TestElement being created.
+
+
+
+ +

+makeTitlePanel

+
+protected Container makeTitlePanel()
+
+
Create a standard title section for JMeter components. This includes the + title for the component and the Name Panel allowing the user to change + the name for the component. The AbstractVisualizer also adds the + FilePanel allowing the user to save the results, and the error logging + checkbox, allowing the user to choose whether or not only errors should + be logged. +

+ This method is typically added to the top of the component at the + beginning of the component's init method. +

+

+
Overrides:
makeTitlePanel in class AbstractJMeterGuiComponent
+
+
+ +
Returns:
a panel containing the component title, name panel, file panel, + and error logging checkbox
+
+
+
+ +

+setModel

+
+protected void setModel(ResultCollector collector)
+
+
Provides extending classes the opportunity to set the ResultCollector + model for the Visualizer. This is useful to allow maximum reuse of the + methods from AbstractVisualizer. +

+

+
+
+
+
Parameters:
collector - ResultCollector for the visualizer
+
+
+
+ +

+clearGui

+
+public void clearGui()
+
+
Description copied from class: AbstractJMeterGuiComponent
+
Provides a default implementation that resets the name field to the value of + getStaticLabel(), reset comment and sets enabled to true. Your GUI may need more things + cleared, in which case you should override, clear the extra fields, and + still call super.clearGui(). +

+

+
Specified by:
clearGui in interface ClearGui
Overrides:
clearGui in class AbstractJMeterGuiComponent
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/gui/package-frame.html b/docs/api/org/apache/jmeter/visualizers/gui/package-frame.html new file mode 100644 index 00000000000..fd2cba7b4bc --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/gui/package-frame.html @@ -0,0 +1,32 @@ + + + + + +org.apache.jmeter.visualizers.gui (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.visualizers.gui + + + + +
+Classes  + +
+AbstractListenerGui +
+AbstractVisualizer
+ + + + diff --git a/docs/api/org/apache/jmeter/visualizers/gui/package-summary.html b/docs/api/org/apache/jmeter/visualizers/gui/package-summary.html new file mode 100644 index 00000000000..fc34a431247 --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/gui/package-summary.html @@ -0,0 +1,158 @@ + + + + + +org.apache.jmeter.visualizers.gui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.visualizers.gui +

+ + + + + + + + + + + + + +
+Class Summary
AbstractListenerGuiBasic Listener/Visualiser Gui class to correspond with AbstractPreProcessorGui etc.
AbstractVisualizerThis is the base class for JMeter GUI components which can display test + results in some way.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/gui/package-tree.html b/docs/api/org/apache/jmeter/visualizers/gui/package-tree.html new file mode 100644 index 00000000000..081a420a685 --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/gui/package-tree.html @@ -0,0 +1,166 @@ + + + + + +org.apache.jmeter.visualizers.gui Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.visualizers.gui +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/package-frame.html b/docs/api/org/apache/jmeter/visualizers/package-frame.html new file mode 100644 index 00000000000..7fce87ee06f --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/package-frame.html @@ -0,0 +1,179 @@ + + + + + +org.apache.jmeter.visualizers (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.visualizers + + + + +
+Interfaces  + +
+AccumListener +
+GraphListener +
+ImageVisualizer +
+MonitorGuiListener +
+MonitorListener +
+Printable +
+RequestView +
+ResultRenderer +
+Visualizer
+ + + + + + +
+Classes  + +
+AssertionVisualizer +
+AxisGraph +
+BarGraph +
+BeanShellListener +
+BeanShellListenerBeanInfo +
+BSFListener +
+BSFListenerBeanInfo +
+CachingStatCalculator +
+ComparisonVisualizer +
+DistributionGraph +
+DistributionGraphVisualizer +
+Graph +
+GraphVisualizer +
+JSR223Listener +
+JSR223ListenerBeanInfo +
+LineGraph +
+MailerVisualizer +
+MonitorAccumModel +
+MonitorGraph +
+MonitorHealthPanel +
+MonitorHealthVisualizer +
+MonitorModel +
+MonitorPerformancePanel +
+MonitorStats +
+MonitorTabPane +
+PropertyControlGui +
+RenderAsCssJQuery +
+RenderAsDocument +
+RenderAsHTML +
+RenderAsHTMLWithEmbedded +
+RenderAsJSON +
+RenderAsRegexp +
+RenderAsText +
+RenderAsXML +
+RenderAsXPath +
+RequestPanel +
+RequestViewRaw +
+RespTimeGraphChart +
+RespTimeGraphDataBean +
+RespTimeGraphLineBean +
+RespTimeGraphVisualizer +
+RunningSample +
+Sample +
+SamplerResultTab +
+SamplerResultTab.RowResult +
+SamplingStatCalculator +
+SearchTextExtension +
+ServerPanel +
+SimpleDataWriter +
+Spline3 +
+SplineModel +
+SplineVisualizer +
+StatGraphProperties +
+StatGraphVisualizer +
+StatVisualizer +
+SummaryReport +
+TableSample +
+TableVisualizer +
+TableVisualizer.SampleSuccessFunctor +
+TreeNodeRenderer +
+ViewResultsFullVisualizer +
+XMLDefaultMutableTreeNode
+ + + + diff --git a/docs/api/org/apache/jmeter/visualizers/package-summary.html b/docs/api/org/apache/jmeter/visualizers/package-summary.html new file mode 100644 index 00000000000..5c6f4134e57 --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/package-summary.html @@ -0,0 +1,474 @@ + + + + + +org.apache.jmeter.visualizers (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.visualizers +

+This package contains the interfaces that have to be implemented by +any class wishing to display or present data collected in SampleResults. +

+See: +
+          Description +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Interface Summary
AccumListener 
GraphListener 
ImageVisualizerTODO - interface is used but getImage() does not appear to be used
MonitorGuiListener 
MonitorListener 
PrintablePrintable is used by components that can be saved to an external file.
RequestViewInterface for request panel in View Results Tree + All classes which implements this interface is display + on bottom tab in request panel
ResultRendererInterface to results render
VisualizerImplement this method to be a Visualizer for JMeter.
+  + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
AssertionVisualizer 
AxisGraphAxis graph is used by StatGraphVisualizer, which generates bar graphs + from the statistical data.
BarGraph 
BeanShellListener 
BeanShellListenerBeanInfo 
BSFListener 
BSFListenerBeanInfo 
CachingStatCalculatorProvides storage of samples in addition to calculations
ComparisonVisualizer 
DistributionGraphNew graph for drawing distribution graph of the results.
DistributionGraphVisualizerThis class implements the visualizer for displaying the distribution graph.
GraphImplements a simple graph for displaying performance results.
GraphVisualizerThis class implements a statistical analyser that calculates both the average + and the standard deviation of the sampling process and outputs them as + autoscaling plots.
JSR223Listener 
JSR223ListenerBeanInfo 
LineGraphAxis graph is used by StatGraphVisualizer, which generates bar graphs + from the statistical data.
MailerVisualizerThis class implements a visualizer that mails a message when an error occurs.
MonitorAccumModel 
MonitorGraphMonitorGraph will draw the performance history of a given server.
MonitorHealthPanelThe health panel is responsible for showing the health of the servers.
MonitorHealthVisualizerFor performance reasons, I am using tabs for the visualizers.
MonitorModel 
MonitorPerformancePanel 
MonitorStats 
MonitorTabPane 
PropertyControlGui 
RenderAsCssJQueryImplement ResultsRender for CSS/JQuery tester
RenderAsDocument 
RenderAsHTML 
RenderAsHTMLWithEmbedded 
RenderAsJSON 
RenderAsRegexpImplement ResultsRender for Regexp tester
RenderAsText 
RenderAsXML 
RenderAsXPathImplement ResultsRender for XPath tester
RequestPanelManipulate all classes which implements request view panel interface + and return a super panel with a bottom tab list of this classes
RequestViewRaw(historical) Panel to view request data
RespTimeGraphChart 
RespTimeGraphDataBeanBean to hold timing information about samples
RespTimeGraphLineBeanBean to represent information about a graph line
RespTimeGraphVisualizer 
RunningSample + Running sample data container.
Sample 
SamplerResultTabRight side in View Results Tree
SamplerResultTab.RowResultFor model table
SamplingStatCalculatorAggregate sample data container.
SearchTextExtension 
ServerPanelThe purpose of ServerPanel is to display an unique server and its current + status.
SimpleDataWriterThis listener can record results to a file but not to the UI.
Spline3This class implements the representation of an interpolated Spline curve.
SplineModel 
SplineVisualizerThis class implements a statistical analyser that takes samples to process a + Spline interpolated curve.
StatGraphProperties 
StatGraphVisualizerAggregrate Table-Based Reporting Visualizer for JMeter.
StatVisualizerAggregrate Table-Based Reporting Visualizer for JMeter.
SummaryReportSimpler (lower memory) version of Aggregate Report (StatVisualizer).
TableSampleClass to hold data for the TableVisualiser.
TableVisualizerThis class implements a statistical analyser that calculates both the average + and the standard deviation of the sampling process.
TableVisualizer.SampleSuccessFunctor 
TreeNodeRendererTree cell renderer used by ComparisonVisualizer.
ViewResultsFullVisualizerBase for ViewResults
XMLDefaultMutableTreeNodeA extended class of DefaultMutableTreeNode except that it also attached XML + node and convert XML document into DefaultMutableTreeNode.
+  + +

+

+Package org.apache.jmeter.visualizers Description +

+ +

+This package contains the interfaces that have to be implemented by +any class wishing to display or present data collected in SampleResults. +

+The primary classes/interfaces to be concerned with for implementers is the Visualizer interface, and the AbstractVisualizer abstract class. +

+ +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/package-tree.html b/docs/api/org/apache/jmeter/visualizers/package-tree.html new file mode 100644 index 00000000000..d2d1e1b23ce --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/package-tree.html @@ -0,0 +1,266 @@ + + + + + +org.apache.jmeter.visualizers Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.visualizers +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/utils/Colors.html b/docs/api/org/apache/jmeter/visualizers/utils/Colors.html new file mode 100644 index 00000000000..8848f824610 --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/utils/Colors.html @@ -0,0 +1,305 @@ + + + + + +Colors (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jmeter.visualizers.utils +
+Class Colors

+
+java.lang.Object
+  extended by org.apache.jmeter.visualizers.utils.Colors
+
+
+
+
public class Colors
extends Object
+ + +

+


+ +

+ + + + + + + + + + + + + + + +
+Field Summary
+protected static StringDEFAULT_COLORS_PROPERTY_FILE + +
+           
+protected static StringUSER_DEFINED_COLORS_PROPERTY_FILE + +
+           
+  + + + + + + + + + + +
+Constructor Summary
Colors() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static List<Color>getColors() + +
+          Parse icon set file.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+DEFAULT_COLORS_PROPERTY_FILE

+
+protected static final String DEFAULT_COLORS_PROPERTY_FILE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+USER_DEFINED_COLORS_PROPERTY_FILE

+
+protected static final String USER_DEFINED_COLORS_PROPERTY_FILE
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+Colors

+
+public Colors()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getColors

+
+public static List<Color> getColors()
+
+
Parse icon set file. +

+

+ +
Returns:
List of icons/action definition
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/utils/package-frame.html b/docs/api/org/apache/jmeter/visualizers/utils/package-frame.html new file mode 100644 index 00000000000..4b1623d2039 --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/utils/package-frame.html @@ -0,0 +1,30 @@ + + + + + +org.apache.jmeter.visualizers.utils (Apache JMeter API) + + + + + + + + + + +org.apache.jmeter.visualizers.utils + + + + +
+Classes  + +
+Colors
+ + + + diff --git a/docs/api/org/apache/jmeter/visualizers/utils/package-summary.html b/docs/api/org/apache/jmeter/visualizers/utils/package-summary.html new file mode 100644 index 00000000000..2093dcdc3b4 --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/utils/package-summary.html @@ -0,0 +1,153 @@ + + + + + +org.apache.jmeter.visualizers.utils (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jmeter.visualizers.utils +

+ + + + + + + + + +
+Class Summary
Colors 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jmeter/visualizers/utils/package-tree.html b/docs/api/org/apache/jmeter/visualizers/utils/package-tree.html new file mode 100644 index 00000000000..e4aaaca4188 --- /dev/null +++ b/docs/api/org/apache/jmeter/visualizers/utils/package-tree.html @@ -0,0 +1,149 @@ + + + + + +org.apache.jmeter.visualizers.utils Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jmeter.visualizers.utils +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+
    +
  • java.lang.Object
      +
    • org.apache.jmeter.visualizers.utils.Colors
    +
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jorphan/collections/Data.html b/docs/api/org/apache/jorphan/collections/Data.html new file mode 100644 index 00000000000..37ab7de4850 --- /dev/null +++ b/docs/api/org/apache/jorphan/collections/Data.html @@ -0,0 +1,1111 @@ + + + + + +Data (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jorphan.collections +
+Class Data

+
+java.lang.Object
+  extended by org.apache.jorphan.collections.Data
+
+
+
All Implemented Interfaces:
Serializable
+
+
+
+
public class Data
extends Object
implements Serializable
+ + +

+Use this class to store database-like data. This class uses rows and columns + to organize its data. It has some convenience methods that allow fast loading + and retrieval of the data into and out of string arrays. It is also handy for + reading CSV files. + + WARNING: the class assumes that column names are unique, but does not enforce this. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
Data() + +
+          Constructor - takes no arguments.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddColumnValue(String column, + Object value) + +
+          Adds a value into the Data set at the current row, using a column name to + find the column in which to insert the new value.
+ voidaddHeader(String s) + +
+          Adds a header name to the Data object.
+ voidaddRow() + +
+           
+ voidappend(Data d) + +
+          Adds the rows of the given Data object to this Data object.
+ intfindValue(String column, + Object value) + +
+          Returns the row number where a certain value is.
+ String[]getColumn(String columnName) + +
+          This method will retrieve every entry in a certain column.
+ List<Object>getColumnAsObjectArray(String columnName) + +
+          This method will retrieve every entry in a certain column.
+ ObjectgetColumnValue(int column) + +
+          Gets the value in the current row of the given column.
+ ObjectgetColumnValue(int column, + int row) + +
+           
+ ObjectgetColumnValue(String column) + +
+          Gets the value in the current row of the given column.
+ intgetCurrentPos() + +
+          Get the number of the current row.
+ String[]getDataAsText() + +
+          Returns all the data in the Data set as an array of strings.
+static DatagetDataFromResultSet(ResultSet rs) + +
+          Gets a Data object from a ResultSet.
+ intgetHeaderCount() + +
+           
+ String[]getHeaders() + +
+          Returns a String array of the column headers.
+ booleanhasHeader(String column) + +
+          Checks to see if a column exists in the Data object.
+ booleannext() + +
+          Sets the current position of the Data set to the next row.
+ booleanprevious() + +
+          Sets the current position of the Data set to the previous row.
+ voidremoveColumn(int col) + +
+           
+ voidremoveRow() + +
+          Removes the current row.
+ voidremoveRow(int index) + +
+           
+ voidreplaceHeader(String oldHeader, + String newHeader) + +
+          Replaces the given header name with a new header name.
+ voidreset() + +
+          Resets the current position of the data set to just before the first + element.
+ voidsetColumnData(int col, + List<?> data) + +
+           
+ voidsetColumnData(String colName, + Object value) + +
+          Sets the data for every row in the column.
+ voidsetColumnValue(String column, + Object value) + +
+          Sets the value in the Data set at the current row, using a column name to + find the column in which to insert the new value.
+ voidsetCurrentPos(int r) + +
+          Sets the current pos.
+ voidsetData(String[] contents, + String delimiter) + +
+          Use this method to set the entire data set.
+ voidsetHeaders(String[] h) + +
+          Sets the headers for the data set.
+ voidsetLine(String[] line) + +
+          Sets a row of data using an array of strings as input.
+ voidsetLine(String[] line, + String deflt) + +
+          Sets a row of data using an array of strings as input.
+ intsize() + +
+          Gets the number of rows in the Data object.
+ voidsort(String column, + boolean asc) + +
+          Sorts the data using a given row as the sorting criteria.
+ StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Data

+
+public Data()
+
+
Constructor - takes no arguments. +

+

+ + + + + + + + +
+Method Detail
+ +

+replaceHeader

+
+public void replaceHeader(String oldHeader,
+                          String newHeader)
+
+
Replaces the given header name with a new header name. +

+

+
+
+
+
Parameters:
oldHeader - Old header name.
newHeader - New header name.
+
+
+
+ +

+append

+
+public void append(Data d)
+
+
Adds the rows of the given Data object to this Data object. +

+

+
+
+
+
Parameters:
d - data object to be appended to this one
+
+
+
+ +

+getCurrentPos

+
+public int getCurrentPos()
+
+
Get the number of the current row. +

+

+
+
+
+ +
Returns:
integer representing the current row
+
+
+
+ +

+removeRow

+
+public void removeRow()
+
+
Removes the current row. +

+

+
+
+
+
+
+
+
+ +

+removeRow

+
+public void removeRow(int index)
+
+
+
+
+
+
+
+
+
+ +

+addRow

+
+public void addRow()
+
+
+
+
+
+
+
+
+
+ +

+setCurrentPos

+
+public void setCurrentPos(int r)
+
+
Sets the current pos. If value sent to method is not a valid number, the + current position is set to one higher than the maximum. +

+

+
+
+
+
Parameters:
r - position to set to.
+
+
+
+ +

+sort

+
+public void sort(String column,
+                 boolean asc)
+
+
Sorts the data using a given row as the sorting criteria. A boolean value + indicates whether to sort ascending or descending. +

+

+
+
+
+
Parameters:
column - name of column to use as sorting criteria.
asc - boolean value indicating whether to sort ascending or + descending. True for asc, false for desc. Currently this + feature is not enabled and all sorts are asc.
+
+
+
+ +

+size

+
+public int size()
+
+
Gets the number of rows in the Data object. +

+

+
+
+
+ +
Returns:
number of rows in Data object.
+
+
+
+ +

+addColumnValue

+
+public void addColumnValue(String column,
+                           Object value)
+
+
Adds a value into the Data set at the current row, using a column name to + find the column in which to insert the new value. +

+

+
+
+
+
Parameters:
column - the name of the column to set.
value - value to set into column.
+
+
+
+ +

+findValue

+
+public int findValue(String column,
+                     Object value)
+
+
Returns the row number where a certain value is. +

+

+
+
+
+
Parameters:
column - column to be searched for value.
value - object in Search of. +
Returns:
row # where value exists.
+
+
+
+ +

+setColumnValue

+
+public void setColumnValue(String column,
+                           Object value)
+
+
Sets the value in the Data set at the current row, using a column name to + find the column in which to insert the new value. +

+

+
+
+
+
Parameters:
column - the name of the column to set.
value - value to set into column.
+
+
+
+ +

+hasHeader

+
+public boolean hasHeader(String column)
+
+
Checks to see if a column exists in the Data object. +

+

+
+
+
+
Parameters:
column - Name of column header to check for. +
Returns:
True or False depending on whether the column exists.
+
+
+
+ +

+next

+
+public boolean next()
+
+
Sets the current position of the Data set to the next row. +

+

+
+
+
+ +
Returns:
True if there is another row. False if there are no more rows.
+
+
+
+ +

+getDataFromResultSet

+
+public static Data getDataFromResultSet(ResultSet rs)
+                                 throws SQLException
+
+
Gets a Data object from a ResultSet. +

+

+
+
+
+
Parameters:
rs - ResultSet passed in from a database query +
Returns:
a Data object +
Throws: +
SQLException - when database access errors occur
+
+
+
+ +

+previous

+
+public boolean previous()
+
+
Sets the current position of the Data set to the previous row. +

+

+
+
+
+ +
Returns:
True if there is another row. False if there are no more rows.
+
+
+
+ +

+reset

+
+public void reset()
+
+
Resets the current position of the data set to just before the first + element. +

+

+
+
+
+
+
+
+
+ +

+getColumnValue

+
+public Object getColumnValue(String column)
+
+
Gets the value in the current row of the given column. +

+

+
+
+
+
Parameters:
column - name of the column. +
Returns:
an Object which holds the value of the column.
+
+
+
+ +

+getColumnValue

+
+public Object getColumnValue(int column)
+
+
Gets the value in the current row of the given column. +

+

+
+
+
+
Parameters:
column - index of the column (starts at 0). +
Returns:
an Object which holds the value of the column.
+
+
+
+ +

+getColumnValue

+
+public Object getColumnValue(int column,
+                             int row)
+
+
+
+
+
+
+
+
+
+ +

+removeColumn

+
+public void removeColumn(int col)
+
+
+
+
+
+
+
+
+
+ +

+setHeaders

+
+public void setHeaders(String[] h)
+
+
Sets the headers for the data set. Each header represents a column of + data. Each row's data can be gotten with the column header name, which + will always be a string. +

+

+
+
+
+
Parameters:
h - array of strings representing the column headers. + these must be distinct - duplicates will cause incorrect behaviour
+
+
+
+ +

+getHeaders

+
+public String[] getHeaders()
+
+
Returns a String array of the column headers. +

+

+
+
+
+ +
Returns:
array of strings of the column headers.
+
+
+
+ +

+getHeaderCount

+
+public int getHeaderCount()
+
+
+
+
+
+
+
+
+
+ +

+getColumnAsObjectArray

+
+public List<Object> getColumnAsObjectArray(String columnName)
+
+
This method will retrieve every entry in a certain column. It returns an + array of Objects from the column. +

+

+
+
+
+
Parameters:
columnName - name of the column. +
Returns:
array of Objects representing the data.
+
+
+
+ +

+getColumn

+
+public String[] getColumn(String columnName)
+
+
This method will retrieve every entry in a certain column. It returns an + array of strings from the column. Even if the data are not strings, they + will be returned as strings in this method. +

+

+
+
+
+
Parameters:
columnName - name of the column. +
Returns:
array of Strings representing the data.
+
+
+
+ +

+setData

+
+public void setData(String[] contents,
+                    String delimiter)
+
+
Use this method to set the entire data set. It takes an array of strings. + It uses the first row as the headers, and the next rows as the data + elements. Delimiter represents the delimiting character(s) that separate + each item in a data row. +

+

+
+
+
+
Parameters:
contents - array of strings, the first element is a list of the column + headers, the next elements each represent a single row of + data.
delimiter - the delimiter character that separates columns within the + string array.
+
+
+
+ +

+setColumnData

+
+public void setColumnData(String colName,
+                          Object value)
+
+
Sets the data for every row in the column. +

+

+
+
+
+
Parameters:
colName - name of the column
value - value to be set
+
+
+
+ +

+setColumnData

+
+public void setColumnData(int col,
+                          List<?> data)
+
+
+
+
+
+
+
+
+
+ +

+addHeader

+
+public void addHeader(String s)
+
+
Adds a header name to the Data object. +

+

+
+
+
+
Parameters:
s - name of header.
+
+
+
+ +

+setLine

+
+public void setLine(String[] line)
+
+
Sets a row of data using an array of strings as input. Each value in the + array represents a column's value in that row. Assumes the order will be + the same order in which the headers were added to the data set. +

+

+
+
+
+
Parameters:
line - array of strings representing column values.
+
+
+
+ +

+setLine

+
+public void setLine(String[] line,
+                    String deflt)
+
+
Sets a row of data using an array of strings as input. Each value in the + array represents a column's value in that row. Assumes the order will be + the same order in which the headers were added to the data set. +

+

+
+
+
+
Parameters:
line - array of strings representing column values.
deflt - default value to be placed in data if line is not as long as + headers.
+
+
+
+ +

+getDataAsText

+
+public String[] getDataAsText()
+
+
Returns all the data in the Data set as an array of strings. Each array + gives a row of data, each column separated by tabs. +

+

+
+
+
+ +
Returns:
array of strings.
+
+
+
+ +

+toString

+
+public String toString()
+
+
+
Overrides:
toString in class Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jorphan/collections/HashTree.html b/docs/api/org/apache/jorphan/collections/HashTree.html new file mode 100644 index 00000000000..4278bb4764e --- /dev/null +++ b/docs/api/org/apache/jorphan/collections/HashTree.html @@ -0,0 +1,2010 @@ + + + + + +HashTree (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jorphan.collections +
+Class HashTree

+
+java.lang.Object
+  extended by org.apache.jorphan.collections.HashTree
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Map<Object,HashTree>
+
+
+
Direct Known Subclasses:
ListedHashTree, SortedHashTree
+
+
+
+
public class HashTree
extends Object
implements Serializable, Map<Object,HashTree>, Cloneable
+ + +

+This class is used to create a tree structure of objects. Each element in the + tree is also a key to the next node down in the tree. It provides many ways + to add objects and branches, as well as many ways to retrieve. +

+ HashTree implements the Map interface for convenience reasons. The main + difference between a Map and a HashTree is that the HashTree organizes the + data into a recursive tree structure, and provides the means to manipulate + that structure. +

+ Of special interest is the traverse(HashTreeTraverser) method, which + provides an expedient way to traverse any HashTree by implementing the + HashTreeTraverser interface in order to perform some operation on the + tree, or to extract information from the tree. +

+ +

+

+
See Also:
HashTreeTraverser, +SearchByClass, +Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
+  + + + + + + + + + + + +
+Field Summary
+protected  Map<Object,HashTree>data + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Constructor Summary
+ HashTree() + +
+          Creates an empty new HashTree.
+ HashTree(Collection<?> keys) + +
+          Creates a new HashTree and adds all the objects in the given collection + as top-level nodes in the tree.
+protected HashTree(Map<Object,HashTree> _map) + +
+          Allow subclasses to provide their own Map.
+ HashTree(Object key) + +
+          Creates a new HashTree and adds the given object as a top-level node.
+ HashTree(Object[] keys) + +
+          Creates a new HashTree and adds all the objects in the given array as + top-level nodes in the tree.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidadd(Collection<?> keys) + +
+          Adds a bunch of keys into the HashTree at the current level.
+ voidadd(Collection<?> treePath, + Collection<?> values) + +
+          Adds a series of nodes into the HashTree using the given path.
+ HashTreeadd(Collection<?> treePath, + Object value) + +
+          Adds a series of nodes into the HashTree using the given path.
+ voidadd(Collection<?> treePath, + Object[] values) + +
+          Adds a series of nodes into the HashTree using the given path.
+ voidadd(HashTree newTree) + +
+          Adds all the nodes and branches of the given tree to this tree.
+ HashTreeadd(Object key) + +
+          Adds an key into the HashTree at the current level.
+ voidadd(Object[] keys) + +
+          Adds all the given objects as nodes at the current level.
+ voidadd(Object[] treePath, + Collection<?> values) + +
+          Adds a series of nodes into the HashTree using the given path.
+ HashTreeadd(Object[] treePath, + Object value) + +
+           
+ voidadd(Object[] treePath, + Object[] values) + +
+          Adds a series of nodes into the HashTree using the given path.
+ voidadd(Object key, + Collection<?> values) + +
+          Adds a key as a node at the current level and then adds all the objects + in the second argument as nodes of the new node.
+ voidadd(Object key, + HashTree subTree) + +
+          Adds a key as a node at the current level and then adds the given + HashTree to that new node.
+ HashTreeadd(Object key, + Object value) + +
+          Adds a key and it's value in the HashTree.
+ voidadd(Object key, + Object[] values) + +
+          Adds a key and it's values in the HashTree.
+protected  HashTreeaddTreePath(Collection<?> treePath) + +
+           
+ voidclear() + +
+          Clears the HashTree of all contents.
+ Objectclone() + +
+          Create a clone of this HashTree.
+protected  voidcloneTree(HashTree newTree) + +
+           
+ booleancontainsKey(Object o) + +
+          If the HashTree contains the given object as a key at the top level, then + a true result is returned, otherwise false.
+ booleancontainsValue(Object value) + +
+          Implemented as required by the Map interface, but is not very useful + here.
+protected  HashTreecreateNewTree() + +
+          Creates a new tree.
+protected  HashTreecreateNewTree(Collection<?> values) + +
+          Creates a new tree.
+protected  HashTreecreateNewTree(Object key) + +
+          Creates a new tree.
+ Set<Map.Entry<Object,HashTree>>entrySet() + +
+          Exists to satisfy the Map interface.
+ booleanequals(Object o) + +
+          Compares all objects in the tree and verifies that the two trees contain + the same objects at the same tree levels.
+ HashTreeget(Object key) + +
+          Returns the HashTree object associated with the given key.
+ Object[]getArray() + +
+          Gets an array of all keys in the current HashTree node.
+ Object[]getArray(Collection<?> treePath) + +
+          Recurses down into the HashTree structure using each subsequent key in the + treePath argument, and returns an array of keys of the HashTree object at + the end of the recursion.
+ Object[]getArray(Object key) + +
+          Gets an array of all keys in the HashTree mapped to the given key of the + current HashTree object (in other words, one level down).
+ Object[]getArray(Object[] treePath) + +
+          Recurses down into the HashTree stucture using each subsequent key in the + array of keys, and returns an array of keys of the HashTree object at the + end of the recursion.
+ HashTreegetTree(Collection<?> treePath) + +
+          Gets the HashTree object mapped to the last key in the SortedSet by + recursing through the HashTree structure one key at a time.
+ HashTreegetTree(Object key) + +
+          Gets the HashTree mapped to the given key.
+ HashTreegetTree(Object[] treePath) + +
+          Gets the HashTree object mapped to the last key in the array by recursing + through the HashTree structure one key at a time.
+protected  HashTreegetTreePath(Collection<?> treePath) + +
+           
+ inthashCode() + +
+          Returns a hashcode for this HashTree.
+ booleanisEmpty() + +
+          If the HashTree is empty, true is returned, false otherwise.
+ Set<Object>keySet() + +
+          Returns a Set of all the keys in the top-level of this HashTree.
+ Collection<Object>list() + +
+          Gets a Collection of all keys in the current HashTree node.
+ Collection<?>list(Collection<?> treePath) + +
+          Recurses down into the HashTree stucture using each subsequent key in the + List of keys, and returns the Set of keys of the HashTree object at the + end of the recursion.
+ Collection<?>list(Object key) + +
+          Gets a Set of all keys in the HashTree mapped to the given key of the + current HashTree object (in other words, one level down.
+ Collection<?>list(Object[] treePath) + +
+          Recurses down into the HashTree stucture using each subsequent key in the + array of keys, and returns the Set of keys of the HashTree object at the + end of the recursion.
+ HashTreeput(Object key, + HashTree value) + +
+          This is the same as calling HashTree.add(key,value).
+ voidputAll(Map<? extends Object,? extends HashTree> map) + +
+          The Map given must also be a HashTree, otherwise an + UnsupportedOperationException is thrown.
+ HashTreeremove(Object key) + +
+          Removes the entire branch specified by the given key.
+ voidreplaceKey(Object currentKey, + Object newKey) + +
+          Finds the given current key, and replaces it with the given new key.
+ HashTreesearch(Object key) + +
+          Searches the HashTree structure for the given key.
+ voidset(Collection<?> values) + +
+          Sets the nodes of the current tree to be the objects of the given + collection.
+ voidset(Collection<?> treePath, + Collection<?> values) + +
+          Sets a series of keys into the HashTree.
+ voidset(Collection<?> treePath, + Object[] values) + +
+          Sets a series of keys into the HashTree.
+ voidset(Object[] treePath, + Collection<?> values) + +
+          Sets a series of keys into the HashTree.
+ voidset(Object[] treePath, + Object[] values) + +
+          Sets a series of keys into the HashTree.
+ voidset(Object key, + Collection<?> values) + +
+          Sets a key and its values in the HashTree.
+ voidset(Object key, + HashTree t) + +
+          Sets a key into the current tree and assigns it a HashTree as its + subtree.
+ voidset(Object key, + Object value) + +
+          Sets a key and it's value in the HashTree.
+ voidset(Object key, + Object[] values) + +
+          Sets a key and its values in the HashTree.
+ intsize() + +
+          Returns the number of top-level entries in the HashTree.
+ StringtoString() + +
+          Generate a printable representation of the tree.
+ voidtraverse(HashTreeTraverser visitor) + +
+          Allows any implementation of the HashTreeTraverser interface to easily + traverse (depth-first) all the nodes of the HashTree.
+ Collection<HashTree>values() + +
+          Returns a collection of all the sub-trees of the current tree.
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+data

+
+protected final Map<Object,HashTree> data
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+HashTree

+
+public HashTree()
+
+
Creates an empty new HashTree. +

+

+
+ +

+HashTree

+
+protected HashTree(Map<Object,HashTree> _map)
+
+
Allow subclasses to provide their own Map. +

+

+
Parameters:
_map - Map to use
+
+
+ +

+HashTree

+
+public HashTree(Object key)
+
+
Creates a new HashTree and adds the given object as a top-level node. +

+

+
Parameters:
key - name of the new top-level node
+
+
+ +

+HashTree

+
+public HashTree(Collection<?> keys)
+
+
Creates a new HashTree and adds all the objects in the given collection + as top-level nodes in the tree. +

+

+
Parameters:
keys - a collection of objects to be added to the created HashTree.
+
+
+ +

+HashTree

+
+public HashTree(Object[] keys)
+
+
Creates a new HashTree and adds all the objects in the given array as + top-level nodes in the tree. +

+

+
Parameters:
keys - array with names for the new top-level nodes
+
+ + + + + + + + +
+Method Detail
+ +

+putAll

+
+public void putAll(Map<? extends Object,? extends HashTree> map)
+
+
The Map given must also be a HashTree, otherwise an + UnsupportedOperationException is thrown. If it is a HashTree, this is + like calling the add(HashTree) method. +

+

+
Specified by:
putAll in interface Map<Object,HashTree>
+
+
+
See Also:
add(HashTree), +Map.putAll(Map)
+
+
+
+ +

+entrySet

+
+public Set<Map.Entry<Object,HashTree>> entrySet()
+
+
Exists to satisfy the Map interface. +

+

+
Specified by:
entrySet in interface Map<Object,HashTree>
+
+
+
See Also:
Map.entrySet()
+
+
+
+ +

+containsValue

+
+public boolean containsValue(Object value)
+
+
Implemented as required by the Map interface, but is not very useful + here. All 'values' in a HashTree are HashTree's themselves. +

+

+
Specified by:
containsValue in interface Map<Object,HashTree>
+
+
+
Parameters:
value - Object to be tested as a value. +
Returns:
True if the HashTree contains the value, false otherwise.
See Also:
Map.containsValue(Object)
+
+
+
+ +

+put

+
+public HashTree put(Object key,
+                    HashTree value)
+
+
This is the same as calling HashTree.add(key,value). +

+

+
Specified by:
put in interface Map<Object,HashTree>
+
+
+
Parameters:
key - to use
value - to store against key
See Also:
Map.put(Object, Object)
+
+
+
+ +

+clear

+
+public void clear()
+
+
Clears the HashTree of all contents. +

+

+
Specified by:
clear in interface Map<Object,HashTree>
+
+
+
See Also:
Map.clear()
+
+
+
+ +

+values

+
+public Collection<HashTree> values()
+
+
Returns a collection of all the sub-trees of the current tree. +

+

+
Specified by:
values in interface Map<Object,HashTree>
+
+
+
See Also:
Map.values()
+
+
+
+ +

+add

+
+public void add(Object key,
+                HashTree subTree)
+
+
Adds a key as a node at the current level and then adds the given + HashTree to that new node. +

+

+
+
+
+
Parameters:
key - key to create in this tree
subTree - sub tree to add to the node created for the first argument.
+
+
+
+ +

+add

+
+public void add(HashTree newTree)
+
+
Adds all the nodes and branches of the given tree to this tree. Is like + merging two trees. Duplicates are ignored. +

+

+
+
+
+
Parameters:
newTree - the tree to be added
+
+
+
+ +

+containsKey

+
+public boolean containsKey(Object o)
+
+
If the HashTree contains the given object as a key at the top level, then + a true result is returned, otherwise false. +

+

+
Specified by:
containsKey in interface Map<Object,HashTree>
+
+
+
Parameters:
o - Object to be tested as a key. +
Returns:
True if the HashTree contains the key, false otherwise.
See Also:
Map.containsKey(Object)
+
+
+
+ +

+isEmpty

+
+public boolean isEmpty()
+
+
If the HashTree is empty, true is returned, false otherwise. +

+

+
Specified by:
isEmpty in interface Map<Object,HashTree>
+
+
+ +
Returns:
True if HashTree is empty, false otherwise.
+
+
+
+ +

+set

+
+public void set(Object key,
+                Object value)
+
+
Sets a key and it's value in the HashTree. It actually sets up a key, and + then creates a node for the key and sets the value to the new node, as a + key. Any previous nodes that existed under the given key are lost. +

+

+
+
+
+
Parameters:
key - key to be set up
value - value to be set up as a key in the secondary node
+
+
+
+ +

+set

+
+public void set(Object key,
+                HashTree t)
+
+
Sets a key into the current tree and assigns it a HashTree as its + subtree. Any previous entries under the given key are removed. +

+

+
+
+
+
Parameters:
key - key to be set up
t - HashTree that the key maps to
+
+
+
+ +

+set

+
+public void set(Object key,
+                Object[] values)
+
+
Sets a key and its values in the HashTree. It sets up a key in the + current node, and then creates a node for that key, and sets all the + values in the array as keys in the new node. Any keys previously held + under the given key are lost. +

+

+
+
+
+
Parameters:
key - Key to be set up
values - Array of objects to be added as keys in the secondary node
+
+
+
+ +

+set

+
+public void set(Object key,
+                Collection<?> values)
+
+
Sets a key and its values in the HashTree. It sets up a key in the + current node, and then creates a node for that key, and set all the + values in the array as keys in the new node. Any keys previously held + under the given key are removed. +

+

+
+
+
+
Parameters:
key - key to be set up
values - Collection of objects to be added as keys in the secondary + node
+
+
+
+ +

+set

+
+public void set(Object[] treePath,
+                Object[] values)
+
+
Sets a series of keys into the HashTree. It sets up the first object in + the key array as a key in the current node, recurses into the next + HashTree node through that key and adds the second object in the array. + Continues recursing in this manner until the end of the first array is + reached, at which point all the values of the second array are set as + keys to the bottom-most node. All previous keys of that bottom-most node + are removed. +

+

+
+
+
+
Parameters:
treePath - array of keys to put into HashTree
values - array of values to be added as keys to bottom-most node
+
+
+
+ +

+set

+
+public void set(Object[] treePath,
+                Collection<?> values)
+
+
Sets a series of keys into the HashTree. It sets up the first object in + the key array as a key in the current node, recurses into the next + HashTree node through that key and adds the second object in the array. + Continues recursing in this manner until the end of the first array is + reached, at which point all the values of the Collection of values are + set as keys to the bottom-most node. Any keys previously held by the + bottom-most node are lost. +

+

+
+
+
+
Parameters:
treePath - array of keys to put into HashTree
values - Collection of values to be added as keys to bottom-most node
+
+
+
+ +

+set

+
+public void set(Collection<?> treePath,
+                Object[] values)
+
+
Sets a series of keys into the HashTree. It sets up the first object in + the key list as a key in the current node, recurses into the next + HashTree node through that key and adds the second object in the list. + Continues recursing in this manner until the end of the first list is + reached, at which point all the values of the array of values are set as + keys to the bottom-most node. Any previously existing keys of that bottom + node are removed. +

+

+
+
+
+
Parameters:
treePath - collection of keys to put into HashTree
values - array of values to be added as keys to bottom-most node
+
+
+
+ +

+set

+
+public void set(Collection<?> values)
+
+
Sets the nodes of the current tree to be the objects of the given + collection. Any nodes previously in the tree are removed. +

+

+
+
+
+
Parameters:
values - Collection of objects to set as nodes.
+
+
+
+ +

+set

+
+public void set(Collection<?> treePath,
+                Collection<?> values)
+
+
Sets a series of keys into the HashTree. It sets up the first object in + the key list as a key in the current node, recurses into the next + HashTree node through that key and adds the second object in the list. + Continues recursing in this manner until the end of the first list is + reached, at which point all the values of the Collection of values are + set as keys to the bottom-most node. Any previously existing keys of that + bottom node are lost. +

+

+
+
+
+
Parameters:
treePath - list of keys to put into HashTree
values - collection of values to be added as keys to bottom-most node
+
+
+
+ +

+add

+
+public HashTree add(Object key)
+
+
Adds an key into the HashTree at the current level. If a HashTree exists + for the key already, no new tree will be added +

+

+
+
+
+
Parameters:
key - key to be added to HashTree +
Returns:
newly generated tree, if no tree was found for the given key; + existing key otherwise
+
+
+
+ +

+add

+
+public void add(Object[] keys)
+
+
Adds all the given objects as nodes at the current level. +

+

+
+
+
+
Parameters:
keys - Array of Keys to be added to HashTree.
+
+
+
+ +

+add

+
+public void add(Collection<?> keys)
+
+
Adds a bunch of keys into the HashTree at the current level. +

+

+
+
+
+
Parameters:
keys - Collection of Keys to be added to HashTree.
+
+
+
+ +

+add

+
+public HashTree add(Object key,
+                    Object value)
+
+
Adds a key and it's value in the HashTree. The first argument becomes a + node at the current level, and the second argument becomes a node of it. +

+

+
+
+
+
Parameters:
key - key to be added
value - value to be added as a key in the secondary node +
Returns:
HashTree for which value is the key
+
+
+
+ +

+add

+
+public void add(Object key,
+                Object[] values)
+
+
Adds a key and it's values in the HashTree. The first argument becomes a + node at the current level, and adds all the values in the array to the + new node. +

+

+
+
+
+
Parameters:
key - key to be added
values - array of objects to be added as keys in the secondary node
+
+
+
+ +

+add

+
+public void add(Object key,
+                Collection<?> values)
+
+
Adds a key as a node at the current level and then adds all the objects + in the second argument as nodes of the new node. +

+

+
+
+
+
Parameters:
key - key to be added
values - Collection of objects to be added as keys in the secondary + node
+
+
+
+ +

+add

+
+public void add(Object[] treePath,
+                Object[] values)
+
+
Adds a series of nodes into the HashTree using the given path. The first + argument is an array that represents a path to a specific node in the + tree. If the path doesn't already exist, it is created (the objects are + added along the way). At the path, all the objects in the second argument + are added as nodes. +

+

+
+
+
+
Parameters:
treePath - an array of objects representing a path
values - array of values to be added as keys to bottom-most node
+
+
+
+ +

+add

+
+public void add(Object[] treePath,
+                Collection<?> values)
+
+
Adds a series of nodes into the HashTree using the given path. The first + argument is an array that represents a path to a specific node in the + tree. If the path doesn't already exist, it is created (the objects are + added along the way). At the path, all the objects in the second argument + are added as nodes. +

+

+
+
+
+
Parameters:
treePath - an array of objects representing a path
values - collection of values to be added as keys to bottom-most node
+
+
+
+ +

+add

+
+public HashTree add(Object[] treePath,
+                    Object value)
+
+
+
+
+
+
+
+
+
+ +

+add

+
+public void add(Collection<?> treePath,
+                Object[] values)
+
+
Adds a series of nodes into the HashTree using the given path. The first + argument is a List that represents a path to a specific node in the tree. + If the path doesn't already exist, it is created (the objects are added + along the way). At the path, all the objects in the second argument are + added as nodes. +

+

+
+
+
+
Parameters:
treePath - a list of objects representing a path
values - array of values to be added as keys to bottom-most node
+
+
+
+ +

+add

+
+public HashTree add(Collection<?> treePath,
+                    Object value)
+
+
Adds a series of nodes into the HashTree using the given path. The first + argument is a List that represents a path to a specific node in the tree. + If the path doesn't already exist, it is created (the objects are added + along the way). At the path, the object in the second argument is added + as a node. +

+

+
+
+
+
Parameters:
treePath - a list of objects representing a path
value - Object to add as a node to bottom-most node +
Returns:
HashTree for which value is the key
+
+
+
+ +

+add

+
+public void add(Collection<?> treePath,
+                Collection<?> values)
+
+
Adds a series of nodes into the HashTree using the given path. The first + argument is a SortedSet that represents a path to a specific node in the + tree. If the path doesn't already exist, it is created (the objects are + added along the way). At the path, all the objects in the second argument + are added as nodes. +

+

+
+
+
+
Parameters:
treePath - a SortedSet of objects representing a path
values - Collection of values to be added as keys to bottom-most node
+
+
+
+ +

+addTreePath

+
+protected HashTree addTreePath(Collection<?> treePath)
+
+
+
+
+
+
+
+
+
+ +

+getTree

+
+public HashTree getTree(Object key)
+
+
Gets the HashTree mapped to the given key. +

+

+
+
+
+
Parameters:
key - Key used to find appropriate HashTree() +
Returns:
the HashTree for key
+
+
+
+ +

+get

+
+public HashTree get(Object key)
+
+
Returns the HashTree object associated with the given key. Same as + calling getTree(Object). +

+

+
Specified by:
get in interface Map<Object,HashTree>
+
+
+
See Also:
Map.get(Object)
+
+
+
+ +

+getTree

+
+public HashTree getTree(Object[] treePath)
+
+
Gets the HashTree object mapped to the last key in the array by recursing + through the HashTree structure one key at a time. +

+

+
+
+
+
Parameters:
treePath - array of keys. +
Returns:
HashTree at the end of the recursion.
+
+
+
+ +

+clone

+
+public Object clone()
+
+
Create a clone of this HashTree. This is not a deep clone (ie, the + contents of the tree are not cloned). +

+

+
Overrides:
clone in class Object
+
+
+
+
+
+
+ +

+cloneTree

+
+protected void cloneTree(HashTree newTree)
+
+
+
+
+
+
+
+
+
+ +

+createNewTree

+
+protected HashTree createNewTree()
+
+
Creates a new tree. This method exists to allow inheriting classes to + generate the appropriate types of nodes. For instance, when a node is + added, it's value is a HashTree. Rather than directly calling the + HashTree() constructor, the createNewTree() method is called. Inheriting + classes should override these methods and create the appropriate subclass + of HashTree. +

+

+
+
+
+ +
Returns:
HashTree
+
+
+
+ +

+createNewTree

+
+protected HashTree createNewTree(Object key)
+
+
Creates a new tree. This method exists to allow inheriting classes to + generate the appropriate types of nodes. For instance, when a node is + added, it's value is a HashTree. Rather than directly calling the + HashTree() constructor, the createNewTree() method is called. Inheriting + classes should override these methods and create the appropriate subclass + of HashTree. +

+

+
+
+
+
Parameters:
key - object to use as the key for the top level +
Returns:
newly created HashTree
+
+
+
+ +

+createNewTree

+
+protected HashTree createNewTree(Collection<?> values)
+
+
Creates a new tree. This method exists to allow inheriting classes to + generate the appropriate types of nodes. For instance, when a node is + added, it's value is a HashTree. Rather than directly calling the + HashTree() constructor, the createNewTree() method is called. Inheriting + classes should override these methods and create the appropriate subclass + of HashTree. +

+

+
+
+
+
Parameters:
values - objects to be added to the new HashTree +
Returns:
newly created HashTree
+
+
+
+ +

+getTree

+
+public HashTree getTree(Collection<?> treePath)
+
+
Gets the HashTree object mapped to the last key in the SortedSet by + recursing through the HashTree structure one key at a time. +

+

+
+
+
+
Parameters:
treePath - Collection of keys +
Returns:
HashTree at the end of the recursion
+
+
+
+ +

+list

+
+public Collection<Object> list()
+
+
Gets a Collection of all keys in the current HashTree node. If the + HashTree represented a file system, this would be like getting a + collection of all the files in the current folder. +

+

+
+
+
+ +
Returns:
Set of all keys in this HashTree
+
+
+
+ +

+list

+
+public Collection<?> list(Object key)
+
+
Gets a Set of all keys in the HashTree mapped to the given key of the + current HashTree object (in other words, one level down. If the HashTree + represented a file system, this would like getting a list of all files in + a sub-directory (of the current directory) specified by the key argument. +

+

+
+
+
+
Parameters:
key - key used to find HashTree to get list of +
Returns:
Set of all keys in found HashTree.
+
+
+
+ +

+remove

+
+public HashTree remove(Object key)
+
+
Removes the entire branch specified by the given key. +

+

+
Specified by:
remove in interface Map<Object,HashTree>
+
+
+
See Also:
Map.remove(Object)
+
+
+
+ +

+list

+
+public Collection<?> list(Object[] treePath)
+
+
Recurses down into the HashTree stucture using each subsequent key in the + array of keys, and returns the Set of keys of the HashTree object at the + end of the recursion. If the HashTree represented a file system, this + would be like getting a list of all the files in a directory specified by + the treePath, relative from the current directory. +

+

+
+
+
+
Parameters:
treePath - Array of keys used to recurse into HashTree structure +
Returns:
Set of all keys found in end HashTree
+
+
+
+ +

+list

+
+public Collection<?> list(Collection<?> treePath)
+
+
Recurses down into the HashTree stucture using each subsequent key in the + List of keys, and returns the Set of keys of the HashTree object at the + end of the recursion. If the HashTree represented a file system, this + would be like getting a list of all the files in a directory specified by + the treePath, relative from the current directory. +

+

+
+
+
+
Parameters:
treePath - List of keys used to recurse into HashTree structure +
Returns:
Set of all keys found in end HashTree
+
+
+
+ +

+replaceKey

+
+public void replaceKey(Object currentKey,
+                       Object newKey)
+
+
Finds the given current key, and replaces it with the given new key. Any + tree structure found under the original key is moved to the new key. +

+

+
+
+
+
Parameters:
currentKey - name of the key to be replaced
newKey - name of the new key
+
+
+
+ +

+getArray

+
+public Object[] getArray()
+
+
Gets an array of all keys in the current HashTree node. If the HashTree + represented a file system, this would be like getting an array of all the + files in the current folder. +

+

+
+
+
+ +
Returns:
array of all keys in this HashTree.
+
+
+
+ +

+getArray

+
+public Object[] getArray(Object key)
+
+
Gets an array of all keys in the HashTree mapped to the given key of the + current HashTree object (in other words, one level down). If the HashTree + represented a file system, this would like getting a list of all files in + a sub-directory (of the current directory) specified by the key argument. +

+

+
+
+
+
Parameters:
key - key used to find HashTree to get list of +
Returns:
array of all keys in found HashTree
+
+
+
+ +

+getArray

+
+public Object[] getArray(Object[] treePath)
+
+
Recurses down into the HashTree stucture using each subsequent key in the + array of keys, and returns an array of keys of the HashTree object at the + end of the recursion. If the HashTree represented a file system, this + would be like getting a list of all the files in a directory specified by + the treePath, relative from the current directory. +

+

+
+
+
+
Parameters:
treePath - array of keys used to recurse into HashTree structure +
Returns:
array of all keys found in end HashTree
+
+
+
+ +

+getArray

+
+public Object[] getArray(Collection<?> treePath)
+
+
Recurses down into the HashTree structure using each subsequent key in the + treePath argument, and returns an array of keys of the HashTree object at + the end of the recursion. If the HashTree represented a file system, this + would be like getting a list of all the files in a directory specified by + the treePath, relative from the current directory. +

+

+
+
+
+
Parameters:
treePath - list of keys used to recurse into HashTree structure +
Returns:
array of all keys found in end HashTree
+
+
+
+ +

+getTreePath

+
+protected HashTree getTreePath(Collection<?> treePath)
+
+
+
+
+
+
+
+
+
+ +

+hashCode

+
+public int hashCode()
+
+
Returns a hashcode for this HashTree. +

+

+
Specified by:
hashCode in interface Map<Object,HashTree>
Overrides:
hashCode in class Object
+
+
+
See Also:
Object.hashCode()
+
+
+
+ +

+equals

+
+public boolean equals(Object o)
+
+
Compares all objects in the tree and verifies that the two trees contain + the same objects at the same tree levels. Returns true if they do, false + otherwise. +

+

+
Specified by:
equals in interface Map<Object,HashTree>
Overrides:
equals in class Object
+
+
+
Parameters:
o - Object to be compared against
See Also:
Object.equals(Object)
+
+
+
+ +

+keySet

+
+public Set<Object> keySet()
+
+
Returns a Set of all the keys in the top-level of this HashTree. +

+

+
Specified by:
keySet in interface Map<Object,HashTree>
+
+
+
See Also:
Map.keySet()
+
+
+
+ +

+search

+
+public HashTree search(Object key)
+
+
Searches the HashTree structure for the given key. If it finds the key, + it returns the HashTree mapped to the key. If it finds nothing, it + returns null. +

+

+
+
+
+
Parameters:
key - Key to search for +
Returns:
HashTree mapped to key, if found, otherwise null
+
+
+
+ +

+size

+
+public int size()
+
+
Returns the number of top-level entries in the HashTree. +

+

+
Specified by:
size in interface Map<Object,HashTree>
+
+
+
See Also:
Map.size()
+
+
+
+ +

+traverse

+
+public void traverse(HashTreeTraverser visitor)
+
+
Allows any implementation of the HashTreeTraverser interface to easily + traverse (depth-first) all the nodes of the HashTree. The Traverser + implementation will be given notification of each node visited. +

+

+
+
+
+
Parameters:
visitor - the visitor that wants to traverse the tree
See Also:
HashTreeTraverser
+
+
+
+ +

+toString

+
+public String toString()
+
+
Generate a printable representation of the tree. +

+

+
Overrides:
toString in class Object
+
+
+ +
Returns:
a representation of the tree
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jorphan/collections/HashTreeTraverser.html b/docs/api/org/apache/jorphan/collections/HashTreeTraverser.html new file mode 100644 index 00000000000..84811529457 --- /dev/null +++ b/docs/api/org/apache/jorphan/collections/HashTreeTraverser.html @@ -0,0 +1,289 @@ + + + + + +HashTreeTraverser (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jorphan.collections +
+Interface HashTreeTraverser

+
+
All Known Implementing Classes:
CheckDirty, ConvertListeners, FindTestElementsUpToRootTraverser, PreCompiler, SearchByClass, TestCompiler, TreeCloner, TreeClonerNoTimer, TurnElementsOn
+
+
+
+
public interface HashTreeTraverser
+ + +

+By implementing this interface, a class can easily traverse a HashTree + object, and be notified via callbacks of certain events. There are three such + events: +

    +
  1. When a node is first encountered, the traverser's + addNode(Object,HashTree) method is called. It is handed the object + at that node, and the entire sub-tree of the node.
  2. +
  3. When a leaf node is encountered, the traverser is notified that a full + path has been finished via the processPath() method. It is the + traversing class's responsibility to know the path that has just finished + (this can be done by keeping a simple stack of all added nodes).
  4. +
  5. When a node is retraced, the traverser's subtractNode() is + called. Again, it is the traverser's responsibility to know which node has + been retraced.
  6. +
+ To summarize, as the traversal goes down a tree path, nodes are added. When + the end of the path is reached, the processPath() call is sent. As + the traversal backs up, nodes are subtracted. +

+ The traversal is a depth-first traversal. +

+ +

+

+
Version:
+
$Revision: 1595401 $
+
See Also:
HashTree, +SearchByClass
+
+ +

+ + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddNode(Object node, + HashTree subTree) + +
+          The tree traverses itself depth-first, calling addNode for each object it + encounters as it goes.
+ voidprocessPath() + +
+          Process path is called when a leaf is reached.
+ voidsubtractNode() + +
+          Indicates traversal has moved up a step, and the visitor should remove + the top node from its stack structure.
+  +

+ + + + + + + + +
+Method Detail
+ +

+addNode

+
+void addNode(Object node,
+             HashTree subTree)
+
+
The tree traverses itself depth-first, calling addNode for each object it + encounters as it goes. This is a callback method, and should not be + called except by a HashTree during traversal. +

+

+
Parameters:
node - the node currently encountered
subTree - the HashTree under the node encountered
+
+
+
+ +

+subtractNode

+
+void subtractNode()
+
+
Indicates traversal has moved up a step, and the visitor should remove + the top node from its stack structure. This is a callback method, and + should not be called except by a HashTree during traversal. +

+

+
+
+
+
+ +

+processPath

+
+void processPath()
+
+
Process path is called when a leaf is reached. If a visitor wishes to + generate Lists of path elements to each leaf, it should keep a Stack data + structure of nodes passed to it with addNode, and removing top items for + every subtractNode() call. This is a callback method, and should + not be called except by a HashTree during traversal. +

+

+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jorphan/collections/ListedHashTree.html b/docs/api/org/apache/jorphan/collections/ListedHashTree.html new file mode 100644 index 00000000000..04e3d08ed21 --- /dev/null +++ b/docs/api/org/apache/jorphan/collections/ListedHashTree.html @@ -0,0 +1,770 @@ + + + + + +ListedHashTree (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jorphan.collections +
+Class ListedHashTree

+
+java.lang.Object
+  extended by org.apache.jorphan.collections.HashTree
+      extended by org.apache.jorphan.collections.ListedHashTree
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Map<Object,HashTree>
+
+
+
+
public class ListedHashTree
extends HashTree
implements Serializable, Cloneable
+ + +

+ListedHashTree is a different implementation of the HashTree + collection class. In the ListedHashTree, the order in which values are added + is preserved (not to be confused with SortedHashTree, which sorts + the order of the values using the compare() function). Any listing of nodes + or iteration through the list of nodes of a ListedHashTree will be given in + the order in which the nodes were added to the tree. +

+ +

+

+
See Also:
HashTree, +Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jorphan.collections.HashTree
data
+  + + + + + + + + + + + + + + + + + + + +
+Constructor Summary
ListedHashTree() + +
+           
ListedHashTree(Collection<?> keys) + +
+           
ListedHashTree(Object key) + +
+           
ListedHashTree(Object[] keys) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ HashTreeadd(Object key) + +
+          Adds an key into the HashTree at the current level.
+ voidclear() + +
+          Clears the HashTree of all contents.
+ Objectclone() + +
+          Create a clone of this HashTree.
+ HashTreecreateNewTree() + +
+          Creates a new tree.
+ HashTreecreateNewTree(Collection<?> values) + +
+          Creates a new tree.
+ HashTreecreateNewTree(Object key) + +
+          Creates a new tree.
+ booleanequals(Object o) + +
+          Compares all objects in the tree and verifies that the two trees contain + the same objects at the same tree levels.
+ Object[]getArray() + +
+          Gets an array of all keys in the current HashTree node.
+ inthashCode() + +
+          Returns a hashcode for this HashTree.
+ Collection<Object>list() + +
+          Gets a Collection of all keys in the current HashTree node.
+ HashTreeremove(Object key) + +
+          Removes the entire branch specified by the given key.
+ voidreplaceKey(Object currentKey, + Object newKey) + +
+          Finds the given current key, and replaces it with the given new key.
+ voidset(Object key, + Collection<?> values) + +
+          Sets a key and its values in the HashTree.
+ voidset(Object key, + HashTree t) + +
+          Sets a key into the current tree and assigns it a HashTree as its + subtree.
+ voidset(Object key, + Object value) + +
+          Sets a key and it's value in the HashTree.
+ voidset(Object key, + Object[] values) + +
+          Sets a key and its values in the HashTree.
+ + + + + + + +
Methods inherited from class org.apache.jorphan.collections.HashTree
add, add, add, add, add, add, add, add, add, add, add, add, add, addTreePath, cloneTree, containsKey, containsValue, entrySet, get, getArray, getArray, getArray, getTree, getTree, getTree, getTreePath, isEmpty, keySet, list, list, list, put, putAll, search, set, set, set, set, set, size, toString, traverse, values
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ListedHashTree

+
+public ListedHashTree()
+
+
+
+ +

+ListedHashTree

+
+public ListedHashTree(Object key)
+
+
+
+ +

+ListedHashTree

+
+public ListedHashTree(Collection<?> keys)
+
+
+
+ +

+ListedHashTree

+
+public ListedHashTree(Object[] keys)
+
+
+ + + + + + + + +
+Method Detail
+ +

+clone

+
+public Object clone()
+
+
Create a clone of this HashTree. This is not a deep clone (ie, the + contents of the tree are not cloned). +

+

+
Overrides:
clone in class HashTree
+
+
+
+
+
+
+ +

+set

+
+public void set(Object key,
+                Object value)
+
+
Sets a key and it's value in the HashTree. It actually sets up a key, and + then creates a node for the key and sets the value to the new node, as a + key. Any previous nodes that existed under the given key are lost. +

+

+
Overrides:
set in class HashTree
+
+
+
Parameters:
key - key to be set up
value - value to be set up as a key in the secondary node
+
+
+
+ +

+set

+
+public void set(Object key,
+                HashTree t)
+
+
Sets a key into the current tree and assigns it a HashTree as its + subtree. Any previous entries under the given key are removed. +

+

+
Overrides:
set in class HashTree
+
+
+
Parameters:
key - key to be set up
t - HashTree that the key maps to
+
+
+
+ +

+set

+
+public void set(Object key,
+                Object[] values)
+
+
Sets a key and its values in the HashTree. It sets up a key in the + current node, and then creates a node for that key, and sets all the + values in the array as keys in the new node. Any keys previously held + under the given key are lost. +

+

+
Overrides:
set in class HashTree
+
+
+
Parameters:
key - Key to be set up
values - Array of objects to be added as keys in the secondary node
+
+
+
+ +

+set

+
+public void set(Object key,
+                Collection<?> values)
+
+
Sets a key and its values in the HashTree. It sets up a key in the + current node, and then creates a node for that key, and set all the + values in the array as keys in the new node. Any keys previously held + under the given key are removed. +

+

+
Overrides:
set in class HashTree
+
+
+
Parameters:
key - key to be set up
values - Collection of objects to be added as keys in the secondary + node
+
+
+
+ +

+replaceKey

+
+public void replaceKey(Object currentKey,
+                       Object newKey)
+
+
Finds the given current key, and replaces it with the given new key. Any + tree structure found under the original key is moved to the new key. +

+

+
Overrides:
replaceKey in class HashTree
+
+
+
Parameters:
currentKey - name of the key to be replaced
newKey - name of the new key
+
+
+
+ +

+createNewTree

+
+public HashTree createNewTree()
+
+
Creates a new tree. This method exists to allow inheriting classes to + generate the appropriate types of nodes. For instance, when a node is + added, it's value is a HashTree. Rather than directly calling the + HashTree() constructor, the createNewTree() method is called. Inheriting + classes should override these methods and create the appropriate subclass + of HashTree. +

+

+
Overrides:
createNewTree in class HashTree
+
+
+ +
Returns:
HashTree
+
+
+
+ +

+createNewTree

+
+public HashTree createNewTree(Object key)
+
+
Creates a new tree. This method exists to allow inheriting classes to + generate the appropriate types of nodes. For instance, when a node is + added, it's value is a HashTree. Rather than directly calling the + HashTree() constructor, the createNewTree() method is called. Inheriting + classes should override these methods and create the appropriate subclass + of HashTree. +

+

+
Overrides:
createNewTree in class HashTree
+
+
+
Parameters:
key - object to use as the key for the top level +
Returns:
newly created HashTree
+
+
+
+ +

+createNewTree

+
+public HashTree createNewTree(Collection<?> values)
+
+
Creates a new tree. This method exists to allow inheriting classes to + generate the appropriate types of nodes. For instance, when a node is + added, it's value is a HashTree. Rather than directly calling the + HashTree() constructor, the createNewTree() method is called. Inheriting + classes should override these methods and create the appropriate subclass + of HashTree. +

+

+
Overrides:
createNewTree in class HashTree
+
+
+
Parameters:
values - objects to be added to the new HashTree +
Returns:
newly created HashTree
+
+
+
+ +

+add

+
+public HashTree add(Object key)
+
+
Adds an key into the HashTree at the current level. If a HashTree exists + for the key already, no new tree will be added +

+

+
Overrides:
add in class HashTree
+
+
+
Parameters:
key - key to be added to HashTree +
Returns:
newly generated tree, if no tree was found for the given key; + existing key otherwise
+
+
+
+ +

+list

+
+public Collection<Object> list()
+
+
Gets a Collection of all keys in the current HashTree node. If the + HashTree represented a file system, this would be like getting a + collection of all the files in the current folder. +

+

+
Overrides:
list in class HashTree
+
+
+ +
Returns:
Set of all keys in this HashTree
+
+
+
+ +

+remove

+
+public HashTree remove(Object key)
+
+
Removes the entire branch specified by the given key. +

+

+
Specified by:
remove in interface Map<Object,HashTree>
Overrides:
remove in class HashTree
+
+
+
See Also:
Map.remove(Object)
+
+
+
+ +

+getArray

+
+public Object[] getArray()
+
+
Gets an array of all keys in the current HashTree node. If the HashTree + represented a file system, this would be like getting an array of all the + files in the current folder. +

+

+
Overrides:
getArray in class HashTree
+
+
+ +
Returns:
array of all keys in this HashTree.
+
+
+
+ +

+hashCode

+
+public int hashCode()
+
+
Returns a hashcode for this HashTree. +

+

+
Specified by:
hashCode in interface Map<Object,HashTree>
Overrides:
hashCode in class HashTree
+
+
+
See Also:
Object.hashCode()
+
+
+
+ +

+equals

+
+public boolean equals(Object o)
+
+
Compares all objects in the tree and verifies that the two trees contain + the same objects at the same tree levels. Returns true if they do, false + otherwise. +

+

+
Specified by:
equals in interface Map<Object,HashTree>
Overrides:
equals in class HashTree
+
+
+
Parameters:
o - Object to be compared against
See Also:
Object.equals(Object)
+
+
+
+ +

+clear

+
+public void clear()
+
+
Clears the HashTree of all contents. +

+

+
Specified by:
clear in interface Map<Object,HashTree>
Overrides:
clear in class HashTree
+
+
+
See Also:
Map.clear()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jorphan/collections/SearchByClass.html b/docs/api/org/apache/jorphan/collections/SearchByClass.html new file mode 100644 index 00000000000..bd05e57f224 --- /dev/null +++ b/docs/api/org/apache/jorphan/collections/SearchByClass.html @@ -0,0 +1,406 @@ + + + + + +SearchByClass (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jorphan.collections +
+Class SearchByClass<T>

+
+java.lang.Object
+  extended by org.apache.jorphan.collections.SearchByClass<T>
+
+
+
Type Parameters:
T - Class that should be searched for
+
+
All Implemented Interfaces:
HashTreeTraverser
+
+
+
+
public class SearchByClass<T>
extends Object
implements HashTreeTraverser
+ + +

+Useful for finding all nodes in the tree that represent objects of a + particular type. For instance, if your tree contains all strings, and a few + StringBuilder objects, you can use the SearchByClass traverser to find all + the StringBuilder objects in your tree. +

+ Usage is simple. Given a HashTree object "tree", and a SearchByClass + object: + +

+ HashTree tree = new HashTree();
+ // ... tree gets filled with objects
+ SearchByClass searcher = new SearchByClass(StringBuilder.class);
+ tree.traverse(searcher);
+ Iterator iter = searcher.getSearchResults().iterator();
+ while (iter.hasNext()) {
+     StringBuilder foundNode = (StringBuilder) iter.next();
+     HashTree subTreeOfFoundNode = searcher.getSubTree(foundNode);
+     // .... do something with node and subTree...
+ }
+ 
+

+ +

+

+
Version:
+
$Revision: 1648229 $
+
See Also:
HashTree, +HashTreeTraverser
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
SearchByClass(Class<T> searchClass) + +
+          Creates an instance of SearchByClass, and sets the Class to be searched + for.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddNode(Object node, + HashTree subTree) + +
+          The tree traverses itself depth-first, calling addNode for each object it + encounters as it goes.
+ Collection<T>getSearchResults() + +
+          After traversing the HashTree, call this method to get a collection of + the nodes that were found.
+ HashTreegetSubTree(Object root) + +
+          Given a specific found node, this method will return the sub tree of that + node.
+ voidprocessPath() + +
+          Process path is called when a leaf is reached.
+ voidsubtractNode() + +
+          Indicates traversal has moved up a step, and the visitor should remove + the top node from its stack structure.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SearchByClass

+
+public SearchByClass(Class<T> searchClass)
+
+
Creates an instance of SearchByClass, and sets the Class to be searched + for. +

+

+
Parameters:
searchClass - class to be searched for
+
+ + + + + + + + +
+Method Detail
+ +

+getSearchResults

+
+public Collection<T> getSearchResults()
+
+
After traversing the HashTree, call this method to get a collection of + the nodes that were found. +

+

+
+
+
+ +
Returns:
Collection All found nodes of the requested type
+
+
+
+ +

+getSubTree

+
+public HashTree getSubTree(Object root)
+
+
Given a specific found node, this method will return the sub tree of that + node. +

+

+
+
+
+
Parameters:
root - the node for which the sub tree is requested +
Returns:
HashTree
+
+
+
+ +

+addNode

+
+public void addNode(Object node,
+                    HashTree subTree)
+
+
The tree traverses itself depth-first, calling addNode for each object it + encounters as it goes. This is a callback method, and should not be + called except by a HashTree during traversal. +

+

+
Specified by:
addNode in interface HashTreeTraverser
+
+
+
Parameters:
node - the node currently encountered
subTree - the HashTree under the node encountered
+
+
+
+ +

+subtractNode

+
+public void subtractNode()
+
+
Indicates traversal has moved up a step, and the visitor should remove + the top node from its stack structure. This is a callback method, and + should not be called except by a HashTree during traversal. +

+

+
Specified by:
subtractNode in interface HashTreeTraverser
+
+
+
+
+
+
+ +

+processPath

+
+public void processPath()
+
+
Process path is called when a leaf is reached. If a visitor wishes to + generate Lists of path elements to each leaf, it should keep a Stack data + structure of nodes passed to it with addNode, and removing top items for + every HashTreeTraverser.subtractNode() call. This is a callback method, and should + not be called except by a HashTree during traversal. +

+

+
Specified by:
processPath in interface HashTreeTraverser
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jorphan/collections/SortedHashTree.html b/docs/api/org/apache/jorphan/collections/SortedHashTree.html new file mode 100644 index 00000000000..3147ae22df0 --- /dev/null +++ b/docs/api/org/apache/jorphan/collections/SortedHashTree.html @@ -0,0 +1,484 @@ + + + + + +SortedHashTree (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jorphan.collections +
+Class SortedHashTree

+
+java.lang.Object
+  extended by org.apache.jorphan.collections.HashTree
+      extended by org.apache.jorphan.collections.SortedHashTree
+
+
+
All Implemented Interfaces:
Serializable, Cloneable, Map<Object,HashTree>
+
+
+
+
public class SortedHashTree
extends HashTree
implements Serializable
+ + +

+SortedHashTree is a different implementation of the HashTree + collection class. In the SortedHashTree, the ordering of values in the tree + is made explicit via the compare() function of objects added to the tree. + This works in exactly the same fashion as it does for a SortedSet. +

+ +

+

+
See Also:
HashTree, +TODO does not appear to be used currently, +Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jorphan.collections.HashTree
data
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Constructor Summary
SortedHashTree() + +
+           
SortedHashTree(Collection<?> keys) + +
+           
SortedHashTree(Collection<?> keys, + Comparator<? super Object> comper) + +
+           
SortedHashTree(Comparator<? super Object> comper) + +
+           
SortedHashTree(Object key) + +
+           
SortedHashTree(Object[] keys) + +
+           
SortedHashTree(Object[] keys, + Comparator<? super Object> comper) + +
+           
SortedHashTree(Object key, + Comparator<? super Object> comper) + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+protected  HashTreecreateNewTree() + +
+          Creates a new tree.
+protected  HashTreecreateNewTree(Collection<?> values) + +
+          Creates a new tree.
+protected  HashTreecreateNewTree(Object key) + +
+          Creates a new tree.
+ + + + + + + +
Methods inherited from class org.apache.jorphan.collections.HashTree
add, add, add, add, add, add, add, add, add, add, add, add, add, add, addTreePath, clear, clone, cloneTree, containsKey, containsValue, entrySet, equals, get, getArray, getArray, getArray, getArray, getTree, getTree, getTree, getTreePath, hashCode, isEmpty, keySet, list, list, list, list, put, putAll, remove, replaceKey, search, set, set, set, set, set, set, set, set, set, size, toString, traverse, values
+ + + + + + + +
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SortedHashTree

+
+public SortedHashTree()
+
+
+
+ +

+SortedHashTree

+
+public SortedHashTree(Comparator<? super Object> comper)
+
+
+
+ +

+SortedHashTree

+
+public SortedHashTree(Object key)
+
+
+
+ +

+SortedHashTree

+
+public SortedHashTree(Object key,
+                      Comparator<? super Object> comper)
+
+
+
+ +

+SortedHashTree

+
+public SortedHashTree(Collection<?> keys)
+
+
+
+ +

+SortedHashTree

+
+public SortedHashTree(Collection<?> keys,
+                      Comparator<? super Object> comper)
+
+
+
+ +

+SortedHashTree

+
+public SortedHashTree(Object[] keys)
+
+
+
+ +

+SortedHashTree

+
+public SortedHashTree(Object[] keys,
+                      Comparator<? super Object> comper)
+
+
+ + + + + + + + +
+Method Detail
+ +

+createNewTree

+
+protected HashTree createNewTree()
+
+
Creates a new tree. This method exists to allow inheriting classes to + generate the appropriate types of nodes. For instance, when a node is + added, it's value is a HashTree. Rather than directly calling the + HashTree() constructor, the createNewTree() method is called. Inheriting + classes should override these methods and create the appropriate subclass + of HashTree. +

+

+
Overrides:
createNewTree in class HashTree
+
+
+ +
Returns:
HashTree
+
+
+
+ +

+createNewTree

+
+protected HashTree createNewTree(Object key)
+
+
Creates a new tree. This method exists to allow inheriting classes to + generate the appropriate types of nodes. For instance, when a node is + added, it's value is a HashTree. Rather than directly calling the + HashTree() constructor, the createNewTree() method is called. Inheriting + classes should override these methods and create the appropriate subclass + of HashTree. +

+

+
Overrides:
createNewTree in class HashTree
+
+
+
Parameters:
key - object to use as the key for the top level +
Returns:
newly created HashTree
+
+
+
+ +

+createNewTree

+
+protected HashTree createNewTree(Collection<?> values)
+
+
Creates a new tree. This method exists to allow inheriting classes to + generate the appropriate types of nodes. For instance, when a node is + added, it's value is a HashTree. Rather than directly calling the + HashTree() constructor, the createNewTree() method is called. Inheriting + classes should override these methods and create the appropriate subclass + of HashTree. +

+

+
Overrides:
createNewTree in class HashTree
+
+
+
Parameters:
values - objects to be added to the new HashTree +
Returns:
newly created HashTree
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jorphan/collections/package-frame.html b/docs/api/org/apache/jorphan/collections/package-frame.html new file mode 100644 index 00000000000..7f10f875f19 --- /dev/null +++ b/docs/api/org/apache/jorphan/collections/package-frame.html @@ -0,0 +1,49 @@ + + + + + +org.apache.jorphan.collections (Apache JMeter API) + + + + + + + + + + +org.apache.jorphan.collections + + + + +
+Interfaces  + +
+HashTreeTraverser
+ + + + + + +
+Classes  + +
+Data +
+HashTree +
+ListedHashTree +
+SearchByClass +
+SortedHashTree
+ + + + diff --git a/docs/api/org/apache/jorphan/collections/package-summary.html b/docs/api/org/apache/jorphan/collections/package-summary.html new file mode 100644 index 00000000000..b666566afee --- /dev/null +++ b/docs/api/org/apache/jorphan/collections/package-summary.html @@ -0,0 +1,187 @@ + + + + + +org.apache.jorphan.collections (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jorphan.collections +

+ + + + + + + + + +
+Interface Summary
HashTreeTraverserBy implementing this interface, a class can easily traverse a HashTree + object, and be notified via callbacks of certain events.
+  + +

+ + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
DataUse this class to store database-like data.
HashTreeThis class is used to create a tree structure of objects.
ListedHashTreeListedHashTree is a different implementation of the HashTree + collection class.
SearchByClass<T>Useful for finding all nodes in the tree that represent objects of a + particular type.
SortedHashTreeSortedHashTree is a different implementation of the HashTree + collection class.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jorphan/collections/package-tree.html b/docs/api/org/apache/jorphan/collections/package-tree.html new file mode 100644 index 00000000000..74ac1c0e32a --- /dev/null +++ b/docs/api/org/apache/jorphan/collections/package-tree.html @@ -0,0 +1,161 @@ + + + + + +org.apache.jorphan.collections Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jorphan.collections +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jorphan/exec/KeyToolUtils.html b/docs/api/org/apache/jorphan/exec/KeyToolUtils.html new file mode 100644 index 00000000000..c8179a5aa69 --- /dev/null +++ b/docs/api/org/apache/jorphan/exec/KeyToolUtils.html @@ -0,0 +1,448 @@ + + + + + +KeyToolUtils (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jorphan.exec +
+Class KeyToolUtils

+
+java.lang.Object
+  extended by org.apache.jorphan.exec.KeyToolUtils
+
+
+
+
public class KeyToolUtils
extends Object
+ + +

+Utilities for working with Java keytool +

+ +

+


+ +

+ + + + + + + + + + + + + + + +
+Field Summary
+static StringROOT_CACERT_CRT_PFX + +
+           
+static booleanSUPPORTS_HOST_CERT + +
+          Does this class support generation of host certificates?
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static voidgenerateHostCert(File keystore, + String password, + String host, + int validity) + +
+          Create a host certificate signed with the CA certificate.
+static voidgenerateProxyCA(File keystore, + String password, + int validity) + +
+          Creates a self-signed Root CA certificate and an intermediate CA certificate + (signed by the Root CA certificate) that can be used to sign server certificates.
+static voidgenkeypair(File keystore, + String alias, + String password, + int validity, + String dname, + String ext) + +
+          Generate a self-signed keypair using the algorithm "RSA".
+static String[]getCAaliases() + +
+          Returns a list of the CA aliases that should be in the keystore.
+static StringgetRootCAalias() + +
+          Get the root CA alias; needed to check the serial number and fingerprint
+static booleanhaveKeytool() + +
+           
+static Stringlist(File keystore, + String storePass) + +
+          List the contents of a keystore
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+ROOT_CACERT_CRT_PFX

+
+public static final String ROOT_CACERT_CRT_PFX
+
+
+
See Also:
Constant Field Values
+
+
+ +

+SUPPORTS_HOST_CERT

+
+public static final boolean SUPPORTS_HOST_CERT
+
+
Does this class support generation of host certificates? +

+

+
+
+ + + + + + + + +
+Method Detail
+ +

+genkeypair

+
+public static void genkeypair(File keystore,
+                              String alias,
+                              String password,
+                              int validity,
+                              String dname,
+                              String ext)
+                       throws IOException
+
+
Generate a self-signed keypair using the algorithm "RSA". + Requires Java 7 or later if the "ext" parameter is not null. +

+

+
Parameters:
keystore - the keystore; if it already contains the alias the command will fail
alias - the alias to use, not null
password - the password to use for the store and the key
validity - the validity period in days, greater than 0
dname - the distinguished name value, if omitted use "cn=JMeter Proxy (DO NOT TRUST)"
ext - if not null, the extension (-ext) to add (e.g. "bc:c"). This requires Java 7. +
Throws: +
IOException - if keytool was not configured or running keytool application fails
+
+
+
+ +

+generateProxyCA

+
+public static void generateProxyCA(File keystore,
+                                   String password,
+                                   int validity)
+                            throws IOException
+
+
Creates a self-signed Root CA certificate and an intermediate CA certificate + (signed by the Root CA certificate) that can be used to sign server certificates. + The Root CA certificate file is exported to the same directory as the keystore + in formats suitable for Firefox/Chrome/IE (.crt) and Opera (.usr). + Requires Java 7 or later. +

+

+
Parameters:
keystore - the keystore in which to store everything
password - the password for keystore and keys
validity - the validity period in days, must be greater than 0 +
Throws: +
IOException - if keytool was not configured, running keytool application failed or copying the keys failed
+
+
+
+ +

+generateHostCert

+
+public static void generateHostCert(File keystore,
+                                    String password,
+                                    String host,
+                                    int validity)
+                             throws IOException
+
+
Create a host certificate signed with the CA certificate. + Requires Java 7 or later. +

+

+
Parameters:
keystore - the keystore to use
password - the password to use for the keystore and keys
host - the host, e.g. jmeter.apache.org or *.apache.org; also used as the alias
validity - the validity period for the generated keypair +
Throws: +
IOException - if keytool was not configured or running keytool application failed
+
+
+
+ +

+list

+
+public static String list(File keystore,
+                          String storePass)
+                   throws IOException
+
+
List the contents of a keystore +

+

+
Parameters:
keystore - the keystore file
storePass - the keystore password +
Returns:
the output from the command "keytool -list -v" +
Throws: +
IOException - if keytool was not configured or running keytool application + failed
+
+
+
+ +

+getCAaliases

+
+public static String[] getCAaliases()
+
+
Returns a list of the CA aliases that should be in the keystore. +

+

+ +
Returns:
the aliases that are used for the keystore
+
+
+
+ +

+getRootCAalias

+
+public static String getRootCAalias()
+
+
Get the root CA alias; needed to check the serial number and fingerprint +

+

+ +
Returns:
the alias
+
+
+
+ +

+haveKeytool

+
+public static boolean haveKeytool()
+
+
+ +
Returns:
flag whether KEYTOOL_PATH is + configured (is not null)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jorphan/exec/SystemCommand.html b/docs/api/org/apache/jorphan/exec/SystemCommand.html new file mode 100644 index 00000000000..8dd2f5f2c95 --- /dev/null +++ b/docs/api/org/apache/jorphan/exec/SystemCommand.html @@ -0,0 +1,429 @@ + + + + + +SystemCommand (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jorphan.exec +
+Class SystemCommand

+
+java.lang.Object
+  extended by org.apache.jorphan.exec.SystemCommand
+
+
+
Direct Known Subclasses:
NativeCommand
+
+
+
+
public class SystemCommand
extends Object
+ + +

+Utility class for invoking native system applications +

+ +

+


+ +

+ + + + + + + + + + + +
+Field Summary
+static intPOLL_INTERVAL + +
+           
+  + + + + + + + + + + + + + + + + +
+Constructor Summary
SystemCommand(File directory, + long timeoutMillis, + int pollInterval, + Map<String,String> env, + InputStream stdin, + OutputStream stdout, + OutputStream stderr) + +
+           
SystemCommand(File directory, + long timeoutMillis, + int pollInterval, + Map<String,String> env, + String stdin, + String stdout, + String stderr) + +
+           
SystemCommand(File directory, + Map<String,String> env) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Map<String,String>getExecutionEnvironment() + +
+           
+ StringgetOutResult() + +
+           
+ intrun(List<String> arguments) + +
+           
+ intrun(List<String> arguments1, + List<String> arguments2) + +
+          Pipe the output of one command into another
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+POLL_INTERVAL

+
+public static final int POLL_INTERVAL
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+SystemCommand

+
+public SystemCommand(File directory,
+                     Map<String,String> env)
+
+
+
Parameters:
env - Environment variables appended to environment (may be null)
directory - File working directory (may be null)
+
+
+ +

+SystemCommand

+
+public SystemCommand(File directory,
+                     long timeoutMillis,
+                     int pollInterval,
+                     Map<String,String> env,
+                     String stdin,
+                     String stdout,
+                     String stderr)
+              throws IOException
+
+
+
Parameters:
env - Environment variables appended to environment (may be null)
directory - File working directory (may be null)
timeoutMillis - timeout in Milliseconds
pollInterval - Value used to poll for Process execution end
stdin - File name that will contain data to be input to process (may be null)
stdout - File name that will contain out stream (may be null)
stderr - File name that will contain err stream (may be null) +
Throws: +
IOException - if the input file is not found or output cannot be written
+
+
+ +

+SystemCommand

+
+public SystemCommand(File directory,
+                     long timeoutMillis,
+                     int pollInterval,
+                     Map<String,String> env,
+                     InputStream stdin,
+                     OutputStream stdout,
+                     OutputStream stderr)
+
+
+
Parameters:
env - Environment variables appended to environment (may be null)
directory - File working directory (may be null)
timeoutMillis - timeout in Milliseconds
pollInterval - Value used to poll for Process execution end
stdin - File name that will contain data to be input to process (may be null)
stdout - File name that will contain out stream (may be null)
stderr - File name that will contain err stream (may be null)
+
+ + + + + + + + +
+Method Detail
+ +

+run

+
+public int run(List<String> arguments)
+        throws InterruptedException,
+               IOException
+
+
+
Parameters:
arguments - List of strings, not null +
Returns:
return code +
Throws: +
InterruptedException - when execution was interrupted +
IOException - when I/O error occurs while execution
+
+
+
+ +

+run

+
+public int run(List<String> arguments1,
+               List<String> arguments2)
+        throws InterruptedException,
+               IOException
+
+
Pipe the output of one command into another +

+

+
Parameters:
arguments1 - first command to run
arguments2 - second command to run +
Returns:
exit status +
Throws: +
InterruptedException - when execution gets interrupted +
IOException - when I/O error occurs while execution
+
+
+
+ +

+getOutResult

+
+public String getOutResult()
+
+
+ +
Returns:
Out/Err stream contents
+
+
+
+ +

+getExecutionEnvironment

+
+public Map<String,String> getExecutionEnvironment()
+
+
+ +
Returns:
the executionEnvironment
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jorphan/exec/package-frame.html b/docs/api/org/apache/jorphan/exec/package-frame.html new file mode 100644 index 00000000000..3bf2354fc55 --- /dev/null +++ b/docs/api/org/apache/jorphan/exec/package-frame.html @@ -0,0 +1,32 @@ + + + + + +org.apache.jorphan.exec (Apache JMeter API) + + + + + + + + + + +org.apache.jorphan.exec + + + + +
+Classes  + +
+KeyToolUtils +
+SystemCommand
+ + + + diff --git a/docs/api/org/apache/jorphan/exec/package-summary.html b/docs/api/org/apache/jorphan/exec/package-summary.html new file mode 100644 index 00000000000..1e86c0f24dd --- /dev/null +++ b/docs/api/org/apache/jorphan/exec/package-summary.html @@ -0,0 +1,157 @@ + + + + + +org.apache.jorphan.exec (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jorphan.exec +

+ + + + + + + + + + + + + +
+Class Summary
KeyToolUtilsUtilities for working with Java keytool
SystemCommandUtility class for invoking native system applications
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jorphan/exec/package-tree.html b/docs/api/org/apache/jorphan/exec/package-tree.html new file mode 100644 index 00000000000..d8df456aea4 --- /dev/null +++ b/docs/api/org/apache/jorphan/exec/package-tree.html @@ -0,0 +1,149 @@ + + + + + +org.apache.jorphan.exec Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jorphan.exec +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jorphan/gui/AbstractTreeTableModel.html b/docs/api/org/apache/jorphan/gui/AbstractTreeTableModel.html new file mode 100644 index 00000000000..1c9fd0f13c2 --- /dev/null +++ b/docs/api/org/apache/jorphan/gui/AbstractTreeTableModel.html @@ -0,0 +1,930 @@ + + + + + +AbstractTreeTableModel (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jorphan.gui +
+Class AbstractTreeTableModel

+
+java.lang.Object
+  extended by javax.swing.table.AbstractTableModel
+      extended by javax.swing.table.DefaultTableModel
+          extended by org.apache.jorphan.gui.AbstractTreeTableModel
+
+
+
All Implemented Interfaces:
Serializable, TableModel, TreeTableModel
+
+
+
Direct Known Subclasses:
DefaultTreeTableModel
+
+
+
+
public abstract class AbstractTreeTableModel
extends DefaultTableModel
implements TreeTableModel
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+protected  List<Class<?>>classes + +
+           
+protected  List<String>headers + +
+           
+protected  EventListenerListlistener + +
+           
+protected  List<Object>objects + +
+           
+protected  List<Functor>readFunctors + +
+           
+protected  TreeNoderootNode + +
+           
+protected  List<Functor>writeFunctors + +
+           
+ + + + + + + +
Fields inherited from class javax.swing.table.DefaultTableModel
columnIdentifiers, dataVector
+ + + + + + + +
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
+  + + + + + + + + + + + + + +
+Constructor Summary
AbstractTreeTableModel(String[] headers, + Functor[] readFunctors, + Functor[] writeFunctors, + Class<?>[] editorClasses) + +
+           
AbstractTreeTableModel(TreeNode root) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddTableModelListener(TableModelListener l) + +
+          
+ voidclearData() + +
+           
+ voidfireTreeNodesChanged(TreeNode source, + Object[] path, + int[] indexes, + Object[] children) + +
+           
+ ObjectgetChild(Object parent, + int index) + +
+           
+ intgetChildCount(Object parent) + +
+           
+ Class<?>getColumnClass(int arg0) + +
+          
+ intgetColumnCount() + +
+          The implementation is exactly the same as ObjectTableModel.getColumnCount.
+ StringgetColumnName(int columnIndex) + +
+          
+ ObjectgetRootNode() + +
+          The root node for the TreeTable
+ intgetRowCount() + +
+          The implementation is exactly the same as ObjectTableModel.getRowCount.
+ ObjectgetValueAt(int rowIndex, + int columnIndex) + +
+          Subclasses need to implement the logic for the method and + return the value at the specific cell.
+ ObjectgetValueAt(Object node, + int col) + +
+          The method is similar to getValueAt(int,int).
+ booleanisCellEditable(int rowIndex, + int columnIndex) + +
+          By default the abstract class returns true.
+ booleanisCellEditable(Object node, + int col) + +
+          the method is similar to isCellEditable(int,int).
+ booleanisLeaf(Object node) + +
+          the implementation checks if the Object is a treenode.
+ voidnodeStructureChanged(TreeNode node) + +
+           
+ voidremoveTableModelListener(TableModelListener l) + +
+          
+ voidsetValueAt(Object aValue, + int rowIndex, + int columnIndex) + +
+          
+ voidsetValueAt(Object val, + Object node, + int column) + +
+          the method is similar to isCellEditable(int,int).
+ + + + + + + +
Methods inherited from class javax.swing.table.DefaultTableModel
addColumn, addColumn, addColumn, addRow, addRow, convertToVector, convertToVector, getDataVector, insertRow, insertRow, moveRow, newDataAvailable, newRowsAdded, removeRow, rowsRemoved, setColumnCount, setColumnIdentifiers, setColumnIdentifiers, setDataVector, setDataVector, setNumRows, setRowCount
+ + + + + + + +
Methods inherited from class javax.swing.table.AbstractTableModel
findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+rootNode

+
+protected final TreeNode rootNode
+
+
+
+
+
+ +

+listener

+
+protected final EventListenerList listener
+
+
+
+
+
+ +

+objects

+
+protected final transient List<Object> objects
+
+
+
+
+
+ +

+headers

+
+protected final transient List<String> headers
+
+
+
+
+
+ +

+classes

+
+protected final transient List<Class<?>> classes
+
+
+
+
+
+ +

+readFunctors

+
+protected final transient List<Functor> readFunctors
+
+
+
+
+
+ +

+writeFunctors

+
+protected final transient List<Functor> writeFunctors
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+AbstractTreeTableModel

+
+public AbstractTreeTableModel(TreeNode root)
+
+
+
+ +

+AbstractTreeTableModel

+
+public AbstractTreeTableModel(String[] headers,
+                              Functor[] readFunctors,
+                              Functor[] writeFunctors,
+                              Class<?>[] editorClasses)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getRootNode

+
+public Object getRootNode()
+
+
The root node for the TreeTable +

+

+
+
+
+ +
Returns:
the root node
+
+
+
+ +

+getValueAt

+
+public Object getValueAt(Object node,
+                         int col)
+
+
The method is similar to getValueAt(int,int). Instead of int, the row is + an object. +

+

+
Specified by:
getValueAt in interface TreeTableModel
+
+
+
Parameters:
node - the node which value is to be fetched
col - the column of the node +
Returns:
the value at the column
+
+
+
+ +

+isCellEditable

+
+public boolean isCellEditable(Object node,
+                              int col)
+
+
the method is similar to isCellEditable(int,int). Instead of int, the row + is an object. +

+

+
Specified by:
isCellEditable in interface TreeTableModel
+
+
+
Parameters:
node - the node which value is to be fetched
col - the column of the node +
Returns:
true if cell is editable
+
+
+
+ +

+setValueAt

+
+public void setValueAt(Object val,
+                       Object node,
+                       int column)
+
+
the method is similar to isCellEditable(int,int). Instead of int, the row + is an object. +

+

+
Specified by:
setValueAt in interface TreeTableModel
+
+
+
Parameters:
val - the value to be set
node - the node which value is to be set
column - the column of the node
+
+
+
+ +

+getColumnCount

+
+public int getColumnCount()
+
+
The implementation is exactly the same as ObjectTableModel.getColumnCount. +

+ +

+

+
Specified by:
getColumnCount in interface TableModel
Overrides:
getColumnCount in class DefaultTableModel
+
+
+
+
+
+
+ +

+getRowCount

+
+public int getRowCount()
+
+
The implementation is exactly the same as ObjectTableModel.getRowCount. +

+ +

+

+
Specified by:
getRowCount in interface TableModel
Overrides:
getRowCount in class DefaultTableModel
+
+
+
+
+
+
+ +

+isCellEditable

+
+public boolean isCellEditable(int rowIndex,
+                              int columnIndex)
+
+
By default the abstract class returns true. It is up to subclasses + to override the implementation. +

+ +

+

+
Specified by:
isCellEditable in interface TableModel
Overrides:
isCellEditable in class DefaultTableModel
+
+
+
+
+
+
+ +

+getColumnClass

+
+public Class<?> getColumnClass(int arg0)
+
+
+

+

+
Specified by:
getColumnClass in interface TableModel
Overrides:
getColumnClass in class AbstractTableModel
+
+
+
+
+
+
+ +

+getValueAt

+
+public Object getValueAt(int rowIndex,
+                         int columnIndex)
+
+
Subclasses need to implement the logic for the method and + return the value at the specific cell. +

+ +

+

+
Specified by:
getValueAt in interface TableModel
Overrides:
getValueAt in class DefaultTableModel
+
+
+
+
+
+
+ +

+setValueAt

+
+public void setValueAt(Object aValue,
+                       int rowIndex,
+                       int columnIndex)
+
+
+

+

+
Specified by:
setValueAt in interface TableModel
Overrides:
setValueAt in class DefaultTableModel
+
+
+
+
+
+
+ +

+getColumnName

+
+public String getColumnName(int columnIndex)
+
+
+

+

+
Specified by:
getColumnName in interface TableModel
Overrides:
getColumnName in class DefaultTableModel
+
+
+
+
+
+
+ +

+getChildCount

+
+public int getChildCount(Object parent)
+
+
+
+
+
+
+
+
+
+ +

+getChild

+
+public Object getChild(Object parent,
+                       int index)
+
+
+
+
+
+
+
+
+
+ +

+isLeaf

+
+public boolean isLeaf(Object node)
+
+
the implementation checks if the Object is a treenode. If it is, it + returns isLeaf(), otherwise it returns + false. +

+

+
+
+
+
Parameters:
node - object to be checked for isLeaf() +
Returns:
true if object is a leaf node, false + otherwise
+
+
+
+ +

+addTableModelListener

+
+public void addTableModelListener(TableModelListener l)
+
+
+

+

+
Specified by:
addTableModelListener in interface TableModel
Overrides:
addTableModelListener in class AbstractTableModel
+
+
+
+
+
+
+ +

+removeTableModelListener

+
+public void removeTableModelListener(TableModelListener l)
+
+
+

+

+
Specified by:
removeTableModelListener in interface TableModel
Overrides:
removeTableModelListener in class AbstractTableModel
+
+
+
+
+
+
+ +

+nodeStructureChanged

+
+public void nodeStructureChanged(TreeNode node)
+
+
+
+
+
+
+
+
+
+ +

+fireTreeNodesChanged

+
+public void fireTreeNodesChanged(TreeNode source,
+                                 Object[] path,
+                                 int[] indexes,
+                                 Object[] children)
+
+
+
+
+
+
+
+
+
+ +

+clearData

+
+public void clearData()
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jorphan/gui/ComponentUtil.html b/docs/api/org/apache/jorphan/gui/ComponentUtil.html new file mode 100644 index 00000000000..60358ce765a --- /dev/null +++ b/docs/api/org/apache/jorphan/gui/ComponentUtil.html @@ -0,0 +1,279 @@ + + + + + +ComponentUtil (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jorphan.gui +
+Class ComponentUtil

+
+java.lang.Object
+  extended by org.apache.jorphan.gui.ComponentUtil
+
+
+
+
public final class ComponentUtil
extends Object
+ + +

+This class is a Util for awt Component and could be used to place them in + center of an other. +

+ +

+

+
Version:
+
$Revision: 674365 $
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static voidcenterComponentInComponent(Component parent, + Component toBeCentered) + +
+          Use this static method if you want to center a component over another + component.
+static voidcenterComponentInWindow(Component component) + +
+          Use this static method if you want to center a component in Window.
+static voidcenterComponentInWindow(Component component, + int percentOfScreen) + +
+          Use this static method if you want to center and set its position + compared to the size of the current users screen size.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+centerComponentInWindow

+
+public static void centerComponentInWindow(Component component,
+                                           int percentOfScreen)
+
+
Use this static method if you want to center and set its position + compared to the size of the current users screen size. Valid percent is + between +-(0-100) minus is treated as plus, bigger than 100 is always set + to 100. +

+

+
Parameters:
component - the component you want to center and set size on
percentOfScreen - the percent of the current screensize you want the component + to be
+
+
+
+ +

+centerComponentInWindow

+
+public static void centerComponentInWindow(Component component)
+
+
Use this static method if you want to center a component in Window. +

+

+
Parameters:
component - the component you want to center in window
+
+
+
+ +

+centerComponentInComponent

+
+public static void centerComponentInComponent(Component parent,
+                                              Component toBeCentered)
+
+
Use this static method if you want to center a component over another + component. +

+

+
Parameters:
parent - the component you want to use to place it on
toBeCentered - the component you want to center
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jorphan/gui/DefaultTreeTableModel.html b/docs/api/org/apache/jorphan/gui/DefaultTreeTableModel.html new file mode 100644 index 00000000000..120ef23026e --- /dev/null +++ b/docs/api/org/apache/jorphan/gui/DefaultTreeTableModel.html @@ -0,0 +1,329 @@ + + + + + +DefaultTreeTableModel (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jorphan.gui +
+Class DefaultTreeTableModel

+
+java.lang.Object
+  extended by javax.swing.table.AbstractTableModel
+      extended by javax.swing.table.DefaultTableModel
+          extended by org.apache.jorphan.gui.AbstractTreeTableModel
+              extended by org.apache.jorphan.gui.DefaultTreeTableModel
+
+
+
All Implemented Interfaces:
Serializable, TableModel, TreeTableModel
+
+
+
+
public class DefaultTreeTableModel
extends AbstractTreeTableModel
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jorphan.gui.AbstractTreeTableModel
classes, headers, listener, objects, readFunctors, rootNode, writeFunctors
+ + + + + + + +
Fields inherited from class javax.swing.table.DefaultTableModel
columnIdentifiers, dataVector
+ + + + + + + +
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
+  + + + + + + + + + + + + + + + + +
+Constructor Summary
DefaultTreeTableModel() + +
+           
DefaultTreeTableModel(String[] headers, + Functor[] readFunctors, + Functor[] writeFunctors, + Class<?>[] editorClasses) + +
+           
DefaultTreeTableModel(TreeNode root) + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class org.apache.jorphan.gui.AbstractTreeTableModel
addTableModelListener, clearData, fireTreeNodesChanged, getChild, getChildCount, getColumnClass, getColumnCount, getColumnName, getRootNode, getRowCount, getValueAt, getValueAt, isCellEditable, isCellEditable, isLeaf, nodeStructureChanged, removeTableModelListener, setValueAt, setValueAt
+ + + + + + + +
Methods inherited from class javax.swing.table.DefaultTableModel
addColumn, addColumn, addColumn, addRow, addRow, convertToVector, convertToVector, getDataVector, insertRow, insertRow, moveRow, newDataAvailable, newRowsAdded, removeRow, rowsRemoved, setColumnCount, setColumnIdentifiers, setColumnIdentifiers, setDataVector, setDataVector, setNumRows, setRowCount
+ + + + + + + +
Methods inherited from class javax.swing.table.AbstractTableModel
findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+DefaultTreeTableModel

+
+public DefaultTreeTableModel()
+
+
+
+ +

+DefaultTreeTableModel

+
+public DefaultTreeTableModel(TreeNode root)
+
+
+
Parameters:
root - the TreeNode to use as root
+
+
+ +

+DefaultTreeTableModel

+
+public DefaultTreeTableModel(String[] headers,
+                             Functor[] readFunctors,
+                             Functor[] writeFunctors,
+                             Class<?>[] editorClasses)
+
+
+
Parameters:
headers - the headers to use
readFunctors - the read functors to use
writeFunctors - the write functors to use
editorClasses - the editor classes to use
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jorphan/gui/GuiUtils.html b/docs/api/org/apache/jorphan/gui/GuiUtils.html new file mode 100644 index 00000000000..72d65ed407c --- /dev/null +++ b/docs/api/org/apache/jorphan/gui/GuiUtils.html @@ -0,0 +1,373 @@ + + + + + +GuiUtils (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jorphan.gui +
+Class GuiUtils

+
+java.lang.Object
+  extended by org.apache.jorphan.gui.GuiUtils
+
+
+
+
public final class GuiUtils
extends Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
GuiUtils() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static JComponentcreateLabelCombo(String label, + JComboBox comboBox) + +
+          Create a GUI component JLabel + JComboBox with a left and right margin (5px)
+static voidfixSize(TableColumn column, + JTable table) + +
+          Fix the size of a column according to the header text.
+static StringgetPastedText() + +
+          Get pasted text from clipboard
+static voidmakeScrollableMenu(JMenu menu) + +
+          Make menu scrollable
+static JScrollPanemakeScrollPane(Component comp) + +
+          Create a scroll panel that sets its preferred size to its minimum size.
+static voidstopTableEditing(JTable table) + +
+          Stop any editing that is currently being done on the table.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+GuiUtils

+
+public GuiUtils()
+
+
+ + + + + + + + +
+Method Detail
+ +

+makeScrollPane

+
+public static JScrollPane makeScrollPane(Component comp)
+
+
Create a scroll panel that sets its preferred size to its minimum size. + Explicitly for scroll panes that live inside other scroll panes, or + within containers that stretch components to fill the area they exist in. + Use this for any component you would put in a scroll pane (such as + TextAreas, tables, JLists, etc). It is here for convenience and to avoid + duplicate code. JMeter displays best if you follow this custom. +

+

+
Parameters:
comp - the component which should be placed inside the scroll pane +
Returns:
a JScrollPane containing the specified component
+
+
+
+ +

+fixSize

+
+public static void fixSize(TableColumn column,
+                           JTable table)
+
+
Fix the size of a column according to the header text. +

+

+
Parameters:
column - to be resized
table - containing the column
+
+
+
+ +

+createLabelCombo

+
+public static JComponent createLabelCombo(String label,
+                                          JComboBox comboBox)
+
+
Create a GUI component JLabel + JComboBox with a left and right margin (5px) +

+

+
Parameters:
label - the label
comboBox - the combo box +
Returns:
the JComponent (margin+JLabel+margin+JComboBox)
+
+
+
+ +

+stopTableEditing

+
+public static void stopTableEditing(JTable table)
+
+
Stop any editing that is currently being done on the table. This will + save any changes that have already been made. +

+

+
Parameters:
table - the table to stop on editing
+
+
+
+ +

+getPastedText

+
+public static String getPastedText()
+                            throws UnsupportedFlavorException,
+                                   IOException
+
+
Get pasted text from clipboard +

+

+ +
Returns:
String Pasted text +
Throws: +
UnsupportedFlavorException - if the clipboard data can not be get as a String +
IOException - if the clipboard data is no longer available
+
+
+
+ +

+makeScrollableMenu

+
+public static void makeScrollableMenu(JMenu menu)
+
+
Make menu scrollable +

+

+
Parameters:
menu - JMenu
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jorphan/gui/JLabeledChoice.html b/docs/api/org/apache/jorphan/gui/JLabeledChoice.html new file mode 100644 index 00000000000..0c76bc7b989 --- /dev/null +++ b/docs/api/org/apache/jorphan/gui/JLabeledChoice.html @@ -0,0 +1,798 @@ + + + + + +JLabeledChoice (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jorphan.gui +
+Class JLabeledChoice

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jorphan.gui.JLabeledChoice
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, JLabeledField
+
+
+
+
public class JLabeledChoice
extends JPanel
implements JLabeledField
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + + + + + + + + + + +
+Constructor Summary
JLabeledChoice() + +
+          Default constructor, The label and the Text field are left empty.
JLabeledChoice(String pLabel, + boolean editable) + +
+           
JLabeledChoice(String pLabel, + String[] items) + +
+          Constructs a non-edittable combo-box with the label displaying the passed text.
JLabeledChoice(String pLabel, + String[] items, + boolean editable) + +
+          Constructs a combo-box with the label displaying the passed text.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddChangeListener(ChangeListener pChangeListener) + +
+          Adds a change listener, that will be notified when the text in the text + field is changed.
+ voidaddValue(String item) + +
+           
+ List<JComponent>getComponentList() + +
+          Get the label JLabel followed by the combo-box @link JComboBox.
+ String[]getItems() + +
+           
+ StringgetLabel() + +
+          Returns the text of the label.
+ intgetSelectedIndex() + +
+           
+ Object[]getSelectedItems() + +
+           
+ StringgetText() + +
+          Returns the text in the Text Field.
+ StringgetToolTipText() + +
+          Returns the tooltip string that has been set with setToolTipText
+ voidremoveChangeListener(ChangeListener pChangeListener) + +
+          Removes a change listener.
+ voidsetEditable(boolean editable) + +
+           
+ voidsetLabel(String pLabel) + +
+          Set the text displayed in the label.
+ voidsetSelectedIndex(int index) + +
+           
+ voidsetText(String pText) + +
+          Set the text displayed in the Text Field.
+ voidsetToolTipText(String text) + +
+          Registers the text to display in a tool tip.
+ voidsetValues(String[] items) + +
+           
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+JLabeledChoice

+
+public JLabeledChoice()
+
+
Default constructor, The label and the Text field are left empty. +

+

+
+ +

+JLabeledChoice

+
+public JLabeledChoice(String pLabel,
+                      boolean editable)
+
+
+
+ +

+JLabeledChoice

+
+public JLabeledChoice(String pLabel,
+                      String[] items)
+
+
Constructs a non-edittable combo-box with the label displaying the passed text. +

+

+
Parameters:
pLabel - - the text to display in the label.
items - - the items to display in the Combo box
+
+
+ +

+JLabeledChoice

+
+public JLabeledChoice(String pLabel,
+                      String[] items,
+                      boolean editable)
+
+
Constructs a combo-box with the label displaying the passed text. +

+

+
Parameters:
pLabel - - the text to display in the label.
items - - the items to display in the Combo box
editable - - if true, then Add and Delete buttons are created.
+
+ + + + + + + + +
+Method Detail
+ +

+getComponentList

+
+public List<JComponent> getComponentList()
+
+
Get the label JLabel followed by the combo-box @link JComboBox. +

+

+
Specified by:
getComponentList in interface JLabeledField
+
+
+
+
+
+
+ +

+setEditable

+
+public void setEditable(boolean editable)
+
+
+
+
+
+
+
+
+
+ +

+addValue

+
+public void addValue(String item)
+
+
+
+
+
+
+
+
+
+ +

+setValues

+
+public void setValues(String[] items)
+
+
+
+
+
+
+
+
+
+ +

+setLabel

+
+public void setLabel(String pLabel)
+
+
Set the text displayed in the label. +

+

+
Specified by:
setLabel in interface JLabeledField
+
+
+
Parameters:
pLabel - The new label text.
+
+
+
+ +

+setText

+
+public void setText(String pText)
+
+
Set the text displayed in the Text Field. +

+

+
Specified by:
setText in interface JLabeledField
+
+
+
Parameters:
pText - The new text to display in the text field.
+
+
+
+ +

+setSelectedIndex

+
+public void setSelectedIndex(int index)
+
+
+
+
+
+
+
+
+
+ +

+getText

+
+public String getText()
+
+
Returns the text in the Text Field. +

+

+
Specified by:
getText in interface JLabeledField
+
+
+ +
Returns:
The text in the Text Field. Never returns null.
+
+
+
+ +

+getSelectedIndex

+
+public int getSelectedIndex()
+
+
+
+
+
+
+
+
+
+ +

+getSelectedItems

+
+public Object[] getSelectedItems()
+
+
+
+
+
+
+
+
+
+ +

+getItems

+
+public String[] getItems()
+
+
+
+
+
+
+
+
+
+ +

+getLabel

+
+public String getLabel()
+
+
Returns the text of the label. +

+

+
+
+
+ +
Returns:
The text of the label.
+
+
+
+ +

+setToolTipText

+
+public void setToolTipText(String text)
+
+
Registers the text to display in a tool tip. + The text displays when the cursor lingers over the component. +

+

+
Overrides:
setToolTipText in class JComponent
+
+
+
Parameters:
text - the string to display; if the text is null, + the tool tip is turned off for this component
+
+
+
+ +

+getToolTipText

+
+public String getToolTipText()
+
+
Returns the tooltip string that has been set with setToolTipText +

+

+
Overrides:
getToolTipText in class JComponent
+
+
+ +
Returns:
the text of the tool tip
+
+
+
+ +

+addChangeListener

+
+public void addChangeListener(ChangeListener pChangeListener)
+
+
Adds a change listener, that will be notified when the text in the text + field is changed. The ChangeEvent that will be passed to registered + listeners will contain this object as the source, allowing the new text + to be extracted using the getText method. +

+

+
Specified by:
addChangeListener in interface JLabeledField
+
+
+
Parameters:
pChangeListener - The listener to add
+
+
+
+ +

+removeChangeListener

+
+public void removeChangeListener(ChangeListener pChangeListener)
+
+
Removes a change listener. +

+

+
+
+
+
Parameters:
pChangeListener - The change listener to remove.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jorphan/gui/JLabeledField.html b/docs/api/org/apache/jorphan/gui/JLabeledField.html new file mode 100644 index 00000000000..3be3405bb2e --- /dev/null +++ b/docs/api/org/apache/jorphan/gui/JLabeledField.html @@ -0,0 +1,285 @@ + + + + + +JLabeledField (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jorphan.gui +
+Interface JLabeledField

+
+
All Known Implementing Classes:
JLabeledChoice, JLabeledPasswordField, JLabeledRadioI18N, JLabeledTextArea, JLabeledTextField
+
+
+
+
public interface JLabeledField
+ + +

+

+
Version:
+
$Revision: 1595401 $
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddChangeListener(ChangeListener pChangeListener) + +
+           
+ List<JComponent>getComponentList() + +
+           
+ StringgetText() + +
+           
+ voidsetLabel(String pLabel) + +
+           
+ voidsetText(String text) + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+getText

+
+String getText()
+
+
+
+
+
+
+ +

+setText

+
+void setText(String text)
+
+
+
+
+
+
+ +

+setLabel

+
+void setLabel(String pLabel)
+
+
+
+
+
+
+ +

+addChangeListener

+
+void addChangeListener(ChangeListener pChangeListener)
+
+
+
+
+
+
+ +

+getComponentList

+
+List<JComponent> getComponentList()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jorphan/gui/JLabeledPasswordField.html b/docs/api/org/apache/jorphan/gui/JLabeledPasswordField.html new file mode 100644 index 00000000000..13ebe269155 --- /dev/null +++ b/docs/api/org/apache/jorphan/gui/JLabeledPasswordField.html @@ -0,0 +1,411 @@ + + + + + +JLabeledPasswordField (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jorphan.gui +
+Class JLabeledPasswordField

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jorphan.gui.JLabeledTextField
+                      extended by org.apache.jorphan.gui.JLabeledPasswordField
+
+
+
All Implemented Interfaces:
FocusListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, JLabeledField
+
+
+
+
public class JLabeledPasswordField
extends JLabeledTextField
+ + +

+

+
Version:
+
$Revision: 1595401 $
+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + + + + +
+Constructor Summary
JLabeledPasswordField() + +
+           
JLabeledPasswordField(String pLabel) + +
+          Constructs a new component with the label displaying the passed text.
+  + + + + + + + + + + + +
+Method Summary
+protected  JTextFieldcreateTextField(int size) + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jorphan.gui.JLabeledTextField
addChangeListener, focusGained, focusLost, getComponentList, getLabel, getText, getToolTipText, notifyChangeListeners, removeChangeListener, setEnabled, setLabel, setText, setToolTipText
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+JLabeledPasswordField

+
+public JLabeledPasswordField()
+
+
+
+ +

+JLabeledPasswordField

+
+public JLabeledPasswordField(String pLabel)
+
+
Constructs a new component with the label displaying the passed text. +

+

+
Parameters:
pLabel - The text to in the label.
+
+ + + + + + + + +
+Method Detail
+ +

+createTextField

+
+protected JTextField createTextField(int size)
+
+
+
Overrides:
createTextField in class JLabeledTextField
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jorphan/gui/JLabeledTextArea.html b/docs/api/org/apache/jorphan/gui/JLabeledTextArea.html new file mode 100644 index 00000000000..2124d35f618 --- /dev/null +++ b/docs/api/org/apache/jorphan/gui/JLabeledTextArea.html @@ -0,0 +1,747 @@ + + + + + +JLabeledTextArea (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jorphan.gui +
+Class JLabeledTextArea

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jorphan.gui.JLabeledTextArea
+
+
+
All Implemented Interfaces:
FocusListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, JLabeledField
+
+
+
+
public class JLabeledTextArea
extends JPanel
implements JLabeledField, FocusListener
+ + +

+A Helper component that wraps a JTextField with a label into a JPanel (this). + This component also has an efficient event handling mechanism for handling + the text changing in the Text Field. The registered change listeners are only + called when the text has changed. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + + + + + + + +
+Constructor Summary
JLabeledTextArea() + +
+          Default constructor, The label and the Text field are left empty.
JLabeledTextArea(String label) + +
+          Constructs a new component with the label displaying the passed text.
JLabeledTextArea(String pLabel, + Document docModel) + +
+          Constructs a new component with the label displaying the passed text.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddChangeListener(ChangeListener pChangeListener) + +
+          Adds a change listener, that will be notified when the text in the text + field is changed.
+ voidfocusGained(FocusEvent pFocusEvent) + +
+          Catch what the value was when focus was gained.
+ voidfocusLost(FocusEvent pFocusEvent) + +
+          Callback method when the focus to the Text Field component is lost.
+ List<JComponent>getComponentList() + +
+          Get the label JLabel followed by the text field @link JTextArea.
+ StringgetLabel() + +
+          Returns the text of the label.
+ StringgetText() + +
+          Returns the text in the Text Field.
+ String[]getTextLines() + +
+           
+ StringgetToolTipText() + +
+          Returns the tooltip string that has been set with setToolTipText
+ voidremoveChangeListener(ChangeListener pChangeListener) + +
+          Removes a change listener.
+ voidsetDocumentModel(Document docModel) + +
+           
+ voidsetEnabled(boolean enable) + +
+          
+ voidsetLabel(String pLabel) + +
+          Set the text displayed in the label.
+ voidsetText(String pText) + +
+          Set the text displayed in the Text Field.
+ voidsetToolTipText(String text) + +
+          Registers the text to display in a tool tip.
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+JLabeledTextArea

+
+public JLabeledTextArea()
+
+
Default constructor, The label and the Text field are left empty. +

+

+
+ +

+JLabeledTextArea

+
+public JLabeledTextArea(String label)
+
+
Constructs a new component with the label displaying the passed text. +

+

+
Parameters:
label - The text to display in the label.
+
+
+ +

+JLabeledTextArea

+
+public JLabeledTextArea(String pLabel,
+                        Document docModel)
+
+
Constructs a new component with the label displaying the passed text. +

+

+
Parameters:
pLabel - The text to display in the label.
docModel - the document for the text area
+
+ + + + + + + + +
+Method Detail
+ +

+getComponentList

+
+public List<JComponent> getComponentList()
+
+
Get the label JLabel followed by the text field @link JTextArea. +

+

+
Specified by:
getComponentList in interface JLabeledField
+
+
+
+
+
+
+ +

+setDocumentModel

+
+public void setDocumentModel(Document docModel)
+
+
+
+
+
+
+
+
+
+ +

+focusLost

+
+public void focusLost(FocusEvent pFocusEvent)
+
+
Callback method when the focus to the Text Field component is lost. +

+

+
Specified by:
focusLost in interface FocusListener
+
+
+
Parameters:
pFocusEvent - The focus event that occured.
+
+
+
+ +

+focusGained

+
+public void focusGained(FocusEvent pFocusEvent)
+
+
Catch what the value was when focus was gained. +

+

+
Specified by:
focusGained in interface FocusListener
+
+
+
+
+
+
+ +

+setLabel

+
+public void setLabel(String pLabel)
+
+
Set the text displayed in the label. +

+

+
Specified by:
setLabel in interface JLabeledField
+
+
+
Parameters:
pLabel - The new label text.
+
+
+
+ +

+setText

+
+public void setText(String pText)
+
+
Set the text displayed in the Text Field. +

+

+
Specified by:
setText in interface JLabeledField
+
+
+
Parameters:
pText - The new text to display in the text field.
+
+
+
+ +

+getText

+
+public String getText()
+
+
Returns the text in the Text Field. +

+

+
Specified by:
getText in interface JLabeledField
+
+
+ +
Returns:
The text in the Text Field.
+
+
+
+ +

+getLabel

+
+public String getLabel()
+
+
Returns the text of the label. +

+

+
+
+
+ +
Returns:
The text of the label.
+
+
+
+ +

+setEnabled

+
+public void setEnabled(boolean enable)
+
+
+

+

+
Overrides:
setEnabled in class JComponent
+
+
+
+
+
+
+ +

+setToolTipText

+
+public void setToolTipText(String text)
+
+
Registers the text to display in a tool tip. + The text displays when the cursor lingers over the component. +

+

+
Overrides:
setToolTipText in class JComponent
+
+
+
Parameters:
text - the string to display; if the text is null, + the tool tip is turned off for this component
+
+
+
+ +

+getToolTipText

+
+public String getToolTipText()
+
+
Returns the tooltip string that has been set with setToolTipText +

+

+
Overrides:
getToolTipText in class JComponent
+
+
+ +
Returns:
the text of the tool tip
+
+
+
+ +

+addChangeListener

+
+public void addChangeListener(ChangeListener pChangeListener)
+
+
Adds a change listener, that will be notified when the text in the text + field is changed. The ChangeEvent that will be passed to registered + listeners will contain this object as the source, allowing the new text + to be extracted using the getText method. +

+

+
Specified by:
addChangeListener in interface JLabeledField
+
+
+
Parameters:
pChangeListener - The listener to add
+
+
+
+ +

+removeChangeListener

+
+public void removeChangeListener(ChangeListener pChangeListener)
+
+
Removes a change listener. +

+

+
+
+
+
Parameters:
pChangeListener - The change listener to remove.
+
+
+
+ +

+getTextLines

+
+public String[] getTextLines()
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jorphan/gui/JLabeledTextField.html b/docs/api/org/apache/jorphan/gui/JLabeledTextField.html new file mode 100644 index 00000000000..4e0b2a205b4 --- /dev/null +++ b/docs/api/org/apache/jorphan/gui/JLabeledTextField.html @@ -0,0 +1,768 @@ + + + + + +JLabeledTextField (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jorphan.gui +
+Class JLabeledTextField

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JPanel
+                  extended by org.apache.jorphan.gui.JLabeledTextField
+
+
+
All Implemented Interfaces:
FocusListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, JLabeledField
+
+
+
Direct Known Subclasses:
JLabeledPasswordField
+
+
+
+
public class JLabeledTextField
extends JPanel
implements JLabeledField, FocusListener
+ + +

+A Helper component that wraps a JTextField with a label into a JPanel (this). + This component also has an efficient event handling mechanism for handling + the text changing in the Text Field. The registered change listeners are only + called when the text has changed. +

+ +

+

+
Version:
+
$Revision: 1413254 $
+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + + + + + + + + + + +
+Constructor Summary
JLabeledTextField() + +
+          Default constructor, The label and the Text field are left empty.
JLabeledTextField(String pLabel) + +
+          Constructs a new component with the label displaying the passed text.
JLabeledTextField(String pLabel, + Color bk) + +
+           
JLabeledTextField(String pLabel, + int size) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddChangeListener(ChangeListener pChangeListener) + +
+          Adds a change listener, that will be notified when the text in the text + field is changed.
+protected  JTextFieldcreateTextField(int size) + +
+           
+ voidfocusGained(FocusEvent pFocusEvent) + +
+          Catch what the value was when focus was gained.
+ voidfocusLost(FocusEvent pFocusEvent) + +
+          Callback method when the focus to the Text Field component is lost.
+ List<JComponent>getComponentList() + +
+          Get the label JLabel followed by the text field @link JTextField.
+ StringgetLabel() + +
+          Returns the text of the label.
+ StringgetText() + +
+          Returns the text in the Text Field.
+ StringgetToolTipText() + +
+          Returns the tooltip string that has been set with setToolTipText
+protected  voidnotifyChangeListeners() + +
+          Notify all registered change listeners that the text in the text field + has changed.
+ voidremoveChangeListener(ChangeListener pChangeListener) + +
+          Removes a change listener.
+ voidsetEnabled(boolean enable) + +
+          
+ voidsetLabel(String pLabel) + +
+          Set the text displayed in the label.
+ voidsetText(String pText) + +
+          Set the text displayed in the Text Field.
+ voidsetToolTipText(String text) + +
+          Registers the text to display in a tool tip.
+ + + + + + + +
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+JLabeledTextField

+
+public JLabeledTextField()
+
+
Default constructor, The label and the Text field are left empty. +

+

+
+ +

+JLabeledTextField

+
+public JLabeledTextField(String pLabel)
+
+
Constructs a new component with the label displaying the passed text. +

+

+
Parameters:
pLabel - The text to in the label.
+
+
+ +

+JLabeledTextField

+
+public JLabeledTextField(String pLabel,
+                         int size)
+
+
+
+ +

+JLabeledTextField

+
+public JLabeledTextField(String pLabel,
+                         Color bk)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getComponentList

+
+public List<JComponent> getComponentList()
+
+
Get the label JLabel followed by the text field @link JTextField. +

+

+
Specified by:
getComponentList in interface JLabeledField
+
+
+
+
+
+
+ +

+setEnabled

+
+public void setEnabled(boolean enable)
+
+
+

+

+
Overrides:
setEnabled in class JComponent
+
+
+
+
+
+
+ +

+createTextField

+
+protected JTextField createTextField(int size)
+
+
+
+
+
+
+
+
+
+ +

+focusLost

+
+public void focusLost(FocusEvent pFocusEvent)
+
+
Callback method when the focus to the Text Field component is lost. +

+

+
Specified by:
focusLost in interface FocusListener
+
+
+
Parameters:
pFocusEvent - The focus event that occured.
+
+
+
+ +

+focusGained

+
+public void focusGained(FocusEvent pFocusEvent)
+
+
Catch what the value was when focus was gained. +

+

+
Specified by:
focusGained in interface FocusListener
+
+
+
+
+
+
+ +

+setLabel

+
+public void setLabel(String pLabel)
+
+
Set the text displayed in the label. +

+

+
Specified by:
setLabel in interface JLabeledField
+
+
+
Parameters:
pLabel - The new label text.
+
+
+
+ +

+setText

+
+public void setText(String pText)
+
+
Set the text displayed in the Text Field. +

+

+
Specified by:
setText in interface JLabeledField
+
+
+
Parameters:
pText - The new text to display in the text field.
+
+
+
+ +

+getText

+
+public String getText()
+
+
Returns the text in the Text Field. +

+

+
Specified by:
getText in interface JLabeledField
+
+
+ +
Returns:
The text in the Text Field.
+
+
+
+ +

+getLabel

+
+public String getLabel()
+
+
Returns the text of the label. +

+

+
+
+
+ +
Returns:
The text of the label.
+
+
+
+ +

+setToolTipText

+
+public void setToolTipText(String text)
+
+
Registers the text to display in a tool tip. + The text displays when the cursor lingers over the component. +

+

+
Overrides:
setToolTipText in class JComponent
+
+
+
Parameters:
text - the string to display; if the text is null, + the tool tip is turned off for this component
+
+
+
+ +

+getToolTipText

+
+public String getToolTipText()
+
+
Returns the tooltip string that has been set with setToolTipText +

+

+
Overrides:
getToolTipText in class JComponent
+
+
+ +
Returns:
the text of the tool tip
+
+
+
+ +

+addChangeListener

+
+public void addChangeListener(ChangeListener pChangeListener)
+
+
Adds a change listener, that will be notified when the text in the text + field is changed. The ChangeEvent that will be passed to registered + listeners will contain this object as the source, allowing the new text + to be extracted using the getText method. +

+

+
Specified by:
addChangeListener in interface JLabeledField
+
+
+
Parameters:
pChangeListener - The listener to add
+
+
+
+ +

+removeChangeListener

+
+public void removeChangeListener(ChangeListener pChangeListener)
+
+
Removes a change listener. +

+

+
+
+
+
Parameters:
pChangeListener - The change listener to remove.
+
+
+
+ +

+notifyChangeListeners

+
+protected void notifyChangeListeners()
+
+
Notify all registered change listeners that the text in the text field + has changed. +

+

+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jorphan/gui/JTreeTable.html b/docs/api/org/apache/jorphan/gui/JTreeTable.html new file mode 100644 index 00000000000..6f3dbd3b50b --- /dev/null +++ b/docs/api/org/apache/jorphan/gui/JTreeTable.html @@ -0,0 +1,431 @@ + + + + + +JTreeTable (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jorphan.gui +
+Class JTreeTable

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JTable
+                  extended by org.apache.jorphan.gui.JTreeTable
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, EventListener, Accessible, CellEditorListener, ListSelectionListener, RowSorterListener, TableColumnModelListener, TableModelListener, Scrollable
+
+
+
+
public class JTreeTable
extends JTable
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JTable
JTable.AccessibleJTable, JTable.DropLocation, JTable.PrintMode
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class javax.swing.JTable
AUTO_RESIZE_ALL_COLUMNS, AUTO_RESIZE_LAST_COLUMN, AUTO_RESIZE_NEXT_COLUMN, AUTO_RESIZE_OFF, AUTO_RESIZE_SUBSEQUENT_COLUMNS, autoCreateColumnsFromModel, autoResizeMode, cellEditor, cellSelectionEnabled, columnModel, dataModel, defaultEditorsByColumnClass, defaultRenderersByColumnClass, editingColumn, editingRow, editorComp, gridColor, preferredViewportSize, rowHeight, rowMargin, rowSelectionAllowed, selectionBackground, selectionForeground, selectionModel, showHorizontalLines, showVerticalLines, tableHeader
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + + + + + + + + + + + + + +
+Constructor Summary
JTreeTable() + +
+          The default implementation will use DefaultTreeTableModel
JTreeTable(int numRows, + int numColumns) + +
+           
JTreeTable(Object[][] rowData, + Object[] columnNames) + +
+           
JTreeTable(TreeTableModel dm) + +
+           
JTreeTable(Vector<?> rowData, + Vector<?> columnNames) + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class javax.swing.JTable
addColumn, addColumnSelectionInterval, addNotify, addRowSelectionInterval, changeSelection, clearSelection, columnAdded, columnAtPoint, columnMarginChanged, columnMoved, columnRemoved, columnSelectionChanged, configureEnclosingScrollPane, convertColumnIndexToModel, convertColumnIndexToView, convertRowIndexToModel, convertRowIndexToView, createDefaultColumnModel, createDefaultColumnsFromModel, createDefaultDataModel, createDefaultEditors, createDefaultRenderers, createDefaultSelectionModel, createDefaultTableHeader, createScrollPaneForTable, doLayout, editCellAt, editCellAt, editingCanceled, editingStopped, getAccessibleContext, getAutoCreateColumnsFromModel, getAutoCreateRowSorter, getAutoResizeMode, getCellEditor, getCellEditor, getCellRect, getCellRenderer, getCellSelectionEnabled, getColumn, getColumnClass, getColumnCount, getColumnModel, getColumnName, getColumnSelectionAllowed, getDefaultEditor, getDefaultRenderer, getDragEnabled, getDropLocation, getDropMode, getEditingColumn, getEditingRow, getEditorComponent, getFillsViewportHeight, getGridColor, getIntercellSpacing, getModel, getPreferredScrollableViewportSize, getPrintable, getRowCount, getRowHeight, getRowHeight, getRowMargin, getRowSelectionAllowed, getRowSorter, getScrollableBlockIncrement, getScrollableTracksViewportHeight, getScrollableTracksViewportWidth, getScrollableUnitIncrement, getSelectedColumn, getSelectedColumnCount, getSelectedColumns, getSelectedRow, getSelectedRowCount, getSelectedRows, getSelectionBackground, getSelectionForeground, getSelectionModel, getShowHorizontalLines, getShowVerticalLines, getSurrendersFocusOnKeystroke, getTableHeader, getToolTipText, getUI, getUIClassID, getUpdateSelectionOnSort, getValueAt, initializeLocalVars, isCellEditable, isCellSelected, isColumnSelected, isEditing, isRowSelected, moveColumn, paramString, prepareEditor, prepareRenderer, print, print, print, print, print, processKeyBinding, removeColumn, removeColumnSelectionInterval, removeEditor, removeNotify, removeRowSelectionInterval, resizeAndRepaint, rowAtPoint, selectAll, setAutoCreateColumnsFromModel, setAutoCreateRowSorter, setAutoResizeMode, setCellEditor, setCellSelectionEnabled, setColumnModel, setColumnSelectionAllowed, setColumnSelectionInterval, setDefaultEditor, setDefaultRenderer, setDragEnabled, setDropMode, setEditingColumn, setEditingRow, setFillsViewportHeight, setGridColor, setIntercellSpacing, setModel, setPreferredScrollableViewportSize, setRowHeight, setRowHeight, setRowMargin, setRowSelectionAllowed, setRowSelectionInterval, setRowSorter, setSelectionBackground, setSelectionForeground, setSelectionMode, setSelectionModel, setShowGrid, setShowHorizontalLines, setShowVerticalLines, setSurrendersFocusOnKeystroke, setTableHeader, setUI, setUpdateSelectionOnSort, setValueAt, sizeColumnsToFit, sizeColumnsToFit, sorterChanged, tableChanged, unconfigureEnclosingScrollPane, updateUI, valueChanged
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+JTreeTable

+
+public JTreeTable()
+
+
The default implementation will use DefaultTreeTableModel +

+

+
+ +

+JTreeTable

+
+public JTreeTable(int numRows,
+                  int numColumns)
+
+
+
Parameters:
numRows - number of rows the table holds
numColumns - number of columns the table holds
+
+
+ +

+JTreeTable

+
+public JTreeTable(TreeTableModel dm)
+
+
+
Parameters:
dm - the data model to use
+
+
+ +

+JTreeTable

+
+public JTreeTable(Object[][] rowData,
+                  Object[] columnNames)
+
+
+
Parameters:
rowData - the data for the table
columnNames - the names for the columns
+
+
+ +

+JTreeTable

+
+public JTreeTable(Vector<?> rowData,
+                  Vector<?> columnNames)
+
+
+
Parameters:
rowData - the data for the table
columnNames - the names for the columns
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jorphan/gui/MenuScroller.html b/docs/api/org/apache/jorphan/gui/MenuScroller.html new file mode 100644 index 00000000000..3ac399166ba --- /dev/null +++ b/docs/api/org/apache/jorphan/gui/MenuScroller.html @@ -0,0 +1,972 @@ + + + + + +MenuScroller (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jorphan.gui +
+Class MenuScroller

+
+java.lang.Object
+  extended by org.apache.jorphan.gui.MenuScroller
+
+
+
+
public class MenuScroller
extends Object
+ + +

+A class that provides scrolling capabilities to a long menu dropdown or popup + menu. A number of items can optionally be frozen at the top and/or bottom of + the menu. +

+ Implementation note: The default number of items to display at a time + is 15, and the default scrolling interval is 125 milliseconds. +

+ + Class is slightly changed as per comments on the webpage +

+ +

+

+
Version:
+
1.5.0 04/05/12
+
Author:
+
Darryl Burke (http://tips4java.wordpress.com/2009/02/01/menu-scroller/)
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Constructor Summary
MenuScroller(JMenu menu) + +
+          Constructs a MenuScroller that scrolls a menu with the + default number of items to display at a time, and default scrolling + interval.
MenuScroller(JMenu menu, + int scrollCount) + +
+          Constructs a MenuScroller that scrolls a menu with the + specified number of items to display at a time, and default scrolling + interval.
MenuScroller(JMenu menu, + int scrollCount, + int interval) + +
+          Constructs a MenuScroller that scrolls a menu with the + specified number of items to display at a time, and specified scrolling + interval.
MenuScroller(JMenu menu, + int scrollCount, + int interval, + int topFixedCount, + int bottomFixedCount) + +
+          Constructs a MenuScroller that scrolls a menu with the + specified number of items to display in the scrolling region, the + specified scrolling interval, and the specified numbers of items fixed at + the top and bottom of the menu.
MenuScroller(JPopupMenu menu) + +
+          Constructs a MenuScroller that scrolls a popup menu with the + default number of items to display at a time, and default scrolling + interval.
MenuScroller(JPopupMenu menu, + int scrollCount) + +
+          Constructs a MenuScroller that scrolls a popup menu with the + specified number of items to display at a time, and default scrolling + interval.
MenuScroller(JPopupMenu menu, + int scrollCount, + int interval) + +
+          Constructs a MenuScroller that scrolls a popup menu with the + specified number of items to display at a time, and specified scrolling + interval.
MenuScroller(JPopupMenu menu, + int scrollCount, + int interval, + int topFixedCount, + int bottomFixedCount) + +
+          Constructs a MenuScroller that scrolls a popup menu with the + specified number of items to display in the scrolling region, the + specified scrolling interval, and the specified numbers of items fixed at + the top and bottom of the popup menu.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voiddispose() + +
+          Removes this MenuScroller from the associated menu and restores the + default behavior of the menu.
+ voidfinalize() + +
+          Ensures that the dispose method of this MenuScroller is + called when there are no more refrences to it.
+ intgetBottomFixedCount() + +
+          Returns the number of items fixed at the bottom of the menu or popup + menu.
+ intgetInterval() + +
+          Returns the scroll interval in milliseconds
+ intgetscrollCount() + +
+          Returns the number of items in the scrolling portion of the menu.
+ intgetTopFixedCount() + +
+          Returns the number of items fixed at the top of the menu or popup menu.
+ voidkeepVisible(int index) + +
+          Scrolls the item at the specified index into view each time the menu is + opened.
+ voidkeepVisible(JMenuItem item) + +
+          Scrolls the specified item into view each time the menu is opened.
+ voidsetBottomFixedCount(int bottomFixedCount) + +
+          Sets the number of items to fix at the bottom of the menu or popup menu.
+ voidsetInterval(int interval) + +
+          Sets the scroll interval in milliseconds
+ voidsetScrollCount(int scrollCount) + +
+          Sets the number of items in the scrolling portion of the menu.
+static MenuScrollersetScrollerFor(JMenu menu) + +
+          Registers a menu to be scrolled with the default number of items to + display at a time and the default scrolling interval.
+static MenuScrollersetScrollerFor(JMenu menu, + int scrollCount) + +
+          Registers a menu to be scrolled with the default number of items to + display at a time and the specified scrolling interval.
+static MenuScrollersetScrollerFor(JMenu menu, + int scrollCount, + int interval) + +
+          Registers a menu to be scrolled, with the specified number of items to + display at a time and the specified scrolling interval.
+static MenuScrollersetScrollerFor(JMenu menu, + int scrollCount, + int interval, + int topFixedCount, + int bottomFixedCount) + +
+          Registers a menu to be scrolled, with the specified number of items to + display in the scrolling region, the specified scrolling interval, and + the specified numbers of items fixed at the top and bottom of the menu.
+static MenuScrollersetScrollerFor(JPopupMenu menu) + +
+          Registers a popup menu to be scrolled with the default number of items to + display at a time and the default scrolling interval.
+static MenuScrollersetScrollerFor(JPopupMenu menu, + int scrollCount) + +
+          Registers a popup menu to be scrolled with the default number of items to + display at a time and the specified scrolling interval.
+static MenuScrollersetScrollerFor(JPopupMenu menu, + int scrollCount, + int interval) + +
+          Registers a popup menu to be scrolled, with the specified number of items + to display at a time and the specified scrolling interval.
+static MenuScrollersetScrollerFor(JPopupMenu menu, + int scrollCount, + int interval, + int topFixedCount, + int bottomFixedCount) + +
+          Registers a popup menu to be scrolled, with the specified number of items + to display in the scrolling region, the specified scrolling interval, and + the specified numbers of items fixed at the top and bottom of the popup + menu.
+ voidsetTopFixedCount(int topFixedCount) + +
+          Sets the number of items to fix at the top of the menu or popup menu.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+MenuScroller

+
+public MenuScroller(JMenu menu)
+
+
Constructs a MenuScroller that scrolls a menu with the + default number of items to display at a time, and default scrolling + interval. +

+

+
Parameters:
menu - the menu
+
+
+ +

+MenuScroller

+
+public MenuScroller(JPopupMenu menu)
+
+
Constructs a MenuScroller that scrolls a popup menu with the + default number of items to display at a time, and default scrolling + interval. +

+

+
Parameters:
menu - the popup menu
+
+
+ +

+MenuScroller

+
+public MenuScroller(JMenu menu,
+                    int scrollCount)
+
+
Constructs a MenuScroller that scrolls a menu with the + specified number of items to display at a time, and default scrolling + interval. +

+

+
Parameters:
menu - the menu
scrollCount - the number of items to display at a time +
Throws: +
IllegalArgumentException - if scrollCount is 0 or negative
+
+
+ +

+MenuScroller

+
+public MenuScroller(JPopupMenu menu,
+                    int scrollCount)
+
+
Constructs a MenuScroller that scrolls a popup menu with the + specified number of items to display at a time, and default scrolling + interval. +

+

+
Parameters:
menu - the popup menu
scrollCount - the number of items to display at a time +
Throws: +
IllegalArgumentException - if scrollCount is 0 or negative
+
+
+ +

+MenuScroller

+
+public MenuScroller(JMenu menu,
+                    int scrollCount,
+                    int interval)
+
+
Constructs a MenuScroller that scrolls a menu with the + specified number of items to display at a time, and specified scrolling + interval. +

+

+
Parameters:
menu - the menu
scrollCount - the number of items to display at a time
interval - the scroll interval, in milliseconds +
Throws: +
IllegalArgumentException - if scrollCount or interval is 0 or negative
+
+
+ +

+MenuScroller

+
+public MenuScroller(JPopupMenu menu,
+                    int scrollCount,
+                    int interval)
+
+
Constructs a MenuScroller that scrolls a popup menu with the + specified number of items to display at a time, and specified scrolling + interval. +

+

+
Parameters:
menu - the popup menu
scrollCount - the number of items to display at a time
interval - the scroll interval, in milliseconds +
Throws: +
IllegalArgumentException - if scrollCount or interval is 0 or negative
+
+
+ +

+MenuScroller

+
+public MenuScroller(JMenu menu,
+                    int scrollCount,
+                    int interval,
+                    int topFixedCount,
+                    int bottomFixedCount)
+
+
Constructs a MenuScroller that scrolls a menu with the + specified number of items to display in the scrolling region, the + specified scrolling interval, and the specified numbers of items fixed at + the top and bottom of the menu. +

+

+
Parameters:
menu - the menu
scrollCount - the number of items to display in the scrolling portion
interval - the scroll interval, in milliseconds
topFixedCount - the number of items to fix at the top. May be 0
bottomFixedCount - the number of items to fix at the bottom. May be 0 +
Throws: +
IllegalArgumentException - if scrollCount or interval is 0 or negative or if + topFixedCount or bottomFixedCount is negative
+
+
+ +

+MenuScroller

+
+public MenuScroller(JPopupMenu menu,
+                    int scrollCount,
+                    int interval,
+                    int topFixedCount,
+                    int bottomFixedCount)
+
+
Constructs a MenuScroller that scrolls a popup menu with the + specified number of items to display in the scrolling region, the + specified scrolling interval, and the specified numbers of items fixed at + the top and bottom of the popup menu. +

+

+
Parameters:
menu - the popup menu
scrollCount - the number of items to display in the scrolling portion
interval - the scroll interval, in milliseconds
topFixedCount - the number of items to fix at the top. May be 0
bottomFixedCount - the number of items to fix at the bottom. May be 0 +
Throws: +
IllegalArgumentException - if scrollCount or interval is 0 or negative or if + topFixedCount or bottomFixedCount is negative
+
+ + + + + + + + +
+Method Detail
+ +

+setScrollerFor

+
+public static MenuScroller setScrollerFor(JMenu menu)
+
+
Registers a menu to be scrolled with the default number of items to + display at a time and the default scrolling interval. +

+

+
Parameters:
menu - the menu +
Returns:
the MenuScroller
+
+
+
+ +

+setScrollerFor

+
+public static MenuScroller setScrollerFor(JPopupMenu menu)
+
+
Registers a popup menu to be scrolled with the default number of items to + display at a time and the default scrolling interval. +

+

+
Parameters:
menu - the popup menu +
Returns:
the MenuScroller
+
+
+
+ +

+setScrollerFor

+
+public static MenuScroller setScrollerFor(JMenu menu,
+                                          int scrollCount)
+
+
Registers a menu to be scrolled with the default number of items to + display at a time and the specified scrolling interval. +

+

+
Parameters:
menu - the menu
scrollCount - the number of items to display at a time +
Returns:
the MenuScroller +
Throws: +
IllegalArgumentException - if scrollCount is 0 or negative
+
+
+
+ +

+setScrollerFor

+
+public static MenuScroller setScrollerFor(JPopupMenu menu,
+                                          int scrollCount)
+
+
Registers a popup menu to be scrolled with the default number of items to + display at a time and the specified scrolling interval. +

+

+
Parameters:
menu - the popup menu
scrollCount - the number of items to display at a time +
Returns:
the MenuScroller +
Throws: +
IllegalArgumentException - if scrollCount is 0 or negative
+
+
+
+ +

+setScrollerFor

+
+public static MenuScroller setScrollerFor(JMenu menu,
+                                          int scrollCount,
+                                          int interval)
+
+
Registers a menu to be scrolled, with the specified number of items to + display at a time and the specified scrolling interval. +

+

+
Parameters:
menu - the menu
scrollCount - the number of items to be displayed at a time
interval - the scroll interval, in milliseconds +
Returns:
the MenuScroller +
Throws: +
IllegalArgumentException - if scrollCount or interval is 0 or negative
+
+
+
+ +

+setScrollerFor

+
+public static MenuScroller setScrollerFor(JPopupMenu menu,
+                                          int scrollCount,
+                                          int interval)
+
+
Registers a popup menu to be scrolled, with the specified number of items + to display at a time and the specified scrolling interval. +

+

+
Parameters:
menu - the popup menu
scrollCount - the number of items to be displayed at a time
interval - the scroll interval, in milliseconds +
Returns:
the MenuScroller +
Throws: +
IllegalArgumentException - if scrollCount or interval is 0 or negative
+
+
+
+ +

+setScrollerFor

+
+public static MenuScroller setScrollerFor(JMenu menu,
+                                          int scrollCount,
+                                          int interval,
+                                          int topFixedCount,
+                                          int bottomFixedCount)
+
+
Registers a menu to be scrolled, with the specified number of items to + display in the scrolling region, the specified scrolling interval, and + the specified numbers of items fixed at the top and bottom of the menu. +

+

+
Parameters:
menu - the menu
scrollCount - the number of items to display in the scrolling portion
interval - the scroll interval, in milliseconds
topFixedCount - the number of items to fix at the top. May be 0.
bottomFixedCount - the number of items to fix at the bottom. May be 0 +
Returns:
the MenuScroller +
Throws: +
IllegalArgumentException - if scrollCount or interval is 0 or negative or if + topFixedCount or bottomFixedCount is negative
+
+
+
+ +

+setScrollerFor

+
+public static MenuScroller setScrollerFor(JPopupMenu menu,
+                                          int scrollCount,
+                                          int interval,
+                                          int topFixedCount,
+                                          int bottomFixedCount)
+
+
Registers a popup menu to be scrolled, with the specified number of items + to display in the scrolling region, the specified scrolling interval, and + the specified numbers of items fixed at the top and bottom of the popup + menu. +

+

+
Parameters:
menu - the popup menu
scrollCount - the number of items to display in the scrolling portion
interval - the scroll interval, in milliseconds
topFixedCount - the number of items to fix at the top. May be 0
bottomFixedCount - the number of items to fix at the bottom. May be 0 +
Returns:
the MenuScroller +
Throws: +
IllegalArgumentException - if scrollCount or interval is 0 or negative or if + topFixedCount or bottomFixedCount is negative
+
+
+
+ +

+getInterval

+
+public int getInterval()
+
+
Returns the scroll interval in milliseconds +

+

+ +
Returns:
the scroll interval in milliseconds
+
+
+
+ +

+setInterval

+
+public void setInterval(int interval)
+
+
Sets the scroll interval in milliseconds +

+

+
Parameters:
interval - the scroll interval in milliseconds +
Throws: +
IllegalArgumentException - if interval is 0 or negative
+
+
+
+ +

+getscrollCount

+
+public int getscrollCount()
+
+
Returns the number of items in the scrolling portion of the menu. +

+

+ +
Returns:
the number of items to display at a time
+
+
+
+ +

+setScrollCount

+
+public void setScrollCount(int scrollCount)
+
+
Sets the number of items in the scrolling portion of the menu. +

+

+
Parameters:
scrollCount - the number of items to display at a time +
Throws: +
IllegalArgumentException - if scrollCount is 0 or negative
+
+
+
+ +

+getTopFixedCount

+
+public int getTopFixedCount()
+
+
Returns the number of items fixed at the top of the menu or popup menu. +

+

+ +
Returns:
the number of items
+
+
+
+ +

+setTopFixedCount

+
+public void setTopFixedCount(int topFixedCount)
+
+
Sets the number of items to fix at the top of the menu or popup menu. +

+

+
Parameters:
topFixedCount - the number of items
+
+
+
+ +

+getBottomFixedCount

+
+public int getBottomFixedCount()
+
+
Returns the number of items fixed at the bottom of the menu or popup + menu. +

+

+ +
Returns:
the number of items
+
+
+
+ +

+setBottomFixedCount

+
+public void setBottomFixedCount(int bottomFixedCount)
+
+
Sets the number of items to fix at the bottom of the menu or popup menu. +

+

+
Parameters:
bottomFixedCount - the number of items
+
+
+
+ +

+keepVisible

+
+public void keepVisible(JMenuItem item)
+
+
Scrolls the specified item into view each time the menu is opened. Call + this method with null to restore the default behavior, which + is to show the menu as it last appeared. +

+

+
Parameters:
item - the item to keep visible
See Also:
keepVisible(int)
+
+
+
+ +

+keepVisible

+
+public void keepVisible(int index)
+
+
Scrolls the item at the specified index into view each time the menu is + opened. Call this method with -1 to restore the default + behavior, which is to show the menu as it last appeared. +

+

+
Parameters:
index - the index of the item to keep visible
See Also:
keepVisible(javax.swing.JMenuItem)
+
+
+
+ +

+dispose

+
+public void dispose()
+
+
Removes this MenuScroller from the associated menu and restores the + default behavior of the menu. +

+

+
+
+
+
+ +

+finalize

+
+public void finalize()
+              throws Throwable
+
+
Ensures that the dispose method of this MenuScroller is + called when there are no more refrences to it. +

+

+
Overrides:
finalize in class Object
+
+
+ +
Throws: +
Throwable - if an error occurs.
See Also:
dispose()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jorphan/gui/NumberRenderer.html b/docs/api/org/apache/jorphan/gui/NumberRenderer.html new file mode 100644 index 00000000000..5095200e0fe --- /dev/null +++ b/docs/api/org/apache/jorphan/gui/NumberRenderer.html @@ -0,0 +1,476 @@ + + + + + +NumberRenderer (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jorphan.gui +
+Class NumberRenderer

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JLabel
+                  extended by javax.swing.table.DefaultTableCellRenderer
+                      extended by org.apache.jorphan.gui.NumberRenderer
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, SwingConstants, TableCellRenderer
+
+
+
Direct Known Subclasses:
RateRenderer
+
+
+
+
public class NumberRenderer
extends DefaultTableCellRenderer
+ + +

+Renders numbers in a JTable with a specified format +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.table.DefaultTableCellRenderer
DefaultTableCellRenderer.UIResource
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JLabel
JLabel.AccessibleJLabel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + + + + + +
+Field Summary
+protected  NumberFormatformatter + +
+           
+ + + + + + + +
Fields inherited from class javax.swing.table.DefaultTableCellRenderer
noFocusBorder
+ + + + + + + +
Fields inherited from class javax.swing.JLabel
labelFor
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface javax.swing.SwingConstants
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + + + + +
+Constructor Summary
NumberRenderer() + +
+           
NumberRenderer(String format) + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ voidsetValue(Object value) + +
+           
+ + + + + + + +
Methods inherited from class javax.swing.table.DefaultTableCellRenderer
firePropertyChange, firePropertyChange, getTableCellRendererComponent, invalidate, isOpaque, repaint, repaint, repaint, revalidate, setBackground, setForeground, updateUI, validate
+ + + + + + + +
Methods inherited from class javax.swing.JLabel
checkHorizontalKey, checkVerticalKey, getAccessibleContext, getDisabledIcon, getDisplayedMnemonic, getDisplayedMnemonicIndex, getHorizontalAlignment, getHorizontalTextPosition, getIcon, getIconTextGap, getLabelFor, getText, getUI, getUIClassID, getVerticalAlignment, getVerticalTextPosition, imageUpdate, paramString, setDisabledIcon, setDisplayedMnemonic, setDisplayedMnemonic, setDisplayedMnemonicIndex, setHorizontalAlignment, setHorizontalTextPosition, setIcon, setIconTextGap, setLabelFor, setText, setUI, setVerticalAlignment, setVerticalTextPosition
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+formatter

+
+protected final NumberFormat formatter
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+NumberRenderer

+
+public NumberRenderer()
+
+
+
+ +

+NumberRenderer

+
+public NumberRenderer(String format)
+
+
+ + + + + + + + +
+Method Detail
+ +

+setValue

+
+public void setValue(Object value)
+
+
+
Overrides:
setValue in class DefaultTableCellRenderer
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jorphan/gui/ObjectTableModel.html b/docs/api/org/apache/jorphan/gui/ObjectTableModel.html new file mode 100644 index 00000000000..cac07727472 --- /dev/null +++ b/docs/api/org/apache/jorphan/gui/ObjectTableModel.html @@ -0,0 +1,728 @@ + + + + + +ObjectTableModel (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jorphan.gui +
+Class ObjectTableModel

+
+java.lang.Object
+  extended by javax.swing.table.AbstractTableModel
+      extended by javax.swing.table.DefaultTableModel
+          extended by org.apache.jorphan.gui.ObjectTableModel
+
+
+
All Implemented Interfaces:
Serializable, TableModel
+
+
+
+
public class ObjectTableModel
extends DefaultTableModel
+ + +

+The ObjectTableModel is a TableModel whose rows are objects; + columns are defined as Functors on the object. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class javax.swing.table.DefaultTableModel
columnIdentifiers, dataVector
+ + + + + + + +
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
+  + + + + + + + + + + + + + + + + +
+Constructor Summary
ObjectTableModel(String[] headers, + Class<?> _objClass, + Functor[] readFunctors, + Functor[] writeFunctors, + Class<?>[] editorClasses) + +
+          The ObjectTableModel is a TableModel whose rows are objects; + columns are defined as Functors on the object.
ObjectTableModel(String[] headers, + Class<?> _objClass, + Functor[] readFunctors, + Functor[] writeFunctors, + Class<?>[] editorClasses, + boolean cellEditable) + +
+          The ObjectTableModel is a TableModel whose rows are objects; + columns are defined as Functors on the object.
ObjectTableModel(String[] headers, + Functor[] readFunctors, + Functor[] writeFunctors, + Class<?>[] editorClasses) + +
+          The ObjectTableModel is a TableModel whose rows are objects; + columns are defined as Functors on the object.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddRow(Object value) + +
+           
+ booleancheckFunctors(Object _value, + Class<?> caller) + +
+          Check all registered functors.
+ voidclearData() + +
+           
+ Class<?>getColumnClass(int arg0) + +
+          
+ intgetColumnCount() + +
+          
+ StringgetColumnName(int col) + +
+          
+ ObjectgetObjectList() + +
+           
+ intgetRowCount() + +
+          
+ ObjectgetValueAt(int row, + int col) + +
+          
+ voidinsertRow(Object value, + int index) + +
+           
+ booleanisCellEditable(int arg0, + int arg1) + +
+          
+ Iterator<?>iterator() + +
+           
+ voidmoveRow(int start, + int end, + int to) + +
+          
+ voidremoveRow(int row) + +
+          
+ voidsetRows(Iterable<?> rows) + +
+           
+ voidsetValueAt(Object cellValue, + int row, + int col) + +
+          
+ + + + + + + +
Methods inherited from class javax.swing.table.DefaultTableModel
addColumn, addColumn, addColumn, addRow, addRow, convertToVector, convertToVector, getDataVector, insertRow, insertRow, newDataAvailable, newRowsAdded, rowsRemoved, setColumnCount, setColumnIdentifiers, setColumnIdentifiers, setDataVector, setDataVector, setNumRows, setRowCount
+ + + + + + + +
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ObjectTableModel

+
+public ObjectTableModel(String[] headers,
+                        Class<?> _objClass,
+                        Functor[] readFunctors,
+                        Functor[] writeFunctors,
+                        Class<?>[] editorClasses)
+
+
The ObjectTableModel is a TableModel whose rows are objects; + columns are defined as Functors on the object. +

+

+
Parameters:
headers - - Column names
_objClass - - Object class that will be used
readFunctors - - used to get the values
writeFunctors - - used to set the values
editorClasses - - class for each column
+
+
+ +

+ObjectTableModel

+
+public ObjectTableModel(String[] headers,
+                        Class<?> _objClass,
+                        Functor[] readFunctors,
+                        Functor[] writeFunctors,
+                        Class<?>[] editorClasses,
+                        boolean cellEditable)
+
+
The ObjectTableModel is a TableModel whose rows are objects; + columns are defined as Functors on the object. +

+

+
Parameters:
headers - - Column names
_objClass - - Object class that will be used
readFunctors - - used to get the values
writeFunctors - - used to set the values
editorClasses - - class for each column
cellEditable - - if cell must editable (false to allow double click on cell)
+
+
+ +

+ObjectTableModel

+
+public ObjectTableModel(String[] headers,
+                        Functor[] readFunctors,
+                        Functor[] writeFunctors,
+                        Class<?>[] editorClasses)
+
+
The ObjectTableModel is a TableModel whose rows are objects; + columns are defined as Functors on the object. +

+

+
Parameters:
headers - - Column names
readFunctors - - used to get the values
writeFunctors - - used to set the values
editorClasses - - class for each column
+
+ + + + + + + + +
+Method Detail
+ +

+iterator

+
+public Iterator<?> iterator()
+
+
+
+
+
+
+ +

+clearData

+
+public void clearData()
+
+
+
+
+
+
+ +

+addRow

+
+public void addRow(Object value)
+
+
+
+
+
+
+ +

+insertRow

+
+public void insertRow(Object value,
+                      int index)
+
+
+
+
+
+
+ +

+getColumnCount

+
+public int getColumnCount()
+
+
+

+

+
Specified by:
getColumnCount in interface TableModel
Overrides:
getColumnCount in class DefaultTableModel
+
+
+
+
+
+
+ +

+getColumnName

+
+public String getColumnName(int col)
+
+
+

+

+
Specified by:
getColumnName in interface TableModel
Overrides:
getColumnName in class DefaultTableModel
+
+
+
+
+
+
+ +

+getRowCount

+
+public int getRowCount()
+
+
+

+

+
Specified by:
getRowCount in interface TableModel
Overrides:
getRowCount in class DefaultTableModel
+
+
+
+
+
+
+ +

+getValueAt

+
+public Object getValueAt(int row,
+                         int col)
+
+
+

+

+
Specified by:
getValueAt in interface TableModel
Overrides:
getValueAt in class DefaultTableModel
+
+
+
+
+
+
+ +

+isCellEditable

+
+public boolean isCellEditable(int arg0,
+                              int arg1)
+
+
+

+

+
Specified by:
isCellEditable in interface TableModel
Overrides:
isCellEditable in class DefaultTableModel
+
+
+
+
+
+
+ +

+moveRow

+
+public void moveRow(int start,
+                    int end,
+                    int to)
+
+
+

+

+
Overrides:
moveRow in class DefaultTableModel
+
+
+
+
+
+
+ +

+removeRow

+
+public void removeRow(int row)
+
+
+

+

+
Overrides:
removeRow in class DefaultTableModel
+
+
+
+
+
+
+ +

+setValueAt

+
+public void setValueAt(Object cellValue,
+                       int row,
+                       int col)
+
+
+

+

+
Specified by:
setValueAt in interface TableModel
Overrides:
setValueAt in class DefaultTableModel
+
+
+
+
+
+
+ +

+getColumnClass

+
+public Class<?> getColumnClass(int arg0)
+
+
+

+

+
Specified by:
getColumnClass in interface TableModel
Overrides:
getColumnClass in class AbstractTableModel
+
+
+
+
+
+
+ +

+checkFunctors

+
+public boolean checkFunctors(Object _value,
+                             Class<?> caller)
+
+
Check all registered functors. +

+ ** only for use in unit test code ** +

+

+

+
Parameters:
_value - - an instance of the table model row data item + (if null, use the class passed to the constructor).
caller - - class of caller. +
Returns:
false if at least one Functor cannot be found.
+
+
+
+ +

+getObjectList

+
+public Object getObjectList()
+
+
+
+
+
+
+ +

+setRows

+
+public void setRows(Iterable<?> rows)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jorphan/gui/RateRenderer.html b/docs/api/org/apache/jorphan/gui/RateRenderer.html new file mode 100644 index 00000000000..f6f96de408a --- /dev/null +++ b/docs/api/org/apache/jorphan/gui/RateRenderer.html @@ -0,0 +1,451 @@ + + + + + +RateRenderer (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jorphan.gui +
+Class RateRenderer

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JLabel
+                  extended by javax.swing.table.DefaultTableCellRenderer
+                      extended by org.apache.jorphan.gui.NumberRenderer
+                          extended by org.apache.jorphan.gui.RateRenderer
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, SwingConstants, TableCellRenderer
+
+
+
+
public class RateRenderer
extends NumberRenderer
+ + +

+Renders a rate in a JTable. + + The output is in units appropriate to its dimension: +

+ The number is represented in one of: + - requests/second + - requests/minute + - requests/hour. +

+ Examples: "34.2/sec" "0.1/sec" "43.0/hour" "15.9/min" +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.table.DefaultTableCellRenderer
DefaultTableCellRenderer.UIResource
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JLabel
JLabel.AccessibleJLabel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.apache.jorphan.gui.NumberRenderer
formatter
+ + + + + + + +
Fields inherited from class javax.swing.table.DefaultTableCellRenderer
noFocusBorder
+ + + + + + + +
Fields inherited from class javax.swing.JLabel
labelFor
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface javax.swing.SwingConstants
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
RateRenderer(String format) + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ voidsetValue(Object value) + +
+           
+ + + + + + + +
Methods inherited from class javax.swing.table.DefaultTableCellRenderer
firePropertyChange, firePropertyChange, getTableCellRendererComponent, invalidate, isOpaque, repaint, repaint, repaint, revalidate, setBackground, setForeground, updateUI, validate
+ + + + + + + +
Methods inherited from class javax.swing.JLabel
checkHorizontalKey, checkVerticalKey, getAccessibleContext, getDisabledIcon, getDisplayedMnemonic, getDisplayedMnemonicIndex, getHorizontalAlignment, getHorizontalTextPosition, getIcon, getIconTextGap, getLabelFor, getText, getUI, getUIClassID, getVerticalAlignment, getVerticalTextPosition, imageUpdate, paramString, setDisabledIcon, setDisplayedMnemonic, setDisplayedMnemonic, setDisplayedMnemonicIndex, setHorizontalAlignment, setHorizontalTextPosition, setIcon, setIconTextGap, setLabelFor, setText, setUI, setVerticalAlignment, setVerticalTextPosition
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+RateRenderer

+
+public RateRenderer(String format)
+
+
+ + + + + + + + +
+Method Detail
+ +

+setValue

+
+public void setValue(Object value)
+
+
+
Overrides:
setValue in class NumberRenderer
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jorphan/gui/RendererUtils.html b/docs/api/org/apache/jorphan/gui/RendererUtils.html new file mode 100644 index 00000000000..b6d47c0e956 --- /dev/null +++ b/docs/api/org/apache/jorphan/gui/RendererUtils.html @@ -0,0 +1,221 @@ + + + + + +RendererUtils (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jorphan.gui +
+Class RendererUtils

+
+java.lang.Object
+  extended by org.apache.jorphan.gui.RendererUtils
+
+
+
+
public final class RendererUtils
extends Object
+ + +

+Utility class for Renderers +

+ +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+static voidapplyRenderers(JTable table, + TableCellRenderer[] renderers) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+applyRenderers

+
+public static void applyRenderers(JTable table,
+                                  TableCellRenderer[] renderers)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jorphan/gui/RightAlignRenderer.html b/docs/api/org/apache/jorphan/gui/RightAlignRenderer.html new file mode 100644 index 00000000000..30389e4cb3d --- /dev/null +++ b/docs/api/org/apache/jorphan/gui/RightAlignRenderer.html @@ -0,0 +1,401 @@ + + + + + +RightAlignRenderer (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jorphan.gui +
+Class RightAlignRenderer

+
+java.lang.Object
+  extended by java.awt.Component
+      extended by java.awt.Container
+          extended by javax.swing.JComponent
+              extended by javax.swing.JLabel
+                  extended by javax.swing.table.DefaultTableCellRenderer
+                      extended by org.apache.jorphan.gui.RightAlignRenderer
+
+
+
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, SwingConstants, TableCellRenderer
+
+
+
+
public class RightAlignRenderer
extends DefaultTableCellRenderer
+ + +

+Renders items in a JTable right-aligned +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class javax.swing.table.DefaultTableCellRenderer
DefaultTableCellRenderer.UIResource
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JLabel
JLabel.AccessibleJLabel
+  + + + + + + + + +
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
+  + + + + + + + + +
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class javax.swing.table.DefaultTableCellRenderer
noFocusBorder
+ + + + + + + +
Fields inherited from class javax.swing.JLabel
labelFor
+ + + + + + + +
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
+ + + + + + + +
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
+ + + + + + + +
Fields inherited from interface javax.swing.SwingConstants
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST
+ + + + + + + +
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
+  + + + + + + + + + + +
+Constructor Summary
RightAlignRenderer() + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class javax.swing.table.DefaultTableCellRenderer
firePropertyChange, firePropertyChange, getTableCellRendererComponent, invalidate, isOpaque, repaint, repaint, repaint, revalidate, setBackground, setForeground, setValue, updateUI, validate
+ + + + + + + +
Methods inherited from class javax.swing.JLabel
checkHorizontalKey, checkVerticalKey, getAccessibleContext, getDisabledIcon, getDisplayedMnemonic, getDisplayedMnemonicIndex, getHorizontalAlignment, getHorizontalTextPosition, getIcon, getIconTextGap, getLabelFor, getText, getUI, getUIClassID, getVerticalAlignment, getVerticalTextPosition, imageUpdate, paramString, setDisabledIcon, setDisplayedMnemonic, setDisplayedMnemonic, setDisplayedMnemonicIndex, setHorizontalAlignment, setHorizontalTextPosition, setIcon, setIconTextGap, setLabelFor, setText, setUI, setVerticalAlignment, setVerticalTextPosition
+ + + + + + + +
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
+ + + + + + + +
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validateTree
+ + + + + + + +
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+RightAlignRenderer

+
+public RightAlignRenderer()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jorphan/gui/TreeTableModel.html b/docs/api/org/apache/jorphan/gui/TreeTableModel.html new file mode 100644 index 00000000000..9668a9a035b --- /dev/null +++ b/docs/api/org/apache/jorphan/gui/TreeTableModel.html @@ -0,0 +1,288 @@ + + + + + +TreeTableModel (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jorphan.gui +
+Interface TreeTableModel

+
+
All Superinterfaces:
TableModel
+
+
+
All Known Implementing Classes:
AbstractTreeTableModel, DefaultTreeTableModel
+
+
+
+
public interface TreeTableModel
extends TableModel
+ + +

+This is a basic interface for TreeTableModel that extends TableModel. + It's pretty minimal and isn't as full featured at other implementations. +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ ObjectgetValueAt(Object node, + int col) + +
+          The method is similar to getValueAt(int,int).
+ booleanisCellEditable(Object node, + int col) + +
+          the method is similar to isCellEditable(int,int).
+ voidsetValueAt(Object val, + Object node, + int column) + +
+          the method is similar to isCellEditable(int,int).
+ + + + + + + +
Methods inherited from interface javax.swing.table.TableModel
addTableModelListener, getColumnClass, getColumnCount, getColumnName, getRowCount, getValueAt, isCellEditable, removeTableModelListener, setValueAt
+  +

+ + + + + + + + +
+Method Detail
+ +

+getValueAt

+
+Object getValueAt(Object node,
+                  int col)
+
+
The method is similar to getValueAt(int,int). Instead of int, the row is + an object. +

+

+
+
+
+
Parameters:
node - the node which value is to be fetched
col - the column of the node +
Returns:
the value at the column
+
+
+
+ +

+isCellEditable

+
+boolean isCellEditable(Object node,
+                       int col)
+
+
the method is similar to isCellEditable(int,int). Instead of int, the row + is an object. +

+

+
+
+
+
Parameters:
node - the node which value is to be fetched
col - the column of the node +
Returns:
true if cell is editable
+
+
+
+ +

+setValueAt

+
+void setValueAt(Object val,
+                Object node,
+                int column)
+
+
the method is similar to isCellEditable(int,int). Instead of int, the row + is an object. +

+

+
+
+
+
Parameters:
val - the value to be set
node - the node which value is to be set
column - the column of the node
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jorphan/gui/layout/VerticalLayout.html b/docs/api/org/apache/jorphan/gui/layout/VerticalLayout.html new file mode 100644 index 00000000000..f9144edeb9b --- /dev/null +++ b/docs/api/org/apache/jorphan/gui/layout/VerticalLayout.html @@ -0,0 +1,611 @@ + + + + + +VerticalLayout (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jorphan.gui.layout +
+Class VerticalLayout

+
+java.lang.Object
+  extended by org.apache.jorphan.gui.layout.VerticalLayout
+
+
+
All Implemented Interfaces:
LayoutManager, Serializable
+
+
+
+
public class VerticalLayout
extends Object
implements LayoutManager, Serializable
+ + +

+A vertical layout manager similar to java.awt.FlowLayout. Like FlowLayout + components do not expand to fill available space except when the horizontal + alignment is BOTH in which case components are stretched + horizontally. Unlike FlowLayout, components will not wrap to form another + column if there isn't enough space vertically. VerticalLayout can optionally + anchor components to the top or bottom of the display area or center them + between the top and bottom. Revision date 04 April 1999 +

+ +

+

+
Version:
+
$Revision: 1413254 $
+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static intBOTH + +
+          The horizontal alignment constant that designates stretching the + component horizontally.
+static intBOTTOM + +
+          The anchoring constant that designates anchoring to the bottom of the + display area.
+static intCENTER + +
+          The horizontal alignment constant that designates centering.
+static intLEFT + +
+          The horizontal alignment constant that designates left justification.
+static intRIGHT + +
+          The horizontal alignment constant that designates right justification.
+static intTOP + +
+          The anchoring constant that designates anchoring to the top of the + display area.
+  + + + + + + + + + + + + + + + + + + + +
+Constructor Summary
VerticalLayout() + +
+          Constructs an instance of VerticalLayout with a vertical vgap of 5 + pixels, horizontal centering and anchored to the top of the display area.
VerticalLayout(int vgap) + +
+          Constructs a VerticalLayout instance with horizontal centering, anchored + to the top with the specified vgap.
VerticalLayout(int vgap, + int alignment) + +
+          Constructs a VerticalLayout instance anchored to the top with the + specified vgap and horizontal alignment.
VerticalLayout(int vgap, + int alignment, + int anchor) + +
+          Constructs a VerticalLayout instance with the specified vgap, horizontal + alignment and anchoring
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddLayoutComponent(String name, + Component comp) + +
+          Not used by this class.
+ voidlayoutContainer(Container parent) + +
+          Lays out the container.
+ DimensionminimumLayoutSize(Container parent) + +
+           
+ DimensionpreferredLayoutSize(Container parent) + +
+           
+ voidremoveLayoutComponent(Component comp) + +
+          Not used by this class.
+ StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+CENTER

+
+public static final int CENTER
+
+
The horizontal alignment constant that designates centering. Also used to + designate center anchoring. +

+

+
See Also:
Constant Field Values
+
+
+ +

+RIGHT

+
+public static final int RIGHT
+
+
The horizontal alignment constant that designates right justification. +

+

+
See Also:
Constant Field Values
+
+
+ +

+LEFT

+
+public static final int LEFT
+
+
The horizontal alignment constant that designates left justification. +

+

+
See Also:
Constant Field Values
+
+
+ +

+BOTH

+
+public static final int BOTH
+
+
The horizontal alignment constant that designates stretching the + component horizontally. +

+

+
See Also:
Constant Field Values
+
+
+ +

+TOP

+
+public static final int TOP
+
+
The anchoring constant that designates anchoring to the top of the + display area. +

+

+
See Also:
Constant Field Values
+
+
+ +

+BOTTOM

+
+public static final int BOTTOM
+
+
The anchoring constant that designates anchoring to the bottom of the + display area. +

+

+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+VerticalLayout

+
+public VerticalLayout()
+
+
Constructs an instance of VerticalLayout with a vertical vgap of 5 + pixels, horizontal centering and anchored to the top of the display area. +

+

+
+ +

+VerticalLayout

+
+public VerticalLayout(int vgap)
+
+
Constructs a VerticalLayout instance with horizontal centering, anchored + to the top with the specified vgap. +

+

+
Parameters:
vgap - an int value indicating the vertical seperation of the + components
+
+
+ +

+VerticalLayout

+
+public VerticalLayout(int vgap,
+                      int alignment)
+
+
Constructs a VerticalLayout instance anchored to the top with the + specified vgap and horizontal alignment. +

+

+
Parameters:
vgap - an int value indicating the vertical seperation of the + components
alignment - an int value which is one of RIGHT, LEFT, + CENTER, BOTH + for the horizontal alignment.
+
+
+ +

+VerticalLayout

+
+public VerticalLayout(int vgap,
+                      int alignment,
+                      int anchor)
+
+
Constructs a VerticalLayout instance with the specified vgap, horizontal + alignment and anchoring +

+

+
Parameters:
vgap - an int value indicating the vertical seperation of the + components
alignment - an int value which is one of RIGHT, LEFT, CENTER, + BOTH + for the horizontal alignment.
anchor - an int value which is one of TOP, BOTTOM, + CENTER + indicating where the components are to appear if the display + area exceeds the minimum necessary.
+
+ + + + + + + + +
+Method Detail
+ +

+layoutContainer

+
+public void layoutContainer(Container parent)
+
+
Lays out the container. +

+

+
Specified by:
layoutContainer in interface LayoutManager
+
+
+
+
+
+
+ +

+minimumLayoutSize

+
+public Dimension minimumLayoutSize(Container parent)
+
+
+
Specified by:
minimumLayoutSize in interface LayoutManager
+
+
+
+
+
+
+ +

+preferredLayoutSize

+
+public Dimension preferredLayoutSize(Container parent)
+
+
+
Specified by:
preferredLayoutSize in interface LayoutManager
+
+
+
+
+
+
+ +

+addLayoutComponent

+
+public void addLayoutComponent(String name,
+                               Component comp)
+
+
Not used by this class. +

+

+
Specified by:
addLayoutComponent in interface LayoutManager
+
+
+
+
+
+
+ +

+removeLayoutComponent

+
+public void removeLayoutComponent(Component comp)
+
+
Not used by this class. +

+

+
Specified by:
removeLayoutComponent in interface LayoutManager
+
+
+
+
+
+
+ +

+toString

+
+public String toString()
+
+
+
Overrides:
toString in class Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jorphan/gui/layout/package-frame.html b/docs/api/org/apache/jorphan/gui/layout/package-frame.html new file mode 100644 index 00000000000..537e26c6323 --- /dev/null +++ b/docs/api/org/apache/jorphan/gui/layout/package-frame.html @@ -0,0 +1,30 @@ + + + + + +org.apache.jorphan.gui.layout (Apache JMeter API) + + + + + + + + + + +org.apache.jorphan.gui.layout + + + + +
+Classes  + +
+VerticalLayout
+ + + + diff --git a/docs/api/org/apache/jorphan/gui/layout/package-summary.html b/docs/api/org/apache/jorphan/gui/layout/package-summary.html new file mode 100644 index 00000000000..78d60d4b154 --- /dev/null +++ b/docs/api/org/apache/jorphan/gui/layout/package-summary.html @@ -0,0 +1,153 @@ + + + + + +org.apache.jorphan.gui.layout (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jorphan.gui.layout +

+ + + + + + + + + +
+Class Summary
VerticalLayoutA vertical layout manager similar to java.awt.FlowLayout.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jorphan/gui/layout/package-tree.html b/docs/api/org/apache/jorphan/gui/layout/package-tree.html new file mode 100644 index 00000000000..fd710584ec2 --- /dev/null +++ b/docs/api/org/apache/jorphan/gui/layout/package-tree.html @@ -0,0 +1,150 @@ + + + + + +org.apache.jorphan.gui.layout Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jorphan.gui.layout +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jorphan/gui/package-frame.html b/docs/api/org/apache/jorphan/gui/package-frame.html new file mode 100644 index 00000000000..15275c6ab65 --- /dev/null +++ b/docs/api/org/apache/jorphan/gui/package-frame.html @@ -0,0 +1,71 @@ + + + + + +org.apache.jorphan.gui (Apache JMeter API) + + + + + + + + + + +org.apache.jorphan.gui + + + + +
+Interfaces  + +
+JLabeledField +
+TreeTableModel
+ + + + + + +
+Classes  + +
+AbstractTreeTableModel +
+ComponentUtil +
+DefaultTreeTableModel +
+GuiUtils +
+JLabeledChoice +
+JLabeledPasswordField +
+JLabeledTextArea +
+JLabeledTextField +
+JTreeTable +
+MenuScroller +
+NumberRenderer +
+ObjectTableModel +
+RateRenderer +
+RendererUtils +
+RightAlignRenderer
+ + + + diff --git a/docs/api/org/apache/jorphan/gui/package-summary.html b/docs/api/org/apache/jorphan/gui/package-summary.html new file mode 100644 index 00000000000..6a3e1fa11e5 --- /dev/null +++ b/docs/api/org/apache/jorphan/gui/package-summary.html @@ -0,0 +1,230 @@ + + + + + +org.apache.jorphan.gui (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jorphan.gui +

+ + + + + + + + + + + + + +
+Interface Summary
JLabeledField 
TreeTableModelThis is a basic interface for TreeTableModel that extends TableModel.
+  + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
AbstractTreeTableModel 
ComponentUtilThis class is a Util for awt Component and could be used to place them in + center of an other.
DefaultTreeTableModel 
GuiUtils 
JLabeledChoice 
JLabeledPasswordField 
JLabeledTextAreaA Helper component that wraps a JTextField with a label into a JPanel (this).
JLabeledTextFieldA Helper component that wraps a JTextField with a label into a JPanel (this).
JTreeTable 
MenuScrollerA class that provides scrolling capabilities to a long menu dropdown or popup + menu.
NumberRendererRenders numbers in a JTable with a specified format
ObjectTableModelThe ObjectTableModel is a TableModel whose rows are objects; + columns are defined as Functors on the object.
RateRendererRenders a rate in a JTable.
RendererUtilsUtility class for Renderers
RightAlignRendererRenders items in a JTable right-aligned
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jorphan/gui/package-tree.html b/docs/api/org/apache/jorphan/gui/package-tree.html new file mode 100644 index 00000000000..cdcd39ccfa8 --- /dev/null +++ b/docs/api/org/apache/jorphan/gui/package-tree.html @@ -0,0 +1,192 @@ + + + + + +org.apache.jorphan.gui Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jorphan.gui +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jorphan/io/TextFile.html b/docs/api/org/apache/jorphan/io/TextFile.html new file mode 100644 index 00000000000..ca9107f8193 --- /dev/null +++ b/docs/api/org/apache/jorphan/io/TextFile.html @@ -0,0 +1,473 @@ + + + + + +TextFile (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jorphan.io +
+Class TextFile

+
+java.lang.Object
+  extended by java.io.File
+      extended by org.apache.jorphan.io.TextFile
+
+
+
All Implemented Interfaces:
Serializable, Comparable<File>
+
+
+
+
public class TextFile
extends File
+ + +

+Utility class to handle text files as a single lump of text. +

+ Note this is just as memory-inefficient as handling a text file can be. Use + with restraint. +

+ +

+

+
Version:
+
$Revision: 1639469 $
+
See Also:
Serialized Form
+
+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class java.io.File
pathSeparator, pathSeparatorChar, separator, separatorChar
+  + + + + + + + + + + + + + + + + + + + +
+Constructor Summary
TextFile(File filename) + +
+          Create a TextFile object to handle the named file with the platform + default encoding.
TextFile(File filename, + String encoding) + +
+          Create a TextFile object to handle the named file with the given + encoding.
TextFile(String filename) + +
+          Create a TextFile object to handle the named file with the platform + default encoding.
TextFile(String filename, + String encoding) + +
+          Create a TextFile object to handle the named file with the given + encoding.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleanequals(Object obj) + +
+          
+ StringgetEncoding() + +
+           
+ StringgetText() + +
+          Read the whole file content and return it as a string.
+ inthashCode() + +
+          
+ voidsetEncoding(String string) + +
+           
+ voidsetText(String body) + +
+          Create the file with the given string as content -- or replace it's + content with the given string if the file already existed.
+ + + + + + + +
Methods inherited from class java.io.File
canExecute, canRead, canWrite, compareTo, createNewFile, createTempFile, createTempFile, delete, deleteOnExit, exists, getAbsoluteFile, getAbsolutePath, getCanonicalFile, getCanonicalPath, getFreeSpace, getName, getParent, getParentFile, getPath, getTotalSpace, getUsableSpace, isAbsolute, isDirectory, isFile, isHidden, lastModified, length, list, list, listFiles, listFiles, listFiles, listRoots, mkdir, mkdirs, renameTo, setExecutable, setExecutable, setLastModified, setReadable, setReadable, setReadOnly, setWritable, setWritable, toString, toURI, toURL
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+TextFile

+
+public TextFile(File filename,
+                String encoding)
+
+
Create a TextFile object to handle the named file with the given + encoding. +

+

+
Parameters:
filename - File to be read and written through this object.
encoding - Encoding to be used when reading and writing this file.
+
+
+ +

+TextFile

+
+public TextFile(File filename)
+
+
Create a TextFile object to handle the named file with the platform + default encoding. +

+

+
Parameters:
filename - File to be read and written through this object.
+
+
+ +

+TextFile

+
+public TextFile(String filename)
+
+
Create a TextFile object to handle the named file with the platform + default encoding. +

+

+
Parameters:
filename - Name of the file to be read and written through this object.
+
+
+ +

+TextFile

+
+public TextFile(String filename,
+                String encoding)
+
+
Create a TextFile object to handle the named file with the given + encoding. +

+

+
Parameters:
filename - Name of the file to be read and written through this object.
encoding - Encoding to be used when reading and writing this file.
+
+ + + + + + + + +
+Method Detail
+ +

+setText

+
+public void setText(String body)
+
+
Create the file with the given string as content -- or replace it's + content with the given string if the file already existed. +

+

+
Parameters:
body - New content for the file.
+
+
+
+ +

+getText

+
+public String getText()
+
+
Read the whole file content and return it as a string. +

+

+ +
Returns:
the content of the file
+
+
+
+ +

+getEncoding

+
+public String getEncoding()
+
+
+ +
Returns:
Encoding being used to read and write this file.
+
+
+
+ +

+setEncoding

+
+public void setEncoding(String string)
+
+
+
Parameters:
string - Encoding to be used to read and write this file.
+
+
+
+ +

+hashCode

+
+public int hashCode()
+
+
+

+

+
Overrides:
hashCode in class File
+
+
+
+
+
+
+ +

+equals

+
+public boolean equals(Object obj)
+
+
+

+

+
Overrides:
equals in class File
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jorphan/io/package-frame.html b/docs/api/org/apache/jorphan/io/package-frame.html new file mode 100644 index 00000000000..42963b7944c --- /dev/null +++ b/docs/api/org/apache/jorphan/io/package-frame.html @@ -0,0 +1,30 @@ + + + + + +org.apache.jorphan.io (Apache JMeter API) + + + + + + + + + + +org.apache.jorphan.io + + + + +
+Classes  + +
+TextFile
+ + + + diff --git a/docs/api/org/apache/jorphan/io/package-summary.html b/docs/api/org/apache/jorphan/io/package-summary.html new file mode 100644 index 00000000000..772cb3e8872 --- /dev/null +++ b/docs/api/org/apache/jorphan/io/package-summary.html @@ -0,0 +1,153 @@ + + + + + +org.apache.jorphan.io (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jorphan.io +

+ + + + + + + + + +
+Class Summary
TextFileUtility class to handle text files as a single lump of text.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jorphan/io/package-tree.html b/docs/api/org/apache/jorphan/io/package-tree.html new file mode 100644 index 00000000000..5c83debe107 --- /dev/null +++ b/docs/api/org/apache/jorphan/io/package-tree.html @@ -0,0 +1,152 @@ + + + + + +org.apache.jorphan.io Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jorphan.io +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jorphan/logging/LoggingManager.html b/docs/api/org/apache/jorphan/logging/LoggingManager.html new file mode 100644 index 00000000000..1a5f57548f1 --- /dev/null +++ b/docs/api/org/apache/jorphan/logging/LoggingManager.html @@ -0,0 +1,569 @@ + + + + + +LoggingManager (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jorphan.logging +
+Class LoggingManager

+
+java.lang.Object
+  extended by org.apache.jorphan.logging.LoggingManager
+
+
+
+
public final class LoggingManager
extends Object
+ + +

+Manages JMeter logging +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + +
+Field Summary
+static StringDEFAULT_PATTERN + +
+           
+static StringLOG_FILE + +
+           
+static StringLOG_PRIORITY + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static voidaddLogTargetToRootLogger(org.apache.log.LogTarget[] logTargets) + +
+          Add logTargets to root logger + FIXME What's the clean way to add a LogTarget afterwards ?
+static org.apache.log.LoggergetLoggerFor(String category) + +
+          Get the Logger for a class.
+static org.apache.log.LoggergetLoggerForClass() + +
+          Get the Logger for a class - no argument needed because the calling class + name is derived automatically from the call stack.
+static org.apache.log.LoggergetLoggerForShortName(String category) + +
+          Get the Logger for a class.
+static voidinitializeLogging(Properties properties) + +
+          Initialise the logging system from the Jmeter properties.
+static StringremovePrefix(String name) + +
+          Removes the standard prefix, i.e.
+static voidsetLoggingLevels(Properties appProperties) + +
+          Handle LOG_PRIORITY.category=priority and LOG_FILE.category=file_name + properties.
+static voidsetPriority(org.apache.log.Priority priority) + +
+          Set the default logging priority.
+static voidsetPriority(org.apache.log.Priority priority, + String category) + +
+          Set the logging priority for a category.
+static voidsetPriority(String p) + +
+           
+static voidsetPriority(String priority, + String category) + +
+          Set the logging priority for a category.
+static voidsetPriorityFullName(String priority, + String fullName) + +
+          Set the logging priority for a category.
+static voidsetTarget(org.apache.log.LogTarget target, + String category) + +
+          Set the logging target for a category.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+DEFAULT_PATTERN

+
+public static final String DEFAULT_PATTERN
+
+
+
See Also:
Constant Field Values
+
+
+ +

+LOG_FILE

+
+public static final String LOG_FILE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+LOG_PRIORITY

+
+public static final String LOG_PRIORITY
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Method Detail
+ +

+initializeLogging

+
+public static void initializeLogging(Properties properties)
+
+
Initialise the logging system from the Jmeter properties. Logkit loggers + inherit from their parents. + + Normally the jmeter properties file defines a single log file, so set + this as the default from "log_file", default "jmeter.log" The default + priority is set from "log_level", with a default of INFO +

+

+
Parameters:
properties - Properties to be used for initialization
+
+
+
+ +

+setLoggingLevels

+
+public static void setLoggingLevels(Properties appProperties)
+
+
Handle LOG_PRIORITY.category=priority and LOG_FILE.category=file_name + properties. If the prefix is detected, then remove it to get the + category. +

+

+
Parameters:
appProperties - Properties that contain the + LOG_PRIORITY and + LOG_FILE prefixed entries
+
+
+
+ +

+removePrefix

+
+public static String removePrefix(String name)
+
+
Removes the standard prefix, i.e. "org.apache.". +

+

+
Parameters:
name - from which to remove the prefix +
Returns:
the name with the prefix removed
+
+
+
+ +

+getLoggerForClass

+
+public static org.apache.log.Logger getLoggerForClass()
+
+
Get the Logger for a class - no argument needed because the calling class + name is derived automatically from the call stack. +

+

+ +
Returns:
Logger
+
+
+
+ +

+getLoggerFor

+
+public static org.apache.log.Logger getLoggerFor(String category)
+
+
Get the Logger for a class. +

+

+
Parameters:
category - - the full name of the logger category +
Returns:
Logger
+
+
+
+ +

+getLoggerForShortName

+
+public static org.apache.log.Logger getLoggerForShortName(String category)
+
+
Get the Logger for a class. +

+

+
Parameters:
category - - the full name of the logger category, this will have the prefix removed. +
Returns:
Logger
+
+
+
+ +

+setPriority

+
+public static void setPriority(String priority,
+                               String category)
+
+
Set the logging priority for a category. +

+

+
Parameters:
priority - - string containing the priority name, e.g. "INFO", "WARN", "DEBUG", "FATAL_ERROR"
category - - string containing the category
+
+
+
+ +

+setPriorityFullName

+
+public static void setPriorityFullName(String priority,
+                                       String fullName)
+
+
Set the logging priority for a category. +

+

+
Parameters:
priority - - priority, e.g. DEBUG, INFO
fullName - - e.g. org.apache.jmeter.etc, will have the prefix removed.
+
+
+
+ +

+setPriority

+
+public static void setPriority(org.apache.log.Priority priority,
+                               String category)
+
+
Set the logging priority for a category. +

+

+
Parameters:
priority - - e.g. Priority.DEBUG
category - - string containing the category
+
+
+
+ +

+setPriority

+
+public static void setPriority(String p)
+
+
+
+
+
+
+ +

+setPriority

+
+public static void setPriority(org.apache.log.Priority priority)
+
+
Set the default logging priority. +

+

+
Parameters:
priority - e.g. Priority.DEBUG
+
+
+
+ +

+setTarget

+
+public static void setTarget(org.apache.log.LogTarget target,
+                             String category)
+
+
Set the logging target for a category. +

+

+
Parameters:
target - the LogTarget
category - the category name
+
+
+
+ +

+addLogTargetToRootLogger

+
+public static void addLogTargetToRootLogger(org.apache.log.LogTarget[] logTargets)
+
+
Add logTargets to root logger + FIXME What's the clean way to add a LogTarget afterwards ? +

+

+
Parameters:
logTargets - LogTarget array
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jorphan/logging/package-frame.html b/docs/api/org/apache/jorphan/logging/package-frame.html new file mode 100644 index 00000000000..eb3ac2733c0 --- /dev/null +++ b/docs/api/org/apache/jorphan/logging/package-frame.html @@ -0,0 +1,30 @@ + + + + + +org.apache.jorphan.logging (Apache JMeter API) + + + + + + + + + + +org.apache.jorphan.logging + + + + +
+Classes  + +
+LoggingManager
+ + + + diff --git a/docs/api/org/apache/jorphan/logging/package-summary.html b/docs/api/org/apache/jorphan/logging/package-summary.html new file mode 100644 index 00000000000..d7a7464aadf --- /dev/null +++ b/docs/api/org/apache/jorphan/logging/package-summary.html @@ -0,0 +1,153 @@ + + + + + +org.apache.jorphan.logging (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jorphan.logging +

+ + + + + + + + + +
+Class Summary
LoggingManagerManages JMeter logging
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jorphan/logging/package-tree.html b/docs/api/org/apache/jorphan/logging/package-tree.html new file mode 100644 index 00000000000..451f9dde6cb --- /dev/null +++ b/docs/api/org/apache/jorphan/logging/package-tree.html @@ -0,0 +1,149 @@ + + + + + +org.apache.jorphan.logging Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jorphan.logging +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jorphan/math/NumberComparator.html b/docs/api/org/apache/jorphan/math/NumberComparator.html new file mode 100644 index 00000000000..4a466005a74 --- /dev/null +++ b/docs/api/org/apache/jorphan/math/NumberComparator.html @@ -0,0 +1,269 @@ + + + + + +NumberComparator (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jorphan.math +
+Class NumberComparator

+
+java.lang.Object
+  extended by org.apache.jorphan.math.NumberComparator
+
+
+
All Implemented Interfaces:
Serializable, Comparator<Number[]>
+
+
+
+
public class NumberComparator
extends Object
implements Comparator<Number[]>, Serializable
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
NumberComparator() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ intcompare(Number[] n1, + Number[] n2) + +
+          
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface java.util.Comparator
equals
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+NumberComparator

+
+public NumberComparator()
+
+
+ + + + + + + + +
+Method Detail
+ +

+compare

+
+public int compare(Number[] n1,
+                   Number[] n2)
+
+
+

+

+
Specified by:
compare in interface Comparator<Number[]>
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jorphan/math/StatCalculator.html b/docs/api/org/apache/jorphan/math/StatCalculator.html new file mode 100644 index 00000000000..d045ed06ac2 --- /dev/null +++ b/docs/api/org/apache/jorphan/math/StatCalculator.html @@ -0,0 +1,617 @@ + + + + + +StatCalculator (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jorphan.math +
+Class StatCalculator<T extends Number & Comparable<? super T>>

+
+java.lang.Object
+  extended by org.apache.jorphan.math.StatCalculator<T>
+
+
+
Type Parameters:
T - type parameter for the calculator
+
+
Direct Known Subclasses:
StatCalculatorInteger, StatCalculatorLong
+
+
+
+
public abstract class StatCalculator<T extends Number & Comparable<? super T>>
extends Object
+ + +

+This class serves as a way to calculate the median, max, min etc. of a list of values. + It is not threadsafe. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
StatCalculator(T zero, + T min, + T max) + +
+          This constructor is used to set up particular values for the generic class instance.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddAll(StatCalculator<T> calc) + +
+           
+ voidaddBytes(long newValue) + +
+           
+ voidaddValue(T val) + +
+          Add a single value (normally elapsed time)
+ voidaddValue(T val, + long sampleCount) + +
+          Update the calculator with the value for an aggregated sample.
+ voidclear() + +
+           
+protected abstract  Tdivide(T val, + int n) + +
+           
+protected abstract  Tdivide(T val, + long n) + +
+           
+ longgetCount() + +
+           
+ Map<Number,Number[]>getDistribution() + +
+          Returns the distribution of the values in the list.
+ TgetMax() + +
+           
+ doublegetMean() + +
+           
+ TgetMedian() + +
+           
+ TgetMin() + +
+           
+ TgetPercentPoint(double percent) + +
+          Get the value which %percent% of the values are less than.
+ TgetPercentPoint(float percent) + +
+          Get the value which %percent% of the values are less than.
+ doublegetStandardDeviation() + +
+           
+ doublegetSum() + +
+           
+ longgetTotalBytes() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+StatCalculator

+
+public StatCalculator(T zero,
+                      T min,
+                      T max)
+
+
This constructor is used to set up particular values for the generic class instance. +

+

+
Parameters:
zero - - value to return for Median and PercentPoint if there are no values
min - - value to return for minimum if there are no values
max - - value to return for maximum if there are no values
+
+ + + + + + + + +
+Method Detail
+ +

+clear

+
+public void clear()
+
+
+
+
+
+
+ +

+addBytes

+
+public void addBytes(long newValue)
+
+
+
+
+
+
+ +

+addAll

+
+public void addAll(StatCalculator<T> calc)
+
+
+
+
+
+
+ +

+getMedian

+
+public T getMedian()
+
+
+
+
+
+
+ +

+getTotalBytes

+
+public long getTotalBytes()
+
+
+
+
+
+
+ +

+getPercentPoint

+
+public T getPercentPoint(float percent)
+
+
Get the value which %percent% of the values are less than. This works + just like median (where median represents the 50% point). A typical + desire is to see the 90% point - the value that 90% of the data points + are below, the remaining 10% are above. +

+

+
Parameters:
percent - number representing the wished percent (between 0 + and 1.0) +
Returns:
number of values less than the percentage
+
+
+
+ +

+getPercentPoint

+
+public T getPercentPoint(double percent)
+
+
Get the value which %percent% of the values are less than. This works + just like median (where median represents the 50% point). A typical + desire is to see the 90% point - the value that 90% of the data points + are below, the remaining 10% are above. +

+

+
Parameters:
percent - number representing the wished percent (between 0 + and 1.0) +
Returns:
the value which %percent% of the values are less than
+
+
+
+ +

+getDistribution

+
+public Map<Number,Number[]> getDistribution()
+
+
Returns the distribution of the values in the list. +

+

+ +
Returns:
map containing either Integer or Long keys; entries are a Number array containing the key and the [Integer] count. + TODO - why is the key value also stored in the entry array? See Bug 53825
+
+
+
+ +

+getMean

+
+public double getMean()
+
+
+
+
+
+
+ +

+getStandardDeviation

+
+public double getStandardDeviation()
+
+
+
+
+
+
+ +

+getMin

+
+public T getMin()
+
+
+
+
+
+
+ +

+getMax

+
+public T getMax()
+
+
+
+
+
+
+ +

+getCount

+
+public long getCount()
+
+
+
+
+
+
+ +

+getSum

+
+public double getSum()
+
+
+
+
+
+
+ +

+divide

+
+protected abstract T divide(T val,
+                            int n)
+
+
+
+
+
+
+ +

+divide

+
+protected abstract T divide(T val,
+                            long n)
+
+
+
+
+
+
+ +

+addValue

+
+public void addValue(T val,
+                     long sampleCount)
+
+
Update the calculator with the value for an aggregated sample. +

+

+
Parameters:
val - the aggregate value, normally the elapsed time
sampleCount - the number of samples contributing to the aggregate value
+
+
+
+ +

+addValue

+
+public void addValue(T val)
+
+
Add a single value (normally elapsed time) +

+

+
Parameters:
val - the value to add, which should correspond with a single sample
See Also:
addValue(Number, long)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jorphan/math/StatCalculatorInteger.html b/docs/api/org/apache/jorphan/math/StatCalculatorInteger.html new file mode 100644 index 00000000000..c1060200303 --- /dev/null +++ b/docs/api/org/apache/jorphan/math/StatCalculatorInteger.html @@ -0,0 +1,333 @@ + + + + + +StatCalculatorInteger (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jorphan.math +
+Class StatCalculatorInteger

+
+java.lang.Object
+  extended by org.apache.jorphan.math.StatCalculator<Integer>
+      extended by org.apache.jorphan.math.StatCalculatorInteger
+
+
+
+
public class StatCalculatorInteger
extends StatCalculator<Integer>
+ + +

+StatCalculator for Integer values +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
StatCalculatorInteger() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddValue(int val) + +
+           
+ voidaddValue(int val, + int sampleCount) + +
+          Update the calculator with the value for an aggregated sample.
+protected  Integerdivide(Integer val, + int n) + +
+           
+protected  Integerdivide(Integer val, + long n) + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jorphan.math.StatCalculator
addAll, addBytes, addValue, addValue, clear, getCount, getDistribution, getMax, getMean, getMedian, getMin, getPercentPoint, getPercentPoint, getStandardDeviation, getSum, getTotalBytes
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+StatCalculatorInteger

+
+public StatCalculatorInteger()
+
+
+ + + + + + + + +
+Method Detail
+ +

+addValue

+
+public void addValue(int val)
+
+
+
+
+
+
+ +

+addValue

+
+public void addValue(int val,
+                     int sampleCount)
+
+
Update the calculator with the value for an aggregated sample. +

+

+
Parameters:
val - the aggregate value
sampleCount - the number of samples contributing to the aggregate value
+
+
+
+ +

+divide

+
+protected Integer divide(Integer val,
+                         int n)
+
+
+
Specified by:
divide in class StatCalculator<Integer>
+
+
+
+
+
+
+ +

+divide

+
+protected Integer divide(Integer val,
+                         long n)
+
+
+
Specified by:
divide in class StatCalculator<Integer>
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jorphan/math/StatCalculatorLong.html b/docs/api/org/apache/jorphan/math/StatCalculatorLong.html new file mode 100644 index 00000000000..f4b30a06b4f --- /dev/null +++ b/docs/api/org/apache/jorphan/math/StatCalculatorLong.html @@ -0,0 +1,335 @@ + + + + + +StatCalculatorLong (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jorphan.math +
+Class StatCalculatorLong

+
+java.lang.Object
+  extended by org.apache.jorphan.math.StatCalculator<Long>
+      extended by org.apache.jorphan.math.StatCalculatorLong
+
+
+
+
public class StatCalculatorLong
extends StatCalculator<Long>
+ + +

+StatCalculator for Long values +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
StatCalculatorLong() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddValue(long val) + +
+          Add a single value (normally elapsed time)
+ voidaddValue(long val, + int sampleCount) + +
+          Update the calculator with the value for an aggregated sample.
+protected  Longdivide(Long val, + int n) + +
+           
+protected  Longdivide(Long val, + long n) + +
+           
+ + + + + + + +
Methods inherited from class org.apache.jorphan.math.StatCalculator
addAll, addBytes, addValue, addValue, clear, getCount, getDistribution, getMax, getMean, getMedian, getMin, getPercentPoint, getPercentPoint, getStandardDeviation, getSum, getTotalBytes
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+StatCalculatorLong

+
+public StatCalculatorLong()
+
+
+ + + + + + + + +
+Method Detail
+ +

+addValue

+
+public void addValue(long val)
+
+
Add a single value (normally elapsed time) +

+

+
Parameters:
val - the value to add, which should correspond with a single sample
+
+
+
+ +

+addValue

+
+public void addValue(long val,
+                     int sampleCount)
+
+
Update the calculator with the value for an aggregated sample. +

+

+
Parameters:
val - the aggregate value, normally the elapsed time
sampleCount - the number of samples contributing to the aggregate value
+
+
+
+ +

+divide

+
+protected Long divide(Long val,
+                      int n)
+
+
+
Specified by:
divide in class StatCalculator<Long>
+
+
+
+
+
+
+ +

+divide

+
+protected Long divide(Long val,
+                      long n)
+
+
+
Specified by:
divide in class StatCalculator<Long>
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jorphan/math/package-frame.html b/docs/api/org/apache/jorphan/math/package-frame.html new file mode 100644 index 00000000000..540907da8fe --- /dev/null +++ b/docs/api/org/apache/jorphan/math/package-frame.html @@ -0,0 +1,36 @@ + + + + + +org.apache.jorphan.math (Apache JMeter API) + + + + + + + + + + +org.apache.jorphan.math + + + + +
+Classes  + +
+NumberComparator +
+StatCalculator +
+StatCalculatorInteger +
+StatCalculatorLong
+ + + + diff --git a/docs/api/org/apache/jorphan/math/package-summary.html b/docs/api/org/apache/jorphan/math/package-summary.html new file mode 100644 index 00000000000..b7088b0a6eb --- /dev/null +++ b/docs/api/org/apache/jorphan/math/package-summary.html @@ -0,0 +1,165 @@ + + + + + +org.apache.jorphan.math (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jorphan.math +

+ + + + + + + + + + + + + + + + + + + + + +
+Class Summary
NumberComparator 
StatCalculator<T extends Number & Comparable<? super T>>This class serves as a way to calculate the median, max, min etc. of a list of values.
StatCalculatorIntegerStatCalculator for Integer values
StatCalculatorLongStatCalculator for Long values
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jorphan/math/package-tree.html b/docs/api/org/apache/jorphan/math/package-tree.html new file mode 100644 index 00000000000..f851e81c2ac --- /dev/null +++ b/docs/api/org/apache/jorphan/math/package-tree.html @@ -0,0 +1,152 @@ + + + + + +org.apache.jorphan.math Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jorphan.math +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jorphan/reflect/ClassFinder.html b/docs/api/org/apache/jorphan/reflect/ClassFinder.html new file mode 100644 index 00000000000..00f00b20b3c --- /dev/null +++ b/docs/api/org/apache/jorphan/reflect/ClassFinder.html @@ -0,0 +1,385 @@ + + + + + +ClassFinder (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jorphan.reflect +
+Class ClassFinder

+
+java.lang.Object
+  extended by org.apache.jorphan.reflect.ClassFinder
+
+
+
+
public final class ClassFinder
extends Object
+ + +

+This class finds classes that extend one of a set of parent classes +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static List<String>findAnnotatedClasses(String[] strPathsOrJars, + Class<? extends Annotation>[] annotations) + +
+          Find classes in the provided path(s)/jar(s) that extend the class(es).
+static List<String>findAnnotatedClasses(String[] strPathsOrJars, + Class<? extends Annotation>[] annotations, + boolean innerClasses) + +
+          Find classes in the provided path(s)/jar(s) that extend the class(es).
+static List<String>findClassesThatExtend(String[] paths, + Class<?>[] superClasses) + +
+          Convenience method for + findClassesThatExtend(String[], Class[], boolean) with the + option to include inner classes in the search set to false.
+static List<String>findClassesThatExtend(String[] strPathsOrJars, + Class<?>[] superClasses, + boolean innerClasses) + +
+          Find classes in the provided path(s)/jar(s) that extend the class(es).
+static List<String>findClassesThatExtend(String[] strPathsOrJars, + Class<?>[] superClasses, + boolean innerClasses, + String contains, + String notContains) + +
+          Find classes in the provided path(s)/jar(s) that extend the class(es).
+static List<String>findClassesThatExtend(String[] searchPathsOrJars, + Class<?>[] classNames, + boolean innerClasses, + String contains, + String notContains, + boolean annotations) + +
+          Find classes in the provided path(s)/jar(s) that extend the class(es).
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+findClassesThatExtend

+
+public static List<String> findClassesThatExtend(String[] paths,
+                                                 Class<?>[] superClasses)
+                                          throws IOException
+
+
Convenience method for + findClassesThatExtend(String[], Class[], boolean) with the + option to include inner classes in the search set to false. +

+

+
Parameters:
paths - pathnames or jarfiles to search for classes
superClasses - required parent class(es) +
Returns:
List of Strings containing discovered class names. +
Throws: +
IOException - when scanning the classes fails
+
+
+
+ +

+findClassesThatExtend

+
+public static List<String> findClassesThatExtend(String[] strPathsOrJars,
+                                                 Class<?>[] superClasses,
+                                                 boolean innerClasses)
+                                          throws IOException
+
+
Find classes in the provided path(s)/jar(s) that extend the class(es). +

+

+
Parameters:
strPathsOrJars - - pathnames or jarfiles to search for classes
superClasses - - required parent class(es)
innerClasses - - should we include inner classes? +
Returns:
List containing discovered classes +
Throws: +
IOException - when scanning for classes fails
+
+
+
+ +

+findClassesThatExtend

+
+public static List<String> findClassesThatExtend(String[] strPathsOrJars,
+                                                 Class<?>[] superClasses,
+                                                 boolean innerClasses,
+                                                 String contains,
+                                                 String notContains)
+                                          throws IOException
+
+
Find classes in the provided path(s)/jar(s) that extend the class(es). +

+

+
Parameters:
strPathsOrJars - - pathnames or jarfiles to search for classes
superClasses - - required parent class(es)
innerClasses - - should we include inner classes?
contains - - classname should contain this string
notContains - - classname should not contain this string +
Returns:
List containing discovered classes +
Throws: +
IOException - when scanning classes fails
+
+
+
+ +

+findAnnotatedClasses

+
+public static List<String> findAnnotatedClasses(String[] strPathsOrJars,
+                                                Class<? extends Annotation>[] annotations,
+                                                boolean innerClasses)
+                                         throws IOException
+
+
Find classes in the provided path(s)/jar(s) that extend the class(es). +

+

+
Parameters:
strPathsOrJars - - pathnames or jarfiles to search for classes
annotations - - required annotations
innerClasses - - should we include inner classes? +
Returns:
List containing discovered classes +
Throws: +
IOException - when scanning classes fails
+
+
+
+ +

+findAnnotatedClasses

+
+public static List<String> findAnnotatedClasses(String[] strPathsOrJars,
+                                                Class<? extends Annotation>[] annotations)
+                                         throws IOException
+
+
Find classes in the provided path(s)/jar(s) that extend the class(es). + Inner classes are not searched. +

+

+
Parameters:
strPathsOrJars - - pathnames or jarfiles to search for classes
annotations - - required annotations +
Returns:
List containing discovered classes +
Throws: +
IOException - when scanning classes fails
+
+
+
+ +

+findClassesThatExtend

+
+public static List<String> findClassesThatExtend(String[] searchPathsOrJars,
+                                                 Class<?>[] classNames,
+                                                 boolean innerClasses,
+                                                 String contains,
+                                                 String notContains,
+                                                 boolean annotations)
+                                          throws IOException
+
+
Find classes in the provided path(s)/jar(s) that extend the class(es). +

+

+
Parameters:
searchPathsOrJars - - pathnames or jarfiles to search for classes
classNames - - required parent class(es) or annotations
innerClasses - - should we include inner classes?
contains - - classname should contain this string
notContains - - classname should not contain this string
annotations - - true if classnames are annotations +
Returns:
List containing discovered classes +
Throws: +
IOException - when scanning classes fails
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jorphan/reflect/ClassTools.html b/docs/api/org/apache/jorphan/reflect/ClassTools.html new file mode 100644 index 00000000000..dbb6de04f9c --- /dev/null +++ b/docs/api/org/apache/jorphan/reflect/ClassTools.html @@ -0,0 +1,343 @@ + + + + + +ClassTools (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jorphan.reflect +
+Class ClassTools

+
+java.lang.Object
+  extended by org.apache.jorphan.reflect.ClassTools
+
+
+
+
public class ClassTools
extends Object
+ + +

+Utility methods for handling dynamic access to classes. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
ClassTools() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static Objectconstruct(String className) + +
+          Call no-args constructor for a class.
+static Objectconstruct(String className, + int parameter) + +
+          Call a class constructor with an integer parameter
+static Objectconstruct(String className, + String parameter) + +
+          Call a class constructor with an String parameter
+static voidinvoke(Object instance, + String methodName) + +
+          Invoke a public method on a class instance
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ClassTools

+
+public ClassTools()
+
+
+ + + + + + + + +
+Method Detail
+ +

+construct

+
+public static Object construct(String className)
+                        throws JMeterException
+
+
Call no-args constructor for a class. +

+

+
Parameters:
className - name of the class to be constructed +
Returns:
an instance of the class +
Throws: +
JMeterException - if class cannot be created
+
+
+
+ +

+construct

+
+public static Object construct(String className,
+                               int parameter)
+                        throws JMeterException
+
+
Call a class constructor with an integer parameter +

+

+
Parameters:
className - name of the class to be constructed
parameter - the value to be used in the constructor +
Returns:
an instance of the class +
Throws: +
JMeterException - if class cannot be created
+
+
+
+ +

+construct

+
+public static Object construct(String className,
+                               String parameter)
+                        throws JMeterException
+
+
Call a class constructor with an String parameter +

+

+
Parameters:
className - the name of the class to construct
parameter - to be used for the construction of the class instance +
Returns:
an instance of the class +
Throws: +
JMeterException - if class cannot be created
+
+
+
+ +

+invoke

+
+public static void invoke(Object instance,
+                          String methodName)
+                   throws SecurityException,
+                          IllegalArgumentException,
+                          JMeterException
+
+
Invoke a public method on a class instance +

+

+
Parameters:
instance - object on which the method should be called
methodName - name of the method to be called +
Throws: +
SecurityException - if a security violation occurred while looking for the method +
IllegalArgumentException - if the method parameters (none given) do not match the + signature of the method +
JMeterException - if something went wrong in the invoked method
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jorphan/reflect/Functor.html b/docs/api/org/apache/jorphan/reflect/Functor.html new file mode 100644 index 00000000000..849e5e1c3bf --- /dev/null +++ b/docs/api/org/apache/jorphan/reflect/Functor.html @@ -0,0 +1,612 @@ + + + + + +Functor (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jorphan.reflect +
+Class Functor

+
+java.lang.Object
+  extended by org.apache.jorphan.reflect.Functor
+
+
+
Direct Known Subclasses:
TableVisualizer.SampleSuccessFunctor
+
+
+
+
public class Functor
extends Object
+ + +

+Implements function call-backs. +

+ Functors may be defined for instance objects or classes. +

+ The method is created on first use, which allows the invokee (class or instance) + to be omitted from the constructor. +

+ The class name takes precedence over the instance. +

+ If a functor is created with a particular instance, then that is used for all future calls; + if an object is provided, it is ignored. + This allows easy override of the table model behaviour. +

+ If an argument list is provided in the constructor, then that is ignored in subsequent invoke() calls. +

+ Usage: + +

+ f = new Functor("methodName");
+ o = f.invoke(object); // - OR -
+ o = f.invoke(object, params);
+ 
+ +
+ f2 = new Functor(object, "methodName");
+ o = f2.invoke(); // - OR -
+ o = f2.invoke(params);
+ 
+ +
+ f3 = new Functor(class, "methodName");
+ o = f3.invoke(object); // - will be ignored
+ o = f3.invoke(); // - OR -
+ o = f3.invoke(params);
+ o = f3.invoke(object, params); // - object will be ignored
+ 
+

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Constructor Summary
Functor(Class<?> _clazz, + String _methodName) + +
+          Create a functor from class and method name.
Functor(Class<?> _clazz, + String _methodName, + Class<?>[] _types) + +
+          Create a functor with the class, method name, and argument class types.
Functor(Object _invokee, + String _methodName) + +
+          Create a functor with the invokee and a method name.
Functor(Object _invokee, + String _methodName, + Class<?>[] _types) + +
+          Create a functor with the invokee, method name, and argument class types.
Functor(Object _invokee, + String _methodName, + Object[] _args) + +
+          Create a functor with an invokee, method name, and argument values.
Functor(String _methodName) + +
+          Create a functor with just the method name.
Functor(String _methodName, + Class<?>[] _types) + +
+          Create a functor with the method name and argument class types.
Functor(String _methodName, + Object[] _args) + +
+          Create a functor from method name and arguments.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleancheckMethod(Object _invokee) + +
+          Deprecated. ** for use by Unit test code only **
+ booleancheckMethod(Object _invokee, + Class<?> c) + +
+          Deprecated. ** for use by Unit test code only **
+ Objectinvoke() + +
+          Invoke a Functor, which must have been created with either a class name or object.
+ Objectinvoke(Object p_invokee) + +
+          Invoke the method on a given object.
+ Objectinvoke(Object[] p_args) + +
+          Invoke the method with the provided parameters.
+ Objectinvoke(Object p_invokee, + Object[] p_args) + +
+          Invoke the method on the invokee with the provided parameters.
+ StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Functor

+
+public Functor(Object _invokee,
+               String _methodName)
+
+
Create a functor with the invokee and a method name. + + The invokee will be used in all future invoke calls. +

+

+
Parameters:
_invokee - object on which to invoke the method
_methodName - method name
+
+
+ +

+Functor

+
+public Functor(Class<?> _clazz,
+               String _methodName)
+
+
Create a functor from class and method name. + This is useful for methods defined in interfaces. + + The actual invokee must be provided in all invoke() calls, + and must be an instance of the class. +

+

+
Parameters:
_clazz - class to be used
_methodName - method name
+
+
+ +

+Functor

+
+public Functor(Object _invokee,
+               String _methodName,
+               Class<?>[] _types)
+
+
Create a functor with the invokee, method name, and argument class types. + + The invokee will be ignored in any invoke() calls. +

+

+
Parameters:
_invokee - object on which to invoke the method
_methodName - method name
_types - types of arguments to be used
+
+
+ +

+Functor

+
+public Functor(Class<?> _clazz,
+               String _methodName,
+               Class<?>[] _types)
+
+
Create a functor with the class, method name, and argument class types. + + Subsequent invoke() calls must provide the appropriate ivokee object. +

+

+
Parameters:
_clazz - the class in which to find the method
_methodName - method name
_types - types of arguments to be used
+
+
+ +

+Functor

+
+public Functor(String _methodName)
+
+
Create a functor with just the method name. + + The invokee and any parameters must be provided in all invoke() calls. +

+

+
Parameters:
_methodName - method name
+
+
+ +

+Functor

+
+public Functor(String _methodName,
+               Class<?>[] _types)
+
+
Create a functor with the method name and argument class types. + + The invokee must be provided in all invoke() calls +

+

+
Parameters:
_methodName - method name
_types - parameter types
+
+
+ +

+Functor

+
+public Functor(Object _invokee,
+               String _methodName,
+               Object[] _args)
+
+
Create a functor with an invokee, method name, and argument values. + + The invokee will be ignored in any invoke() calls. +

+

+
Parameters:
_invokee - object on which to invoke the method
_methodName - method name
_args - arguments to be passed to the method
+
+
+ +

+Functor

+
+public Functor(String _methodName,
+               Object[] _args)
+
+
Create a functor from method name and arguments. + + The class will be determined from the first invoke call. + All invoke calls must include a target object; + which must be of the same type as the initial invokee. +

+

+
Parameters:
_methodName - method name
_args - arguments to be used
+
+ + + + + + + + +
+Method Detail
+ +

+invoke

+
+public Object invoke()
+
+
Invoke a Functor, which must have been created with either a class name or object. +

+

+ +
Returns:
the object if any
+
+
+
+ +

+invoke

+
+public Object invoke(Object p_invokee)
+
+
Invoke the method on a given object. +

+

+
Parameters:
p_invokee - - provides the object to call; ignored if the class or object were provided to the constructor +
Returns:
the value
+
+
+
+ +

+invoke

+
+public Object invoke(Object[] p_args)
+
+
Invoke the method with the provided parameters. + + The invokee must have been provided in the constructor. +

+

+
Parameters:
p_args - parameters for the method +
Returns:
the value
+
+
+
+ +

+invoke

+
+public Object invoke(Object p_invokee,
+                     Object[] p_args)
+
+
Invoke the method on the invokee with the provided parameters. + + The invokee must agree with the class (if any) provided at construction time. + + If the invokee was provided at construction time, then this invokee will be ignored. + If actual arguments were provided at construction time, then arguments will be ignored. +

+

+
Parameters:
p_invokee - invokee to use, if no class or invokee was provided at construction time
p_args - arguments to use +
Returns:
result of invocation
+
+
+
+ +

+checkMethod

+
+@Deprecated
+public boolean checkMethod(Object _invokee)
+
+
Deprecated. ** for use by Unit test code only ** +

+

Check if a read Functor method is valid. +

+

+
Parameters:
_invokee - instance on which the method should be tested +
Returns:
true if method exists
+
+
+
+ +

+checkMethod

+
+@Deprecated
+public boolean checkMethod(Object _invokee,
+                                      Class<?> c)
+
+
Deprecated. ** for use by Unit test code only ** +

+

Check if a write Functor method is valid. +

+

+
Parameters:
_invokee - instance on which the method should be tested
c - type of parameter +
Returns:
true if method exists
+
+
+
+ +

+toString

+
+public String toString()
+
+
+
Overrides:
toString in class Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jorphan/reflect/package-frame.html b/docs/api/org/apache/jorphan/reflect/package-frame.html new file mode 100644 index 00000000000..5562de52c84 --- /dev/null +++ b/docs/api/org/apache/jorphan/reflect/package-frame.html @@ -0,0 +1,34 @@ + + + + + +org.apache.jorphan.reflect (Apache JMeter API) + + + + + + + + + + +org.apache.jorphan.reflect + + + + +
+Classes  + +
+ClassFinder +
+ClassTools +
+Functor
+ + + + diff --git a/docs/api/org/apache/jorphan/reflect/package-summary.html b/docs/api/org/apache/jorphan/reflect/package-summary.html new file mode 100644 index 00000000000..4784cde128b --- /dev/null +++ b/docs/api/org/apache/jorphan/reflect/package-summary.html @@ -0,0 +1,161 @@ + + + + + +org.apache.jorphan.reflect (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jorphan.reflect +

+ + + + + + + + + + + + + + + + + +
+Class Summary
ClassFinderThis class finds classes that extend one of a set of parent classes
ClassToolsUtility methods for handling dynamic access to classes.
FunctorImplements function call-backs.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jorphan/reflect/package-tree.html b/docs/api/org/apache/jorphan/reflect/package-tree.html new file mode 100644 index 00000000000..a9f820a7451 --- /dev/null +++ b/docs/api/org/apache/jorphan/reflect/package-tree.html @@ -0,0 +1,149 @@ + + + + + +org.apache.jorphan.reflect Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jorphan.reflect +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jorphan/test/UnitTestManager.html b/docs/api/org/apache/jorphan/test/UnitTestManager.html new file mode 100644 index 00000000000..a6a2a38bdac --- /dev/null +++ b/docs/api/org/apache/jorphan/test/UnitTestManager.html @@ -0,0 +1,221 @@ + + + + + +UnitTestManager (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jorphan.test +
+Interface UnitTestManager

+
+
All Known Implementing Classes:
JMeterUtils
+
+
+
+
public interface UnitTestManager
+ + +

+Implement this interface to work with the AllTests class. This interface + allows AllTests to pass a configuration file to your application before + running the junit unit tests. +

+ N.B. This interface must be in the main src/ tree (not test/) because it is + implemented by JMeterUtils +

+ see JUnit class: org.apache.jorphan.test.AllTests +

+ +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+ voidinitializeProperties(String filename) + +
+          Your implementation will be handed the filename that was provided to + AllTests as a configuration file.
+  +

+ + + + + + + + +
+Method Detail
+ +

+initializeProperties

+
+void initializeProperties(String filename)
+
+
Your implementation will be handed the filename that was provided to + AllTests as a configuration file. It can hold whatever properties you + need to configure your system prior to the unit tests running. +

+

+
Parameters:
filename - path to the configuration file
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jorphan/test/package-frame.html b/docs/api/org/apache/jorphan/test/package-frame.html new file mode 100644 index 00000000000..ad8e97fc175 --- /dev/null +++ b/docs/api/org/apache/jorphan/test/package-frame.html @@ -0,0 +1,30 @@ + + + + + +org.apache.jorphan.test (Apache JMeter API) + + + + + + + + + + +org.apache.jorphan.test + + + + +
+Interfaces  + +
+UnitTestManager
+ + + + diff --git a/docs/api/org/apache/jorphan/test/package-summary.html b/docs/api/org/apache/jorphan/test/package-summary.html new file mode 100644 index 00000000000..44edef5fffc --- /dev/null +++ b/docs/api/org/apache/jorphan/test/package-summary.html @@ -0,0 +1,153 @@ + + + + + +org.apache.jorphan.test (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jorphan.test +

+ + + + + + + + + +
+Interface Summary
UnitTestManagerImplement this interface to work with the AllTests class.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jorphan/test/package-tree.html b/docs/api/org/apache/jorphan/test/package-tree.html new file mode 100644 index 00000000000..5ce7e9ec9d9 --- /dev/null +++ b/docs/api/org/apache/jorphan/test/package-tree.html @@ -0,0 +1,147 @@ + + + + + +org.apache.jorphan.test Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jorphan.test +

+
+
+
Package Hierarchies:
All Packages
+
+

+Interface Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jorphan/util/Converter.html b/docs/api/org/apache/jorphan/util/Converter.html new file mode 100644 index 00000000000..70dd2aa5a97 --- /dev/null +++ b/docs/api/org/apache/jorphan/util/Converter.html @@ -0,0 +1,895 @@ + + + + + +Converter (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jorphan.util +
+Class Converter

+
+java.lang.Object
+  extended by org.apache.jorphan.util.Converter
+
+
+
+
public class Converter
extends Object
+ + +

+Converter utilities for TestBeans +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
Converter() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static Objectconvert(Object value, + Class<?> toType) + +
+          Convert the given value object to an object of the given type
+static StringformatCalendar(Calendar date, + String pattern) + +
+          Format a calendar using a given pattern
+static StringformatDate(Calendar date, + String pattern) + +
+          Format a date using a given pattern
+static StringformatDate(Date date, + String pattern) + +
+          Format a date using a given pattern
+static StringformatDate(Date date, + String pattern) + +
+          Format a date using a given pattern
+static StringformatDate(String date, + String pattern) + +
+          Format a date using a given pattern
+static booleangetBoolean(Object o) + +
+          Convert object to boolean, or false if conversion + failed
+static booleangetBoolean(Object o, + boolean defaultValue) + +
+          Convert object to boolean, or defaultValue if conversion + failed
+static CalendargetCalendar(Object o) + +
+          Converts the given object to a calendar object.
+static CalendargetCalendar(Object date, + Calendar defaultValue) + +
+          Converts the given object to a calendar object.
+static chargetChar(Object o) + +
+          Convert object to char, or ' ' if no conversion can + be applied
+static chargetChar(Object o, + char defaultValue) + +
+          Convert object to char, or defaultValue if no conversion can + be applied
+static DategetDate(Object date) + +
+          Converts the given object to a Date object.
+static DategetDate(Object date, + Date defaultValue) + +
+          Converts the given object to a Date object.
+static doublegetDouble(Object o) + +
+          Convert object to double, or 0 if conversion + failed
+static doublegetDouble(Object o, + double defaultValue) + +
+          Convert object to double, or defaultValue if conversion + failed
+static FilegetFile(Object o) + +
+          Converts an object to a File
+static floatgetFloat(Object o) + +
+          Convert object to float, or 0 if conversion + failed
+static floatgetFloat(Object o, + float defaultValue) + +
+          Convert object to float, or defaultValue if conversion + failed
+static intgetInt(Object o) + +
+          Converts object to an integer, defaults to 0 if object is + not convertible or is null.
+static intgetInt(Object o, + int defaultValue) + +
+          Convert object to integer, return defaultValue if object is not + convertible or is null.
+static longgetLong(Object o) + +
+          Converts object to a long, defaults to 0 if object is not + convertible or is null
+static longgetLong(Object o, + long defaultValue) + +
+          Converts object to a long, return defaultValue if object is + not convertible or is null.
+static StringgetString(Object o) + +
+          Converts object to a String, defaults to empty string if object is null.
+static StringgetString(Object o, + String defaultValue) + +
+          Converts object to a String, return defaultValue if object + is null.
+static StringinsertLineBreaks(String v, + String insertion) + +
+          Replace newlines "\n" with insertion
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Converter

+
+public Converter()
+
+
+ + + + + + + + +
+Method Detail
+ +

+convert

+
+public static Object convert(Object value,
+                             Class<?> toType)
+
+
Convert the given value object to an object of the given type +

+

+
Parameters:
value - object to convert
toType - type to convert object to +
Returns:
converted object or original value if no conversion could be + applied
+
+
+
+ +

+getCalendar

+
+public static Calendar getCalendar(Object date,
+                                   Calendar defaultValue)
+
+
Converts the given object to a calendar object. Defaults to the + defaultValue if the given object can't be converted. +

+

+
Parameters:
date - object that should be converted to a Calendar
defaultValue - default value that will be returned if date can + not be converted +
Returns:
Calendar representing the given date or + defaultValue if conversion failed
+
+
+
+ +

+getCalendar

+
+public static Calendar getCalendar(Object o)
+
+
Converts the given object to a calendar object. Defaults to a calendar + using the current time if the given object can't be converted. +

+

+
Parameters:
o - object that should be converted to a Calendar +
Returns:
Calendar representing the given o or a new + GregorianCalendar using the current time if conversion + failed
+
+
+
+ +

+getDate

+
+public static Date getDate(Object date)
+
+
Converts the given object to a Date object. Defaults to the + current time if the given object can't be converted. +

+

+
Parameters:
date - object that should be converted to a Date +
Returns:
Date representing the given date or + the current time if conversion failed
+
+
+
+ +

+getDate

+
+public static Date getDate(Object date,
+                           Date defaultValue)
+
+
Converts the given object to a Date object. Defaults to the + defaultValue if the given object can't be converted. +

+

+
Parameters:
date - object that should be converted to a Date
defaultValue - default value that will be returned if date can + not be converted +
Returns:
Date representing the given date or + defaultValue if conversion failed
+
+
+
+ +

+getFloat

+
+public static float getFloat(Object o,
+                             float defaultValue)
+
+
Convert object to float, or defaultValue if conversion + failed +

+

+
Parameters:
o - object to convert
defaultValue - default value to use, when conversion failed +
Returns:
converted float or defaultValue if conversion + failed
+
+
+
+ +

+getFloat

+
+public static float getFloat(Object o)
+
+
Convert object to float, or 0 if conversion + failed +

+

+
Parameters:
o - object to convert +
Returns:
converted float or 0 if conversion + failed
+
+
+
+ +

+getDouble

+
+public static double getDouble(Object o,
+                               double defaultValue)
+
+
Convert object to double, or defaultValue if conversion + failed +

+

+
Parameters:
o - object to convert
defaultValue - default value to use, when conversion failed +
Returns:
converted double or defaultValue if conversion + failed
+
+
+
+ +

+getDouble

+
+public static double getDouble(Object o)
+
+
Convert object to double, or 0 if conversion + failed +

+

+
Parameters:
o - object to convert +
Returns:
converted double or 0 if conversion + failed
+
+
+
+ +

+getBoolean

+
+public static boolean getBoolean(Object o)
+
+
Convert object to boolean, or false if conversion + failed +

+

+
Parameters:
o - object to convert +
Returns:
converted boolean or false if conversion + failed
+
+
+
+ +

+getBoolean

+
+public static boolean getBoolean(Object o,
+                                 boolean defaultValue)
+
+
Convert object to boolean, or defaultValue if conversion + failed +

+

+
Parameters:
o - object to convert
defaultValue - default value to use, when conversion failed +
Returns:
converted boolean or defaultValue if conversion + failed
+
+
+
+ +

+getInt

+
+public static int getInt(Object o,
+                         int defaultValue)
+
+
Convert object to integer, return defaultValue if object is not + convertible or is null. +

+

+
Parameters:
o - object to convert
defaultValue - default value to be used when no conversion can be done +
Returns:
converted int or default value if conversion failed
+
+
+
+ +

+getChar

+
+public static char getChar(Object o)
+
+
Convert object to char, or ' ' if no conversion can + be applied +

+

+
Parameters:
o - object to convert +
Returns:
converted char or ' ' if conversion failed
+
+
+
+ +

+getChar

+
+public static char getChar(Object o,
+                           char defaultValue)
+
+
Convert object to char, or defaultValue if no conversion can + be applied +

+

+
Parameters:
o - object to convert
defaultValue - default value to use, when conversion failed +
Returns:
converted char or defaultValue if conversion failed
+
+
+
+ +

+getInt

+
+public static int getInt(Object o)
+
+
Converts object to an integer, defaults to 0 if object is + not convertible or is null. +

+

+
Parameters:
o - object to convert +
Returns:
converted int, or 0 if conversion failed
+
+
+
+ +

+getLong

+
+public static long getLong(Object o,
+                           long defaultValue)
+
+
Converts object to a long, return defaultValue if object is + not convertible or is null. +

+

+
Parameters:
o - object to convert
defaultValue - default value to use, when conversion failed +
Returns:
converted long or defaultValue when conversion + failed
+
+
+
+ +

+getLong

+
+public static long getLong(Object o)
+
+
Converts object to a long, defaults to 0 if object is not + convertible or is null +

+

+
Parameters:
o - object to convert +
Returns:
converted long or 0 if conversion failed
+
+
+
+ +

+formatDate

+
+public static String formatDate(Date date,
+                                String pattern)
+
+
Format a date using a given pattern +

+

+
Parameters:
date - date to format
pattern - pattern to use for formatting +
Returns:
formatted date, or empty string if date was null +
Throws: +
IllegalArgumentException - when pattern is invalid
+
+
+
+ +

+formatDate

+
+public static String formatDate(Date date,
+                                String pattern)
+
+
Format a date using a given pattern +

+

+
Parameters:
date - date to format
pattern - pattern to use for formatting +
Returns:
formatted date, or empty string if date was null +
Throws: +
IllegalArgumentException - when pattern is invalid
+
+
+
+ +

+formatDate

+
+public static String formatDate(String date,
+                                String pattern)
+
+
Format a date using a given pattern +

+

+
Parameters:
date - date to format
pattern - pattern to use for formatting +
Returns:
formatted date, or empty string if date was null +
Throws: +
IllegalArgumentException - when pattern is invalid
+
+
+
+ +

+formatDate

+
+public static String formatDate(Calendar date,
+                                String pattern)
+
+
Format a date using a given pattern +

+

+
Parameters:
date - date to format
pattern - pattern to use for formatting +
Returns:
formatted date, or empty string if date was null +
Throws: +
IllegalArgumentException - when pattern is invalid
+
+
+
+ +

+formatCalendar

+
+public static String formatCalendar(Calendar date,
+                                    String pattern)
+
+
Format a calendar using a given pattern +

+

+
Parameters:
date - calendar to format
pattern - pattern to use for formatting +
Returns:
formatted date, or empty string if date was null +
Throws: +
IllegalArgumentException - when pattern is invalid
+
+
+
+ +

+getString

+
+public static String getString(Object o,
+                               String defaultValue)
+
+
Converts object to a String, return defaultValue if object + is null. +

+

+
Parameters:
o - object to convert
defaultValue - default value to use when conversion failed +
Returns:
converted String or defaultValue when conversion + failed
+
+
+
+ +

+insertLineBreaks

+
+public static String insertLineBreaks(String v,
+                                      String insertion)
+
+
Replace newlines "\n" with insertion +

+

+
Parameters:
v - String in which the newlines should be replaced
insertion - new string which should be used instead of "\n" +
Returns:
new string with newlines replaced by insertion
+
+
+
+ +

+getString

+
+public static String getString(Object o)
+
+
Converts object to a String, defaults to empty string if object is null. +

+

+
Parameters:
o - object to convert +
Returns:
converted String or empty string when conversion failed
+
+
+
+ +

+getFile

+
+public static File getFile(Object o)
+
+
Converts an object to a File +

+

+
Parameters:
o - object to convert (must be a String or a File) +
Returns:
converted file +
Throws: +
IllegalArgumentException - when object can not be converted
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jorphan/util/HeapDumper.html b/docs/api/org/apache/jorphan/util/HeapDumper.html new file mode 100644 index 00000000000..356c07845b9 --- /dev/null +++ b/docs/api/org/apache/jorphan/util/HeapDumper.html @@ -0,0 +1,374 @@ + + + + + +HeapDumper (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jorphan.util +
+Class HeapDumper

+
+java.lang.Object
+  extended by org.apache.jorphan.util.HeapDumper
+
+
+
+
public class HeapDumper
extends Object
+ + +

+Class allowing access to Sun's heapDump method (Java 1.6+). + Uses Reflection so that the code compiles on Java 1.5. + The code will only work on Sun Java 1.6+. +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static StringdumpHeap() + +
+          Dumps live objects from the heap to the outputFile file in the same format as the hprof heap dump.
+static StringdumpHeap(boolean live) + +
+          Dumps objects from the heap to the outputFile file in the same format as the hprof heap dump.
+static StringdumpHeap(File basedir, + boolean live) + +
+          Dumps objects from the heap to the outputFile file in the same format as the hprof heap dump.
+static voiddumpHeap(String fileName) + +
+          Dumps live objects from the heap to the outputFile file in the same format as the hprof heap dump.
+static voiddumpHeap(String fileName, + boolean live) + +
+          Dumps the heap to the outputFile file in the same format as the hprof heap dump.
+static voidinit() + +
+          Initialise the dumper, and report if there is a problem.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+init

+
+public static void init()
+                 throws Exception
+
+
Initialise the dumper, and report if there is a problem. + This is optional, as the dump methods will initialise if necessary. +

+

+ +
Throws: +
Exception - if there is a problem finding the heapDump MXBean
+
+
+
+ +

+dumpHeap

+
+public static void dumpHeap(String fileName,
+                            boolean live)
+                     throws Exception
+
+
Dumps the heap to the outputFile file in the same format as the hprof heap dump. +

+ Calls the dumpHeap() method of the HotSpotDiagnostic MXBean, if available. +

+ See + + HotSpotDiagnosticMXBean + +

+

+
Parameters:
fileName - name of the heap dump file. Must be creatable, i.e. must not exist.
live - if true, dump only the live objects +
Throws: +
Exception - if the MXBean cannot be found, or if there is a problem during invocation
+
+
+
+ +

+dumpHeap

+
+public static void dumpHeap(String fileName)
+                     throws Exception
+
+
Dumps live objects from the heap to the outputFile file in the same format as the hprof heap dump. +

+

+

+
Parameters:
fileName - name of the heap dump file. Must be creatable, i.e. must not exist. +
Throws: +
Exception - if the MXBean cannot be found, or if there is a problem during invocation
See Also:
dumpHeap(String, boolean)
+
+
+
+ +

+dumpHeap

+
+public static String dumpHeap()
+                       throws Exception
+
+
Dumps live objects from the heap to the outputFile file in the same format as the hprof heap dump. +

+ Creates the dump using the file name: dump_yyyyMMdd_hhmmss_SSS.hprof + The dump is created in the current directory. +

+

+

+ +
Returns:
the name of the dump file that was created +
Throws: +
Exception - if the MXBean cannot be found, or if there is a problem during invocation
See Also:
dumpHeap(boolean)
+
+
+
+ +

+dumpHeap

+
+public static String dumpHeap(boolean live)
+                       throws Exception
+
+
Dumps objects from the heap to the outputFile file in the same format as the hprof heap dump. +

+ Creates the dump using the file name: dump_yyyyMMdd_hhmmss_SSS.hprof + The dump is created in the current directory. +

+

+

+
Parameters:
live - true id only live objects are to be dumped. +
Returns:
the name of the dump file that was created +
Throws: +
Exception - if the MXBean cannot be found, or if there is a problem during invocation
See Also:
dumpHeap(String, boolean)
+
+
+
+ +

+dumpHeap

+
+public static String dumpHeap(File basedir,
+                              boolean live)
+                       throws Exception
+
+
Dumps objects from the heap to the outputFile file in the same format as the hprof heap dump. + The dump is created in the specified directory. +

+ Creates the dump using the file name: dump_yyyyMMdd_hhmmss_SSS.hprof +

+

+

+
Parameters:
basedir - File object for the target base directory.
live - true id only live objects are to be dumped. +
Returns:
the name of the dump file that was created +
Throws: +
Exception - if the MXBean cannot be found, or if there is a problem during invocation
See Also:
dumpHeap(String, boolean)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jorphan/util/JMeterError.html b/docs/api/org/apache/jorphan/util/JMeterError.html new file mode 100644 index 00000000000..86c08803f56 --- /dev/null +++ b/docs/api/org/apache/jorphan/util/JMeterError.html @@ -0,0 +1,287 @@ + + + + + +JMeterError (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jorphan.util +
+Class JMeterError

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Error
+          extended by org.apache.jorphan.util.JMeterError
+
+
+
All Implemented Interfaces:
Serializable
+
+
+
+
public class JMeterError
extends Error
+ + +

+The rationale for this class was originally to support chained Errors in JDK 1.3 + However, the class is now used in its own right. +

+ +

+

+
Version:
+
$Revision: 905024 $
+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + + +
+Constructor Summary
JMeterError() + +
+           
JMeterError(String s) + +
+           
JMeterError(String message, + Throwable cause) + +
+           
JMeterError(Throwable cause) + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+JMeterError

+
+public JMeterError()
+
+
+
+ +

+JMeterError

+
+public JMeterError(String s)
+
+
+
+ +

+JMeterError

+
+public JMeterError(Throwable cause)
+
+
+
+ +

+JMeterError

+
+public JMeterError(String message,
+                   Throwable cause)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jorphan/util/JMeterException.html b/docs/api/org/apache/jorphan/util/JMeterException.html new file mode 100644 index 00000000000..69fcce49a32 --- /dev/null +++ b/docs/api/org/apache/jorphan/util/JMeterException.html @@ -0,0 +1,287 @@ + + + + + +JMeterException (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jorphan.util +
+Class JMeterException

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by org.apache.jorphan.util.JMeterException
+
+
+
All Implemented Interfaces:
Serializable
+
+
+
+
public class JMeterException
extends Exception
+ + +

+The rationale for this class was originally to support chained Exceptions in JDK 1.3 + However, the class is now used in its own right. +

+ +

+

+
Version:
+
$Revision: 905024 $
+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + + +
+Constructor Summary
JMeterException() + +
+           
JMeterException(String s) + +
+           
JMeterException(String message, + Throwable cause) + +
+           
JMeterException(Throwable cause) + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+JMeterException

+
+public JMeterException()
+
+
+
+ +

+JMeterException

+
+public JMeterException(String s)
+
+
+
+ +

+JMeterException

+
+public JMeterException(Throwable cause)
+
+
+
+ +

+JMeterException

+
+public JMeterException(String message,
+                       Throwable cause)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jorphan/util/JMeterStopTestException.html b/docs/api/org/apache/jorphan/util/JMeterStopTestException.html new file mode 100644 index 00000000000..abdcb3e2645 --- /dev/null +++ b/docs/api/org/apache/jorphan/util/JMeterStopTestException.html @@ -0,0 +1,258 @@ + + + + + +JMeterStopTestException (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jorphan.util +
+Class JMeterStopTestException

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by java.lang.RuntimeException
+              extended by org.apache.jorphan.util.JMeterStopTestException
+
+
+
All Implemented Interfaces:
Serializable
+
+
+
+
public class JMeterStopTestException
extends RuntimeException
+ + +

+This Exception is for use by functions etc to signal a Stop Test condition + where there is no access to the normal stop method +

+ +

+

+
Version:
+
$Revision: 905024 $
+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
JMeterStopTestException() + +
+           
JMeterStopTestException(String s) + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+JMeterStopTestException

+
+public JMeterStopTestException()
+
+
+
+ +

+JMeterStopTestException

+
+public JMeterStopTestException(String s)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jorphan/util/JMeterStopTestNowException.html b/docs/api/org/apache/jorphan/util/JMeterStopTestNowException.html new file mode 100644 index 00000000000..2d8a790666c --- /dev/null +++ b/docs/api/org/apache/jorphan/util/JMeterStopTestNowException.html @@ -0,0 +1,258 @@ + + + + + +JMeterStopTestNowException (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jorphan.util +
+Class JMeterStopTestNowException

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by java.lang.RuntimeException
+              extended by org.apache.jorphan.util.JMeterStopTestNowException
+
+
+
All Implemented Interfaces:
Serializable
+
+
+
+
public class JMeterStopTestNowException
extends RuntimeException
+ + +

+This Exception is for use by functions etc to signal a Stop Test Now condition + where there is no access to the normal stop method +

+ +

+

+
Version:
+
$Revision: 905024 $
+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
JMeterStopTestNowException() + +
+           
JMeterStopTestNowException(String s) + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+JMeterStopTestNowException

+
+public JMeterStopTestNowException()
+
+
+
+ +

+JMeterStopTestNowException

+
+public JMeterStopTestNowException(String s)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jorphan/util/JMeterStopThreadException.html b/docs/api/org/apache/jorphan/util/JMeterStopThreadException.html new file mode 100644 index 00000000000..92b3b9c617a --- /dev/null +++ b/docs/api/org/apache/jorphan/util/JMeterStopThreadException.html @@ -0,0 +1,288 @@ + + + + + +JMeterStopThreadException (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jorphan.util +
+Class JMeterStopThreadException

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by java.lang.RuntimeException
+              extended by org.apache.jorphan.util.JMeterStopThreadException
+
+
+
All Implemented Interfaces:
Serializable
+
+
+
+
public class JMeterStopThreadException
extends RuntimeException
+ + +

+This Exception is for use by functions etc to signal a Stop Thread condition + where there is no access to the normal stop method +

+ +

+

+
Version:
+
$Revision: 1595401 $
+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + + +
+Constructor Summary
JMeterStopThreadException() + +
+           
JMeterStopThreadException(String s) + +
+           
JMeterStopThreadException(String message, + Throwable cause) + +
+           
JMeterStopThreadException(Throwable cause) + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+JMeterStopThreadException

+
+public JMeterStopThreadException()
+
+
+
+ +

+JMeterStopThreadException

+
+public JMeterStopThreadException(String s)
+
+
+
+ +

+JMeterStopThreadException

+
+public JMeterStopThreadException(String message,
+                                 Throwable cause)
+
+
+
+ +

+JMeterStopThreadException

+
+public JMeterStopThreadException(Throwable cause)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jorphan/util/JOrphanUtils.html b/docs/api/org/apache/jorphan/util/JOrphanUtils.html new file mode 100644 index 00000000000..9cb5736bf84 --- /dev/null +++ b/docs/api/org/apache/jorphan/util/JOrphanUtils.html @@ -0,0 +1,801 @@ + + + + + +JOrphanUtils (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jorphan.util +
+Class JOrphanUtils

+
+java.lang.Object
+  extended by org.apache.jorphan.util.JOrphanUtils
+
+
+
+
public final class JOrphanUtils
extends Object
+ + +

+This class contains frequently-used static utility methods. +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static byte[]baToHexBytes(byte[] ba) + +
+          Convert binary byte array to hex string.
+static StringbaToHexString(byte[] ba) + +
+          Convert binary byte array to hex string.
+static StringbaToHexString(byte[] ba, + char separator) + +
+          Convert binary byte array to hex string.
+static StringbooleanToSTRING(boolean value) + +
+          Convert a boolean to its upper case string representation.
+static voidcloseQuietly(Closeable cl) + +
+          Close a Closeable with no error thrown
+static voidcloseQuietly(ServerSocket sock) + +
+          close a Socket with no error thrown
+static voidcloseQuietly(Socket sock) + +
+          close a Socket with no error thrown
+static voiddisplayThreads(boolean includeDaemons) + +
+          Display currently running threads on system.out + This may be expensive to run.
+static byte[]getByteArraySlice(byte[] array, + int begin, + int end) + +
+          Returns a slice of a byte array.
+static booleanisBlank(String value) + +
+          Check that value is empty (""), null or whitespace only.
+static booleanisXML(byte[] target) + +
+          Detects if some content starts with the standard XML prefix.
+static StringBuilderleftAlign(StringBuilder in, + int len) + +
+          Left aligns some text in a StringBuilder N.B. modifies the input buffer
+static StringnullifyIfEmptyTrimmed(String input) + +
+          Returns null if input is empty, null or contains spaces
+static intread(InputStream is, + byte[] buffer, + int offset, + int length) + +
+          Read as much as possible into buffer.
+static StringreplaceAllChars(String source, + char search, + String replace) + +
+          Version of String.replaceAll() for JDK1.3 + See below for another version which replaces strings rather than chars
+static StringreplaceFirst(String source, + String search, + String replace) + +
+          Simple-minded String.replace() for JDK1.3 Should probably be recoded...
+static StringBuilderrightAlign(StringBuilder in, + int len) + +
+          Right aligns some text in a StringBuilder N.B. modifies the input buffer
+static String[]split(String splittee, + String splitChar) + +
+           
+static String[]split(String splittee, + String splitChar, + boolean truncate) + +
+          This is _almost_ equivalent to the String.split method in JDK 1.4.
+static String[]split(String splittee, + String delims, + String def) + +
+          Takes a String and a tokenizer character string, and returns a new array of + strings of the string split by the tokenizer character(s).
+static booleanstartsWith(byte[] target, + byte[] search, + int offset) + +
+          Check if a byte array starts with the given byte array.
+static Stringsubstitute(String input, + String pattern, + String sub) + +
+          Replace all patterns in a String
+static Stringtrim(String input, + String delims) + +
+          Trim a string by the tokens provided.
+static voidwrite(byte[] data, + OutputStream output) + +
+          Write data to an output stream in chunks with a maximum size of 4K.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+split

+
+public static String[] split(String splittee,
+                             String splitChar,
+                             boolean truncate)
+
+
This is _almost_ equivalent to the String.split method in JDK 1.4. It is + here to enable us to support earlier JDKs. + + Note that unlike JDK1.4 split(), it optionally ignores leading split Characters, + and the splitChar parameter is not a Regular expression + +

+ This piece of code used to be part of JMeterUtils, but was moved here + because some JOrphan classes use it too. +

+

+
Parameters:
splittee - String to be split
splitChar - Character(s) to split the string on, these are treated as a single unit
truncate - Should adjacent and leading/trailing splitChars be removed? +
Returns:
Array of all the tokens; empty if the input string is null or the splitChar is null
See Also:
split(String, String, String)
+
+
+
+ +

+split

+
+public static String[] split(String splittee,
+                             String splitChar)
+
+
+
+
+
+
+ +

+split

+
+public static String[] split(String splittee,
+                             String delims,
+                             String def)
+
+
Takes a String and a tokenizer character string, and returns a new array of + strings of the string split by the tokenizer character(s). + + Trailing delimiters are significant (unless the default = null) +

+

+
Parameters:
splittee - String to be split.
delims - Delimiter character(s) to split the string on
def - Default value to place between two split chars that have + nothing between them. If null, then ignore omitted elements. +
Returns:
Array of all the tokens. +
Throws: +
NullPointerException - if splittee or delims are null
See Also:
split(String, String, boolean), +This is a rewritten version of JMeterUtils.split()
+
+
+
+ +

+rightAlign

+
+public static StringBuilder rightAlign(StringBuilder in,
+                                       int len)
+
+
Right aligns some text in a StringBuilder N.B. modifies the input buffer +

+

+
Parameters:
in - StringBuilder containing some text
len - output length desired +
Returns:
input StringBuilder, with leading spaces
+
+
+
+ +

+leftAlign

+
+public static StringBuilder leftAlign(StringBuilder in,
+                                      int len)
+
+
Left aligns some text in a StringBuilder N.B. modifies the input buffer +

+

+
Parameters:
in - StringBuilder containing some text
len - output length desired +
Returns:
input StringBuilder, with trailing spaces
+
+
+
+ +

+booleanToSTRING

+
+public static String booleanToSTRING(boolean value)
+
+
Convert a boolean to its upper case string representation. + Equivalent to Boolean.valueOf(boolean).toString().toUpperCase(). +

+

+
Parameters:
value - boolean to convert +
Returns:
"TRUE" or "FALSE"
+
+
+
+ +

+replaceFirst

+
+public static String replaceFirst(String source,
+                                  String search,
+                                  String replace)
+
+
Simple-minded String.replace() for JDK1.3 Should probably be recoded... +

+

+
Parameters:
source - input string
search - string to look for (no regular expressions)
replace - string to replace the search string +
Returns:
the output string
+
+
+
+ +

+replaceAllChars

+
+public static String replaceAllChars(String source,
+                                     char search,
+                                     String replace)
+
+
Version of String.replaceAll() for JDK1.3 + See below for another version which replaces strings rather than chars +

+

+
Parameters:
source - input string
search - char to look for (no regular expressions)
replace - string to replace the search string +
Returns:
the output string
+
+
+
+ +

+substitute

+
+public static String substitute(String input,
+                                String pattern,
+                                String sub)
+
+
Replace all patterns in a String +

+

+
Parameters:
input - - string to be transformed
pattern - - pattern to replace
sub - - replacement +
Returns:
the updated string
See Also:
- JDK1.4 only
+
+
+
+ +

+trim

+
+public static String trim(String input,
+                          String delims)
+
+
Trim a string by the tokens provided. +

+

+
Parameters:
input - string to trim
delims - list of delimiters +
Returns:
input trimmed at the first delimiter
+
+
+
+ +

+getByteArraySlice

+
+public static byte[] getByteArraySlice(byte[] array,
+                                       int begin,
+                                       int end)
+
+
Returns a slice of a byte array. + + TODO - add bounds checking? +

+

+
Parameters:
array - - + input array
begin - - + start of slice
end - - + end of slice +
Returns:
slice from the input array
+
+
+
+ +

+closeQuietly

+
+public static void closeQuietly(Closeable cl)
+
+
Close a Closeable with no error thrown +

+

+
Parameters:
cl - - Closeable (may be null)
+
+
+
+ +

+closeQuietly

+
+public static void closeQuietly(Socket sock)
+
+
close a Socket with no error thrown +

+

+
Parameters:
sock - - Socket (may be null)
+
+
+
+ +

+closeQuietly

+
+public static void closeQuietly(ServerSocket sock)
+
+
close a Socket with no error thrown +

+

+
Parameters:
sock - - ServerSocket (may be null)
+
+
+
+ +

+startsWith

+
+public static boolean startsWith(byte[] target,
+                                 byte[] search,
+                                 int offset)
+
+
Check if a byte array starts with the given byte array. +

+

+
Parameters:
target - array to scan
search - array to search for
offset - starting offset (>=0) +
Returns:
true if the search array matches the target at the current offset
See Also:
String.startsWith(String, int)
+
+
+
+ +

+isXML

+
+public static boolean isXML(byte[] target)
+
+
Detects if some content starts with the standard XML prefix. +

+

+
Parameters:
target - the content to check +
Returns:
true if the document starts with the standard XML prefix.
+
+
+
+ +

+baToHexString

+
+public static String baToHexString(byte[] ba)
+
+
Convert binary byte array to hex string. +

+

+
Parameters:
ba - input binary byte array +
Returns:
hex representation of binary input
+
+
+
+ +

+baToHexString

+
+public static String baToHexString(byte[] ba,
+                                   char separator)
+
+
Convert binary byte array to hex string. +

+

+
Parameters:
ba - input binary byte array
separator - the separator to be added between pairs of hex digits +
Returns:
hex representation of binary input
+
+
+
+ +

+baToHexBytes

+
+public static byte[] baToHexBytes(byte[] ba)
+
+
Convert binary byte array to hex string. +

+

+
Parameters:
ba - input binary byte array +
Returns:
hex representation of binary input
+
+
+
+ +

+read

+
+public static int read(InputStream is,
+                       byte[] buffer,
+                       int offset,
+                       int length)
+                throws IOException
+
+
Read as much as possible into buffer. +

+

+
Parameters:
is - the stream to read from
buffer - output buffer
offset - offset into buffer
length - number of bytes to read +
Returns:
the number of bytes actually read +
Throws: +
IOException - if some I/O errors occur
+
+
+
+ +

+displayThreads

+
+public static void displayThreads(boolean includeDaemons)
+
+
Display currently running threads on system.out + This may be expensive to run. + Mainly designed for use at the end of a non-GUI test to check for threads that might prevent the JVM from exitting. +

+

+
Parameters:
includeDaemons - whether to include daemon threads or not.
+
+
+
+ +

+nullifyIfEmptyTrimmed

+
+public static String nullifyIfEmptyTrimmed(String input)
+
+
Returns null if input is empty, null or contains spaces +

+

+
Parameters:
input - String +
Returns:
String
+
+
+
+ +

+isBlank

+
+public static boolean isBlank(String value)
+
+
Check that value is empty (""), null or whitespace only. +

+

+
Parameters:
value - Value +
Returns:
true if the String is not empty (""), not null and not whitespace only.
+
+
+
+ +

+write

+
+public static void write(byte[] data,
+                         OutputStream output)
+                  throws IOException
+
+
Write data to an output stream in chunks with a maximum size of 4K. + This is to avoid OutOfMemory issues if the data buffer is very large + and the JVM needs to copy the buffer for use by native code. +

+

+
Parameters:
data - the buffer to be written
output - the output stream to use +
Throws: +
IOException - if there is a problem writing the data
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jorphan/util/XMLBuffer.html b/docs/api/org/apache/jorphan/util/XMLBuffer.html new file mode 100644 index 00000000000..28afe62da36 --- /dev/null +++ b/docs/api/org/apache/jorphan/util/XMLBuffer.html @@ -0,0 +1,352 @@ + + + + + +XMLBuffer (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+ +

+ +org.apache.jorphan.util +
+Class XMLBuffer

+
+java.lang.Object
+  extended by org.apache.jorphan.util.XMLBuffer
+
+
+
+
public class XMLBuffer
extends Object
+ + +

+Provides XML string building methods. + Not synchronised. +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
XMLBuffer() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ XMLBuffercloseTag(String tagname) + +
+          Close top tag from stack.
+ XMLBufferopenTag(String tagname) + +
+          Open a tag; save on stack.
+ XMLBuffertag(String tagname, + String content) + +
+          Add a complete tag with content.
+ XMLBuffertag(String tagname, + StringBuilder content) + +
+          Add a complete tag with content.
+ StringtoString() + +
+          Convert the buffer to a string, closing any open tags
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+XMLBuffer

+
+public XMLBuffer()
+
+
+ + + + + + + + +
+Method Detail
+ +

+openTag

+
+public XMLBuffer openTag(String tagname)
+
+
Open a tag; save on stack. +

+

+
Parameters:
tagname - name of the tag +
Returns:
this
+
+
+
+ +

+closeTag

+
+public XMLBuffer closeTag(String tagname)
+
+
Close top tag from stack. +

+

+
Parameters:
tagname - name of the tag to close +
Returns:
this +
Throws: +
IllegalArgumentException - if the tag names do not match
+
+
+
+ +

+tag

+
+public XMLBuffer tag(String tagname,
+                     String content)
+
+
Add a complete tag with content. +

+

+
Parameters:
tagname - name of the tag
content - content to put in tag, or empty content, if an empty tag should be used +
Returns:
this
+
+
+
+ +

+tag

+
+public XMLBuffer tag(String tagname,
+                     StringBuilder content)
+
+
Add a complete tag with content. +

+

+
Parameters:
tagname - name of the tag
content - content to put in tag, or empty content, if an empty tag should be used +
Returns:
this
+
+
+
+ +

+toString

+
+public String toString()
+
+
Convert the buffer to a string, closing any open tags +

+

+
Overrides:
toString in class Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jorphan/util/package-frame.html b/docs/api/org/apache/jorphan/util/package-frame.html new file mode 100644 index 00000000000..b7b79e1f06a --- /dev/null +++ b/docs/api/org/apache/jorphan/util/package-frame.html @@ -0,0 +1,64 @@ + + + + + +org.apache.jorphan.util (Apache JMeter API) + + + + + + + + + + +org.apache.jorphan.util + + + + +
+Classes  + +
+Converter +
+HeapDumper +
+JOrphanUtils +
+XMLBuffer
+ + + + + + +
+Exceptions  + +
+JMeterException +
+JMeterStopTestException +
+JMeterStopTestNowException +
+JMeterStopThreadException
+ + + + + + +
+Errors  + +
+JMeterError
+ + + + diff --git a/docs/api/org/apache/jorphan/util/package-summary.html b/docs/api/org/apache/jorphan/util/package-summary.html new file mode 100644 index 00000000000..e69a6c1e2af --- /dev/null +++ b/docs/api/org/apache/jorphan/util/package-summary.html @@ -0,0 +1,210 @@ + + + + + +org.apache.jorphan.util (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+

+Package org.apache.jorphan.util +

+ + + + + + + + + + + + + + + + + + + + + +
+Class Summary
ConverterConverter utilities for TestBeans
HeapDumperClass allowing access to Sun's heapDump method (Java 1.6+).
JOrphanUtilsThis class contains frequently-used static utility methods.
XMLBufferProvides XML string building methods.
+  + +

+ + + + + + + + + + + + + + + + + + + + + +
+Exception Summary
JMeterExceptionThe rationale for this class was originally to support chained Exceptions in JDK 1.3 + However, the class is now used in its own right.
JMeterStopTestExceptionThis Exception is for use by functions etc to signal a Stop Test condition + where there is no access to the normal stop method
JMeterStopTestNowExceptionThis Exception is for use by functions etc to signal a Stop Test Now condition + where there is no access to the normal stop method
JMeterStopThreadExceptionThis Exception is for use by functions etc to signal a Stop Thread condition + where there is no access to the normal stop method
+  + +

+ + + + + + + + + +
+Error Summary
JMeterErrorThe rationale for this class was originally to support chained Errors in JDK 1.3 + However, the class is now used in its own right.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/org/apache/jorphan/util/package-tree.html b/docs/api/org/apache/jorphan/util/package-tree.html new file mode 100644 index 00000000000..19b887b7491 --- /dev/null +++ b/docs/api/org/apache/jorphan/util/package-tree.html @@ -0,0 +1,158 @@ + + + + + +org.apache.jorphan.util Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For Package org.apache.jorphan.util +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/overview-frame.html b/docs/api/overview-frame.html new file mode 100644 index 00000000000..9cee2dbd38f --- /dev/null +++ b/docs/api/overview-frame.html @@ -0,0 +1,272 @@ + + + + + +Overview List (Apache JMeter API) + + + + + + + + + + + + + + +
+Apache JMeter
+ + + + + +
All Classes +

+ +Packages +
+org.apache.jmeter +
+org.apache.jmeter.assertions +
+org.apache.jmeter.assertions.gui +
+org.apache.jmeter.config +
+org.apache.jmeter.config.gui +
+org.apache.jmeter.control +
+org.apache.jmeter.control.gui +
+org.apache.jmeter.engine +
+org.apache.jmeter.engine.event +
+org.apache.jmeter.engine.util +
+org.apache.jmeter.examples.sampler +
+org.apache.jmeter.examples.sampler.gui +
+org.apache.jmeter.examples.testbeans.example1 +
+org.apache.jmeter.examples.testbeans.example2 +
+org.apache.jmeter.examples.testbeans.example3 +
+org.apache.jmeter.exceptions +
+org.apache.jmeter.extractor +
+org.apache.jmeter.extractor.gui +
+org.apache.jmeter.functions +
+org.apache.jmeter.functions.gui +
+org.apache.jmeter.functions.util +
+org.apache.jmeter.gui +
+org.apache.jmeter.gui.action +
+org.apache.jmeter.gui.action.template +
+org.apache.jmeter.gui.plugin +
+org.apache.jmeter.gui.tree +
+org.apache.jmeter.gui.util +
+org.apache.jmeter.modifiers +
+org.apache.jmeter.modifiers.gui +
+org.apache.jmeter.monitor.model +
+org.apache.jmeter.monitor.parser +
+org.apache.jmeter.monitor.util +
+org.apache.jmeter.plugin +
+org.apache.jmeter.processor +
+org.apache.jmeter.processor.gui +
+org.apache.jmeter.protocol.ftp.config.gui +
+org.apache.jmeter.protocol.ftp.control.gui +
+org.apache.jmeter.protocol.ftp.sampler +
+org.apache.jmeter.protocol.http.config +
+org.apache.jmeter.protocol.http.config.gui +
+org.apache.jmeter.protocol.http.control +
+org.apache.jmeter.protocol.http.control.gui +
+org.apache.jmeter.protocol.http.gui +
+org.apache.jmeter.protocol.http.modifier +
+org.apache.jmeter.protocol.http.modifier.gui +
+org.apache.jmeter.protocol.http.parser +
+org.apache.jmeter.protocol.http.proxy +
+org.apache.jmeter.protocol.http.proxy.gui +
+org.apache.jmeter.protocol.http.sampler +
+org.apache.jmeter.protocol.http.util +
+org.apache.jmeter.protocol.http.util.accesslog +
+org.apache.jmeter.protocol.http.visualizers +
+org.apache.jmeter.protocol.java.config +
+org.apache.jmeter.protocol.java.config.gui +
+org.apache.jmeter.protocol.java.control.gui +
+org.apache.jmeter.protocol.java.sampler +
+org.apache.jmeter.protocol.java.test +
+org.apache.jmeter.protocol.jdbc +
+org.apache.jmeter.protocol.jdbc.config +
+org.apache.jmeter.protocol.jdbc.processor +
+org.apache.jmeter.protocol.jdbc.sampler +
+org.apache.jmeter.protocol.jms +
+org.apache.jmeter.protocol.jms.client +
+org.apache.jmeter.protocol.jms.control.gui +
+org.apache.jmeter.protocol.jms.sampler +
+org.apache.jmeter.protocol.ldap.config.gui +
+org.apache.jmeter.protocol.ldap.control.gui +
+org.apache.jmeter.protocol.ldap.sampler +
+org.apache.jmeter.protocol.mail.sampler +
+org.apache.jmeter.protocol.mail.sampler.gui +
+org.apache.jmeter.protocol.mongodb.config +
+org.apache.jmeter.protocol.mongodb.mongo +
+org.apache.jmeter.protocol.mongodb.sampler +
+org.apache.jmeter.protocol.smtp.sampler +
+org.apache.jmeter.protocol.smtp.sampler.gui +
+org.apache.jmeter.protocol.smtp.sampler.protocol +
+org.apache.jmeter.protocol.smtp.sampler.tools +
+org.apache.jmeter.protocol.system +
+org.apache.jmeter.protocol.system.gui +
+org.apache.jmeter.protocol.tcp.config.gui +
+org.apache.jmeter.protocol.tcp.control.gui +
+org.apache.jmeter.protocol.tcp.sampler +
+org.apache.jmeter.reporters +
+org.apache.jmeter.reporters.gui +
+org.apache.jmeter.sampler +
+org.apache.jmeter.sampler.gui +
+org.apache.jmeter.samplers +
+org.apache.jmeter.samplers.gui +
+org.apache.jmeter.save +
+org.apache.jmeter.save.converters +
+org.apache.jmeter.services +
+org.apache.jmeter.swing +
+org.apache.jmeter.testbeans +
+org.apache.jmeter.testbeans.gui +
+org.apache.jmeter.testelement +
+org.apache.jmeter.testelement.property +
+org.apache.jmeter.threads +
+org.apache.jmeter.threads.gui +
+org.apache.jmeter.timers +
+org.apache.jmeter.timers.gui +
+org.apache.jmeter.util +
+org.apache.jmeter.util.keystore +
+org.apache.jmeter.visualizers +
+org.apache.jmeter.visualizers.backend +
+org.apache.jmeter.visualizers.backend.graphite +
+org.apache.jmeter.visualizers.gui +
+org.apache.jmeter.visualizers.utils +
+org.apache.jorphan.collections +
+org.apache.jorphan.exec +
+org.apache.jorphan.gui +
+org.apache.jorphan.gui.layout +
+org.apache.jorphan.io +
+org.apache.jorphan.logging +
+org.apache.jorphan.math +
+org.apache.jorphan.reflect +
+org.apache.jorphan.test +
+org.apache.jorphan.util +
+

+ +

+  + + diff --git a/docs/api/overview-summary.html b/docs/api/overview-summary.html new file mode 100644 index 00000000000..6db4caf5e74 --- /dev/null +++ b/docs/api/overview-summary.html @@ -0,0 +1,644 @@ + + + + + +Overview (Apache JMeter API) + + + + + + + + + + + +


+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Apache JMeter API +

+
+This is the documentation for Apache JMeter version 2.13 API. +

+See: +
+          Description +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Packages
org.apache.jmeter 
org.apache.jmeter.assertionsAssertions + Methods to be implemented + getResult(SampleResult) + Calling sequence + When the test plan is prepared for running, one instance of the class is created for each occurrence + of an assertion in each thread.
org.apache.jmeter.assertions.gui 
org.apache.jmeter.config 
org.apache.jmeter.config.gui 
org.apache.jmeter.control 
org.apache.jmeter.control.gui 
org.apache.jmeter.engineThis package contains the interfaces and classes that are used to run JMeter tests.
org.apache.jmeter.engine.event 
org.apache.jmeter.engine.util 
org.apache.jmeter.examples.sampler 
org.apache.jmeter.examples.sampler.gui 
org.apache.jmeter.examples.testbeans.example1 
org.apache.jmeter.examples.testbeans.example2 
org.apache.jmeter.examples.testbeans.example3 
org.apache.jmeter.exceptions 
org.apache.jmeter.extractor 
org.apache.jmeter.extractor.gui 
org.apache.jmeter.functionsFunctions + Methods to be implemented + setParameters(Collection) + +

+ execute(prevResult,currentSampler) + Note that either or both of the parameters may be null.
org.apache.jmeter.functions.gui 
org.apache.jmeter.functions.util 
org.apache.jmeter.gui 
org.apache.jmeter.gui.action 
org.apache.jmeter.gui.action.template 
org.apache.jmeter.gui.plugin 
org.apache.jmeter.gui.tree 
org.apache.jmeter.gui.util 
org.apache.jmeter.modifiers 
org.apache.jmeter.modifiers.gui 
org.apache.jmeter.monitor.model 
org.apache.jmeter.monitor.parser 
org.apache.jmeter.monitor.util 
org.apache.jmeter.plugin 
org.apache.jmeter.processor 
org.apache.jmeter.processor.gui 
org.apache.jmeter.protocol.ftp.config.gui 
org.apache.jmeter.protocol.ftp.control.gui 
org.apache.jmeter.protocol.ftp.sampler 
org.apache.jmeter.protocol.http.config 
org.apache.jmeter.protocol.http.config.gui 
org.apache.jmeter.protocol.http.control 
org.apache.jmeter.protocol.http.control.gui 
org.apache.jmeter.protocol.http.gui 
org.apache.jmeter.protocol.http.modifier 
org.apache.jmeter.protocol.http.modifier.gui 
org.apache.jmeter.protocol.http.parser 
org.apache.jmeter.protocol.http.proxy 
org.apache.jmeter.protocol.http.proxy.gui 
org.apache.jmeter.protocol.http.sampler 
org.apache.jmeter.protocol.http.util 
org.apache.jmeter.protocol.http.util.accesslog 
org.apache.jmeter.protocol.http.visualizers 
org.apache.jmeter.protocol.java.config 
org.apache.jmeter.protocol.java.config.gui 
org.apache.jmeter.protocol.java.control.gui 
org.apache.jmeter.protocol.java.sampler 
org.apache.jmeter.protocol.java.test 
org.apache.jmeter.protocol.jdbc 
org.apache.jmeter.protocol.jdbc.config 
org.apache.jmeter.protocol.jdbc.processor 
org.apache.jmeter.protocol.jdbc.sampler 
org.apache.jmeter.protocol.jms 
org.apache.jmeter.protocol.jms.client 
org.apache.jmeter.protocol.jms.control.gui 
org.apache.jmeter.protocol.jms.sampler 
org.apache.jmeter.protocol.ldap.config.gui 
org.apache.jmeter.protocol.ldap.control.gui 
org.apache.jmeter.protocol.ldap.sampler 
org.apache.jmeter.protocol.mail.sampler 
org.apache.jmeter.protocol.mail.sampler.gui 
org.apache.jmeter.protocol.mongodb.config 
org.apache.jmeter.protocol.mongodb.mongo 
org.apache.jmeter.protocol.mongodb.sampler 
org.apache.jmeter.protocol.smtp.sampler 
org.apache.jmeter.protocol.smtp.sampler.gui 
org.apache.jmeter.protocol.smtp.sampler.protocol 
org.apache.jmeter.protocol.smtp.sampler.tools 
org.apache.jmeter.protocol.system 
org.apache.jmeter.protocol.system.gui 
org.apache.jmeter.protocol.tcp.config.gui 
org.apache.jmeter.protocol.tcp.control.gui 
org.apache.jmeter.protocol.tcp.sampler 
org.apache.jmeter.reporters 
org.apache.jmeter.reporters.gui 
org.apache.jmeter.sampler 
org.apache.jmeter.sampler.gui 
org.apache.jmeter.samplers 
org.apache.jmeter.samplers.gui 
org.apache.jmeter.save 
org.apache.jmeter.save.converters 
org.apache.jmeter.services 
org.apache.jmeter.swing 
org.apache.jmeter.testbeans 
org.apache.jmeter.testbeans.gui 
org.apache.jmeter.testelement 
org.apache.jmeter.testelement.property 
org.apache.jmeter.threads 
org.apache.jmeter.threads.gui 
org.apache.jmeter.timers 
org.apache.jmeter.timers.gui 
org.apache.jmeter.util 
org.apache.jmeter.util.keystore 
org.apache.jmeter.visualizersThis package contains the interfaces that have to be implemented by +any class wishing to display or present data collected in SampleResults.
org.apache.jmeter.visualizers.backend 
org.apache.jmeter.visualizers.backend.graphite 
org.apache.jmeter.visualizers.gui 
org.apache.jmeter.visualizers.utils 
org.apache.jorphan.collections 
org.apache.jorphan.exec 
org.apache.jorphan.gui 
org.apache.jorphan.gui.layout 
org.apache.jorphan.io 
org.apache.jorphan.logging 
org.apache.jorphan.math 
org.apache.jorphan.reflect 
org.apache.jorphan.test 
org.apache.jorphan.util 
+ +

+

+This is the documentation for Apache JMeter version 2.13 API. +

+ +

+

+
Version:
+
2.13
+
+
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/overview-tree.html b/docs/api/overview-tree.html new file mode 100644 index 00000000000..d2ed8f996fa --- /dev/null +++ b/docs/api/overview-tree.html @@ -0,0 +1,963 @@ + + + + + +Class Hierarchy (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Hierarchy For All Packages

+
+
+
Package Hierarchies:
org.apache.jmeter, org.apache.jmeter.assertions, org.apache.jmeter.assertions.gui, org.apache.jmeter.config, org.apache.jmeter.config.gui, org.apache.jmeter.control, org.apache.jmeter.control.gui, org.apache.jmeter.engine, org.apache.jmeter.engine.event, org.apache.jmeter.engine.util, org.apache.jmeter.examples.sampler, org.apache.jmeter.examples.sampler.gui, org.apache.jmeter.examples.testbeans.example1, org.apache.jmeter.examples.testbeans.example2, org.apache.jmeter.examples.testbeans.example3, org.apache.jmeter.exceptions, org.apache.jmeter.extractor, org.apache.jmeter.extractor.gui, org.apache.jmeter.functions, org.apache.jmeter.functions.gui, org.apache.jmeter.functions.util, org.apache.jmeter.gui, org.apache.jmeter.gui.action, org.apache.jmeter.gui.action.template, org.apache.jmeter.gui.plugin, org.apache.jmeter.gui.tree, org.apache.jmeter.gui.util, org.apache.jmeter.modifiers, org.apache.jmeter.modifiers.gui, org.apache.jmeter.monitor.model, org.apache.jmeter.monitor.parser, org.apache.jmeter.monitor.util, org.apache.jmeter.plugin, org.apache.jmeter.processor, org.apache.jmeter.processor.gui, org.apache.jmeter.protocol.ftp.config.gui, org.apache.jmeter.protocol.ftp.control.gui, org.apache.jmeter.protocol.ftp.sampler, org.apache.jmeter.protocol.http.config, org.apache.jmeter.protocol.http.config.gui, org.apache.jmeter.protocol.http.control, org.apache.jmeter.protocol.http.control.gui, org.apache.jmeter.protocol.http.gui, org.apache.jmeter.protocol.http.modifier, org.apache.jmeter.protocol.http.modifier.gui, org.apache.jmeter.protocol.http.parser, org.apache.jmeter.protocol.http.proxy, org.apache.jmeter.protocol.http.proxy.gui, org.apache.jmeter.protocol.http.sampler, org.apache.jmeter.protocol.http.util, org.apache.jmeter.protocol.http.util.accesslog, org.apache.jmeter.protocol.http.visualizers, org.apache.jmeter.protocol.java.config, org.apache.jmeter.protocol.java.config.gui, org.apache.jmeter.protocol.java.control.gui, org.apache.jmeter.protocol.java.sampler, org.apache.jmeter.protocol.java.test, org.apache.jmeter.protocol.jdbc, org.apache.jmeter.protocol.jdbc.config, org.apache.jmeter.protocol.jdbc.processor, org.apache.jmeter.protocol.jdbc.sampler, org.apache.jmeter.protocol.jms, org.apache.jmeter.protocol.jms.client, org.apache.jmeter.protocol.jms.control.gui, org.apache.jmeter.protocol.jms.sampler, org.apache.jmeter.protocol.ldap.config.gui, org.apache.jmeter.protocol.ldap.control.gui, org.apache.jmeter.protocol.ldap.sampler, org.apache.jmeter.protocol.mail.sampler, org.apache.jmeter.protocol.mail.sampler.gui, org.apache.jmeter.protocol.mongodb.config, org.apache.jmeter.protocol.mongodb.mongo, org.apache.jmeter.protocol.mongodb.sampler, org.apache.jmeter.protocol.smtp.sampler, org.apache.jmeter.protocol.smtp.sampler.gui, org.apache.jmeter.protocol.smtp.sampler.protocol, org.apache.jmeter.protocol.smtp.sampler.tools, org.apache.jmeter.protocol.system, org.apache.jmeter.protocol.system.gui, org.apache.jmeter.protocol.tcp.config.gui, org.apache.jmeter.protocol.tcp.control.gui, org.apache.jmeter.protocol.tcp.sampler, org.apache.jmeter.reporters, org.apache.jmeter.reporters.gui, org.apache.jmeter.sampler, org.apache.jmeter.sampler.gui, org.apache.jmeter.samplers, org.apache.jmeter.samplers.gui, org.apache.jmeter.save, org.apache.jmeter.save.converters, org.apache.jmeter.services, org.apache.jmeter.swing, org.apache.jmeter.testbeans, org.apache.jmeter.testbeans.gui, org.apache.jmeter.testelement, org.apache.jmeter.testelement.property, org.apache.jmeter.threads, org.apache.jmeter.threads.gui, org.apache.jmeter.timers, org.apache.jmeter.timers.gui, org.apache.jmeter.util, org.apache.jmeter.util.keystore, org.apache.jmeter.visualizers, org.apache.jmeter.visualizers.backend, org.apache.jmeter.visualizers.backend.graphite, org.apache.jmeter.visualizers.gui, org.apache.jmeter.visualizers.utils, org.apache.jorphan.collections, org.apache.jorphan.exec, org.apache.jorphan.gui, org.apache.jorphan.gui.layout, org.apache.jorphan.io, org.apache.jorphan.logging, org.apache.jorphan.math, org.apache.jorphan.reflect, org.apache.jorphan.test, org.apache.jorphan.util
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +

+Enum Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/package-list b/docs/api/package-list new file mode 100644 index 00000000000..62d59ca8623 --- /dev/null +++ b/docs/api/package-list @@ -0,0 +1,117 @@ +org.apache.jmeter +org.apache.jmeter.assertions +org.apache.jmeter.assertions.gui +org.apache.jmeter.config +org.apache.jmeter.config.gui +org.apache.jmeter.control +org.apache.jmeter.control.gui +org.apache.jmeter.engine +org.apache.jmeter.engine.event +org.apache.jmeter.engine.util +org.apache.jmeter.examples.sampler +org.apache.jmeter.examples.sampler.gui +org.apache.jmeter.examples.testbeans.example1 +org.apache.jmeter.examples.testbeans.example2 +org.apache.jmeter.examples.testbeans.example3 +org.apache.jmeter.exceptions +org.apache.jmeter.extractor +org.apache.jmeter.extractor.gui +org.apache.jmeter.functions +org.apache.jmeter.functions.gui +org.apache.jmeter.functions.util +org.apache.jmeter.gui +org.apache.jmeter.gui.action +org.apache.jmeter.gui.action.template +org.apache.jmeter.gui.plugin +org.apache.jmeter.gui.tree +org.apache.jmeter.gui.util +org.apache.jmeter.modifiers +org.apache.jmeter.modifiers.gui +org.apache.jmeter.monitor.model +org.apache.jmeter.monitor.parser +org.apache.jmeter.monitor.util +org.apache.jmeter.plugin +org.apache.jmeter.processor +org.apache.jmeter.processor.gui +org.apache.jmeter.protocol.ftp.config.gui +org.apache.jmeter.protocol.ftp.control.gui +org.apache.jmeter.protocol.ftp.sampler +org.apache.jmeter.protocol.http.config +org.apache.jmeter.protocol.http.config.gui +org.apache.jmeter.protocol.http.control +org.apache.jmeter.protocol.http.control.gui +org.apache.jmeter.protocol.http.gui +org.apache.jmeter.protocol.http.modifier +org.apache.jmeter.protocol.http.modifier.gui +org.apache.jmeter.protocol.http.parser +org.apache.jmeter.protocol.http.proxy +org.apache.jmeter.protocol.http.proxy.gui +org.apache.jmeter.protocol.http.sampler +org.apache.jmeter.protocol.http.util +org.apache.jmeter.protocol.http.util.accesslog +org.apache.jmeter.protocol.http.visualizers +org.apache.jmeter.protocol.java.config +org.apache.jmeter.protocol.java.config.gui +org.apache.jmeter.protocol.java.control.gui +org.apache.jmeter.protocol.java.sampler +org.apache.jmeter.protocol.java.test +org.apache.jmeter.protocol.jdbc +org.apache.jmeter.protocol.jdbc.config +org.apache.jmeter.protocol.jdbc.processor +org.apache.jmeter.protocol.jdbc.sampler +org.apache.jmeter.protocol.jms +org.apache.jmeter.protocol.jms.client +org.apache.jmeter.protocol.jms.control.gui +org.apache.jmeter.protocol.jms.sampler +org.apache.jmeter.protocol.ldap.config.gui +org.apache.jmeter.protocol.ldap.control.gui +org.apache.jmeter.protocol.ldap.sampler +org.apache.jmeter.protocol.mail.sampler +org.apache.jmeter.protocol.mail.sampler.gui +org.apache.jmeter.protocol.mongodb.config +org.apache.jmeter.protocol.mongodb.mongo +org.apache.jmeter.protocol.mongodb.sampler +org.apache.jmeter.protocol.smtp.sampler +org.apache.jmeter.protocol.smtp.sampler.gui +org.apache.jmeter.protocol.smtp.sampler.protocol +org.apache.jmeter.protocol.smtp.sampler.tools +org.apache.jmeter.protocol.system +org.apache.jmeter.protocol.system.gui +org.apache.jmeter.protocol.tcp.config.gui +org.apache.jmeter.protocol.tcp.control.gui +org.apache.jmeter.protocol.tcp.sampler +org.apache.jmeter.reporters +org.apache.jmeter.reporters.gui +org.apache.jmeter.sampler +org.apache.jmeter.sampler.gui +org.apache.jmeter.samplers +org.apache.jmeter.samplers.gui +org.apache.jmeter.save +org.apache.jmeter.save.converters +org.apache.jmeter.services +org.apache.jmeter.swing +org.apache.jmeter.testbeans +org.apache.jmeter.testbeans.gui +org.apache.jmeter.testelement +org.apache.jmeter.testelement.property +org.apache.jmeter.threads +org.apache.jmeter.threads.gui +org.apache.jmeter.timers +org.apache.jmeter.timers.gui +org.apache.jmeter.util +org.apache.jmeter.util.keystore +org.apache.jmeter.visualizers +org.apache.jmeter.visualizers.backend +org.apache.jmeter.visualizers.backend.graphite +org.apache.jmeter.visualizers.gui +org.apache.jmeter.visualizers.utils +org.apache.jorphan.collections +org.apache.jorphan.exec +org.apache.jorphan.gui +org.apache.jorphan.gui.layout +org.apache.jorphan.io +org.apache.jorphan.logging +org.apache.jorphan.math +org.apache.jorphan.reflect +org.apache.jorphan.test +org.apache.jorphan.util diff --git a/docs/api/resources/inherit.gif b/docs/api/resources/inherit.gif new file mode 100644 index 0000000000000000000000000000000000000000..c814867a13deb0ca7ea2156c6ca1d5a03372af7e GIT binary patch literal 57 zcmZ?wbhEHbIIT!9-C*e{wE9>Kx3D)-;0v)C; KYxQGgum%9JOA&7X literal 0 HcmV?d00001 diff --git a/docs/api/serialized-form.html b/docs/api/serialized-form.html new file mode 100644 index 00000000000..7e91f0665dc --- /dev/null +++ b/docs/api/serialized-form.html @@ -0,0 +1,22792 @@ + + + + + +Serialized Form (Apache JMeter API) + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+
+

+Serialized Form

+
+
+ + + + + +
+Package org.apache.jmeter.assertions
+ +

+ + + + + +
+Class org.apache.jmeter.assertions.AssertionResult extends Object implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+name

+
+String name
+
+
Name of the assertion. +

+

+
+
+
+

+failure

+
+boolean failure
+
+
True if the assertion failed. +

+

+
+
+
+

+error

+
+boolean error
+
+
True if there was an error checking the assertion. +

+

+
+
+
+

+failureMessage

+
+String failureMessage
+
+
A message describing the failure. +

+

+
+
+ +

+ + + + + +
+Class org.apache.jmeter.assertions.BeanShellAssertion extends BeanShellTestElement implements Serializable
+ +

+serialVersionUID: 3L + +

+ +

+ + + + + +
+Class org.apache.jmeter.assertions.BSFAssertion extends BSFTestElement implements Serializable
+ +

+serialVersionUID: 234L + +

+ +

+ + + + + +
+Class org.apache.jmeter.assertions.CompareAssertion extends AbstractTestElement implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+compareContent

+
+boolean compareContent
+
+
+
+
+
+

+compareTime

+
+long compareTime
+
+
+
+
+
+

+stringsToSkip

+
+Collection<E> stringsToSkip
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.assertions.CompareAssertionResult extends AssertionResult implements Serializable
+ +

+serialVersionUID: 1L + +

+ +

+ + + + + +
+Class org.apache.jmeter.assertions.DurationAssertion extends AbstractScopedAssertion implements Serializable
+ +

+serialVersionUID: 240L + +

+ +

+ + + + + +
+Class org.apache.jmeter.assertions.HTMLAssertion extends AbstractTestElement implements Serializable
+ +

+serialVersionUID: 240L + +

+ +

+ + + + + +
+Class org.apache.jmeter.assertions.JSR223Assertion extends JSR223TestElement implements Serializable
+ +

+serialVersionUID: 234L + +

+ +

+ + + + + +
+Class org.apache.jmeter.assertions.MD5HexAssertion extends AbstractTestElement implements Serializable
+ +

+serialVersionUID: 240L + +

+ +

+ + + + + +
+Class org.apache.jmeter.assertions.ResponseAssertion extends AbstractScopedAssertion implements Serializable
+ +

+serialVersionUID: 240L + +

+ +

+ + + + + +
+Class org.apache.jmeter.assertions.SizeAssertion extends AbstractScopedAssertion implements Serializable
+ +

+serialVersionUID: 241L + +

+ +

+ + + + + +
+Class org.apache.jmeter.assertions.SMIMEAssertionTestElement extends AbstractTestElement implements Serializable
+ +

+serialVersionUID: 1L + +

+ +

+ + + + + +
+Class org.apache.jmeter.assertions.SubstitutionElement extends AbstractTestElement implements Serializable
+ +

+serialVersionUID: 1L + +

+ +

+ + + + + +
+Class org.apache.jmeter.assertions.XMLAssertion extends AbstractTestElement implements Serializable
+ +

+serialVersionUID: 240L + +

+ +

+ + + + + +
+Class org.apache.jmeter.assertions.XMLSchemaAssertion extends AbstractTestElement implements Serializable
+ +

+serialVersionUID: 233L + +

+ +

+ + + + + +
+Class org.apache.jmeter.assertions.XPathAssertion extends AbstractScopedAssertion implements Serializable
+ +

+serialVersionUID: 240L + +

+


+ + + + + +
+Package org.apache.jmeter.assertions.gui
+ +

+ + + + + +
+Class org.apache.jmeter.assertions.gui.AbstractAssertionGui extends AbstractScopedJMeterGuiComponent implements Serializable
+ +

+serialVersionUID: 240L + +

+ +

+ + + + + +
+Class org.apache.jmeter.assertions.gui.AssertionGui extends AbstractAssertionGui implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+responseStringButton

+
+JRadioButton responseStringButton
+
+
Radio button indicating that the text response should be tested. +

+

+
+
+
+

+responseAsDocumentButton

+
+JRadioButton responseAsDocumentButton
+
+
Radio button indicating that the text of a document should be tested. +

+

+
+
+
+

+urlButton

+
+JRadioButton urlButton
+
+
Radio button indicating that the URL should be tested. +

+

+
+
+
+

+responseMessageButton

+
+JRadioButton responseMessageButton
+
+
Radio button indicating that the responseMessage should be tested. +

+

+
+
+
+

+responseCodeButton

+
+JRadioButton responseCodeButton
+
+
Radio button indicating that the responseCode should be tested. +

+

+
+
+
+

+responseHeadersButton

+
+JRadioButton responseHeadersButton
+
+
Radio button indicating that the headers should be tested. +

+

+
+
+
+

+assumeSuccess

+
+JCheckBox assumeSuccess
+
+
Checkbox to indicate whether the response should be forced successful + before testing. This is intended for use when checking the status code or + status message. +

+

+
+
+
+

+containsBox

+
+JRadioButton containsBox
+
+
Radio button indicating to test if the field contains one of the + patterns. +

+

+
+
+
+

+matchesBox

+
+JRadioButton matchesBox
+
+
Radio button indicating to test if the field matches one of the patterns. +

+

+
+
+
+

+equalsBox

+
+JRadioButton equalsBox
+
+
Radio button indicating if the field equals the string. +

+

+
+
+
+

+substringBox

+
+JRadioButton substringBox
+
+
Radio button indicating if the field contains the string. +

+

+
+
+
+

+notBox

+
+JCheckBox notBox
+
+
Checkbox indicating to test that the field does NOT contain/match the + patterns. +

+

+
+
+
+

+stringTable

+
+JTable stringTable
+
+
A table of patterns to test against. +

+

+
+
+
+

+deletePattern

+
+JButton deletePattern
+
+
Button to delete a pattern. +

+

+
+
+
+

+tableModel

+
+PowerTableModel tableModel
+
+
Table model for the pattern table. +

+

+
+
+ +

+ + + + + +
+Class org.apache.jmeter.assertions.gui.BeanShellAssertionGui extends AbstractAssertionGui implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+resetInterpreter

+
+JCheckBox resetInterpreter
+
+
+
+
+
+

+filename

+
+JTextField filename
+
+
+
+
+
+

+parameters

+
+JTextField parameters
+
+
+
+
+
+

+scriptField

+
+JSyntaxTextArea scriptField
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.assertions.gui.DurationAssertionGui extends AbstractAssertionGui implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+duration

+
+JTextField duration
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.assertions.gui.HTMLAssertionGui extends AbstractAssertionGui implements Serializable
+ +

+serialVersionUID: 1L + +

+ + + + + +
+Serialized Fields
+ +

+errorThresholdField

+
+JTextField errorThresholdField
+
+
+
+
+
+

+warningThresholdField

+
+JTextField warningThresholdField
+
+
+
+
+
+

+errorsOnly

+
+JCheckBox errorsOnly
+
+
+
+
+
+

+docTypeBox

+
+JComboBox docTypeBox
+
+
+
+
+
+

+htmlRadioButton

+
+JRadioButton htmlRadioButton
+
+
+
+
+
+

+xhtmlRadioButton

+
+JRadioButton xhtmlRadioButton
+
+
+
+
+
+

+xmlRadioButton

+
+JRadioButton xmlRadioButton
+
+
+
+
+
+

+filePanel

+
+FilePanel filePanel
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.assertions.gui.MD5HexAssertionGUI extends AbstractAssertionGui implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+md5HexInput

+
+JTextField md5HexInput
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.assertions.gui.SizeAssertionGui extends AbstractAssertionGui implements Serializable
+ +

+serialVersionUID: 241L + +

+ + + + + +
+Serialized Fields
+ +

+responseBodyButton

+
+JRadioButton responseBodyButton
+
+
Radio button indicating that the body response should be tested. +

+

+
+
+
+

+responseNetworkButton

+
+JRadioButton responseNetworkButton
+
+
Radio button indicating that the network response size should be tested. +

+

+
+
+
+

+responseMessageButton

+
+JRadioButton responseMessageButton
+
+
Radio button indicating that the responseMessage should be tested. +

+

+
+
+
+

+responseCodeButton

+
+JRadioButton responseCodeButton
+
+
Radio button indicating that the responseCode should be tested. +

+

+
+
+
+

+responseHeadersButton

+
+JRadioButton responseHeadersButton
+
+
Radio button indicating that the headers should be tested. +

+

+
+
+
+

+size

+
+JTextField size
+
+
+
+
+
+

+equalButton

+
+JRadioButton equalButton
+
+
+
+
+
+

+notequalButton

+
+JRadioButton notequalButton
+
+
+
+
+
+

+greaterthanButton

+
+JRadioButton greaterthanButton
+
+
+
+
+
+

+lessthanButton

+
+JRadioButton lessthanButton
+
+
+
+
+
+

+greaterthanequalButton

+
+JRadioButton greaterthanequalButton
+
+
+
+
+
+

+lessthanequalButton

+
+JRadioButton lessthanequalButton
+
+
+
+
+
+

+execState

+
+int execState
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.assertions.gui.SMIMEAssertionGui extends AbstractAssertionGui implements Serializable
+ +

+serialVersionUID: 1L + +

+ + + + + +
+Serialized Fields
+ +

+verifySignature

+
+JCheckBox verifySignature
+
+
+
+
+
+

+notSigned

+
+JCheckBox notSigned
+
+
+
+
+
+

+signerNoCheck

+
+JRadioButton signerNoCheck
+
+
+
+
+
+

+signerCheckConstraints

+
+JRadioButton signerCheckConstraints
+
+
+
+
+
+

+signerCheckByFile

+
+JRadioButton signerCheckByFile
+
+
+
+
+
+

+signerDnField

+
+JTextField signerDnField
+
+
+
+
+
+

+signerSerialNumberField

+
+JTextField signerSerialNumberField
+
+
+
+
+
+

+signerEmailField

+
+JTextField signerEmailField
+
+
+
+
+
+

+issuerDnField

+
+JTextField issuerDnField
+
+
+
+
+
+

+signerCertFile

+
+JTextField signerCertFile
+
+
+
+
+
+

+messagePositionTf

+
+JTextField messagePositionTf
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.assertions.gui.XMLAssertionGui extends AbstractAssertionGui implements Serializable
+ +

+serialVersionUID: 240L + +

+ +

+ + + + + +
+Class org.apache.jmeter.assertions.gui.XMLConfPanel extends JPanel implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+validate

+
+JCheckBox validate
+
+
+
+
+
+

+tolerant

+
+JCheckBox tolerant
+
+
+
+
+
+

+whitespace

+
+JCheckBox whitespace
+
+
+
+
+
+

+namespace

+
+JCheckBox namespace
+
+
+
+
+
+

+quiet

+
+JCheckBox quiet
+
+
+
+
+
+

+reportErrors

+
+JCheckBox reportErrors
+
+
+
+
+
+

+showWarnings

+
+JCheckBox showWarnings
+
+
+
+
+
+

+downloadDTDs

+
+JCheckBox downloadDTDs
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.assertions.gui.XMLSchemaAssertionGUI extends AbstractAssertionGui implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+xmlSchema

+
+JTextField xmlSchema
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.assertions.gui.XPathAssertionGui extends AbstractAssertionGui implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+xpath

+
+XPathPanel xpath
+
+
+
+
+
+

+xml

+
+XMLConfPanel xml
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.assertions.gui.XPathPanel extends JPanel implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+negated

+
+JCheckBox negated
+
+
+
+
+
+

+xpath

+
+JSyntaxTextArea xpath
+
+
+
+
+
+

+checkXPath

+
+JButton checkXPath
+
+
+
+
+
+ + + + + +
+Package org.apache.jmeter.config
+ +

+ + + + + +
+Class org.apache.jmeter.config.Argument extends AbstractTestElement implements Serializable
+ +

+serialVersionUID: 240L + +

+ +

+ + + + + +
+Class org.apache.jmeter.config.Arguments extends ConfigTestElement implements Serializable
+ +

+serialVersionUID: 240L + +

+ +

+ + + + + +
+Class org.apache.jmeter.config.ConfigTestElement extends AbstractTestElement implements Serializable
+ +

+serialVersionUID: 240L + +

+ +

+ + + + + +
+Class org.apache.jmeter.config.CSVDataSet extends ConfigTestElement implements Serializable
+ +

+serialVersionUID: 232L + +

+ + + + + +
+Serialization Methods
+ +

+

+readResolve

+
+private Object readResolve()
+
+
+
+
+ + + + + + +
+Serialized Fields
+ +

+firstLineIsNames

+
+boolean firstLineIsNames
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.config.KeystoreConfig extends ConfigTestElement implements Serializable
+ +

+serialVersionUID: -5781402012242794890L + +

+ + + + + +
+Serialized Fields
+ +

+startIndex

+
+String startIndex
+
+
+
+
+
+

+endIndex

+
+String endIndex
+
+
+
+
+
+

+preload

+
+String preload
+
+
+
+
+
+

+clientCertAliasVarName

+
+String clientCertAliasVarName
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.config.LoginConfig extends ConfigTestElement implements Serializable
+ +

+serialVersionUID: 240L + +

+ +

+ + + + + +
+Class org.apache.jmeter.config.RandomVariableConfig extends ConfigTestElement implements Serializable
+ +

+serialVersionUID: 233L + +

+ + + + + +
+Serialization Methods
+ +

+

+readResolve

+
+private Object readResolve()
+
+
+
+
+ + + + + + +
+Serialized Fields
+ +

+minimumValue

+
+String minimumValue
+
+
+
+
+
+

+maximumValue

+
+String maximumValue
+
+
+
+
+
+

+variableName

+
+String variableName
+
+
+
+
+
+

+outputFormat

+
+String outputFormat
+
+
+
+
+
+

+randomSeed

+
+String randomSeed
+
+
+
+
+
+

+perThread

+
+boolean perThread
+
+
+
+
+
+

+globalRandom

+
+Random globalRandom
+
+
+
+
+
+

+n

+
+int n
+
+
+
+
+
+

+minimum

+
+long minimum
+
+
+
+
+
+ + + + + +
+Package org.apache.jmeter.config.gui
+ +

+ + + + + +
+Class org.apache.jmeter.config.gui.AbstractConfigGui extends AbstractJMeterGuiComponent implements Serializable
+ +

+serialVersionUID: 240L + +

+ +

+ + + + + +
+Class org.apache.jmeter.config.gui.ArgumentsPanel extends AbstractConfigGui implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+tableLabel

+
+JLabel tableLabel
+
+
The title label for this component. +

+

+
+
+
+

+add

+
+JButton add
+
+
A button for adding new arguments to the table. +

+

+
+
+
+

+delete

+
+JButton delete
+
+
A button for removing arguments from the table. +

+

+
+
+
+

+background

+
+Color background
+
+
Added background support for reporting tool +

+

+
+
+
+

+standalone

+
+boolean standalone
+
+
Boolean indicating whether this component is a standalone component or it + is intended to be used as a subpanel for another component. +

+

+
+
+
+

+up

+
+JButton up
+
+
Button to move a argument up +

+

+
+
+
+

+down

+
+JButton down
+
+
Button to move a argument down +

+

+
+
+
+

+enableUpDown

+
+boolean enableUpDown
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.config.gui.LoginConfigGui extends AbstractConfigGui implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+username

+
+JTextField username
+
+
Field allowing the user to enter a username. +

+

+
+
+
+

+password

+
+JPasswordField password
+
+
Field allowing the user to enter a password. +

+

+
+
+
+

+displayName

+
+boolean displayName
+
+
Boolean indicating whether or not this component should display its name. + If true, this is a standalone component. If false, this component is + intended to be used as a subpanel for another component. +

+

+
+
+ +

+ + + + + +
+Class org.apache.jmeter.config.gui.ObsoleteGui extends AbstractJMeterGuiComponent implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+obsoleteMessage

+
+JLabel obsoleteMessage
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.config.gui.RowDetailDialog extends JDialog implements Serializable
+ +

+serialVersionUID: 6578889215615435475L + +

+ + + + + +
+Serialized Fields
+ +

+nameLabel

+
+JLabel nameLabel
+
+
+
+
+
+

+nameTF

+
+JTextField nameTF
+
+
+
+
+
+

+valueLabel

+
+JLabel valueLabel
+
+
+
+
+
+

+valueTA

+
+JSyntaxTextArea valueTA
+
+
+
+
+
+

+nextButton

+
+JButton nextButton
+
+
+
+
+
+

+previousButton

+
+JButton previousButton
+
+
+
+
+
+

+closeButton

+
+JButton closeButton
+
+
+
+
+
+

+tableModel

+
+ObjectTableModel tableModel
+
+
+
+
+
+

+selectedRow

+
+int selectedRow
+
+
+
+
+
+

+textChanged

+
+boolean textChanged
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.config.gui.SimpleConfigGui extends AbstractConfigGui implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+table

+
+JTable table
+
+
The table of configuration parameters. +

+

+
+
+
+

+tableModel

+
+PowerTableModel tableModel
+
+
The model for the parameter table. +

+

+
+
+
+

+delete

+
+JButton delete
+
+
A button for removing parameters from the table. +

+

+
+
+
+

+displayName

+
+boolean displayName
+
+
Boolean indicating whether or not this component should display its name. + If true, this is a standalone component. If false, this component is + intended to be used as a subpanel for another component. +

+

+
+
+
+ + + + + +
+Package org.apache.jmeter.control
+ +

+ + + + + +
+Class org.apache.jmeter.control.CriticalSectionController extends GenericController implements Serializable
+ +

+serialVersionUID: 4362876132435968088L + +

+ +

+ + + + + +
+Class org.apache.jmeter.control.ForeachController extends GenericController implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+loopCount

+
+int loopCount
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.control.GenericController extends AbstractTestElement implements Serializable
+ +

+serialVersionUID: 234L + +

+ + + + + +
+Serialization Methods
+ +

+

+readResolve

+
+protected Object readResolve()
+
+
+
+
+ + +

+ + + + + +
+Class org.apache.jmeter.control.IfController extends GenericController implements Serializable
+ +

+serialVersionUID: 240L + +

+ +

+ + + + + +
+Class org.apache.jmeter.control.IncludeController extends GenericController implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+subtree

+
+HashTree subtree
+
+
+
+
+
+

+sub

+
+TestElement sub
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.control.InterleaveControl extends GenericController implements Serializable
+ +

+serialVersionUID: 233L + +

+ + + + + +
+Serialized Fields
+ +

+skipNext

+
+boolean skipNext
+
+
+
+
+
+

+currentReturnedAtLeastOne

+
+boolean currentReturnedAtLeastOne
+
+
+
+
+
+

+stillSame

+
+boolean stillSame
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.control.LoopController extends GenericController implements Serializable
+ +

+serialVersionUID: 7833960784370272300L + +

+ +

+ + + + + +
+Class org.apache.jmeter.control.ModuleController extends GenericController implements Serializable
+ +

+serialVersionUID: 240L + +

+ +

+ + + + + +
+Class org.apache.jmeter.control.NextIsNullException extends Exception implements Serializable
+ +

+serialVersionUID: 240L + +

+ +

+ + + + + +
+Class org.apache.jmeter.control.OnceOnlyController extends GenericController implements Serializable
+ +

+serialVersionUID: 240L + +

+ +

+ + + + + +
+Class org.apache.jmeter.control.RandomController extends InterleaveControl implements Serializable
+ +

+serialVersionUID: 240L + +

+ +

+ + + + + +
+Class org.apache.jmeter.control.RandomOrderController extends GenericController implements Serializable
+ +

+serialVersionUID: 240L + +

+ +

+ + + + + +
+Class org.apache.jmeter.control.RunTime extends GenericController implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+startTime

+
+long startTime
+
+
+
+
+
+

+loopCount

+
+int loopCount
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.control.SwitchController extends GenericController implements Serializable
+ +

+serialVersionUID: 240L + +

+ +

+ + + + + +
+Class org.apache.jmeter.control.TestFragmentController extends GenericController implements Serializable
+ +

+serialVersionUID: 1L + +

+ +

+ + + + + +
+Class org.apache.jmeter.control.ThroughputController extends GenericController implements Serializable
+ +

+serialVersionUID: 233L + +

+ + + + + +
+Serialization Methods
+ +

+

+readResolve

+
+protected Object readResolve()
+
+
+
+
+ + + + + + +
+Serialized Fields
+ +

+numExecutions

+
+int numExecutions
+
+
Number of iterations on which we've chosen to deliver samplers. +

+

+
+
+
+

+iteration

+
+int iteration
+
+
Index of the current iteration. 0-based. +

+

+
+
+
+

+runThisTime

+
+boolean runThisTime
+
+
Whether to deliver samplers on this iteration. +

+

+
+
+ +

+ + + + + +
+Class org.apache.jmeter.control.TransactionController extends GenericController implements Serializable
+ +

+serialVersionUID: 233L + +

+ + + + + +
+Serialization Methods
+ +

+

+readResolve

+
+protected Object readResolve()
+
+
+
+
+ + +

+ + + + + +
+Class org.apache.jmeter.control.TransactionSampler extends AbstractSampler implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+transactionDone

+
+boolean transactionDone
+
+
+
+
+
+

+transactionController

+
+TransactionController transactionController
+
+
+
+
+
+

+subSampler

+
+Sampler subSampler
+
+
+
+
+
+

+transactionSampleResult

+
+SampleResult transactionSampleResult
+
+
+
+
+
+

+calls

+
+int calls
+
+
+
+
+
+

+noFailingSamples

+
+int noFailingSamples
+
+
+
+
+
+

+totalTime

+
+int totalTime
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.control.WhileController extends GenericController implements Serializable
+ +

+serialVersionUID: 232L + +

+


+ + + + + +
+Package org.apache.jmeter.control.gui
+ +

+ + + + + +
+Class org.apache.jmeter.control.gui.AbstractControllerGui extends AbstractJMeterGuiComponent implements Serializable
+ +

+serialVersionUID: 240L + +

+ +

+ + + + + +
+Class org.apache.jmeter.control.gui.CriticalSectionControllerGui extends AbstractControllerGui implements Serializable
+ +

+serialVersionUID: 7177285850634344095L + +

+ + + + + +
+Serialized Fields
+ +

+tfLockName

+
+JTextField tfLockName
+
+
A field allowing the user to specify the lock name +

+

+
+
+
+

+displayName

+
+boolean displayName
+
+
Boolean indicating whether or not this component should display its name. + If true, this is a standalone component. If false, this component is + intended to be used as a subpanel for another component. +

+

+
+
+ +

+ + + + + +
+Class org.apache.jmeter.control.gui.ForeachControlPanel extends AbstractControllerGui implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+inputVal

+
+JTextField inputVal
+
+
A field allowing the user to specify the input variable the controller + should loop. +

+

+
+
+
+

+startIndex

+
+JTextField startIndex
+
+
A field allowing the user to specify the indice start of the loop +

+

+
+
+
+

+endIndex

+
+JTextField endIndex
+
+
A field allowing the user to specify the indice end of the loop +

+

+
+
+
+

+returnVal

+
+JTextField returnVal
+
+
A field allowing the user to specify output variable the controller + should return. +

+

+
+
+
+

+useSeparator

+
+JCheckBox useSeparator
+
+
+
+
+
+

+displayName

+
+boolean displayName
+
+
Boolean indicating whether or not this component should display its name. + If true, this is a standalone component. If false, this component is + intended to be used as a subpanel for another component. +

+

+
+
+ +

+ + + + + +
+Class org.apache.jmeter.control.gui.IfControllerPanel extends AbstractControllerGui implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+theCondition

+
+JTextField theCondition
+
+
A field allowing the user to specify the number of times the controller + should loop. +

+

+
+
+
+

+useExpression

+
+JCheckBox useExpression
+
+
+
+
+
+

+evaluateAll

+
+JCheckBox evaluateAll
+
+
+
+
+
+

+displayName

+
+boolean displayName
+
+
Boolean indicating whether or not this component should display its name. + If true, this is a standalone component. If false, this component is + intended to be used as a subpanel for another component. +

+

+
+
+ +

+ + + + + +
+Class org.apache.jmeter.control.gui.IncludeControllerGui extends AbstractControllerGui implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+includePanel

+
+FilePanel includePanel
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.control.gui.InterleaveControlGui extends AbstractControllerGui implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+style

+
+JCheckBox style
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.control.gui.LogicControllerGui extends AbstractControllerGui implements Serializable
+ +

+serialVersionUID: 240L + +

+ +

+ + + + + +
+Class org.apache.jmeter.control.gui.LoopControlPanel extends AbstractControllerGui implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+infinite

+
+JCheckBox infinite
+
+
A checkbox allowing the user to specify whether or not the controller + should loop forever. +

+

+
+
+
+

+loops

+
+JTextField loops
+
+
A field allowing the user to specify the number of times the controller + should loop. +

+

+
+
+
+

+displayName

+
+boolean displayName
+
+
Boolean indicating whether or not this component should display its name. + If true, this is a standalone component. If false, this component is + intended to be used as a subpanel for another component. +

+

+
+
+ +

+ + + + + +
+Class org.apache.jmeter.control.gui.ModuleControllerGui extends AbstractControllerGui implements Serializable
+ +

+serialVersionUID: -4195441608252523573L + +

+ + + + + +
+Serialized Fields
+ +

+selected

+
+JMeterTreeNode selected
+
+
+
+
+
+

+moduleToRunTreeModel

+
+DefaultTreeModel moduleToRunTreeModel
+
+
Model of a Module to run tree. It is a copy of a test plan tree. + User object of each element is set to a correlated JMeterTreeNode element of a test plan tree. +

+

+
+
+
+

+moduleToRunTreeNodes

+
+JTree moduleToRunTreeNodes
+
+
Module to run tree. Allows to select a module to be executed. Many ModuleControllers can reference + the same element. +

+

+
+
+
+

+warningLabel

+
+JLabel warningLabel
+
+
Used in case if referenced element does not exist in test plan tree (after removing it for example) +

+

+
+
+
+

+expandButton

+
+JButton expandButton
+
+
Helps navigating test plan +

+

+
+
+ +

+ + + + + +
+Class org.apache.jmeter.control.gui.OnceOnlyControllerGui extends AbstractControllerGui implements Serializable
+ +

+serialVersionUID: 240L + +

+ +

+ + + + + +
+Class org.apache.jmeter.control.gui.RandomControlGui extends AbstractControllerGui implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+style

+
+JCheckBox style
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.control.gui.RandomOrderControllerGui extends LogicControllerGui implements Serializable
+ +

+serialVersionUID: 240L + +

+ +

+ + + + + +
+Class org.apache.jmeter.control.gui.RunTimeGui extends AbstractControllerGui implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+seconds

+
+JTextField seconds
+
+
A field allowing the user to specify the number of seconds the controller + should loop. +

+

+
+
+
+

+displayName

+
+boolean displayName
+
+
Boolean indicating whether or not this component should display its name. + If true, this is a standalone component. If false, this component is + intended to be used as a subpanel for another component. +

+

+
+
+ +

+ + + + + +
+Class org.apache.jmeter.control.gui.SwitchControllerGui extends AbstractControllerGui implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+switchValue

+
+JTextField switchValue
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.control.gui.TestFragmentControllerGui extends AbstractControllerGui implements Serializable
+ +

+serialVersionUID: 240L + +

+ +

+ + + + + +
+Class org.apache.jmeter.control.gui.TestPlanGui extends AbstractJMeterGuiComponent implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+functionalMode

+
+JCheckBox functionalMode
+
+
A checkbox allowing the user to specify whether or not JMeter should do + functional testing. +

+

+
+
+
+

+serializedMode

+
+JCheckBox serializedMode
+
+
+
+
+
+

+tearDownOnShutdown

+
+JCheckBox tearDownOnShutdown
+
+
+
+
+
+

+argsPanel

+
+ArgumentsPanel argsPanel
+
+
A panel allowing the user to define variables. +

+

+
+
+
+

+browseJar

+
+FileListPanel browseJar
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.control.gui.ThroughputControllerGui extends AbstractControllerGui implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+styleBox

+
+JComboBox styleBox
+
+
+
+
+
+

+style

+
+int style
+
+
+
+
+
+

+throughput

+
+JTextField throughput
+
+
+
+
+
+

+perthread

+
+JCheckBox perthread
+
+
+
+
+
+

+isPerThread

+
+boolean isPerThread
+
+
+
+
+
+

+BYNUMBER_LABEL

+
+String BYNUMBER_LABEL
+
+
+
+
+
+

+BYPERCENT_LABEL

+
+String BYPERCENT_LABEL
+
+
+
+
+
+

+THROUGHPUT_LABEL

+
+String THROUGHPUT_LABEL
+
+
+
+
+
+

+PERTHREAD_LABEL

+
+String PERTHREAD_LABEL
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.control.gui.TransactionControllerGui extends AbstractControllerGui implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+parent

+
+JCheckBox parent
+
+
+
+
+
+

+includeTimers

+
+JCheckBox includeTimers
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.control.gui.WhileControllerGui extends AbstractControllerGui implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+theCondition

+
+JTextField theCondition
+
+
A field allowing the user to specify the condition (not yet used). +

+

+
+
+ +

+ + + + + +
+Class org.apache.jmeter.control.gui.WorkBenchGui extends AbstractJMeterGuiComponent implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+saveWorkBench

+
+JCheckBox saveWorkBench
+
+
+
+
+
+ + + + + +
+Package org.apache.jmeter.engine
+ +

+ + + + + +
+Class org.apache.jmeter.engine.JMeterEngineException extends Exception implements Serializable
+ +

+serialVersionUID: 240L + +

+ +

+ + + + + +
+Class org.apache.jmeter.engine.RemoteJMeterEngineImpl extends UnicastRemoteObject implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+LOCK

+
+Object LOCK
+
+
+
+
+
+

+rmiPort

+
+int rmiPort
+
+
+
+
+
+

+remotelySetProperties

+
+Properties remotelySetProperties
+
+
+
+
+
+ + + + + +
+Package org.apache.jmeter.examples.sampler
+ +

+ + + + + +
+Class org.apache.jmeter.examples.sampler.ExampleSampler extends AbstractSampler implements Serializable
+ +

+serialVersionUID: 240L + +

+


+ + + + + +
+Package org.apache.jmeter.examples.sampler.gui
+ +

+ + + + + +
+Class org.apache.jmeter.examples.sampler.gui.ExampleSamplerGui extends AbstractSamplerGui implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+data

+
+JTextArea data
+
+
+
+
+
+ + + + + +
+Package org.apache.jmeter.examples.testbeans.example1
+ +

+ + + + + +
+Class org.apache.jmeter.examples.testbeans.example1.Example1 extends AbstractSampler implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+myStringProperty

+
+String myStringProperty
+
+
+
+
+
+ + + + + +
+Package org.apache.jmeter.examples.testbeans.example2
+ +

+ + + + + +
+Class org.apache.jmeter.examples.testbeans.example2.Example2 extends AbstractSampler implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+myStringProperty

+
+String myStringProperty
+
+
+
+
+
+ + + + + +
+Package org.apache.jmeter.examples.testbeans.example3
+ +

+ + + + + +
+Class org.apache.jmeter.examples.testbeans.example3.Example3 extends AbstractSampler implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+mybool

+
+boolean mybool
+
+
+
+
+
+

+myBoolean1

+
+Boolean myBoolean1
+
+
+
+
+
+

+myBoolean2

+
+Boolean myBoolean2
+
+
+
+
+
+

+myInt

+
+int myInt
+
+
+
+
+
+

+myInteger1

+
+Integer myInteger1
+
+
+
+
+
+

+myInteger2

+
+Integer myInteger2
+
+
+
+
+
+

+mylong

+
+long mylong
+
+
+
+
+
+

+myLong1

+
+Long myLong1
+
+
+
+
+
+

+myLong2

+
+Long myLong2
+
+
+
+
+
+

+myString1

+
+String myString1
+
+
+
+
+
+

+myString2

+
+String myString2
+
+
+
+
+
+

+myFile1

+
+File myFile1
+
+
+
+
+
+

+myFile2

+
+String myFile2
+
+
+
+
+
+ + + + + +
+Package org.apache.jmeter.exceptions
+ +

+ + + + + +
+Class org.apache.jmeter.exceptions.IllegalUserActionException extends Exception implements Serializable
+ +

+serialVersionUID: 240L + +

+


+ + + + + +
+Package org.apache.jmeter.extractor
+ +

+ + + + + +
+Class org.apache.jmeter.extractor.BeanShellPostProcessor extends BeanShellTestElement implements Serializable
+ +

+serialVersionUID: 4L + +

+ +

+ + + + + +
+Class org.apache.jmeter.extractor.BSFPostProcessor extends BSFTestElement implements Serializable
+ +

+serialVersionUID: 232L + +

+ +

+ + + + + +
+Class org.apache.jmeter.extractor.DebugPostProcessor extends AbstractTestElement implements Serializable
+ +

+serialVersionUID: 260L + +

+ + + + + +
+Serialized Fields
+ +

+displaySamplerProperties

+
+boolean displaySamplerProperties
+
+
+
+
+
+

+displayJMeterVariables

+
+boolean displayJMeterVariables
+
+
+
+
+
+

+displayJMeterProperties

+
+boolean displayJMeterProperties
+
+
+
+
+
+

+displaySystemProperties

+
+boolean displaySystemProperties
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.extractor.HtmlExtractor extends AbstractScopedTestElement implements Serializable
+ +

+serialVersionUID: 3978073849365558131L + +

+ + + + + +
+Serialized Fields
+ +

+extractor

+
+Extractor extractor
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.extractor.JoddExtractor extends Object implements Serializable
+ +

+serialVersionUID: -7235814605293262972L + +

+ +

+ + + + + +
+Class org.apache.jmeter.extractor.JSoupExtractor extends Object implements Serializable
+ +

+serialVersionUID: -6308012192067714191L + +

+ +

+ + + + + +
+Class org.apache.jmeter.extractor.JSR223PostProcessor extends JSR223TestElement implements Serializable
+ +

+serialVersionUID: 232L + +

+ +

+ + + + + +
+Class org.apache.jmeter.extractor.RegexExtractor extends AbstractScopedTestElement implements Serializable
+ +

+serialVersionUID: 240L + +

+ +

+ + + + + +
+Class org.apache.jmeter.extractor.XPathExtractor extends AbstractScopedTestElement implements Serializable
+ +

+serialVersionUID: 240L + +

+


+ + + + + +
+Package org.apache.jmeter.extractor.gui
+ +

+ + + + + +
+Class org.apache.jmeter.extractor.gui.HtmlExtractorGui extends AbstractPostProcessorGui implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+expressionField

+
+JLabeledTextField expressionField
+
+
+
+
+
+

+attributeField

+
+JLabeledTextField attributeField
+
+
+
+
+
+

+defaultField

+
+JLabeledTextField defaultField
+
+
+
+
+
+

+matchNumberField

+
+JLabeledTextField matchNumberField
+
+
+
+
+
+

+refNameField

+
+JLabeledTextField refNameField
+
+
+
+
+
+

+extractorImplName

+
+JComboBox extractorImplName
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.extractor.gui.RegexExtractorGui extends AbstractPostProcessorGui implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+regexField

+
+JLabeledTextField regexField
+
+
+
+
+
+

+templateField

+
+JLabeledTextField templateField
+
+
+
+
+
+

+defaultField

+
+JLabeledTextField defaultField
+
+
+
+
+
+

+matchNumberField

+
+JLabeledTextField matchNumberField
+
+
+
+
+
+

+refNameField

+
+JLabeledTextField refNameField
+
+
+
+
+
+

+useBody

+
+JRadioButton useBody
+
+
+
+
+
+

+useUnescapedBody

+
+JRadioButton useUnescapedBody
+
+
+
+
+
+

+useBodyAsDocument

+
+JRadioButton useBodyAsDocument
+
+
+
+
+
+

+useHeaders

+
+JRadioButton useHeaders
+
+
+
+
+
+

+useRequestHeaders

+
+JRadioButton useRequestHeaders
+
+
+
+
+
+

+useURL

+
+JRadioButton useURL
+
+
+
+
+
+

+useCode

+
+JRadioButton useCode
+
+
+
+
+
+

+useMessage

+
+JRadioButton useMessage
+
+
+
+
+
+

+group

+
+ButtonGroup group
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.extractor.gui.XPathExtractorGui extends AbstractPostProcessorGui implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+defaultField

+
+JLabeledTextField defaultField
+
+
+
+
+
+

+xpathQueryField

+
+JLabeledTextField xpathQueryField
+
+
+
+
+
+

+refNameField

+
+JLabeledTextField refNameField
+
+
+
+
+
+

+getFragment

+
+JCheckBox getFragment
+
+
+
+
+
+

+xml

+
+XMLConfPanel xml
+
+
+
+
+
+ + + + + +
+Package org.apache.jmeter.functions
+ +

+ + + + + +
+Class org.apache.jmeter.functions.InvalidVariableException extends Exception implements Serializable
+ +

+serialVersionUID: 240L + +

+


+ + + + + +
+Package org.apache.jmeter.functions.gui
+ +

+ + + + + +
+Class org.apache.jmeter.functions.gui.FunctionHelper extends JDialog implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+functionList

+
+JLabeledChoice functionList
+
+
+
+
+
+

+parameterPanel

+
+ArgumentsPanel parameterPanel
+
+
+
+
+
+

+cutPasteFunction

+
+JLabeledTextField cutPasteFunction
+
+
+
+
+
+ + + + + +
+Package org.apache.jmeter.gui
+ +

+ + + + + +
+Class org.apache.jmeter.gui.AbstractJMeterGuiComponent extends JPanel implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+enabled

+
+boolean enabled
+
+
Flag indicating whether or not this component is enabled. +

+

+
+
+
+

+namePanel

+
+NamePanel namePanel
+
+
A GUI panel containing the name of this component. +

+

+
+
+
+

+commentPanel

+
+CommentPanel commentPanel
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.gui.AbstractScopedJMeterGuiComponent extends AbstractJMeterGuiComponent implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+scopePanel

+
+ScopePanel scopePanel
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.gui.CommentPanel extends JPanel implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+commentField

+
+JTextArea commentField
+
+
A text field containing the comment. +

+

+
+
+ +

+ + + + + +
+Class org.apache.jmeter.gui.LoggerPanel extends JPanel implements Serializable
+ +

+serialVersionUID: 6911128494402594429L + +

+ + + + + +
+Serialized Fields
+ +

+textArea

+
+JTextArea textArea
+
+
+
+
+
+

+format

+
+org.apache.log.format.PatternFormatter format
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.gui.MainFrame extends JFrame implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+menuBar

+
+JMeterMenuBar menuBar
+
+
The menu bar. +

+

+
+
+
+

+mainPanel

+
+JScrollPane mainPanel
+
+
The main panel where components display their GUIs. +

+

+
+
+
+

+treePanel

+
+JScrollPane treePanel
+
+
The panel where the test tree is shown. +

+

+
+
+
+

+logPanel

+
+LoggerPanel logPanel
+
+
The LOG panel. +

+

+
+
+
+

+tree

+
+JTree tree
+
+
The test tree. +

+

+
+
+
+

+runningIcon

+
+ImageIcon runningIcon
+
+
An image which is displayed when a test is running. +

+

+
+
+
+

+stoppedIcon

+
+ImageIcon stoppedIcon
+
+
An image which is displayed when a test is not currently running. +

+

+
+
+
+

+warningIcon

+
+ImageIcon warningIcon
+
+
An image which is displayed to indicate FATAL, ERROR or WARNING. +

+

+
+
+
+

+runningIndicator

+
+JButton runningIndicator
+
+
The button used to display the running/stopped image. +

+

+
+
+
+

+hosts

+
+Set<E> hosts
+
+
The set of currently running hosts. +

+

+
+
+
+

+stoppingMessage

+
+JDialog stoppingMessage
+
+
A message dialog shown while JMeter threads are stopping. +

+

+
+
+
+

+totalThreads

+
+JLabel totalThreads
+
+
+
+
+
+

+activeThreads

+
+JLabel activeThreads
+
+
+
+
+
+

+toolbar

+
+JMeterToolBar toolbar
+
+
+
+
+
+

+warnIndicator

+
+JButton warnIndicator
+
+
Indicator for Log errors and Fatals +

+

+
+
+
+

+errorsOrFatalsLabel

+
+JLabel errorsOrFatalsLabel
+
+
Counter +

+

+
+
+ +

+ + + + + +
+Class org.apache.jmeter.gui.NamePanel extends JPanel implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+nameField

+
+JTextField nameField
+
+
A text field containing the name. +

+

+
+
+ +

+ + + + + +
+Class org.apache.jmeter.gui.OnErrorPanel extends JPanel implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+continueBox

+
+JRadioButton continueBox
+
+
+
+
+
+

+startNextThreadLoopBox

+
+JRadioButton startNextThreadLoopBox
+
+
+
+
+
+

+stopThrdBox

+
+JRadioButton stopThrdBox
+
+
+
+
+
+

+stopTestBox

+
+JRadioButton stopTestBox
+
+
+
+
+
+

+stopTestNowBox

+
+JRadioButton stopTestNowBox
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.gui.SavePropertyDialog extends JDialog implements Serializable
+ +

+serialVersionUID: 232L + +

+ + + + + +
+Serialized Fields
+ +

+saveConfig

+
+SampleSaveConfiguration saveConfig
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.gui.ServerPanel extends JPanel implements Serializable
+ +

+serialVersionUID: -2749091243070619669L + +

+ + + + + +
+Serialized Fields
+ +

+domain

+
+JTextField domain
+
+
+
+
+
+

+port

+
+JTextField port
+
+
+
+
+
+

+connectTimeOut

+
+JTextField connectTimeOut
+
+
+
+
+
+

+responseTimeOut

+
+JTextField responseTimeOut
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.gui.UndoHistory extends Object implements Serializable
+ +

+serialVersionUID: -974269825492906010L + +

+ + + + + +
+Serialized Fields
+ +

+savedExpanded

+
+ArrayList<E> savedExpanded
+
+
temporary storage for GUI tree expansion state +

+

+
+
+
+

+savedSelected

+
+int savedSelected
+
+
temporary storage for GUI tree selected row +

+

+
+
+
+

+position

+
+int position
+
+
+
+
+
+

+history

+
+List<E> history
+
+
+
+
+
+

+working

+
+boolean working
+
+
flag to prevent recursive actions +

+

+
+
+
+

+listeners

+
+List<E> listeners
+
+
History listeners +

+

+
+
+ +

+ + + + + +
+Class org.apache.jmeter.gui.UndoHistoryItem extends Object implements Serializable
+ +

+serialVersionUID: -8683007040160205040L + +

+ + + + + +
+Serialized Fields
+ +

+tree

+
+HashTree tree
+
+
+
+
+
+

+comment

+
+String comment
+
+
+
+
+
+ + + + + +
+Package org.apache.jmeter.gui.action
+ +

+ + + + + +
+Class org.apache.jmeter.gui.action.SearchTreeDialog extends JDialog implements Serializable
+ +

+serialVersionUID: -4436834972710248247L + +

+ + + + + +
+Serialized Fields
+ +

+searchButton

+
+JButton searchButton
+
+
+
+
+
+

+searchTF

+
+JLabeledTextField searchTF
+
+
+
+
+
+

+isRegexpCB

+
+JCheckBox isRegexpCB
+
+
+
+
+
+

+isCaseSensitiveCB

+
+JCheckBox isCaseSensitiveCB
+
+
+
+
+
+

+cancelButton

+
+JButton cancelButton
+
+
+
+
+
+

+searchAndExpandButton

+
+JButton searchAndExpandButton
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.gui.action.SelectTemplatesDialog extends JDialog implements Serializable
+ +

+serialVersionUID: -4436834972710248247L + +

+ + + + + +
+Serialized Fields
+ +

+FONT_SMALL

+
+Font FONT_SMALL
+
+
+
+
+
+

+templateList

+
+JLabeledChoice templateList
+
+
+
+
+
+

+helpDoc

+
+HtmlPane helpDoc
+
+
+
+
+
+

+reloadTemplateButton

+
+JButton reloadTemplateButton
+
+
+
+
+
+

+applyTemplateButton

+
+JButton applyTemplateButton
+
+
+
+
+
+

+cancelButton

+
+JButton cancelButton
+
+
+
+
+
+

+scroller

+
+JScrollPane scroller
+
+
+
+
+
+ + + + + +
+Package org.apache.jmeter.gui.tree
+ +

+ + + + + +
+Class org.apache.jmeter.gui.tree.JMeterCellRenderer extends DefaultTreeCellRenderer implements Serializable
+ +

+serialVersionUID: 240L + +

+ +

+ + + + + +
+Class org.apache.jmeter.gui.tree.JMeterTreeModel extends DefaultTreeModel implements Serializable
+ +

+serialVersionUID: 240L + +

+ +

+ + + + + +
+Class org.apache.jmeter.gui.tree.JMeterTreeNode extends DefaultMutableTreeNode implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+markedBySearch

+
+boolean markedBySearch
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.gui.tree.JMeterTreeTransferHandler extends TransferHandler implements Serializable
+ +

+serialVersionUID: 8560957372186260765L + +

+ + + + + +
+Serialized Fields
+ +

+nodeFlavor

+
+DataFlavor nodeFlavor
+
+
+
+
+
+

+jMeterTreeNodeDataFlavors

+
+DataFlavor[] jMeterTreeNodeDataFlavors
+
+
+
+
+
+

+nodesForRemoval

+
+List<E> nodesForRemoval
+
+
+
+
+
+ + + + + +
+Package org.apache.jmeter.gui.util
+ +

+ + + + + +
+Class org.apache.jmeter.gui.util.ButtonPanel extends JPanel implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+add

+
+JButton add
+
+
+
+
+
+

+delete

+
+JButton delete
+
+
+
+
+
+

+edit

+
+JButton edit
+
+
+
+
+
+

+load

+
+JButton load
+
+
+
+
+
+

+save

+
+JButton save
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.gui.util.EscapeDialog extends JDialog implements Serializable
+ +

+serialVersionUID: 1319421816741139938L + +

+ +

+ + + + + +
+Class org.apache.jmeter.gui.util.FileListPanel extends JPanel implements Serializable
+ +

+serialVersionUID: 1L + +

+ + + + + +
+Serialized Fields
+ +

+files

+
+JTable files
+
+
+
+
+
+

+browse

+
+JButton browse
+
+
+
+
+
+

+clear

+
+JButton clear
+
+
+
+
+
+

+delete

+
+JButton delete
+
+
+
+
+
+

+listeners

+
+List<E> listeners
+
+
+
+
+
+

+title

+
+String title
+
+
+
+
+
+

+filetype

+
+String filetype
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.gui.util.FilePanel extends FilePanelEntry implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+title

+
+String title
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.gui.util.FilePanelEntry extends HorizontalPanel implements Serializable
+ +

+serialVersionUID: 280L + +

+ + + + + +
+Serialized Fields
+ +

+FONT_SMALL

+
+Font FONT_SMALL
+
+
+
+
+
+

+filename

+
+JTextField filename
+
+
+
+
+
+

+label

+
+JLabel label
+
+
+
+
+
+

+browse

+
+JButton browse
+
+
+
+
+
+

+listeners

+
+List<E> listeners
+
+
+
+
+
+

+filetypes

+
+String[] filetypes
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.gui.util.HeaderAsPropertyRenderer extends DefaultTableCellRenderer implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+columnsMsgParameters

+
+Object[][] columnsMsgParameters
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.gui.util.HorizontalPanel extends JPanel implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+subPanel

+
+Box subPanel
+
+
+
+
+
+

+verticalAlign

+
+float verticalAlign
+
+
+
+
+
+

+hgap

+
+int hgap
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.gui.util.JDateField extends JTextField implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+dateFormat

+
+DateFormat dateFormat
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.gui.util.JLabeledRadioI18N extends JPanel implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+mLabel

+
+JLabel mLabel
+
+
+
+
+
+

+bGroup

+
+ButtonGroup bGroup
+
+
+
+
+
+

+mChangeListeners

+
+ArrayList<E> mChangeListeners
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.gui.util.JMeterColor extends Color implements Serializable
+ +

+serialVersionUID: 240L + +

+ +

+ + + + + +
+Class org.apache.jmeter.gui.util.JMeterMenuBar extends JMenuBar implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+fileMenu

+
+JMenu fileMenu
+
+
+
+
+
+

+file_save_as

+
+JMenuItem file_save_as
+
+
+
+
+
+

+file_selection_as

+
+JMenuItem file_selection_as
+
+
+
+
+
+

+file_selection_as_test_fragment

+
+JMenuItem file_selection_as_test_fragment
+
+
+
+
+
+

+file_revert

+
+JMenuItem file_revert
+
+
+
+
+
+

+file_load

+
+JMenuItem file_load
+
+
+
+
+
+

+templates

+
+JMenuItem templates
+
+
+
+
+
+

+file_load_recent_files

+
+List<E> file_load_recent_files
+
+
+
+
+
+

+file_merge

+
+JMenuItem file_merge
+
+
+
+
+
+

+file_exit

+
+JMenuItem file_exit
+
+
+
+
+
+

+file_close

+
+JMenuItem file_close
+
+
+
+
+
+

+editMenu

+
+JMenu editMenu
+
+
+
+
+
+

+edit_add

+
+JMenu edit_add
+
+
+
+
+
+

+runMenu

+
+JMenu runMenu
+
+
+
+
+
+

+run_start

+
+JMenuItem run_start
+
+
+
+
+
+

+run_start_no_timers

+
+JMenuItem run_start_no_timers
+
+
+
+
+
+

+remote_start

+
+JMenu remote_start
+
+
+
+
+
+

+remote_start_all

+
+JMenuItem remote_start_all
+
+
+
+
+
+

+remote_engine_start

+
+Collection<E> remote_engine_start
+
+
+
+
+
+

+run_stop

+
+JMenuItem run_stop
+
+
+
+
+
+

+run_shut

+
+JMenuItem run_shut
+
+
+
+
+
+

+remote_stop

+
+JMenu remote_stop
+
+
+
+
+
+

+remote_shut

+
+JMenu remote_shut
+
+
+
+
+
+

+remote_stop_all

+
+JMenuItem remote_stop_all
+
+
+
+
+
+

+remote_shut_all

+
+JMenuItem remote_shut_all
+
+
+
+
+
+

+remote_engine_stop

+
+Collection<E> remote_engine_stop
+
+
+
+
+
+

+remote_engine_shut

+
+Collection<E> remote_engine_shut
+
+
+
+
+
+

+run_clear

+
+JMenuItem run_clear
+
+
+
+
+
+

+run_clearAll

+
+JMenuItem run_clearAll
+
+
+
+
+
+

+optionsMenu

+
+JMenu optionsMenu
+
+
+
+
+
+

+lafMenu

+
+JMenu lafMenu
+
+
+
+
+
+

+sslManager

+
+JMenuItem sslManager
+
+
+
+
+
+

+helpMenu

+
+JMenu helpMenu
+
+
+
+
+
+

+help_about

+
+JMenuItem help_about
+
+
+
+
+
+

+remoteHosts

+
+String[] remoteHosts
+
+
+
+
+
+

+remote_exit

+
+JMenu remote_exit
+
+
+
+
+
+

+remote_exit_all

+
+JMenuItem remote_exit_all
+
+
+
+
+
+

+remote_engine_exit

+
+Collection<E> remote_engine_exit
+
+
+
+
+
+

+searchMenu

+
+JMenu searchMenu
+
+
+
+
+
+

+menuCreators

+
+ArrayList<E> menuCreators
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.gui.util.JMeterToolBar extends JToolBar implements Serializable
+ +

+serialVersionUID: -4591210341986068907L + +

+ +

+ + + + + +
+Class org.apache.jmeter.gui.util.JSyntaxTextArea extends org.fife.ui.rsyntaxtextarea.RSyntaxTextArea implements Serializable
+ +

+serialVersionUID: 210L + +

+ + + + + +
+Serialized Fields
+ +

+languageProperties

+
+Properties languageProperties
+
+
+
+
+
+

+disableUndo

+
+boolean disableUndo
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.gui.util.JTextScrollPane extends org.fife.ui.rtextarea.RTextScrollPane implements Serializable
+ +

+serialVersionUID: 210L + +

+ +

+ + + + + +
+Class org.apache.jmeter.gui.util.PowerTableModel extends DefaultTableModel implements Serializable
+ +

+serialVersionUID: 233L + +

+ + + + + +
+Serialized Fields
+ +

+model

+
+Data model
+
+
+
+
+
+

+columnClasses

+
+Class<T>[] columnClasses
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.gui.util.TextAreaTableCellEditor extends AbstractCellEditor implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+editorComponent

+
+JTextArea editorComponent
+
+
The Swing component being edited. +

+

+
+
+
+

+delegate

+
+TextAreaTableCellEditor.EditorDelegate delegate
+
+
The delegate class which handles all methods sent from the + CellEditor. +

+

+
+
+
+

+clickCountToStart

+
+int clickCountToStart
+
+
An integer specifying the number of clicks needed to start editing. Even + if clickCountToStart is defined as zero, it will not + initiate until a click occurs. +

+

+
+
+ +

+ + + + + +
+Class org.apache.jmeter.gui.util.TextAreaTableCellEditor.EditorDelegate extends Object implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+value

+
+Object value
+
+
The value of this cell. +

+

+
+
+ +

+ + + + + +
+Class org.apache.jmeter.gui.util.TristateCheckBox extends JCheckBox implements Serializable
+ +

+serialVersionUID: 1L + +

+ + + + + +
+Serialized Fields
+ +

+enableListener

+
+ChangeListener enableListener
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.gui.util.VerticalPanel extends JPanel implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+subPanel

+
+Box subPanel
+
+
+
+
+
+

+horizontalAlign

+
+float horizontalAlign
+
+
+
+
+
+

+vgap

+
+int vgap
+
+
+
+
+
+ + + + + +
+Package org.apache.jmeter.modifiers
+ +

+ + + + + +
+Class org.apache.jmeter.modifiers.BeanShellPreProcessor extends BeanShellTestElement implements Serializable
+ +

+serialVersionUID: 4L + +

+ +

+ + + + + +
+Class org.apache.jmeter.modifiers.BSFPreProcessor extends BSFTestElement implements Serializable
+ +

+serialVersionUID: 232L + +

+ +

+ + + + + +
+Class org.apache.jmeter.modifiers.CounterConfig extends AbstractTestElement implements Serializable
+ +

+serialVersionUID: 233L + +

+ + + + + +
+Serialization Methods
+ +

+

+readResolve

+
+private Object readResolve()
+
+
+
+
+ + + + + + +
+Serialized Fields
+ +

+globalCounter

+
+long globalCounter
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.modifiers.JSR223PreProcessor extends JSR223TestElement implements Serializable
+ +

+serialVersionUID: 232L + +

+ +

+ + + + + +
+Class org.apache.jmeter.modifiers.UserParameters extends AbstractTestElement implements Serializable
+ +

+serialVersionUID: 233L + +

+ + + + + +
+Serialization Methods
+ +

+

+readResolve

+
+private Object readResolve()
+
+
+
+
+ +
+ + + + + +
+Package org.apache.jmeter.modifiers.gui
+ +

+ + + + + +
+Class org.apache.jmeter.modifiers.gui.CounterConfigGui extends AbstractConfigGui implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+startField

+
+JLabeledTextField startField
+
+
+
+
+
+

+incrField

+
+JLabeledTextField incrField
+
+
+
+
+
+

+endField

+
+JLabeledTextField endField
+
+
+
+
+
+

+varNameField

+
+JLabeledTextField varNameField
+
+
+
+
+
+

+formatField

+
+JLabeledTextField formatField
+
+
+
+
+
+

+resetCounterOnEachThreadGroupIteration

+
+JCheckBox resetCounterOnEachThreadGroupIteration
+
+
+
+
+
+

+perUserField

+
+JCheckBox perUserField
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.modifiers.gui.UserParametersGui extends AbstractPreProcessorGui implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+paramTable

+
+JTable paramTable
+
+
+
+
+
+

+tableModel

+
+PowerTableModel tableModel
+
+
+
+
+
+

+numUserColumns

+
+int numUserColumns
+
+
+
+
+
+

+addParameterButton

+
+JButton addParameterButton
+
+
+
+
+
+

+addUserButton

+
+JButton addUserButton
+
+
+
+
+
+

+deleteRowButton

+
+JButton deleteRowButton
+
+
+
+
+
+

+deleteColumnButton

+
+JButton deleteColumnButton
+
+
+
+
+
+

+perIterationCheck

+
+JCheckBox perIterationCheck
+
+
+
+
+
+

+paramPanel

+
+JPanel paramPanel
+
+
+
+
+
+ + + + + +
+Package org.apache.jmeter.processor.gui
+ +

+ + + + + +
+Class org.apache.jmeter.processor.gui.AbstractPostProcessorGui extends AbstractScopedJMeterGuiComponent implements Serializable
+ +

+serialVersionUID: 240L + +

+ +

+ + + + + +
+Class org.apache.jmeter.processor.gui.AbstractPreProcessorGui extends AbstractJMeterGuiComponent implements Serializable
+ +

+serialVersionUID: 240L + +

+


+ + + + + +
+Package org.apache.jmeter.protocol.ftp.config.gui
+ +

+ + + + + +
+Class org.apache.jmeter.protocol.ftp.config.gui.FtpConfigGui extends AbstractConfigGui implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+server

+
+JTextField server
+
+
+
+
+
+

+port

+
+JTextField port
+
+
+
+
+
+

+remoteFile

+
+JTextField remoteFile
+
+
+
+
+
+

+localFile

+
+JTextField localFile
+
+
+
+
+
+

+inputData

+
+JTextArea inputData
+
+
+
+
+
+

+binaryMode

+
+JCheckBox binaryMode
+
+
+
+
+
+

+saveResponseData

+
+JCheckBox saveResponseData
+
+
+
+
+
+

+displayName

+
+boolean displayName
+
+
+
+
+
+

+getBox

+
+JRadioButton getBox
+
+
+
+
+
+

+putBox

+
+JRadioButton putBox
+
+
+
+
+
+ + + + + +
+Package org.apache.jmeter.protocol.ftp.control.gui
+ +

+ + + + + +
+Class org.apache.jmeter.protocol.ftp.control.gui.FtpTestSamplerGui extends AbstractSamplerGui implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+loginPanel

+
+LoginConfigGui loginPanel
+
+
+
+
+
+

+ftpDefaultPanel

+
+FtpConfigGui ftpDefaultPanel
+
+
+
+
+
+ + + + + +
+Package org.apache.jmeter.protocol.ftp.sampler
+ +

+ + + + + +
+Class org.apache.jmeter.protocol.ftp.sampler.FTPSampler extends AbstractSampler implements Serializable
+ +

+serialVersionUID: 240L + +

+


+ + + + + +
+Package org.apache.jmeter.protocol.http.config
+ +

+ + + + + +
+Class org.apache.jmeter.protocol.http.config.MultipartUrlConfig extends Object implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+boundary

+
+String boundary
+
+
+
+
+
+

+args

+
+Arguments args
+
+
+
+
+
+

+files

+
+HTTPFileArgs files
+
+
HTTPFileArgs list to be uploaded with http request. +

+

+
+
+
+ + + + + +
+Package org.apache.jmeter.protocol.http.config.gui
+ +

+ + + + + +
+Class org.apache.jmeter.protocol.http.config.gui.HttpDefaultsGui extends AbstractConfigGui implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+imageParser

+
+JCheckBox imageParser
+
+
+
+
+
+

+concurrentDwn

+
+JCheckBox concurrentDwn
+
+
+
+
+
+

+concurrentPool

+
+JTextField concurrentPool
+
+
+
+
+
+

+urlConfig

+
+UrlConfigGui urlConfig
+
+
+
+
+
+

+embeddedRE

+
+JLabeledTextField embeddedRE
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.protocol.http.config.gui.MultipartUrlConfigGui extends UrlConfigGui implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+filesPanel

+
+HTTPFileArgsPanel filesPanel
+
+
Files panel that holds file informations to be uploaded by + http request. +

+

+
+
+ +

+ + + + + +
+Class org.apache.jmeter.protocol.http.config.gui.UrlConfigGui extends JPanel implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+argsPanel

+
+HTTPArgumentsPanel argsPanel
+
+
+
+
+
+

+domain

+
+JTextField domain
+
+
+
+
+
+

+port

+
+JTextField port
+
+
+
+
+
+

+proxyHost

+
+JTextField proxyHost
+
+
+
+
+
+

+proxyPort

+
+JTextField proxyPort
+
+
+
+
+
+

+proxyUser

+
+JTextField proxyUser
+
+
+
+
+
+

+proxyPass

+
+JPasswordField proxyPass
+
+
+
+
+
+

+connectTimeOut

+
+JTextField connectTimeOut
+
+
+
+
+
+

+responseTimeOut

+
+JTextField responseTimeOut
+
+
+
+
+
+

+protocol

+
+JTextField protocol
+
+
+
+
+
+

+contentEncoding

+
+JTextField contentEncoding
+
+
+
+
+
+

+path

+
+JTextField path
+
+
+
+
+
+

+followRedirects

+
+JCheckBox followRedirects
+
+
+
+
+
+

+autoRedirects

+
+JCheckBox autoRedirects
+
+
+
+
+
+

+useKeepAlive

+
+JCheckBox useKeepAlive
+
+
+
+
+
+

+useMultipartForPost

+
+JCheckBox useMultipartForPost
+
+
+
+
+
+

+useBrowserCompatibleMultipartMode

+
+JCheckBox useBrowserCompatibleMultipartMode
+
+
+
+
+
+

+method

+
+JLabeledChoice method
+
+
+
+
+
+

+httpImplementation

+
+JLabeledChoice httpImplementation
+
+
+
+
+
+

+notConfigOnly

+
+boolean notConfigOnly
+
+
+
+
+
+

+showImplementation

+
+boolean showImplementation
+
+
+
+
+
+

+postBodyContent

+
+JSyntaxTextArea postBodyContent
+
+
+
+
+
+

+postContentTabbedPane

+
+org.apache.jmeter.protocol.http.config.gui.UrlConfigGui.ValidationTabbedPane postContentTabbedPane
+
+
+
+
+
+

+showRawBodyPane

+
+boolean showRawBodyPane
+
+
+
+
+
+ + + + + +
+Package org.apache.jmeter.protocol.http.control
+ +

+ + + + + +
+Class org.apache.jmeter.protocol.http.control.AuthManager extends ConfigTestElement implements Serializable
+ +

+serialVersionUID: 234L + +

+ + + + + +
+Serialized Fields
+ +

+kerberosManager

+
+KerberosManager kerberosManager
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.protocol.http.control.Authorization extends AbstractTestElement implements Serializable
+ +

+serialVersionUID: 241L + +

+ +

+ + + + + +
+Class org.apache.jmeter.protocol.http.control.CacheManager extends ConfigTestElement implements Serializable
+ +

+serialVersionUID: 234L + +

+ +

+ + + + + +
+Class org.apache.jmeter.protocol.http.control.Cookie extends AbstractTestElement implements Serializable
+ +

+serialVersionUID: 240L + +

+ +

+ + + + + +
+Class org.apache.jmeter.protocol.http.control.CookieManager extends ConfigTestElement implements Serializable
+ +

+serialVersionUID: 233L + +

+ +

+ + + + + +
+Class org.apache.jmeter.protocol.http.control.DNSCacheManager extends ConfigTestElement implements Serializable
+ +

+serialVersionUID: 2120L + +

+ + + + + +
+Serialized Fields
+ +

+cache

+
+Map<K,V> cache
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.protocol.http.control.Header extends AbstractTestElement implements Serializable
+ +

+serialVersionUID: 240L + +

+ +

+ + + + + +
+Class org.apache.jmeter.protocol.http.control.HeaderManager extends ConfigTestElement implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+SOAPHeader

+
+Object SOAPHeader
+
+
Apache SOAP driver does not provide an easy way to get and set the cookie + or HTTP header. Therefore it is necessary to store the SOAPHTTPConnection + object and reuse it. +

+

+
+
+ +

+ + + + + +
+Class org.apache.jmeter.protocol.http.control.HttpMirrorControl extends AbstractTestElement implements Serializable
+ +

+serialVersionUID: 233L + +

+ +

+ + + + + +
+Class org.apache.jmeter.protocol.http.control.KerberosManager extends Object implements Serializable
+ +

+serialVersionUID: 2L + +

+ + + + + +
+Serialized Fields
+ +

+subjects

+
+ConcurrentMap<K,V> subjects
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.protocol.http.control.RecordingController extends GenericController implements Serializable
+ +

+serialVersionUID: 240L + +

+


+ + + + + +
+Package org.apache.jmeter.protocol.http.control.gui
+ +

+ + + + + +
+Class org.apache.jmeter.protocol.http.control.gui.AjpSamplerGui extends HttpTestSampleGui implements Serializable
+ +

+serialVersionUID: 240L + +

+ +

+ + + + + +
+Class org.apache.jmeter.protocol.http.control.gui.HttpMirrorControlGui extends LogicControllerGui implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+portField

+
+JTextField portField
+
+
+
+
+
+

+maxPoolSizeField

+
+JTextField maxPoolSizeField
+
+
+
+
+
+

+maxQueueSizeField

+
+JTextField maxQueueSizeField
+
+
+
+
+
+

+stop

+
+JButton stop
+
+
+
+
+
+

+start

+
+JButton start
+
+
+
+
+
+

+mirrorController

+
+HttpMirrorControl mirrorController
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.protocol.http.control.gui.HttpTestSampleGui extends AbstractSamplerGui implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+urlConfigGui

+
+MultipartUrlConfigGui urlConfigGui
+
+
+
+
+
+

+getImages

+
+JCheckBox getImages
+
+
+
+
+
+

+concurrentDwn

+
+JCheckBox concurrentDwn
+
+
+
+
+
+

+concurrentPool

+
+JTextField concurrentPool
+
+
+
+
+
+

+isMon

+
+JCheckBox isMon
+
+
+
+
+
+

+useMD5

+
+JCheckBox useMD5
+
+
+
+
+
+

+labelEmbeddedRE

+
+JLabel labelEmbeddedRE
+
+
+
+
+
+

+embeddedRE

+
+JTextField embeddedRE
+
+
+
+
+
+

+sourceIpAddr

+
+JTextField sourceIpAddr
+
+
+
+
+
+

+sourceIpType

+
+JComboBox sourceIpType
+
+
+
+
+
+

+isAJP

+
+boolean isAJP
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.protocol.http.control.gui.RecordController extends LogicControllerGui implements Serializable
+ +

+serialVersionUID: 240L + +

+ +

+ + + + + +
+Class org.apache.jmeter.protocol.http.control.gui.SoapSamplerGui extends AbstractSamplerGui implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+urlField

+
+JLabeledTextField urlField
+
+
+
+
+
+

+soapAction

+
+JLabeledTextField soapAction
+
+
+
+
+
+

+sendSoapAction

+
+JCheckBox sendSoapAction
+
+
+
+
+
+

+useKeepAlive

+
+JCheckBox useKeepAlive
+
+
+
+
+
+

+soapXml

+
+JLabeledTextArea soapXml
+
+
+
+
+
+

+soapXmlFile

+
+FilePanel soapXmlFile
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.protocol.http.control.gui.WebServiceSamplerGui extends AbstractSamplerGui implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+domain

+
+JLabeledTextField domain
+
+
+
+
+
+

+protocol

+
+JLabeledTextField protocol
+
+
+
+
+
+

+port

+
+JLabeledTextField port
+
+
+
+
+
+

+path

+
+JLabeledTextField path
+
+
+
+
+
+

+soapAction

+
+JLabeledTextField soapAction
+
+
+
+
+
+

+maintainSession

+
+JCheckBox maintainSession
+
+
checkbox for Session maintenance. +

+

+
+
+
+

+soapXml

+
+JTextArea soapXml
+
+
+
+
+
+

+wsdlField

+
+JLabeledTextField wsdlField
+
+
+
+
+
+

+wsdlButton

+
+JButton wsdlButton
+
+
+
+
+
+

+selectButton

+
+JButton selectButton
+
+
+
+
+
+

+wsdlMethods

+
+JLabeledChoice wsdlMethods
+
+
+
+
+
+

+soapXmlFile

+
+FilePanel soapXmlFile
+
+
+
+
+
+

+randomXmlFile

+
+JLabeledTextField randomXmlFile
+
+
+
+
+
+

+connectTimeout

+
+JLabeledTextField connectTimeout
+
+
+
+
+
+

+memCache

+
+JCheckBox memCache
+
+
checkbox for memory cache. +

+

+
+
+
+

+readResponse

+
+JCheckBox readResponse
+
+
checkbox for reading the response +

+

+
+
+
+

+useProxy

+
+JCheckBox useProxy
+
+
checkbox for use proxy +

+

+
+
+
+

+proxyHost

+
+JTextField proxyHost
+
+
text field for the proxy host +

+

+
+
+
+

+proxyPort

+
+JTextField proxyPort
+
+
text field for the proxy port +

+

+
+
+
+

+readToolTip

+
+String readToolTip
+
+
Text note about read response and its usage. +

+

+
+
+
+

+proxyToolTip

+
+String proxyToolTip
+
+
Text note for proxy +

+

+
+
+
+ + + + + +
+Package org.apache.jmeter.protocol.http.gui
+ +

+ + + + + +
+Class org.apache.jmeter.protocol.http.gui.AuthPanel extends AbstractConfigGui implements Serializable
+ +

+serialVersionUID: -378312656300713636L + +

+ + + + + +
+Serialized Fields
+ +

+tableModel

+
+org.apache.jmeter.protocol.http.gui.AuthPanel.InnerTableModel tableModel
+
+
+
+
+
+

+clearEachIteration

+
+JCheckBox clearEachIteration
+
+
+
+
+
+

+authTable

+
+JTable authTable
+
+
A table to show the authentication information. +

+

+
+
+
+

+addButton

+
+JButton addButton
+
+
+
+
+
+

+deleteButton

+
+JButton deleteButton
+
+
+
+
+
+

+loadButton

+
+JButton loadButton
+
+
+
+
+
+

+saveButton

+
+JButton saveButton
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.protocol.http.gui.CacheManagerGui extends AbstractConfigGui implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+clearEachIteration

+
+JCheckBox clearEachIteration
+
+
+
+
+
+

+useExpires

+
+JCheckBox useExpires
+
+
+
+
+
+

+maxCacheSize

+
+JTextField maxCacheSize
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.protocol.http.gui.CookiePanel extends AbstractConfigGui implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+cookieTable

+
+JTable cookieTable
+
+
+
+
+
+

+tableModel

+
+PowerTableModel tableModel
+
+
+
+
+
+

+clearEachIteration

+
+JCheckBox clearEachIteration
+
+
+
+
+
+

+selectHandlerPanel

+
+JComboBox selectHandlerPanel
+
+
+
+
+
+

+handlerMap

+
+HashMap<K,V> handlerMap
+
+
+
+
+
+

+addButton

+
+JButton addButton
+
+
+
+
+
+

+deleteButton

+
+JButton deleteButton
+
+
+
+
+
+

+loadButton

+
+JButton loadButton
+
+
+
+
+
+

+saveButton

+
+JButton saveButton
+
+
+
+
+
+

+policies

+
+String[] policies
+
+
List of cookie policies. + + These are used both for the display, and for setting the policy +

+

+
+
+
+

+policy

+
+JLabeledChoice policy
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.protocol.http.gui.DNSCachePanel extends AbstractConfigGui implements Serializable
+ +

+serialVersionUID: 2120L + +

+ + + + + +
+Serialized Fields
+ +

+dnsServersTable

+
+JTable dnsServersTable
+
+
+
+
+
+

+dnsServersPanel

+
+JPanel dnsServersPanel
+
+
+
+
+
+

+dnsServButPanel

+
+JPanel dnsServButPanel
+
+
+
+
+
+

+dnsServersTableModel

+
+PowerTableModel dnsServersTableModel
+
+
+
+
+
+

+sysResButton

+
+JRadioButton sysResButton
+
+
+
+
+
+

+custResButton

+
+JRadioButton custResButton
+
+
+
+
+
+

+deleteButton

+
+JButton deleteButton
+
+
+
+
+
+

+addButton

+
+JButton addButton
+
+
+
+
+
+

+providerDNSradioGroup

+
+ButtonGroup providerDNSradioGroup
+
+
+
+
+
+

+clearEachIteration

+
+JCheckBox clearEachIteration
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.protocol.http.gui.HeaderPanel extends AbstractConfigGui implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+tableModel

+
+org.apache.jmeter.protocol.http.gui.HeaderPanel.InnerTableModel tableModel
+
+
+
+
+
+

+headerManager

+
+HeaderManager headerManager
+
+
+
+
+
+

+headerTable

+
+JTable headerTable
+
+
+
+
+
+

+deleteButton

+
+JButton deleteButton
+
+
+
+
+
+

+saveButton

+
+JButton saveButton
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.protocol.http.gui.HTTPArgumentsPanel extends ArgumentsPanel implements Serializable
+ +

+serialVersionUID: 240L + +

+ +

+ + + + + +
+Class org.apache.jmeter.protocol.http.gui.HTTPFileArgsPanel extends JPanel implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+tableLabel

+
+JLabel tableLabel
+
+
The title label for this component. +

+

+
+
+
+

+add

+
+JButton add
+
+
A button for adding new files to the table. +

+

+
+
+
+

+browse

+
+JButton browse
+
+
A button for browsing file system to set path of selected row in table. +

+

+
+
+
+

+delete

+
+JButton delete
+
+
A button for removing files from the table. +

+

+
+
+
+ + + + + +
+Package org.apache.jmeter.protocol.http.modifier
+ +

+ + + + + +
+Class org.apache.jmeter.protocol.http.modifier.AnchorModifier extends AbstractTestElement implements Serializable
+ +

+serialVersionUID: 240L + +

+ +

+ + + + + +
+Class org.apache.jmeter.protocol.http.modifier.ParamMask extends AbstractTestElement implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+PREFIX

+
+String PREFIX
+
+
+
+
+
+

+FIELD_NAME

+
+String FIELD_NAME
+
+
+
+
+
+

+UPPER_BOUND

+
+String UPPER_BOUND
+
+
+
+
+
+

+LOWER_BOUND

+
+String LOWER_BOUND
+
+
+
+
+
+

+INCREMENT

+
+String INCREMENT
+
+
+
+
+
+

+SUFFIX

+
+String SUFFIX
+
+
+
+
+
+

+_value

+
+long _value
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.protocol.http.modifier.ParamModifier extends AbstractTestElement implements Serializable
+ +

+serialVersionUID: 240L + +

+ +

+ + + + + +
+Class org.apache.jmeter.protocol.http.modifier.RegExUserParameters extends AbstractTestElement implements Serializable
+ +

+serialVersionUID: 5486502839185386122L + +

+ +

+ + + + + +
+Class org.apache.jmeter.protocol.http.modifier.URLRewritingModifier extends AbstractTestElement implements Serializable
+ +

+serialVersionUID: 233L + +

+ + + + + +
+Serialization Methods
+ +

+

+readResolve

+
+protected Object readResolve()
+
+
+
+
+ + +

+ + + + + +
+Class org.apache.jmeter.protocol.http.modifier.UserSequence extends Object implements Serializable
+ +

+serialVersionUID: 233L + +

+ + + + + +
+Serialized Fields
+ +

+allUsers

+
+List<E> allUsers
+
+
+
+
+
+ + + + + +
+Package org.apache.jmeter.protocol.http.modifier.gui
+ +

+ + + + + +
+Class org.apache.jmeter.protocol.http.modifier.gui.AnchorModifierGui extends AbstractPreProcessorGui implements Serializable
+ +

+serialVersionUID: 240L + +

+ +

+ + + + + +
+Class org.apache.jmeter.protocol.http.modifier.gui.ParamModifierGui extends AbstractPreProcessorGui implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+_fieldName

+
+JTextField _fieldName
+
+
+
+
+
+

+_prefix

+
+JTextField _prefix
+
+
+
+
+
+

+_lowerBound

+
+JTextField _lowerBound
+
+
+
+
+
+

+_upperBound

+
+JTextField _upperBound
+
+
+
+
+
+

+_increment

+
+JTextField _increment
+
+
+
+
+
+

+_suffix

+
+JTextField _suffix
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.protocol.http.modifier.gui.RegExUserParametersGui extends AbstractPreProcessorGui implements Serializable
+ +

+serialVersionUID: 3080808672311046276L + +

+ + + + + +
+Serialized Fields
+ +

+refRegExRefNameField

+
+JLabeledTextField refRegExRefNameField
+
+
+
+
+
+

+paramNamesGrNrField

+
+JLabeledTextField paramNamesGrNrField
+
+
+
+
+
+

+paramValuesGrNrField

+
+JLabeledTextField paramValuesGrNrField
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.protocol.http.modifier.gui.URLRewritingModifierGui extends AbstractPreProcessorGui implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+argumentName

+
+JLabeledTextField argumentName
+
+
+
+
+
+

+pathExt

+
+JCheckBox pathExt
+
+
+
+
+
+

+pathExtNoEquals

+
+JCheckBox pathExtNoEquals
+
+
+
+
+
+

+pathExtNoQuestionmark

+
+JCheckBox pathExtNoQuestionmark
+
+
+
+
+
+

+shouldCache

+
+JCheckBox shouldCache
+
+
+
+
+
+

+encode

+
+JCheckBox encode
+
+
+
+
+
+ + + + + +
+Package org.apache.jmeter.protocol.http.parser
+ +

+ + + + + +
+Class org.apache.jmeter.protocol.http.parser.HTMLParseError extends Error implements Serializable
+ +

+serialVersionUID: 240L + +

+ +

+ + + + + +
+Class org.apache.jmeter.protocol.http.parser.HTMLParseException extends Exception implements Serializable
+ +

+serialVersionUID: 240L + +

+


+ + + + + +
+Package org.apache.jmeter.protocol.http.proxy
+ +

+ + + + + +
+Class org.apache.jmeter.protocol.http.proxy.ProxyControl extends GenericController implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+lastTime

+
+long lastTime
+
+
+
+
+
+

+addAssertions

+
+boolean addAssertions
+
+
+
+
+
+

+groupingMode

+
+int groupingMode
+
+
+
+
+
+

+samplerRedirectAutomatically

+
+boolean samplerRedirectAutomatically
+
+
+
+
+
+

+samplerFollowRedirects

+
+boolean samplerFollowRedirects
+
+
+
+
+
+

+useKeepAlive

+
+boolean useKeepAlive
+
+
+
+
+
+

+samplerDownloadImages

+
+boolean samplerDownloadImages
+
+
+
+
+
+

+notifyChildSamplerListenersOfFilteredSamples

+
+boolean notifyChildSamplerListenersOfFilteredSamples
+
+
+
+
+
+

+regexMatch

+
+boolean regexMatch
+
+
+
+
+
+

+target

+
+JMeterTreeNode target
+
+
Tree node where the samples should be stored. +

+ This property is not persistent. +

+

+
+
+
+

+storePassword

+
+String storePassword
+
+
+
+
+
+

+keyPassword

+
+String keyPassword
+
+
+
+
+
+ + + + + +
+Package org.apache.jmeter.protocol.http.proxy.gui
+ +

+ + + + + +
+Class org.apache.jmeter.protocol.http.proxy.gui.ProxyControlGui extends LogicControllerGui implements Serializable
+ +

+serialVersionUID: 232L + +

+ + + + + +
+Serialized Fields
+ +

+portField

+
+JTextField portField
+
+
+
+
+
+

+sslDomains

+
+JLabeledTextField sslDomains
+
+
+
+
+
+

+httpHeaders

+
+JCheckBox httpHeaders
+
+
Used to indicate that HTTP request headers should be captured. The + default is to capture the HTTP request headers, which are specific to + particular browser settings. +

+

+
+
+
+

+groupingMode

+
+JComboBox groupingMode
+
+
Whether to group requests together based on inactivity separation periods -- + and how to handle such grouping afterwards. +

+

+
+
+
+

+addAssertions

+
+JCheckBox addAssertions
+
+
Add an Assertion to the first sample of each set +

+

+
+
+
+

+useKeepAlive

+
+JCheckBox useKeepAlive
+
+
Set/clear the Use Keep-Alive box on the samplers (default is true) +

+

+
+
+
+

+regexMatch

+
+JCheckBox regexMatch
+
+
+
+
+
+

+samplerTypeName

+
+JComboBox samplerTypeName
+
+
The list of sampler type names to choose from +

+

+
+
+
+

+samplerRedirectAutomatically

+
+JCheckBox samplerRedirectAutomatically
+
+
Set/clear the Redirect automatically box on the samplers (default is false) +

+

+
+
+
+

+samplerFollowRedirects

+
+JCheckBox samplerFollowRedirects
+
+
Set/clear the Follow-redirects box on the samplers (default is true) +

+

+
+
+
+

+samplerDownloadImages

+
+JCheckBox samplerDownloadImages
+
+
Set/clear the Download images box on the samplers (default is false) +

+

+
+
+
+

+contentTypeInclude

+
+JTextField contentTypeInclude
+
+
Regular expression to include results based on content type +

+

+
+
+
+

+contentTypeExclude

+
+JTextField contentTypeExclude
+
+
Regular expression to exclude results based on content type +

+

+
+
+
+

+targetNodes

+
+JComboBox targetNodes
+
+
List of available target controllers +

+

+
+
+
+

+notifyChildSamplerListenerOfFilteredSamplersCB

+
+JCheckBox notifyChildSamplerListenerOfFilteredSamplersCB
+
+
Notify child Listener of Filtered Samplers +

+

+
+
+
+

+targetNodesModel

+
+DefaultComboBoxModel targetNodesModel
+
+
+
+
+
+

+model

+
+ProxyControl model
+
+
+
+
+
+

+excludeTable

+
+JTable excludeTable
+
+
+
+
+
+

+excludeModel

+
+PowerTableModel excludeModel
+
+
+
+
+
+

+includeTable

+
+JTable includeTable
+
+
+
+
+
+

+includeModel

+
+PowerTableModel includeModel
+
+
+
+
+
+

+stop

+
+JButton stop
+
+
+
+
+
+

+start

+
+JButton start
+
+
+
+
+
+

+restart

+
+JButton restart
+
+
+
+
+
+ + + + + +
+Package org.apache.jmeter.protocol.http.sampler
+ +

+ + + + + +
+Class org.apache.jmeter.protocol.http.sampler.AccessLogSampler extends HTTPSampler implements Serializable
+ +

+serialVersionUID: 232L + +

+ + + + + +
+Serialized Fields
+ +

+logFile

+
+String logFile
+
+
+
+
+
+

+parserClassName

+
+String parserClassName
+
+
+
+
+
+

+filterClassName

+
+String filterClassName
+
+
+
+
+
+

+count

+
+int count
+
+
+
+
+
+

+started

+
+boolean started
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.protocol.http.sampler.AjpSampler extends HTTPSamplerBase implements Serializable
+ +

+serialVersionUID: 233L + +

+ + + + + +
+Serialized Fields
+ +

+lastPort

+
+int lastPort
+
+
+
+
+
+

+lastHost

+
+String lastHost
+
+
+
+
+
+

+localName

+
+String localName
+
+
+
+
+
+

+localAddress

+
+String localAddress
+
+
+
+
+
+

+inbuf

+
+byte[] inbuf
+
+
+
+
+
+

+outbuf

+
+byte[] outbuf
+
+
+
+
+
+

+inpos

+
+int inpos
+
+
+
+
+
+

+outpos

+
+int outpos
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.protocol.http.sampler.HTTPSampler extends HTTPSamplerBase implements Serializable
+ +

+serialVersionUID: 241L + +

+ +

+ + + + + +
+Class org.apache.jmeter.protocol.http.sampler.HTTPSampler2 extends HTTPSamplerBase implements Serializable
+ +

+serialVersionUID: 240L + +

+ +

+ + + + + +
+Class org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase extends AbstractSampler implements Serializable
+ +

+serialVersionUID: 240L + +

+ +

+ + + + + +
+Class org.apache.jmeter.protocol.http.sampler.HTTPSampleResult extends SampleResult implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+cookies

+
+String cookies
+
+
+
+
+
+

+method

+
+String method
+
+
+
+
+
+

+redirectLocation

+
+String redirectLocation
+
+
The raw value of the Location: header; may be null. + This is supposed to be an absolute URL: + RFC2616 sec14.30 + but is often relative. +

+

+
+
+
+

+queryString

+
+String queryString
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy extends HTTPSamplerBase implements Serializable
+ +

+serialVersionUID: 1L + +

+ +

+ + + + + +
+Class org.apache.jmeter.protocol.http.sampler.SoapSampler extends HTTPSampler2 implements Serializable
+ +

+serialVersionUID: 240L + +

+ +

+ + + + + +
+Class org.apache.jmeter.protocol.http.sampler.WebServiceSampler extends HTTPSamplerBase implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+RANDOM

+
+Random RANDOM
+
+
+
+
+
+

+fileContents

+
+String fileContents
+
+
+
+
+
+ + + + + +
+Package org.apache.jmeter.protocol.http.util
+ +

+ + + + + +
+Class org.apache.jmeter.protocol.http.util.HTTPArgument extends Argument implements Serializable
+ +

+serialVersionUID: 240L + +

+ +

+ + + + + +
+Class org.apache.jmeter.protocol.http.util.HTTPFileArg extends AbstractTestElement implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+header

+
+String header
+
+
temporary storage area for the body header. +

+

+
+
+ +

+ + + + + +
+Class org.apache.jmeter.protocol.http.util.HTTPFileArgs extends ConfigTestElement implements Serializable
+ +

+serialVersionUID: 240L + +

+ +

+ + + + + +
+Class org.apache.jmeter.protocol.http.util.WSDLException extends Exception implements Serializable
+ +

+serialVersionUID: 240L + +

+


+ + + + + +
+Package org.apache.jmeter.protocol.http.util.accesslog
+ +

+ + + + + +
+Class org.apache.jmeter.protocol.http.util.accesslog.LogFilter extends Object implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+CHANGEEXT

+
+boolean CHANGEEXT
+
+
+
+
+
+

+OLDEXT

+
+String OLDEXT
+
+
+
+
+
+

+NEWEXT

+
+String NEWEXT
+
+
+
+
+
+

+INCFILE

+
+String[] INCFILE
+
+
+
+
+
+

+EXCFILE

+
+String[] EXCFILE
+
+
+
+
+
+

+FILEFILTER

+
+boolean FILEFILTER
+
+
+
+
+
+

+USEFILE

+
+boolean USEFILE
+
+
+
+
+
+

+INCPTRN

+
+String[] INCPTRN
+
+
+
+
+
+

+EXCPTRN

+
+String[] EXCPTRN
+
+
+
+
+
+

+PTRNFILTER

+
+boolean PTRNFILTER
+
+
+
+
+
+

+EXCPATTERNS

+
+ArrayList<E> EXCPATTERNS
+
+
+
+
+
+

+INCPATTERNS

+
+ArrayList<E> INCPATTERNS
+
+
+
+
+
+

+NEWFILE

+
+String NEWFILE
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.protocol.http.util.accesslog.SessionFilter extends Object implements Serializable
+ +

+serialVersionUID: 232L + +

+ + + + + +
+Serialized Fields
+ +

+cookieManagers

+
+Map<K,V> cookieManagers
+
+
These objects are static across multiple threads in a test, via clone() + method. +

+

+
+
+
+

+managersInUse

+
+Set<E> managersInUse
+
+
+
+
+
+

+lastUsed

+
+CookieManager lastUsed
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.protocol.http.util.accesslog.StandardGenerator extends Object implements Serializable
+ +

+serialVersionUID: 233L + +

+ + + + + +
+Serialized Fields
+ +

+SAMPLE

+
+HTTPSamplerBase SAMPLE
+
+
+
+
+
+

+FILENAME

+
+String FILENAME
+
+
+
+
+
+

+FILE

+
+File FILE
+
+
+
+
+
+ + + + + +
+Package org.apache.jmeter.protocol.java.config
+ +

+ + + + + +
+Class org.apache.jmeter.protocol.java.config.JavaConfig extends ConfigTestElement implements Serializable
+ +

+serialVersionUID: 240L + +

+


+ + + + + +
+Package org.apache.jmeter.protocol.java.config.gui
+ +

+ + + + + +
+Class org.apache.jmeter.protocol.java.config.gui.JavaConfigGui extends AbstractConfigGui implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+classnameCombo

+
+JComboBox classnameCombo
+
+
A combo box allowing the user to choose a test class. +

+

+
+
+
+

+displayName

+
+boolean displayName
+
+
Indicates whether or not the name of this component should be displayed + as part of the GUI. If true, this is a standalone component. If false, it + is embedded in some other component. +

+

+
+
+
+

+argsPanel

+
+ArgumentsPanel argsPanel
+
+
A panel allowing the user to set arguments for this test. +

+

+
+
+
+ + + + + +
+Package org.apache.jmeter.protocol.java.control.gui
+ +

+ + + + + +
+Class org.apache.jmeter.protocol.java.control.gui.BeanShellSamplerGui extends AbstractSamplerGui implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+resetInterpreter

+
+JCheckBox resetInterpreter
+
+
+
+
+
+

+filename

+
+JTextField filename
+
+
+
+
+
+

+parameters

+
+JTextField parameters
+
+
+
+
+
+

+scriptField

+
+JSyntaxTextArea scriptField
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.protocol.java.control.gui.JavaTestSamplerGui extends AbstractSamplerGui implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+javaPanel

+
+JavaConfigGui javaPanel
+
+
Panel containing the configuration options. +

+

+
+
+ +

+ + + + + +
+Class org.apache.jmeter.protocol.java.control.gui.JUnitTestSamplerGui extends AbstractSamplerGui implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+constructorLabel

+
+JLabeledTextField constructorLabel
+
+
+
+
+
+

+methodLabel

+
+JLabel methodLabel
+
+
+
+
+
+

+successMsg

+
+JLabeledTextField successMsg
+
+
+
+
+
+

+failureMsg

+
+JLabeledTextField failureMsg
+
+
+
+
+
+

+errorMsg

+
+JLabeledTextField errorMsg
+
+
+
+
+
+

+successCode

+
+JLabeledTextField successCode
+
+
+
+
+
+

+failureCode

+
+JLabeledTextField failureCode
+
+
+
+
+
+

+errorCode

+
+JLabeledTextField errorCode
+
+
+
+
+
+

+filterpkg

+
+JLabeledTextField filterpkg
+
+
+
+
+
+

+doSetup

+
+JCheckBox doSetup
+
+
+
+
+
+

+appendError

+
+JCheckBox appendError
+
+
+
+
+
+

+appendExc

+
+JCheckBox appendExc
+
+
+
+
+
+

+junit4

+
+JCheckBox junit4
+
+
+
+
+
+

+createInstancePerSample

+
+JCheckBox createInstancePerSample
+
+
+
+
+
+

+classnameCombo

+
+JComboBox classnameCombo
+
+
A combo box allowing the user to choose a test class. +

+

+
+
+
+

+methodName

+
+JComboBox methodName
+
+
+
+
+
+ + + + + +
+Package org.apache.jmeter.protocol.java.sampler
+ +

+ + + + + +
+Class org.apache.jmeter.protocol.java.sampler.BeanShellSampler extends BeanShellTestElement implements Serializable
+ +

+serialVersionUID: 3L + +

+ +

+ + + + + +
+Class org.apache.jmeter.protocol.java.sampler.BSFSampler extends BSFTestElement implements Serializable
+ +

+serialVersionUID: 240L + +

+ +

+ + + + + +
+Class org.apache.jmeter.protocol.java.sampler.JavaSampler extends AbstractSampler implements Serializable
+ +

+serialVersionUID: 232L + +

+ + + + + +
+Serialized Fields
+ +

+javaClass

+
+Class<T> javaClass
+
+
The JavaSamplerClient class used by this sampler. + Created by testStarted; copied to cloned instances. +

+

+
+
+
+

+isToBeRegistered

+
+boolean isToBeRegistered
+
+
If true, the JavaSamplerClient class implements tearDownTest. + Created by testStarted; copied to cloned instances. +

+

+
+
+ +

+ + + + + +
+Class org.apache.jmeter.protocol.java.sampler.JSR223Sampler extends JSR223TestElement implements Serializable
+ +

+serialVersionUID: 234L + +

+ +

+ + + + + +
+Class org.apache.jmeter.protocol.java.sampler.JUnitSampler extends AbstractSampler implements Serializable
+ +

+serialVersionUID: 240L + +

+


+ + + + + +
+Package org.apache.jmeter.protocol.java.test
+ +

+ + + + + +
+Class org.apache.jmeter.protocol.java.test.JavaTest extends AbstractJavaSamplerClient implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+sleepTime

+
+long sleepTime
+
+
The base number of milliseconds to sleep during each sample. +

+

+
+
+
+

+sleepMask

+
+long sleepMask
+
+
A mask to be applied to the current time in order to add a semi-random + component to the sleep time. +

+

+
+
+
+

+label

+
+String label
+
+
The label to store in the sample result. +

+

+
+
+
+

+responseMessage

+
+String responseMessage
+
+
The response message to store in the sample result. +

+

+
+
+
+

+responseCode

+
+String responseCode
+
+
The response code to be stored in the sample result. +

+

+
+
+
+

+samplerData

+
+String samplerData
+
+
The sampler data (shown as Request Data in the Tree display). +

+

+
+
+
+

+resultData

+
+String resultData
+
+
Holds the result data (shown as Response Data in the Tree display). +

+

+
+
+
+

+success

+
+boolean success
+
+
The success status to be stored in the sample result. +

+

+
+
+ +

+ + + + + +
+Class org.apache.jmeter.protocol.java.test.SleepTest extends AbstractJavaSamplerClient implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+sleepTime

+
+long sleepTime
+
+
The base number of milliseconds to sleep during each sample. +

+

+
+
+
+

+sleepMask

+
+long sleepMask
+
+
A mask to be applied to the current time in order to add a random + component to the sleep time. +

+

+
+
+
+

+name

+
+String name
+
+
+
+
+
+ + + + + +
+Package org.apache.jmeter.protocol.jdbc
+ +

+ + + + + +
+Class org.apache.jmeter.protocol.jdbc.AbstractJDBCTestElement extends AbstractTestElement implements Serializable
+ +

+serialVersionUID: 235L + +

+ + + + + +
+Serialized Fields
+ +

+query

+
+String query
+
+
+
+
+
+

+dataSource

+
+String dataSource
+
+
+
+
+
+

+queryType

+
+String queryType
+
+
+
+
+
+

+queryArguments

+
+String queryArguments
+
+
+
+
+
+

+queryArgumentsTypes

+
+String queryArgumentsTypes
+
+
+
+
+
+

+variableNames

+
+String variableNames
+
+
+
+
+
+

+resultSetHandler

+
+String resultSetHandler
+
+
+
+
+
+

+resultVariable

+
+String resultVariable
+
+
+
+
+
+

+queryTimeout

+
+String queryTimeout
+
+
+
+
+
+ + + + + +
+Package org.apache.jmeter.protocol.jdbc.config
+ +

+ + + + + +
+Class org.apache.jmeter.protocol.jdbc.config.DataSourceElement extends AbstractTestElement implements Serializable
+ +

+serialVersionUID: 233L + +

+


+ + + + + +
+Package org.apache.jmeter.protocol.jdbc.processor
+ +

+ + + + + +
+Class org.apache.jmeter.protocol.jdbc.processor.AbstractJDBCProcessor extends AbstractJDBCTestElement implements Serializable
+ +

+serialVersionUID: 232L + +

+ +

+ + + + + +
+Class org.apache.jmeter.protocol.jdbc.processor.JDBCPostProcessor extends AbstractJDBCProcessor implements Serializable
+ +

+serialVersionUID: 1L + +

+ +

+ + + + + +
+Class org.apache.jmeter.protocol.jdbc.processor.JDBCPreProcessor extends AbstractJDBCProcessor implements Serializable
+ +

+serialVersionUID: 1L + +

+


+ + + + + +
+Package org.apache.jmeter.protocol.jdbc.sampler
+ +

+ + + + + +
+Class org.apache.jmeter.protocol.jdbc.sampler.JDBCSampler extends AbstractJDBCTestElement implements Serializable
+ +

+serialVersionUID: 234L + +

+


+ + + + + +
+Package org.apache.jmeter.protocol.jms.control.gui
+ +

+ + + + + +
+Class org.apache.jmeter.protocol.jms.control.gui.JMSPropertiesPanel extends JPanel implements Serializable
+ +

+serialVersionUID: -2893899384410289131L + +

+ + + + + +
+Serialized Fields
+ +

+tableModel

+
+org.apache.jmeter.protocol.jms.control.gui.JMSPropertiesPanel.InnerTableModel tableModel
+
+
+
+
+
+

+jmsPropertiesTable

+
+JTable jmsPropertiesTable
+
+
+
+
+
+

+addButton

+
+JButton addButton
+
+
+
+
+
+

+deleteButton

+
+JButton deleteButton
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.protocol.jms.control.gui.JMSPublisherGui extends AbstractSamplerGui implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+useProperties

+
+JCheckBox useProperties
+
+
+
+
+
+

+configChoice

+
+JLabeledRadioI18N configChoice
+
+
+
+
+
+

+jndiICF

+
+JLabeledTextField jndiICF
+
+
+
+
+
+

+urlField

+
+JLabeledTextField urlField
+
+
+
+
+
+

+jndiConnFac

+
+JLabeledTextField jndiConnFac
+
+
+
+
+
+

+jmsDestination

+
+JLabeledTextField jmsDestination
+
+
+
+
+
+

+expiration

+
+JLabeledTextField expiration
+
+
+
+
+
+

+priority

+
+JLabeledTextField priority
+
+
+
+
+
+

+useAuth

+
+JCheckBox useAuth
+
+
+
+
+
+

+jmsUser

+
+JLabeledTextField jmsUser
+
+
+
+
+
+

+jmsPwd

+
+JLabeledTextField jmsPwd
+
+
+
+
+
+

+iterations

+
+JLabeledTextField iterations
+
+
+
+
+
+

+messageFile

+
+FilePanel messageFile
+
+
+
+
+
+

+randomFile

+
+FilePanel randomFile
+
+
+
+
+
+

+textMessage

+
+JSyntaxTextArea textMessage
+
+
+
+
+
+

+msgChoice

+
+JLabeledRadioI18N msgChoice
+
+
+
+
+
+

+useNonPersistentDelivery

+
+JCheckBox useNonPersistentDelivery
+
+
+
+
+
+

+destSetup

+
+JLabeledRadioI18N destSetup
+
+
+
+
+
+

+jmsPropertiesPanel

+
+JMSPropertiesPanel jmsPropertiesPanel
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.protocol.jms.control.gui.JMSSamplerGui extends AbstractSamplerGui implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+queueConnectionFactory

+
+JLabeledTextField queueConnectionFactory
+
+
+
+
+
+

+sendQueue

+
+JLabeledTextField sendQueue
+
+
+
+
+
+

+receiveQueue

+
+JLabeledTextField receiveQueue
+
+
+
+
+
+

+timeout

+
+JLabeledTextField timeout
+
+
+
+
+
+

+expiration

+
+JLabeledTextField expiration
+
+
+
+
+
+

+priority

+
+JLabeledTextField priority
+
+
+
+
+
+

+jmsSelector

+
+JLabeledTextField jmsSelector
+
+
+
+
+
+

+messageContent

+
+JSyntaxTextArea messageContent
+
+
+
+
+
+

+initialContextFactory

+
+JLabeledTextField initialContextFactory
+
+
+
+
+
+

+providerUrl

+
+JLabeledTextField providerUrl
+
+
+
+
+
+

+labels

+
+String[] labels
+
+
+
+
+
+

+oneWay

+
+JLabeledChoice oneWay
+
+
+
+
+
+

+jmsPropertiesPanel

+
+JMSPropertiesPanel jmsPropertiesPanel
+
+
+
+
+
+

+jndiPropertiesPanel

+
+ArgumentsPanel jndiPropertiesPanel
+
+
+
+
+
+

+useNonPersistentDelivery

+
+JCheckBox useNonPersistentDelivery
+
+
+
+
+
+

+useReqMsgIdAsCorrelId

+
+JCheckBox useReqMsgIdAsCorrelId
+
+
+
+
+
+

+useResMsgIdAsCorrelId

+
+JCheckBox useResMsgIdAsCorrelId
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.protocol.jms.control.gui.JMSSubscriberGui extends AbstractSamplerGui implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+useProperties

+
+JCheckBox useProperties
+
+
+
+
+
+

+jndiICF

+
+JLabeledTextField jndiICF
+
+
+
+
+
+

+urlField

+
+JLabeledTextField urlField
+
+
+
+
+
+

+jndiConnFac

+
+JLabeledTextField jndiConnFac
+
+
+
+
+
+

+jmsDestination

+
+JLabeledTextField jmsDestination
+
+
+
+
+
+

+jmsDurableSubscriptionId

+
+JLabeledTextField jmsDurableSubscriptionId
+
+
+
+
+
+

+jmsClientId

+
+JLabeledTextField jmsClientId
+
+
+
+
+
+

+jmsSelector

+
+JLabeledTextField jmsSelector
+
+
+
+
+
+

+jmsUser

+
+JLabeledTextField jmsUser
+
+
+
+
+
+

+jmsPwd

+
+JLabeledTextField jmsPwd
+
+
+
+
+
+

+iterations

+
+JLabeledTextField iterations
+
+
+
+
+
+

+useAuth

+
+JCheckBox useAuth
+
+
+
+
+
+

+readResponse

+
+JCheckBox readResponse
+
+
+
+
+
+

+timeout

+
+JLabeledTextField timeout
+
+
+
+
+
+

+separator

+
+JLabeledTextField separator
+
+
+
+
+
+

+clientChoice

+
+JLabeledRadioI18N clientChoice
+
+
+
+
+
+

+stopBetweenSamples

+
+JCheckBox stopBetweenSamples
+
+
+
+
+
+

+destSetup

+
+JLabeledRadioI18N destSetup
+
+
+
+
+
+ + + + + +
+Package org.apache.jmeter.protocol.jms.sampler
+ +

+ + + + + +
+Class org.apache.jmeter.protocol.jms.sampler.BaseJMSSampler extends AbstractSampler implements Serializable
+ +

+serialVersionUID: 240L + +

+ +

+ + + + + +
+Class org.apache.jmeter.protocol.jms.sampler.JMSProperties extends AbstractTestElement implements Serializable
+ +

+serialVersionUID: -2896138201054314563L + +

+ +

+ + + + + +
+Class org.apache.jmeter.protocol.jms.sampler.JMSProperty extends AbstractTestElement implements Serializable
+ +

+serialVersionUID: 6371090992800805753L + +

+ +

+ + + + + +
+Class org.apache.jmeter.protocol.jms.sampler.JMSSampler extends AbstractSampler implements Serializable
+ +

+serialVersionUID: 233L + +

+ +

+ + + + + +
+Class org.apache.jmeter.protocol.jms.sampler.PublisherSampler extends BaseJMSSampler implements Serializable
+ +

+serialVersionUID: 233L + +

+ + + + + +
+Serialized Fields
+ +

+file_contents

+
+String file_contents
+
+
+
+
+
+

+object_msg_file_contents

+
+Serializable object_msg_file_contents
+
+
+
+
+
+

+bytes_msg_file_contents

+
+byte[] bytes_msg_file_contents
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.protocol.jms.sampler.SubscriberSampler extends BaseJMSSampler implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialization Methods
+ +

+

+readResolve

+
+private Object readResolve()
+
+
+
+
+ +
+ + + + + +
+Package org.apache.jmeter.protocol.ldap.config.gui
+ +

+ + + + + +
+Class org.apache.jmeter.protocol.ldap.config.gui.LDAPArgument extends AbstractTestElement implements Serializable
+ +

+serialVersionUID: 240L + +

+ +

+ + + + + +
+Class org.apache.jmeter.protocol.ldap.config.gui.LDAPArguments extends ConfigTestElement implements Serializable
+ +

+serialVersionUID: 240L + +

+ +

+ + + + + +
+Class org.apache.jmeter.protocol.ldap.config.gui.LDAPArgumentsPanel extends AbstractConfigGui implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+tableLabel

+
+JLabel tableLabel
+
+
The title label for this component. +

+

+
+
+
+

+delete

+
+JButton delete
+
+
A button for removing arguments from the table. +

+

+
+
+ +

+ + + + + +
+Class org.apache.jmeter.protocol.ldap.config.gui.LdapConfigGui extends AbstractConfigGui implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+rootdn

+
+JTextField rootdn
+
+
+
+
+
+

+searchbase

+
+JTextField searchbase
+
+
+
+
+
+

+searchfilter

+
+JTextField searchfilter
+
+
+
+
+
+

+delete

+
+JTextField delete
+
+
+
+
+
+

+add

+
+JTextField add
+
+
+
+
+
+

+modify

+
+JTextField modify
+
+
+
+
+
+

+servername

+
+JTextField servername
+
+
+
+
+
+

+port

+
+JTextField port
+
+
+
+
+
+

+user_Defined

+
+JCheckBox user_Defined
+
+
+
+
+
+

+addTest

+
+JRadioButton addTest
+
+
+
+
+
+

+modifyTest

+
+JRadioButton modifyTest
+
+
+
+
+
+

+deleteTest

+
+JRadioButton deleteTest
+
+
+
+
+
+

+searchTest

+
+JRadioButton searchTest
+
+
+
+
+
+

+bGroup

+
+ButtonGroup bGroup
+
+
+
+
+
+

+displayName

+
+boolean displayName
+
+
+
+
+
+

+tableAddPanel

+
+ArgumentsPanel tableAddPanel
+
+
+
+
+
+

+tableModifyPanel

+
+ArgumentsPanel tableModifyPanel
+
+
+
+
+
+

+cards

+
+JPanel cards
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.protocol.ldap.config.gui.LdapExtConfigGui extends AbstractConfigGui implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+rootdn

+
+JTextField rootdn
+
+
+
+
+
+

+searchbase

+
+JTextField searchbase
+
+
+
+
+
+

+searchfilter

+
+JTextField searchfilter
+
+
+
+
+
+

+delete

+
+JTextField delete
+
+
+
+
+
+

+add

+
+JTextField add
+
+
+
+
+
+

+modify

+
+JTextField modify
+
+
+
+
+
+

+servername

+
+JTextField servername
+
+
+
+
+
+

+port

+
+JTextField port
+
+
+
+
+
+

+SCOPE_STRINGS

+
+String[] SCOPE_STRINGS
+
+
+
+
+
+

+scope

+
+JLabeledChoice scope
+
+
+
+
+
+

+countlim

+
+JTextField countlim
+
+
+
+
+
+

+timelim

+
+JTextField timelim
+
+
+
+
+
+

+attribs

+
+JTextField attribs
+
+
+
+
+
+

+retobj

+
+JCheckBox retobj
+
+
+
+
+
+

+deref

+
+JCheckBox deref
+
+
+
+
+
+

+userdn

+
+JTextField userdn
+
+
+
+
+
+

+userpw

+
+JTextField userpw
+
+
+
+
+
+

+comparedn

+
+JTextField comparedn
+
+
+
+
+
+

+comparefilt

+
+JTextField comparefilt
+
+
+
+
+
+

+modddn

+
+JTextField modddn
+
+
+
+
+
+

+newdn

+
+JTextField newdn
+
+
+
+
+
+

+connto

+
+JTextField connto
+
+
+
+
+
+

+parseflag

+
+JCheckBox parseflag
+
+
+
+
+
+

+secure

+
+JCheckBox secure
+
+
+
+
+
+

+addTest

+
+JRadioButton addTest
+
+
+
+
+
+

+modifyTest

+
+JRadioButton modifyTest
+
+
+
+
+
+

+deleteTest

+
+JRadioButton deleteTest
+
+
+
+
+
+

+searchTest

+
+JRadioButton searchTest
+
+
+
+
+
+

+bind

+
+JRadioButton bind
+
+
+
+
+
+

+rename

+
+JRadioButton rename
+
+
+
+
+
+

+unbind

+
+JRadioButton unbind
+
+
+
+
+
+

+sbind

+
+JRadioButton sbind
+
+
+
+
+
+

+compare

+
+JRadioButton compare
+
+
+
+
+
+

+bGroup

+
+ButtonGroup bGroup
+
+
+
+
+
+

+displayName

+
+boolean displayName
+
+
+
+
+
+

+tableAddPanel

+
+ArgumentsPanel tableAddPanel
+
+
+
+
+
+

+tableModifyPanel

+
+LDAPArgumentsPanel tableModifyPanel
+
+
+
+
+
+

+cards

+
+JPanel cards
+
+
+
+
+
+ + + + + +
+Package org.apache.jmeter.protocol.ldap.control.gui
+ +

+ + + + + +
+Class org.apache.jmeter.protocol.ldap.control.gui.LdapExtTestSamplerGui extends AbstractSamplerGui implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+ldapDefaultPanel

+
+LdapExtConfigGui ldapDefaultPanel
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.protocol.ldap.control.gui.LdapTestSamplerGui extends AbstractSamplerGui implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+loginPanel

+
+LoginConfigGui loginPanel
+
+
+
+
+
+

+ldapDefaultPanel

+
+LdapConfigGui ldapDefaultPanel
+
+
+
+
+
+ + + + + +
+Package org.apache.jmeter.protocol.ldap.sampler
+ +

+ + + + + +
+Class org.apache.jmeter.protocol.ldap.sampler.LDAPExtSampler extends AbstractSampler implements Serializable
+ +

+serialVersionUID: 240L + +

+ +

+ + + + + +
+Class org.apache.jmeter.protocol.ldap.sampler.LDAPSampler extends AbstractSampler implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+searchFoundEntries

+
+boolean searchFoundEntries
+
+
+
+
+
+ + + + + +
+Package org.apache.jmeter.protocol.mail.sampler
+ +

+ + + + + +
+Class org.apache.jmeter.protocol.mail.sampler.MailReaderSampler extends AbstractSampler implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+busy

+
+boolean busy
+
+
+
+
+
+ + + + + +
+Package org.apache.jmeter.protocol.mail.sampler.gui
+ +

+ + + + + +
+Class org.apache.jmeter.protocol.mail.sampler.gui.MailReaderSamplerGui extends AbstractSamplerGui implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+serverTypeBox

+
+JTextField serverTypeBox
+
+
+
+
+
+

+serverBox

+
+JTextField serverBox
+
+
+
+
+
+

+portBox

+
+JTextField portBox
+
+
+
+
+
+

+usernameBox

+
+JTextField usernameBox
+
+
+
+
+
+

+passwordBox

+
+JTextField passwordBox
+
+
+
+
+
+

+folderBox

+
+JTextField folderBox
+
+
+
+
+
+

+folderLabel

+
+JLabel folderLabel
+
+
+
+
+
+

+allMessagesButton

+
+JRadioButton allMessagesButton
+
+
+
+
+
+

+someMessagesButton

+
+JRadioButton someMessagesButton
+
+
+
+
+
+

+someMessagesField

+
+JTextField someMessagesField
+
+
+
+
+
+

+deleteBox

+
+JCheckBox deleteBox
+
+
+
+
+
+

+storeMimeMessageBox

+
+JCheckBox storeMimeMessageBox
+
+
+
+
+
+

+headerOnlyBox

+
+JCheckBox headerOnlyBox
+
+
+
+
+
+

+ServerTypeLabel

+
+String ServerTypeLabel
+
+
+
+
+
+

+ServerLabel

+
+String ServerLabel
+
+
+
+
+
+

+PortLabel

+
+String PortLabel
+
+
+
+
+
+

+AccountLabel

+
+String AccountLabel
+
+
+
+
+
+

+PasswordLabel

+
+String PasswordLabel
+
+
+
+
+
+

+NumMessagesLabel

+
+String NumMessagesLabel
+
+
+
+
+
+

+AllMessagesLabel

+
+String AllMessagesLabel
+
+
+
+
+
+

+DeleteLabel

+
+String DeleteLabel
+
+
+
+
+
+

+FolderLabel

+
+String FolderLabel
+
+
+
+
+
+

+STOREMIME

+
+String STOREMIME
+
+
+
+
+
+

+headerOnlyLabel

+
+String headerOnlyLabel
+
+
+
+
+
+

+securitySettingsPanel

+
+SecuritySettingsPanel securitySettingsPanel
+
+
+
+
+
+ + + + + +
+Package org.apache.jmeter.protocol.mongodb.config
+ +

+ + + + + +
+Class org.apache.jmeter.protocol.mongodb.config.MongoSourceElement extends ConfigTestElement implements Serializable
+ +

+serialVersionUID: 2100L + +

+ + + + + +
+Serialized Fields
+ +

+connection

+
+String connection
+
+
+
+
+
+

+source

+
+String source
+
+
+
+
+
+

+autoConnectRetry

+
+boolean autoConnectRetry
+
+
+
+
+
+

+connectionsPerHost

+
+int connectionsPerHost
+
+
+
+
+
+

+connectTimeout

+
+int connectTimeout
+
+
+
+
+
+

+maxAutoConnectRetryTime

+
+long maxAutoConnectRetryTime
+
+
+
+
+
+

+maxWaitTime

+
+int maxWaitTime
+
+
+
+
+
+

+socketTimeout

+
+int socketTimeout
+
+
+
+
+
+

+socketKeepAlive

+
+boolean socketKeepAlive
+
+
+
+
+
+

+threadsAllowedToBlockForConnectionMultiplier

+
+int threadsAllowedToBlockForConnectionMultiplier
+
+
+
+
+
+

+fsync

+
+boolean fsync
+
+
+
+
+
+

+safe

+
+boolean safe
+
+
+
+
+
+

+waitForJournaling

+
+boolean waitForJournaling
+
+
+
+
+
+

+writeOperationNumberOfServers

+
+int writeOperationNumberOfServers
+
+
+
+
+
+

+writeOperationTimeout

+
+int writeOperationTimeout
+
+
+
+
+
+

+continueOnInsertError

+
+boolean continueOnInsertError
+
+
+
+
+
+ + + + + +
+Package org.apache.jmeter.protocol.mongodb.sampler
+ +

+ + + + + +
+Class org.apache.jmeter.protocol.mongodb.sampler.MongoScriptSampler extends AbstractSampler implements Serializable
+ +

+serialVersionUID: -7789012234636439896L + +

+


+ + + + + +
+Package org.apache.jmeter.protocol.smtp.sampler
+ +

+ + + + + +
+Class org.apache.jmeter.protocol.smtp.sampler.SmtpSampler extends AbstractSampler implements Serializable
+ +

+serialVersionUID: 1L + +

+


+ + + + + +
+Package org.apache.jmeter.protocol.smtp.sampler.gui
+ +

+ + + + + +
+Class org.apache.jmeter.protocol.smtp.sampler.gui.SecuritySettingsPanel extends JPanel implements Serializable
+ +

+serialVersionUID: 1L + +

+ + + + + +
+Serialized Fields
+ +

+bgSecuritySettings

+
+ButtonGroup bgSecuritySettings
+
+
+
+
+
+

+rbUseNone

+
+JRadioButton rbUseNone
+
+
+
+
+
+

+rbUseSSL

+
+JRadioButton rbUseSSL
+
+
+
+
+
+

+rbUseStartTLS

+
+JRadioButton rbUseStartTLS
+
+
+
+
+
+

+cbTrustAllCerts

+
+JCheckBox cbTrustAllCerts
+
+
+
+
+
+

+cbEnforceStartTLS

+
+JCheckBox cbEnforceStartTLS
+
+
+
+
+
+

+cbUseLocalTrustStore

+
+JCheckBox cbUseLocalTrustStore
+
+
+
+
+
+

+jlTrustStoreToUse

+
+JLabel jlTrustStoreToUse
+
+
+
+
+
+

+tfTrustStoreToUse

+
+JTextField tfTrustStoreToUse
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.protocol.smtp.sampler.gui.SmtpPanel extends JPanel implements Serializable
+ +

+serialVersionUID: 1L + +

+ + + + + +
+Serialized Fields
+ +

+tfMailFrom

+
+JTextField tfMailFrom
+
+
+
+
+
+

+tfMailReplyTo

+
+JTextField tfMailReplyTo
+
+
+
+
+
+

+browseButton

+
+JButton browseButton
+
+
+
+
+
+

+emlBrowseButton

+
+JButton emlBrowseButton
+
+
+
+
+
+

+cbUseAuth

+
+JCheckBox cbUseAuth
+
+
+
+
+
+

+tfMailServer

+
+JTextField tfMailServer
+
+
+
+
+
+

+tfMailServerPort

+
+JTextField tfMailServerPort
+
+
+
+
+
+

+tfMailServerTimeout

+
+JTextField tfMailServerTimeout
+
+
+
+
+
+

+tfMailServerConnectionTimeout

+
+JTextField tfMailServerConnectionTimeout
+
+
+
+
+
+

+tfMailTo

+
+JTextField tfMailTo
+
+
+
+
+
+

+tfMailToCC

+
+JTextField tfMailToCC
+
+
+
+
+
+

+tfMailToBCC

+
+JTextField tfMailToBCC
+
+
+
+
+
+

+tfAttachment

+
+JTextField tfAttachment
+
+
+
+
+
+

+tfEmlMessage

+
+JTextField tfEmlMessage
+
+
+
+
+
+

+taMessage

+
+JTextArea taMessage
+
+
+
+
+
+

+cbPlainBody

+
+JCheckBox cbPlainBody
+
+
+
+
+
+

+jlAddressFrom

+
+JLabel jlAddressFrom
+
+
+
+
+
+

+jlAddressReplyTo

+
+JLabel jlAddressReplyTo
+
+
+
+
+
+

+jlAddressTo

+
+JLabel jlAddressTo
+
+
+
+
+
+

+jlAddressToCC

+
+JLabel jlAddressToCC
+
+
+
+
+
+

+jlAddressToBCC

+
+JLabel jlAddressToBCC
+
+
+
+
+
+

+jlMailServerPort

+
+JLabel jlMailServerPort
+
+
+
+
+
+

+jlMailServerTimeout

+
+JLabel jlMailServerTimeout
+
+
+
+
+
+

+jlMailServerConnectionTimeout

+
+JLabel jlMailServerConnectionTimeout
+
+
+
+
+
+

+jlMailServer

+
+JLabel jlMailServer
+
+
+
+
+
+

+jlAttachFile

+
+JLabel jlAttachFile
+
+
+
+
+
+

+jlDutPortStandard

+
+JLabel jlDutPortStandard
+
+
+
+
+
+

+jlPassword

+
+JLabel jlPassword
+
+
+
+
+
+

+jlSubject

+
+JLabel jlSubject
+
+
+
+
+
+

+jlUsername

+
+JLabel jlUsername
+
+
+
+
+
+

+jlMessage

+
+JLabel jlMessage
+
+
+
+
+
+

+attachmentFileChooser

+
+JFileChooser attachmentFileChooser
+
+
+
+
+
+

+emlFileChooser

+
+JFileChooser emlFileChooser
+
+
+
+
+
+

+tfAuthPassword

+
+JTextField tfAuthPassword
+
+
+
+
+
+

+tfAuthUsername

+
+JTextField tfAuthUsername
+
+
+
+
+
+

+tfSubject

+
+JTextField tfSubject
+
+
+
+
+
+

+cbSuppressSubject

+
+JCheckBox cbSuppressSubject
+
+
+
+
+
+

+cbIncludeTimestamp

+
+JCheckBox cbIncludeTimestamp
+
+
+
+
+
+

+cbMessageSizeStats

+
+JCheckBox cbMessageSizeStats
+
+
+
+
+
+

+cbEnableDebug

+
+JCheckBox cbEnableDebug
+
+
+
+
+
+

+cbUseEmlMessage

+
+JCheckBox cbUseEmlMessage
+
+
+
+
+
+

+headerFieldsPanel

+
+JPanel headerFieldsPanel
+
+
+
+
+
+

+addHeaderFieldButton

+
+JButton addHeaderFieldButton
+
+
+
+
+
+

+headerFieldName

+
+JLabel headerFieldName
+
+
+
+
+
+

+headerFieldValue

+
+JLabel headerFieldValue
+
+
+
+
+
+

+headerFields

+
+Map<K,V> headerFields
+
+
+
+
+
+

+removeButtons

+
+Map<K,V> removeButtons
+
+
+
+
+
+

+headerGridY

+
+int headerGridY
+
+
+
+
+
+

+securitySettingsPanel

+
+SecuritySettingsPanel securitySettingsPanel
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.protocol.smtp.sampler.gui.SmtpSamplerGui extends AbstractSamplerGui implements Serializable
+ +

+serialVersionUID: 1L + +

+ + + + + +
+Serialized Fields
+ +

+smtpPanel

+
+SmtpPanel smtpPanel
+
+
+
+
+
+ + + + + +
+Package org.apache.jmeter.protocol.system
+ +

+ + + + + +
+Class org.apache.jmeter.protocol.system.SystemSampler extends AbstractSampler implements Serializable
+ +

+serialVersionUID: 1L + +

+


+ + + + + +
+Package org.apache.jmeter.protocol.system.gui
+ +

+ + + + + +
+Class org.apache.jmeter.protocol.system.gui.SystemSamplerGui extends AbstractSamplerGui implements Serializable
+ +

+serialVersionUID: -2413845772703695934L + +

+ + + + + +
+Serialized Fields
+ +

+checkReturnCode

+
+JCheckBox checkReturnCode
+
+
+
+
+
+

+desiredReturnCode

+
+JLabeledTextField desiredReturnCode
+
+
+
+
+
+

+stdin

+
+FilePanelEntry stdin
+
+
+
+
+
+

+stdout

+
+FilePanelEntry stdout
+
+
+
+
+
+

+stderr

+
+FilePanelEntry stderr
+
+
+
+
+
+

+directory

+
+JLabeledTextField directory
+
+
+
+
+
+

+command

+
+JLabeledTextField command
+
+
+
+
+
+

+timeout

+
+JLabeledTextField timeout
+
+
+
+
+
+

+argsPanel

+
+ArgumentsPanel argsPanel
+
+
+
+
+
+

+envPanel

+
+ArgumentsPanel envPanel
+
+
+
+
+
+ + + + + +
+Package org.apache.jmeter.protocol.tcp.config.gui
+ +

+ + + + + +
+Class org.apache.jmeter.protocol.tcp.config.gui.TCPConfigGui extends AbstractConfigGui implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+serverPanel

+
+ServerPanel serverPanel
+
+
+
+
+
+

+classname

+
+JLabeledTextField classname
+
+
+
+
+
+

+reUseConnection

+
+JCheckBox reUseConnection
+
+
+
+
+
+

+setNoDelay

+
+TristateCheckBox setNoDelay
+
+
+
+
+
+

+closeConnection

+
+TristateCheckBox closeConnection
+
+
+
+
+
+

+soLinger

+
+JTextField soLinger
+
+
+
+
+
+

+eolByte

+
+JTextField eolByte
+
+
+
+
+
+

+requestData

+
+JSyntaxTextArea requestData
+
+
+
+
+
+

+displayName

+
+boolean displayName
+
+
+
+
+
+ + + + + +
+Package org.apache.jmeter.protocol.tcp.control.gui
+ +

+ + + + + +
+Class org.apache.jmeter.protocol.tcp.control.gui.TCPSamplerGui extends AbstractSamplerGui implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+loginPanel

+
+LoginConfigGui loginPanel
+
+
+
+
+
+

+tcpDefaultPanel

+
+TCPConfigGui tcpDefaultPanel
+
+
+
+
+
+ + + + + +
+Package org.apache.jmeter.protocol.tcp.sampler
+ +

+ + + + + +
+Class org.apache.jmeter.protocol.tcp.sampler.ReadException extends Exception implements Serializable
+ +

+serialVersionUID: -2770054697780959330L + +

+ + + + + +
+Serialized Fields
+ +

+partialResponse

+
+String partialResponse
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.protocol.tcp.sampler.TCPSampler extends AbstractSampler implements Serializable
+ +

+serialVersionUID: 280L + +

+


+ + + + + +
+Package org.apache.jmeter.reporters
+ +

+ + + + + +
+Class org.apache.jmeter.reporters.AbstractListenerElement extends AbstractTestElement implements Serializable
+ +

+serialVersionUID: 240L + +

+ +

+ + + + + +
+Class org.apache.jmeter.reporters.FileReporter extends JPanel implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+data

+
+Map<K,V> data
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.reporters.MailerModel extends AbstractTestElement implements Serializable
+ +

+serialVersionUID: 270L + +

+ + + + + +
+Serialized Fields
+ +

+failureCount

+
+long failureCount
+
+
+
+
+
+

+successCount

+
+long successCount
+
+
+
+
+
+

+failureMsgSent

+
+boolean failureMsgSent
+
+
+
+
+
+

+siteDown

+
+boolean siteDown
+
+
+
+
+
+

+successMsgSent

+
+boolean successMsgSent
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.reporters.MailerResultCollector extends ResultCollector implements Serializable
+ +

+serialVersionUID: 240L + +

+ +

+ + + + + +
+Class org.apache.jmeter.reporters.ResultAction extends OnErrorTestElement implements Serializable
+ +

+serialVersionUID: 240L + +

+ +

+ + + + + +
+Class org.apache.jmeter.reporters.ResultCollector extends AbstractListenerElement implements Serializable
+ +

+serialVersionUID: 233L + +

+ + + + + +
+Serialized Fields
+ +

+inTest

+
+boolean inTest
+
+
+
+
+
+

+isStats

+
+boolean isStats
+
+
+
+
+
+

+summariser

+
+Summariser summariser
+
+
the summarizer to which this result collector will forward the samples +

+

+
+
+ +

+ + + + + +
+Class org.apache.jmeter.reporters.ResultSaver extends AbstractTestElement implements Serializable
+ +

+serialVersionUID: 240L + +

+ +

+ + + + + +
+Class org.apache.jmeter.reporters.Summariser extends AbstractTestElement implements Serializable
+ +

+serialVersionUID: 233L + +

+


+ + + + + +
+Package org.apache.jmeter.reporters.gui
+ +

+ + + + + +
+Class org.apache.jmeter.reporters.gui.ResultActionGui extends AbstractPostProcessorGui implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+errorPanel

+
+OnErrorPanel errorPanel
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.reporters.gui.ResultSaverGui extends AbstractListenerGui implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+filename

+
+JTextField filename
+
+
+
+
+
+

+variableName

+
+JTextField variableName
+
+
+
+
+
+

+errorsOnly

+
+JCheckBox errorsOnly
+
+
+
+
+
+

+successOnly

+
+JCheckBox successOnly
+
+
+
+
+
+

+skipAutoNumber

+
+JCheckBox skipAutoNumber
+
+
+
+
+
+

+skipSuffix

+
+JCheckBox skipSuffix
+
+
+
+
+
+

+addTimestamp

+
+JCheckBox addTimestamp
+
+
+
+
+
+

+numberPadLength

+
+JLabeledTextField numberPadLength
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.reporters.gui.SummariserGui extends AbstractListenerGui implements Serializable
+ +

+serialVersionUID: 240L + +

+


+ + + + + +
+Package org.apache.jmeter.sampler
+ +

+ + + + + +
+Class org.apache.jmeter.sampler.DebugSampler extends AbstractSampler implements Serializable
+ +

+serialVersionUID: 232L + +

+ + + + + +
+Serialized Fields
+ +

+displayJMeterVariables

+
+boolean displayJMeterVariables
+
+
+
+
+
+

+displayJMeterProperties

+
+boolean displayJMeterProperties
+
+
+
+
+
+

+displaySystemProperties

+
+boolean displaySystemProperties
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.sampler.TestAction extends AbstractSampler implements Serializable
+ +

+serialVersionUID: 240L + +

+


+ + + + + +
+Package org.apache.jmeter.sampler.gui
+ +

+ + + + + +
+Class org.apache.jmeter.sampler.gui.TestActionGui extends AbstractSamplerGui implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+targetBox

+
+JComboBox targetBox
+
+
+
+
+
+

+pauseButton

+
+JRadioButton pauseButton
+
+
+
+
+
+

+stopButton

+
+JRadioButton stopButton
+
+
+
+
+
+

+stopNowButton

+
+JRadioButton stopNowButton
+
+
+
+
+
+

+restartNextLoopButton

+
+JRadioButton restartNextLoopButton
+
+
+
+
+
+

+durationField

+
+JTextField durationField
+
+
+
+
+
+

+target

+
+int target
+
+
+
+
+
+

+action

+
+int action
+
+
+
+
+
+

+targetLabel

+
+String targetLabel
+
+
+
+
+
+

+threadTarget

+
+String threadTarget
+
+
+
+
+
+

+testTarget

+
+String testTarget
+
+
+
+
+
+

+actionLabel

+
+String actionLabel
+
+
+
+
+
+

+pauseAction

+
+String pauseAction
+
+
+
+
+
+

+stopAction

+
+String stopAction
+
+
+
+
+
+

+stopNowAction

+
+String stopNowAction
+
+
+
+
+
+

+restartNextLoopAction

+
+String restartNextLoopAction
+
+
+
+
+
+

+durationLabel

+
+String durationLabel
+
+
+
+
+
+ + + + + +
+Package org.apache.jmeter.samplers
+ +

+ + + + + +
+Class org.apache.jmeter.samplers.AbstractSampler extends AbstractTestElement implements Serializable
+ +

+serialVersionUID: 240L + +

+ +

+ + + + + +
+Class org.apache.jmeter.samplers.AsynchSampleSender extends AbstractSampleSender implements Serializable
+ +

+serialVersionUID: 251L + +

+ + + + + +
+Serialization Methods
+ +

+

+readResolve

+
+private Object readResolve()
+                    throws ObjectStreamException
+
+
Processed by the RMI server code. +

+

+ +
Throws: +
ObjectStreamException - never
+
+
+ + + + + +
+Serialized Fields
+ +

+clientConfiguredCapacity

+
+int clientConfiguredCapacity
+
+
+
+
+
+

+listener

+
+RemoteSampleListener listener
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.samplers.BatchSampleSender extends AbstractSampleSender implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialization Methods
+ +

+

+readResolve

+
+private Object readResolve()
+                    throws ObjectStreamException
+
+
Processed by the RMI server code; acts as testStarted(). +

+

+ +
Throws: +
ObjectStreamException - never
+
+
+ + + + + +
+Serialized Fields
+ +

+clientConfiguredNumSamplesThreshold

+
+int clientConfiguredNumSamplesThreshold
+
+
+
+
+
+

+clientConfiguredTimeThresholdMs

+
+long clientConfiguredTimeThresholdMs
+
+
+
+
+
+

+listener

+
+RemoteSampleListener listener
+
+
+
+
+
+

+sampleStore

+
+List<E> sampleStore
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.samplers.DataStrippingSampleSender extends AbstractSampleSender implements Serializable
+ +

+serialVersionUID: -5556040298982085715L + +

+ + + + + +
+Serialization Methods
+ +

+

+readResolve

+
+private Object readResolve()
+                    throws ObjectStreamException
+
+
Processed by the RMI server code; acts as testStarted(). +

+

+ +
Throws: +
ObjectStreamException - never
+
+
+ + + + + +
+Serialized Fields
+ +

+listener

+
+RemoteSampleListener listener
+
+
+
+
+
+

+decoratedSender

+
+SampleSender decoratedSender
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.samplers.DiskStoreSampleSender extends AbstractSampleSender implements Serializable
+ +

+serialVersionUID: 252L + +

+ + + + + +
+Serialization Methods
+ +

+

+readResolve

+
+private Object readResolve()
+                    throws ObjectStreamException
+
+
Processed by the RMI server code; acts as testStarted(). +

+

+ +
Throws: +
ObjectStreamException - never
+
+
+ + + + + +
+Serialized Fields
+ +

+listener

+
+RemoteSampleListener listener
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.samplers.HoldSampleSender extends AbstractSampleSender implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialization Methods
+ +

+

+readResolve

+
+private Object readResolve()
+                    throws ObjectStreamException
+
+
Processed by the RMI server code; acts as testStarted(). +

+

+ +
Throws: +
ObjectStreamException - never
+
+
+ + + + + +
+Serialized Fields
+ +

+sampleStore

+
+List<E> sampleStore
+
+
+
+
+
+

+listener

+
+RemoteSampleListener listener
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.samplers.RemoteListenerWrapper extends AbstractTestElement implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+listener

+
+RemoteSampleListener listener
+
+
+
+
+
+

+sender

+
+SampleSender sender
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.samplers.RemoteSampleListenerImpl extends UnicastRemoteObject implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+testListener

+
+TestStateListener testListener
+
+
+
+
+
+

+sampleListener

+
+SampleListener sampleListener
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.samplers.RemoteSampleListenerWrapper extends AbstractTestElement implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+listener

+
+RemoteSampleListener listener
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.samplers.RemoteTestListenerWrapper extends AbstractTestElement implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+listener

+
+RemoteSampleListener listener
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.samplers.SampleEvent extends Object implements Serializable
+ +

+serialVersionUID: 232L + +

+ + + + + +
+Serialized Fields
+ +

+values

+
+String[] values
+
+
+
+
+
+

+result

+
+SampleResult result
+
+
+
+
+
+

+threadGroup

+
+String threadGroup
+
+
+
+
+
+

+hostname

+
+String hostname
+
+
+
+
+
+

+isTransactionSampleEvent

+
+boolean isTransactionSampleEvent
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.samplers.SampleResult extends Object implements Serializable
+ +

+serialVersionUID: 241L + +

+ + + + + +
+Serialized Fields
+ +

+saveConfig

+
+SampleSaveConfiguration saveConfig
+
+
+
+
+
+

+parent

+
+SampleResult parent
+
+
+
+
+
+

+responseData

+
+byte[] responseData
+
+
+
+
+
+

+responseCode

+
+String responseCode
+
+
+
+
+
+

+label

+
+String label
+
+
+
+
+
+

+resultFileName

+
+String resultFileName
+
+
Filename used by ResultSaver +

+

+
+
+
+

+samplerData

+
+String samplerData
+
+
The data used by the sampler +

+

+
+
+
+

+threadName

+
+String threadName
+
+
+
+
+
+

+responseMessage

+
+String responseMessage
+
+
+
+
+
+

+responseHeaders

+
+String responseHeaders
+
+
+
+
+
+

+contentType

+
+String contentType
+
+
+
+
+
+

+requestHeaders

+
+String requestHeaders
+
+
+
+
+
+

+timeStamp

+
+long timeStamp
+
+
the time stamp - can be start or end +

+

+
+
+
+

+startTime

+
+long startTime
+
+
+
+
+
+

+endTime

+
+long endTime
+
+
+
+
+
+

+idleTime

+
+long idleTime
+
+
+
+
+
+

+pauseTime

+
+long pauseTime
+
+
Start of pause (if any) +

+

+
+
+
+

+assertionResults

+
+List<E> assertionResults
+
+
+
+
+
+

+subResults

+
+List<E> subResults
+
+
+
+
+
+

+dataType

+
+String dataType
+
+
+
+
+
+

+success

+
+boolean success
+
+
+
+
+
+

+files

+
+Set<E> files
+
+
In Non GUI mode and when best config is used, size never exceeds 1, + but as a compromise set it to 3 +

+

+
+
+
+

+dataEncoding

+
+String dataEncoding
+
+
+
+
+
+

+elapsedTime

+
+long elapsedTime
+
+
elapsed time +

+

+
+
+
+

+latency

+
+long latency
+
+
time to first response +

+

+
+
+
+

+connectTime

+
+long connectTime
+
+
time to end connecting +

+

+
+
+
+

+startNextThreadLoop

+
+boolean startNextThreadLoop
+
+
Should thread start next iteration ? +

+

+
+
+
+

+stopThread

+
+boolean stopThread
+
+
Should thread terminate? +

+

+
+
+
+

+stopTest

+
+boolean stopTest
+
+
Should test terminate? +

+

+
+
+
+

+stopTestNow

+
+boolean stopTestNow
+
+
Should test terminate abruptly? +

+

+
+
+
+

+isMonitor

+
+boolean isMonitor
+
+
Is the sampler acting as a monitor? +

+

+
+
+
+

+sampleCount

+
+int sampleCount
+
+
+
+
+
+

+bytes

+
+int bytes
+
+
+
+
+
+

+headersSize

+
+int headersSize
+
+
+
+
+
+

+bodySize

+
+int bodySize
+
+
+
+
+
+

+groupThreads

+
+int groupThreads
+
+
Currently active threads in this thread group +

+

+
+
+
+

+allThreads

+
+int allThreads
+
+
Currently active threads in all thread groups +

+

+
+
+
+

+nanoTimeOffset

+
+long nanoTimeOffset
+
+
+
+
+
+

+useNanoTime

+
+boolean useNanoTime
+
+
+
+
+
+

+nanoThreadSleep

+
+long nanoThreadSleep
+
+
+
+
+
+

+location

+
+URL location
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.samplers.SampleSaveConfiguration extends Object implements Serializable
+ +

+serialVersionUID: 7L + +

+ + + + + +
+Serialization Methods
+ +

+

+readResolve

+
+private Object readResolve()
+
+
+
+
+ + + + + + +
+Serialized Fields
+ +

+time

+
+boolean time
+
+
+
+
+
+

+latency

+
+boolean latency
+
+
+
+
+
+

+connectTime

+
+boolean connectTime
+
+
+
+
+
+

+timestamp

+
+boolean timestamp
+
+
+
+
+
+

+success

+
+boolean success
+
+
+
+
+
+

+label

+
+boolean label
+
+
+
+
+
+

+code

+
+boolean code
+
+
+
+
+
+

+message

+
+boolean message
+
+
+
+
+
+

+threadName

+
+boolean threadName
+
+
+
+
+
+

+dataType

+
+boolean dataType
+
+
+
+
+
+

+encoding

+
+boolean encoding
+
+
+
+
+
+

+assertions

+
+boolean assertions
+
+
+
+
+
+

+subresults

+
+boolean subresults
+
+
+
+
+
+

+responseData

+
+boolean responseData
+
+
+
+
+
+

+samplerData

+
+boolean samplerData
+
+
+
+
+
+

+xml

+
+boolean xml
+
+
+
+
+
+

+fieldNames

+
+boolean fieldNames
+
+
+
+
+
+

+responseHeaders

+
+boolean responseHeaders
+
+
+
+
+
+

+requestHeaders

+
+boolean requestHeaders
+
+
+
+
+
+

+responseDataOnError

+
+boolean responseDataOnError
+
+
+
+
+
+

+saveAssertionResultsFailureMessage

+
+boolean saveAssertionResultsFailureMessage
+
+
+
+
+
+

+url

+
+boolean url
+
+
+
+
+
+

+bytes

+
+boolean bytes
+
+
+
+
+
+

+fileName

+
+boolean fileName
+
+
+
+
+
+

+hostname

+
+boolean hostname
+
+
+
+
+
+

+threadCounts

+
+boolean threadCounts
+
+
+
+
+
+

+sampleCount

+
+boolean sampleCount
+
+
+
+
+
+

+idleTime

+
+boolean idleTime
+
+
+
+
+
+

+assertionsResultsToSave

+
+int assertionsResultsToSave
+
+
+
+
+
+

+printMilliseconds

+
+boolean printMilliseconds
+
+
+
+
+
+

+delimiter

+
+String delimiter
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.samplers.StandardSampleSender extends AbstractSampleSender implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialization Methods
+ +

+

+readResolve

+
+private Object readResolve()
+                    throws ObjectStreamException
+
+
Processed by the RMI server code; acts as testStarted(). +

+

+ +
Throws: +
ObjectStreamException - never
+
+
+ + + + + +
+Serialized Fields
+ +

+listener

+
+RemoteSampleListener listener
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.samplers.StatisticalSampleResult extends SampleResult implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+errorCount

+
+int errorCount
+
+
+
+
+
+

+elapsed

+
+long elapsed
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.samplers.StatisticalSampleSender extends AbstractSampleSender implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialization Methods
+ +

+

+readResolve

+
+private Object readResolve()
+                    throws ObjectStreamException
+
+
Processed by the RMI server code; acts as testStarted(). +

+

+ +
Throws: +
ObjectStreamException - never
+
+
+ + + + + +
+Serialized Fields
+ +

+clientConfiguredNumSamplesThreshold

+
+int clientConfiguredNumSamplesThreshold
+
+
+
+
+
+

+clientConfiguredTimeThresholdMs

+
+long clientConfiguredTimeThresholdMs
+
+
+
+
+
+

+clientConfiguredKeyOnThreadName

+
+boolean clientConfiguredKeyOnThreadName
+
+
+
+
+
+

+listener

+
+RemoteSampleListener listener
+
+
+
+
+
+

+sampleStore

+
+List<E> sampleStore
+
+
+
+
+
+

+sampleTable

+
+Map<K,V> sampleTable
+
+
+
+
+
+ + + + + +
+Package org.apache.jmeter.samplers.gui
+ +

+ + + + + +
+Class org.apache.jmeter.samplers.gui.AbstractSamplerGui extends AbstractJMeterGuiComponent implements Serializable
+ +

+serialVersionUID: 240L + +

+


+ + + + + +
+Package org.apache.jmeter.swing
+ +

+ + + + + +
+Class org.apache.jmeter.swing.HtmlPane extends JTextPane implements Serializable
+ +

+serialVersionUID: 240L + +

+


+ + + + + +
+Package org.apache.jmeter.testbeans.gui
+ +

+ + + + + +
+Class org.apache.jmeter.testbeans.gui.GenericTestBeanCustomizer extends JPanel implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+scrollerCount

+
+int scrollerCount
+
+
+
+
+
+

+propertyFieldLabelMessage

+
+MessageFormat propertyFieldLabelMessage
+
+
Message format for property field labels: +

+

+
+
+
+

+propertyToolTipMessage

+
+MessageFormat propertyToolTipMessage
+
+
Message format for property tooltips: +

+

+
+
+
+

+propertyMap

+
+Map<K,V> propertyMap
+
+
The Map we're currently customizing. Set by setObject(). +

+

+
+
+ +

+ + + + + +
+Class org.apache.jmeter.testbeans.gui.TestBeanGUI extends AbstractJMeterGuiComponent implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+testBeanClass

+
+Class<T> testBeanClass
+
+
+
+
+
+

+customizerClass

+
+Class<T> customizerClass
+
+
+
+
+
+

+customizer

+
+Customizer customizer
+
+
The single customizer if the customizer class implements + SharedCustomizer, null otherwise. +

+

+
+
+
+

+customizers

+
+Map<K,V> customizers
+
+
TestElement to Customizer map if customizer is null. This is necessary to + avoid the cost of creating a new customizer on each edit. The cache size + needs to be limited, though, to avoid memory issues when editing very + large test plans. +

+

+
+
+
+

+customizerIndexInPanel

+
+int customizerIndexInPanel
+
+
Index of the customizer in the JPanel's child component list: +

+

+
+
+
+

+propertyMap

+
+Map<K,V> propertyMap
+
+
The property name to value map that the active customizer edits: +

+

+
+
+
+

+initialized

+
+boolean initialized
+
+
Whether the GUI components have been created. +

+

+
+
+
+ + + + + +
+Package org.apache.jmeter.testelement
+ +

+ + + + + +
+Class org.apache.jmeter.testelement.AbstractScopedAssertion extends AbstractScopedTestElement implements Serializable
+ +

+serialVersionUID: 240L + +

+ +

+ + + + + +
+Class org.apache.jmeter.testelement.AbstractScopedTestElement extends AbstractTestElement implements Serializable
+ +

+serialVersionUID: 240L + +

+ +

+ + + + + +
+Class org.apache.jmeter.testelement.AbstractTestElement extends Object implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+propMap

+
+Map<K,V> propMap
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.testelement.OnErrorTestElement extends AbstractTestElement implements Serializable
+ +

+serialVersionUID: 240L + +

+ +

+ + + + + +
+Class org.apache.jmeter.testelement.TestPlan extends AbstractTestElement implements Serializable
+ +

+serialVersionUID: 233L + +

+ + + + + +
+Serialization Methods
+ +

+

+readResolve

+
+private Object readResolve()
+
+
+
+
+ + +

+ + + + + +
+Class org.apache.jmeter.testelement.VariablesCollection extends Object implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+varMap

+
+Map<K,V> varMap
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.testelement.WorkBench extends AbstractTestElement implements Serializable
+ +

+serialVersionUID: 240L + +

+


+ + + + + +
+Package org.apache.jmeter.testelement.property
+ +

+ + + + + +
+Class org.apache.jmeter.testelement.property.AbstractProperty extends Object implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+name

+
+String name
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.testelement.property.BooleanProperty extends AbstractProperty implements Serializable
+ +

+serialVersionUID: 233L + +

+ + + + + +
+Serialized Fields
+ +

+value

+
+boolean value
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.testelement.property.CollectionProperty extends MultiProperty implements Serializable
+ +

+serialVersionUID: 221L + +

+ + + + + +
+Serialized Fields
+ +

+value

+
+Collection<E> value
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.testelement.property.DoubleProperty extends NumberProperty implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+value

+
+double value
+
+
+
+
+
+

+savedValue

+
+double savedValue
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.testelement.property.FloatProperty extends NumberProperty implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+value

+
+float value
+
+
+
+
+
+

+savedValue

+
+float savedValue
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.testelement.property.FunctionProperty extends AbstractProperty implements Serializable
+ +

+serialVersionUID: 233L + +

+ + + + + +
+Serialized Fields
+ +

+testIteration

+
+int testIteration
+
+
+
+
+
+

+cacheValue

+
+String cacheValue
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.testelement.property.IntegerProperty extends NumberProperty implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+value

+
+int value
+
+
+
+
+
+

+savedValue

+
+int savedValue
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.testelement.property.LongProperty extends NumberProperty implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+value

+
+long value
+
+
+
+
+
+

+savedValue

+
+long savedValue
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.testelement.property.MapProperty extends MultiProperty implements Serializable
+ +

+serialVersionUID: 221L + +

+ + + + + +
+Serialized Fields
+ +

+value

+
+Map<K,V> value
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.testelement.property.MultiProperty extends AbstractProperty implements Serializable
+ +

+serialVersionUID: 240L + +

+ +

+ + + + + +
+Class org.apache.jmeter.testelement.property.NullProperty extends AbstractProperty implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+tempValue

+
+JMeterProperty tempValue
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.testelement.property.NumberProperty extends AbstractProperty implements Serializable
+ +

+serialVersionUID: 240L + +

+ +

+ + + + + +
+Class org.apache.jmeter.testelement.property.ObjectProperty extends AbstractProperty implements Serializable
+ +

+serialVersionUID: 1L + +

+ + + + + +
+Serialized Fields
+ +

+value

+
+Object value
+
+
+
+
+
+

+savedValue

+
+Object savedValue
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.testelement.property.StringProperty extends AbstractProperty implements Serializable
+ +

+serialVersionUID: 233L + +

+ + + + + +
+Serialized Fields
+ +

+value

+
+String value
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.testelement.property.TestElementProperty extends MultiProperty implements Serializable
+ +

+serialVersionUID: 233L + +

+ + + + + +
+Serialized Fields
+ +

+value

+
+TestElement value
+
+
+
+
+
+ + + + + +
+Package org.apache.jmeter.threads
+ +

+ + + + + +
+Class org.apache.jmeter.threads.AbstractThreadGroup extends AbstractTestElement implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+numberOfThreads

+
+AtomicInteger numberOfThreads
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.threads.PostThreadGroup extends ThreadGroup implements Serializable
+ +

+serialVersionUID: 240L + +

+ +

+ + + + + +
+Class org.apache.jmeter.threads.RemoteThreadsListenerImpl extends UnicastRemoteObject implements Serializable
+ +

+serialVersionUID: 4790505101521183660L + +

+ + + + + +
+Serialized Fields
+ +

+listeners

+
+List<E> listeners
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.threads.RemoteThreadsListenerWrapper extends AbstractTestElement implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+listener

+
+RemoteThreadsListener listener
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.threads.SetupThreadGroup extends ThreadGroup implements Serializable
+ +

+serialVersionUID: 240L + +

+ +

+ + + + + +
+Class org.apache.jmeter.threads.ThreadGroup extends AbstractThreadGroup implements Serializable
+ +

+serialVersionUID: 280L + +

+ + + + + +
+Serialized Fields
+ +

+allThreads

+
+Map<K,V> allThreads
+
+
+
+
+
+

+running

+
+boolean running
+
+
Is test (still) running? +

+

+
+
+
+

+delayedStartup

+
+boolean delayedStartup
+
+
Are we using delayed startup? +

+

+
+
+
+ + + + + +
+Package org.apache.jmeter.threads.gui
+ +

+ + + + + +
+Class org.apache.jmeter.threads.gui.AbstractThreadGroupGui extends AbstractJMeterGuiComponent implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+continueBox

+
+JRadioButton continueBox
+
+
+
+
+
+

+startNextLoop

+
+JRadioButton startNextLoop
+
+
+
+
+
+

+stopThrdBox

+
+JRadioButton stopThrdBox
+
+
+
+
+
+

+stopTestBox

+
+JRadioButton stopTestBox
+
+
+
+
+
+

+stopTestNowBox

+
+JRadioButton stopTestNowBox
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.threads.gui.PostThreadGroupGui extends ThreadGroupGui implements Serializable
+ +

+serialVersionUID: 240L + +

+ +

+ + + + + +
+Class org.apache.jmeter.threads.gui.SetupThreadGroupGui extends ThreadGroupGui implements Serializable
+ +

+serialVersionUID: 240L + +

+ +

+ + + + + +
+Class org.apache.jmeter.threads.gui.ThreadGroupGui extends AbstractThreadGroupGui implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+loopPanel

+
+LoopControlPanel loopPanel
+
+
+
+
+
+

+mainPanel

+
+VerticalPanel mainPanel
+
+
+
+
+
+

+threadInput

+
+JTextField threadInput
+
+
+
+
+
+

+rampInput

+
+JTextField rampInput
+
+
+
+
+
+

+start

+
+JDateField start
+
+
+
+
+
+

+end

+
+JDateField end
+
+
+
+
+
+

+showDelayedStart

+
+boolean showDelayedStart
+
+
+
+
+
+

+delayedStart

+
+JCheckBox delayedStart
+
+
+
+
+
+

+scheduler

+
+JCheckBox scheduler
+
+
+
+
+
+

+duration

+
+JTextField duration
+
+
+
+
+
+

+delay

+
+JTextField delay
+
+
+
+
+
+ + + + + +
+Package org.apache.jmeter.timers
+ +

+ + + + + +
+Class org.apache.jmeter.timers.BeanShellTimer extends BeanShellTestElement implements Serializable
+ +

+serialVersionUID: 4L + +

+ +

+ + + + + +
+Class org.apache.jmeter.timers.BSFTimer extends BSFTestElement implements Serializable
+ +

+serialVersionUID: 4L + +

+ +

+ + + + + +
+Class org.apache.jmeter.timers.ConstantThroughputTimer extends AbstractTestElement implements Serializable
+ +

+serialVersionUID: 3L + +

+ + + + + +
+Serialized Fields
+ +

+previousTime

+
+long previousTime
+
+
Target time for the start of the next request. The delay provided by the + timer will be calculated so that the next request happens at this time. +

+

+
+
+
+

+mode

+
+ConstantThroughputTimer.Mode mode
+
+
+
+
+
+

+throughput

+
+double throughput
+
+
Desired throughput, in samples per minute. +

+

+
+
+ +

+ + + + + +
+Class org.apache.jmeter.timers.ConstantTimer extends AbstractTestElement implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+delay

+
+long delay
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.timers.GaussianRandomTimer extends RandomTimer implements Serializable
+ +

+serialVersionUID: 240L + +

+ +

+ + + + + +
+Class org.apache.jmeter.timers.JSR223Timer extends JSR223TestElement implements Serializable
+ +

+serialVersionUID: 4L + +

+ +

+ + + + + +
+Class org.apache.jmeter.timers.PoissonRandomTimer extends RandomTimer implements Serializable
+ +

+serialVersionUID: 3514708226113231004L + +

+ +

+ + + + + +
+Class org.apache.jmeter.timers.RandomTimer extends ConstantTimer implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+random

+
+Random random
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.timers.SyncTimer extends AbstractTestElement implements Serializable
+ +

+serialVersionUID: 2L + +

+ + + + + +
+Serialization Methods
+ +

+

+readResolve

+
+private Object readResolve()
+
+
+
+
+ + + + + + +
+Serialized Fields
+ +

+groupSize

+
+int groupSize
+
+
+
+
+
+

+timeoutInMs

+
+long timeoutInMs
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.timers.UniformRandomTimer extends RandomTimer implements Serializable
+ +

+serialVersionUID: 240L + +

+


+ + + + + +
+Package org.apache.jmeter.timers.gui
+ +

+ + + + + +
+Class org.apache.jmeter.timers.gui.AbstractRandomTimerGui extends AbstractTimerGui implements Serializable
+ +

+serialVersionUID: -322164502276145504L + +

+ + + + + +
+Serialized Fields
+ +

+delayField

+
+JTextField delayField
+
+
+
+
+
+

+rangeField

+
+JTextField rangeField
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.timers.gui.AbstractTimerGui extends AbstractJMeterGuiComponent implements Serializable
+ +

+serialVersionUID: 240L + +

+ +

+ + + + + +
+Class org.apache.jmeter.timers.gui.ConstantTimerGui extends AbstractTimerGui implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+delayField

+
+JTextField delayField
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.timers.gui.GaussianRandomTimerGui extends AbstractRandomTimerGui implements Serializable
+ +

+serialVersionUID: 240L + +

+ +

+ + + + + +
+Class org.apache.jmeter.timers.gui.PoissonRandomTimerGui extends AbstractRandomTimerGui implements Serializable
+ +

+serialVersionUID: -3218002787832805275L + +

+ +

+ + + + + +
+Class org.apache.jmeter.timers.gui.UniformRandomTimerGui extends AbstractRandomTimerGui implements Serializable
+ +

+serialVersionUID: 240L + +

+


+ + + + + +
+Package org.apache.jmeter.util
+ +

+ + + + + +
+Class org.apache.jmeter.util.BeanShellTestElement extends AbstractTestElement implements Serializable
+ +

+serialVersionUID: 4L + +

+ + + + + +
+Serialization Methods
+ +

+

+readResolve

+
+protected Object readResolve()
+
+
+
+
+ + + + + + +
+Serialized Fields
+ +

+parameters

+
+String parameters
+
+
+
+
+
+

+filename

+
+String filename
+
+
+
+
+
+

+script

+
+String script
+
+
+
+
+
+

+resetInterpreter

+
+boolean resetInterpreter
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.util.BSFTestElement extends ScriptingTestElement implements Serializable
+ +

+serialVersionUID: 233L + +

+ +

+ + + + + +
+Class org.apache.jmeter.util.JSR223TestElement extends ScriptingTestElement implements Serializable
+ +

+serialVersionUID: 233L + +

+ + + + + +
+Serialized Fields
+ +

+cacheKey

+
+String cacheKey
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.util.LocaleChangeEvent extends EventObject implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+locale

+
+Locale locale
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.util.ScopePanel extends JPanel implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+parentButton

+
+JRadioButton parentButton
+
+
+
+
+
+

+childButton

+
+JRadioButton childButton
+
+
+
+
+
+

+allButton

+
+JRadioButton allButton
+
+
+
+
+
+

+variableButton

+
+JRadioButton variableButton
+
+
+
+
+
+

+variableName

+
+JTextField variableName
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.util.ScriptingTestElement extends AbstractTestElement implements Serializable
+ +

+serialVersionUID: 281L + +

+ + + + + +
+Serialized Fields
+ +

+parameters

+
+String parameters
+
+
+
+
+
+

+filename

+
+String filename
+
+
+
+
+
+

+script

+
+String script
+
+
+
+
+
+

+scriptLanguage

+
+String scriptLanguage
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.util.ThreadLocalRandom extends Random implements Serializable
+ +

+serialVersionUID: -5851777807851030925L + +

+ + + + + +
+Serialized Fields
+ +

+rnd

+
+long rnd
+
+
The random seed. We can't use super.seed. +

+

+
+
+
+

+initialized

+
+boolean initialized
+
+
Initialization flag to permit calls to setSeed to succeed only + while executing the Random constructor. We can't allow others + since it would cause setting seed in one part of a program to + unintentionally impact other usages by the thread. +

+

+
+
+
+

+pad0

+
+long pad0
+
+
+
+
+
+

+pad1

+
+long pad1
+
+
+
+
+
+

+pad2

+
+long pad2
+
+
+
+
+
+

+pad3

+
+long pad3
+
+
+
+
+
+

+pad4

+
+long pad4
+
+
+
+
+
+

+pad5

+
+long pad5
+
+
+
+
+
+

+pad6

+
+long pad6
+
+
+
+
+
+

+pad7

+
+long pad7
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.util.TidyException extends Exception implements Serializable
+ +

+serialVersionUID: 240L + +

+


+ + + + + +
+Package org.apache.jmeter.visualizers
+ +

+ + + + + +
+Class org.apache.jmeter.visualizers.AssertionVisualizer extends AbstractVisualizer implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+textArea

+
+JTextArea textArea
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.visualizers.AxisGraph extends JPanel implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+data

+
+double[][] data
+
+
+
+
+
+

+title

+
+String title
+
+
+
+
+
+

+xAxisTitle

+
+String xAxisTitle
+
+
+
+
+
+

+yAxisTitle

+
+String yAxisTitle
+
+
+
+
+
+

+yAxisLabel

+
+String yAxisLabel
+
+
+
+
+
+

+maxLength

+
+int maxLength
+
+
+
+
+
+

+xAxisLabels

+
+String[] xAxisLabels
+
+
+
+
+
+

+width

+
+int width
+
+
+
+
+
+

+height

+
+int height
+
+
+
+
+
+

+legendLabels

+
+String[] legendLabels
+
+
+
+
+
+

+maxYAxisScale

+
+int maxYAxisScale
+
+
+
+
+
+

+titleFont

+
+Font titleFont
+
+
+
+
+
+

+legendFont

+
+Font legendFont
+
+
+
+
+
+

+valueFont

+
+Font valueFont
+
+
+
+
+
+

+color

+
+Color[] color
+
+
+
+
+
+

+foreColor

+
+Color foreColor
+
+
+
+
+
+

+outlinesBarFlag

+
+boolean outlinesBarFlag
+
+
+
+
+
+

+showGrouping

+
+boolean showGrouping
+
+
+
+
+
+

+valueOrientation

+
+boolean valueOrientation
+
+
+
+
+
+

+legendPlacement

+
+int legendPlacement
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.visualizers.BeanShellListener extends BeanShellTestElement implements Serializable
+ +

+serialVersionUID: 4L + +

+ +

+ + + + + +
+Class org.apache.jmeter.visualizers.BSFListener extends BSFTestElement implements Serializable
+ +

+serialVersionUID: 234L + +

+ +

+ + + + + +
+Class org.apache.jmeter.visualizers.ComparisonVisualizer extends AbstractVisualizer implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+resultsTree

+
+JTree resultsTree
+
+
+
+
+
+

+treeModel

+
+DefaultTreeModel treeModel
+
+
+
+
+
+

+root

+
+DefaultMutableTreeNode root
+
+
+
+
+
+

+base

+
+JTextPane base
+
+
+
+
+
+

+secondary

+
+JTextPane secondary
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.visualizers.DistributionGraph extends JComponent implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+model

+
+SamplingStatCalculator model
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.visualizers.DistributionGraphVisualizer extends AbstractVisualizer implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+model

+
+SamplingStatCalculator model
+
+
+
+
+
+

+graphPanel

+
+JPanel graphPanel
+
+
+
+
+
+

+graph

+
+DistributionGraph graph
+
+
+
+
+
+

+noteField

+
+JTextField noteField
+
+
+
+
+
+

+counter

+
+int counter
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.visualizers.Graph extends JComponent implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+wantData

+
+boolean wantData
+
+
+
+
+
+

+wantAverage

+
+boolean wantAverage
+
+
+
+
+
+

+wantDeviation

+
+boolean wantDeviation
+
+
+
+
+
+

+wantThroughput

+
+boolean wantThroughput
+
+
+
+
+
+

+wantMedian

+
+boolean wantMedian
+
+
+
+
+
+

+model

+
+CachingStatCalculator model
+
+
+
+
+
+

+graphMax

+
+long graphMax
+
+
+
+
+
+

+throughputMax

+
+double throughputMax
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.visualizers.GraphVisualizer extends AbstractVisualizer implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+nf

+
+NumberFormat nf
+
+
+
+
+
+

+model

+
+CachingStatCalculator model
+
+
+
+
+
+

+maxYField

+
+JTextField maxYField
+
+
+
+
+
+

+minYField

+
+JTextField minYField
+
+
+
+
+
+

+noSamplesField

+
+JTextField noSamplesField
+
+
+
+
+
+

+minute

+
+String minute
+
+
+
+
+
+

+graph

+
+Graph graph
+
+
+
+
+
+

+data

+
+JCheckBox data
+
+
+
+
+
+

+average

+
+JCheckBox average
+
+
+
+
+
+

+deviation

+
+JCheckBox deviation
+
+
+
+
+
+

+throughput

+
+JCheckBox throughput
+
+
+
+
+
+

+median

+
+JCheckBox median
+
+
+
+
+
+

+dataField

+
+JTextField dataField
+
+
+
+
+
+

+averageField

+
+JTextField averageField
+
+
+
+
+
+

+deviationField

+
+JTextField deviationField
+
+
+
+
+
+

+throughputField

+
+JTextField throughputField
+
+
+
+
+
+

+medianField

+
+JTextField medianField
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.visualizers.JSR223Listener extends JSR223TestElement implements Serializable
+ +

+serialVersionUID: 234L + +

+ +

+ + + + + +
+Class org.apache.jmeter.visualizers.LineGraph extends JPanel implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+data

+
+double[][] data
+
+
+
+
+
+

+title

+
+String title
+
+
+
+
+
+

+xAxisTitle

+
+String xAxisTitle
+
+
+
+
+
+

+yAxisTitle

+
+String yAxisTitle
+
+
+
+
+
+

+xAxisLabels

+
+String[] xAxisLabels
+
+
+
+
+
+

+yAxisLabel

+
+String[] yAxisLabel
+
+
+
+
+
+

+width

+
+int width
+
+
+
+
+
+

+height

+
+int height
+
+
+
+
+
+

+shape_counter

+
+int shape_counter
+
+
+
+
+
+

+paint_counter

+
+int paint_counter
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.visualizers.MailerVisualizer extends AbstractVisualizer implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+testerButton

+
+JButton testerButton
+
+
+
+
+
+

+addressField

+
+JTextField addressField
+
+
+
+
+
+

+fromField

+
+JTextField fromField
+
+
+
+
+
+

+smtpHostField

+
+JTextField smtpHostField
+
+
+
+
+
+

+smtpPortField

+
+JTextField smtpPortField
+
+
+
+
+
+

+failureSubjectField

+
+JTextField failureSubjectField
+
+
+
+
+
+

+successSubjectField

+
+JTextField successSubjectField
+
+
+
+
+
+

+failureField

+
+JTextField failureField
+
+
+
+
+
+

+failureLimitField

+
+JTextField failureLimitField
+
+
+
+
+
+

+successLimitField

+
+JTextField successLimitField
+
+
+
+
+
+

+smtpLoginField

+
+JTextField smtpLoginField
+
+
+
+
+
+

+smtpPasswordField

+
+JTextField smtpPasswordField
+
+
+
+
+
+

+authTypeCombo

+
+JComboBox authTypeCombo
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.visualizers.MonitorAccumModel extends Object implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+serverListMap

+
+Map<K,V> serverListMap
+
+
+
+
+
+

+current

+
+MonitorModel current
+
+
we use this to set the current monitorModel so that we can save the stats + to the resultcolllector. +

+

+
+
+
+

+listeners

+
+List<E> listeners
+
+
+
+
+
+

+defaultBufferSize

+
+int defaultBufferSize
+
+
By default, we set the default to 800 +

+

+
+
+
+

+connectorPrefix

+
+String connectorPrefix
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.visualizers.MonitorGraph extends JComponent implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+model

+
+MonitorAccumModel model
+
+
+
+
+
+

+current

+
+MonitorModel current
+
+
+
+
+
+

+drawHealth

+
+boolean drawHealth
+
+
+
+
+
+

+drawLoad

+
+boolean drawLoad
+
+
+
+
+
+

+drawMemory

+
+boolean drawMemory
+
+
+
+
+
+

+drawThread

+
+boolean drawThread
+
+
+
+
+
+

+drawYgrid

+
+boolean drawYgrid
+
+
+
+
+
+

+drawXgrid

+
+boolean drawXgrid
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.visualizers.MonitorHealthPanel extends JPanel implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+serverPanelMap

+
+Map<K,V> serverPanelMap
+
+
+
+
+
+

+servers

+
+JPanel servers
+
+
+
+
+
+

+model

+
+MonitorAccumModel model
+
+
+
+
+
+

+serverScrollPane

+
+JScrollPane serverScrollPane
+
+
+
+
+
+

+INFO_H

+
+String INFO_H
+
+
+
+
+
+

+INFO_A

+
+String INFO_A
+
+
+
+
+
+

+INFO_W

+
+String INFO_W
+
+
+
+
+
+

+INFO_D

+
+String INFO_D
+
+
+
+
+
+

+INFO_LOAD

+
+String INFO_LOAD
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.visualizers.MonitorHealthVisualizer extends AbstractVisualizer implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+tabPane

+
+MonitorTabPane tabPane
+
+
+
+
+
+

+healthPane

+
+MonitorHealthPanel healthPane
+
+
+
+
+
+

+perfPane

+
+MonitorPerformancePanel perfPane
+
+
+
+
+
+

+model

+
+MonitorAccumModel model
+
+
+
+
+
+

+graph

+
+MonitorGraph graph
+
+
+
+
+
+

+prefixField

+
+JLabeledTextField prefixField
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.visualizers.MonitorModel extends Object implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+current

+
+MonitorStats current
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.visualizers.MonitorPerformancePanel extends JSplitPane implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+TREEPANE

+
+JScrollPane TREEPANE
+
+
+
+
+
+

+GRAPHPANEL

+
+JPanel GRAPHPANEL
+
+
+
+
+
+

+SERVERTREE

+
+JTree SERVERTREE
+
+
+
+
+
+

+TREEMODEL

+
+DefaultTreeModel TREEMODEL
+
+
+
+
+
+

+GRAPH

+
+MonitorGraph GRAPH
+
+
+
+
+
+

+ROOTNODE

+
+DefaultMutableTreeNode ROOTNODE
+
+
+
+
+
+

+SERVERMAP

+
+Map<K,V> SERVERMAP
+
+
+
+
+
+

+MODEL

+
+MonitorAccumModel MODEL
+
+
+
+
+
+

+ROOTSAMPLE

+
+SampleResult ROOTSAMPLE
+
+
+
+
+
+

+LEGEND_HEALTH

+
+String LEGEND_HEALTH
+
+
+
+
+
+

+LEGEND_LOAD

+
+String LEGEND_LOAD
+
+
+
+
+
+

+LEGEND_MEM

+
+String LEGEND_MEM
+
+
+
+
+
+

+LEGEND_THREAD

+
+String LEGEND_THREAD
+
+
+
+
+
+

+LEGEND_HEALTH_ICON

+
+ImageIcon LEGEND_HEALTH_ICON
+
+
+
+
+
+

+LEGEND_LOAD_ICON

+
+ImageIcon LEGEND_LOAD_ICON
+
+
+
+
+
+

+LEGEND_MEM_ICON

+
+ImageIcon LEGEND_MEM_ICON
+
+
+
+
+
+

+LEGEND_THREAD_ICON

+
+ImageIcon LEGEND_THREAD_ICON
+
+
+
+
+
+

+GRID_LABEL_TOP

+
+String GRID_LABEL_TOP
+
+
+
+
+
+

+GRID_LABEL_MIDDLE

+
+String GRID_LABEL_MIDDLE
+
+
+
+
+
+

+GRID_LABEL_BOTTOM

+
+String GRID_LABEL_BOTTOM
+
+
+
+
+
+

+GRID_LABEL_HEALTHY

+
+String GRID_LABEL_HEALTHY
+
+
+
+
+
+

+GRID_LABEL_DEAD

+
+String GRID_LABEL_DEAD
+
+
+
+
+
+

+PERF_TITLE

+
+String PERF_TITLE
+
+
+
+
+
+

+SERVER_TITLE

+
+String SERVER_TITLE
+
+
+
+
+
+

+plaintext

+
+Font plaintext
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.visualizers.MonitorStats extends AbstractTestElement implements Serializable
+ +

+serialVersionUID: 240L + +

+ +

+ + + + + +
+Class org.apache.jmeter.visualizers.MonitorTabPane extends JTabbedPane implements Serializable
+ +

+serialVersionUID: 240L + +

+ +

+ + + + + +
+Class org.apache.jmeter.visualizers.PropertyControlGui extends AbstractConfigGui implements Serializable
+ +

+serialVersionUID: 1L + +

+ + + + + +
+Serialized Fields
+ +

+systemButton

+
+JCheckBox systemButton
+
+
+
+
+
+

+jmeterButton

+
+JCheckBox jmeterButton
+
+
+
+
+
+

+tableLabel

+
+JLabel tableLabel
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.visualizers.RespTimeGraphChart extends JPanel implements Serializable
+ +

+serialVersionUID: 280L + +

+ + + + + +
+Serialized Fields
+ +

+data

+
+double[][] data
+
+
+
+
+
+

+title

+
+String title
+
+
+
+
+
+

+xAxisTitle

+
+String xAxisTitle
+
+
+
+
+
+

+yAxisTitle

+
+String yAxisTitle
+
+
+
+
+
+

+yAxisLabel

+
+String yAxisLabel
+
+
+
+
+
+

+xAxisLabels

+
+String[] xAxisLabels
+
+
+
+
+
+

+width

+
+int width
+
+
+
+
+
+

+height

+
+int height
+
+
+
+
+
+

+incrYAxisScale

+
+int incrYAxisScale
+
+
+
+
+
+

+legendLabels

+
+String[] legendLabels
+
+
+
+
+
+

+maxYAxisScale

+
+int maxYAxisScale
+
+
+
+
+
+

+titleFont

+
+Font titleFont
+
+
+
+
+
+

+legendFont

+
+Font legendFont
+
+
+
+
+
+

+color

+
+Color[] color
+
+
+
+
+
+

+showGrouping

+
+boolean showGrouping
+
+
+
+
+
+

+legendPlacement

+
+int legendPlacement
+
+
+
+
+
+

+pointShape

+
+Shape pointShape
+
+
+
+
+
+

+strokeWidth

+
+float strokeWidth
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.visualizers.RespTimeGraphVisualizer extends AbstractVisualizer implements Serializable
+ +

+serialVersionUID: 280L + +

+ + + + + +
+Serialized Fields
+ +

+FONT_SMALL

+
+Font FONT_SMALL
+
+
+
+
+
+

+graphPanel

+
+RespTimeGraphChart graphPanel
+
+
+
+
+
+

+tabbedGraph

+
+JTabbedPane tabbedGraph
+
+
+
+
+
+

+saveGraphToFile

+
+boolean saveGraphToFile
+
+
+
+
+
+

+intervalValue

+
+int intervalValue
+
+
+
+
+
+

+intervalField

+
+JLabeledTextField intervalField
+
+
+
+
+
+

+intervalButton

+
+JButton intervalButton
+
+
+
+
+
+

+displayButton

+
+JButton displayButton
+
+
+
+
+
+

+saveGraph

+
+JButton saveGraph
+
+
+
+
+
+

+samplerSelection

+
+JCheckBox samplerSelection
+
+
+
+
+
+

+samplerMatchLabel

+
+JTextField samplerMatchLabel
+
+
+
+
+
+

+applyFilterBtn

+
+JButton applyFilterBtn
+
+
+
+
+
+

+caseChkBox

+
+JCheckBox caseChkBox
+
+
+
+
+
+

+regexpChkBox

+
+JCheckBox regexpChkBox
+
+
+
+
+
+

+titleFontNameList

+
+JComboBox titleFontNameList
+
+
+
+
+
+

+titleFontSizeList

+
+JComboBox titleFontSizeList
+
+
+
+
+
+

+titleFontStyleList

+
+JComboBox titleFontStyleList
+
+
+
+
+
+

+fontNameList

+
+JComboBox fontNameList
+
+
+
+
+
+

+fontSizeList

+
+JComboBox fontSizeList
+
+
+
+
+
+

+fontStyleList

+
+JComboBox fontStyleList
+
+
+
+
+
+

+legendPlacementList

+
+JComboBox legendPlacementList
+
+
+
+
+
+

+pointShapeLine

+
+JComboBox pointShapeLine
+
+
+
+
+
+

+strokeWidthList

+
+JComboBox strokeWidthList
+
+
+
+
+
+

+numberShowGrouping

+
+JCheckBox numberShowGrouping
+
+
+
+
+
+

+syncWithName

+
+JButton syncWithName
+
+
+
+
+
+

+graphTitle

+
+JLabeledTextField graphTitle
+
+
+
+
+
+

+xAxisTimeFormat

+
+JLabeledTextField xAxisTimeFormat
+
+
+
+
+
+

+maxValueYAxisLabel

+
+JLabeledTextField maxValueYAxisLabel
+
+
+
+
+
+

+dynamicGraphSize

+
+JCheckBox dynamicGraphSize
+
+
checkbox for use dynamic graph size +

+

+
+
+
+

+graphWidth

+
+JLabeledTextField graphWidth
+
+
+
+
+
+

+graphHeight

+
+JLabeledTextField graphHeight
+
+
+
+
+
+

+incrScaleYAxis

+
+JLabeledTextField incrScaleYAxis
+
+
+
+
+
+

+minStartTime

+
+long minStartTime
+
+
+
+
+
+

+maxStartTime

+
+long maxStartTime
+
+
+
+
+
+

+seriesNames

+
+Map<K,V> seriesNames
+
+
We want to retain insertion order, so LinkedHashMap is necessary +

+

+
+
+
+

+pList

+
+Map<K,V> pList
+
+
We want to retain insertion order, so LinkedHashMap is necessary +

+

+
+
+
+

+durationTest

+
+long durationTest
+
+
+
+
+
+

+colorIdx

+
+int colorIdx
+
+
+
+
+
+

+pattern

+
+Pattern pattern
+
+
+
+
+
+

+listColors

+
+List<E> listColors
+
+
+
+
+
+

+internalList

+
+List<E> internalList
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.visualizers.Sample extends Object implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+data

+
+long data
+
+
+
+
+
+

+average

+
+long average
+
+
+
+
+
+

+median

+
+long median
+
+
+
+
+
+

+distributionLine

+
+long distributionLine
+
+
+
+
+
+

+deviation

+
+long deviation
+
+
+
+
+
+

+throughput

+
+double throughput
+
+
+
+
+
+

+errorCount

+
+long errorCount
+
+
+
+
+
+

+success

+
+boolean success
+
+
+
+
+
+

+label

+
+String label
+
+
+
+
+
+

+threadName

+
+String threadName
+
+
+
+
+
+

+count

+
+long count
+
+
+
+
+
+

+endTime

+
+long endTime
+
+
+
+
+
+

+bytes

+
+int bytes
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.visualizers.ServerPanel extends JPanel implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+serverField

+
+JLabel serverField
+
+
+
+
+
+

+timestampField

+
+JLabel timestampField
+
+
+
+
+
+

+prefsize

+
+Dimension prefsize
+
+
Preference size for the health icon +

+

+
+
+
+

+healthIcon

+
+JLabel healthIcon
+
+
+
+
+
+

+loadIcon

+
+JLabel loadIcon
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.visualizers.SimpleDataWriter extends AbstractVisualizer implements Serializable
+ +

+serialVersionUID: 240L + +

+ +

+ + + + + +
+Class org.apache.jmeter.visualizers.SplineVisualizer extends AbstractVisualizer implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+BACKGROUND_COLOR

+
+Color BACKGROUND_COLOR
+
+
+
+
+
+

+MINIMUM_COLOR

+
+Color MINIMUM_COLOR
+
+
+
+
+
+

+MAXIMUM_COLOR

+
+Color MAXIMUM_COLOR
+
+
+
+
+
+

+AVERAGE_COLOR

+
+Color AVERAGE_COLOR
+
+
+
+
+
+

+INCOMING_COLOR

+
+Color INCOMING_COLOR
+
+
+
+
+
+

+NUMBERS_TO_DISPLAY

+
+int NUMBERS_TO_DISPLAY
+
+
+
+
+
+

+FILL_UP_WITH_ZEROS

+
+boolean FILL_UP_WITH_ZEROS
+
+
+
+
+
+

+minimumLabel

+
+JLabel minimumLabel
+
+
+
+
+
+

+maximumLabel

+
+JLabel maximumLabel
+
+
+
+
+
+

+averageLabel

+
+JLabel averageLabel
+
+
+
+
+
+

+incomingLabel

+
+JLabel incomingLabel
+
+
+
+
+
+

+minimumNumberLabel

+
+JLabel minimumNumberLabel
+
+
+
+
+
+

+maximumNumberLabel

+
+JLabel maximumNumberLabel
+
+
+
+
+
+

+averageNumberLabel

+
+JLabel averageNumberLabel
+
+
+
+
+
+

+incomingNumberLabel

+
+JLabel incomingNumberLabel
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.visualizers.SplineVisualizer.SplineGraph extends JComponent implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+WAITING_COLOR

+
+Color WAITING_COLOR
+
+
+
+
+
+

+lastWidth

+
+int lastWidth
+
+
+
+
+
+

+lastHeight

+
+int lastHeight
+
+
+
+
+
+

+plot

+
+int[] plot
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.visualizers.StatGraphVisualizer extends AbstractVisualizer implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+GRAPH_COLUMNS

+
+String[] GRAPH_COLUMNS
+
+
+
+
+
+

+TOTAL_ROW_LABEL

+
+String TOTAL_ROW_LABEL
+
+
+
+
+
+

+FONT_SMALL

+
+Font FONT_SMALL
+
+
+
+
+
+

+myJTable

+
+JTable myJTable
+
+
+
+
+
+

+myScrollPane

+
+JScrollPane myScrollPane
+
+
+
+
+
+

+tableRows

+
+Map<K,V> tableRows
+
+
+
+
+
+

+graphPanel

+
+AxisGraph graphPanel
+
+
+
+
+
+

+settingsPane

+
+JPanel settingsPane
+
+
+
+
+
+

+spane

+
+JSplitPane spane
+
+
+
+
+
+

+tabbedGraph

+
+JTabbedPane tabbedGraph
+
+
+
+
+
+

+displayButton

+
+JButton displayButton
+
+
+
+
+
+

+saveGraph

+
+JButton saveGraph
+
+
+
+
+
+

+saveTable

+
+JButton saveTable
+
+
+
+
+
+

+chooseForeColor

+
+JButton chooseForeColor
+
+
+
+
+
+

+syncWithName

+
+JButton syncWithName
+
+
+
+
+
+

+saveHeaders

+
+JCheckBox saveHeaders
+
+
+
+
+
+

+graphTitle

+
+JLabeledTextField graphTitle
+
+
+
+
+
+

+maxLengthXAxisLabel

+
+JLabeledTextField maxLengthXAxisLabel
+
+
+
+
+
+

+maxValueYAxisLabel

+
+JLabeledTextField maxValueYAxisLabel
+
+
+
+
+
+

+dynamicGraphSize

+
+JCheckBox dynamicGraphSize
+
+
checkbox for use dynamic graph size +

+

+
+
+
+

+graphWidth

+
+JLabeledTextField graphWidth
+
+
+
+
+
+

+graphHeight

+
+JLabeledTextField graphHeight
+
+
+
+
+
+

+yAxisLabel

+
+String yAxisLabel
+
+
+
+
+
+

+yAxisTitle

+
+String yAxisTitle
+
+
+
+
+
+

+saveGraphToFile

+
+boolean saveGraphToFile
+
+
+
+
+
+

+defaultWidth

+
+int defaultWidth
+
+
+
+
+
+

+defaultHeight

+
+int defaultHeight
+
+
+
+
+
+

+columnsList

+
+JComboBox columnsList
+
+
+
+
+
+

+eltList

+
+List<E> eltList
+
+
+
+
+
+

+columnSelection

+
+JCheckBox columnSelection
+
+
+
+
+
+

+columnMatchLabel

+
+JTextField columnMatchLabel
+
+
+
+
+
+

+applyFilterBtn

+
+JButton applyFilterBtn
+
+
+
+
+
+

+caseChkBox

+
+JCheckBox caseChkBox
+
+
+
+
+
+

+regexpChkBox

+
+JCheckBox regexpChkBox
+
+
+
+
+
+

+titleFontNameList

+
+JComboBox titleFontNameList
+
+
+
+
+
+

+titleFontSizeList

+
+JComboBox titleFontSizeList
+
+
+
+
+
+

+titleFontStyleList

+
+JComboBox titleFontStyleList
+
+
+
+
+
+

+valueFontNameList

+
+JComboBox valueFontNameList
+
+
+
+
+
+

+valueFontSizeList

+
+JComboBox valueFontSizeList
+
+
+
+
+
+

+valueFontStyleList

+
+JComboBox valueFontStyleList
+
+
+
+
+
+

+fontNameList

+
+JComboBox fontNameList
+
+
+
+
+
+

+fontSizeList

+
+JComboBox fontSizeList
+
+
+
+
+
+

+fontStyleList

+
+JComboBox fontStyleList
+
+
+
+
+
+

+legendPlacementList

+
+JComboBox legendPlacementList
+
+
+
+
+
+

+drawOutlinesBar

+
+JCheckBox drawOutlinesBar
+
+
+
+
+
+

+numberShowGrouping

+
+JCheckBox numberShowGrouping
+
+
+
+
+
+

+valueLabelsVertical

+
+JCheckBox valueLabelsVertical
+
+
+
+
+
+

+colorBarGraph

+
+Color colorBarGraph
+
+
+
+
+
+

+colorForeGraph

+
+Color colorForeGraph
+
+
+
+
+
+

+nbColToGraph

+
+int nbColToGraph
+
+
+
+
+
+

+pattern

+
+Pattern pattern
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.visualizers.StatVisualizer extends AbstractVisualizer implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+TOTAL_ROW_LABEL

+
+String TOTAL_ROW_LABEL
+
+
+
+
+
+

+myJTable

+
+JTable myJTable
+
+
+
+
+
+

+myScrollPane

+
+JScrollPane myScrollPane
+
+
+
+
+
+

+saveTable

+
+JButton saveTable
+
+
+
+
+
+

+saveHeaders

+
+JCheckBox saveHeaders
+
+
+
+
+
+

+useGroupName

+
+JCheckBox useGroupName
+
+
+
+
+
+

+tableRows

+
+Map<K,V> tableRows
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.visualizers.SummaryReport extends AbstractVisualizer implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+TOTAL_ROW_LABEL

+
+String TOTAL_ROW_LABEL
+
+
+
+
+
+

+myJTable

+
+JTable myJTable
+
+
+
+
+
+

+myScrollPane

+
+JScrollPane myScrollPane
+
+
+
+
+
+

+saveTable

+
+JButton saveTable
+
+
+
+
+
+

+saveHeaders

+
+JCheckBox saveHeaders
+
+
+
+
+
+

+useGroupName

+
+JCheckBox useGroupName
+
+
+
+
+
+

+tableRows

+
+Map<K,V> tableRows
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.visualizers.TableSample extends Object implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+totalSamples

+
+long totalSamples
+
+
+
+
+
+

+sampleCount

+
+int sampleCount
+
+
+
+
+
+

+startTime

+
+long startTime
+
+
+
+
+
+

+threadName

+
+String threadName
+
+
+
+
+
+

+label

+
+String label
+
+
+
+
+
+

+elapsed

+
+long elapsed
+
+
+
+
+
+

+success

+
+boolean success
+
+
+
+
+
+

+bytes

+
+long bytes
+
+
+
+
+
+

+latency

+
+long latency
+
+
+
+
+
+

+connect

+
+long connect
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.visualizers.TableVisualizer extends AbstractVisualizer implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+model

+
+ObjectTableModel model
+
+
+
+
+
+

+table

+
+JTable table
+
+
+
+
+
+

+dataField

+
+JTextField dataField
+
+
+
+
+
+

+averageField

+
+JTextField averageField
+
+
+
+
+
+

+deviationField

+
+JTextField deviationField
+
+
+
+
+
+

+noSamplesField

+
+JTextField noSamplesField
+
+
+
+
+
+

+tableScrollPanel

+
+JScrollPane tableScrollPanel
+
+
+
+
+
+

+autoscroll

+
+JCheckBox autoscroll
+
+
+
+
+
+

+childSamples

+
+JCheckBox childSamples
+
+
+
+
+
+

+format

+
+Format format
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.visualizers.TreeNodeRenderer extends DefaultTreeCellRenderer implements Serializable
+ +

+serialVersionUID: 240L + +

+ +

+ + + + + +
+Class org.apache.jmeter.visualizers.ViewResultsFullVisualizer extends AbstractVisualizer implements Serializable
+ +

+serialVersionUID: 7338676747296593842L + +

+ + + + + +
+Serialized Fields
+ +

+mainSplit

+
+JSplitPane mainSplit
+
+
+
+
+
+

+root

+
+DefaultMutableTreeNode root
+
+
+
+
+
+

+treeModel

+
+DefaultTreeModel treeModel
+
+
+
+
+
+

+jTree

+
+JTree jTree
+
+
+
+
+
+

+leftSide

+
+Component leftSide
+
+
+
+
+
+

+rightSide

+
+JTabbedPane rightSide
+
+
+
+
+
+

+selectRenderPanel

+
+JComboBox selectRenderPanel
+
+
+
+
+
+

+selectedTab

+
+int selectedTab
+
+
+
+
+
+

+resultsRender

+
+ResultRenderer resultsRender
+
+
+
+
+
+

+lastSelectionEvent

+
+TreeSelectionEvent lastSelectionEvent
+
+
+
+
+
+

+autoScrollCB

+
+JCheckBox autoScrollCB
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jmeter.visualizers.XMLDefaultMutableTreeNode extends DefaultMutableTreeNode implements Serializable
+ +

+serialVersionUID: 240L + +

+


+ + + + + +
+Package org.apache.jmeter.visualizers.backend
+ +

+ + + + + +
+Class org.apache.jmeter.visualizers.backend.BackendListener extends AbstractTestElement implements Serializable
+ +

+serialVersionUID: 8184103677832024335L + +

+ + + + + +
+Serialized Fields
+ +

+clientClass

+
+Class<T> clientClass
+
+
The BackendListenerClient class used by this sampler. + Created by testStarted; copied to cloned instances. +

+

+
+
+ +

+ + + + + +
+Class org.apache.jmeter.visualizers.backend.BackendListenerGui extends AbstractListenerGui implements Serializable
+ +

+serialVersionUID: 4331668988576438604L + +

+ + + + + +
+Serialized Fields
+ +

+classnameCombo

+
+JComboBox classnameCombo
+
+
A combo box allowing the user to choose a backend class. +

+

+
+
+
+

+queueSize

+
+JTextField queueSize
+
+
A field allowing the user to specify the size of Queue +

+

+
+
+
+

+argsPanel

+
+ArgumentsPanel argsPanel
+
+
A panel allowing the user to set arguments for this test. +

+

+
+
+
+ + + + + +
+Package org.apache.jmeter.visualizers.gui
+ +

+ + + + + +
+Class org.apache.jmeter.visualizers.gui.AbstractListenerGui extends AbstractJMeterGuiComponent implements Serializable
+ +

+serialVersionUID: 240L + +

+ +

+ + + + + +
+Class org.apache.jmeter.visualizers.gui.AbstractVisualizer extends AbstractListenerGui implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+filePanel

+
+FilePanel filePanel
+
+
A panel allowing results to be saved. +

+

+
+
+
+

+errorLogging

+
+JCheckBox errorLogging
+
+
A checkbox choosing whether or not only errors should be logged. +

+

+
+
+
+

+successOnlyLogging

+
+JCheckBox successOnlyLogging
+
+
+
+
+
+

+collector

+
+ResultCollector collector
+
+
+
+
+
+

+isStats

+
+boolean isStats
+
+
+
+
+
+ + + + + +
+Package org.apache.jorphan.collections
+ +

+ + + + + +
+Class org.apache.jorphan.collections.Data extends Object implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+data

+
+Map<K,V> data
+
+
+
+
+
+

+header

+
+List<E> header
+
+
+
+
+
+

+currentPos

+
+int currentPos
+
+
+
+
+
+

+size

+
+int size
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jorphan.collections.HashTree extends Object implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialization Methods
+ +

+

+readObject

+
+private void readObject(ObjectInputStream ois)
+                 throws ClassNotFoundException,
+                        IOException
+
+
Method readObject. +

+

+ +
Throws: +
ClassNotFoundException - when the class for the deserialization can not be found +
IOException - when I/O error occurs
+
+
+
+

+writeObject

+
+private void writeObject(ObjectOutputStream oos)
+                  throws IOException
+
+
+ +
Throws: +
IOException
+
+
+ + + + + +
+Serialized Fields
+ +

+data

+
+Map<K,V> data
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jorphan.collections.ListedHashTree extends HashTree implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialization Methods
+ +

+

+readObject

+
+private void readObject(ObjectInputStream ois)
+                 throws ClassNotFoundException,
+                        IOException
+
+
+ +
Throws: +
ClassNotFoundException +
IOException
+
+
+
+

+writeObject

+
+private void writeObject(ObjectOutputStream oos)
+                  throws IOException
+
+
+ +
Throws: +
IOException
+
+
+ + + + + +
+Serialized Fields
+ +

+order

+
+List<E> order
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jorphan.collections.SortedHashTree extends HashTree implements Serializable
+ +

+serialVersionUID: 233L + +

+


+ + + + + +
+Package org.apache.jorphan.gui
+ +

+ + + + + +
+Class org.apache.jorphan.gui.AbstractTreeTableModel extends DefaultTableModel implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+rootNode

+
+TreeNode rootNode
+
+
+
+
+
+

+listener

+
+EventListenerList listener
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jorphan.gui.DefaultTreeTableModel extends AbstractTreeTableModel implements Serializable
+ +

+serialVersionUID: 240L + +

+ +

+ + + + + +
+Class org.apache.jorphan.gui.JLabeledChoice extends JPanel implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+mLabel

+
+JLabel mLabel
+
+
+
+
+
+

+choiceList

+
+JComboBox choiceList
+
+
+
+
+
+

+mChangeListeners

+
+ArrayList<E> mChangeListeners
+
+
+
+
+
+

+delete

+
+JButton delete
+
+
+
+
+
+

+add

+
+JButton add
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jorphan.gui.JLabeledPasswordField extends JLabeledTextField implements Serializable
+ +

+serialVersionUID: 240L + +

+ +

+ + + + + +
+Class org.apache.jorphan.gui.JLabeledTextArea extends JPanel implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+mLabel

+
+JLabel mLabel
+
+
+
+
+
+

+mTextArea

+
+JTextArea mTextArea
+
+
+
+
+
+

+mChangeListeners

+
+ArrayList<E> mChangeListeners
+
+
+
+
+
+

+oldValue

+
+String oldValue
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jorphan.gui.JLabeledTextField extends JPanel implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+mLabel

+
+JLabel mLabel
+
+
+
+
+
+

+mTextField

+
+JTextField mTextField
+
+
+
+
+
+

+mChangeListeners

+
+ArrayList<E> mChangeListeners
+
+
+
+
+
+

+oldValue

+
+String oldValue
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jorphan.gui.JTreeTable extends JTable implements Serializable
+ +

+serialVersionUID: 240L + +

+ +

+ + + + + +
+Class org.apache.jorphan.gui.NumberRenderer extends DefaultTableCellRenderer implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+formatter

+
+NumberFormat formatter
+
+
+
+
+ +

+ + + + + +
+Class org.apache.jorphan.gui.ObjectTableModel extends DefaultTableModel implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialization Methods
+ +

+

+readResolve

+
+private Object readResolve()
+
+
+
+
+ + +

+ + + + + +
+Class org.apache.jorphan.gui.RateRenderer extends NumberRenderer implements Serializable
+ +

+serialVersionUID: 240L + +

+ +

+ + + + + +
+Class org.apache.jorphan.gui.RightAlignRenderer extends DefaultTableCellRenderer implements Serializable
+ +

+serialVersionUID: 240L + +

+


+ + + + + +
+Package org.apache.jorphan.gui.layout
+ +

+ + + + + +
+Class org.apache.jorphan.gui.layout.VerticalLayout extends Object implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+vgap

+
+int vgap
+
+
The vertical vgap between components...defaults to 5. +

+

+
+
+
+

+alignment

+
+int alignment
+
+
LEFT, RIGHT, CENTER or BOTH...how the components are justified. +

+

+
+
+
+

+anchor

+
+int anchor
+
+
TOP, BOTTOM or CENTER ...where are the components positioned in an + overlarge space. +

+

+
+
+
+ + + + + +
+Package org.apache.jorphan.io
+ +

+ + + + + +
+Class org.apache.jorphan.io.TextFile extends File implements Serializable
+ +

+serialVersionUID: 240L + +

+ + + + + +
+Serialized Fields
+ +

+encoding

+
+String encoding
+
+
File encoding. null means use the platform's default. +

+

+
+
+
+ + + + + +
+Package org.apache.jorphan.math
+ +

+ + + + + +
+Class org.apache.jorphan.math.NumberComparator extends Object implements Serializable
+ +

+serialVersionUID: 1L + +

+


+ + + + + +
+Package org.apache.jorphan.util
+ +

+ + + + + +
+Class org.apache.jorphan.util.JMeterError extends Error implements Serializable
+ +

+serialVersionUID: 240L + +

+ +

+ + + + + +
+Class org.apache.jorphan.util.JMeterException extends Exception implements Serializable
+ +

+serialVersionUID: 240L + +

+ +

+ + + + + +
+Class org.apache.jorphan.util.JMeterStopTestException extends RuntimeException implements Serializable
+ +

+serialVersionUID: 240L + +

+ +

+ + + + + +
+Class org.apache.jorphan.util.JMeterStopTestNowException extends RuntimeException implements Serializable
+ +

+serialVersionUID: 240L + +

+ +

+ + + + + +
+Class org.apache.jorphan.util.JMeterStopThreadException extends RuntimeException implements Serializable
+ +

+serialVersionUID: 240L + +

+ +

+


+ + + + + + + + + + + + + + + +
+Apache JMeter +
+ + + +
+Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved. + + diff --git a/docs/api/stylesheet.css b/docs/api/stylesheet.css new file mode 100644 index 00000000000..6ea9e516161 --- /dev/null +++ b/docs/api/stylesheet.css @@ -0,0 +1,29 @@ +/* Javadoc style sheet */ + +/* Define colors, fonts and other style attributes here to override the defaults */ + +/* Page background color */ +body { background-color: #FFFFFF; color:#000000 } + +/* Headings */ +h1 { font-size: 145% } + +/* Table colors */ +.TableHeadingColor { background: #CCCCFF; color:#000000 } /* Dark mauve */ +.TableSubHeadingColor { background: #EEEEFF; color:#000000 } /* Light mauve */ +.TableRowColor { background: #FFFFFF; color:#000000 } /* White */ + +/* Font used in left-hand frame lists */ +.FrameTitleFont { font-size: 100%; font-family: Helvetica, Arial, sans-serif; color:#000000 } +.FrameHeadingFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif; color:#000000 } +.FrameItemFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif; color:#000000 } + +/* Navigation bar fonts and colors */ +.NavBarCell1 { background-color:#EEEEFF; color:#000000} /* Light mauve */ +.NavBarCell1Rev { background-color:#00008B; color:#FFFFFF} /* Dark Blue */ +.NavBarFont1 { font-family: Arial, Helvetica, sans-serif; color:#000000;color:#000000;} +.NavBarFont1Rev { font-family: Arial, Helvetica, sans-serif; color:#FFFFFF;color:#FFFFFF;} + +.NavBarCell2 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF; color:#000000} +.NavBarCell3 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF; color:#000000} + From 8c6c7128643d4376683b0520d3983abd418eb258 Mon Sep 17 00:00:00 2001 From: Bruno Demion Date: Sat, 14 Mar 2015 14:29:20 +0000 Subject: [PATCH 05/19] Backport the commit r1666554 (fix for iOS browsing) and update the website docs git-svn-id: https://svn.apache.org/repos/asf/jmeter/branches/docs-2.13@1666688 13f79535-47bb-0310-9956-ffa450edef68 --- docs/building.html | 2 +- docs/changes.html | 2 +- docs/changes_history.html | 2 +- docs/download_jmeter.html | 2 +- docs/index.html | 2 +- docs/issues.html | 2 +- docs/jmeter_irc.html | 2 +- docs/localising/index.html | 2 +- docs/mail.html | 2 +- docs/mail2.html | 2 +- docs/nightly.html | 2 +- docs/svnindex.html | 2 +- docs/usermanual/best-practices.html | 2 +- docs/usermanual/boss.html | 2 +- docs/usermanual/build-adv-web-test-plan.html | 2 +- docs/usermanual/build-db-test-plan.html | 2 +- docs/usermanual/build-ftp-test-plan.html | 2 +- docs/usermanual/build-jms-point-to-point-test-plan.html | 2 +- docs/usermanual/build-jms-topic-test-plan.html | 2 +- docs/usermanual/build-ldap-test-plan.html | 2 +- docs/usermanual/build-ldapext-test-plan.html | 2 +- docs/usermanual/build-monitor-test-plan.html | 2 +- docs/usermanual/build-test-plan.html | 2 +- docs/usermanual/build-web-test-plan.html | 2 +- docs/usermanual/build-ws-test-plan.html | 2 +- docs/usermanual/component_reference.html | 2 +- docs/usermanual/functions.html | 2 +- docs/usermanual/get-started.html | 2 +- docs/usermanual/glossary.html | 2 +- docs/usermanual/hints_and_tips.html | 2 +- docs/usermanual/index.html | 2 +- docs/usermanual/intro.html | 2 +- docs/usermanual/ldapanswer_xml.html | 2 +- docs/usermanual/ldapops_tutor.html | 2 +- docs/usermanual/listeners.html | 2 +- docs/usermanual/realtime-results.html | 2 +- docs/usermanual/regular_expressions.html | 2 +- docs/usermanual/remote-test.html | 2 +- docs/usermanual/test_plan.html | 2 +- xdocs/stylesheets/website-style.xsl | 2 +- 40 files changed, 40 insertions(+), 40 deletions(-) diff --git a/docs/building.html b/docs/building.html index 8a7b22aa01c..f1cd9416613 100644 --- a/docs/building.html +++ b/docs/building.html @@ -28,7 +28,7 @@ fjs.parentNode.insertBefore(js,fjs); } })(document, 'script', 'twitter-wjs'); -

Building JMeter and Add-Ons

+

Building JMeter and Add-Ons

Note to developers: This is a very brief overview. diff --git a/docs/changes.html b/docs/changes.html index 75e16864ac8..a72c6bf1cfa 100644 --- a/docs/changes.html +++ b/docs/changes.html @@ -28,7 +28,7 @@ fjs.parentNode.insertBefore(js,fjs); } })(document, 'script', 'twitter-wjs'); -

Changes

+

Changes

This page details the changes made in the current version only. diff --git a/docs/changes_history.html b/docs/changes_history.html index a7b71b245b2..410af07d595 100644 --- a/docs/changes_history.html +++ b/docs/changes_history.html @@ -28,7 +28,7 @@ fjs.parentNode.insertBefore(js,fjs); } })(document, 'script', 'twitter-wjs'); -

History of Previous Changes

+

History of Previous Changes

This page details the changes made in previous versions only.
diff --git a/docs/download_jmeter.html b/docs/download_jmeter.html index 57c636c5035..e06e37f19da 100644 --- a/docs/download_jmeter.html +++ b/docs/download_jmeter.html @@ -28,7 +28,7 @@ fjs.parentNode.insertBefore(js,fjs); } })(document, 'script', 'twitter-wjs'); -

Download Apache JMeter

+

Download Apache JMeter

We recommend you use a mirror to download our release builds, but you must verify the integrity of diff --git a/docs/index.html b/docs/index.html index d88b1bb1c5a..c05238d1efa 100644 --- a/docs/index.html +++ b/docs/index.html @@ -28,7 +28,7 @@ fjs.parentNode.insertBefore(js,fjs); } })(document, 'script', 'twitter-wjs'); -

Apache JMeter™

+

Apache JMeter™

The Apache JMeter™ application is open source software, a 100% pure Java application designed diff --git a/docs/issues.html b/docs/issues.html index e4548f5f5f3..5023c29a981 100644 --- a/docs/issues.html +++ b/docs/issues.html @@ -28,7 +28,7 @@ fjs.parentNode.insertBefore(js,fjs); } })(document, 'script', 'twitter-wjs'); -

Issue tracker

+

Issue tracker

JMeter uses Bugzilla for issue tracking, i.e. for reporting bugs and requesting enhancements.

diff --git a/docs/jmeter_irc.html b/docs/jmeter_irc.html index 1c04f2143f3..5ccc5946523 100644 --- a/docs/jmeter_irc.html +++ b/docs/jmeter_irc.html @@ -28,7 +28,7 @@ fjs.parentNode.insertBefore(js,fjs); } })(document, 'script', 'twitter-wjs'); -

JMeter on IRC

+

JMeter on IRC

JMeter developers often hang out on IRC to chat about development issues. Users are also welcome to stop by and ask questions, offer feature suggestions, or just chit-chat.

diff --git a/docs/localising/index.html b/docs/localising/index.html index 26a00486148..8417cc6cb50 100644 --- a/docs/localising/index.html +++ b/docs/localising/index.html @@ -28,7 +28,7 @@ fjs.parentNode.insertBefore(js,fjs); } })(document, 'script', 'twitter-wjs'); -

Introduction

+

Introduction

This document describes the process of creating and maintaining translated texts for JMeter in languages other than English. English has been tacitly chosen as the project's primary (or "default") language -- despite its diff --git a/docs/mail.html b/docs/mail.html index 483fd0bb7f4..c234a2823ab 100644 --- a/docs/mail.html +++ b/docs/mail.html @@ -28,7 +28,7 @@ fjs.parentNode.insertBefore(js,fjs); } })(document, 'script', 'twitter-wjs'); -

Mailing Lists - Guidelines

+

Mailing Lists - Guidelines

A mailing list is an electronic discussion forum that anyone can subscribe to. When someone sends an email message to the mailing list, diff --git a/docs/mail2.html b/docs/mail2.html index 497f083839a..feb9d780649 100644 --- a/docs/mail2.html +++ b/docs/mail2.html @@ -28,7 +28,7 @@ fjs.parentNode.insertBefore(js,fjs); } })(document, 'script', 'twitter-wjs'); -

Mailing Lists - Guidelines

+

Mailing Lists - Guidelines

Before subscribing to any of the mailing lists, please make sure that you have read and understand the guidelines. diff --git a/docs/nightly.html b/docs/nightly.html index 9e822ef042b..7f357591591 100644 --- a/docs/nightly.html +++ b/docs/nightly.html @@ -28,7 +28,7 @@ fjs.parentNode.insertBefore(js,fjs); } })(document, 'script', 'twitter-wjs'); -

Nightly builds for developers

+

Nightly builds for developers

What are the nightly builds?

diff --git a/docs/svnindex.html b/docs/svnindex.html index 47af7d131e3..f6f77885219 100644 --- a/docs/svnindex.html +++ b/docs/svnindex.html @@ -28,7 +28,7 @@ fjs.parentNode.insertBefore(js,fjs); } })(document, 'script', 'twitter-wjs'); -

Download the Source

+

Download the Source

Most users of the source code probably don't need to have day to day access to the source code as it changes. For these users we diff --git a/docs/usermanual/best-practices.html b/docs/usermanual/best-practices.html index f7f9a7a6592..82f9c0771f1 100644 --- a/docs/usermanual/best-practices.html +++ b/docs/usermanual/best-practices.html @@ -28,7 +28,7 @@ fjs.parentNode.insertBefore(js,fjs); } })(document, 'script', 'twitter-wjs'); -

16. Best Practices

+

16. Best Practices

16.1 Always use latest version of JMeter

The performance of JMeter is being constantly improved, so users are highly encouraged to use the most up to date version.
Ensure you always read changes list to be aware of new improvements and components. diff --git a/docs/usermanual/boss.html b/docs/usermanual/boss.html index 48361ea2029..6b21e003025 100644 --- a/docs/usermanual/boss.html +++ b/docs/usermanual/boss.html @@ -28,7 +28,7 @@ fjs.parentNode.insertBefore(js,fjs); } })(document, 'script', 'twitter-wjs'); -

17. Help! My boss wants me to load test our application!

+

17. Help! My boss wants me to load test our application!

This is a fairly open-ended proposition. There are a number of questions to be asked first, and additionally a number of resources that will be needed. You will need some hardware to run the benchmarks/load-tests from. A number of diff --git a/docs/usermanual/build-adv-web-test-plan.html b/docs/usermanual/build-adv-web-test-plan.html index cb808282fe8..c10261cb30f 100644 --- a/docs/usermanual/build-adv-web-test-plan.html +++ b/docs/usermanual/build-adv-web-test-plan.html @@ -28,7 +28,7 @@ fjs.parentNode.insertBefore(js,fjs); } })(document, 'script', 'twitter-wjs'); -

6. Building an Advanced Web Test Plan

+

6. Building an Advanced Web Test Plan

In this section, you will learn how to create advanced Test Plans to test a Web site.

diff --git a/docs/usermanual/build-db-test-plan.html b/docs/usermanual/build-db-test-plan.html index bcf6772634a..ea2a1cefde4 100644 --- a/docs/usermanual/build-db-test-plan.html +++ b/docs/usermanual/build-db-test-plan.html @@ -28,7 +28,7 @@ fjs.parentNode.insertBefore(js,fjs); } })(document, 'script', 'twitter-wjs'); -

7. Building a Database Test Plan

+

7. Building a Database Test Plan

In this section, you will learn how to create a basic Test Plan to test a database server. You will create fifty users that send 2 SQL requests to the database server. diff --git a/docs/usermanual/build-ftp-test-plan.html b/docs/usermanual/build-ftp-test-plan.html index bb6225c2a82..8d72def2282 100644 --- a/docs/usermanual/build-ftp-test-plan.html +++ b/docs/usermanual/build-ftp-test-plan.html @@ -28,7 +28,7 @@ fjs.parentNode.insertBefore(js,fjs); } })(document, 'script', 'twitter-wjs'); -

8. Building an FTP Test Plan

+

8. Building an FTP Test Plan

In this section, you will learn how to create a basic Test Plan to test an FTP site. You will create four users that send requests for two files on a FTP site. diff --git a/docs/usermanual/build-jms-point-to-point-test-plan.html b/docs/usermanual/build-jms-point-to-point-test-plan.html index a7a771293ee..7fe04e1430c 100644 --- a/docs/usermanual/build-jms-point-to-point-test-plan.html +++ b/docs/usermanual/build-jms-point-to-point-test-plan.html @@ -28,7 +28,7 @@ fjs.parentNode.insertBefore(js,fjs); } })(document, 'script', 'twitter-wjs'); -

11. Building a JMS Point-to-Point Test Plan

+

11. Building a JMS Point-to-Point Test Plan

Make sure the required jar files are in JMeter's lib directory. If they are not, shutdown JMeter, diff --git a/docs/usermanual/build-jms-topic-test-plan.html b/docs/usermanual/build-jms-topic-test-plan.html index 437d9437127..a09886510d8 100644 --- a/docs/usermanual/build-jms-topic-test-plan.html +++ b/docs/usermanual/build-jms-topic-test-plan.html @@ -28,7 +28,7 @@ fjs.parentNode.insertBefore(js,fjs); } })(document, 'script', 'twitter-wjs'); -

12. Building a JMS Topic Test Plan

+

12. Building a JMS Topic Test Plan

JMS requires some optional jars to be downloaded. Please refer to Getting Started for full details.
diff --git a/docs/usermanual/build-ldap-test-plan.html b/docs/usermanual/build-ldap-test-plan.html index 5be4079bfc5..24e079515bf 100644 --- a/docs/usermanual/build-ldap-test-plan.html +++ b/docs/usermanual/build-ldap-test-plan.html @@ -28,7 +28,7 @@ fjs.parentNode.insertBefore(js,fjs); } })(document, 'script', 'twitter-wjs'); -

9a. Building an LDAP Test Plan

+

9a. Building an LDAP Test Plan

In this section, you will learn how to create a basic Test Plan to test an LDAP server. You will create four users that send requests for four tests on the LDAP server. Also, you will tell the users to run their tests 4 times. So, the total number of requests is (4 users) x (4 requests) x diff --git a/docs/usermanual/build-ldapext-test-plan.html b/docs/usermanual/build-ldapext-test-plan.html index 42b7dc17627..aea4625af9a 100644 --- a/docs/usermanual/build-ldapext-test-plan.html +++ b/docs/usermanual/build-ldapext-test-plan.html @@ -28,7 +28,7 @@ fjs.parentNode.insertBefore(js,fjs); } })(document, 'script', 'twitter-wjs'); -

9b. Building an Extended LDAP Test Plan

+

9b. Building an Extended LDAP Test Plan

In this section, you will learn how to create a basic Test Plan to test an LDAP server.

diff --git a/docs/usermanual/build-monitor-test-plan.html b/docs/usermanual/build-monitor-test-plan.html index 03001f60813..1d4fed0f901 100644 --- a/docs/usermanual/build-monitor-test-plan.html +++ b/docs/usermanual/build-monitor-test-plan.html @@ -28,7 +28,7 @@ fjs.parentNode.insertBefore(js,fjs); } })(document, 'script', 'twitter-wjs'); -

13. Building a Monitor Test Plan

+

13. Building a Monitor Test Plan

In this section, you will learn how to create a Test Plan to monitor webservers. Monitors are useful for a stress testing and system management. Used with stress diff --git a/docs/usermanual/build-test-plan.html b/docs/usermanual/build-test-plan.html index 93aafc89bd7..5517588ae9b 100644 --- a/docs/usermanual/build-test-plan.html +++ b/docs/usermanual/build-test-plan.html @@ -28,7 +28,7 @@ fjs.parentNode.insertBefore(js,fjs); } })(document, 'script', 'twitter-wjs'); -

3. Building a Test Plan

+

3. Building a Test Plan

A test plan describes a series of steps JMeter will execute when run. A complete test plan will consist of one or more Thread Groups, logic controllers, sample generating controllers, listeners, timers, assertions, and configuration elements. diff --git a/docs/usermanual/build-web-test-plan.html b/docs/usermanual/build-web-test-plan.html index 2f36bfb5890..7a869ba0a6c 100644 --- a/docs/usermanual/build-web-test-plan.html +++ b/docs/usermanual/build-web-test-plan.html @@ -28,7 +28,7 @@ fjs.parentNode.insertBefore(js,fjs); } })(document, 'script', 'twitter-wjs'); -

5. Building a Web Test Plan

+

5. Building a Web Test Plan

In this section, you will learn how to create a basic Test Plan to test a Web site. You will create five users that send requests to two pages on the JMeter Web site. diff --git a/docs/usermanual/build-ws-test-plan.html b/docs/usermanual/build-ws-test-plan.html index d58e9b7b6fb..c21b23216a7 100644 --- a/docs/usermanual/build-ws-test-plan.html +++ b/docs/usermanual/build-ws-test-plan.html @@ -28,7 +28,7 @@ fjs.parentNode.insertBefore(js,fjs); } })(document, 'script', 'twitter-wjs'); -

10. Building a WebService Test Plan

+

10. Building a WebService Test Plan

In this section, you will learn how to create a Test Plan to test a WebService. You will create five users that send requests to One page. diff --git a/docs/usermanual/component_reference.html b/docs/usermanual/component_reference.html index 112f7a010be..11f0bb17bfd 100644 --- a/docs/usermanual/component_reference.html +++ b/docs/usermanual/component_reference.html @@ -28,7 +28,7 @@ fjs.parentNode.insertBefore(js,fjs); } })(document, 'script', 'twitter-wjs'); -

19. Functions and Variables

+

19. Functions and Variables

JMeter functions are special values that can populate fields of any Sampler or other element in a test tree. A function call looks like this:

diff --git a/docs/usermanual/get-started.html b/docs/usermanual/get-started.html index e6adb49910f..74bd26c49e6 100644 --- a/docs/usermanual/get-started.html +++ b/docs/usermanual/get-started.html @@ -28,7 +28,7 @@ fjs.parentNode.insertBefore(js,fjs); } })(document, 'script', 'twitter-wjs'); -

2. Getting Started

+

2. Getting Started

The easiest way to begin using JMeter is to first download the latest production release and install it. The release contains all of the files you need to build and run most types of tests, diff --git a/docs/usermanual/glossary.html b/docs/usermanual/glossary.html index d848a0ef69c..9a5b2536a59 100644 --- a/docs/usermanual/glossary.html +++ b/docs/usermanual/glossary.html @@ -28,7 +28,7 @@ fjs.parentNode.insertBefore(js,fjs); } })(document, 'script', 'twitter-wjs'); -

22. Glossary

+

22. Glossary

Elapsed time. JMeter measures the elapsed time from just before sending the request to diff --git a/docs/usermanual/hints_and_tips.html b/docs/usermanual/hints_and_tips.html index 900d6952a15..b09a0909cd9 100644 --- a/docs/usermanual/hints_and_tips.html +++ b/docs/usermanual/hints_and_tips.html @@ -28,7 +28,7 @@ fjs.parentNode.insertBefore(js,fjs); } })(document, 'script', 'twitter-wjs'); -

21. Hints and Tips

+

21. Hints and Tips

This section is a collection of various hints and tips that have been suggested by various questions on the JMeter User list. If you don't find what you are looking for here, please check the JMeter Wiki. diff --git a/docs/usermanual/index.html b/docs/usermanual/index.html index 6d56a6d884b..3124dbc9ef0 100644 --- a/docs/usermanual/index.html +++ b/docs/usermanual/index.html @@ -28,7 +28,7 @@ fjs.parentNode.insertBefore(js,fjs); } })(document, 'script', 'twitter-wjs'); -

User's Manual

+

User's Manual

Click on the section name to go straight to the section. Click on the "+" to go to the relevant section of the detailed section list, where you can select individual subsections.

diff --git a/docs/usermanual/intro.html b/docs/usermanual/intro.html index d300a6f8fcc..e8024aa459c 100644 --- a/docs/usermanual/intro.html +++ b/docs/usermanual/intro.html @@ -28,7 +28,7 @@ fjs.parentNode.insertBefore(js,fjs); } })(document, 'script', 'twitter-wjs'); -

1. Introduction

+

1. Introduction

Apache JMeter is a 100% pure Java application designed to load test client/server software diff --git a/docs/usermanual/ldapanswer_xml.html b/docs/usermanual/ldapanswer_xml.html index af38e19efa5..a2a3ec0c1d4 100644 --- a/docs/usermanual/ldapanswer_xml.html +++ b/docs/usermanual/ldapanswer_xml.html @@ -28,7 +28,7 @@ fjs.parentNode.insertBefore(js,fjs); } })(document, 'script', 'twitter-wjs'); -

description of the ldapanswer XML definition

+

description of the ldapanswer XML definition

The extended LDAP sampler was built to support testing for very complex testpurposes. It was aimed at supporting the LDAP operations as close as possible. diff --git a/docs/usermanual/ldapops_tutor.html b/docs/usermanual/ldapops_tutor.html index f3f13f3ce4c..ce2f31d3379 100644 --- a/docs/usermanual/ldapops_tutor.html +++ b/docs/usermanual/ldapops_tutor.html @@ -28,7 +28,7 @@ fjs.parentNode.insertBefore(js,fjs); } })(document, 'script', 'twitter-wjs'); -

A short LDAP Operations tutorial

+

A short LDAP Operations tutorial

The extended LDAP sampler was built to support testing for very complex testpurposes. It was aimed at supporting the LDAP operations as close as possible. diff --git a/docs/usermanual/listeners.html b/docs/usermanual/listeners.html index 0c182ab118d..fa64cf78782 100644 --- a/docs/usermanual/listeners.html +++ b/docs/usermanual/listeners.html @@ -28,7 +28,7 @@ fjs.parentNode.insertBefore(js,fjs); } })(document, 'script', 'twitter-wjs'); -

14. Introduction to listeners

+

14. Introduction to listeners

A listener is a component that shows the results of the samples. The results can be shown in a tree, tables, graphs or simply written to a log file. To view the contents of a response from any given sampler, add either of the Listeners "View diff --git a/docs/usermanual/realtime-results.html b/docs/usermanual/realtime-results.html index 75d9d77d5b2..1e5da091679 100644 --- a/docs/usermanual/realtime-results.html +++ b/docs/usermanual/realtime-results.html @@ -28,7 +28,7 @@ fjs.parentNode.insertBefore(js,fjs); } })(document, 'script', 'twitter-wjs'); -

17. Real-time results

+

17. Real-time results

Since JMeter 2.13 you can get realtime results sent to a backend through the Backend Listener using potentially any backend (JDBC, JMS, Webservice...) implementing AbstractBackendListenerClient.
JMeter ships with a GraphiteBackendListenerClient which allows you to send metrics to a Graphite Backend.
diff --git a/docs/usermanual/regular_expressions.html b/docs/usermanual/regular_expressions.html index eb71f8b1a35..5bbd0a63735 100644 --- a/docs/usermanual/regular_expressions.html +++ b/docs/usermanual/regular_expressions.html @@ -28,7 +28,7 @@ fjs.parentNode.insertBefore(js,fjs); } })(document, 'script', 'twitter-wjs'); -

20. Regular Expressions

+

20. Regular Expressions

20.1 Overview

JMeter includes the pattern matching software Apache Jakarta ORO diff --git a/docs/usermanual/remote-test.html b/docs/usermanual/remote-test.html index a3fc48de6a2..2a947d96dac 100644 --- a/docs/usermanual/remote-test.html +++ b/docs/usermanual/remote-test.html @@ -28,7 +28,7 @@ fjs.parentNode.insertBefore(js,fjs); } })(document, 'script', 'twitter-wjs'); -

15. Remote Testing

+

15. Remote Testing

In the event that your JMeter client machine is unable, performance-wise, to simulate enough users to stress your server or is limited at network level, an option exists to control multiple, remote JMeter diff --git a/docs/usermanual/test_plan.html b/docs/usermanual/test_plan.html index 760c112590e..0bac434e0f4 100644 --- a/docs/usermanual/test_plan.html +++ b/docs/usermanual/test_plan.html @@ -28,7 +28,7 @@ fjs.parentNode.insertBefore(js,fjs); } })(document, 'script', 'twitter-wjs'); -

4. Elements of a Test Plan

+

4. Elements of a Test Plan

The Test Plan object has a checkbox called "Functional Testing". If selected, it will cause JMeter to record the data returned from the server for each sample. If you have diff --git a/xdocs/stylesheets/website-style.xsl b/xdocs/stylesheets/website-style.xsl index 641f2d2a467..165391847ce 100644 --- a/xdocs/stylesheets/website-style.xsl +++ b/xdocs/stylesheets/website-style.xsl @@ -222,7 +222,7 @@

16. Best Practices

-

16.1 Always use latest version of JMeter

+

17. Best Practices

+

17.1 Always use latest version of JMeter

The performance of JMeter is being constantly improved, so users are highly encouraged to use the most up to date version.
Ensure you always read changes list to be aware of new improvements and components. You should absolutely avoid using versions that are older than 3 versions before the last one.

-

16.2 Use the correct Number of Threads

+

17.2 Use the correct Number of Threads

Your hardware capabilities as well as the Test Plan design will both impact the number of threads you can effectively run with JMeter. The number will also depend on how fast your server is (a faster server makes JMeter work harder since it returns a response quicker). As with any Load Testing tool, if you don't correctly size @@ -50,13 +50,13 @@ starts sampling, i.e. after any thread group delay and the ramp-up time for the thread itself. This allows for a very large total number of threads, provided that not too many are active concurrently.

-

16.3 Where to Put the Cookie Manager

+

17.3 Where to Put the Cookie Manager

See Building a Web Test for information.

-

16.4 Where to Put the Authorization Manager

+

17.4 Where to Put the Authorization Manager

See Building an Advanced Web Test for information.

-

16.5 Using the HTTP(S) Test Script Recorder

+

17.5 Using the HTTP(S) Test Script Recorder

Refer to HTTP(S) Test Script Recorder for details on setting up the recorder. The most important thing to do is filter out all requests you aren't interested in. For instance, there's no point in recording image requests (JMeter can @@ -101,7 +101,7 @@

-

16.6 User variables

+

17.6 User variables

Some test plans need to use different values for different users/threads. For example, you might want to test a sequence that requires a unique login for each user. @@ -123,7 +123,7 @@

The CSV Data Set element will read a new line for each thread.

-

16.7 Reducing resource requirements

+

17.7 Reducing resource requirements

Some suggestions on reducing resource usage.

@@ -145,7 +145,7 @@ If your test needs large amounts of data - particularly if it needs to be randomised - create the test data in a file that can be read with CSV Dataset. This avoids wasting resources at run-time.

-

16.8 BeanShell server

+

17.8 BeanShell server

The BeanShell interpreter has a very useful feature - it can act as a server, which is accessible by telnet or http. @@ -233,8 +233,8 @@

 java -jar ../lib/bshclient.jar localhost 9000 throughput.bsh 70 5 100 60
 
-

16.9 BeanShell scripting

-

16.9.1 Overview

+

17.9 BeanShell scripting

+

17.9.1 Overview

Each BeanShell test element has its own copy of the interpreter (for each thread). If the test element is repeatedly called, e.g. within a loop, then the interpreter is retained @@ -256,7 +256,7 @@

-

16.9.2 Sharing Variables

+

17.9.2 Sharing Variables

Variables can be defined in startup (initialisation) scripts. These will be retained across invocations of the test element, unless the reset option is used.\ @@ -291,7 +291,7 @@ defined by the JMeter property "beanshell.init.file". This is only processed once.

-

16.10 Developing script functions in BeanShell, Javascript or Jexl etc.

+

17.10 Developing script functions in BeanShell, Javascript or Jexl etc.

It's quite hard to write and test scripts as functions. However, JMeter has the JSR223, BSF (and BeanShell) samplers which can be used instead. @@ -310,7 +310,7 @@ There is no need to escape any commas in the script, because the function call is parsed before the variable's value is interpolated.

-

16.11 Parameterising tests

+

17.11 Parameterising tests

Often it is useful to be able to re-run the same test with different settings. For example, changing the number of threads or loops, or changing a hostname. @@ -331,7 +331,7 @@ then one way to achieve this is to use a set of property files. The appropriate property file can be passed in to JMeter using the -q command-line option.

-

16.12 JSR223 Elements

+

17.12 JSR223 Elements

For intensive load testing, the recommended scripting language is one whose ScriptingEngine implements the Compilable interface. Groovy scripting engine implements Compilable. However neither Beanshell nor Javascript do so as of release date of JMeter 2.13, so it is @@ -348,7 +348,7 @@

You can also pass them as Parameters to the script and use them this way.

-

16.13 Sharing variables between threads and thread groups

+

17.13 Sharing variables between threads and thread groups

Variables are local to a thread; a variable set in one thread cannot be read in another. This is by design. For variables that can be determined before a test starts, see @@ -361,12 +361,12 @@

  • Write your own Java classes
  • -

    16.14 Managing properties

    +

    17.14 Managing properties

    When you need to modify jmeter properties, ensure you don't modify jmeter.properties file, instead copy the property from jmeter.properties and modify its value in user.properties file.
    Doing so will ease you migration to the next version of JMeter.
    Note that in the documentation jmeter.properties is frequently mentioned but this should be understood as "Copy from jmeter.properties to user.properties the property you want to modify and do so in the latter file".

    user.properties file superseeds the properties defined in jmeter.properties
    -

    17. Help! My boss wants me to load test our application!

    +

    18. Help! My boss wants me to load test our application!

    This is a fairly open-ended proposition. There are a number of questions to be asked first, and additionally a number of resources that will be needed. You will need some hardware to run the benchmarks/load-tests from. A number of tools will prove useful. There are a number of products to consider. And finally, why is Java a good choice to implement a load-testing/Benchmarking product.

    -

    17.1 Questions to ask

    +

    18.1 Questions to ask

    What is our anticipated average number of users (normal load) ?

    What is our anticipated peak number of users ? @@ -48,13 +48,13 @@

    What is the testing intended to achieve?

    -

    17.2 Resources

    +

    18.2 Resources

    The following resources will prove very helpful. Bear in mind that if you cannot locate these resources, you will become these resources. As you already have your work cut out for you, it is worth knowing who the following people are, so that you can ask them for help if you need it.

    -

    17.2.1 Network

    +

    18.2.1 Network

    Who knows our network topology ? If you run into any firewall or proxy issues, this will become very important. As well, a private testing network (which will therefore have very low network latency) @@ -64,7 +64,7 @@ hardware ?

    -

    17.2.2 Application

    +

    18.2.2 Application

    Who knows how our application functions ? The normal sequence is

    • test (low-volume - can we benchmark our application?)
    • @@ -80,7 +80,7 @@ during this process, so be prepared to defend your work.

    -

    17.3 What platform should I use to run the benchmarks/load-tests ?

    +

    18.3 What platform should I use to run the benchmarks/load-tests ?

    This should be a widely-used piece of hardware, with a standard (i.e. vanilla) software installation. Remember, if you publish your results, the first thing your clients will do is hire a graduate student to verify them. @@ -118,20 +118,20 @@ use CSV output and import the data into a spreadsheet.

    Remember GUI mode is for Script creation and debugging, not for load testing
    -

    17.4 Tools

    +

    18.4 Tools

    The following tools will all prove useful. It is definitely worthwhile to become familiar with them. This should include trying them out, and reading the appropriate documentation (man-pages, info-files, application --help messages, and any supplied documentation).

    -

    17.4.1 ping

    +

    18.4.1 ping

    This can be used to establish whether or not you can reach your target site. Options can be specified so that 'ping' provides the same type of route reporting as 'traceroute'.

    -

    17.4.2 nslookup/dig

    +

    18.4.2 nslookup/dig

    While the user will normally use a human-readable internet address, you may wish to avoid the overhead of DNS lookups when @@ -139,7 +139,7 @@ the unique address (dotted quad) of your target site.

    -

    17.4.3 traceroute

    +

    18.4.3 traceroute

    If you cannot "ping" your target site, this may be used to determine the problem (possibly a firewall or a proxy). It can also be used @@ -150,10 +150,10 @@

    -

    17.5 How can I enhance JMeter ?

    +

    18.5 How can I enhance JMeter ?

    There a lot of open-source and commercial plugins that can enhance JMeter, let's mention here the main open-source ones:

    -

    17.5.1 JMeter-Plugins

    +

    18.5.1 JMeter-Plugins

    This non official project is THE companion to core JMeter.
    It provides many useful extensions, among which:

      @@ -166,20 +166,20 @@

    -

    17.5.2 JMeter Plugin for Maven

    +

    18.5.2 JMeter Plugin for Maven

    This non official plugin allows you to run your automated JMeter tests through Maven.

    -

    17.5.3 JMeter Performance Plugin

    +

    18.5.3 JMeter Performance Plugin

    This non official plugin allows you to capture reports from JMeter and JUnit.
    Jenkins will generate graphic charts with the trend report of performance and robustness. It includes the feature of setting the final build status as good, unstable or failed, based on the reported error percentage.

    -

    17.5.4 JMeter plugin for AWS

    +

    18.5.4 JMeter plugin for AWS

    This non official plugin automates running Apache JMeter on Amazon EC2

    -

    17.6 Why Java ?

    +

    18.6 Why Java ?

    Why not Perl or C ?

    Well, Perl might be a very good choice except that the Benchmark package diff --git a/docs/usermanual/component_reference.html b/docs/usermanual/component_reference.html index 11f0bb17bfd..a488090e8ed 100644 --- a/docs/usermanual/component_reference.html +++ b/docs/usermanual/component_reference.html @@ -28,11 +28,11 @@ fjs.parentNode.insertBefore(js,fjs); } })(document, 'script', 'twitter-wjs'); -

    18.0 Introduction

    +
  • HTTP Mirror Server
  • Property Display
  • Debug Sampler
  • Debug PostProcessor
  • Test Fragment
  • setUp Thread Group
  • tearDown Thread Group
  • 19.0 Introduction

    @@ -45,7 +45,7 @@

    -

    18.1 Samplers

    +

    19.1 Samplers

    Samplers perform the actual work of JMeter. @@ -2021,7 +2021,7 @@

    General Guidelines

    ^ -

    18.2 Logic Controllers

    +

    19.2 Logic Controllers


    Logic Controllers determine the order in which Samplers are processed.
    @@ -2652,7 +2652,7 @@

    General Guidelines

    ^ -

    18.3 Listeners

    +

    19.3 Listeners


    Most of the listeners perform several roles in addition to "listening" @@ -3513,7 +3513,7 @@

    General Guidelines

    ^ -

    18.4 Configuration Elements

    +

    19.4 Configuration Elements


    Configuration elements can be used to set up defaults and variables for later use by samplers. @@ -4395,7 +4395,7 @@

    General Guidelines

    ^ -

    18.5 Assertions

    +

    19.5 Assertions

    Assertions are used to perform additional checks on samplers, and are processed after every sampler @@ -4868,7 +4868,7 @@

    General Guidelines

    ^ -

    18.6 Timers

    +

    19.6 Timers


    @@ -5131,7 +5131,7 @@

    General Guidelines

    ^ -

    18.7 Pre Processors

    +

    19.7 Pre Processors


    Preprocessors are used to modify the Samplers in their scope. @@ -5454,7 +5454,7 @@

    General Guidelines

    ^ -

    18.8 Post-Processors

    +

    19.8 Post-Processors

    As the name suggests, Post-Processors are applied after samplers. Note that they are @@ -5902,7 +5902,7 @@

    General Guidelines

    In the linked test plan,"JDBC PostProcessor" JDBC PostProcessor calls a stored procedure to delete from Database the Price Cut-Off that was created by PreProcessor.
    JDBC PostProcessor
    JDBC PostProcessor

    -

    18.9 Miscellaneous Features

    +

    19.9 Miscellaneous Features


    diff --git a/docs/usermanual/functions.html b/docs/usermanual/functions.html index 81d9b60837b..7ca0f9c9b24 100644 --- a/docs/usermanual/functions.html +++ b/docs/usermanual/functions.html @@ -28,7 +28,7 @@ fjs.parentNode.insertBefore(js,fjs); } })(document, 'script', 'twitter-wjs'); -

    19. Functions and Variables

    +

    20. Functions and Variables

    JMeter functions are special values that can populate fields of any Sampler or other element in a test tree. A function call looks like this:

    @@ -128,7 +128,7 @@ String TestPlanNameReturn name of current test plan2.6

    -

    19.1 What can functions do

    +

    20.1 What can functions do

    There are two kinds of functions: user-defined static values (or variables), and built-in functions.
    User-defined static values allow the user to define variables to be replaced with their static value when a test tree is compiled and submitted to be run. This replacement happens once at the beginning of the test @@ -151,7 +151,7 @@ Each occurrence of a function call in a test plan is handled by a separate function instance.

    -

    19.2 Where can functions and variables be used?

    +

    20.2 Where can functions and variables be used?

    Functions and variables can be written into any field of any test component (apart from the TestPlan - see below). Some fields do not allow random strings @@ -194,7 +194,7 @@

    -

    19.3 How to reference variables and functions

    +

    20.3 How to reference variables and functions

    Referencing a variable in a test element is done by bracketing the variable name with '${' and '}'.

    Functions are referenced in the same manner, but by convention, the names of functions begin with "__" to avoid conflict with user value names*. Some functions take arguments to @@ -246,7 +246,7 @@ variable will override the built-in function.

    -

    19.4 The Function Helper Dialog

    +

    20.4 The Function Helper Dialog

    The Function Helper dialog is available from JMeter's Tools menu.

    Function Helper Dialog
    Function Helper Dialog

    Using the Function Helper, you can select a function from the pull down, and assign @@ -257,7 +257,7 @@ for you to copy-paste into your test plan wherever you like.

    -

    19.5 Functions

    +

    20.5 Functions

    __regexFunction

    The Regex Function is used to parse the previous response (or the value of a variable) using any regular @@ -1345,7 +1345,7 @@

    -

    19.6 Pre-defined Variables

    +

    20.6 Pre-defined Variables

    Most variables are set by calling functions or by test elements such as User Defined Variables; in which case the user has full control over the variable name that is used. @@ -1359,7 +1359,7 @@

  • START variables (see next section)
  • -

    19.6 Pre-defined Properties

    +

    20.6 Pre-defined Properties

    The set of JMeter properties is initialised from the system properties defined when JMeter starts; additional JMeter properties are defined in jmeter.properties, user.properties or on the command line. diff --git a/docs/usermanual/glossary.html b/docs/usermanual/glossary.html index 9a5b2536a59..0889623962e 100644 --- a/docs/usermanual/glossary.html +++ b/docs/usermanual/glossary.html @@ -28,7 +28,7 @@ fjs.parentNode.insertBefore(js,fjs); } })(document, 'script', 'twitter-wjs'); -

    22. Glossary

    +

    23. Glossary

    Elapsed time. JMeter measures the elapsed time from just before sending the request to diff --git a/docs/usermanual/hints_and_tips.html b/docs/usermanual/hints_and_tips.html index b09a0909cd9..42f157fd55e 100644 --- a/docs/usermanual/hints_and_tips.html +++ b/docs/usermanual/hints_and_tips.html @@ -28,13 +28,13 @@ fjs.parentNode.insertBefore(js,fjs); } })(document, 'script', 'twitter-wjs'); -

    21. Hints and Tips

    +

    22. Hints and Tips

    This section is a collection of various hints and tips that have been suggested by various questions on the JMeter User list. If you don't find what you are looking for here, please check the JMeter Wiki. Also, try search the JMeter User list; someone may well have already provided a solution.

    -

    21.1 Passing variables between threads

    +

    22.1 Passing variables between threads

    JMeter variables have thread scope. This is deliberate, so that threads can act indepently. However sometimes there is a need to pass variables between different threads, in the same or different Thread Groups. @@ -56,7 +56,7 @@

    -

    21.2 Enabling Debug logging

    +

    22.2 Enabling Debug logging

    Most test elements include debug logging. If running a test plan from the GUI, select the test element and use the Help Menu to enable or disable logging. @@ -84,7 +84,7 @@

    -

    21.3 Searching

    +

    22.3 Searching

    It is sometimes hard to find in a Test Plan tree and elements using a variable or containing a certain URL or parameter. A new feature is now available since 2.6, you can access it in Menu Search. @@ -102,7 +102,7 @@

    -

    21.4 Toolbar icons size

    +

    22.4 Toolbar icons size

    You can change the size of icons in the toolbar using the property

    jmeter.toolbar.icons.size
    with these values: 22x22 (default size), 32x32 or 48x48. diff --git a/docs/usermanual/index.html b/docs/usermanual/index.html index 3124dbc9ef0..e2766216b45 100644 --- a/docs/usermanual/index.html +++ b/docs/usermanual/index.html @@ -180,30 +180,30 @@
  • 13. Building a Monitor Test Plan
  • 14. Introduction to Listeners
  • 15. Remote Testing
  • -
  • 16. Best Practices
  • +
  • 16. Real time Results
  • +
  • 17. Best Practices
  • -
  • 17. Help! My boss wants me to load test our web app!
  • - -
  • 18. Component Reference
  • -
  • 19. Functions
  • -
  • 20. Regular Expressions
  • -
  • 21. Hints and Tips
  • -
  • 22. Glossary
  • +
  • 18. Help! My boss wants me to load test our web app!
  • +
  • 19. Component Reference
  • +
  • 20. Functions
  • +
  • 21. Regular Expressions
  • +
  • 22. Hints and Tips
  • +
  • 23. Glossary
  • diff --git a/docs/usermanual/realtime-results.html b/docs/usermanual/realtime-results.html index 1e5da091679..402bf1b1c79 100644 --- a/docs/usermanual/realtime-results.html +++ b/docs/usermanual/realtime-results.html @@ -28,7 +28,7 @@ fjs.parentNode.insertBefore(js,fjs); } })(document, 'script', 'twitter-wjs'); -

    17. Real-time results

    +

    16. Real-time results

    Since JMeter 2.13 you can get realtime results sent to a backend through the Backend Listener using potentially any backend (JDBC, JMS, Webservice...) implementing AbstractBackendListenerClient.
    JMeter ships with a GraphiteBackendListenerClient which allows you to send metrics to a Graphite Backend.
    @@ -46,8 +46,8 @@

  • Graphite
  • -

    17.1 Metrics exposed

    -

    17.1.1 Thread/Virtual Users metrics

    +

    16.1 Metrics exposed

    +

    16.1.1 Thread/Virtual Users metrics

    Threads metrics are the following:

    @@ -78,7 +78,7 @@
    -

    17.1.2 Response times metrics

    +

    16.1.2 Response times metrics

    Response times metrics are the following:

    @@ -145,21 +145,21 @@

    -

    17.2 JMeter configuration

    +

    16.2 JMeter configuration

    To make JMeter send metrics to backend add a BackendListener using the GraphiteBackendListenerClient.

    Graphite configuration
    Graphite configuration
    -

    17.2 InfluxDB

    +

    16.2 InfluxDB

    InfluxDB is an open-source, distributed,time-series database that allows to easily store metrics. Installation and configuration is very easy, read this for more details InfluxDB documentation.
    InfluxDB data can be easily viewed in a browser through either Influga or Grafana. We will use Grafana in this case.

    -

    17.2.1 InfluxDB graphite listener configuration

    +

    16.2.1 InfluxDB graphite listener configuration

    To enable Graphite listener in InfluxDB, edit files /opt/influxdb/shared/config.toml or /usr/local/etc/influxdb.conf, find "input_plugins.graphite" and set this:

    @@ -172,7 +172,7 @@ # udp_enabled = true # enable udp interface on the same port as the tcp interface
    -

    17.2.2 InfluxDB database configuration

    +

    16.2.2 InfluxDB database configuration

    Connect to InfluxDB admin console and create 2 databases:

    • grafana : Used by Grafana to store the dashboards we will create
    • @@ -180,7 +180,7 @@

    -

    17.2.3 Grafana configuration

    +

    16.2.3 Grafana configuration

    Installing grafana is just a matter of putting the unzipped bundle behind an Apache HTTP server.
    Read documentation for more details. @@ -212,12 +212,12 @@

    -

    17.3 Graphite

    +

    16.3 Graphite

    TODO.

    -

    20. Regular Expressions

    -

    20.1 Overview

    +

    21. Regular Expressions

    +

    21.1 Overview

    JMeter includes the pattern matching software Apache Jakarta ORO
    @@ -74,7 +74,7 @@ See also Placement of modifiers below.

    -

    20.2 Examples

    +

    21.2 Examples

    Extract single string

    Suppose you want to match the following portion of a web-page: @@ -144,7 +144,7 @@

    Extract multiple strings

    These variables can be referred to later on in the JMeter test plan, as ${MYREF}, ${MYREF_g1} etc

    -

    20.3 Line mode

    +

    21.3 Line mode

    The pattern matching behaves in various slightly different ways, depending on the setting of the multi-line and single-line modifiers. Note that the single-line and multi-line operators have nothing to do with each other; @@ -170,7 +170,7 @@

    Multi-line mode

    -

    20.4 Meta characters

    +

    21.4 Meta characters

    Regular expressions use certain characters as meta characters - these characters have a special meaning to the RE engine. Such characters must be escaped by preceeding them with \ (backslash) in order to treat them as ordinary characters. @@ -212,7 +212,7 @@

    Multi-line mode

    -

    20.5 Placement of modifiers

    +

    21.5 Placement of modifiers

    Modifiers can be placed anywhere in the regex, and apply from that point onwards. [A bug in ORO means that they cannot be used at the very end of the regex. @@ -229,7 +229,7 @@

    Multi-line mode

    -

    20.6 Testing Regular Expressions

    +

    21.6 Testing Regular Expressions

    Since JMeter 2.4, the listener View Results Tree include a RegExp Tester to test regular expressions directly on sampler response data. diff --git a/docs/usermanual/remote-test.html b/docs/usermanual/remote-test.html index 2a947d96dac..54fa0cd129e 100644 --- a/docs/usermanual/remote-test.html +++ b/docs/usermanual/remote-test.html @@ -28,7 +28,7 @@ fjs.parentNode.insertBefore(js,fjs); } })(document, 'script', 'twitter-wjs'); -

    15. Remote Testing

    +

    15. Remote Testing

    In the event that your JMeter client machine is unable, performance-wise, to simulate enough users to stress your server or is limited at network level, an option exists to control multiple, remote JMeter @@ -311,7 +311,7 @@

    -
    @@ -93,7 +93,7 @@
    apache-jmeter-2.13.tgz
    -

    Source

    +

    Source

    diff --git a/docs/mail2.html b/docs/mail2.html index feb9d780649..d01257bff7f 100644 --- a/docs/mail2.html +++ b/docs/mail2.html @@ -46,7 +46,7 @@

    JMeter lists and archives at the ASF

    The following mailing lists are available: -

    Apache JMeter User

    +

    Apache JMeter User

    This is the list where users of Apache JMeter meet and discuss issues.

    @@ -63,12 +63,12 @@
  • All old mails at jmeter-user Archive
  • -

    Jakarta JMeter User

    +

    Jakarta JMeter User

    This is the old JMeter user list from when JMeter was a sub-project of Apache Jakarta.
    -

    Apache JMeter Developer

    +

    Apache JMeter Developer

    This is the list where participating developers meet and discuss issues, code changes/additions etc.

    @@ -86,7 +86,7 @@
  • All old mails at jmeter-dev Archive
  • -

    Apache JMeter Commits

    +

    Apache JMeter Commits

    SVN commit messages are sent here.

    @@ -97,7 +97,7 @@
  • All old mails at jmeter-commits Archive
  • -

    Apache JMeter Issues

    +

    Apache JMeter Issues

    Bugzilla messages are sent here.

    @@ -110,19 +110,19 @@
  • All old mails at jmeter-issues Archive
  • -

    Jakarta Developer

    +

    Jakarta Developer

    Combined Jakarta developer list, April 2010 to November 2011

    -

    Jakarta JMeter Developer

    +

    Jakarta JMeter Developer

    Historical list, up to April 2010.
    -

    Jakarta Notifications

    +

    Jakarta Notifications

    Combined Jakarta notifications to November 2011. Includes Bugzilla, SVN and Wiki commit mails for JMeter.
      diff --git a/docs/svnindex.html b/docs/svnindex.html index f6f77885219..710c35d5263 100644 --- a/docs/svnindex.html +++ b/docs/svnindex.html @@ -42,7 +42,7 @@

      Modules available for access are listed below.

      -

      Subversion

      +

      Subversion

      Subversion is an open-source version control system. The root url of the ASF Subversion repository is http://svn.apache.org/repos/asf/ for non-committers and https://svn.apache.org/repos/asf/ for committers.

      diff --git a/docs/usermanual/best-practices.html b/docs/usermanual/best-practices.html index 82b01f02179..285bf84e86f 100644 --- a/docs/usermanual/best-practices.html +++ b/docs/usermanual/best-practices.html @@ -234,7 +234,7 @@ java -jar ../lib/bshclient.jar localhost 9000 throughput.bsh 70 5 100 60

      17.9 BeanShell scripting

      -

      17.9.1 Overview

      +

      17.9.1 Overview

      Each BeanShell test element has its own copy of the interpreter (for each thread). If the test element is repeatedly called, e.g. within a loop, then the interpreter is retained @@ -256,7 +256,7 @@

      -

      17.9.2 Sharing Variables

      +

      17.9.2 Sharing Variables

      Variables can be defined in startup (initialisation) scripts. These will be retained across invocations of the test element, unless the reset option is used.\ diff --git a/docs/usermanual/boss.html b/docs/usermanual/boss.html index 003aa4ec925..765fe904107 100644 --- a/docs/usermanual/boss.html +++ b/docs/usermanual/boss.html @@ -35,7 +35,7 @@ tools will prove useful. There are a number of products to consider. And finally, why is Java a good choice to implement a load-testing/Benchmarking product.

      -

      18.1 Questions to ask

      +

      18.1 Questions to ask

      What is our anticipated average number of users (normal load) ?

      What is our anticipated peak number of users ? @@ -48,13 +48,13 @@

      What is the testing intended to achieve?

      -

      18.2 Resources

      +

      18.2 Resources

      The following resources will prove very helpful. Bear in mind that if you cannot locate these resources, you will become these resources. As you already have your work cut out for you, it is worth knowing who the following people are, so that you can ask them for help if you need it.

      -

      18.2.1 Network

      +

      18.2.1 Network

      Who knows our network topology ? If you run into any firewall or proxy issues, this will become very important. As well, a private testing network (which will therefore have very low network latency) @@ -64,7 +64,7 @@ hardware ?

      -

      18.2.2 Application

      +

      18.2.2 Application

      Who knows how our application functions ? The normal sequence is

      • test (low-volume - can we benchmark our application?)
      • @@ -80,7 +80,7 @@ during this process, so be prepared to defend your work.

      -

      18.3 What platform should I use to run the benchmarks/load-tests ?

      +

      18.3 What platform should I use to run the benchmarks/load-tests ?

      This should be a widely-used piece of hardware, with a standard (i.e. vanilla) software installation. Remember, if you publish your results, the first thing your clients will do is hire a graduate student to verify them. @@ -118,20 +118,20 @@ use CSV output and import the data into a spreadsheet.

      Remember GUI mode is for Script creation and debugging, not for load testing
      -

      18.4 Tools

      +

      18.4 Tools

      The following tools will all prove useful. It is definitely worthwhile to become familiar with them. This should include trying them out, and reading the appropriate documentation (man-pages, info-files, application --help messages, and any supplied documentation).

      -

      18.4.1 ping

      +

      18.4.1 ping

      This can be used to establish whether or not you can reach your target site. Options can be specified so that 'ping' provides the same type of route reporting as 'traceroute'.

      -

      18.4.2 nslookup/dig

      +

      18.4.2 nslookup/dig

      While the user will normally use a human-readable internet address, you may wish to avoid the overhead of DNS lookups when @@ -139,7 +139,7 @@ the unique address (dotted quad) of your target site.

      -

      18.4.3 traceroute

      +

      18.4.3 traceroute

      If you cannot "ping" your target site, this may be used to determine the problem (possibly a firewall or a proxy). It can also be used @@ -150,10 +150,10 @@

      -

      18.5 How can I enhance JMeter ?

      +

      18.5 How can I enhance JMeter ?

      There a lot of open-source and commercial plugins that can enhance JMeter, let's mention here the main open-source ones:

      -

      18.5.1 JMeter-Plugins

      +

      18.5.1 JMeter-Plugins

      This non official project is THE companion to core JMeter.
      It provides many useful extensions, among which:

        @@ -166,20 +166,20 @@

      -

      18.5.2 JMeter Plugin for Maven

      +

      18.5.2 JMeter Plugin for Maven

      This non official plugin allows you to run your automated JMeter tests through Maven.

      -

      18.5.3 JMeter Performance Plugin

      +

      18.5.3 JMeter Performance Plugin

      This non official plugin allows you to capture reports from JMeter and JUnit.
      Jenkins will generate graphic charts with the trend report of performance and robustness. It includes the feature of setting the final build status as good, unstable or failed, based on the reported error percentage.

      -

      18.5.4 JMeter plugin for AWS

      +

      18.5.4 JMeter plugin for AWS

      This non official plugin automates running Apache JMeter on Amazon EC2

      -

      18.6 Why Java ?

      +

      18.6 Why Java ?

      Why not Perl or C ?

      Well, Perl might be a very good choice except that the Benchmark package diff --git a/docs/usermanual/build-ldapext-test-plan.html b/docs/usermanual/build-ldapext-test-plan.html index aea4625af9a..695bb6b05e6 100644 --- a/docs/usermanual/build-ldapext-test-plan.html +++ b/docs/usermanual/build-ldapext-test-plan.html @@ -66,7 +66,7 @@

      -

      9b.1 Adding Users

      +

      9b.1 Adding Users

      The first step you want to do with every JMeter Test Plan is to add a Thread Group element. The Thread Group tells JMeter the number of users you want to simulate, how often the users should send @@ -85,7 +85,7 @@

      -

      9b.2 Adding LDAP Extended Request Defaults

      +

      9b.2 Adding LDAP Extended Request Defaults

      Begin by selecting the LDAP Ext Users element. Click your right mouse button to get the Add menu, and then select Add >Config Element>LDAP Extended Request Defaults. Then, @@ -107,7 +107,7 @@

      We will not enter any default values here, as we will build a very small testplan, so we will explain all the different fields when we add the LDAP Extended samplers.
      -

      9b.3 Adding LDAP Requests

      +

      9b.3 Adding LDAP Requests

      In our Test Plan, we want to use all 9 LDAP requests.

      @@ -150,7 +150,7 @@ and edit the following properties.

      -

      9b.3.1 Adding a Thread bind Request

      +

      9b.3.1 Adding a Thread bind Request

      1. @@ -191,7 +191,7 @@

      -

      9b.3.2 Adding a search Request

      +

      9b.3.2 Adding a search Request

      1. @@ -249,7 +249,7 @@ Figure 9b.3.2. search request example

      -

      9b.3.3 Adding a Compare Request

      +

      9b.3.3 Adding a Compare Request

      1. @@ -273,7 +273,7 @@

      -

      9b.3.4 Adding a Single bind/unbind

      +

      9b.3.4 Adding a Single bind/unbind

      1. @@ -299,7 +299,7 @@

      -

      9b.3.5 Adding an Add Request

      +

      9b.3.5 Adding an Add Request

      1. @@ -326,7 +326,7 @@

      -

      9b.3.6 Adding a Modify Request

      +

      9b.3.6 Adding a Modify Request

      1. @@ -371,7 +371,7 @@

      -

      9b.3.7 Adding a Rename Request (moddn)

      +

      9b.3.7 Adding a Rename Request (moddn)

      1. @@ -401,7 +401,7 @@

      -

      9b.3.8 Adding a Delete Request

      +

      9b.3.8 Adding a Delete Request

      1. @@ -424,7 +424,7 @@

      -

      9b.3.9 Adding an unbind Request

      +

      9b.3.9 Adding an unbind Request

      1. @@ -444,7 +444,7 @@
      -

      9b.4 Adding a Listener to View/Store the Test Results

      +

      9b.4 Adding a Listener to View/Store the Test Results

      The final element you need to add to your Test Plan is a Listener. This element is responsible for storing all of the results of your LDAP diff --git a/docs/usermanual/build-test-plan.html b/docs/usermanual/build-test-plan.html index 5517588ae9b..73ab845c197 100644 --- a/docs/usermanual/build-test-plan.html +++ b/docs/usermanual/build-test-plan.html @@ -34,7 +34,7 @@ controllers, listeners, timers, assertions, and configuration elements.

      -

      3.1 Adding and Removing Elements

      +

      3.1 Adding and Removing Elements

      Adding elements to a test plan can be done by right-clicking on an element in the tree, and choosing a new element from the "add" list. Alternatively, elements can be loaded from file and added by choosing the "merge" or "open" option.

      @@ -43,7 +43,7 @@ and choose the "remove" option.

      -

      3.2 Loading and Saving Elements

      +

      3.2 Loading and Saving Elements

      To load an element from file, right click on the existing tree elements to which you want to add the loaded element, and select the "merge" option. Choose the file where your elements are saved. JMeter will merge the elements into the tree.

      @@ -55,7 +55,7 @@
      The workbench is not automatically saved with the test plan, but it can be saved separately as above.
      -

      3.3 Configuring Tree Elements

      +

      3.3 Configuring Tree Elements

      Any element in the test tree will present controls in JMeter's right-hand frame. These controls allow you to configure the behavior of that particular test element. What can be configured for an element depends on what type of element it is.

      @@ -63,7 +63,7 @@
      The Test Tree itself can be manipulated by dragging and dropping components around the test tree.
      -

      3.4 Saving the Test Plan

      +

      3.4 Saving the Test Plan

      Although it is not required, we recommend that you save the Test Plan to a file before running it. To save the Test Plan, select "Save" or "Save Test Plan As ..." from the File menu (with the latest release, it is no longer necessary to select the @@ -78,7 +78,7 @@

      -

      3.5 Running a Test Plan

      +

      3.5 Running a Test Plan

      To run your test plan, choose "Start" (Control + r) from the "Run" menu item. When JMeter is running, it shows a small green box at the right hand end of the section just under the menu bar. You can also check the "Run" menu. @@ -90,7 +90,7 @@

      -

      3.6 Stopping a Test

      +

      3.6 Stopping a Test

      There are two types of stop command available from the menu:

        @@ -132,7 +132,7 @@

      -

      3.7 Error reporting

      +

      3.7 Error reporting

      JMeter reports warnings and errors to the jmeter.log file, as well as some information on the test run itself. JMeter shows at the right hand end of its window, the number of warnings/errors found in jmeter.log file next to the warning icon. diff --git a/docs/usermanual/functions.html b/docs/usermanual/functions.html index 7ca0f9c9b24..e8a28f3a802 100644 --- a/docs/usermanual/functions.html +++ b/docs/usermanual/functions.html @@ -128,7 +128,7 @@

    apache-jmeter-2.13_src.tgz
    String TestPlanNameReturn name of current test plan2.6

    -

    20.1 What can functions do

    +

    20.1 What can functions do

    There are two kinds of functions: user-defined static values (or variables), and built-in functions.
    User-defined static values allow the user to define variables to be replaced with their static value when a test tree is compiled and submitted to be run. This replacement happens once at the beginning of the test @@ -151,7 +151,7 @@ Each occurrence of a function call in a test plan is handled by a separate function instance.

    -

    20.2 Where can functions and variables be used?

    +

    20.2 Where can functions and variables be used?

    Functions and variables can be written into any field of any test component (apart from the TestPlan - see below). Some fields do not allow random strings @@ -194,7 +194,7 @@

    -

    20.3 How to reference variables and functions

    +

    20.3 How to reference variables and functions

    Referencing a variable in a test element is done by bracketing the variable name with '${' and '}'.

    Functions are referenced in the same manner, but by convention, the names of functions begin with "__" to avoid conflict with user value names*. Some functions take arguments to @@ -246,7 +246,7 @@ variable will override the built-in function.

    -

    20.4 The Function Helper Dialog

    +

    20.4 The Function Helper Dialog

    The Function Helper dialog is available from JMeter's Tools menu.

    Function Helper Dialog
    Function Helper Dialog

    Using the Function Helper, you can select a function from the pull down, and assign @@ -257,7 +257,7 @@ for you to copy-paste into your test plan wherever you like.

    -

    20.5 Functions

    +

    20.5 Functions

    __regexFunction

    The Regex Function is used to parse the previous response (or the value of a variable) using any regular @@ -1345,7 +1345,7 @@

    -

    20.6 Pre-defined Variables

    +

    20.6 Pre-defined Variables

    Most variables are set by calling functions or by test elements such as User Defined Variables; in which case the user has full control over the variable name that is used. @@ -1359,7 +1359,7 @@

  • START variables (see next section)
  • -

    20.6 Pre-defined Properties

    +

    20.6 Pre-defined Properties

    The set of JMeter properties is initialised from the system properties defined when JMeter starts; additional JMeter properties are defined in jmeter.properties, user.properties or on the command line. diff --git a/docs/usermanual/get-started.html b/docs/usermanual/get-started.html index 74bd26c49e6..602044c381d 100644 --- a/docs/usermanual/get-started.html +++ b/docs/usermanual/get-started.html @@ -67,14 +67,14 @@

    2.1 Requirements

    JMeter requires that your computing environment meets some minimum requirements.

    -

    2.1.1 Java Version

    +

    2.1.1 Java Version

    JMeter requires a fully compliant JVM 6 or higher.

    Because JMeter uses only standard Java APIs, please do not file bug reports if your JRE fails to run JMeter because of JRE implementation issues.

    -

    2.1.2 Operating Systems

    +

    2.1.2 Operating Systems

    JMeter is a 100% Java application and should run correctly on any system that has a compliant Java implementation.

    Operating systems tested with JMeter can be viewed on @@ -86,25 +86,25 @@

    If you plan on doing JMeter development, then you will need one or more optional packages listed below.

    -

    2.2.1 Java Compiler

    +

    2.2.1 Java Compiler

    If you want to build the JMeter source or develop JMeter plugins, then you will need a fully compliant JDK 6 or higher.

    -

    2.2.2 SAX XML Parser

    +

    2.2.2 SAX XML Parser

    JMeter comes with Apache's Xerces XML parser. You have the option of telling JMeter to use a different XML parser. To do so, include the classes for the third-party parser in JMeter's classpath, and update the jmeter.properties file with the full classname of the parser implementation.

    -

    2.2.3 Email Support

    +

    2.2.3 Email Support

    JMeter has extensive Email capabilities. It can send email based on test results, and has a POP3(S)/IMAP(S) sampler. It also has an SMTP(S) sampler.

    -

    2.2.4 SSL Encryption

    +

    2.2.4 SSL Encryption

    To test a web server using SSL encryption (HTTPS), JMeter requires that an implementation of SSL be provided, as is the case with Sun Java 1.4 and above. If your version of Java does not include SSL support, then it is possible to add an external implementation. @@ -125,13 +125,13 @@

    -

    2.2.5 JDBC Driver

    +

    2.2.5 JDBC Driver

    You will need to add your database vendor's JDBC driver to the classpath if you want to do JDBC testing. Make sure the file is a jar file, not a zip.

    -

    2.2.6 JMS client

    +

    2.2.6 JMS client

    JMeter now includes the JMS API from Apache Geronimo, so you just need to add the appropriate JMS Client implementation jar(s) from the JMS provider. Please refer to their documentation for details. @@ -139,7 +139,7 @@

    -

    2.2.7 Libraries for ActiveMQ JMS

    +

    2.2.7 Libraries for ActiveMQ JMS

    You will need to add the jar activemq-all-X.X.X.jar to your classpath, e.g. by storing it in the lib/ directory.

    @@ -233,7 +233,7 @@ will override the HEAP settings in the script.

    -

    2.4.1 JMeter's Classpath

    +

    2.4.1 JMeter's Classpath

    JMeter automatically finds classes from jars in the following directories:

    • JMETER_HOME/lib - used for utility jars
    • @@ -265,7 +265,7 @@ [This occurs with all Java programs, not just JMeter.]

    -

    2.4.2 Create Test Plan from Template

    +

    2.4.2 Create Test Plan from Template

    You have the ability to create a new Test Plan from existing template.

    To do so you use the menu File > Templates... or Templates icon:

    Templates icon item
    Templates icon item
    @@ -276,7 +276,7 @@

    A documentation for each template explains what to do once test plan is created from template.

    -

    2.4.3 Using JMeter behing a proxy

    +

    2.4.3 Using JMeter behing a proxy

    If you are testing from behind a firewall/proxy server, you may need to provide JMeter with the firewall/proxy server hostname and port number. To do so, run the jmeter[.bat] file from a command line with the following parameters:

    @@ -317,7 +317,7 @@ This is not to be confused with the proxy settings described above, which are used when JMeter makes HTTP or HTTPS requests itself.
    -

    2.4.4 Non-GUI Mode (Command Line mode)

    +

    2.4.4 Non-GUI Mode (Command Line mode)

    For non-interactive testing, you may choose to run JMeter without the GUI. To do so, use the following command options:

    @@ -341,7 +341,7 @@

    -

    2.4.5 Server Mode

    +

    2.4.5 Server Mode

    For distributed testing, run JMeter in server mode on the remote node(s), and then control the server(s) from the GUI. You can also use non-GUI mode to run remote tests. To start the server(s), run jmeter-server[.bat] on each server host.

    @@ -367,7 +367,7 @@

    -

    2.4.6 Overriding Properties Via The Command Line

    +

    2.4.6 Overriding Properties Via The Command Line

    Java system properties, JMeter properties, and logging properties can be overriden directly on the command line (instead of modifying jmeter.properties). To do so, use the following options:

    @@ -391,7 +391,7 @@ Attempts to use the -J flag to update log_level or log_file properties will have no effect.

    -

    2.4.7 Logging and error messages

    +

    2.4.7 Logging and error messages

    JMeter does not generally use pop-up dialog boxes for errors, as these would interfere with running tests. Nor does it report any error for a mis-spelt variable or function; instead the @@ -436,7 +436,7 @@

    The log file can be helpful in determining the cause of an error, as JMeter does not interrupt a test to display an error dialogue.

    -

    2.4.8 Full list of command-line options

    +

    2.4.8 Full list of command-line options

    Invoking JMeter as "jmeter -?" will print a list of all the command-line options. These are shown below.

    @@ -498,7 +498,7 @@
     

    -

    2.4.9 non-GUI shutdown

    +

    2.4.9 non-GUI shutdown

    Prior to version 2.5.1, JMeter invoked System.exit() when a non-GUI test completed. This caused problems for applications that invoke JMeter directly, so JMeter no longer invokes System.exit() diff --git a/docs/usermanual/hints_and_tips.html b/docs/usermanual/hints_and_tips.html index 42f157fd55e..285b32af017 100644 --- a/docs/usermanual/hints_and_tips.html +++ b/docs/usermanual/hints_and_tips.html @@ -34,7 +34,7 @@ If you don't find what you are looking for here, please check the JMeter Wiki. Also, try search the JMeter User list; someone may well have already provided a solution.

    -

    22.1 Passing variables between threads

    +

    22.1 Passing variables between threads

    JMeter variables have thread scope. This is deliberate, so that threads can act indepently. However sometimes there is a need to pass variables between different threads, in the same or different Thread Groups. @@ -56,7 +56,7 @@

    -

    22.2 Enabling Debug logging

    +

    22.2 Enabling Debug logging

    Most test elements include debug logging. If running a test plan from the GUI, select the test element and use the Help Menu to enable or disable logging. @@ -84,7 +84,7 @@

    -

    22.3 Searching

    +

    22.3 Searching

    It is sometimes hard to find in a Test Plan tree and elements using a variable or containing a certain URL or parameter. A new feature is now available since 2.6, you can access it in Menu Search. @@ -102,7 +102,7 @@

    -

    22.4 Toolbar icons size

    +

    22.4 Toolbar icons size

    You can change the size of icons in the toolbar using the property

    jmeter.toolbar.icons.size
    with these values: 22x22 (default size), 32x32 or 48x48. diff --git a/docs/usermanual/index.html b/docs/usermanual/index.html index e2766216b45..220928b049f 100644 --- a/docs/usermanual/index.html +++ b/docs/usermanual/index.html @@ -33,7 +33,7 @@ Click on the "+" to go to the relevant section of the detailed section list, where you can select individual subsections.

    -

    Section Summary

    +

    Section Summary

    -

    Detailed Section List

    +

    Detailed Section List

    • 1. Introduction
      • diff --git a/docs/usermanual/intro.html b/docs/usermanual/intro.html index e8024aa459c..901a572ec1e 100644 --- a/docs/usermanual/intro.html +++ b/docs/usermanual/intro.html @@ -45,7 +45,7 @@ regular expressions.

        But please note that JMeter is not a browser, it works at protocol level.

        -

        1.1 History

        +

        1.1 History

        Stefano Mazzocchi of the Apache Software Foundation was the original developer of JMeter. He wrote it primarily to test the performance of Apache JServ (a project that has since been replaced by the Apache Tomcat project). We redesigned JMeter to enhance the GUI @@ -55,7 +55,7 @@

        JMeter became a Top Level Apache project in November 2011, which means it has a Project Management Commitee and a dedicated website.

        -

        1.2 The Future

        +

        1.2 The Future

        We hope to see JMeter's capabilities rapidly expand as developers take advantage of its pluggable architecture.
        The primary goal of further developments will be: diff --git a/docs/usermanual/ldapanswer_xml.html b/docs/usermanual/ldapanswer_xml.html index a2a3ec0c1d4..03589849c5f 100644 --- a/docs/usermanual/ldapanswer_xml.html +++ b/docs/usermanual/ldapanswer_xml.html @@ -36,12 +36,12 @@ construct an answer in xml encoding, so the results may be parsed with regextracter or alike functions.

        -

        1 Global overview

        +

        1 Global overview

        The global structure is as follows:

        -

        1.1 The operation section

        +

        1.1 The operation section

        The operation section defines the operation as it is sent to the LDAP Server. The following tags (with a short explanation) are used @@ -49,7 +49,7 @@

        -

        1.2 Response message section

        +

        1.2 Response message section

        As the response code, the official LDAP error definitions are used, so this section contains the error message as returned from the server. @@ -57,7 +57,7 @@ The following tag is used:

        -

        1.3 Response code section

        +

        1.3 Response code section

        As the response code, the official LDAP error definitions are used, so this section contains the error number as returned from the server. @@ -66,7 +66,7 @@

        -

        1.4 Search Result section

        +

        The following tag is used:

        diff --git a/docs/usermanual/ldapops_tutor.html b/docs/usermanual/ldapops_tutor.html index ce2f31d3379..aeec17e2dfa 100644 --- a/docs/usermanual/ldapops_tutor.html +++ b/docs/usermanual/ldapops_tutor.html @@ -43,19 +43,19 @@ The type of an object is determined by the "structural objectClass" eg person, organizationalUnit or country.
        The attributes contain the data of an object, eg mailadress, name, streetadress etc. Each attribute can have 0, 1 or more values.

        -

        1 Bind operation

        +

        1 Bind operation

        Any contact with an LDAP server MUST start with a bind request. LDAP is a state dependent protocol. Without opening a session to a LDAP server, no additional request can be made. Due to some peculiarities in the JAVA libraries, 2 different bind operations are implemented.

        -

        1.1 Thread Bind

        +

        1.1 Thread Bind

        This bind is meant to open a session to a LDAP server. Any testplan should use this operation as the starting point from a session. For each Thread (each virtual user) a seperate connection with the LDAP server is build, and so a seperate Thread bind is performed.

        -

        1.2 Single bind/unbind

        +

        1.2 Single bind/unbind

        This bind is used for user authentication verification. A proper developed LDAP client, who needs an authenticated user, perform a bind with a given distinguished name and password. @@ -64,33 +64,33 @@

        -

        2 Unbind

        +

        2 Unbind

        To close a connection to a LDAP server, an unbind operation is needed. As the Single bind/unbind operation already (implicitly) performs an unbind, only a Thread unbind operation is needed. This Thread unbind just closes the connection and cleans up any resources it has used.

        -

        3 Compare

        +

        3 Compare

        The compare operation needs the full distinguished name from a LDAP object, as well as a attribute and a value for the attribute. It will simply check: "Has this object really this attribute with this value?". Typical use is checking the membership of a certain user with a given group.

        -

        4 Search

        +

        The search test simply searches for all objects which comply with a given search filter, eg. all persons with a "employeeType=inactive" or "all persons with a userID equals user1"

        -

        5 Add

        +

        5 Add

        This simply add an object to the LDAP directory. Off course the combination of attributes and distinguishedName must be valid!

        -

        6 Modify

        +

        6 Modify

        This operation modifies one or more attributes from a given object. It needs the distinghised name from the object, as well as the attributes and the new values for this attribute.
        @@ -99,13 +99,13 @@ delete, to delete a value form an attribute, or to delete all the values of an attribute

        -

        7 Delete

        +

        7 Delete

        This operation deletes an object from the LDAP server. It needs the distinghised name from the object.

        -

        8 modDN

        +

        8 modDN

        This operation modifies the distinguished name from an object (it "moves" the object).
        It comes in two flavours, just renaming an entry, then you specify a new RDN (relative distinguished name, this is the lowest part of the DN)
        diff --git a/docs/usermanual/listeners.html b/docs/usermanual/listeners.html index fa64cf78782..253d5d1a728 100644 --- a/docs/usermanual/listeners.html +++ b/docs/usermanual/listeners.html @@ -205,7 +205,7 @@ Matching is now also strict (non-lenient). JMeter 2.8 and earlier used lenient mode which could result in timestamps with incorrect dates (times were usually correct).

        -

        14.1.1 Sample Variables

        +

        14.1.1 Sample Variables

        JMeter supports the sample_variables property to define a list of additional JMeter variables which are to be saved with @@ -214,7 +214,7 @@

        -

        14.1.2 Sample Result Save Configuration

        +

        14.1.2 Sample Result Save Configuration

        Listeners can be configured to save different items to the result log files (JTL) by using the Config popup as shown below. The defaults are defined as described in the Listener Default Configuration section above. diff --git a/docs/usermanual/realtime-results.html b/docs/usermanual/realtime-results.html index 402bf1b1c79..d78db2b4026 100644 --- a/docs/usermanual/realtime-results.html +++ b/docs/usermanual/realtime-results.html @@ -46,8 +46,8 @@

      • Graphite

      -

      16.1 Metrics exposed

      -

      16.1.1 Thread/Virtual Users metrics

      +

      16.1 Metrics exposed

      +

      16.1.1 Thread/Virtual Users metrics

      Threads metrics are the following:

      @@ -78,7 +78,7 @@
      -

      16.1.2 Response times metrics

      +

      16.1.2 Response times metrics

      Response times metrics are the following:

      @@ -145,21 +145,21 @@

      -

      16.2 JMeter configuration

      +

      16.2 JMeter configuration

      To make JMeter send metrics to backend add a BackendListener using the GraphiteBackendListenerClient.

      Graphite configuration
      Graphite configuration
      -

      16.2 InfluxDB

      +

      16.2 InfluxDB

      InfluxDB is an open-source, distributed,time-series database that allows to easily store metrics. Installation and configuration is very easy, read this for more details InfluxDB documentation.
      InfluxDB data can be easily viewed in a browser through either Influga or Grafana. We will use Grafana in this case.

      -

      16.2.1 InfluxDB graphite listener configuration

      +

      16.2.1 InfluxDB graphite listener configuration

      To enable Graphite listener in InfluxDB, edit files /opt/influxdb/shared/config.toml or /usr/local/etc/influxdb.conf, find "input_plugins.graphite" and set this:

      @@ -172,7 +172,7 @@ # udp_enabled = true # enable udp interface on the same port as the tcp interface
      -

      16.2.2 InfluxDB database configuration

      +

      16.2.2 InfluxDB database configuration

      Connect to InfluxDB admin console and create 2 databases:

      • grafana : Used by Grafana to store the dashboards we will create
      • @@ -180,7 +180,7 @@

      -

      16.2.3 Grafana configuration

      +

      16.2.3 Grafana configuration

      Installing grafana is just a matter of putting the unzipped bundle behind an Apache HTTP server.
      Read documentation for more details. @@ -212,7 +212,7 @@

      -

      16.3 Graphite

      +

      16.3 Graphite

      TODO.

      diff --git a/docs/usermanual/regular_expressions.html b/docs/usermanual/regular_expressions.html index a5349470c28..ab746be5608 100644 --- a/docs/usermanual/regular_expressions.html +++ b/docs/usermanual/regular_expressions.html @@ -29,7 +29,7 @@ } })(document, 'script', 'twitter-wjs');

      21. Regular Expressions

      -

      21.1 Overview

      +

      21.1 Overview

      JMeter includes the pattern matching software Apache Jakarta ORO
      @@ -74,7 +74,7 @@ See also Placement of modifiers below.

      -

      21.2 Examples

      +

      21.2 Examples

      Extract single string

      Suppose you want to match the following portion of a web-page: @@ -144,7 +144,7 @@

      Extract multiple strings

      These variables can be referred to later on in the JMeter test plan, as ${MYREF}, ${MYREF_g1} etc

      -

      21.3 Line mode

      +

      21.3 Line mode

      The pattern matching behaves in various slightly different ways, depending on the setting of the multi-line and single-line modifiers. Note that the single-line and multi-line operators have nothing to do with each other; @@ -170,7 +170,7 @@

      Multi-line mode

      -

      21.4 Meta characters

      +

      21.4 Meta characters

      Regular expressions use certain characters as meta characters - these characters have a special meaning to the RE engine. Such characters must be escaped by preceeding them with \ (backslash) in order to treat them as ordinary characters. @@ -212,7 +212,7 @@

      Multi-line mode

      -

      21.5 Placement of modifiers

      +

      21.5 Placement of modifiers

      Modifiers can be placed anywhere in the regex, and apply from that point onwards. [A bug in ORO means that they cannot be used at the very end of the regex. diff --git a/docs/usermanual/remote-test.html b/docs/usermanual/remote-test.html index 54fa0cd129e..26ce44d4646 100644 --- a/docs/usermanual/remote-test.html +++ b/docs/usermanual/remote-test.html @@ -129,7 +129,7 @@ The command-line client will exit when all the remote servers have stopped.

      -

      15.1 Doing it Manually

      +

      15.1 Doing it Manually

      In some cases, the jmeter-server script may not work for you (if you are using an OS platform not anticipated by the JMeter developers). Here is how to start the JMeter servers (step 1 above) with a more manual process:

      Step 1a: Start the RMI Registry

      @@ -155,7 +155,7 @@

      Steps 2 and 3 remain the same.

      -

      15.2 Tips

      +

      15.2 Tips

      JMeter/RMI requires a connection from the client to the server. This will use the port you chose, default 1099.
      JMeter/RMI also requires a reverse connection in order to return sample results from the server to the client.
      @@ -198,7 +198,7 @@ loopback interface is now allowed to be used if it has been specified directly using the Java System Property "java.rmi.server.hostname" parameter.

      -

      15.3 Using a different port

      +

      15.3 Using a different port

      By default, JMeter uses the standard RMI port 1099. It is possible to change this. For this to work successfully, all the following need to agree:

      • On the server, start rmiregistry using the new port number
      • @@ -226,7 +226,7 @@

      -

      15.4 Using a different sample sender

      +

      15.4 Using a different sample sender

      Listeners in the test plan send their results back to the client JMeter which writes the results to the specified files By default, samples are sent back synchronously as they are generated. @@ -291,7 +291,7 @@

      -

      15.5 Dealing with nodes that failed starting

      +

      15.5 Dealing with nodes that failed starting

      For large-scale tests there is a chance that some part of remote servers will be unavailable or down. For example, when you use automation script to allocate many cloud machines and use them as generators, diff --git a/docs/usermanual/test_plan.html b/docs/usermanual/test_plan.html index 0bac434e0f4..f827862a637 100644 --- a/docs/usermanual/test_plan.html +++ b/docs/usermanual/test_plan.html @@ -40,7 +40,7 @@

      If you are not recording the data to file, this option makes no difference.

      You can also use the Configuration button on a listener to decide what fields to save.

      -

      4.1 Thread Group

      +

      4.1 Thread Group

      Thread group elements are the beginning points of any test plan. All controllers and samplers must be under a thread group. Other elements, e.g. Listeners, may be placed directly under the test plan, @@ -83,7 +83,7 @@ Note that delay overrides start-time, and duration over-rides end-time.

      -

      4.2 Controllers

      +

      4.2 Controllers

      JMeter has two types of Controllers: Samplers and Logical Controllers. @@ -104,7 +104,7 @@

      -

      4.2.1 Samplers

      +

      4.2.1 Samplers

      Samplers tell JMeter to send requests to a server and wait for a response. @@ -144,7 +144,7 @@

      JMeter's built-in samplers

      -

      4.2.2 Logic Controllers

      +

      4.2.2 Logic Controllers

      Logic Controllers let you customize the logic that JMeter uses to decide when to send requests. Logic Controllers can change the order of requests coming from their @@ -224,7 +224,7 @@ Logic Controllers.

      -

      4.2.3 Test Fragments

      +

      4.2.3 Test Fragments

      The Test Fragment element is a special type of controller that exists on the Test Plan tree at the same level as the Thread Group element. It is distinguished from a Thread Group in that it is not executed unless it is @@ -233,7 +233,7 @@

      This element is purely for code re-use within Test Plans and was introduced in Version 2.5

      -

      4.3 Listeners

      +

      4.3 Listeners

      Listeners provide access to the information JMeter gathers about the test cases while JMeter runs. The Graph Results listener plots the response times on a graph. The "View Results Tree" Listener shows details of sampler requests and responses, and can display basic HTML and XML representations of the response. @@ -256,7 +256,7 @@ that come with JMeter.

      -

      4.4 Timers

      +

      4.4 Timers

      By default, a JMeter thread sends requests without pausing between each request. We recommend that you specify a delay by adding one of the available timers to @@ -276,7 +276,7 @@

      -

      4.5 Assertions

      +

      4.5 Assertions

      Assertions allow you to assert facts about responses received from the server being tested. Using an assertion, you can essentially "test" that your @@ -303,7 +303,7 @@

      -

      4.6 Configuration Elements

      +

      4.6 Configuration Elements

      A configuration element works closely with a Sampler. Although it does not send requests (except for HTTP(S) Test Script Recorder), it can add to or modify requests.

      @@ -327,21 +327,21 @@
      -

      4.7 Pre-Processor Elements

      +

      4.7 Pre-Processor Elements

      A Pre-Processor executes some action prior to a Sampler Request being made. If a Pre-Processor is attached to a Sampler element, then it will execute just prior to that sampler element running. A Pre-Processor is most often used to modify the settings of a Sample Request just before it runs, or to update variables that aren't extracted from response text. See the scoping rules for more details on when Pre-Processors are executed.

      -

      4.8 Post-Processor Elements

      +

      4.8 Post-Processor Elements

      A Post-Processor executes some action after a Sampler Request has been made. If a Post-Processor is attached to a Sampler element, then it will execute just after that sampler element runs. A Post-Processor is most often used to process the response data, often to extract values from it. See the scoping rules for more details on when Post-Processors are executed.

      -

      4.9 Execution order

      +

      4.9 Execution order

      1. Configuration elements
      2. Pre-Processors
      3. @@ -394,7 +394,7 @@

      -

      4.10 Scoping Rules

      +

      4.10 Scoping Rules

      The JMeter test tree contains elements that are both hierarchical and ordered. Some elements in the test trees are strictly hierarchical (Listeners, Config Elements, Post-Procesors, Pre-Processors, Assertions, Timers), and some are primarily ordered (controllers, samplers). When you create your test plan, you will create an ordered list of sample request (via Samplers) that represent a set of steps to be executed. These requests are often organized within controllers that are also ordered. Given the following test tree:

      Example test tree
      Example test tree
      @@ -421,7 +421,7 @@
      -

      4.11 Properties and Variables

      +

      4.11 Properties and Variables

      JMeter properties are defined in jmeter.properties (see Gettting Started - Configuring JMeter for more details). @@ -457,7 +457,7 @@

      Both variables and properties are case-sensitive.
      -

      4.12 Using Variables to parameterise tests

      +

      4.12 Using Variables to parameterise tests

      Variables don't have to vary - they can be defined once, and if left alone, will not change value. So you can use them as short-hand for expressions that appear frequently in a test plan. diff --git a/xdocs/stylesheets/website-style.xsl b/xdocs/stylesheets/website-style.xsl index 165391847ce..bcb452aa709 100644 --- a/xdocs/stylesheets/website-style.xsl +++ b/xdocs/stylesheets/website-style.xsl @@ -298,11 +298,13 @@

      - + + + From 1a87c1b14e2d8fe98a0b3fdf9f5cd7e71026fead Mon Sep 17 00:00:00 2001 From: Bruno Demion Date: Fri, 10 Apr 2015 20:44:13 +0000 Subject: [PATCH 08/19] Backport (cherry-pick via svn merge -c) the commits 1672759. Update the mail2 page git-svn-id: https://svn.apache.org/repos/asf/jmeter/branches/docs-2.13@1672763 13f79535-47bb-0310-9956-ffa450edef68 --- docs/mail2.html | 6 ++++-- xdocs/mail2.xml | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/docs/mail2.html b/docs/mail2.html index d01257bff7f..af71eda37a2 100644 --- a/docs/mail2.html +++ b/docs/mail2.html @@ -59,6 +59,7 @@

      @@ -82,6 +83,7 @@

      @@ -93,13 +95,13 @@ Prior to Nov 2011, they were sent to the Jakarta Notifications list, see below.

      Apache JMeter Issues

      -Bugzilla messages are sent here. +Bugzilla messages are sent here.

      Prior to Nov 2011, they were sent to the Jakarta Notifications list, see below. diff --git a/xdocs/mail2.xml b/xdocs/mail2.xml index 28e577cb44c..e4b83319177 100644 --- a/xdocs/mail2.xml +++ b/xdocs/mail2.xml @@ -58,6 +58,7 @@ For earlier postings, please see the Jakarta JMeter User list, below.

      @@ -81,6 +82,7 @@ For earlier postings, please see below.

      @@ -92,13 +94,13 @@ SVN commit messages are sent here. Prior to Nov 2011, they were sent to the Jakarta Notifications list, see below.

      -Bugzilla messages are sent here. +Bugzilla messages are sent here.

      Prior to Nov 2011, they were sent to the Jakarta Notifications list, see below. From 7823d374ce952a7f8e822af5b19c6ee1b3b1c623 Mon Sep 17 00:00:00 2001 From: Bruno Demion Date: Fri, 10 Apr 2015 20:49:29 +0000 Subject: [PATCH 09/19] Backport (cherry-pick via svn merge -c) the commits 1672765. Update the mail2 page (space update, sorry) git-svn-id: https://svn.apache.org/repos/asf/jmeter/branches/docs-2.13@1672766 13f79535-47bb-0310-9956-ffa450edef68 --- docs/mail2.html | 4 ++-- xdocs/mail2.xml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/mail2.html b/docs/mail2.html index af71eda37a2..828b741554e 100644 --- a/docs/mail2.html +++ b/docs/mail2.html @@ -59,7 +59,7 @@

      @@ -83,7 +83,7 @@

      diff --git a/xdocs/mail2.xml b/xdocs/mail2.xml index e4b83319177..c7d17c0d9bc 100644 --- a/xdocs/mail2.xml +++ b/xdocs/mail2.xml @@ -58,7 +58,7 @@ For earlier postings, please see the Jakarta JMeter User list, below.

      @@ -82,7 +82,7 @@ For earlier postings, please see below.

      From 731df98bd6b2acda0844126d3b860e82049a1d00 Mon Sep 17 00:00:00 2001 From: Bruno Demion Date: Fri, 10 Apr 2015 20:57:12 +0000 Subject: [PATCH 10/19] Backport (cherry-pick via svn merge -c) the commits 1672768. Update the mail2 page (last update for today) git-svn-id: https://svn.apache.org/repos/asf/jmeter/branches/docs-2.13@1672769 13f79535-47bb-0310-9956-ffa450edef68 --- docs/mail2.html | 2 +- xdocs/mail2.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/mail2.html b/docs/mail2.html index 828b741554e..56ddf704642 100644 --- a/docs/mail2.html +++ b/docs/mail2.html @@ -60,7 +60,7 @@
      diff --git a/xdocs/mail2.xml b/xdocs/mail2.xml index c7d17c0d9bc..256a01a676e 100644 --- a/xdocs/mail2.xml +++ b/xdocs/mail2.xml @@ -59,7 +59,7 @@ For earlier postings, please see the Jakarta JMeter User list, below. From b098b4405ef4071def6b07e3f57aedb3c6ae40e8 Mon Sep 17 00:00:00 2001 From: Sebastian Bazley Date: Thu, 30 Apr 2015 16:52:01 +0000 Subject: [PATCH 11/19] Document Java method used git-svn-id: https://svn.apache.org/repos/asf/jmeter/branches/docs-2.13@1677025 13f79535-47bb-0310-9956-ffa450edef68 --- xdocs/usermanual/functions.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xdocs/usermanual/functions.xml b/xdocs/usermanual/functions.xml index a89748d706d..34daede2230 100644 --- a/xdocs/usermanual/functions.xml +++ b/xdocs/usermanual/functions.xml @@ -495,7 +495,7 @@ Examples:

      -

      The machineName function returns the local host name

      +

      The machineName function returns the local host name. This uses the Java method InetAddress.getLocalHost() and passes it to getHostName()

      A reference name for reusing the value @@ -504,7 +504,7 @@ Examples:

      -

      The machineIP function returns the local IP address

      +

      The machineIP function returns the local IP address. This uses the Java method InetAddress.getLocalHost() and passes it to getHostAddress()

      A reference name for reusing the value From 6140ffa04804ab23a703fae60eb6cf37bbb45801 Mon Sep 17 00:00:00 2001 From: Sebastian Bazley Date: Sat, 30 May 2015 13:24:38 +0000 Subject: [PATCH 12/19] Drop the 3rd party references in favour of the Wiki git-svn-id: https://svn.apache.org/repos/asf/jmeter/branches/docs-2.13@1682599 13f79535-47bb-0310-9956-ffa450edef68 --- xdocs/usermanual/boss.xml | 39 +++++++++++---------------------------- 1 file changed, 11 insertions(+), 28 deletions(-) diff --git a/xdocs/usermanual/boss.xml b/xdocs/usermanual/boss.xml index 954d7d8b61e..07c3849e065 100644 --- a/xdocs/usermanual/boss.xml +++ b/xdocs/usermanual/boss.xml @@ -23,8 +23,7 @@ - Martin Ramshaw - Philippe Mouawad + JMeter developers User's Manual: My boss wants me to... @@ -153,33 +152,17 @@ and any supplied documentation). -

      There a lot of open-source and commercial plugins that can enhance JMeter, let's mention here the main open-source ones: +

      There a lot of open-source and commercial providers who provide JMeter plugins or other resources for use with JMeter. +Some of these are listed on the JMeter Wiki. +They are listed under several categories: +

        +
      • JMeterPlugins - plugins for extending JMeter
      • +
      • JMeterAddons - addons for use with JMeter, e.g. plugins for browsers, Maven and Jenkins.
      • +
      • JMeterServices - 3rd party services, e.g. cloud-based JMeter
      • +
      +Note that appearance of these on the Wiki does not imply any endorsement by the Apache JMeter project. +Any requests for support should be directed to the relevant supplier.

      - -

      This non official project is THE companion to core JMeter.
      - It provides many useful extensions, among which: -

        -
      • Active Threads Over Time Graph Listener
      • -
      • Response Times vs Threads Graph Listener
      • -
      • Transaction Throughput vs Threads Graph Listener
      • -
      • GraphGenerator listener to create graphs at end of a load test
      • -
      • Selenium WebDriver Sampler
      • -
      • ....
      • -
      -

      -
      - -

      This non official plugin allows you to run your automated JMeter tests through Maven.

      -
      - -

      This non official plugin allows you to capture reports from JMeter and JUnit.
      - Jenkins will generate graphic charts with the trend report of performance and robustness. - It includes the feature of setting the final build status as good, unstable or failed, based on the reported error percentage. -

      -
      - -

      This non official plugin automates running Apache JMeter on Amazon EC2

      -

      Why not Perl or C ? From 0376efa90b2335f0f199987dfa7a12c2e387e169 Mon Sep 17 00:00:00 2001 From: Sebastian Bazley Date: Sat, 30 May 2015 13:32:53 +0000 Subject: [PATCH 13/19] Publish 167705 update to functions.xml git-svn-id: https://svn.apache.org/repos/asf/jmeter/branches/docs-2.13@1682600 13f79535-47bb-0310-9956-ffa450edef68 --- docs/usermanual/functions.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/usermanual/functions.html b/docs/usermanual/functions.html index e8a28f3a802..96d47078430 100644 --- a/docs/usermanual/functions.html +++ b/docs/usermanual/functions.html @@ -496,7 +496,7 @@

      __machineName

      -

      The machineName function returns the local host name

      +

      The machineName function returns the local host name. This uses the Java method InetAddress.getLocalHost() and passes it to getHostName()

      Parameters @@ -507,7 +507,7 @@

      __machineIP

      -

      The machineIP function returns the local IP address

      +

      The machineIP function returns the local IP address. This uses the Java method InetAddress.getLocalHost() and passes it to getHostAddress()

      Parameters @@ -1191,7 +1191,7 @@ Supports HTML 4.0 entities.

      -For example,"bread" & "butter" +For example,"bread" & "butter" becomes: &quot;bread&quot; &amp; &quot;butter&quot;.

      From 9d2d80d3a2ce0ae7dac593eb24bcca6dff039785 Mon Sep 17 00:00:00 2001 From: Sebastian Bazley Date: Sat, 30 May 2015 13:33:33 +0000 Subject: [PATCH 14/19] Drop the 3rd party references in favour of the Wiki git-svn-id: https://svn.apache.org/repos/asf/jmeter/branches/docs-2.13@1682601 13f79535-47bb-0310-9956-ffa450edef68 --- docs/usermanual/boss.html | 38 +++++++++++--------------------------- 1 file changed, 11 insertions(+), 27 deletions(-) diff --git a/docs/usermanual/boss.html b/docs/usermanual/boss.html index 765fe904107..774866ca135 100644 --- a/docs/usermanual/boss.html +++ b/docs/usermanual/boss.html @@ -1,7 +1,7 @@ Apache JMeter - - User's Manual: My boss wants me to...
      Logo ASF
      Fixing EOL Remove superfluos &amp; - + Removing unnecessary </br> tags - + From 03bd3233b5816e68c4f974e49d174c4efc243a45 Mon Sep 17 00:00:00 2001 From: Sebastian Bazley Date: Sun, 31 May 2015 17:20:01 +0000 Subject: [PATCH 16/19] Extending page is not under usermanual folder git-svn-id: https://svn.apache.org/repos/asf/jmeter/branches/docs-2.13@1682752 13f79535-47bb-0310-9956-ffa450edef68 --- build.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.xml b/build.xml index 470d9267c20..fff48efcaf2 100644 --- a/build.xml +++ b/build.xml @@ -2303,7 +2303,7 @@ run JMeter unless all the JMeter jars are added. + includes="*.xml"> From 80e1d5d4cc84d82b2395a0bc57930bf48c196cc8 Mon Sep 17 00:00:00 2001 From: Sebastian Bazley Date: Sun, 31 May 2015 17:38:10 +0000 Subject: [PATCH 17/19] restore dropped & entity git-svn-id: https://svn.apache.org/repos/asf/jmeter/branches/docs-2.13@1682755 13f79535-47bb-0310-9956-ffa450edef68 --- docs/usermanual/functions.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/usermanual/functions.html b/docs/usermanual/functions.html index 96d47078430..0ca9949aa0b 100644 --- a/docs/usermanual/functions.html +++ b/docs/usermanual/functions.html @@ -1191,7 +1191,7 @@ Supports HTML 4.0 entities.

      -For example,"bread" & "butter" +For example,"bread" & "butter" becomes: &quot;bread&quot; &amp; &quot;butter&quot;.

      From a9b2aecf3e0dd42cc2fa419a85e9252be96655f3 Mon Sep 17 00:00:00 2001 From: Sebastian Bazley Date: Sun, 31 May 2015 17:41:36 +0000 Subject: [PATCH 18/19] Must use force="true" for the xslt tasks otherwise reruns will cause too many & entities to be replaced git-svn-id: https://svn.apache.org/repos/asf/jmeter/branches/docs-2.13@1682756 13f79535-47bb-0310-9956-ffa450edef68 --- build.xml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/build.xml b/build.xml index fff48efcaf2..118ff937f4e 100644 --- a/build.xml +++ b/build.xml @@ -2295,21 +2295,22 @@ run JMeter unless all the JMeter jars are added. + + excludes="extending.xml" includes="*.xml" force="true"> + includes="*.xml" force="true"> + includes="*.xml" force="true"> @@ -2327,6 +2328,7 @@ run JMeter unless all the JMeter jars are added. --> Fixing EOL + Remove superfluos &amp; Removing unnecessary </br> tags From d1e6c25fd6782ef036ef2e89dc38c2ff14187a83 Mon Sep 17 00:00:00 2001 From: Bruno Demion Date: Thu, 4 Jun 2015 17:08:16 +0000 Subject: [PATCH 19/19] Backport some typo commit: 1667880,1676827,1676836(only index.xml) git-svn-id: https://svn.apache.org/repos/asf/jmeter/branches/docs-2.13@1683596 13f79535-47bb-0310-9956-ffa450edef68 --- docs/index.html | 2 +- docs/issues.html | 4 ++-- docs/mail.html | 4 ++-- docs/usermanual/get-started.html | 2 +- xdocs/index.xml | 2 +- xdocs/mail.xml | 4 ++-- xdocs/usermanual/get-started.xml | 2 +- 7 files changed, 10 insertions(+), 10 deletions(-) diff --git a/docs/index.html b/docs/index.html index c05238d1efa..cc6f2f543cd 100644 --- a/docs/index.html +++ b/docs/index.html @@ -86,7 +86,7 @@

      JMeter is not a browser

      however JMeter does not perform all the actions supported by browsers. In particular, JMeter does not execute the Javascript found in HTML pages. Nor does it render the HTML pages as a browser does -(it's possible to view the response as HTML etc, but the timings are not included in any samples, and only one sample in one thread is ever viewed at a time). +(it's possible to view the response as HTML etc., but the timings are not included in any samples, and only one sample in one thread is ever viewed at a time).

      How do I do it?

      diff --git a/docs/issues.html b/docs/issues.html index 5023c29a981..ae4666c30d8 100644 --- a/docs/issues.html +++ b/docs/issues.html @@ -96,8 +96,8 @@
    • JMeter version
    • Java version (output from java -version)
    • OS version
    • -
    • jmeter.log file (unlikely to contain sensitive information, but check before uploading)
    • -
    • JMX file if relevant (redact any sensitive information first), providing a simplified Test Plan (using DEBUG sampler) will ensure BUG is fixed much more rapidely than without it
    • +
    • jmeter.log file (unlikely to contain sensitive information, but check before uploading)
    • +
    • JMX file if relevant (redact any sensitive information first), providing a simplified Test Plan (using Debug Sampler) will ensure BUG is fixed much more rapidly than without it
    • JTL file if relevant (may need to redact sensitive information)
    • For a suspected bug, describe what you did, what happened, and how this differs from what you expected to happen. Does it happen every time?. diff --git a/docs/mail.html b/docs/mail.html index c234a2823ab..2910cfbce09 100644 --- a/docs/mail.html +++ b/docs/mail.html @@ -130,14 +130,14 @@ Start a new thread for a new topic
      -When asing a new question, please start a new thread with an appropriate new subject line. +When asking a new question, please start a new thread with an appropriate new subject line. This makes it easier to read, and to find later in the archives.

      Do your best to ensure that you are not sending HTML or - "Stylelized" email to the list. + "Stylized" email to the list.
      If you are using Outlook or Outlook Express or Eudora, chances are that you are sending HTML email by default. There is usually a setting that diff --git a/docs/usermanual/get-started.html b/docs/usermanual/get-started.html index 602044c381d..1b52758c0a1 100644 --- a/docs/usermanual/get-started.html +++ b/docs/usermanual/get-started.html @@ -276,7 +276,7 @@

      A documentation for each template explains what to do once test plan is created from template.

    • -

      2.4.3 Using JMeter behing a proxy

      +

      2.4.3 Using JMeter behind a proxy

      If you are testing from behind a firewall/proxy server, you may need to provide JMeter with the firewall/proxy server hostname and port number. To do so, run the jmeter[.bat] file from a command line with the following parameters:

      diff --git a/xdocs/index.xml b/xdocs/index.xml index cc05ba7c1d2..73dee6bf2ef 100644 --- a/xdocs/index.xml +++ b/xdocs/index.xml @@ -79,7 +79,7 @@ As far as web-services and remote services are concerned, JMeter looks like a br however JMeter does not perform all the actions supported by browsers. In particular, JMeter does not execute the Javascript found in HTML pages. Nor does it render the HTML pages as a browser does -(it's possible to view the response as HTML etc, but the timings are not included in any samples, and only one sample in one thread is ever viewed at a time). +(it's possible to view the response as HTML etc., but the timings are not included in any samples, and only one sample in one thread is ever viewed at a time).

      How do I do it?

      diff --git a/xdocs/mail.xml b/xdocs/mail.xml index 7b24d26e269..0cc0be20ac6 100644 --- a/xdocs/mail.xml +++ b/xdocs/mail.xml @@ -127,14 +127,14 @@ and read. Start a new thread for a new topic
      -When asing a new question, please start a new thread with an appropriate new subject line. +When asking a new question, please start a new thread with an appropriate new subject line. This makes it easier to read, and to find later in the archives.

      Do your best to ensure that you are not sending HTML or - "Stylelized" email to the list. + "Stylized" email to the list.
      If you are using Outlook or Outlook Express or Eudora, chances are that you are sending HTML email by default. There is usually a setting that diff --git a/xdocs/usermanual/get-started.xml b/xdocs/usermanual/get-started.xml index e2ba024b972..d76ee1d4780 100644 --- a/xdocs/usermanual/get-started.xml +++ b/xdocs/usermanual/get-started.xml @@ -283,7 +283,7 @@ and the java command silently ignores the CLASSPATH variable, and the -classpath

      A documentation for each template explains what to do once test plan is created from template.

      - +

      If you are testing from behind a firewall/proxy server, you may need to provide JMeter with the firewall/proxy server hostname and port number. To do so, run the jmeter[.bat] file from a command line with the following parameters: