cancel
Showing results for 
Search instead for 
Did you mean: 

Deleting or moving a file after successful submission (SOAP Project)

Highlighted
Occasional Contributor

Deleting or moving a file after successful submission (SOAP Project)

Good day, 

 

I'm currently working on a simple test case that currently consists of the following steps:

 

1. Data Source: Folder (containing .xml files)

2. SOAP Request 

3. Data Source Loop (to iterate through and send each file found in the data source folder)

4. Assertions.

 

I would like to have a step that deletes OR moves the relative .xml request file from the data source folder after a response is received for it, would this be at all possible?

 

Thanks!

14 REPLIES 14
Highlighted
Community Hero

For that, Need to know how you are looping thru files or how you are setting the current file in to request.


Regards,
Rao.
Highlighted
Occasional Contributor

As set out in my description this is the simple part, I loop through my data source using the data source loop component as per example screenshot attached. I need a technical explenation regarding how to access the current file in use in the data source loop, there is no simpler way of explaining this.

 

 

Highlighted
Community Hero

Ok, I thought you wrote a script for looping through. Probably, there is no control to access the file name.
I think you should be ok with the current solution you have which not bad either.


Regards,
Rao.
Highlighted
Occasional Contributor

I'm busy evaluating Soap UI Pro and Load UI for my company with a POC and this is unfortunatly not an okay solution for me, I will see if their dedicated support get back to me with a solution.

Highlighted
Community Manager

HI @BernardV,

Have you contacted the Support team via the ReadyAPI Contact form?

https://support.smartbear.com/message/?prod=readyapi

 

I cannot locate your ticket.

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

Learn SmartBear products in a fun and easy way and prove your knowledge!
>>Participate in the TechCorner Challenge today
New Here?
Join us and watch the welcome video:
Announcements
TechCorner Leaderboard
Want a fun and easy way to learn ReadyAPI and show off your skills? Try solving weekly TechCorner challenges and get into the Leaderboard!


Challenge Status

Get a full Raw JMS request

Participate!

Compare an expected JSON value and actual response in Events

Participate!

Fetch value/data from JSON response using Groovy Script

See replies!

Get data from Petstore and add it to Excel sheets

Participate!
Top Kudoed Authors