Commit ebca8328 authored by litaolemo's avatar litaolemo

update

parent 29d58bc1
...@@ -860,6 +860,8 @@ class QuickstartUser(FastHttpUser): ...@@ -860,6 +860,8 @@ class QuickstartUser(FastHttpUser):
"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, verify=False, 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!@#"))
# print(response.text) # print(response.text)
# self.client.get("/hello") # self.client.get("/hello")
# self.client.get("/world") # self.client.get("/world")
......
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