Commit 75c8ebc1 authored by litaolemo's avatar litaolemo

update

parent 8e5d1f6a
......@@ -856,7 +856,7 @@ class QuickstartUser(HttpUser):
}
""".replace('{query}',random.choice(json.dumps(query_Str_list)))
heasers = {
"Content-Type": "application/json"
"Content-Type": "application/x-www-form-urlencoded"
}
response = self.client.post('/gm-dbmw-service-read/_search',heasers=heasers,data=data, verify=False, auth=tuple(auth.split(':',1)))
print(response.text)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment