cancel
Showing results for 
Search instead for 
Did you mean: 

How do I make SOAPUI save the custom properties after the run?

SOLVED
Highlighted
Contributor

How do I make SOAPUI save the custom properties after the run?

I have custom properties that are updated during the test run via groovy scripts.


Those values are used during the run. The run works fine. But after is passed, all the custom values that were used during the run are reverted back to old ones.

 

How do I make it keep the custom properties that are saved and not overwrite them back to a previous runs values?

 

Or is this a bug? It does seem like a bug but maybe there's an option somewhere.

2 ACCEPTED SOLUTIONS

Accepted Solutions
Highlighted
Community Manager

Re: How do I make SOAPUI save the custom properties after the run?

@SmartBear217 it is really sad to hear that you faced these issues. It seems to me like this properties behavior requires deeper investigation. The best next step at this point would be contacting our Customer Care Team. 

 

 


Sonya Mihaljova
Community and Education Specialist

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

View solution in original post

Contributor

Re: How do I make SOAPUI save the custom properties after the run?

The solution smartbear pointed out is to go to the project level and set "Save properties between sessions" to true. I'm not sure why that option isn't available in the preferences section but at least it's not a bug.

View solution in original post

9 REPLIES 9
Highlighted
Community Hero

Re: How do I make SOAPUI save the custom properties after the run?

How are you running? From the tool? or from the command line using testrunner?

Can you provide a sample project to reproduce the issue?


Regards,
Rao.
Highlighted
Contributor

Re: How do I make SOAPUI save the custom properties after the run?

I'm running from ReadyAPI/SOAPUI Pro.

 

I don't think I can provide a sample project. But basically the issue is if a test has some values in the custom properties, and I execute a test run where those values are updated, after the run is complete the custom properties are populated with that values that were previous to the test run, and not the values from the test run. I.e it's reverted back to older values for some reason. 

Highlighted
Community Hero

Re: How do I make SOAPUI save the custom properties after the run?

Have you tried saving the project after the run?


Regards,
Rao.
Highlighted
Contributor

Re: How do I make SOAPUI save the custom properties after the run?

Yes that doesn't help.

Highlighted
Community Manager

Re: How do I make SOAPUI save the custom properties after the run?

Hi @SmartBear217 ,

Please make sure that you are using the latest product version. As we are constantly improving our software there’s a high chance this issue is not going to appear for you there. 

 

 


Sonya Mihaljova
Community and Education Specialist

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

Re: How do I make SOAPUI save the custom properties after the run?

I clicked Help > Check for Updates and it says "You are using the latest release of ReadyAPI". However I'm only using 2.8.0 and the update page you sent says 2.8.2 is the latest. So I'll update to the latest but I'm not sure why ReadyAPI already says I'm using the latest. Another bug I guess.

 

ReadyAPI is very useful but it's riddled with many tiny bugs that apparently aren't high priority enough to get addressed.

Based on threads I've found that are 8 years old and talk about problems that are still problems today, it seems like bugs/enhancements that are deemed low priority don't ever get addressed!

Highlighted
Contributor

Re: How do I make SOAPUI save the custom properties after the run?

I updated to the latest (2.8.2) and the custom properties are still being overwritten by previous values after a successful run. So the issue is still present where if I rerun a step it will not be re-executing the most recent attempt, it will always be executing based on old data instead of recent data. So frustrating.

Highlighted
Community Manager

Re: How do I make SOAPUI save the custom properties after the run?

@SmartBear217 it is really sad to hear that you faced these issues. It seems to me like this properties behavior requires deeper investigation. The best next step at this point would be contacting our Customer Care Team. 

 

 


Sonya Mihaljova
Community and Education Specialist

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

View solution in original post

Contributor

Re: How do I make SOAPUI save the custom properties after the run?

The solution smartbear pointed out is to go to the project level and set "Save properties between sessions" to true. I'm not sure why that option isn't available in the preferences section but at least it's not a bug.

View solution in original post

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