Forum Discussion

bakak1's avatar
bakak1
New Contributor
16 years ago

problem running testrunner when jdbc data source is used.

I am trying to make an automatized script which woud use the soapUI launch testrunner. This time i am just invastigating the opportunities which could be applied.

I have this in my test step:

1/ DataSource with a property called processID which uses PostgresSQL data connection whith a query ie. select "processID" from "ProductCatalogue";

2/ operation called getProlongationCommitmentExtension


 

 
     
        ${DataSource#processID}
        normal
        2009-12-03T00:00:00.000+01:00
        1
     

 


when i try to launch the test runner it doesn`t initiate the datasource so the reponse faults on the assertion. I found out that when i manualy try to fetch the property in datasource using the "play" icon it fetches the value corretly from the jdbc DataSource. After that the Test Runner works correclty..

Is this some kind of a bug or am I doing something wrong ? Thnx in advance for any suggestions.

kristian.

3 Replies

  • bakak1's avatar
    bakak1
    New Contributor
    I forgot to mention that I am using soapUI Pro 3.0 Trial
  • bakak1's avatar
    bakak1
    New Contributor
    any suggestion ? I am still thriving for any solution.
  • Hi,

    Sorry for waiting so long for the answer...
    I've managed to recreate the problem when launching the TestRunner, what I don't quite understand is this second part when you manage to get it through, you just run one by one test step in UI right? It's not from the command line or launch TestRunner option?

    This instantiating DataSource from launch TestRunner, it might be a bug, we'll dig into it a little more and let you know.

    Regards,

    /Dragica
    eviware.com