test: add cases for webSocketURL
with server
option
#4346
Merged
webSocketURL
with server
option
#4346