ContributionsMost RecentMost LikesSolutionsRe: Threads sharing datasource scenarion is not working in LoadUING which worked earlier in SoapUIPro. Hi Tanya, Thanks for your reply. I have submitted the concern in the customer care and below is the case number for it. Case #00184875: Threads sharing datasource scenarion is not working in LoadUING which worked earlier in SoapUIPro. Has Been Created Thanks, Naveen Threads sharing datasource scenarion is not working in LoadUING which worked earlier in SoapUIPro. Hello, Below is the similar scenario which we automated through SoapUIPro 5.1.2 an year back and the code is been working a day before in SoapUIPro where the license expired and we have installed ReadyAPI 1.8.0 with newer licenses. Then we tried to execute the same load test code in ReadyAPI where it is not properly writing the results in to the result XLS. The same code worked fine in "SOAPUI NG" window as functional and it writes the results into the result XLS file through DataSink but doesn't work from "LOADUI NG" (Non Pro version). Objective of our load test -- Looking for sharing "AddressSearch" data source among the Users. Scenriao as per SOAPUI PRO: 1. Users-Data source --> Using XLS file and from settings selected the check box "Sets to share the data source between running threads during a load test". 2. Login-Http test step 3. AddressSearch-Data source --> Using another XLS file and from settings selected the check box "Sets to share the datasource between running threads during a load test". 4. Search-Http test step 5. DataSink -- Writes the results in to the result XLS file -- From settings selected the check box "Sets to share this DataSink between running threads during a load test" 6. AddressSearch-DataSourceLoop 7. LogOut 8. Users-DataSourceLoop Example: I am trying to explain the scenario as i set in SoapUIPro tool. Threads -- 5 Users Data Source -- Set to 5 users in XLS file. Address Data Source -- Set to 10 addresses in 2nd XLS file. Thread-1 -- Uses "User1" -- Allocating 1st two Addresses from 2nd XLS file. Thread-2 -- Uses "User2" -- Allocating next two Addresses from 2nd XLS file. ...... Thread-5 -- Uses "User5" -- Allocating last two Addresses from 2nd XLS file. Expected: Like above scenario Actual: I have tried different ways selecting/unselecting sharing check box among threads from data sources and data sink steps but it doesn't work. So it writes the result XLS file as 1 user doing all 10 Addresses (or) writing only one row in the results XLS. Thanks, Naveen Re: set a variable = to system time/date stampHello Marek, Thanks for your response. I have gone through the link which is related to event handlers in soapui and added two events (SubmitListener.afterSubmit) for each of the HTTP request test step. I have tried in different ways of using groovy code in "Edit" pane to access the TimeStamp of each of the request but i could not find it. FYI, attached is the screenshot of how i have used in the soapui. Could you please let me know the best way of getting exact time stamp (what we have seen in the "Request Log" tab in my previous screenshot) using this event handler in soapui. Regards, NaveenRe: set a variable = to system time/date stampHello Marek, Thanks for your response. FYI, Peter, Devi and me work together for this project, so anyone of us could reply to this post. The code snippet which you have attached will get the system date and time stamp but not the time stamp for the submitted request XMLs in the "CreateRequest (HTTP)" test step. That means i need to add the code snippet in a "Groovy" test step where this step should be added after the "CreateRequest (HTTP)" test step. Please see the screenshot attached to this post, also please clarify the one questioned in the screenshot. As per the attached screenshot, if at all the time stamps which are in the red box belongs to request XMLs submitted time stamp then that is what the time stamps we are looking to export into the excel file for each row in the data source. Below is the information copied from Peter's post, where we are looking request XML times stamps in both HTTP test steps (CreateRequest, CheckRequest) The steps are: DataSource > Property Transfer > CreateRequest (HTTP) > GetRequestID > Delay[1000] > CheckRequest (HTTP) > HandleResponse (GroovyScript) > DataSourceLoop Regards, NaveenRe: Looping until desired responseHello Giscard, Thanks for your reply. We already used the built-in "Condition Goto" test step in the test case in order to continuously loop through the same request XML when the response status is 11, but at the same time we are also looking that this loop should happen for a particular time frame say 3 minutes (or 180 seconds). This way the test case will not be in an infinite loop, if at all the response XML always produces the status value as 11. So when the loop time exceeds 3 minutes, if at all we does not get response status value other than 11 then it should jump out of the "Condition goto" test step and process the next row from the "Datasource" test step. Could you please provide the way on how to loop the same request XML for a particular time frame which is as mentioned above. Regards, NaveenOne search for every 10 minutesHello, I am using LoadUI 2.6.3 version and I need to create a project using already created SoapUI project. Existing SoapUI Project: 1. Maintaining 2 test suites (TestSuiteA and TestSuiteB) i. TestSuiteA – contains 4 steps Step-1 : DataSource – Has 8 XMLs files Step-2: PropertyTransfer – Transfers the request XML to HTTP Request Step-3: HTTP Request – Request XML is submitted Step-4: DataSourceLoop ii. TestSuiteB – Having same steps as TestSuiteA but the XMLs are different. Using LoadUI: Using above SoapUI project, I am trying to create a Load Test using LoadUI tool where it should submit the 1st type of search (TestSuiteA) having 8 XML files at a time (or one at a time) at 7’O clock (only once) and after 10 minutes (i.e., 7:10 ) I need to submit the 2nd type of search (TestSuiteB) 8 XML files at a time (or one at a time) and it should continue as follows Ex: 7:00 – SearchA (8 XMLs) 7:10 – SearchB (8 XMLs) 7:20 – SearchA (same XMLs as used at 7:00) 7:40 – SearchB (same XMLs as used at 7:10) 7:50 – SearchA (same XMLs as used at 7:00) 8:00 – SearchB (same XMLs as used at 7:10) . . . Like this the test need to continue for 8 hours. Is this possible in creating the above test in LoadUI (non-Pro) tool? Thanks, NaveenFailed Request/Response XMLs are not displaying in Load testHi All, Issue: Failed request/response XMLs are not displaying in the Load test report when i am using test data as XMLs from a folder. Test Steps: 1. Data Source --> I have a bunch of XMLs in the folder. 2. Property Transfer --> Where I can pass the request XMLs into a HTTP request. 3. HTTP Test request --> Where this step is going to use the XMLs tranfered from step-2. 4. Data source loop --> Which is used to loop whole XML files in the folder (step-1) Load Test: 1. Based on the above Test Steps i have created Load test. 2. Executed the Load test (observed some failures/ error entries in the Load Test Log) 3. Exported the load test result using the "Detailed Error Information" option. But i have not found any failed request xmls in the Load test report instead found the below messages for all the failures/ error entries in the Load test log. Note: 1. Before executing the load test intentionally kept the "Socket Time out" setting to 100 milli seconds to make sure to test the failed request xmls are reported in the load test results. 2. But the issue (below message) is not observed when i am using data source as Excel file for other project. Status: FAILED Time Taken: 0 Size: 0 Timestamp: Mon Oct 07 05:10:55 PDT 2013 TestStep: HTTP Test Request ----------------- Messages ------------------------------ java.net.SocketTimeoutException: Read timed out - missing response / garbage collected - Thanks, NaveenLoad Test Report displays <Error Detail disabled>Hi All, Observed <Error Detail disabled> message in the Load Test report. I am sure that i have selected the below options while exporting the Load test results in the "Create Report" window. Format: "LoadTest Report" option is selected from the drop down list. Options: "Detailed Error Information" is checked But still i am getting "<Error Detail disabled>" message in the LoatTest report pdf file. Any help on this greatly appreciated. Thanks, NaveenExporting Response XMLs while load testing in Soap toolHi All, Can anyone please give the steps to export the response XMLs while load testing using Soap tool? Below are the steps in the test case: 1. Data Source -- Using XLs file 2. Request1 3. Data Source Loop Issue: Using the above test steps, I have created the load test. While executing the load test i am looking to save/export the request and response xmls in to a certain folder automatically. Thanks, Naveen