cancel
Showing results for 
Search instead for 
Did you mean: 

Variable keystore for each single teststep, based on environment

SOLVED
Highlighted
New Contributor

Variable keystore for each single teststep, based on environment

Dear Smartbear friends!

This is my very first post on the community site Smiley LOL

#NoobAlert


My situation

I have a webservice with 3 environments (integration, acceptation & production).

For each seperate teststep-properties I use variables like;

username: ${#Project#Username}

password: ${#Project#Password}

ssl keystore: ${#Project#Certificate}

 

The benefit is that I can manage these credentials in the Project Custom Properties.

So when I switch from environment, I only have to change 1 Project Custom Properties and all seperate teststeps will obey the Project Custom Properties. If I want to switch user or certificate, I can do that on the single Project Custom Properties as well.

 

But nowwww....

The problem

Since I've upgraded to ReadyAPI 2.6.0 I've lost ${#Project#Certificate} in the ssl key store field from all seperate teststeps and there's no way to write this back, because this field suddenly became a dropdown-list.

 

SSL Keystore.png

Can anyone give me tips how to fix this properly?

1 ACCEPTED SOLUTION

Accepted Solutions
Regular Contributor

Re: Variable keystore for each single teststep, based on environment

Hi @davinci020 ,

 

Please refer below documenation. Hope it will solve your problem:

 

https://www.soapui.org/scripting-properties/tips-tricks.html

 

Go to Section: 1.2 Get and Set SoapUI Preferences

 


Click "Accept as Solution" if my answer has helped, and remember to give "kudos" Smiley Happy

Thanks and Regards,
Himanshu Tayal
3 REPLIES 3
Regular Contributor

Re: Variable keystore for each single teststep, based on environment

Hi @davinci020 ,

 

Please refer below documenation. Hope it will solve your problem:

 

https://www.soapui.org/scripting-properties/tips-tricks.html

 

Go to Section: 1.2 Get and Set SoapUI Preferences

 


Click "Accept as Solution" if my answer has helped, and remember to give "kudos" Smiley Happy

Thanks and Regards,
Himanshu Tayal
Community Manager

Re: Variable keystore for each single teststep, based on environment

Hi @davinci020,

 

Welcome to the SmartBear Community Smiley Happy

 

Did you find the answer to your question in the topic, HimanshuTayal suggested?

Please let us know if you need any more assistance.

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

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

Re: Variable keystore for each single teststep, based on environment

Hi there @TanyaGorbunova

I didn't manage to figure out how to fix this problem according to the documentation (due to Easter holiday),

but I will get back at it soon and hopefully accept the solution and give kudo's to @HimanshuTayal.

 

...to be continued

New Here?
Join us and watch the welcome video:
Top Kudoed Authors