Siemens__s_r_o_
12 years agoOccasional Contributor
SoapUI 5.0.0-Mock Response Test Step - NoSuchMethodException
Hi Smartbears 
I'm creating a duplicate bug from non-pro bug forum, as I finally installed the Pro 5.0.0 version and was able to confirm, that it is also affected. (original thread: viewtopic.php?t=24311). We can keep the discussion in the original thread, I just wanted to point out, that the bug is also present in the pro version
Original post:
When selecting a SOAP Mock Response test step in UI, error log fills up with exceptions. Also when running a test case containing this test step, the step is not able to receive any incoming requests and whole test case hangs. The same mockservice works without a problem as a standalone mockservice in the project.
I started with creating a fresh project, adding a wsdl (tested and working for all other purposes). Then I created a usual structure of a Test Suite and a Test Case. After adding a SOAP Mock Response Test Step, the error log fills with several exceptions.
Stack trace:
I get the same exception and stack trace also for these properties:
These properties seem to be directly related to the properties panel on the bottom left. Also when the panel is smaller and scrollable, exceptions pop up as they are being rendered when scrolling.
This behavior was only observed on the 5.0.0 free (I don't know about betas and paid versions), previous versions are not affected, we successfully rolled back to 4.6.3. - paid version tested now, bug present
Let me know if you need any more information
Regards,
Jakub

I'm creating a duplicate bug from non-pro bug forum, as I finally installed the Pro 5.0.0 version and was able to confirm, that it is also affected. (original thread: viewtopic.php?t=24311). We can keep the discussion in the original thread, I just wanted to point out, that the bug is also present in the pro version

Original post:
When selecting a SOAP Mock Response test step in UI, error log fills up with exceptions. Also when running a test case containing this test step, the step is not able to receive any incoming requests and whole test case hangs. The same mockservice works without a problem as a standalone mockservice in the project.
I started with creating a fresh project, adding a wsdl (tested and working for all other purposes). Then I created a usual structure of a Test Suite and a Test Case. After adding a SOAP Mock Response Test Step, the error log fills with several exceptions.
Stack trace:
Thu May 15 10:27:36 CEST 2014:ERROR:java.lang.NoSuchMethodException: Unknown property 'handleFault'
java.lang.NoSuchMethodException: Unknown property 'handleFault'
at org.apache.commons.beanutils.PropertyUtilsBean.getSimpleProperty(PropertyUtilsBean.java:1122)
at org.apache.commons.beanutils.PropertyUtils.getSimpleProperty(PropertyUtils.java:408)
at com.eviware.soapui.support.components.JPropertiesTable$PropertiesTableModel.getValueAt(JPropertiesTable.java:277)
at javax.swing.JTable.getValueAt(Unknown Source)
at javax.swing.JTable.prepareRenderer(Unknown Source)
at com.eviware.soapui.support.components.JPropertiesTable$PTable.prepareRenderer(JPropertiesTable.java:549)
at javax.swing.plaf.basic.BasicTableUI.paintCell(Unknown Source)
at javax.swing.plaf.basic.BasicTableUI.paintCells(Unknown Source)
at javax.swing.plaf.basic.BasicTableUI.paint(Unknown Source)
at javax.swing.plaf.ComponentUI.update(Unknown Source)
at javax.swing.JComponent.paintComponent(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JViewport.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintToOffscreen(Unknown Source)
at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(Unknown Source)
at javax.swing.RepaintManager$PaintManager.paint(Unknown Source)
at javax.swing.RepaintManager.paint(Unknown Source)
at javax.swing.JComponent._paintImmediately(Unknown Source)
at javax.swing.JComponent.paintImmediately(Unknown Source)
at javax.swing.RepaintManager$3.run(Unknown Source)
at javax.swing.RepaintManager$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.prePaintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.access$1100(Unknown Source)
at javax.swing.RepaintManager$ProcessingRunnable.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
I get the same exception and stack trace also for these properties:
Unknown property 'handleFault'
Unknown property 'handleResponse'
Unknown property 'forceMtom'
Unknown property 'multipartEnabled'
Unknown property 'encodeAttachments'
Unknown property 'inlineFilesEnabled'
Unknown property 'responseHttpStatus'
Unknown property 'responseDelay'
These properties seem to be directly related to the properties panel on the bottom left. Also when the panel is smaller and scrollable, exceptions pop up as they are being rendered when scrolling.
This behavior was only observed on the 5.0.0 free (I don't know about betas and paid versions), previous versions are not affected, we successfully rolled back to 4.6.3. - paid version tested now, bug present
Let me know if you need any more information

Regards,
Jakub