Forum Discussion

ctb's avatar
ctb
Occasional Contributor
9 years ago

Variable Question

I am testing an API in 3 different environments. I have used Property transefer in all all of them. However I have about 12 diferent calls that use a static session ID, client ID, and user ID and I cannot use a Property transfer. However, that session ID, client ID and user ID is different in every environment. Is there a way for me to clone my tests and apply it to a different environment, but have a variable I can use where I can plug in the sesion ID, client ID and user ID for each environment once instead of editing each call for each environment?

 

Any help would be greatly appreciated.

 

Thanks,

 

Chris

3 Replies

  • nmrao's avatar
    nmrao
    Champion Level 3
    If I were you, choose to use a property file for each environment.
    • ctb's avatar
      ctb
      Occasional Contributor

      Thank you. I will check it out.

  • nmrao's avatar
    nmrao
    Champion Level 3
    And you might know already that it can load a property file called soapui.properties placed under $SOAPUI_HOME/bin