cancel
Showing results for 
Search instead for 
Did you mean: 

Can I use soapui or readyapi to provide the scripting for automated json downloads?

SOLVED
dataki
Occasional Contributor

Can I use soapui or readyapi to provide the scripting for automated json downloads?

I'm new to all of this, am mostly a db/.net developer.
I need to pull data from a rest json data source on a regular basis (scheduled). I have a user name and password from the provider and can manually pull down the json payload with soapui.
My question is, can I use soapui or readyapi as part of set of routines that would periodically connect to the api and invoke a call using 'get updates for the last day' kind of parmameter, and save the json to disk? Or it are these tools mostly good for 'testing' an api manually?

1 ACCEPTED SOLUTION

Accepted Solutions
ChrisAdams
Contributor

Re: Can I use soapui or readyapi to provide the scripting for automated json downloads?

Hi,

 

My two cents.  You could use SoapUI to do this, but it might be more effort than it's worth.  You would have to use the SoapUI GUI to create your 'tests' to save the JSON.  Once happy with the tests, these can be run 'headless' from the command line.  I imagine you would then need a batch job to call the SoapUI tests from the command line.

 

As you asked, SoapUI is primarily for functional/performance testing of APIs.

 

If I were in your shoes, I'd probably plumb for a Python script or a simple Node app, but seeing as you're a .Net developer, you probably already have the skills to knock up a simple Console App and add it to a scheduled task app.

 

Good luck!

 

Chris

 

View solution in original post

1 REPLY 1
ChrisAdams
Contributor

Re: Can I use soapui or readyapi to provide the scripting for automated json downloads?

Hi,

 

My two cents.  You could use SoapUI to do this, but it might be more effort than it's worth.  You would have to use the SoapUI GUI to create your 'tests' to save the JSON.  Once happy with the tests, these can be run 'headless' from the command line.  I imagine you would then need a batch job to call the SoapUI tests from the command line.

 

As you asked, SoapUI is primarily for functional/performance testing of APIs.

 

If I were in your shoes, I'd probably plumb for a Python script or a simple Node app, but seeing as you're a .Net developer, you probably already have the skills to knock up a simple Console App and add it to a scheduled task app.

 

Good luck!

 

Chris

 

View solution in original post

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