Excel data source read by column
In the Data Source Options dialogue, settings, Start Row and End Row can be specified. However my data is a time series, from left to right column. Can a start and end column be configured as data source and if so, how is this done? e.g. I want to get from column cell B2 to V2Solved1.9KViews0likes9CommentsReading excel column into property, parsing REST response for property member
In a test case, I have a data source step. It reads a column range into a property. When I run the step, the data log shows each row from the desired column range. I have a REST request after data step. I would like to make assertions to the response to check that each row member of the property from the data step appears in the response. This does not need to be directly checking items in the same index, as the order may change. I want to check only that each item from data property is in the JSON response.Solved2.4KViews0likes8CommentsData Generator - Change "duplicate each value" property through Groovy
Hello all, I have used a DataSource with DataGenerator type selected, in one of my test cases and I'm trying to set the "duplicate each value" property through a Groovy step. What I'm trying to achieve here is to set this value from a project-level custom property. The test case is setup as shown below and I have managed to go as far as this in my Groovy step: def valueRepetition = context.expand('${#Project#repeatValue}') def objDsStep = context.testCase.testSteps["Data Generator"] // objDsStep is a com.eviware.soapui.impl.wsdl.teststeps.WsdlDataSourceTestStep def objSource = objDsStep.getDataSource() // objSource is a com.eviware.soapui.impl.wsdl.teststeps.datasource.DataGenerator.UI.DataGeneratorDataSource object log.info(objSource.toString()) I've looked through the API documentation but I cannot find which method to call in order to retrieve the generator's properties and update the 'repetitionCount' method . Can anyone provide some help on this? Thanks in advance!964Views0likes2CommentsHow can I map a datasource to values in a REST XML content (xml element values)?
How can I map a datasource to values in a REST XML content (xml element values)? I have a datasource with values; say parm1:value,parm2:value,parm3:value, etc. I have a REST POST request with XML content. I need to map the values in the datasource to the xml elements, so that each request iterates through my datasource (excel document) and fills the xml element values. I can't seem to find how I map them accordingly.Solved2.6KViews0likes8CommentsUsing Excel file as input to Soap call. Date issue uses slash separation.
Hi I'm trying to call a soap method where one of the inputs is a date. All the other input work fine. The date-format inthe excel sheet is DD-MM-YYYY but when SoapUI Pro reads it, it comes out as DD/MM/YYYY. I.e. it is separated by slashes instead of hyphens. Now the request does not adhere to the xsd schema and hence I cannot send it. So the question is how do I change the date format of the input in SoapUI? Thanks in advance.Solved2.1KViews0likes4CommentsIs there a way I can input a specific value what will only run tests with that value
Hey Folks, I'm wanting to input a specific value before running my tests that will allow me to only run tests that have that specific value in the Datasource. Would I be able to do this in TestRunner under Global/System/Project Properties? Each test has multiple iterations I would want to skip the iterations that don't contain the variable that has been inputed. I imagine that this could be done with a Groovy script inserted into each step but I need to know what to specify the value to be ran. Many thanks!Solved2.1KViews0likes5CommentsData source Data generator - loading values from file
I am trying to load my data generator data source from file. The data source has two properties. When I load the file, it puts alll the values as options for both of the properties. How do I load the data into the different properties?1.4KViews0likes3CommentsUnable to access file names from shared network path in “Directory” Data Source
Detailed problem statement: ReadyAPI Version 2.2.0 composite project has been created with “Javascript” language. We were in need to automate the validation of the output files. When we use Directory and give shared network drive as \\<servername>\<foldername>, we were not getting any output. But if we pass directory path as absolute as “C:\SLP”, we are able to get the output. Would need help to find a way to get the output of fileNames from Directory Datasource when we give "Network path"Solved1.9KViews0likes2CommentsLoop over an XML database i.e. a SOAP response
Hi Guys, I can't seem to get around how to loop over the values inside a SOAP request. I figure that I need an XML datasource. That's fine, but I really can't get it to work. I'm using XPath to query the XML, but I'm not even able to get a single value out of the SOAP response. I'm most likely just using the too incorrectly. Anyone that got this working?1.2KViews0likes2Comments