Forum Discussion

lwangTj's avatar
lwangTj
New Contributor
4 years ago

DB Connection string is not updated when changing env

Using SoapUI pro version, DB connection string is Not updated when changing environment from time to time.

It is stable by using groovy script.

  • richie's avatar
    richie
    Community Hero

    Hey lwangTj 

     

    Are you using SoapUI Pro or open source SoapUI or ReadyAPI!?  There are differences between how they handle DB connection strings.

     

    When you say it's not being updated when changing the environment, can you provide a bit more detail here please just to clarify?

     

    How have you got it parameterised to change when you alter environments?

     

    ta

     

    rich

  • lwangTj's avatar
    lwangTj
    New Contributor

    yep, thanks for the input.

     

    It is possible that is related to the mouse focus/refresh issue. And also it happened when the project got idle for over x amount of time. For instance 10 minutes. When project gets timeout, i changed the environment then execute the testing. The DB connection string remains to previous one. 

     

    In general, the DB connection is not stable.

     

    That's why I prefer to use groovy scripts more.

    • nmrao's avatar
      nmrao
      Champion Level 3
      If you have a consistent reproducible case, feel free to contact Smartbear customer support.
    • lwangTj's avatar
      lwangTj
      New Contributor

      By the way, I am using paid version of ReadyAPI 3.6.0

    • nmrao's avatar
      nmrao
      Champion Level 3
      What do b you mean by project gets timeout? Never heard that.

      Can you please explain, "DB connection bis not stable"?
      What database are you using? How someone reproduce that?