I am planning to load the database using a stored procedure callable statement. The test plan I am creating in JMeter looks like below:
- Test plan
- Thread Group
- JDBC Connection Configuration
- JDBC Request
- View results tree
- Summary Report
- JDBC Connection Configuration is based on tests that already work. The question is with my JDBC Request:
- Variable name: is the database name same as in JDBC Connection configuration
- Query Type:
Callable Statement
- Query:
{call schema.dbpk_utilities.get_user_id(?,?,?,?,?,?,?)}
- Parameter values:
S12345, HR, OUT, NULL,NULL,NULL, NULL
- Parameter Types:
VARCHAR, VARCHAR, INTEGER, VARCHAR, VARCHAR, VARCHAR, VARCHAR
- Variable names:
username,hr, id, four, five, six, seven
The error I get is:
Response message: java.lang.NumberFormatException: For input string:
"OUT"
Can anyone tell me why the response message? Is it possible to call Stored procedures in JMeter? I am struggling to OK this request!