SoapUI Mock responds slowly to initial message
Dear SmartBear,
I have trawled the internet looking for anyone who might have the same issue as me , but I can find nothing. So I'm hoping that you can help me.
I'm running a SOAPUI Mock service via jenkins using the maven plugin ( <artifactId>maven-soapui-extension-plugin</artifactId> <version>4.6.4.2</version>) on Linux.
The issue I see is that the first message processed by SOAPUI Mock seems to take much longer than the subsequent messages. All messages are processed via the same Groovy script. The groovy script contains proprietary info so I cannot send it to you. But each message is roughly the same and I cannot see why the first would be delayed. The groovy script takes the following steps;
open a XLS to retrieve the request/response message data for this test case
Validate the XLS request message data against the message received
Build the response based upon the XLS response message data
Send the response
This see what I see in the log;
Handled request 1; [request] with [response] in [5304ms] at [2017-03-02 16:10:01.029] Handled request 2; [request] with [response] in [482ms] at [2017-03-02 16:10:06.777] Handled request 3; [request] with [response] in [520ms] at [2017-03-02 16:10:07.711]
As you can see the first message takes much longer and I'm searching for the reason behind this. Could it be some kind of initialisation step i.e. thread allocation/memory allocation?
I've not been using SOAPUI for a long period of time, so I apologise if there is already a published answer to this question
Many Thanks
Ed