Liberty_Informa
12 years agoRegular Contributor
Hanging cron jobs
Hi
We run automated tests at midnight using cronjob on unix server. There are currently 4 jobs that run in the interval of 30 minutes. Each job has to run more than 1000 tests on certain environment. Each job run same tests however on different environment instance.
Many times I see not all the jobs are completed successfully. When I investigated hanging jobs in the morning I could see something interesting in the logs. Certainly it has to do with the soapui-settings file. We use this file to store global variables. (some variables are quite large xml as we store complete responses. The data in these xml's we use in the subsequent tests)
I am pasting what I am seeing these couple of statements that are repeated in the soapui.log file
From this information could you give us some clue what is going wrong? Feel free if you need more information from us.
Thanks.
We run automated tests at midnight using cronjob on unix server. There are currently 4 jobs that run in the interval of 30 minutes. Each job has to run more than 1000 tests on certain environment. Each job run same tests however on different environment instance.
Many times I see not all the jobs are completed successfully. When I investigated hanging jobs in the morning I could see something interesting in the logs. Certainly it has to do with the soapui-settings file. We use this file to store global variables. (some variables are quite large xml as we store complete responses. The data in these xml's we use in the subsequent tests)
I am pasting what I am seeing these couple of statements that are repeated in the soapui.log file
2013-05-22 01:55:45,577 INFO [DefaultSoapUICore] Reloading updated settings file
2013-05-22 01:55:45,587 INFO [DefaultSoapUICore] initialized soapui-settings from [/home/<user id>/soapui-settings.xml]
From this information could you give us some clue what is going wrong? Feel free if you need more information from us.
Thanks.