Ok, I assume the variable A_2 is passed on to the BSFAssertion ? Could you give an example of how to test this variable in the BSFAssertion ?
sebb-2-2 wrote: > > On 28/01/2010, PiotrW <[email protected]> wrote: >> >> Thanks for the reply. I know it's been covered in a very long discussion >> :) >> But that didn't answer my question. >> What do i use after the JDBC request ? Beanshell Assertion ? > > As I just wrote, you can use either a BSF assertion or a BeanShell > Assertion. > >> thnx again. >> >> >> >> sebb-2-2 wrote: >> > >> > On 28/01/2010, PiotrW <[email protected]> wrote: >> >> >> >> I'm doing a JDBC request that returns: >> >> >> >> Total >> >> 634 >> >> 211 >> >> 4 >> >> >> >> I have defined variables A, B, C in de JDBC request. So A_2 = 634. >> How >> >> do I >> >> assert this variable ? What should the next Assertion/Post >> >> processor/Listner >> >> ? >> > >> > That's not particularly easy currently, because the Assertions all >> > assume the input comes from the previous sample. >> > >> > You could add a Java Request and use ${A_2} in the response data >> > field; then add an Assertion to that. >> > >> > Otherwise, you will need to use a BSF or BeanShell assertion. I think >> > this has been covered in the archives. >> > >> >> thnx ! >> >> >> >> -- >> >> View this message in context: >> >> http://old.nabble.com/JDBC-Request-tp27353456p27353456.html >> >> Sent from the JMeter - User 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] >> > >> > >> > >> >> >> -- >> View this message in context: >> http://old.nabble.com/JDBC-Request-tp27353456p27354568.html >> >> Sent from the JMeter - User 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] > > > -- View this message in context: http://old.nabble.com/JDBC-Request-tp27353456p27354701.html Sent from the JMeter - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

