GithubHelp home page GithubHelp logo

Unable to start HTTP test about tsung HOT 12 CLOSED

processone avatar processone commented on June 26, 2024
Unable to start HTTP test

from tsung.

Comments (12)

divfor avatar divfor commented on June 26, 2024 9

http://git.net/ml/ubuntu-bugs/2016-10/msg08784.html
it says:

  • Running Tsung requires it to find the path
    "../../../../../share/tsung/templates/style" in order to show the web UI
  • Tsung binaries are installed to
    /usr/lib/x86_64-linux-gnu/erlang/lib/tsung_controller-1.6.0/ebin
  • Share path is at /usr/share/tsung/templates/style/

from Ubuntu 17.04 I made below links to have it works:
ln -s /usr/share /usr/lib/share
ln -s /usr/lib/x86_64-linux-gnu/tsung /usr/lib/tsung

I think the final fix should be made by tsung inside to remove the relative path dependency.

from tsung.

tisba avatar tisba commented on June 26, 2024

Hey @subbu05! Your configuration got truncated/unreadable. Do you mind edit your issue and add ``` (https://guides.github.com/features/mastering-markdown/#examples) so that the XML gets preserved?

from tsung.

subbu05 avatar subbu05 commented on June 26, 2024

Thanks Sebastin
I updated the issue with proper formatting of XML.

from tsung.

bltb avatar bltb commented on June 26, 2024

@subbu05 , what Erlang/OTP version are you using on your Mac? e.g.

Erlang/OTP 18 [erts-7.3] [source] [64-bit] [smp:8:8] [async-threads:8] [kernel-poll:true]

And, could you please attach or gist all the other logs from the log directory?

from tsung.

subbu05 avatar subbu05 commented on June 26, 2024

Erlang version
erl -v
Erlang/OTP 18 [erts-7.3] [source] [64-bit] [smp:8:8] [async-threads:10] [hipe] [kernel-poll:false] [dtrace]

Eshell V7.3 (abort with ^G)

All the log files created are empty.
cat .tsung/log/20160426-0920/[email protected]

from tsung.

bltb avatar bltb commented on June 26, 2024

@subbu05, I reproduced your error. 😄

Can we close this issue?

rm -rf /tmp/t/share/tsung/templates/style


/tmp/t/bin/tsung -f test.xml start       
Starting Tsung
Log directory is: /home/blt/.tsung/log/20160427-1858
Can't start ! {error,
                  {{badmatch,{error,enoent}},
                   [{ts_controller_sup,start_inets,1,
                        [{file,"src/tsung_controller/ts_controller_sup.erl"},
                         {line,105}]},
                    {ts_controller_sup,init,1,
                        [{file,"src/tsung_controller/ts_controller_sup.erl"},
                         {line,91}]},
                    {supervisor,init,1,[{file,"supervisor.erl"},{line,287}]},
                    {gen_server,init_it,6,
                        [{file,"gen_server.erl"},{line,328}]},
                    {proc_lib,init_p_do_apply,3,
                        [{file,"proc_lib.erl"},{line,240}]}]}} 


from tsung.

subbu05 avatar subbu05 commented on June 26, 2024

What is the solution/fix for this?

from tsung.

nniclausse avatar nniclausse commented on June 26, 2024

It seems there are some missing files in your installation. I tried to run tsung (installed by brew) on a mac, and it works. Can you print the content of "find /usr/local/Cellar/tsung/1.6.0" ?

from tsung.

subbu05 avatar subbu05 commented on June 26, 2024

I re-installed tsung and works fine on the mac os.
Thank you all for helping me to get resolved.

from tsung.

hungpt297 avatar hungpt297 commented on June 26, 2024

@divfor, many thanks. It worked.

from tsung.

mass10 avatar mass10 commented on June 26, 2024

Great! It worked on Debian 9 (stretch).

Linux instance-1 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2+deb9u5 (2017-09-19) x86_64 GNU/Linux

from tsung.

Varanishe avatar Varanishe commented on June 26, 2024

Hello, i faced with the same issue on cent os 7,
{error,
{{badmatch,{error,enoent}},
[{ts_controller_sup,start_inets,2,
[{file,"src/tsung_controller/ts_controller_sup.erl"},
{line,109}]},
{ts_controller_sup,init,1,
[{file,"src/tsung_controller/ts_controller_sup.erl"},
{line,94}]},
{supervisor,init,1,[{file,"supervisor.erl"},{line,239}]},
{gen_server,init_it,6,
[{file,"gen_server.erl"},{line,304}]},
{proc_lib,init_p_do_apply,3,
[{file,"proc_lib.erl"},{line,239}]}]}}

from tsung.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.