Forum Discussion

tundawolf_'s avatar
16 years ago

SoapUI pro - XSD to programmatically read project file

i'm writing a small java app that will call the testrunner of soapUI (programmatically or command line, i'm not sure yet) and then run a 'database checker' that will verify that the database looks correct (I know soapUI allows this, but our QA team doesn't have the time/skillset to write these up in Groovy).

I need my java program to have access to the data in the soapUI project (data from the test cases) and I was wondering if there was an XSD I could use to make this a little easier.

Thanks, and if anyone is interested in the little app that I'm making I'd be happy to share.

(Expanded tools for checking a database would put soapUI ahead of LoadRunner IMO).

Thanks everyone,

--Adam

1 Reply

  • Hi Adam,

    sounds like a great idea! soapUI uses xmlbeans to parse the project file, so either you can use the java objects generated for the soapui.xsd directly (in the soapui-xmlbeans-XXX.jar file), or create your own classes from the xsd, which is in our svn or the source distribution. SVN is at svn://svn.eviware.com/soapui

    If you are going to share the app please let us know, we'd be happy to promote it!

    regards,

    /Ole
    eviware.com