I've completed the initial 'proof of concept' of my TestBeans idea.
The idea is that component developers would develop Java Beans supporting the basic JMeter interfaces for the kind of component they want (Sampler, Timer, etc.). JMeter would then automagically provide a GUI for the component. There would be ways to tune that GUI --or even to replace it altogether-- by using standard Java Bean editing GUI concepts (only slightly modified).
Advantages:
- We will be able to create component GUIs with a consistent look & feel.
- Prototyping of JMeter components without complex GUI requirements is now trivial.
- It will be much easier to explain to developers unfamiliar to JMeter what needs to be done to create a new working component.
- JMeter architecture (particularly the relationship between the test bean, its gui, and the engine), being based on familiar (or at least well-documented) concepts like Java Beans, BeanInfos, and PropertyEditors, will also be easier to explain.
- Maybe more...
As you will see, TestBeans work well together with current TestElements. One possibility is to leave it here and just have 'another way' of building a test element. But my plan is more ambitious... yes, you guessed it: to eventually transform every JMeter TestElement into a TestBean.
Next steps:
1/ Please have a look and tell me what you think. I'll provide instructions & guidance in my next e-mail.
2/ Complete the proof-of-concept by adding some fundamental features:
. Handling of default values in the GUI
. TestBean.prepare job done by the engine, not each bean.
3/ Start discussion on whether it's worth moving this to the HEAD, and whether it's worth going for the full monty: a full migration to TestBeans, getting rid of TestElements as we know them today.
-- Salut,
Jordi.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
