jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrey Simonov <au...@bk.ru>
Subject Re: JDBC Response Assertion
Date Mon, 17 Aug 2009 11:41:29 GMT

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.


sebb-2-2 wrote:
> 
> On 17/08/2009, Andrey Simonov <aurum@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 <aurum@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-unsubscribe@jakarta.apache.org
>>  >>  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>  >>
>>  >>
>>  >
>>  > ---------------------------------------------------------------------
>>  > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>>  > For additional commands, e-mail: jmeter-user-help@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-unsubscribe@jakarta.apache.org
>>  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/JDBC-Response-Assertion-tp25002488p25005261.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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


Mime
View raw message