You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by ab...@bloglines.com on 2007/09/06 22:45:33 UTC

Getting urls to sample from a database

Is there a way to request data from a database and use the results of the
query to send http requests.

The JDBC Sampler seems to be used for testing
the db. I'm interested in testing a web app based on the data retrieved from
the database.

Thanks,
Dan

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


Re: Getting urls to sample from a database

Posted by sebb <se...@gmail.com>.
You can use the JDBC sampler, but it might be a bit awkard to parse
the response data to extract the data you need.

The easiest solution is probably to create a CSV file with the data,
using whatever tool you find convenient - most databases have some
sort of report utility - and then use the CSV Data Set Config to read
the data.

S.
On 6 Sep 2007 20:45:33 -0000, aberdeen61.55917239@bloglines.com
<ab...@bloglines.com> wrote:
> Is there a way to request data from a database and use the results of the
> query to send http requests.
>
> The JDBC Sampler seems to be used for testing
> the db. I'm interested in testing a web app based on the data retrieved from
> the database.
>
> Thanks,
> Dan
>
> ---------------------------------------------------------------------
> 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