cancel
Showing results for 
Search instead for 
Did you mean: 

Handling environments : how to revert unwanted modifications

SOLVED
Frequent Contributor

Handling environments : how to revert unwanted modifications

Hello,

I'm working on a composite project and I use several environments. I previousely had many of them (depending on the target machine endpoint) and I removed them.

Recently I created a new environment for a single-shot test and then deleted it. However, when it comes to commit the modifications related to the tests done I have more than 2000 files that are modified. I realized that all of them have been set with the new environment id even though this one has been deleted.

Having a look to the settings.xml file at project level I realized that I have 21 environments set though I kept only 3 of them.

I can see that each single file has data for all the environments, even the deleted ones.

 

Is there a possibility to erase this unwanted data easily ?

why soap ui does not erase this when environments are deleted  ?

 

thanks for any help

 

Alex

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Frequent Contributor

Re: Handling environments : how to revert unwanted modifications

Actually I found out my problem, I tried to install an external plugin which was not compatible, removing it (I struggled a bit to find where it was) solved my problem

 

thanks

5 REPLIES 5
Community Hero

Re: Handling environments : how to revert unwanted modifications

What version of ReadyAPI are you using? Typically when dealing with composite projects, older versions of ReadyAPI did not delete certain files even if you removed them from the project, or it did not rename them if you renamed the artifacts in ReadyAPI. That being said, to get around this I will usually convert the project back to a single XML. I then delete the composite project folder, and then convert the single XML file back to a composite project to re-generate the directory and subdirectories/files.




---

Click the Accept as Solution button if my answer has helped, and remember to give kudos where appropriate too!
Frequent Contributor

Re: Handling environments : how to revert unwanted modifications

ah, it's a bit tricky ... I'll try that but right now I'm stuck in readyAPI 2.7 issues ... Smiley Sad

 

thank you

 

Alex

Re: Handling environments : how to revert unwanted modifications

Hi Alex - I'm the Product Manager for ReadyAPI and I ALWAYS hate when I hear that someone is having trouble, especially with a new release!  Please reach out to me directly so we can help - gail.shlansky@smartbear.com.

Thanks!

Highlighted
Frequent Contributor

Re: Handling environments : how to revert unwanted modifications

Actually I found out my problem, I tried to install an external plugin which was not compatible, removing it (I struggled a bit to find where it was) solved my problem

 

thanks

Community Manager

Re: Handling environments : how to revert unwanted modifications

@krogold, happy to hear that the issue has been resolved!

Happy testing Smiley Happy

---------
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:
Top Kudoed Authors