Hi All,

I have tiried to run smppsim test suite but getting error while executing
the command './runtests.sh'

here are the steps and their outputs

[code]sudo ./startsmppsim.sh 
SMPPSim is starting....
2012.03.14 15:12:26 966 INFO    10
==============================================================
2012.03.14 15:12:27 21  INFO    10 =  SMPPSim Copyright (C) 2006 Selenium
Software Ltd
2012.03.14 15:12:27 22  INFO    10 =  SMPPSim comes with ABSOLUTELY NO
WARRANTY; for details
2012.03.14 15:12:27 22  INFO    10 =  read the license.txt file that was
included in the SMPPSim distribution
2012.03.14 15:12:27 22  INFO    10 =  This is free software, and you are
welcome to redistribute it under
2012.03.14 15:12:27 22  INFO    10 =  certain conditions; Again, see
license.txt for details or read the GNU
2012.03.14 15:12:27 22  INFO    10 =  GPL license at
http://www.gnu.org/licenses/gpl.html
2012.03.14 15:12:27 22  INFO    10 =  ...... end of legal stuff ......
2012.03.14 15:12:27 22  INFO    10
==============================================================
2012.03.14 15:12:27 22  INFO    10 =  
2012.03.14 15:12:27 23  INFO    10 =  com.seleniumsoftware.SMPPSim 2.6.5
2012.03.14 15:12:27 23  INFO    10 =  by Martin Woolley
([email protected])
2012.03.14 15:12:27 23  INFO    10 =  http://www.seleniumsoftware.com
2012.03.14 15:12:27 23  INFO    10 =  Running with the following parameters:
2012.03.14 15:12:27 23  INFO    10 =  SMPP_PORT                              
:2775
2012.03.14 15:12:27 23  INFO    10 =  SMPP_CONNECTION_HANDLERS               
:10
2012.03.14 15:12:27 23  INFO    10 =  CONNECTION_HANDLER_CLASS               
:com.seleniumsoftware.SMPPSim.StandardConnectionHandler
2012.03.14 15:12:27 23  INFO    10 =  PROTOCOL_HANDLER_CLASS                 
:com.seleniumsoftware.SMPPSim.StandardProtocolHandler
2012.03.14 15:12:27 24  INFO    10 =  LIFE_CYCLE_MANAGER                     
:com.seleniumsoftware.SMPPSim.LifeCycleManager
2012.03.14 15:12:27 24  INFO    10 =  SMPP_CONNECTION_HANDLERS               
:10
2012.03.14 15:12:27 24  INFO    10 =  INBOUND_QUEUE_CAPACITY                 
:1000
2012.03.14 15:12:27 24  INFO    10 =  OUTBOUND_QUEUE_CAPACITY                
:1000
2012.03.14 15:12:27 24  INFO    10 =  MESSAGE_STATE_CHECK_FREQUENCY          
:5000
2012.03.14 15:12:27 24  INFO    10 =  MAX_TIME_ENROUTE                       
:10000
2012.03.14 15:12:27 24  INFO    10 =  PERCENTAGE_THAT_TRANSITION             
:75
2012.03.14 15:12:27 24  INFO    10 =  PERCENTAGE_DELIVERED                   
:90
2012.03.14 15:12:27 25  INFO    10 =  PERCENTAGE_UNDELIVERABLE               
:6
2012.03.14 15:12:27 25  INFO    10 =  PERCENTAGE_ACCEPTED                    
:2
2012.03.14 15:12:27 25  INFO    10 =  PERCENTAGE_REJECTED                    
:2
2012.03.14 15:12:27 25  INFO    10 =  DISCARD_FROM_QUEUE_AFTER               
:60000
2012.03.14 15:12:27 25  INFO    10 =  OUTBIND_ENABLED                        
:true
2012.03.14 15:12:27 25  INFO    10 =  OUTBIND_ESME_IP_ADDRESS                
:127.0.0.1
2012.03.14 15:12:27 25  INFO    10 =  OUTBIND_ESME_PORT                        
:2776
2012.03.14 15:12:27 25  INFO    10 =  OUTBIND_ESME_PASSWORD                  
:password
2012.03.14 15:12:27 26  INFO    10 =  HTTP_PORT                              
:88
2012.03.14 15:12:27 26  INFO    10 =  HTTP_THREADS                           
:1
2012.03.14 15:12:27 26  INFO    10 =  DOCROOT                                
:www
2012.03.14 15:12:27 26  INFO    10 =  AUTHORISED_FILES                       
:/css/style.css,/index.htm,/inject_mo.htm,/favicon.ico,/images/logo.gif,/images/dots.gif,/user-guide.htm,/images/homepage.gif,/images/inject_mo.gif
2012.03.14 15:12:27 26  INFO    10 =  INJECT_MO_PAGE                         
:/inject_mo.htm
2012.03.14 15:12:27 26  INFO    10 =  SMSCID                                 
:SMPPSim
2012.03.14 15:12:27 26  INFO    10 =  DELIVERY_MESSAGES_PER_MINUTE           
:0
2012.03.14 15:12:27 26  INFO    10 =  DELIVER_MESSAGES_FILE                  
:N/A
2012.03.14 15:12:27 27  INFO    10 =  LOOPBACK                               
:false
2012.03.14 15:12:27 27  INFO    10 =  CAPTURE_REQUESTS_BINARY                
:false
2012.03.14 15:12:27 27  INFO    10 =  CAPTURE_REQUESTS_BINARY_TO_FILE        
:sme_binary.capture
2012.03.14 15:12:27 27  INFO    10 =  CAPTURE_RESPONSES_BINARY               
:false
2012.03.14 15:12:27 27  INFO    10 =  CAPTURE_RESPONSES_BINARY_TO_FILE       
:smppsim_binary.capture
2012.03.14 15:12:27 27  INFO    10 =  CAPTURE_REQUESTS_DECODED               
:false
2012.03.14 15:12:27 27  INFO    10 =  CAPTURE_REQUESTS_DECODED_TO_FILE       
:sme_decoded.capture
2012.03.14 15:12:27 27  INFO    10 =  CAPTURE_RESPONSES_DECODED              
:false
2012.03.14 15:12:27 28  INFO    10 =  CAPTURE_RESPONSES_DECODED_TO_FILE      
:smppsim_decoded.capture
2012.03.14 15:12:27 28  INFO    10 =  CALLBACK                               
:false
2012.03.14 15:12:27 28  INFO    10 =  
2012.03.14 15:12:27 28  INFO    10
==============================================================
2012.03.14 15:12:27 37  INFO    11 StandardConnectionHandler waiting for
connection
2012.03.14 15:12:27 38  INFO    12 StandardConnectionHandler waiting for
connection
2012.03.14 15:12:27 39  INFO    13 StandardConnectionHandler waiting for
connection
2012.03.14 15:12:27 39  INFO    14 StandardConnectionHandler waiting for
connection
2012.03.14 15:12:27 40  INFO    15 StandardConnectionHandler waiting for
connection
2012.03.14 15:12:27 40  INFO    16 StandardConnectionHandler waiting for
connection
2012.03.14 15:12:27 40  INFO    17 StandardConnectionHandler waiting for
connection
2012.03.14 15:12:27 40  INFO    18 StandardConnectionHandler waiting for
connection
2012.03.14 15:12:27 41  INFO    19 StandardConnectionHandler waiting for
connection
2012.03.14 15:12:27 41  INFO    20 StandardConnectionHandler waiting for
connection
2012.03.14 15:12:27 44  INFO    21 Starting HttpHandler thread. Listening on
port 88 for conections
2012.03.14 15:12:27 45  INFO    23 Starting Lifecycle Service
(OutboundQueue)
2012.03.14 15:12:27 45  INFO    23 Lifecycle Service: OutboundQueue is empty 
- waiting
2012.03.14 15:12:27 44  INFO    22 Starting InboundQueue service....
2012.03.14 15:12:27 46  INFO    22 InboundQueue: empty  - waiting
2012.03.14 15:12:27 46  INFO    24 Starting DelayedInboundQueue service....
[/code]

