Contributions
persistent Datagen /w command line automation?
It seems like if you make your data gen test step persistent it will not increment when it is run from command-line. For example if i already used "TEST-01" when i run datagen it should become "TEST-02" I think command line will just keep using "TEST-01"... From the UI it will increment to "TEST-02", but from command-line it doesn't seem to behave. Any ideas?11 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.1KViews0likes0CommentsAutomatically create properties for a data source
Data Looping is what got me excited for the Pro version. But there is no way to the DataGeneration step to extract properties out of my excel file. When you make a ‘DataSource’ you need a properties file or to manually add the properties by hand. Each test case may have 20+ properties. These properties need to be labeled in excel for readability. Making a separate properties file is re-doing this labeling & wasting time. How can I have it automatically take the properties out of the columns in excel? Is this possible? I like how the datasource is set-up and organized. Using a groovy script for every time i need to do this could be an ugly approach. Is groovy my only option?1.6KViews0likes0CommentsMaking sequence numbers
I have not found out how to do this functionality: myNum starts as 1. <myTag> <option>${DataGen#myNum}</option> // should put 1 in here <option>${DataGen#myNum }</option> // should put 2 in here <option>${DataGen#myNum }</option> // should put 3 in here </myTag> If I run the test case again it should start at 4. I need a string before the number… Stepping through an int is not as flexible as what I need. Making 3 separate ints is too cumbersome. I may need 512 ints that follow this pattern. Any idea how to approach this? I have been looking into XmlParser & XmlSlurper... I do not know if that is the right path yet.1.3KViews0likes1CommentAutomatically Create properties for DataSource
Hello I have a trial of soapUI pro and have created a DataSource. I want to load an excel file. The first row of the excel file is the name of all the properties I want to have. They are separated by column number. Is there an easy way for soapUI to take all of these property names & add them to my data source?3.2KViews0likes6CommentsUsing Groovy to create JDBC connection in startup script
I don't understand how to make a JDBC connection in the startup script... http://www.soapui.org/Functional-Testin ... ripts.html uses the soapUI pro instructions... It works fine when everything is all in my test case in a single groovy script (not using setup script)... I think my problem is in understanding context. I am getting cannot invoke method "method here" on null object12 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.3KViews0likes0CommentsTrying to pass values from XML request to Groovy Script
Hello I am new to soap UI. Let me explain what I want to do. Let's say my request is: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sim="http://www.example.org/SimpleSocialSOA/"> <soapenv:Header/> <soapenv:Body> <sim:LoginResponse> <id>4456643453</id> </sim:LoginResponse> </soapenv:Body> </soapenv:Envelope> After this request is sent ID will be used & stored in a database. My GroovyScript connects to the database and using a key returned from the response gets the ID in the database. I want to make sure the ID in the database matches the ID that the request sent. How do I send the ID the XML request sent to my groovy script? Do I use XML expansion? Do I need a XML holder? Do I use a property transfer? This is something I would be doing a lot... As in verifying each field of each request... What is the easiest way to do this?12 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.6KViews0likes1Comment