Ask a Question

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

SOLVED
SmartBear217
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.

9 REPLIES 9
nmrao
Champion Level 3

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.

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. 

Have you tried saving the project after the run?


Regards,
Rao.

Yes that doesn't help.

sonya_m
SmartBear Alumni (Retired)

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

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!

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.

sonya_m
SmartBear Alumni (Retired)

@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

SmartBear217
Contributor

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.

cancel
Showing results for 
Search instead for 
Did you mean: