cancel
Showing results for 
Search instead for 
Did you mean: 

[Resolved] Access file over FTP

SOLVED
Contributor

[Resolved] Access file over FTP

Hi folks

sorry I've been looking about and cant seem to find any info I can use for this

I'm testing a service which consumes a request, returns a status back and creates an output file
the output file is on a remote server which can be accessed via ftp with the use of a security key (either .pem or .ppk)

how can I use soapui to interrogate the output location to verify the file creation & contents?


thanks in advance
Mike
1 ACCEPTED SOLUTION

Accepted Solutions

Re: Access file over FTP

Hi,

SoapUI Pro currently does not have built in FTP support. You will have to use a groovy testStep to verify the contents of the file on a remote server using FTP.

Here is a link for a groovy script for FTP.
http://mkarthikeya.blogspot.com/2011/11 ... ppets.html



Regards,
Marcus
SmartBear Support

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others.↓↓↓↓↓
5 REPLIES 5

Re: Access file over FTP

Hi,

SoapUI Pro currently does not have built in FTP support. You will have to use a groovy testStep to verify the contents of the file on a remote server using FTP.

Here is a link for a groovy script for FTP.
http://mkarthikeya.blogspot.com/2011/11 ... ppets.html



Regards,
Marcus
SmartBear Support

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others.↓↓↓↓↓
Contributor

Re: Access file over FTP

Hi

thanks, I've actually had a look at that link before but wasn't sure how to go about translating the piece in there for use with the key file

I've worked around the remote access by using winscp and invoking a script file to 'sync' the ftp location with a local folder then interrogate the local folder, it was a quick and easy process
New Contributor

Re: Access file over FTP

hi ,

Please  advise ,

 

I need to get file from FTP to readyapi  then i need to validate the file as object.

 

 Readyapi have FTP step? or some over solution ?

 

 

Highlighted
New Contributor

Re: Access file over FTP

Have you got the solution

Community Manager

Re: Access file over FTP

Hi @Nikita,

 

As far as I see, ReadyAPI allows uploading files on an FTP server. Please take a look at the following article explaining this feature:

https://support.smartbear.com/readyapi/docs/soapui/steps/ftp.html

 

If you need to get a file from an FTP server, you can use a Groovy script posted by Marcus.

---------
Tanya Gorbunova
SmartBear Community Manager

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others.↓↓↓↓↓
New Here?
Join us and watch the welcome video:
API Testing Mistake #2
APITestingMistake#2