Where is the failed response?

Free for all.

Where is the failed response?

Postby AndyHughes » 27 Mar 2012 15:48

I set off a load test and I record the request and response in each case in a .csv file. A lot of the requests failed according to the SOAPUI runner and I also store these results away. My assertion that was being triggered was saying that the word 'fault' has been returned in the response. However when I look at the actual data (picture below) only the successful requests appear to have any data in the request and response columns. Why? And how do we know that the response contains 'fault' if there doesn't appear to be any response ......or request for that matter.??

requestresposne.png
requestresposne.png (37.11 KiB) Viewed 447 times

??? ???
AndyHughes
Wizard
Wizard
 
Posts: 170
Joined: 06 Apr 2011 16:04

Re: Where is the failed response?

Postby SmartBear Support » 27 Mar 2012 16:03

Hi,

By default, I don't think the soapUI Runner outputs these response content fields you have in your csv file, are you doing something in your soapUI project to output these? Like transfering these values into TestCase TestProperties? If so, it's possible that this transfer is either not being run or failing for some reason, but it's difficult to say for sure what's happening without looking at the actual soapUI Project.

Regards,
Dain
SmartBear Software
SmartBear Support
Administrator
Administrator
 
Posts: 6702
Joined: 16 Feb 2009 10:53

Re: Where is the failed response?

Postby AndyHughes » 27 Mar 2012 16:08

Yeah they are transferred to test case properties.
AndyHughes
Wizard
Wizard
 
Posts: 170
Joined: 06 Apr 2011 16:04

Re: Where is the failed response?

Postby SmartBear Support » 28 Mar 2012 07:42

AndyHughes wrote:Yeah they are transferred to test case properties.

Then that may be the problem.

For example, lets say that your soapUI TestCase looks like this (Login TestCase):

Image

If Login request fails for some reason, Save session won't be run. This is the default soapUI behavior, which is controled by this TestCase option:
failOnError.png
failOnError.png (24.47 KiB) Viewed 427 times


Does this help?

Henrik
SmartBear Software
SmartBear Support
Administrator
Administrator
 
Posts: 6702
Joined: 16 Feb 2009 10:53

Re: Where is the failed response?

Postby AndyHughes » 28 Mar 2012 09:02

Yep that did it thanks.
AndyHughes
Wizard
Wizard
 
Posts: 170
Joined: 06 Apr 2011 16:04


Return to LoadUI