mirror of
https://github.com/yanyiwu/cppjieba.git
synced 2025-07-18 00:00:12 +08:00
update test/servertest
This commit is contained in:
parent
38af4a5fb6
commit
eb113acfbe
@ -9,7 +9,7 @@ import sys
|
||||
|
||||
# 性能测试页面
|
||||
#PERF_TEST_URL = "http://10.2.66.38/?yyid=-1&suv=1309231700203264&callback=xxxxx"
|
||||
URLS = [line for line in open("../testdata/load_test.urls", "r")]
|
||||
URLS = [line for line in open("../test/testdata/load_test.urls", "r")]
|
||||
|
||||
# 配置:压力测试
|
||||
THREAD_NUM = 10 # 并发线程总数
|
||||
|
@ -1,4 +1,4 @@
|
||||
CURL_RES=../testdata/curl.res
|
||||
CURL_RES=../test/testdata/curl.res
|
||||
TMP=curl.res.tmp
|
||||
curl -s "http://127.0.0.1:11200/?key=南京市长江大桥" >> $TMP
|
||||
if diff $TMP $CURL_RES >> /dev/null
|
||||
|
Loading…
x
Reference in New Issue
Block a user