Commit ea5da3f1 authored by litaolemo's avatar litaolemo

update

parent 12da22a9
......@@ -464,6 +464,6 @@ class QuickstartUser(FastHttpUser):
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("/world")
......@@ -3,7 +3,7 @@
# @File : es_locust_service.py
# @email : litao@igengmei.com
# @author : litao
# 运行方式 nohup locust -f locust_test/es_locust_service.py -H http://172.16.52.25:9200 -u 5000 --headless &
# 运行方式 nohup locust -f locust_test/es_locust_service.py -H http://172.16.52.25:9200 -u 500 --headless &
import json
import time
from locust import HttpUser, task
......
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