Forum Discussion

JMcKinley's avatar
JMcKinley
Contributor
17 years ago

Question: Reports

While searching for information regarding reports in SOAP UI pro, I ran into the following thread:

http://www.eviware.com/component/option ... opic,362.0

Has any reporting functionality been added to SOAP UI pro? Or more to the point, does any exist?

I would like to be able to report how many suites and test cases have been created, number of times the test ran and failed vs. passed, etc.

If reporting has not been added, is there a way to connect to SOAP UI Pro using ODBC so I could get the data using a reporting tool that supports ODBC?

Thanks!
Jim
  • omatzura's avatar
    omatzura
    Super Contributor
    Hi,

    the reporting functionality available in soapUI Pro is the possibility to export html reports for functional testcase/testsuite results and coverage reports, there is a corresponding "Create Report" button in the testCase/testSuite editors toolbars.

    Obviously this is an area for improvement..

    If you want to create more custom reports as you describe, I suggest you create a tear-down script on the testsuite or testcase level that gathers your desired results and build the report. You can access ODBC datasources by using the JDBC/ODBC bridge which will allow you to connect to any ODBC datasource, something in the line of

    import groovy.sql.Sql

        dbURL = 'jdbc:odbc:MyOdbcDataSource'
        jdbcDriver = 'sun.jdbc.odbc.JdbcOdbcDriver'
        sql = Sql.newInstance(dbURL, jdbcDriver)
        sql.eachRow('select * from tb_whatever') {
          println it.Name
        }


    Hope this helps!

    regards,

    /Ole
    eviware.com