forked from sngular/kloadgen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Example-Test-Plan-2.jmx
270 lines (270 loc) · 18 KB
/
Example-Test-Plan-2.jmx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
<?xml version="1.0" encoding="UTF-8"?>
<jmeterTestPlan version="1.2" properties="5.0" jmeter="5.3">
<hashTree>
<TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="Test Plan" enabled="true">
<stringProp name="TestPlan.comments"></stringProp>
<boolProp name="TestPlan.functional_mode">false</boolProp>
<boolProp name="TestPlan.tearDown_on_shutdown">true</boolProp>
<boolProp name="TestPlan.serialize_threadgroups">false</boolProp>
<elementProp name="TestPlan.user_defined_variables" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
<collectionProp name="Arguments.arguments"/>
</elementProp>
<stringProp name="TestPlan.user_define_classpath"></stringProp>
</TestPlan>
<hashTree>
<ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="Thread Group" enabled="true">
<stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
<elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
<boolProp name="LoopController.continue_forever">false</boolProp>
<stringProp name="LoopController.loops">1</stringProp>
</elementProp>
<stringProp name="ThreadGroup.num_threads">1</stringProp>
<stringProp name="ThreadGroup.ramp_time">1</stringProp>
<boolProp name="ThreadGroup.scheduler">false</boolProp>
<stringProp name="ThreadGroup.duration"></stringProp>
<stringProp name="ThreadGroup.delay"></stringProp>
<boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp>
</ThreadGroup>
<hashTree>
<JavaSampler guiclass="JavaTestSamplerGui" testclass="JavaSampler" testname="Java Request" enabled="true">
<elementProp name="arguments" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" enabled="true">
<collectionProp name="Arguments.arguments">
<elementProp name="bootstrap.servers" elementType="Argument">
<stringProp name="Argument.name">bootstrap.servers</stringProp>
<stringProp name="Argument.value">localhost:29092</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="zookeeper.servers" elementType="Argument">
<stringProp name="Argument.name">zookeeper.servers</stringProp>
<stringProp name="Argument.value"><Zookeeper List></stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="kafka.topic.name" elementType="Argument">
<stringProp name="Argument.name">kafka.topic.name</stringProp>
<stringProp name="Argument.value">test_topic</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="compression.type" elementType="Argument">
<stringProp name="Argument.name">compression.type</stringProp>
<stringProp name="Argument.value">none</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="batch.size" elementType="Argument">
<stringProp name="Argument.name">batch.size</stringProp>
<stringProp name="Argument.value">16384</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="linger.ms" elementType="Argument">
<stringProp name="Argument.name">linger.ms</stringProp>
<stringProp name="Argument.value">0</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="buffer.memory" elementType="Argument">
<stringProp name="Argument.name">buffer.memory</stringProp>
<stringProp name="Argument.value">33554432</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="acks" elementType="Argument">
<stringProp name="Argument.name">acks</stringProp>
<stringProp name="Argument.value">1</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="send.buffer.bytes" elementType="Argument">
<stringProp name="Argument.name">send.buffer.bytes</stringProp>
<stringProp name="Argument.value">131072</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="receive.buffer.bytes" elementType="Argument">
<stringProp name="Argument.name">receive.buffer.bytes</stringProp>
<stringProp name="Argument.value">32768</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="security.protocol" elementType="Argument">
<stringProp name="Argument.name">security.protocol</stringProp>
<stringProp name="Argument.value">PLAINTEXT</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="keyed.message" elementType="Argument">
<stringProp name="Argument.name">keyed.message</stringProp>
<stringProp name="Argument.value">NO</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="message.key.type" elementType="Argument">
<stringProp name="Argument.name">message.key.type</stringProp>
<stringProp name="Argument.value">string</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="message.key.value" elementType="Argument">
<stringProp name="Argument.name">message.key.value</stringProp>
<stringProp name="Argument.value"><key.value></stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="kerberos.auth.enabled" elementType="Argument">
<stringProp name="Argument.name">kerberos.auth.enabled</stringProp>
<stringProp name="Argument.value">NO</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="jaas.enabled" elementType="Argument">
<stringProp name="Argument.name">jaas.enabled</stringProp>
<stringProp name="Argument.value">NO</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="java.security.auth.login.config" elementType="Argument">
<stringProp name="Argument.name">java.security.auth.login.config</stringProp>
<stringProp name="Argument.value"><JAAS File Location></stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="java.security.krb5.conf" elementType="Argument">
<stringProp name="Argument.name">java.security.krb5.conf</stringProp>
<stringProp name="Argument.value"><krb5.conf location></stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="sasl.kerberos.service.name" elementType="Argument">
<stringProp name="Argument.name">sasl.kerberos.service.name</stringProp>
<stringProp name="Argument.value">kafka</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="sasl.mechanism" elementType="Argument">
<stringProp name="Argument.name">sasl.mechanism</stringProp>
<stringProp name="Argument.value">GSSAPI</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="value.subject.name.strategy" elementType="Argument">
<stringProp name="Argument.name">value.subject.name.strategy</stringProp>
<stringProp name="Argument.value">io.confluent.kafka.serializers.subject.TopicRecordNameStrategy</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="ssl.enabled" elementType="Argument">
<stringProp name="Argument.name">ssl.enabled</stringProp>
<stringProp name="Argument.value">NO</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="ssl.key.password" elementType="Argument">
<stringProp name="Argument.name">ssl.key.password</stringProp>
<stringProp name="Argument.value"><Key Password></stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="ssl.keystore.location" elementType="Argument">
<stringProp name="Argument.name">ssl.keystore.location</stringProp>
<stringProp name="Argument.value"><Keystore Location></stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="ssl.keystore.password" elementType="Argument">
<stringProp name="Argument.name">ssl.keystore.password</stringProp>
<stringProp name="Argument.value"><Keystore Password></stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="ssl.truststore.location" elementType="Argument">
<stringProp name="Argument.name">ssl.truststore.location</stringProp>
<stringProp name="Argument.value"><Truststore Location></stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="ssl.truststore.password" elementType="Argument">
<stringProp name="Argument.name">ssl.truststore.password</stringProp>
<stringProp name="Argument.value"><Truststore Password></stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="client.id" elementType="Argument">
<stringProp name="Argument.name">client.id</stringProp>
<stringProp name="Argument.value"></stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="security.providers" elementType="Argument">
<stringProp name="Argument.name">security.providers</stringProp>
<stringProp name="Argument.value"></stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="ssl.enabled.protocols" elementType="Argument">
<stringProp name="Argument.name">ssl.enabled.protocols</stringProp>
<stringProp name="Argument.value">TLSv1.2,TLSv1.3</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="ssl.endpoint.identification.algorithm" elementType="Argument">
<stringProp name="Argument.name">ssl.endpoint.identification.algorithm</stringProp>
<stringProp name="Argument.value">https</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="ssl.keymanager.algorithm" elementType="Argument">
<stringProp name="Argument.name">ssl.keymanager.algorithm</stringProp>
<stringProp name="Argument.value">SunX509</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="ssl.protocol" elementType="Argument">
<stringProp name="Argument.name">ssl.protocol</stringProp>
<stringProp name="Argument.value"></stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="ssl.keystore.type" elementType="Argument">
<stringProp name="Argument.name">ssl.keystore.type</stringProp>
<stringProp name="Argument.value">JKS</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="ssl.provider" elementType="Argument">
<stringProp name="Argument.name">ssl.provider</stringProp>
<stringProp name="Argument.value"></stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="ssl.protocol" elementType="Argument">
<stringProp name="Argument.name">ssl.protocol</stringProp>
<stringProp name="Argument.value">TLSv1.3</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="auto.register.schemas" elementType="Argument">
<stringProp name="Argument.name">auto.register.schemas</stringProp>
<stringProp name="Argument.value">false</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="key.serializer" elementType="Argument">
<stringProp name="Argument.name">key.serializer</stringProp>
<stringProp name="Argument.value">org.apache.kafka.common.serialization.StringSerializer</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
<elementProp name="value.serializer" elementType="Argument">
<stringProp name="Argument.name">value.serializer</stringProp>
<stringProp name="Argument.value">net.coru.kloadgen.serializer.GenericAvroRecordBinarySerializer</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
</collectionProp>
</elementProp>
<stringProp name="classname">net.coru.kloadgen.sampler.GenericBinaryKafkaSampler</stringProp>
</JavaSampler>
<hashTree/>
<net.coru.kloadgen.config.valuefileserialized.ValueFileSerializedConfigElement guiclass="TestBeanGUI" testclass="net.coru.kloadgen.config.valuefileserialized.ValueFileSerializedConfigElement" testname="Schema File Load Generator Config" enabled="true">
<stringProp name="valueSchemaDefinition">{"type":"record","name":"User","namespace":"com.user.details","fields":[{"name":"username","type":"string"},{"name":"blocks","type":["null",{"type":"array","items":{"type":"record","name":"UserRule","fields":[{"name":"code","type":"int"},{"name":"override","type":["null","string"],"default":null},{"name":"value","type":"float"},{"name":"penalty","type":"float"}]}}],"default":null}]}</stringProp>
<stringProp name="valueSubjectName"><avro subject></stringProp>
<collectionProp name="valueSchemaProperties">
<elementProp name="" elementType="net.coru.kloadgen.model.FieldValueMapping">
<stringProp name="fieldName">username</stringProp>
<intProp name="valueLength">0</intProp>
<stringProp name="fieldType">string</stringProp>
</elementProp>
<elementProp name="" elementType="net.coru.kloadgen.model.FieldValueMapping">
<stringProp name="fieldName">blocks[].code</stringProp>
<intProp name="valueLength">0</intProp>
<stringProp name="fieldType">int</stringProp>
</elementProp>
<elementProp name="" elementType="net.coru.kloadgen.model.FieldValueMapping">
<stringProp name="fieldName">blocks[].override</stringProp>
<intProp name="valueLength">0</intProp>
<stringProp name="fieldType">string</stringProp>
</elementProp>
<elementProp name="" elementType="net.coru.kloadgen.model.FieldValueMapping">
<stringProp name="fieldName">blocks[].value</stringProp>
<intProp name="valueLength">0</intProp>
<stringProp name="fieldType">float</stringProp>
<stringProp name="fieldValuesList">9.0</stringProp>
</elementProp>
<elementProp name="" elementType="net.coru.kloadgen.model.FieldValueMapping">
<stringProp name="fieldName">blocks[].penalty</stringProp>
<intProp name="valueLength">0</intProp>
<stringProp name="fieldType">float</stringProp>
<stringProp name="fieldValuesList">8</stringProp>
</elementProp>
</collectionProp>
<stringProp name="valueSchemaType">AVRO</stringProp>
</net.coru.kloadgen.config.valuefileserialized.ValueFileSerializedConfigElement>
<hashTree/>
</hashTree>
</hashTree>
</hashTree>
</jmeterTestPlan>