I'd assume interest will be light at first, simply because you're the first one I can think of who came along and wanted a corba sampler. But, it may be that most corba developers just would not have imagined there was much out there for corba stress testing? I would think anyone doing corba would be very interested.
In any case, we're very glad for your contribution. As for peer review, usually the person who checks contributions in is a fairly experienced JMeter developer and will check it over. -Mike On Thu, 2005-01-06 at 12:40, Anil Philip wrote: > Just found this article on DII and JDK so shall look into it further. Any > other design decision comments - I mean is there any peer review/design > discussion on JMeter before it is decided to add a new feature? > > http://64.233.161.104/search?q=cache:jC4dQlM2S7gJ:www.adtmag.com/java/articl > eold.asp%3Fid%3D115+Dynamic+Invocation+Interface+jdk&hl=en > > -----Original Message----- > From: Peter Lin [mailto:[EMAIL PROTECTED] > Sent: Thursday, January 06, 2005 11:13 AM > To: JMeter Developers List > Subject: Re: any interest in a corba sampler? > > good question. I honestly don't know the answer, but testing Corba is > NOT an easy thing to begin with. Anything that helps make it easier to > test is good in my mind. I have like zero practical experience with > using Corba, but there are plenty of people who do :) > > peter > > > On Thu, 6 Jan 2005 11:08:51 -0600, Anil Philip <[EMAIL PROTECTED]> > wrote: > > Do the others think it will be useful? Will it be a pain for the user to > > write a class per idl method? Or should I try to use DII (not in Sun JDK?) > > which will not require any new code to be written? > > Thanks, > > Anil > > > > -----Original Message----- > > From: Peter Lin [mailto:[EMAIL PROTECTED] > > Sent: Thursday, January 06, 2005 11:04 AM > > To: JMeter Developers List > > Subject: Re: any interest in a corba sampler? > > > > cool, thanks for offering to contribute the code. Please file an entry > > in bugzilla and I'll try to get it in there fore the 2.1 release. > > > > peter > > > > On Thu, 6 Jan 2005 10:58:59 -0600, Anil Philip <[EMAIL PROTECTED]> > > wrote: > > > I have written a corba sampler for JMeter. The input data is taken from > > > property files. The method to be invoked is selected from a combo box > and > > > the input parameters displayed. > > > To invoke on a new server, a small class inheriting from MethodTask will > > > have to be written for each idl method to be tested which implements > > > loadInputData() and execute() (see below). Alternatively, the Dynamic > > > Invocation Interface can be used but is more involved/tricky to write - > > > however it does not seem like the orb in Sun's jdk supports it (if I am > > > mistaken, let me know). > > > > > > Will there be any interest in including it in JMeter? Screen shot is > > > attached (corba_sampler_screenshot.jpg). Clicking on the button brings > up > > a > > > File Chooser to select the property file. > > > Needs more testing. > > > Thanks, > > > Anil Philip > > > For good news go to > > > http://members.tripod.com/~goodnewsforyou/goodnews.html > > > > > > // class to be written for each idl method to be tested - if not using > DII > > > public class VerifyHomeTask > > > extends MethodTask { > > > Pmcs.PmcsUserMgt manager; > > > String id = ""; // argument in idl method > > > > > > public VerifyHomeTask() { > > > } > > > > > > /** > > > * > > > * @return Object > > > * @todo Implement this MethodTask > > > * method > > > */ > > > public java.lang.Object execute() throws Exception { > > > BooleanHolder isHome = null; > > > try { > > > this.manager = connectToServer(); > > > isHome = new org.omg.CORBA.BooleanHolder(); > > > manager.verifyHome(id, isHome); > > > } > > > catch (UnsupportedOperationError ex) { > > > } > > > return new Boolean((boolean)isHome.value); > > > } > > > > > > /** > > > * loadInputData > > > * > > > * @param inputData Properties > > > * @return String[] > > > * @todo Implement this MethodTask > > > * method > > > */ > > > public void loadInputData(Properties inputData) throws Exception { > > > loadConnectionData(inputData); > > > id = inputData.getProperty("verifyHome.id"); > > > id = "Forsee"; > > > if(id == null) > > > throw new Exception("verifyHome.id undefined"); > > > } > > > } > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- Michael Stover <[EMAIL PROTECTED]> Apache Software Foundation --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
