2016-09-10 4 views
1

나는 테스트를 실행 한 후 :이 얻을왜 오류 코드 404가 표시됩니까?

tsung -f test.xml start 

다음에

python -m SimpleHTTPServer 8080 

: 다음

$ cd /Users/samir/.tsung/log/20160910-1035 
Apple-Mac-mini:20160910-1035 samir$ /usr/local/Cellar/tsung/1.6.0/lib/tsung/bin/tsung_stats.pl 
creating subdirectory data 
creating subdirectory gnuplot_scripts 
creating subdirectory images 
warn, last interval (2) not equal to the first, use the first one (10) 
No data for Bosh 
No data for Match 
No data for Event 
No data for Async 

을, 나는 결과를 확인하기 위해 로컬 서버를 실행하려고 브라우저에서 http://localhost:8080을 방문하면 http://localhost:8080/es/ts_web:status으로 리디렉션되며 다음과 같이 표시됩니다.

Error response 

Error code 404. 

Message: File not found. 

Error code explanation: 404 = Nothing matches the given URI. 

그러나, 다른 보고서는 http://localhost:8080/graph.html

어떤 생각처럼 잘 작동? 실시간 상태는 http://localhost:8080/es/ts_web:status입니까? 404 오류가 발생하는 이유는 무엇입니까?

답변

1

이의 tsung_stats.pl 스크립트, 브라우저에서, report.html 파일을 생성의 ts_controller_sup.beam는 당신이 필요로하는, 8091 포트를 듣고 http://localhost:8080/report.html의 index.html을 ts_controller_sup.beam에 의해 TSUNG 런타임에 생성을 방문 맞다 TSUNG 런타임에 http://localhost:8091/index.html을 방문, 당신이 ts_controller_sup.erl 100 라인의 코드를 읽을 수

+0

실제로 내가 얼랑과 비약에 새로운 오전, 당신에게 르 감사, 내가 전에 알고보다 완전히 다른 기술 ... – simo

+0

통해 UR 환영 @simo –

관련 문제