SOAP API testing strategy with Cucumber-Selenium Duo

127 views
Skip to first unread message

Arindam Chakraborty

unread,
Feb 24, 2019, 11:07:57 PM2/24/19
to Selenium Users
Hi All,
I have an aim to test SOAP API web-services with Cucumber and Selenium. I have gone through various posts, but want to circle back with all users here, and hear about your experience on it.
What is the best strategy to test SOAP API via Cucumber and selenium? Selenium, as far I understand, is excellent for Web Browser Automation, and since API has no browser, it does not make sense to use Selenium for API testing. But my current client, wants to use Cucumber and Selenium for testing SOAP API. 
Can anyone share their experience? Currently my client uses cucumber and selenium to test REST APIs, there is a RESTASSURED library to the rescue, but I don't know if there is similar option for SOAP.  

Sachin Gauba

unread,
Feb 24, 2019, 11:34:47 PM2/24/19
to Selenium Users
You can automate API's (REST/SOAP) through java and any of the APIautomation tool available i.e. RestAssured, HttpClient, Jersey etc.
Use cucumber to organize your tests in BDD framework.
Selenium is only for Web Browser and can't be used in this scenario.

cjayswal

unread,
Feb 25, 2019, 1:20:54 PM2/25/19
to Selenium Users
One of the well known test framework you can use is QAF. It is built upon TestNG, supports BDD and webservice automation.

रविवार, 24 फ़रवरी 2019 को 8:07:57 अपर UTC-8 को, Arindam Chakraborty ने लिखा:

Arindam Chakraborty

unread,
Feb 25, 2019, 1:52:37 PM2/25/19
to Selenium Users
What is the best approach to testing SOAP UI using Cucumber, if I take selenium out of the equation? I want to use the Cucumber framework, but then what Java APIs is the best? Or if there is anything that can be used along with cucumber to test SOAP APIs? Any link or idea?
Reply all
Reply to author
Forward
0 new messages