Forum Discussion

abhishek8908's avatar
abhishek8908
Occasional Contributor
9 years ago
Solved

How can we set jdbc timeout in Ready API 1.4?

Can any body please help me in chaging the JDBC time out in Ready API 1.4?

Also in the jdbc time out ssertion step,i am not able to add timeout assertion.Please help.

  • nmrao's avatar
    nmrao
    9 years ago
    Well, you can try defining a project property for the time out and put variable where it actually accepts the timeout, say
    timeout property value as ${#Project#GLOBAL_JDBC_TIMEOUT}

3 Replies

  • Hi,

     

    did you try setting the Query Timeout property of the test step (see attached screenshot)?

    That should set the timeout in seconds for both the query and the assertion.

     

    Regards,

    Anders

    Ready! API developer

    • abhishek8908's avatar
      abhishek8908
      Occasional Contributor

      Hi,

       

      Thanks for the solution.Is there any way to set global jdbc time setting that is applicable through out project.

       

      Thanks in advance,

       

      Abhishek

      • nmrao's avatar
        nmrao
        Champion Level 3
        Well, you can try defining a project property for the time out and put variable where it actually accepts the timeout, say
        timeout property value as ${#Project#GLOBAL_JDBC_TIMEOUT}