ContributionsMost RecentMost LikesSolutionsTest Cases pass individually but fail in a suiteHi, There is a strange problem I am encountering here. I am working with soapUI Pro 4.5.1 version. I have a test suite for which, each test case is mutually independent. The data is mutually exclusive and no test case is dependent on other test case. When I execute each test case individually, its running fine and getting passed. However, when executed in complete suite, some random test cases fail for each run. There are not even fixed test cases that are failing, its very random. Once a while, it also happens that all the test cases are pass. I could not make out what is causing this problem. Any help or pointer would be appreciated. Though one area which I think may be causing problem is that each test case is calling same API function with its own data. And the failure is caused because of data mismatch. Please let know resolution for this. Thanks in advanceRe: Property Transfer Between Test CasesIf I am getting the scenario correctly, here is a solution I can offer. make your endpoint url as a variable taken from project/suite property as in ${#Project#PIEndpointURL_REST} Then, when u capture that id value in variable, define another string variable, and append this id. eg: def url = context.expand(' ${#Project#PIEndpointURL_REST}') def temp = url + id log.info temp Now as the last step, using groovy script, write this new value back to the project/suite property which is used as endpoint url. Like if u r defining the URl as a testsuite prop, then: def ts = testRunner.testCase.testSuite.project.testSuites[<yourTestSuiteName>] tc.setPropertyValue("PIEndpointURL_REST", temp) Now next json request will take this newly written url with id as its endpoint. Let me know if it helps. All the best Regards, AnkitaRe: Property Transfer Between Test CasesFor JSON format, instead of XPath, usage of jsonslurper is recommended. An example to achieve this is as: import groovy.json.JsonSlurper def response = messageExchange.response.responseContent def slurper = new JsonSlurper() def json = slurper.parseText response def ExpectedResultMessage = context.expand( '${#TestCase#ResultMessage}' ).toString() log.info 'ExpectedResultMessage ' + ExpectedResultMessage log.info 'json response ' + json."nsms.Response"."nsms.msg" assert json."nsms.Response"."nsms.msg" == ExpectedResultMessage Hope it helps. Regards, AnkitaRe: DataSink not foundI think you need to add a property to the data sink step in your load test. Probably it is not found coz thr is not property associated with that step. Regards, AnkitaRe: Logs for request and responseHi Ayush, You can write logs for request response in a text file using a simple groovy code. Add a groovy test step as the last step of your test case and write the following code. def fileName = "C:\\logs.txt" logFile = new File(fileName) def request = context.expand("Your Request") def response = context.expand("Your Response") logFile.append("Request: " + request + "\n") logFile.append("Response: " + response + "\n") Hope that helps.. Thanks, AnkitaRe: Setting relative path of external data source filesHi, If the datasource is an external file, I believe we need that file on the machine where we are running the test. Then click on the browse button and select the file. Regards, AnkitaTRe: Property Transfer Between Test CasesHi, Add a property to test suite. This property can be shared b/w all the test cases of that test suite. The property value can be read/write from any test case of that suite. Regards, AnkitaTRe: addPropertiesFromFile strange behaviorHi Alexandra, While loading the updated property file, there are two check boxes, one is to Create missing properties, and other is to Delete Properties not in file. Try selecting the check box for Delete missing. Hope it helps.. Regards, AnkitaTRe: Automatically saving request and response filesHi Mak, You can add a groovy script step as the last step of ur test case. Try following code in the groovy script step. It will create a .txt file. def filename = "C:\\<filename>.txt" logFile = new File(fileName) def request = context.expand("<Your request>") def response = context.expand("<Your response>") logFile.append("\nRequest: " + request) logFile.append("\nResponse: " + response) //Step 3 and 4 can be also created by right clicking the blank space, selecting "Get data" and then selecting the request. Regards, AnkitaTRe: how to access project variable in assertion scriptHi, It may help to access property using def value = ${#Project#<property name>} Regards,