Version: Latest 4.5.1 source
There appears to be a small bug on line 379 of WsdlMockOperation.java (method getLastMockResult)
The current line is:
if( result == null || result.getTimestamp() > mockResult.getTimestamp() )
I believe it should be:
if( result == null || result.getTimestamp() < mockResult.getTimestamp() )
so that a later mockresult will replace an older one, and not the other way around. The name of the method is getLastMockResult so I believe it should return the last result i.e. the one with the biggest timestamp?
Regards,
Nicki
I have the same problem, getLastMockResult() returns the first result, not the last.
Any chance to get this fixed soon?
Is there a workaround?
My workaround feel free to use it: