Commit 9855eecd authored by litaolemo's avatar litaolemo

update

parent ea5da3f1
...@@ -460,7 +460,7 @@ class QuickstartUser(FastHttpUser): ...@@ -460,7 +460,7 @@ class QuickstartUser(FastHttpUser):
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, verify=False, response = self.client.post('/gm-dbmw-answer-read/_search', json=data,
auth=tuple(auth.split(':', 1))) auth=tuple(auth.split(':', 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!@#"))
......
...@@ -859,7 +859,7 @@ class QuickstartUser(FastHttpUser): ...@@ -859,7 +859,7 @@ class QuickstartUser(FastHttpUser):
heasers = { heasers = {
"Content-Type": "application/x-www-form-urlencoded" "Content-Type": "application/x-www-form-urlencoded"
} }
response = self.client.post('/gm-dbmw-service-read/_search',json=data, verify=False, auth=tuple(auth.split(':',1))) response = self.client.post('/gm-dbmw-service-read/_search',json=data, auth=tuple(auth.split(':',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