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]