Contributions
SoapUI Pro 2.5.1 Test Reporting Broken
I get the following Errors, when attempting to create a test report.... Configuring log4j from [C:\Program Files\eviware\soapUI-Pro-2.5.1\bin\soapui-log 4j.xml] 12:08:08,184 INFO [DefaultSoapUICore] initialized soapui-settings from [C:\Docu ments and Settings\tseieroe\soapui-settings.xml] 12:08:08,277 INFO [SoapUIProGroovyScriptEngineFactory] Setting Script Library t o [C:\Program Files\eviware\soapUI-Pro-2.5.1\bin\scripts] 12:08:08,277 INFO [DefaultSoapUICore] Adding listeners from [C:\Program Files\e viware\soapUI-Pro-2.5.1\bin\listeners\demo-listeners.xml] 12:08:08,965 INFO [WorkspaceImpl] Loading workspace from [C:\Documents and Sett ings\tseieroe\default-soapui-workspace.xml] 12:08:09,059 INFO [WsdlProject] Loaded project from [file:/C:/SoapUI/Projects/C MS%202.7%20PD-128-soapui-project.xml] 12:08:09,793 INFO [WsdlProject] Loaded project from [file:/C:/SoapUI/Projects/C MS%202.7.2%20APIs-soapui-project.xml] 12:08:09,918 INFO [WsdlProject] Loaded project from [file:/C:/SoapUI/Projects/C MS%202.10%20APIs-soapui-project.xml] 12:08:10,027 INFO [WsdlProject] Loaded project from [file:/C:/SoapUI/Projects/C MS%202.11%20APIs-soapui-project.xml] 12:08:10,168 INFO [WsdlProject] Loaded project from [file:/C:/SoapUI/Projects/C MS%202.11%20PD-128-soapui-project.xml] 12:08:10,559 INFO [WsdlProject] Loaded project from [file:/C:/SoapUI/Projects/C MS%202.12%20API's-soapui-project.xml] 12:08:10,637 INFO [WsdlProject] Loaded project from [file:/C:/SoapUI/Projects/C MS%202.11.3%20Pairwise-soapui-project.xml] 12:08:12,449 INFO [DefaultSoapUICore] Adding actions from [C:\Program Files\evi ware\soapUI-Pro-2.5.1\bin\actions\demo-actions.xml] 12:08:36,747 DEBUG [AbstractDefinitionContext] Loading Definition... 12:08:36,778 DEBUG [AbstractWsdlDefinitionLoader] Returning baseInputSource [fil e:C:\SoapUI\wsdl Rev 2.11\CPEServices.wsdl] Retrieving document at 'file:C:\SoapUI\wsdl Rev 2.11\CPEServices.wsdl'. 12:08:36,997 DEBUG [WsdlInterfaceDefinition] Loaded WSDL: ok 12:08:37,013 INFO [SchemaUtils] Added default schema from file:/C:/Program%20Fi les/eviware/soapUI-Pro-2.5.1/lib/soapui-2.5.1.jar!/com/eviware/soapui/resources/ xsds/xop.xsd with targetNamespace http://www.w3.org/2004/08/xop/include 12:08:37,044 INFO [SchemaUtils] Added default schema from file:/C:/Program%20Fi les/eviware/soapUI-Pro-2.5.1/lib/soapui-2.5.1.jar!/com/eviware/soapui/resources/ xsds/XMLSchema.xsd with targetNamespace http://www.w3.org/2001/XMLSchema 12:08:37,060 INFO [SchemaUtils] Added default schema from file:/C:/Program%20Fi les/eviware/soapUI-Pro-2.5.1/lib/soapui-2.5.1.jar!/com/eviware/soapui/resources/ xsds/xml.xsd with targetNamespace http://www.w3.org/XML/1998/namespace 12:08:37,075 INFO [SchemaUtils] Added default schema from file:/C:/Program%20Fi les/eviware/soapUI-Pro-2.5.1/lib/soapui-2.5.1.jar!/com/eviware/soapui/resources/ xsds/swaref.xsd with targetNamespace http://ws-i.org/profiles/basic/1.1/xsd 12:08:37,091 INFO [SchemaUtils] Added default schema from file:/C:/Program%20Fi les/eviware/soapUI-Pro-2.5.1/lib/soapui-2.5.1.jar!/com/eviware/soapui/resources/ xsds/xmime200505.xsd with targetNamespace http://www.w3.org/2005/05/xmlmime 12:08:37,091 INFO [SchemaUtils] Added default schema from file:/C:/Program%20Fi les/eviware/soapUI-Pro-2.5.1/lib/soapui-2.5.1.jar!/com/eviware/soapui/resources/ xsds/xmime200411.xsd with targetNamespace http://www.w3.org/2004/11/xmlmime 12:08:37,106 INFO [SchemaUtils] Added default schema from file:/C:/Program%20Fi les/eviware/soapUI-Pro-2.5.1/lib/soapui-2.5.1.jar!/com/eviware/soapui/resources/ xsds/soapEnvelope.xsd with targetNamespace http://schemas.xmlsoap.org/soap/envel ope/ 12:08:37,138 INFO [SchemaUtils] Added default schema from file:/C:/Program%20Fi les/eviware/soapUI-Pro-2.5.1/lib/soapui-2.5.1.jar!/com/eviware/soapui/resources/ xsds/soapEncoding.xsd with targetNamespace http://schemas.xmlsoap.org/soap/encod ing/ 12:08:37,153 INFO [SchemaUtils] Added default schema from file:/C:/Program%20Fi les/eviware/soapUI-Pro-2.5.1/lib/soapui-2.5.1.jar!/com/eviware/soapui/resources/ xsds/soapEnvelope12.xsd with targetNamespace http://www.w3.org/2003/05/soap-enve lope 12:08:37,185 INFO [SchemaUtils] Added default schema from file:/C:/Program%20Fi les/eviware/soapUI-Pro-2.5.1/lib/soapui-2.5.1.jar!/com/eviware/soapui/resources/ xsds/soapEncoding12.xsd with targetNamespace http://www.w3.org/2003/05/soap-enco ding 12:08:37,200 INFO [SchemaUtils] Loading schema types from [file:C:\SoapUI\wsdl Rev 2.11\CPEServices.wsdl] 12:08:37,216 INFO [SchemaUtils] Getting schema file:C:\SoapUI\wsdl Rev 2.11\CPE Services.wsdl 12:08:37,419 DEBUG [AbstractDefinitionContext] Loaded Definition: ok 12:08:40,716 INFO [HttpClientSupport$Helper] Initializing KeyStore 12:08:40,732 INFO [HttpClientSupport$Helper] Set KeyMaterial from file [C:\Soap UI\jks\webservice_qa.jks] 12:08:40,794 DEBUG [SoapUIMultiThreadedHttpConnectionManager] HttpConnectionMana ger.getConnection: config = HostConfiguration[host=https://service.w06.qagw.2wi re.com], timeout = 0 12:08:40,810 DEBUG [SoapUIMultiThreadedHttpConnectionManager] Allocating new con nection, hostConfig=HostConfiguration[host=https://service.w06.qagw.2wire.com] 12:08:46,716 DEBUG [SoapUIMultiThreadedHttpConnectionManager] Freeing connection , hostConfig=HostConfiguration[host=https://service.w06.qagw.2wire.com] 12:08:46,732 DEBUG [SoapUIMultiThreadedHttpConnectionManager] Notifying no-one, there are no waiting threads Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: org/apach e/xml/serializer/ExtendedContentHandler at org.apache.xalan.processor.XSLTSchema.build(XSLTSchema.java:325) at org.apache.xalan.processor.XSLTSchema. (XSLTSchema.java:72) at org.apache.xalan.processor.StylesheetHandler. (StylesheetHandler .java:1290) at org.apache.xalan.processor.TransformerFactoryImpl.newTemplatesHandler (TransformerFactoryImpl.java:376) at org.apache.xalan.processor.TransformerFactoryImpl.newTemplates(Transf ormerFactoryImpl.java:867) at com.eviware.soapui.impl.wsdl.actions.testcase.CreateReportAction.init Transformers(SourceFile:178) at com.eviware.soapui.impl.wsdl.actions.testcase.CreateReportAction.a(So urceFile:122) at com.eviware.soapui.impl.wsdl.actions.testcase.CreateReportAction.acti onPerformed(SourceFile:98) 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.plaf.basic.BasicButtonListener.mouseReleased(Unknown Sour ce) 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.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(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) Caused by: java.lang.ClassNotFoundException: org.apache.xml.serializer.ExtendedC ontentHandler at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) ... 34 more16 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.1KViews0likes2CommentsRe: Packet Capturing with tcpdump and snoop
I've tried /\ "" '' how do you get around the windows path? The command works in a windows cmd window but fails in Groovy with: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed, Script30.groovy: 1: unexpected char: '\' @ line 1, column 33.org.codehaus.groovy.syntax.SyntaxException: unexpected char: '\' @ line 1, column 33. at Process delete = 'cmd /c del "C:\SoapUI\soapUI 2.0.2\Data Files\DataSink*.csv"'.execute() println '${delete.text}'16 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.1KViews0likes0CommentsPacket Capturing with tcpdump and snoop
I work with dls gateways and PD-128 Interoperability Testing. I have developed a pretty good Test Suite (35 test cases) with SoapUI Pro. Now I need to initiate an ssh session at the beginning of the Test Suite and then during each test case 1st step needs to start a packet capture and the last step needs to end the packet capture. Can this be done? and do you have any samples? Terry16 years agoPlace ReadyAPI QuestionsReadyAPI Questions2KViews0likes2Comments- 16 years agoPlace ReadyAPI QuestionsReadyAPI Questions976Views0likes0Comments
DataSource - Sorting & Reading
Can you sort the datasource and How? Can you read all rows in at once and How? I need to read all of the following into my next call to alter their values: InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.PortMapping.1.ExternalPort 0 InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.PortMapping.1.InternalClient 0.0.0.0 InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.PortMapping.1.InternalPort 0 InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.PortMapping.1.PortMappingDescription InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.PortMapping.1.PortMappingEnabled 0 InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.PortMapping.1.PortMappingLeaseDuration 300 InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.PortMapping.1.PortMappingProtocol TCP InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.PortMapping.1.RemoteHost16 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.9KViews0likes2CommentsRe: conditional goto or groovy script
So it is simular to Perl except for the specific def or reference to java beans/clases What I need to do is multipulate the returned from the response. WANIPConnection .vs. WANPPPConnection and the instance id as well WANPPPConnection.1.PortMapping WANPPPConnection.2.PortMapping I am using soapUI along with our API's to perform trying to automate our PD-128 Interoperability Testing base on the DSL Org. These parameters are defined within the TR-098 under the DSL Org as well as their vaild values. Sorry, I am about 60% completed and am now entering the more completicated tests. Terry16 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.7KViews0likes0Commentsconditional goto or groovy script
How should I go about doing the following Do you have any examples? if ( ${Response#ParameterValue} eq 'InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.1' ) [ # Set these variables InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.1.PortMapping.1.ExternalPort 9001 InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.1.PortMapping.1.InternalClient 192.168.1.5 InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.1.PortMapping.1.InternalPort 9001 InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.1.PortMapping.1.PortMappingDescription Gaming InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.1.PortMapping.1.PortMappingEnabled 1 InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.1.PortMapping.1.PortMappingLeaseDuration 0 InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.1.PortMapping.1.PortMappingProtocol TCP ] elsif ( ${Response#ParameterValue} eq 'InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1' ) [ # Set these variables InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.PortMapping.1.ExternalPort 9001 InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.PortMapping.1.InternalClient 192.168.1.5 InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.PortMapping.1.InternalPort 9001 InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.PortMapping.1.PortMappingDescription Gaming InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.PortMapping.1.PortMappingEnabled 1 InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.PortMapping.1.PortMappingLeaseDuration 0 InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.PortMapping.1.PortMappingProtocol TCP ] elsif ( ${Response#ParameterValue} eq 'InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.2' ) [ # Set these variables InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.2.PortMapping.1.ExternalPort 9001 InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.2.PortMapping.1.InternalClient 192.168.1.5 InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.2.PortMapping.1.InternalPort 9001 InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.2.PortMapping.1.PortMappingDescription Gaming InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.2.PortMapping.1.PortMappingEnabled 1 InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.2.PortMapping.1.PortMappingLeaseDuration 0 InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.2.PortMapping.1.PortMappingProtocol TCP ]16 years agoPlace ReadyAPI QuestionsReadyAPI Questions3.4KViews0likes3CommentsRe: Saving Response Data to a Excel -> DataSink
Ole, I have created a new TestCase called "Get Object Model" and in this test everything works great if the text.csv file is always append. So I delete or rename the text.csv file then run the TestCase. All objects and values are output properly. Don't figure, but the code is a great deal simpler. Now that I'm getting the hang of this tool... I hope you are able to figure out what is wrong with the other ways I tried during this learning lesson. Sincerly, Terry16 years agoPlace ReadyAPI QuestionsReadyAPI Questions3.1KViews0likes0CommentsRe: Saving Response Data to a Excel -> DataSink
omatzura wrote: Hi again! regarding the creation of a new Worksheet; if you in the Excel DataSink configuration panel specify a worksheet name not present in the specified file, that worksheet will be created for you instead. Is this what you require? regards! /Ole eviware.com Yes, this will insert the worksheet with the new name. However, it destroy's all other worksheets within the current. Thus defeting the purpose of inserting the new worksheet. Ouch... I have attached my template containing 15 worksheets what I end up with is the last data and only one worksheet. Also attached to this message.16 years agoPlace ReadyAPI QuestionsReadyAPI Questions3.1KViews0likes0Comments