-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Description
Module
MockServer
Proposal
Hi,
Currently the MockServer uses the waiting strategy
waitingFor(Wait.forHttp("/mockserver/status").withMethod("PUT").forStatusCode(200));
While this might work for the default case, it breaks as soon as SSL is enabled (which might not be an unusual scenario for testing with mockserver). In this case, at least forHttps would have to be used. It gets worse when you use certificates to authenticate the access, as you cannot easily use forHttps with a trust store.
I suggest to change the waiting strategy to something like
Wait.forLogMessage( ".*started on port: 1080.*", 1 )
I assume this would work in other scenarios as well.
Reactions are currently unavailable