Forum Discussion
Are you closing connection after each call?
Hi Rao,
My testcase is:
- Datasource 1 to read messages from an excel file
- JDBC call to count the records in a table in the database
- JMS request to send a message
- JDBC call to count again and one assertion (result should be +1 relative to the first JDBC call to check the message is processed)
- Datasource loop (back to "JMS request to send a message"
- Datasource 2 to read messages from another excel file
- JMS request with a message from datasource 2
- JDBC call to make sure some fields are changed
- Datasource loop (back to "JMS request with a message from datasource 2")
In the first datasource I send 20 messages and in the second 10 messages. I do not close the connection. I get the exception in both of these JMS request steps.
When I change the configuration of my application and SoapUI project to use the EMS server on my local machine (laptop), this exception never occurs.
Regards,
Sinan
- nmrao8 years agoChampion Level 3May be you can try again after setting the below change:
Go to File -> Preferences ->HttpSettings -> Close connection after each call-> check it and save the preferences.
And retry your case to see if that is reproducible.- scelik8 years agoNew Contributor
Hi Rao,
Thanks for your suggestion. "Close connection after each call" was disabled. Turning it on didn't help :(
I also tried by setting the "reconnects" property in Hermes Configuration to "0", "1" and "2".
Regards,
Sinan
- nmrao8 years agoChampion Level 3Ok. Thank you for trying. How frequently the issue is happening?
Related Content
- 6 months agosohailalam2696
- 3 years agoaovaici
Recent Discussions
- 23 hours agoKay