Dear Wiki user, You have subscribed to a wiki page or wiki category on "Jakarta-jmeter Wiki" for change notification.
The following page has been changed by Mikko Ohtamaa: http://wiki.apache.org/jakarta-jmeter/BuildingPlugInWithEclipse ------------------------------------------------------------------------------ == Creating components == - JMeter 2.x uses its internal TestBean-framework for adding new components. + JMeter 2.x uses its internal TestBean-framework for adding new components. For more information, see [:DeveloperManual/TestBeanTutorial:Tutorial - Making a JMeter TestBean], [http://svn.apache.org/viewvc/jakarta/jmeter/trunk/xdocs/extending/jmeter_tutorial.pdf?view=log&pathrev=325123 this PDF] and JMeter source code + For each component you need + 1. An element class which interits from [TestElement, ConfigurationElement, XXXElement] and implements TestBean interface. TestBean interface marks classes which JMeter plug-in class loader loads automatically. + 2. Each TestBean class needs BeanInfoSupport class whichs describes the properties of the element class + 3. Properties file which gives out user interface strings for properties - Example: + === Example === - * Here are some examples with some dummy non-working implemenation details + Here are some examples with some dummy non-working implemenation details. - * For more information, see this tutorial PDF http://svn.apache.org/viewvc/jakarta/jmeter/trunk/xdocs/extending/jmeter_tutorial.pdf?view=log&pathrev=325123 and JMeter source code - * fi.xxx.jmeter.sip.core.SIPReceiver implements TestBean extends AbstractSampler + + + Java source fi/xxx/jmeter/sip/core/SIPReceiver {{{ package fi.xxx.jmeter.sip.core; @@ -146, +151 @@ }}} - * fi.xxx.jmeter.sip.core.SIPReceiverBeanInfoSupport extends BeanInfoSupport + Java source fi/xxx/jmeter/sip/core/SIPReceiverBeanInfoSupport {{{ @@ -181, +186 @@ }}} - * fi/xxx/jmeter/sip/core/SIPreceiver.properties + Properties file fi/xxx/jmeter/sip/core/SIPreceiver.properties {{{ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
