On 17/08/2009, Andrey Simonov <au...@bk.ru> wrote:
>
>  Yes, but please can you give me an example?
>
>  I have spent half a day of Friday trying to do something with variables in
>  BSF and BSH assertions and listeners and no luck!
>
>  All I need to do is to be able to evaluate variable and send some message to
>  some listener :)
>
>  An example will be greatly appreciated.
>

Read the following:

http://jakarta.apache.org/jmeter/usermanual/component_reference.html#BeanShell_Assertion

It includes sample code.

>
> sebb-2-2 wrote:
>  >
>  > On 17/08/2009, Andrey Simonov <au...@bk.ru> wrote:
>  >>
>  >>  That's not what I meant. I meant is there an assertion that can
>  >> conveniently
>  >>  parse SQL results?
>  >>
>  >>  E.g. my results are: table headers and 4 values. How do I check that
>  >> e.g.
>  >>  "Average" is < 30?
>  >
>  > JDBC can save results as variables.
>  >
>  > The Size Assertion is similar to what you want, unfortunately it only
>  > checks size... perhaps that should be extended to check a variable.
>  >
>  > Meanwhile, use a BSF or BSH Assertion to check the variable.
>  >
>  >
>  >>
>  >>  sebb-2-2 wrote:
>  >>  >
>  >>  > On 17/08/2009, Andrey Simonov <au...@bk.ru> wrote:
>  >>  >>
>  >>  >>  Hi!
>  >>  >>
>  >>  >>  Is there any sort of response assertion for JDBC requests?
>  >>  >
>  >>  > All the Assertions can be used with JDBC.
>  >>  >
>  >>  >>  Or it's RegExp Extractor only?
>  >>  >>
>  >>  >>  If there is a way (maybe via BSF request), please provide an example
>  >> :)
>  >>  >>
>  >>  >> --
>  >>  >>  View this message in context:
>  >>  >>
>  >> http://www.nabble.com/JDBC-Response-Assertion-tp25002488p25002488.html
>  >>  >>  Sent from the JMeter - User mailing list archive at Nabble.com.
>  >>  >>
>  >>  >>
>  >>  >>
>  >> ---------------------------------------------------------------------
>  >>  >>  To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
>  >>  >>  For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
>  >>  >>
>  >>  >>
>  >>  >
>  >>  > ---------------------------------------------------------------------
>  >>  > To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
>  >>  > For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
>  >>  >
>  >>  >
>  >>  >
>  >>
>  >>
>  >> --
>  >>  View this message in context:
>  >> http://www.nabble.com/JDBC-Response-Assertion-tp25002488p25005147.html
>  >>
>  >> Sent from the JMeter - User mailing list archive at Nabble.com.
>  >>
>  >>
>  >>  ---------------------------------------------------------------------
>  >>  To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
>  >>  For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
>  >>
>  >>
>  >
>  > ---------------------------------------------------------------------
>  > To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
>  > For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
>  >
>  >
>  >
>
>  --
>
> View this message in context: 
> http://www.nabble.com/JDBC-Response-Assertion-tp25002488p25005283.html
>
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
>  For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org

Reply via email to