Date Index Next by Date >
  Thread Index Next in Thread >

[SFTF] bugs report


hello,
I downloaded SFTF testing tool to test my SIP server few times ago and it seems that I found two bugs that I'm reporting you.
I hope that can help :
 
1 - the Dummy SDP body is not compliant with sdp rfc.
   SDP Specification
   m=<media> <port> <transport> <fmt list>
   Note: For transports based on UDP, the value should be in the range
   1024 to 65535 inclusive. 
 
I correct this bugs on my side modifying line 54 in Helper.py
I replace
'm=audio 0 RTP/AVP 0\r\n', \
by
'm=audio 1024 RTP/AVP 0\r\n', \
 
 
2 - Dialog.py doesn't include Helper so running tests the program crash trying to send a CANCEL message
I correct this bug on my side adding at the top of the file Dialog.py :
import Helper
 
Here is the crash log :
 
Jul 16 17:01:28: TestCase.createRequest(): entered with method='CANCEL', ruri='N
one', trans='9158448', dia='504131400', createEvent='True'
  Caught exception during running 'Case 215'
Traceback (most recent call last):
  File "SFTF.py", line 186, in run
    j.run()
  File "./UserAgentBasicTestSuite\case215.py", line 52, in run
    repl = self.readReplyFromNetwork(self.neh)
  File "D:\SFTFsubversion\sftf\SFTF\TestCase.py", line 673, in readReplyFromNetw
ork
    return self.readMessageFromNetwork(NetworkEventHandler, StartTimeout, CatchT
imeout, TimeoutError, ignoreRequests=True, ignoreReplies=False, RequestMethod=No
ne)
  File "D:\SFTFsubversion\sftf\SFTF\TestCase.py", line 646, in readMessageFromNe
twork
    self.reactOn(mes)
  File "D:\SFTFsubversion\sftf\SFTF\TestCase.py", line 980, in reactOn
    self.onDefaultCode(message)
  File "./UserAgentBasicTestSuite\case215.py", line 86, in onDefaultCode
    can = self.createRequest("CANCEL", trans=message.transaction)
  File "D:\SFTFsubversion\sftf\SFTF\TestCase.py", line 771, in createRequest
    ruri, route, dsthost = dia.getRoutingTarget()
  File "D:\SFTFsubversion\sftf\SFTF\Dialog.py", line 101, in getRoutingTarget
    ruri = Helper.createClassInstance("sip_uri")
NameError: global name 'Helper' is not defined
  ! Please report this bug as described at the web page !
 
Thanks for your work and I hope that this product will grow.
 
Jean-Philippe Buret.