Forum Discussion
5 Replies
- Hi!
Data-driven testing is not supported by soapUI Open Source -- it's a Pro feature. With soapUI Pro you can do data-driven load tests using loadUI.
The alternative would be to use scripts in either soapUI (Groovy/JavaScript TestStep) or loadUI (custom component).
Regards
Henrik
SmartBear Sweden - AndyHughesRegular ContributorHi Henrik,
Just to be absolutely clear, what I want to do is to load test a service using load UI with a SOAPUI runner where the SOAPUI test reads in a different value for a particular xml tag at each request. So this is what I would need the Pro version for?
Also, is it possible to do this........
I have been looking into property expansion and how you can effectively run the same test on a number of different URLs by referencing them in a .bat file.
The problem I have is that I need to make different requests to the same URL. (I need to send different xml).
The test I want to do is the same in every other sense, so same load level and time etc.
So I have all of the separate requests I need to make to the URL set up in different test cases in SOAPUI and they appear in the Drop down in LOADUI in the SOAPUI runner component, when selecting a test case to run and it's this that I need to vary via a .bat file as opposed to varying the URL for a specific test.
Is there any way of achieving what I want?
Thanks AndyHughes wrote: Hi Henrik,
Just to be absolutely clear, what I want to do is to load test a service using load UI with a SOAPUI runner where the SOAPUI test reads in a different value for a particular xml tag at each request. So this is what I would need the Pro version for?
Yes, that's correct. Without a lot of scripting you need soapUI Pro for this (soapUI Pro features DataSource TestSteps with XML support and DataSource Loops).
/HenrikAndyHughes wrote: Also, is it possible to do this........
I have been looking into property expansion and how you can effectively run the same test on a number of different URLs by referencing them in a .bat file.
The problem I have is that I need to make different requests to the same URL. (I need to send different xml).
The test I want to do is the same in every other sense, so same load level and time etc.
So I have all of the separate requests I need to make to the URL set up in different test cases in SOAPUI and they appear in the Drop down in LOADUI in the SOAPUI runner component, when selecting a test case to run and it's this that I need to vary via a .bat file as opposed to varying the URL for a specific test.
Is there any way of achieving what I want?
Changing which soapUI TestCase a soapUI Runner executes can currently only be done by point-and-clicking in the GUI.
However, what you could do is to make the soapUI TestCase behave differently depending on the value of a system variable (the .bat file thing). You could even make that TestCase execute other TestCases depending on the value of that system variable, creating exactly the same effect that you wanted in the first place.
Henrik
SmartBear Sweden- AndyHughesRegular ContributorCool, I think I'll give the Pro version a bash then.
Also, I have the following scenario: I have a test case where I want to have a number of steps, each of which involve different xml requests but the same data item within a certain xml tag. So all of these steps constitute a test case and I want to load test this test case using data driven testing to feed in a different value for the data item each time the full test case is run. I then want to distribute this test to a number of agents so that I have the same thing running on each. However, I want each agent to use a different file when looking up the data item as the request wont work if one agent has 'used up' the data item that another agent attempts to use. Hence they will have to have different data sources. Is this possible? Or is there any way of making sure that the agents I use don't use the same row from the data file as one another?
Thanks