Deprecated API

Contents

Deprecated Classes

UserParameterModifier
UserParameterModifierGui
UserParameterXMLParser

Deprecated Methods

org.apache.jmeter.util.Calculator.getPageSize()
use getAvgPageBytes() instead.
org.apache.jmeter.save.CSVSaveService.makeResultFromDelimitedString(String,SampleSaveConfiguration,long)
Does not handle quoted strings; use processSamples(String,Visualizer,ResultCollector) 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.protocol.http.proxy.HttpRequestHdr.getSampler()
use the getSampler(HashMap pageEncodings, HashMap formEncodings) instead, since that properly handles the encodings of the page
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.setFileField(String)
use setHTTPFiles() instead
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.getFileField()
Use getHTTPFiles() array instead
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.setFilename(String)
use setHTTPFiles() instead
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.getFilename()
Use getHTTPFiles() array instead
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.setMimetype(String)
use setHTTPFiles() instead
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.getMimetype()
Use getHTTPFiles() array instead
org.apache.jmeter.util.JMeterUtils.getResString(String,String)
Only intended for use in development; use getResString(String) normally
org.apache.jmeter.samplers.SampleResult.setTime(long)
use sampleStart() and sampleEnd() instead
org.apache.jmeter.samplers.SampleResult.setResponseData(String)
- only intended for use from BeanShell code
org.apache.jmeter.samplers.SampleResult.getDataEncoding()
use getDataEncodingWithDefault() or getDataEncodingNoDefault() as needed.
org.apache.jmeter.visualizers.SamplingStatCalculator.getPageSize()
use getBytesPerSecond() instead
org.apache.jmeter.visualizers.StatVisualizer.testFunctors()
- only for use in testing
org.apache.jmeter.visualizers.SummaryReport.testFunctors()
- only for use in testing
org.apache.jmeter.testbeans.TestBeanHelper.prepare(TestElement)
to limit it's usage in expectation of moving it elsewhere.

Deprecated Constructors

org.apache.jmeter.assertions.AssertionResult.AssertionResult()
- use the named constructor
org.apache.jmeter.exceptions.IllegalUserActionException.IllegalUserActionException()
- use IllegalUserActionException(String)
org.apache.jmeter.gui.util.JLabeledRadioI18N.JLabeledRadioI18N()
- only for use in testing
org.apache.jmeter.gui.tree.JMeterTreeModel.JMeterTreeModel(Object)
- only for use by JMeter class!
org.apache.jmeter.gui.MainFrame.MainFrame()
Do not use - only needed for JUnit tests
org.apache.jmeter.visualizers.MonitorGraph.MonitorGraph()
Only for use in unit testing
org.apache.jmeter.visualizers.MonitorHealthPanel.MonitorHealthPanel()
Only for use in unit testing
org.apache.jmeter.visualizers.MonitorPerformancePanel.MonitorPerformancePanel()
Only for use in unit testing
org.apache.jmeter.protocol.http.config.MultipartUrlConfig.MultipartUrlConfig()
only for use by unit tests
org.apache.jmeter.visualizers.ServerPanel.ServerPanel()
Only for use in unit testing
org.apache.jmeter.samplers.StatisticalSampleResult.StatisticalSampleResult(long,long)
Needs to be replaced when multiple sample results are sorted out

Copyright © 1998-2010 Apache Software Foundation. All Rights Reserved.