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?
Log in to post a comment.