processone / tsung

Tsung is a high-performance benchmark framework for various protocols including HTTP, XMPP, LDAP, etc.
http://www.process-one.net/en/tsung/
GNU General Public License v2.0
2.52k stars 404 forks source link

Error using tsung view after running load test #386

Closed sgtang closed 6 months ago

sgtang commented 3 years ago

EDIT: To clarify, this is on v1.7.0

Hi, I was able to successfully run a load test on my Postgres database using tsung, and the reports were showing up as expected in the UI during the run. I am aware I can use a simple HTTP server to view the reports, but just wanted to report an error I came across while using tsung view:

root@tsung-0:~# tsung view Starting Tsung web only on port 8091 {"init terminating in do_boot",{function_clause,[{filename,join,[{undef_var,template_path},"style"],[{file,"filename.erl"},{line,413}]},{ts_controller_sup,start_inets,2,[{file,"src/tsung_controller/ts_controller_sup.erl"},{line,108}]},{init,start_em,1,[]},{init,do_boot,3,[]}]}} init terminating in do_boot ({functionclause,[{filename,join,[{},[]],[{},{_}]},{ts_controller_sup,startinets,2,[{},{_}]},{init,start_em,1,[]},{init,do_boot,3,[]}]})

I've tried running this both in the tsung log directory (with report.html/index.html etc.) and in an unrelated empty dir, the error seems to be the same. Wondering if I'm missing an argument?