mojolingo / sippy_cup

Create SIP load test scenarios the easy way
http://mojolingo.github.io/sippy_cup
MIT License
219 stars 78 forks source link

unable to run sippy_cup scenario (CentOS Linux release 7.2.1511 (Core)) #93

Closed vijayaa closed 7 years ago

vijayaa commented 7 years ago

i have run sippy_cup -r simple_call.yml. It is throwing the following error

/usr/local/lib/ruby/gems/2.4.0/gems/nokogiri-1.6.8.1/lib/nokogiri/xml/node.rb:390: warning: constant ::Fixnum is deprecated /usr/local/lib/ruby/gems/2.4.0/gems/sippy_cup-0.7.2/lib/sippy_cup/media.rb:117:innew_packet': uninitialized constant PacketFu::UDPPacket (NameError) Did you mean? PacketFu::Packet Packet UDPSocket from /usr/local/lib/ruby/gems/2.4.0/gems/sippy_cup-0.7.2/lib/sippy_cup/media.rb:49:in block (2 levels) in compile!' from /usr/local/lib/ruby/gems/2.4.0/gems/sippy_cup-0.7.2/lib/sippy_cup/media.rb:48:intimes' from /usr/local/lib/ruby/gems/2.4.0/gems/sippy_cup-0.7.2/lib/sippy_cup/media.rb:48:in block in compile!' from /usr/local/lib/ruby/gems/2.4.0/gems/sippy_cup-0.7.2/lib/sippy_cup/media.rb:41:ineach' from /usr/local/lib/ruby/gems/2.4.0/gems/sippy_cup-0.7.2/lib/sippy_cup/media.rb:41:in compile!' from /usr/local/lib/ruby/gems/2.4.0/gems/sippy_cup-0.7.2/lib/sippy_cup/scenario.rb:792:incompile_media' from /usr/local/lib/ruby/gems/2.4.0/gems/sippy_cup-0.7.2/lib/sippy_cup/scenario.rb:726:in to_tmpfiles' from /usr/local/lib/ruby/gems/2.4.0/gems/sippy_cup-0.7.2/lib/sippy_cup/runner.rb:36:inrun' from /usr/local/lib/ruby/gems/2.4.0/gems/sippy_cup-0.7.2/bin/sippy_cup:75:in <top (required)>' from /usr/local/bin/sippy_cup:22:inload' from /usr/local/bin/sippy_cup:22:in <main>'

bklang commented 7 years ago

This is a duplicate of #91, which was solved in #92. We will make a new release of sippy_cup to Rubygems, but in the meantime you can check out the code to get the fix.

vijayaa commented 7 years ago

thanks @bklang for you help.it worked