Skip to content

Commit

Permalink
Fix JDBC conversion when sampler query is solved from a JMeter variable
Browse files Browse the repository at this point in the history
  • Loading branch information
rabelenda-abstracta committed Oct 19, 2023
1 parent d499643 commit b7849ae
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ private QueryType getQueryType() {
private static QueryType solveQueryType(String query,
boolean hasParams) {
String queryType = query.trim();
if (query.isEmpty()) {
if (query.isEmpty() || query.matches("\\$\\{.*}")) {
return null;
}
queryType = queryType.substring(0, queryType.indexOf(" ")).toLowerCase(Locale.US);
Expand Down

0 comments on commit b7849ae

Please sign in to comment.