JMETER-JDBC Request dynamic parameter settings

Source: Internet
Author: User

Important parameter Description:

  Variable Name: The name of the database connection pool needs to be consistent with the Variable name Bound pool name of the JDBC Connection configuration

Query: Fill in the SQL statement do not add ";"

Parameter values: Parameter value

Parameter types: Parameter types

Variable names: variable name to save SQL statement return result

Result variable Name: Creates an object variable that holds all returned results

Query timeout: Queries Time out

Handle result set: Defines how to handle the results returned by the callable statements statement

Define variables and use variables in SQL query:

1. Define three variables in test plan

2. Reference in SQL query using the ${variable name}:

In SQL query, use the? "As a placeholder and pass parameter values and parameter types, such as:

1, the passed parameter value is a constant, such as passing 3 constants: 10,accountingnew YORK:

2. The parameter value passed is a variable, as in ${dname}:

JMETER-JDBC Request dynamic parameter settings

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.