Skip to content

Commit cec5b3e

Browse files
committed
update jmeter for new /about endpoint
1 parent 0d4a43c commit cec5b3e

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

other/jmeter/BBData-api-stress-test.jmx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -264,15 +264,15 @@ vars.put("bsh_done", "1");
264264
<boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp>
265265
</ThreadGroup>
266266
<hashTree>
267-
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="GET /info" enabled="true">
267+
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="GET /about" enabled="true">
268268
<elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
269269
<collectionProp name="Arguments.arguments"/>
270270
</elementProp>
271271
<stringProp name="HTTPSampler.domain"></stringProp>
272272
<stringProp name="HTTPSampler.port"></stringProp>
273273
<stringProp name="HTTPSampler.protocol"></stringProp>
274274
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
275-
<stringProp name="HTTPSampler.path">/info</stringProp>
275+
<stringProp name="HTTPSampler.path">/about</stringProp>
276276
<stringProp name="HTTPSampler.method">GET</stringProp>
277277
<boolProp name="HTTPSampler.follow_redirects">true</boolProp>
278278
<boolProp name="HTTPSampler.auto_redirects">false</boolProp>

other/jmeter/gen_test_inserts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
TOKEN_PAD = "a"
77

88
def generate_inserts(f, N0, N1, owner=OWNER, unit="V", token_start=TOKEN_START, token_pad=TOKEN_PAD):
9-
f.write("INSERT IGNORE INTO objects (id, description, ugrp_id, unit_symbol) VALUES\n")
9+
f.write("INSERT IGNORE INTO objects (id, name, ugrp_id, unit_symbol) VALUES\n")
1010
objects = [f' ({i}, "{DESCRIPTION_START} object {i}", {owner}, "{unit}")' for i in range(N0, N1+1)]
1111
f.write(',\n'.join(objects) + ";")
1212

0 commit comments

Comments
 (0)