Skip to content

Commit cce582c

Browse files
Forced lowercase for index
1 parent aec4285 commit cce582c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/io/github/delirius325/jmeter/backendlistener/elasticsearch/ElasticsearchBackend.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public void setupTest(BackendListenerContext context) throws Exception {
7070
String host = context.getParameter(ES_HOST);
7171
this.filters = new LinkedList<String>();
7272
int port = Integer.parseInt(context.getParameter(ES_PORT));
73-
this.index = context.getParameter(ES_INDEX);
73+
this.index = context.getParameter(ES_INDEX).toLowerCase();
7474
this.bulkSize = Integer.parseInt(context.getParameter(ES_BULK_SIZE));
7575
this.timeoutMs = JMeterUtils.getPropDefault(ES_TIMEOUT_MS, DEFAULT_TIMEOUT_MS);
7676
this.buildNumber = (JMeterUtils.getProperty(ElasticsearchBackend.BUILD_NUMBER) != null && JMeterUtils.getProperty(ElasticsearchBackend.BUILD_NUMBER).trim() != "")

0 commit comments

Comments
 (0)