update test/servertest

This commit is contained in:
wyy 2014-09-15 22:21:37 +08:00
parent 38af4a5fb6
commit eb113acfbe
2 changed files with 2 additions and 2 deletions

View File

@ -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 # 并发线程总数

View File

@ -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