Forum Discussion

bosma4u's avatar
New Contributor
10 years ago

Mockservice concurrency problem

In SoapUI 5.0.0 (Free) the behaviour of a mockservice returning a SEQUENCE of messages is not consistent. In a loadtest with multiple threads some messages are delivered more than once, other messages are skipped. This happens in about 4% of the cases.

An example from the logs when using 5.0.0:
2014-10-23 11:28:29,793 INFO [SoapUIMockServiceRunner] Handled request 62; [get_user] with [User 75] in [67ms] at [2014-10-23 11:28:29.593]
2014-10-23 11:28:29,808 INFO [SoapUIMockServiceRunner] Handled request 94; [get_user] with [User 75] in [93ms] at [2014-10-23 11:28:29.586]

Message [User 75] was used twice, [User 76] was never delivered.

As a workaround I run the mockservice from the commandline in SoapUI 4.6.4.
No RepliesBe the first to reply