Commit 7f16eae7 authored by litaolemo's avatar litaolemo

update

parent 68bef77e
...@@ -460,8 +460,8 @@ class QuickstartUser(HttpUser): ...@@ -460,8 +460,8 @@ class QuickstartUser(HttpUser):
heasers = { heasers = {
"Content-Type": "application/x-www-form-urlencoded" "Content-Type": "application/x-www-form-urlencoded"
} }
response = self.client.post('/gm-dbmw-answer-read/_search', json=data, response = self.client.post('/gm-dbmw-answer-read/_search', json=data,verify=False,
auth=tuple(auth.split(':', 1))) auth=tuple(auth.split(':', 1)),timeout=1)
# response = requests.post('http://172.16.52.25/gm-dbmw-service-read/_search', json=query, verify=False,auth=("elastic","elastic:gengmei!@#")) # response = requests.post('http://172.16.52.25/gm-dbmw-service-read/_search', json=query, verify=False,auth=("elastic","elastic:gengmei!@#"))
# print(response.text) # 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