Apache JMeter

Deprecated API

Deprecated Fields
org.apache.jmeter.protocol.http.config.MultipartUrlConfig.MULTIPART_FORM
          use HTTPSamplerBase.MULTIPART_FORM_DATA instead 
 

Deprecated Methods
org.apache.jmeter.protocol.http.config.MultipartUrlConfig.addEncodedArgument(String, String)
          values in a multipart/form-data are not urlencoded, so it does not make sense to add a value as a encoded value 
org.apache.jorphan.util.JOrphanUtils.booleanToString(boolean)
          Use Boolean.toString(boolean) instead. 
org.apache.jmeter.samplers.SampleResult.getResponseDataAsBA()
          - no longer needed, as getResponseData() does not return null 
org.apache.jmeter.util.JMeterUtils.getResString(String, String)
          Only intended for use in development; use getResString(String) normally 
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.save.SaveService.loadElement(Reader)
          Use loadElement(InputStream in) instead, since that takes the fileEncoding property of SaveService into consideration 
org.apache.jmeter.testbeans.TestBeanHelper.prepare(TestElement)
          to limit it's usage in expectation of moving it elsewhere. 
org.apache.jmeter.save.SaveService.saveElement(Object, Writer)
          Use saveElement(Object el, OutputStream out) instead, which takes the fileEncoding property of SaveService into consideration 
org.apache.jmeter.save.SaveService.saveSampleResult(SampleResult, Writer)
          Use saveSampleResult(SampleResult res, OutputStream out) instead, which takes the fileEncoding property of SaveService into consideration 
org.apache.jmeter.save.SaveService.saveTestElement(TestElement, Writer)
          Use saveTestElement(TestElement elem, OutputStream out) instead, which takes the fileEncoding property of SaveService into consideration 
org.apache.jmeter.save.SaveService.saveTree(HashTree, Writer)
          Use saveTree(HashTree tree, OutputStream out) instead, which takes the fileEncoding property of SaveService into consideration 
org.apache.jmeter.samplers.SampleResult.setResponseData(String)
          - only intended for use from BeanShell code 
org.apache.jmeter.samplers.SampleResult.setTime(long)
          use sampleStart() and sampleEnd() instead 
org.apache.jorphan.util.JOrphanUtils.valueOf(boolean)
          use Boolean.valueOf(boolean) 
 

Deprecated Constructors
org.apache.jmeter.assertions.AssertionResult()
          - use the named constructor 
org.apache.jmeter.gui.tree.JMeterTreeModel(Object)
          - only for use by JMeter class! 
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.visualizers.ServerPanel()
          Only for use in unit testing 
org.apache.jmeter.samplers.StatisticalSampleResult(long, long)
          Needs to be replaced when multiple sample results are sorted out 
 


Apache JMeter

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