On 22/07/2008, cham <[EMAIL PROTECTED]> wrote: > > Hello, > I am trying to extend the BeanShellAssertion, I want to add a new method > that validate the json syntax. > I have the code that do the validation. But now I want to add a checkbox > "ParseJson" that call my method when we check it. > > whlie I was trying to understand the src code of this assertion I noticed : > public static final String FILENAME = "BeanShellAssertion.filename"; > //$NON-NLS-1$ > public static final String SCRIPT = "BeanShellAssertion.query"; > //$NON-NLS-1$ > ..... > > But I cant find out in which properties file I should add (key, value) of my > new checkbox. > > Any ideas ? >
I suggest you use a parameter instead; there's then no need to extend the element. > best regards. > > > -- > View this message in context: > http://www.nabble.com/extending-BeanShellAssertion-tp18585184p18585184.html > Sent from the JMeter - Dev mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > 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]