cancel
Showing results for 
Search instead for 
Did you mean: 

How can I trigger ready api tests from specflow?

SOLVED
rnij
Occasional Contributor

How can I trigger ready api tests from specflow?

I would like to use spec flow to trigger ready api test suite. How can I do that?
1 ACCEPTED SOLUTION

Accepted Solutions
richie
Community Hero

Re: How can I trigger ready api tests from specflow?

Hey @rnij,

Ive never used specflow for readyapi/soapui, ive used it with Intellji and RESTSharp (.Net c#)

Apologies but id forgotten that specflow was for .net framework. Readyapi/Soapui uses java/groovy/javascript and id suggest youre going to have issues plumbing it all together.

There are web resources that describe plugging soapui into IDEs with Java, but ive never seen any mention of getting it working with .net

If you ignore the specflow concept for now and research just plugging readyapi/soapui into an IDE that'd be a start, but youre still going to need to know what other tools you have available at your place...how do you intend to setup the readyapi/soapui automation? using maven? Gradle? jenkins? Octopus? Docker? Cloud?, but even then i think youre going to have problems with the .net

Where did the idea of writing tests/code using specflow/.net to plug into readyapi come from? Did anyone consider that its NOT java?

Thats all i can help you with this im afraid, perhaps other forum members will be able to help, but id be interested to know if you get it sorted cos i havent seen it setup before (and i always welcome getting educated!)

Ta

Rich
if this helped answer the post, could you please mark it as 'solved'? Also if you consider whether the title of your post is relevant? Perhaps if the post is solved, it might make sense to update the Subject header field of the post to something more descriptive? This will help people when searching for problems. Ta

View solution in original post

3 REPLIES 3
richie
Community Hero

Re: How can I trigger ready api tests from specflow?

Hey @rnij,

Can you rephrase what you mean by "use specflow to trigger api test suites"?

Im wondering whether youre starting from scratch or if you have feature files already describing your bdds, or whether youve just got tests setup in readyapi representing a bdd approach?
One of the issues representing bdds in readyapi! or soapui is that the assertions are on the executable test steps (e.g. REST or SOAP or JDBC, etc.) in the tool resulting in the WHEN and THEN being on the same executable test step and bdds require you to separate out tge executable step from the assertion (the THEN).

The following link describes how to represent bdds in readyapi!/soapui.

https://smartbear.com/blog/click-using-gherkin-with-soapui/

Ta

Rich
if this helped answer the post, could you please mark it as 'solved'? Also if you consider whether the title of your post is relevant? Perhaps if the post is solved, it might make sense to update the Subject header field of the post to something more descriptive? This will help people when searching for problems. Ta
rnij
Occasional Contributor

Re: How can I trigger ready api tests from specflow?

I have my test suite for each feature created in ready api. I just got to know that I have to use spec flow to run the tests so wanted to see if there is a way I can call or trigger these tests from specflow
richie
Community Hero

Re: How can I trigger ready api tests from specflow?

Hey @rnij,

Ive never used specflow for readyapi/soapui, ive used it with Intellji and RESTSharp (.Net c#)

Apologies but id forgotten that specflow was for .net framework. Readyapi/Soapui uses java/groovy/javascript and id suggest youre going to have issues plumbing it all together.

There are web resources that describe plugging soapui into IDEs with Java, but ive never seen any mention of getting it working with .net

If you ignore the specflow concept for now and research just plugging readyapi/soapui into an IDE that'd be a start, but youre still going to need to know what other tools you have available at your place...how do you intend to setup the readyapi/soapui automation? using maven? Gradle? jenkins? Octopus? Docker? Cloud?, but even then i think youre going to have problems with the .net

Where did the idea of writing tests/code using specflow/.net to plug into readyapi come from? Did anyone consider that its NOT java?

Thats all i can help you with this im afraid, perhaps other forum members will be able to help, but id be interested to know if you get it sorted cos i havent seen it setup before (and i always welcome getting educated!)

Ta

Rich
if this helped answer the post, could you please mark it as 'solved'? Also if you consider whether the title of your post is relevant? Perhaps if the post is solved, it might make sense to update the Subject header field of the post to something more descriptive? This will help people when searching for problems. Ta

View solution in original post

New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors