Wiremock VS SoapUI mock

228 views
Skip to first unread message

sanjeev anand

unread,
Jul 23, 2020, 2:05:41 PM7/23/20
to wiremo...@googlegroups.com
Hi, 

I am working to get code coverage of Soap service of my node application. In my application some asynchronous calls are covered of third party due to which code coverage is reduced in Sonarqube. Can you please help, I am mocking through Soap UI service but still it's below than expectations. 
Can you please tell me how Wiremock can 
help here, if something not supported in Soap UI. 


Regards, 
Sanjeev Anand

Nathan Jones

unread,
Jul 25, 2020, 11:04:13 PM7/25/20
to wiremock-user
If you are writing unit tests in Nodejs then Nock (https://github.com/nock/nock) may be a better option than Wiremock or SoapUI. If you are writing functional tests (ie the test runner is in a separate process to the code under test) then I would choose Wiremock over SoapUI. You can use Mock Cmdr (https://mock-cmdr.js.org/) to create well structured Wiremock stubs with Nodejs (disclaimer: I'm the author of Mock Cmdr).

Reply all
Reply to author
Forward
0 new messages