Contributions
Can't open HarmesJMS from Eclipse Project View
Hello, I'm not able to start the HarmesJMS tool from the folder view inside Eclipse, Which works fine from SOAP UI application. Looks like a problem with IDE. Error message I get is as below. Mon Jun 04 13:54:04 IST 2012:ERROR:java.lang.NullPointerException java.lang.NullPointerException at com.eviware.soapui.impl.wsdl.actions.project.StartHermesJMS$HermesConfigDialog.<init>(StartHermesJMS.java:122) at com.eviware.soapui.impl.wsdl.actions.project.StartHermesJMS.chooseFolderDialog(StartHermesJMS.java:106) at com.eviware.soapui.impl.wsdl.actions.project.StartHermesJMS.perform(StartHermesJMS.java:42) at com.eviware.soapui.impl.wsdl.actions.project.StartHermesJMS.perform(StartHermesJMS.java:31) at com.eviware.soapui.support.action.swing.SwingActionDelegate.actionPerformed(SwingActionDelegate.java:89) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.setPressed(Unknown Source) at javax.swing.AbstractButton.doClick(Unknown Source) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source) at java.awt.AWTEventMulticaster.mouseReleased(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.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$000(Unknown Source) at java.awt.EventQueue$1.run(Unknown Source) at java.awt.EventQueue$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source) at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue$2.run(Unknown Source) at java.awt.EventQueue$2.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$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)12 years agoPlace ReadyAPI QuestionsReadyAPI Questions983Views0likes1CommentEclipse Plug-In is not working for HarmesJMS
Hello, Eclipse Plug-In of SOAP UI is not working with HarmesJMS integration, which works perfectly in the standalone SOAP UI 4.5.0 Beta application. From Eclipse, it neither allow to open HarmesJMS nor allow to Add the JMS endpoint to the WSDL. Kindly provide help. Best Regards Venkat911Views0likes1CommentCompare element values of SOAP Response and JDBC Request
I would like to compare the values of the elements under a node fetched from SOAP response and a JDBC Request. I'm able to print the values with the below groovy code but failed to compare the same as I'm not very good at coding. Note: Element names are same but in different order in both the responses. I would like to compare the values based on the element names from both the responses irrespective of the order of the elements. Note: Compare only if the JDBC element value is not null. def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context ) def JMSHolder = groovyUtils.getXmlHolder( "SOAPTestStep#Response" ) def JDBCHolder = groovyUtils.getXmlHolder( "JDBC Request step#ResponseAsXml" ) def node1 = JMSHolder.getDomNodes("//ns0:Study[1]/*") def node2 = JDBCHolder.getDomNodes("//Row[1]/*") node1.each { log.info it.QName.getLocalPart() log.info it.firstChild.nodeValue } node2.each { log.info it.QName.getLocalPart() log.info it.firstChild.nodeValue } I really appreciate your kind help in advance.1.2KViews0likes0CommentsRe: How to get the particular node value of the xml response???
Try this and if your node is unique through out the response remove the loop def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context ) def holder = groovyUtils.getXmlHolder( "<TestStepName>#Response" ) def items = holder.getNodeValues( "//ID") log.info( "Found " + items.length + " items.." ) for (item in items) { log.info( item ) }1.1KViews0likes0CommentsRe: SOAP response vs JDBC response
Try this def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context ) def holder = groovyUtils.getXmlHolder( "JDBC_Impact_SQL#ResponseAsXml" ) def items = holder.getNodeValues( "//ID") log.info( "Found " + items.length + " items.." ) for (item in items) { log.info( item ) }1.8KViews0likes0Comments