File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
src/main/java/io/github/delirius325/jmeter/backendlistener/elasticsearch Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change 9
9
10
10
import com .google .gson .Gson ;
11
11
import org .apache .commons .io .IOUtils ;
12
- import org .apache .commons .lang .StringUtils ;
13
12
import org .apache .http .HttpEntity ;
14
13
import org .apache .http .HttpHost ;
15
14
import org .apache .http .HttpStatus ;
@@ -62,9 +61,6 @@ public Arguments getDefaultParameters() {
62
61
parameters .addArgument (ES_TIMEOUT_MS , Long .toString (DEFAULT_TIMEOUT_MS ));
63
62
parameters .addArgument (ES_SAMPLE_FILTER , null );
64
63
parameters .addArgument (ES_TEST_MODE , "info" );
65
- //TODO. In future version - add the support for TransportClient as well for the possibility to choose the ElasticSearch version
66
- //parameters.addArgument(ES_TRANSPORT_CLIENT, "false");
67
- //parameters.addArgument(ES_TRANSPORT_VERSION, "6.2.0");
68
64
return parameters ;
69
65
}
70
66
@@ -97,6 +93,7 @@ public void onFailure(HttpHost host) {
97
93
this .filters .add (filter );
98
94
}
99
95
}
96
+ this .client .performRequest ("PUT" , "/" + this .index );
100
97
super .setupTest (context );
101
98
} catch (Exception e ) {
102
99
throw new IllegalStateException ("Unable to connect to the ElasticSearch engine" , e );
You can’t perform that action at this time.
0 commit comments