Forum Discussion

broeckxa's avatar
broeckxa
New Contributor
13 years ago

JMS connections

Some questions about JMS in SOAPUI Pro 4.0.1
When sending JMS events (one-way) to a server, soapUI is opening a new connection for each message.
Is there a way
- to limit number of connections?
- to re-use an existing connection?
- to release sockets by setting the socket timeout in soapUI? (I believe it is 60 seconds by default)
We are running HermesJMS with ActiveMQ

Regards,

Andre.
  • Hello,

    you can set socket timeout and limit number of connections in global preferences -> HTTP settings tab ( look at the bottom ).
    To enable maintaining HTTP session and socket timeout ( again, to override global ) can be done in TestCase settings ( look for
    wrench in test case toolbar ).

    Hope this helps,
    robert
    /Smartbear
  • BRafferty's avatar
    BRafferty
    Occasional Contributor
    Hello,

    Does the socket timeout and limit number of connections in global preferences -> HTTP settings tab apply to JMS connections as well?
    Can you clarify please

    Thanks
  • semafonedev wrote:
    Hello,

    Does the socket timeout and limit number of connections in global preferences -> HTTP settings tab apply to JMS connections as well?
    Can you clarify please

    Thanks

    No they do not, as JMS doesn't run over HTTP.

    Regards

    Henrik
    SmartBear Software
  • BRafferty's avatar
    BRafferty
    Occasional Contributor
    Well, the original question was to do with JMS connections.
    Reading the reply given to it gave an impression that the setting applied for HTTP connections also applies for JMS connections. Hence my question

    Thanks anyways
  • Hello,

    Right now there is no way to reuse JMS connection. You can set number of maximum connection and time out in global settings -> http settings.

    robert
    /Smartbear