Thank you for replying. I will begin testing it :-)
yaroslav1 wrote:
>
> the idea is like this:
>
> 1. do a JDBC request like:
> SELECT ("field=" + field) as field FROM table;
>
> As result in ResponseData you will have:
>
> field=<data>
>
> 2. use "Post Beanshell" sample in the JDBC to extract data by template:
> "field=(.+)"
>
> If you have more then 1 field - then use for all fields the extract
> template as "field1=(.+\r)",
> "field2=(.+\r)", and etc
> \r - means that the data are "tab" delimited.
> For the last field use a template like - "fieldN=(.+)"
>
> I think it will help you.
> Yaroslav
>
>
--
View this message in context:
http://www.nabble.com/JDBC-Request%3A-Select-returning-values-to-variables-tp20931986p21540449.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]