twinkiman
14 years agoOccasional Contributor
Test Structure
Greetings,
I'm trying to put together my first loadui test case and not having much luck.
I have a datasource which is an SQL query that shuffles one of the columns of a table (10,000+ records).
I also have a second datasource which grabs some additional data from a second table based off a key from the primary data source.
I have datasource loops on both datasources. After the first one, I have a SOAP request to my product (which is valid).
I can run this test fine as a functional test. However when I export it to LoadUI and execute, it thinks one invocation means it should step through every record thus firing thousands of requests and not one.
I may be structuring the test incorrectly by making one testcase span all records. I could limit the testcase to a single record, however this seems inefficient to have to reissue the datasource query once per invocation. What it seems like I want is to define a datasource for the loadUI test (querying once) then let each thread pull from that. I currently do have the primary datasource set as shared.
Thanks,
Jonathan
I'm trying to put together my first loadui test case and not having much luck.
I have a datasource which is an SQL query that shuffles one of the columns of a table (10,000+ records).
I also have a second datasource which grabs some additional data from a second table based off a key from the primary data source.
I have datasource loops on both datasources. After the first one, I have a SOAP request to my product (which is valid).
I can run this test fine as a functional test. However when I export it to LoadUI and execute, it thinks one invocation means it should step through every record thus firing thousands of requests and not one.
I may be structuring the test incorrectly by making one testcase span all records. I could limit the testcase to a single record, however this seems inefficient to have to reissue the datasource query once per invocation. What it seems like I want is to define a datasource for the loadUI test (querying once) then let each thread pull from that. I currently do have the primary datasource set as shared.
Thanks,
Jonathan