Forum Discussion

Sandyapitester's avatar
Sandyapitester
Frequent Contributor
9 years ago

ASSERTION ( not implemented for json error message - SOAPUI NG (ready API 1.7)

Hi All

 

I have noticed that I cannot right click on a node in the outline response mode and use the 'Add Assertion -> for Existence with Script' feature.

 

even all the assertion

 

if i added any assertion is not adding some time while reopen the request is appearing

 

anyone facing this issue and if u have a a solution plz reply me 

  • kbourdel's avatar
    kbourdel
    Occasional Contributor

    I'm seeing a similar issue in 1.7, where I try to add a new assertions via the assertion tab & am presented with a popup error: Failed to add assertion

    This was working fine in 1.6.

     

    Seems that it might be related to a page refresh issue - as a workaround, if I close that test step/request form, and reopen, its fine. It actually created the assertion, now I just need to define it.

     

    The error log is showing:

    Fri May 06 10:36:07 EDT 2016:ERROR:java.lang.NullPointerException
    java.lang.NullPointerException
    at com.eviware.soapui.impl.wsdl.panels.teststeps.RestTestRequestDesktopPanel$InternalAssertionsListener.assertionAdded(RestTestRequestDesktopPanel.java:242)
    at com.eviware.soapui.impl.wsdl.support.assertions.AssertionsSupport.fireAssertionAdded(AssertionsSupport.java:180)
    at com.eviware.soapui.impl.wsdl.support.assertions.AssertionsSupport.addWsdlAssertion(AssertionsSupport.java:302)
    at com.eviware.soapui.impl.wsdl.teststeps.RestTestRequest.addAssertion(RestTestRequest.java:182)
    at com.eviware.soapui.impl.wsdl.teststeps.RestTestRequest.addAssertion(RestTestRequest.java:1)
    at com.eviware.soapui.impl.wsdl.panels.assertions.AddAssertionPanel.handleOk(AddAssertionPanel.java:315)
    at com.eviware.soapui.impl.wsdl.panels.assertions.AddAssertionPanel$AssertionListMouseAdapter.mouseClicked(AddAssertionPanel.java:525)
    at java.awt.AWTEventMulticaster.mouseClicked(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at javax.swing.JComponent.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
    at java.awt.EventQueue.access$500(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$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue$4.run(Unknown Source)
    at java.awt.EventQueue$4.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.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.pumpEventsForFilter(Unknown Source)
    at java.awt.WaitDispatchSupport$2.run(Unknown Source)
    at java.awt.WaitDispatchSupport$4.run(Unknown Source)
    at java.awt.WaitDispatchSupport$4.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.awt.WaitDispatchSupport.enter(Unknown Source)
    at java.awt.Dialog.show(Unknown Source)
    at java.awt.Component.show(Unknown Source)
    at java.awt.Component.setVisible(Unknown Source)
    at java.awt.Window.setVisible(Unknown Source)
    at java.awt.Dialog.setVisible(Unknown Source)
    at com.eviware.soapui.impl.wsdl.actions.project.SimpleDialog.setVisible(SimpleDialog.java:170)
    at com.eviware.soapui.impl.wsdl.teststeps.actions.AddAssertionAction$1.run(AddAssertionAction.java:66)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
    at java.awt.EventQueue.access$500(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$JavaSecurityAccessImpl.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)