Quantcast
Channel: New board topics in SmartBear Community
Viewing all articles
Browse latest Browse all 20073

JMSTestStep Assertion List

$
0
0

Hello,

 

I have started to use the JMS Test Step rather than a Soap Request to send and receive JMS messages.

 

I also use a number of assertions for which I would like to pull a report at the end using Groovy with the list of assertions along with its status.

 

I have been able to do this for all other steps using something along the lines of:

 

 

if ( testStep instanceof com.eviware.soapui.impl.wsdl.teststeps.WsdlTestRequestStep  ||
testStep instanceof com.eviware.soapui.impl.wsdl.teststeps.JdbcRequestTestStep ||
testStep instanceof com.eviware.soapui.impl.wsdl.teststeps.AssertionTestStep )


for ( assertion in testStep.assertionList )
                    {
                        assertionStatus = assertion.status as String
                    }

 

 

...which has worked exactly how I want it to.

 

However, when I try adding:

 

testStep instanceof com.eviware.soapui.impl.wsdl.teststeps.JMSTestStep 

 

I receive the following error:

 

groovy.lang.MissingPropertyException: No such property: assertionList for class: com.eviware.soapui.impl.wsdl.teststeps.JMSTestStep error

 

I cannot find any documentation on the soapui api docs to help me with this issue. Has anyone else attempted anything similar?


Viewing all articles
Browse latest Browse all 20073