Autobahn test automation websocket

#1

I am trying to setup Autobahn test suite on my Ubuntu VM but getting following error on using wstest command:
Traceback (most recent call last):
File “/usr/local/bin/wstest”, line 9, in
load_entry_point(‘autobahntestsuite==0.6.1’, ‘console_scripts’, ‘wstest’)()
File “/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py”, line 552, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File “/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py”, line 2672, in load_entry_point
return ep.load()
File “/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py”, line 2345, in load
return self.resolve()
File “/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py”, line 2351, in resolve
module = import(self.module_name, fromlist=[‘name’], level=0)
File “/usr/local/lib/python2.7/dist-packages/autobahntestsuite-0.6.1-py2.7.egg/autobahntestsuite/init.py”, line 23, in
import wstest
File “/usr/local/lib/python2.7/dist-packages/autobahntestsuite-0.6.1-py2.7.egg/autobahntestsuite/wstest.py”, line 48, in
import wsperfmaster
File “/usr/local/lib/python2.7/dist-packages/autobahntestsuite-0.6.1-py2.7.egg/autobahntestsuite/wsperfmaster.py”, line 36, in
from autobahn.wamp1.protocol import WampServerFactory,
ImportError: No module named wamp1.protocol

Installation instructions:

git clone git://github.com/tavendo/AutobahnTestSuite.git
cd AutobahnTestSuite
git checkout v0.6.1
cd autobahntestsuite
python setup.py install

Please assist me on this issue. I am blocked on test execution.

Using Python 2.7(New to Python world)

Thanks,
Mohit

0 Likes

#2

Do I need to install LAMP server?

···

On Friday, May 1, 2015 at 3:47:13 PM UTC-7, Mohit Sharma wrote:

git clone git://[github.com/tavendo/AutobahnTestSuite.git](http://github.com/tavendo/AutobahnTestSuite.git)
cd AutobahnTestSuite
git checkout v0.6.1
cd autobahntestsuite
python setup.py install

Please assist me on this issue. I am blocked on test execution.

I am trying to setup Autobahn test suite on my Ubuntu VM but getting following error on using wstest command:
Traceback (most recent call last):
File “/usr/local/bin/wstest”, line 9, in
load_entry_point(‘autobahntestsuite==0.6.1’, ‘console_scripts’, ‘wstest’)()
File “/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py”, line 552, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File “/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py”, line 2672, in load_entry_point
return ep.load()
File “/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py”, line 2345, in load
return self.resolve()
File “/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py”, line 2351, in resolve
module = import(self.module_name, fromlist=[‘name’], level=0)
File “/usr/local/lib/python2.7/dist-packages/autobahntestsuite-0.6.1-py2.7.egg/autobahntestsuite/init.py”, line 23, in
import wstest
File “/usr/local/lib/python2.7/dist-packages/autobahntestsuite-0.6.1-py2.7.egg/autobahntestsuite/wstest.py”, line 48, in
import wsperfmaster
File “/usr/local/lib/python2.7/dist-packages/autobahntestsuite-0.6.1-py2.7.egg/autobahntestsuite/wsperfmaster.py”, line 36, in
from autobahn.wamp1.protocol import WampServerFactory,
ImportError: No module named wamp1.protocol

Installation instructions:
Using Python 2.7(New to Python world)

Thanks,
Mohit

0 Likes

#3

This issue is resolved now. Fixed by latest test suite version.

···

On Friday, May 1, 2015 at 3:47:13 PM UTC-7, Mohit Sharma wrote:

git clone git://[github.com/tavendo/AutobahnTestSuite.git](http://github.com/tavendo/AutobahnTestSuite.git)
cd AutobahnTestSuite
git checkout v0.6.1
cd autobahntestsuite
python setup.py install

Please assist me on this issue. I am blocked on test execution.

I am trying to setup Autobahn test suite on my Ubuntu VM but getting following error on using wstest command:
Traceback (most recent call last):
File “/usr/local/bin/wstest”, line 9, in
load_entry_point(‘autobahntestsuite==0.6.1’, ‘console_scripts’, ‘wstest’)()
File “/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py”, line 552, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File “/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py”, line 2672, in load_entry_point
return ep.load()
File “/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py”, line 2345, in load
return self.resolve()
File “/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py”, line 2351, in resolve
module = import(self.module_name, fromlist=[‘name’], level=0)
File “/usr/local/lib/python2.7/dist-packages/autobahntestsuite-0.6.1-py2.7.egg/autobahntestsuite/init.py”, line 23, in
import wstest
File “/usr/local/lib/python2.7/dist-packages/autobahntestsuite-0.6.1-py2.7.egg/autobahntestsuite/wstest.py”, line 48, in
import wsperfmaster
File “/usr/local/lib/python2.7/dist-packages/autobahntestsuite-0.6.1-py2.7.egg/autobahntestsuite/wsperfmaster.py”, line 36, in
from autobahn.wamp1.protocol import WampServerFactory,
ImportError: No module named wamp1.protocol

Installation instructions:
Using Python 2.7(New to Python world)

Thanks,
Mohit

0 Likes