[code]
./starttestservers.sh 
nohup: appending output to `nohup.out'
nohup: nohup: appending output to `nohup.out'appending output to `nohup.out'
[/code]

[code]
./runtests.sh 
.Mar 14, 2012 3:14:58 PM tests.SmppsimBindTests test001BindTransmitter
INFO: Attempting to establish transmitter session
Mar 14, 2012 3:14:58 PM tests.SmppsimBindTests test001BindTransmitter
INFO: Established transmitter session successfully
.Mar 14, 2012 3:14:58 PM tests.SmppsimBindTests test002UnBind
INFO: Established transmitter session successfully
Mar 14, 2012 3:14:58 PM tests.SmppsimBindTests test002UnBind
INFO: Connection is currently=com.logica.smpp.TCPIPConnection@19209ea
Mar 14, 2012 3:14:58 PM tests.SmppsimBindTests test002UnBind
INFO: Connection after unbind is=com.logica.smpp.TCPIPConnection@19209ea
.Mar 14, 2012 3:14:58 PM tests.SmppsimBindTests
test003BindTransmitterInvalidSystemID
INFO: Attempting to establish transmitter session with invalid systemid
.Mar 14, 2012 3:14:58 PM tests.SmppsimBindTests
test004BindTransmitterInvalidPassword
INFO: Attempting to establish transmitter session with invalid password
.Mar 14, 2012 3:14:58 PM tests.SmppsimBindTests test011BindReceiver
INFO: Attempting to establish receiver session
Mar 14, 2012 3:14:58 PM tests.SmppsimBindTests test011BindReceiver
INFO: Established receiver session successfully
.Mar 14, 2012 3:14:58 PM tests.SmppsimBindTests
test013BindReceiverInvalidSystemID
INFO: Attempting to establish transmitter session with invalid systemid
.Mar 14, 2012 3:14:58 PM tests.SmppsimBindTests
test014BindReceiverInvalidPassword
INFO: Attempting to establish receiver session with invalid password
.Mar 14, 2012 3:14:58 PM tests.SmppsimBindTests test021BindTransceiver
INFO: Attempting to establish Transceiver session
Mar 14, 2012 3:14:58 PM tests.SmppsimBindTests test021BindTransceiver
INFO: Established Transceiver session successfully
.Mar 14, 2012 3:14:58 PM tests.SmppsimBindTests
test023BindTransceiverInvalidSystemID
INFO: Attempting to establish tranceiver session with invalid systemid
.Mar 14, 2012 3:14:58 PM tests.SmppsimBindTests
test034BindTransceiverInvalidPassword
INFO: Attempting to establish transceiver session with invalid password
.Mar 14, 2012 3:14:58 PM tests.SmppsimSubmitSmTests test001SubmitSM
INFO: Attempting to establish transmitter session
Mar 14, 2012 3:14:58 PM tests.SmppsimSubmitSmTests test001SubmitSM
INFO: Established transmitter session successfully
Mar 14, 2012 3:14:58 PM tests.SmppsimSubmitSmTests test001SubmitSM
INFO: Message submitted....
Mar 14, 2012 3:14:58 PM tests.SmppsimSubmitSmTests test001SubmitSM
INFO: Unbound...
.Mar 14, 2012 3:14:58 PM tests.SmppsimSubmitSmTests
test002SubmitSMBadDestAddress
INFO: Attempting to establish transmitter session
Mar 14, 2012 3:14:58 PM tests.SmppsimSubmitSmTests
test002SubmitSMBadDestAddress
WARNING: Exception: Connection refused
java.net.ConnectException: Connection refused
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
        at java.net.Socket.connect(Socket.java:529)
        at java.net.Socket.connect(Socket.java:478)
        at java.net.Socket.<init>(Socket.java:375)
        at java.net.Socket.<init>(Socket.java:189)
        at com.logica.smpp.TCPIPConnection.open(TCPIPConnection.java:257)
        at com.logica.smpp.Session.open(Session.java:288)
        at com.logica.smpp.Session.bind(Session.java:431)
        at com.logica.smpp.Session.bind(Session.java:385)
        at tests.SmppsimSubmitSmTests.test002SubmitSMBadDestAddress(Unknown 
Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at junit.framework.TestCase.runTest(TestCase.java:154)
        at junit.framework.TestCase.runBare(TestCase.java:127)
        at junit.framework.TestResult$1.protect(TestResult.java:106)
        at junit.framework.TestResult.runProtected(TestResult.java:124)
        at junit.framework.TestResult.run(TestResult.java:109)
        at junit.framework.TestCase.run(TestCase.java:118)
        at junit.framework.TestSuite.runTest(TestSuite.java:208)
        at junit.framework.TestSuite.run(TestSuite.java:203)
        at junit.framework.TestSuite.runTest(TestSuite.java:208)
        at junit.framework.TestSuite.run(TestSuite.java:203)
        at junit.textui.TestRunner.doRun(TestRunner.java:116)
        at junit.textui.TestRunner.doRun(TestRunner.java:109)
        at junit.textui.TestRunner.run(TestRunner.java:72)
        at tests.SmppsimTests.main(Unknown Source)
Mar 14, 2012 3:14:58 PM tests.SmppsimSubmitSmTests
test002SubmitSMBadDestAddress
WARNING: Exception whilst setting up or executing bind transmitter.
Connection refused
F.Mar 14, 2012 3:14:58 PM tests.SmppsimSubmitSmTests
test003SubmitSMRequestDeliveryReceipt
INFO: Attempting to establish transceiver session
Mar 14, 2012 3:14:58 PM tests.SmppsimSubmitSmTests
test003SubmitSMRequestDeliveryReceipt
INFO: Established transceiver session successfully
Mar 14, 2012 3:14:58 PM tests.SmppsimSubmitSmTests
test003SubmitSMRequestDeliveryReceipt
INFO: Received DELIVER_SM
.Mar 14, 2012 3:14:58 PM tests.SmppsimSubmitSmTests
test004SubmitSmNoSourceAddress
INFO: Established transmitter session successfully
Mar 14, 2012 3:14:58 PM tests.SmppsimSubmitSmTests
test004SubmitSmNoSourceAddress
INFO: Message submitted....
.Mar 14, 2012 3:14:58 PM tests.SmppsimSubmitSmTests
test005SubmitSmNoDestAddress
INFO: Established transmitter session successfully
Mar 14, 2012 3:14:58 PM tests.SmppsimSubmitSmTests
test005SubmitSmNoDestAddress
INFO: Message submitted....
.Mar 14, 2012 3:14:58 PM tests.SmppsimSubmitSmTests
test006SubmitSMwithOptionalParameters
INFO: Established transmitter session successfully
Mar 14, 2012 3:14:58 PM tests.SmppsimSubmitSmTests
test006SubmitSMwithOptionalParameters
INFO: Message submitted....
Mar 14, 2012 3:14:58 PM tests.SmppsimSubmitSmTests
test006SubmitSMwithOptionalParameters
INFO: Unbound...
.Mar 14, 2012 3:14:58 PM tests.SmppsimDeliverSmTests test001DeliverSM
INFO: Attempting to establish receiver session
Mar 14, 2012 3:14:58 PM tests.SmppsimDeliverSmTests test001DeliverSM
WARNING: Exception: Connection refused
java.net.ConnectException: Connection refused
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
        at java.net.Socket.connect(Socket.java:529)
        at java.net.Socket.connect(Socket.java:478)
        at java.net.Socket.<init>(Socket.java:375)
        at java.net.Socket.<init>(Socket.java:189)
        at com.logica.smpp.TCPIPConnection.open(TCPIPConnection.java:257)
        at com.logica.smpp.Session.open(Session.java:288)
        at com.logica.smpp.Session.bind(Session.java:431)
        at com.logica.smpp.Session.bind(Session.java:385)
        at tests.SmppsimDeliverSmTests.test001DeliverSM(Unknown Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at junit.framework.TestCase.runTest(TestCase.java:154)
        at junit.framework.TestCase.runBare(TestCase.java:127)
        at junit.framework.TestResult$1.protect(TestResult.java:106)
        at junit.framework.TestResult.runProtected(TestResult.java:124)
        at junit.framework.TestResult.run(TestResult.java:109)
        at junit.framework.TestCase.run(TestCase.java:118)
        at junit.framework.TestSuite.runTest(TestSuite.java:208)
        at junit.framework.TestSuite.run(TestSuite.java:203)
        at junit.framework.TestSuite.runTest(TestSuite.java:208)
        at junit.framework.TestSuite.run(TestSuite.java:203)
        at junit.textui.TestRunner.doRun(TestRunner.java:116)
        at junit.textui.TestRunner.doRun(TestRunner.java:109)
        at junit.textui.TestRunner.run(TestRunner.java:72)
        at tests.SmppsimTests.main(Unknown Source)
Mar 14, 2012 3:14:58 PM tests.SmppsimDeliverSmTests test001DeliverSM
WARNING: Exception whilst setting up or executing bind receiver. Connection
refused
F.Mar 14, 2012 3:14:58 PM tests.SmppsimEnquireLinkTests test001EnquireLink
INFO: Attempting to establish transmitter session
Mar 14, 2012 3:14:58 PM tests.SmppsimEnquireLinkTests test001EnquireLink
INFO: Established transmitter session successfully
.Mar 14, 2012 3:14:58 PM tests.SmppsimQuerySmTests test001QuerySM
INFO: Attempting to establish transmitter session
Mar 14, 2012 3:14:58 PM tests.SmppsimQuerySmTests test001QuerySM
INFO: Established transmitter session successfully
.Mar 14, 2012 3:14:58 PM tests.SmppsimCancelSmTests test001CancelSM
INFO: Attempting to establish transmitter session
Mar 14, 2012 3:14:58 PM tests.SmppsimCancelSmTests test001CancelSM
INFO: Established transmitter session successfully
.Mar 14, 2012 3:14:58 PM tests.SmppsimCancelSmTests test002CancelSM
INFO: Attempting to establish transmitter session
Mar 14, 2012 3:14:58 PM tests.SmppsimCancelSmTests test002CancelSM
INFO: Established transmitter session successfully
.Mar 14, 2012 3:14:58 PM tests.SmppsimCancelSmTests test003CancelSM
INFO: Attempting to establish transmitter session
Mar 14, 2012 3:14:58 PM tests.SmppsimCancelSmTests test003CancelSM
INFO: Established transmitter session successfully
.Mar 14, 2012 3:14:58 PM tests.SmppsimReplaceSmTests test001ReplaceSM
INFO: Attempting to establish transmitter session
Mar 14, 2012 3:14:58 PM tests.SmppsimReplaceSmTests test001ReplaceSM
INFO: Established transmitter session successfully
.Mar 14, 2012 3:14:58 PM tests.SmppsimSubmitMultiTests test001SubmitMulti
INFO: Attempting to establish transmitter session
Mar 14, 2012 3:14:58 PM tests.SmppsimSubmitMultiTests test001SubmitMulti
INFO: Established transmitter session successfully
Mar 14, 2012 3:14:58 PM tests.SmppsimSubmitMultiTests test001SubmitMulti
INFO: Setting destination addresses
Mar 14, 2012 3:14:58 PM tests.SmppsimSubmitMultiTests test001SubmitMulti
INFO: Setting request values
Mar 14, 2012 3:14:58 PM tests.SmppsimSubmitMultiTests test001SubmitMulti
INFO: Sending submit_multi
Mar 14, 2012 3:14:58 PM tests.SmppsimSubmitMultiTests test001SubmitMulti
INFO: Got submit_multi response
Mar 14, 2012 3:14:58 PM tests.SmppsimSubmitMultiTests test001SubmitMulti
INFO: message_id=23
.Mar 14, 2012 3:14:58 PM tests.SmppsimSubmitMultiTests
test002SubmitMultiInvalidAddresses
INFO: Attempting to establish transmitter session
Mar 14, 2012 3:14:58 PM tests.SmppsimSubmitMultiTests
test002SubmitMultiInvalidAddresses
WARNING: Exception: Connection refused
java.net.ConnectException: Connection refused
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
        at java.net.Socket.connect(Socket.java:529)
        at java.net.Socket.connect(Socket.java:478)
        at java.net.Socket.<init>(Socket.java:375)
        at java.net.Socket.<init>(Socket.java:189)
        at com.logica.smpp.TCPIPConnection.open(TCPIPConnection.java:257)
        at com.logica.smpp.Session.open(Session.java:288)
        at com.logica.smpp.Session.bind(Session.java:431)
        at com.logica.smpp.Session.bind(Session.java:385)
        at 
tests.SmppsimSubmitMultiTests.test002SubmitMultiInvalidAddresses(Unknown
Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at junit.framework.TestCase.runTest(TestCase.java:154)
        at junit.framework.TestCase.runBare(TestCase.java:127)
        at junit.framework.TestResult$1.protect(TestResult.java:106)
        at junit.framework.TestResult.runProtected(TestResult.java:124)
        at junit.framework.TestResult.run(TestResult.java:109)
        at junit.framework.TestCase.run(TestCase.java:118)
        at junit.framework.TestSuite.runTest(TestSuite.java:208)
        at junit.framework.TestSuite.run(TestSuite.java:203)
        at junit.framework.TestSuite.runTest(TestSuite.java:208)
        at junit.framework.TestSuite.run(TestSuite.java:203)
        at junit.textui.TestRunner.doRun(TestRunner.java:116)
        at junit.textui.TestRunner.doRun(TestRunner.java:109)
        at junit.textui.TestRunner.run(TestRunner.java:72)
        at tests.SmppsimTests.main(Unknown Source)
Mar 14, 2012 3:14:58 PM tests.SmppsimSubmitMultiTests
test002SubmitMultiInvalidAddresses
WARNING: Exception whilst setting up or executing bind transmitter.
Connection refused
F
Time: 0.657
There were 3 failures:
1)
test002SubmitSMBadDestAddress(tests.SmppsimSubmitSmTests)junit.framework.AssertionFailedError:
Exception whilst setting up or executing bind transmitter. Connection
refused
        at tests.SmppsimSubmitSmTests.test002SubmitSMBadDestAddress(Unknown 
Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at tests.SmppsimTests.main(Unknown Source)
2)
test001DeliverSM(tests.SmppsimDeliverSmTests)junit.framework.AssertionFailedError:
Exception whilst setting up or executing bind receiver. Connection refused
        at tests.SmppsimDeliverSmTests.test001DeliverSM(Unknown Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at tests.SmppsimTests.main(Unknown Source)
3)
test002SubmitMultiInvalidAddresses(tests.SmppsimSubmitMultiTests)junit.framework.AssertionFailedError:
Exception whilst setting up or executing bind transmitter. Connection
refused
        at 
tests.SmppsimSubmitMultiTests.test002SubmitMultiInvalidAddresses(Unknown
Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at tests.SmppsimTests.main(Unknown Source)

FAILURES!!!
Tests run: 25,  Failures: 3,  Errors: 0


[/code]

[code]
smppsim.props
# SMPP_PORT specified the port that SMPPSim will listen on for connections
from SMPP

# clients. SMPP_CONNECTION_HANDLERS determines the maximum number of client
connections

# that can be handled concurrently.

SMPP_PORT=2775

SMPP_CONNECTION_HANDLERS=10



# Specify the classes that imlement connection and protocol handling
respectively here.

# Such classes *must* be subclasses of
com.seleniumsoftware.SMPPSim.ConnectionHandler and
com.seleniumsoftware.SMPPSim.SMPPProtocolHandler respectively

# Or those classes themselves for the default (good) behaviour

# Supply your own subclasses with particular methods overridden if you want
to implement

# bad SMSC behaviours to see how your client application copes...

CONNECTION_HANDLER_CLASS=com.seleniumsoftware.SMPPSim.StandardConnectionHandler

PROTOCOL_HANDLER_CLASS=com.seleniumsoftware.SMPPSim.StandardProtocolHandler



# Specify the class that implements the message state life cycle simulation.

# Such classes must extend the default class, LifeCycleManager

LIFE_CYCLE_MANAGER=com.seleniumsoftware.SMPPSim.LifeCycleManager

#

# The Deterministic Lifecycle Manager sets message state according to the
first character of the message destination address:

# 1=EXPIRED,2=DELETED,3=UNDELIVERABLE,4=ACCEPTED,5=REJECTED, other=DELIVERED

#
LIFE_CYCLE_MANAGER=com.seleniumsoftware.SMPPSim.DeterministicLifeCycleManager



# LifeCycleManager parameters

#

# Check and possibly change the state of messages in the OutboundQueue every
n milliseconds

MESSAGE_STATE_CHECK_FREQUENCY=5000



# Maximum time (in milliseconds) in the initial ENROUTE state

MAX_TIME_ENROUTE=10000



# The minimum time to wait before generating a delivery receipt (ms)

DELAY_DELIVERY_RECEIPTS_BY=0



# Percentage of messages that change state each time we check (excluding
expiry or messages being completely discarded due to age)

# Requires an integer between 0 and 100

PERCENTAGE_THAT_TRANSITION=75



# State transition percentages. These parameters define the percentage of
messages that

# transition from ENROUTE to the specified final state. The list of
percentages should

# add up to 100 and must be integer values. SMPPSim will adjust the
percentages if they do not.



# Percentage of messages that will transition from ENROUTE to DELIVERED

PERCENTAGE_DELIVERED=90



# Percentage of messages that will transition from ENROUTE to UNDELIVERABLE

PERCENTAGE_UNDELIVERABLE=6



# Percentage of messages that will transition from ENROUTE to ACCEPTED

PERCENTAGE_ACCEPTED=2



# Percentage of messages that will transition from ENROUTE to REJECTED

PERCENTAGE_REJECTED=2



# Time messages held in queue before being discarded, after a final state
has been reached (milliseconds)

# For example, after transitioning to DELIVERED (a final state), state info
about this message will be

# retained in the queue for a further (e.g.) 60000 milliseconds before being
deleted.

DISCARD_FROM_QUEUE_AFTER=60000



# Web Management

HTTP_PORT=88

HTTP_THREADS=1

DOCROOT=www

AUTHORISED_FILES=/css/style.css,/index.htm,/inject_mo.htm,/favicon.ico,/images/logo.gif,/images/dots.gif,/user-guide.htm,/images/homepage.gif,/images/inject_mo.gif

INJECT_MO_PAGE=/inject_mo.htm



# Account details. Comma seperate. SystemID and Password provided in Binds
will be validated against these credentials.
#SYSTEM_IDS=smppclient1,smppclient2

SYSTEM_IDS=smppclient
#PASSWORDS=password,password
PASSWORDS=password

#OUTBIND_ENABLED=false
OUTBIND_ENABLED=true

OUTBIND_ESME_IP_ADDRESS=127.0.0.1

OUTBIND_ESME_PORT=2776
#OUTBIND_ESME_PORT=2777

#OUTBIND_ESME_SYSTEMID=smppclient1
OUTBIND_ESME_SYSTEMID=smppclient

OUTBIND_ESME_PASSWORD=password



# MO SERVICE

DELIVERY_MESSAGES_PER_MINUTE=0

DELIVER_MESSAGES_FILE=deliver_messages.csv



# LOOPBACK

LOOPBACK=FALSE



# ESME to ESME routing

ESME_TO_ESME=true



# QUEUES

# Maximum size parameters are expressed as max number of objects the queue
can hold

OUTBOUND_QUEUE_MAX_SIZE=1000

INBOUND_QUEUE_MAX_SIZE=1000



# The delayed inbound queue holds DELIVER_SM (MO) messages which could not
be delivered to the selected ESME

# because it replied "queue full". Such messages get stored in the delayed
inbound queue and delivery is attempted again

# periodically according to the following configuration.

#

# How many seconds to wait between passes through the delayed inbound queue.
Recommend this is set to at least one minute.

DELAYED_INBOUND_QUEUE_PROCESSING_PERIOD=60

DELAYED_INBOUND_QUEUE_MAX_ATTEMPTS=100







# LOGGING

# See logging.properties for configuration of the logging system as a whole

#

# Set the following property to true to have each PDU logged in human
readable

# format. Uses INFO level logging so the log level must be set accordingly
for this

# output to appear.

DECODE_PDUS_IN_LOG=true



# PDU CAPTURE

# The following properties allow binary and/or decoded PDUs to be captured
in files

# This is to allow the results of test runs (especially regression testing)
to be

# checked with reference to these files

#

# Note that currently you must use the StandardConnectionHandler and
StandardProtocolHandler classes for this

# feature to be available.

#

# _SME_ properties concern PDUs sent from the SME application to SMPPSim

# _SMPPSIM_ properties concern PDUs sent from SMPPSim to the SME application

#

CAPTURE_SME_BINARY=false

CAPTURE_SME_BINARY_TO_FILE=sme_binary.capture

CAPTURE_SMPPSIM_BINARY=false

CAPTURE_SMPPSIM_BINARY_TO_FILE=smppsim_binary.capture

CAPTURE_SME_DECODED=false

CAPTURE_SME_DECODED_TO_FILE=sme_decoded.capture

CAPTURE_SMPPSIM_DECODED=false

CAPTURE_SMPPSIM_DECODED_TO_FILE=smppsim_decoded.capture



# Byte Stream Callback

#

# This feature, if enabled, will cause SMPPSim to send PDUs received from
the ESME or sent to it 

# as byte streams over a couple of connections.

# This is intended to be useful in automated testing scenarios where you
need to notify the test application

# with details of what was *actually* received by SMPPSim (or sent by it).

#

# Note that byte streams are prepended by the following fields:

#

# a 4 byte integer which indicates the length of the whole callback message

# a 1 byte indicator of the type of interaction giving rise to the callback, 

# - where 0x01 means SMPPSim received a request PDU and 

#         0x02 means SMPPSim sent a request PDU (e.g. a DeliverSM)

# a 4 byte fixed length identified, which identifies the SMPPSim instance
that sent the bytes

#

# So the length of the SMPP pdu is the callback message length - 9.

#

# LENGTH(4) TYPE(1) ID(4) PDU (LENGTH)

CALLBACK=false

CALLBACK_ID=SIM1

CALLBACK_TARGET_HOST=localhost

CALLBACK_PORT=3333



# MISC

SMSCID=SMPPSim
[/code]



-- 
View this message in context: 
http://old.nabble.com/Error-while-running-smppsim-test-suite-tp33501504p33501504.html
Sent from the Kannel - User mailing list archive at Nabble.com.


Reply via email to